2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for package-unused version-unused.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME='package-unused'
268 PACKAGE_TARNAME='libstdc++'
269 PACKAGE_VERSION='version-unused'
270 PACKAGE_STRING='package-unused version-unused'
273 ac_unique_file="src/ios.cc"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static LIBUNWIND_FLAG GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H FPOS_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS WERROR SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_INC_SRCDIR FPOS_INC_SRCDIR OS_INC_SRCDIR CANADIAN_TRUE CANADIAN_FALSE GLIBCXX_BUILD_LIBMATH_TRUE GLIBCXX_BUILD_LIBMATH_FALSE glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES LIBMATH_INCLUDES LIBSUPCXX_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CXXCPP_set=${CXXCPP+set}
753 ac_env_CXXCPP_value=$CXXCPP
754 ac_cv_env_CXXCPP_set=${CXXCPP+set}
755 ac_cv_env_CXXCPP_value=$CXXCPP
756 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
757 ac_env_CPPFLAGS_value=$CPPFLAGS
758 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
759 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
760 ac_env_CPP_set=${CPP+set}
761 ac_env_CPP_value=$CPP
762 ac_cv_env_CPP_set=${CPP+set}
763 ac_cv_env_CPP_value=$CPP
766 # Report the --help message.
768 if test "$ac_init_help" = "long"; then
769 # Omit some internal or obsolete options to make the list less imposing.
770 # This message is too long to be a string in the A/UX 3.1 sh.
772 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774 Usage: $0 [OPTION]... [VAR=VALUE]...
776 To assign environment variables (e.g., CC, CFLAGS...), specify them as
777 VAR=VALUE. See below for descriptions of some of the useful variables.
779 Defaults for the options are specified in brackets.
782 -h, --help display this help and exit
783 --help=short display options specific to this package
784 --help=recursive display the short help of all the included packages
785 -V, --version display version information and exit
786 -q, --quiet, --silent do not print \`checking...' messages
787 --cache-file=FILE cache test results in FILE [disabled]
788 -C, --config-cache alias for \`--cache-file=config.cache'
789 -n, --no-create do not create output files
790 --srcdir=DIR find the sources in DIR [configure dir or \`..']
795 Installation directories:
796 --prefix=PREFIX install architecture-independent files in PREFIX
798 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
801 By default, \`make install' will install all the files in
802 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
803 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
804 for instance \`--prefix=\$HOME'.
806 For better control, use the options below.
808 Fine tuning of the installation directories:
809 --bindir=DIR user executables [EPREFIX/bin]
810 --sbindir=DIR system admin executables [EPREFIX/sbin]
811 --libexecdir=DIR program executables [EPREFIX/libexec]
812 --datadir=DIR read-only architecture-independent data [PREFIX/share]
813 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
814 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
815 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
816 --libdir=DIR object code libraries [EPREFIX/lib]
817 --includedir=DIR C header files [PREFIX/include]
818 --oldincludedir=DIR C header files for non-gcc [/usr/include]
819 --infodir=DIR info documentation [PREFIX/info]
820 --mandir=DIR man documentation [PREFIX/man]
826 --program-prefix=PREFIX prepend PREFIX to installed program names
827 --program-suffix=SUFFIX append SUFFIX to installed program names
828 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 --build=BUILD configure for building on BUILD [guessed]
832 --host=HOST cross-compile to build programs to run on HOST [BUILD]
833 --target=TARGET configure for building compilers for TARGET [HOST]
837 if test -n "$ac_init_help"; then
838 case $ac_init_help in
839 short | recursive ) echo "Configuration of package-unused version-unused:";;
844 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
845 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
846 --enable-multilib build many library versions (default)
847 --enable-maintainer-mode enable make rules and dependencies not useful
848 (and sometimes confusing) to the casual installer
849 --enable-shared=PKGS build shared libraries default=yes
850 --enable-static=PKGS build static libraries default=yes
851 --enable-fast-install=PKGS optimize for fast installation default=yes
852 --disable-libtool-lock avoid locking (might break parallel builds)
853 --enable-sjlj-exceptions
854 force use of builtin_setjmp for exceptions
856 --enable-libunwind-exceptions
857 force use of libunwind for exceptions
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
861 --enable-cstdio=PACKAGE use target-specific I/O package
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
866 --enable-nls use Native Language Support (default)
867 --enable-cheaders=KIND construct "C" headers for g++
869 --enable-c-mbchar enable multibyte (wide) characters
871 --enable-c99 turns on ISO/IEC 9899:1999 support
873 --enable-long-long enables I/O support for 'long long'
875 --enable-concept-checks use Boost-derived template checks [default=no]
876 --enable-libstdcxx-debug-flags=FLAGS
877 pass compiler FLAGS when building debug library
879 --enable-libstdcxx-debug
880 build extra debug library [default=no]
881 --enable-cxx-flags=FLAGS
882 pass compiler FLAGS when building library
884 --enable-symvers=STYLE enables symbol versioning of the shared library
886 --enable-version-specific-runtime-libs
887 Specify that runtime libraries should be installed
888 in a compiler-specific directory
891 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
892 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
893 --with-target-subdir=SUBDIR
894 configuring in a subdirectory
895 --with-cross-host=HOST configuring with a cross compiler
896 --with-newlib assume newlib as a system C library
897 --with-gnu-ld assume the C compiler uses GNU ld default=no
898 --with-pic try to use only PIC/non-PIC objects default=use both
899 --with-gxx-include-dir=DIR
900 installation directory for include files
902 Some influential environment variables:
903 CC C compiler command
904 CFLAGS C compiler flags
905 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
906 nonstandard directory <lib dir>
907 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
908 headers in a nonstandard directory <include dir>
909 CXX C++ compiler command
910 CXXFLAGS C++ compiler flags
911 CXXCPP C++ preprocessor
914 Use these variables to override the choices made by `configure' or to help
915 it to find libraries and programs with nonstandard names/locations.
920 if test "$ac_init_help" = "recursive"; then
921 # If there are subdirs, report their specific --help.
923 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
924 test -d $ac_dir || continue
927 if test "$ac_dir" != .; then
928 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
929 # A "../" for each directory in $ac_dir_suffix.
930 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
932 ac_dir_suffix= ac_top_builddir=
936 .) # No --srcdir option. We are building in place.
938 if test -z "$ac_top_builddir"; then
941 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
943 [\\/]* | ?:[\\/]* ) # Absolute path.
944 ac_srcdir=$srcdir$ac_dir_suffix;
945 ac_top_srcdir=$srcdir ;;
947 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
948 ac_top_srcdir=$ac_top_builddir$srcdir ;;
950 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
952 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
953 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
954 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
955 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
979 package-unused configure version-unused
980 generated by GNU Autoconf 2.57
982 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
983 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by package-unused $as_me version-unused, which was
995 generated by GNU Autoconf 2.57. Invocation command line was
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h; then
1164 sed "/^$/d" confdefs.h | sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1331 ac_config_headers="$ac_config_headers config.h"
1334 # This works around the fact that libtool configuration may change LD
1335 # for this particular configuration, but some shells, instead of
1336 # keeping the changes in LD private, export them just because LD is
1337 # exported. Only used at the end of this file.
1338 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1340 # For libtool versioning info, format is CURRENT:REVISION:AGE
1341 libtool_VERSION=6:0:0
1344 # Find the rest of the source tree framework.
1346 # Sets up multi_basedir, which is srcdir/.. plus the usual
1347 # "multi_source_toprel_bottom_adjust" lunacy as needed.
1348 # Default to --enable-multilib
1349 # Check whether --enable-multilib or --disable-multilib was given.
1350 if test "${enable_multilib+set}" = set; then
1351 enableval="$enable_multilib"
1352 case "$enableval" in
1353 yes) multilib=yes ;;
1355 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1356 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1357 { (exit 1); exit 1; }; } ;;
1363 # We may get other options which we leave undocumented:
1364 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1365 # See config-ml.in if you want the gory details.
1367 if test "$srcdir" = "."; then
1368 if test "$with_target_subdir" != "."; then
1369 multi_basedir="$srcdir/$with_multisrctop../.."
1371 multi_basedir="$srcdir/$with_multisrctop.."
1374 multi_basedir="$srcdir/.."
1378 ac_config_commands="$ac_config_commands default-1"
1381 # The generated code is exactly the same, except that automake's looks in
1382 # ".. $srcdir/.." and autoconf's looks in multi_basedir. Apparently other
1383 # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1384 # know what they are or what the other differences might be (and they keep
1387 # Looking in multi_basedir seems smarter, so actually execute that branch.
1389 # this is for automake
1391 for ac_dir in .. $srcdir/..; do
1392 if test -f $ac_dir/install-sh; then
1394 ac_install_sh="$ac_aux_dir/install-sh -c"
1396 elif test -f $ac_dir/install.sh; then
1398 ac_install_sh="$ac_aux_dir/install.sh -c"
1400 elif test -f $ac_dir/shtool; then
1402 ac_install_sh="$ac_aux_dir/shtool install -c"
1406 if test -z "$ac_aux_dir"; then
1407 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1408 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1409 { (exit 1); exit 1; }; }
1411 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1412 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1413 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1416 # this is for autoconf
1418 for ac_dir in ${multi_basedir}; do
1419 if test -f $ac_dir/install-sh; then
1421 ac_install_sh="$ac_aux_dir/install-sh -c"
1423 elif test -f $ac_dir/install.sh; then
1425 ac_install_sh="$ac_aux_dir/install.sh -c"
1427 elif test -f $ac_dir/shtool; then
1429 ac_install_sh="$ac_aux_dir/shtool install -c"
1433 if test -z "$ac_aux_dir"; then
1434 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1435 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1436 { (exit 1); exit 1; }; }
1438 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1439 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1440 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1446 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1448 # You will slowly go insane if you do not grok the following fact: when
1449 # building v3 as part of the compiler, the top-level /target/ becomes the
1450 # library's /host/. configure then causes --target to default to --host,
1451 # exactly like any other package using autoconf. Therefore, 'target' and
1452 # 'host' will always be the same. This makes sense both for native and
1453 # cross compilers, just think about it for a little while. :-)
1455 # Also, if v3 is being configured as part of a cross compiler, the top-level
1456 # configure script will pass the "real" host as $with_cross_host.
1458 # Do not delete or change the following two lines. For why, see
1459 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1460 # Make sure we can run config.sub.
1461 $ac_config_sub sun4 >/dev/null 2>&1 ||
1462 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1463 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1464 { (exit 1); exit 1; }; }
1466 echo "$as_me:$LINENO: checking build system type" >&5
1467 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1468 if test "${ac_cv_build+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 ac_cv_build_alias=$build_alias
1472 test -z "$ac_cv_build_alias" &&
1473 ac_cv_build_alias=`$ac_config_guess`
1474 test -z "$ac_cv_build_alias" &&
1475 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1476 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1477 { (exit 1); exit 1; }; }
1478 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1479 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1480 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1481 { (exit 1); exit 1; }; }
1484 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1485 echo "${ECHO_T}$ac_cv_build" >&6
1487 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1488 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1489 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1492 echo "$as_me:$LINENO: checking host system type" >&5
1493 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1494 if test "${ac_cv_host+set}" = set; then
1495 echo $ECHO_N "(cached) $ECHO_C" >&6
1497 ac_cv_host_alias=$host_alias
1498 test -z "$ac_cv_host_alias" &&
1499 ac_cv_host_alias=$ac_cv_build_alias
1500 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1501 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1502 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1503 { (exit 1); exit 1; }; }
1506 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1507 echo "${ECHO_T}$ac_cv_host" >&6
1509 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1510 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1511 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1514 echo "$as_me:$LINENO: checking target system type" >&5
1515 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1516 if test "${ac_cv_target+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
1519 ac_cv_target_alias=$target_alias
1520 test "x$ac_cv_target_alias" = "x" &&
1521 ac_cv_target_alias=$ac_cv_host_alias
1522 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1523 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1524 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1525 { (exit 1); exit 1; }; }
1528 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1529 echo "${ECHO_T}$ac_cv_target" >&6
1530 target=$ac_cv_target
1531 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1532 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1533 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1536 # The aliases save the names the user supplied, while $host etc.
1537 # will get canonicalized.
1538 test -n "$target_alias" &&
1539 test "$program_prefix$program_suffix$program_transform_name" = \
1541 program_prefix=${target_alias}-
1542 target_alias=${target_alias-$host_alias}
1544 # Handy for debugging:
1545 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1547 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1548 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1549 # 1.x: minimum required version
1550 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1551 # of other PACKAGE_* variables will, however, and there's nothing
1552 # we can do about that; they come from AC_INIT).
1553 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1554 # file in the top srcdir, etc, etc), so stop complaining.
1555 # no-dependencies: turns off auto dependency generation (just for now)
1556 # -Wall: turns on all automake warnings
1557 am__api_version="1.7"
1558 # Find a good install program. We prefer a C program (faster),
1559 # so one script is as good as another. But avoid the broken or
1560 # incompatible versions:
1561 # SysV /etc/install, /usr/sbin/install
1562 # SunOS /usr/etc/install
1563 # IRIX /sbin/install
1565 # AmigaOS /C/install, which installs bootblocks on floppy discs
1566 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1567 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1568 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1569 # ./install, which can be erroneously created by make from ./install.sh.
1570 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1571 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1572 if test -z "$INSTALL"; then
1573 if test "${ac_cv_path_install+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1580 test -z "$as_dir" && as_dir=.
1581 # Account for people who put trailing slashes in PATH elements.
1583 ./ | .// | /cC/* | \
1584 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1587 # OSF1 and SCO ODT 3.0 have their own names for install.
1588 # Don't use installbsd from OSF since it installs stuff as root
1590 for ac_prog in ginstall scoinst install; do
1591 for ac_exec_ext in '' $ac_executable_extensions; do
1592 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1593 if test $ac_prog = install &&
1594 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1595 # AIX install. It has an incompatible calling convention.
1597 elif test $ac_prog = install &&
1598 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1599 # program-specific install script used by HP pwplus--don't use.
1602 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1614 if test "${ac_cv_path_install+set}" = set; then
1615 INSTALL=$ac_cv_path_install
1617 # As a last resort, use the slow shell script. We don't cache a
1618 # path for INSTALL within a source directory, because that will
1619 # break other packages using the cache if that directory is
1620 # removed, or if the path is relative.
1621 INSTALL=$ac_install_sh
1624 echo "$as_me:$LINENO: result: $INSTALL" >&5
1625 echo "${ECHO_T}$INSTALL" >&6
1627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1628 # It thinks the first close brace ends the variable substitution.
1629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1633 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1635 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1636 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1639 echo timestamp > conftest.file
1640 # Do `set' in a subshell so we don't clobber the current shell's
1641 # arguments. Must try -L first in case configure is actually a
1642 # symlink; some systems play weird games with the mod time of symlinks
1643 # (eg FreeBSD returns the mod time of the symlink's containing
1646 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1647 if test "$*" = "X"; then
1649 set X `ls -t $srcdir/configure conftest.file`
1652 if test "$*" != "X $srcdir/configure conftest.file" \
1653 && test "$*" != "X conftest.file $srcdir/configure"; then
1655 # If neither matched, then we have a broken ls. This can happen
1656 # if, for instance, CONFIG_SHELL is bash and it inherits a
1657 # broken ls alias from the environment. This has actually
1658 # happened. Such a system could not be considered "sane".
1659 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1660 alias in your environment" >&5
1661 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1662 alias in your environment" >&2;}
1663 { (exit 1); exit 1; }; }
1666 test "$2" = conftest.file
1672 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1673 Check your system clock" >&5
1674 echo "$as_me: error: newly created file is older than distributed files!
1675 Check your system clock" >&2;}
1676 { (exit 1); exit 1; }; }
1678 echo "$as_me:$LINENO: result: yes" >&5
1679 echo "${ECHO_T}yes" >&6
1680 test "$program_prefix" != NONE &&
1681 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1682 # Use a double $ so make ignores it.
1683 test "$program_suffix" != NONE &&
1684 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1685 # Double any \ or $. echo might interpret backslashes.
1686 # By default was `s,x,x', remove it if useless.
1687 cat <<\_ACEOF >conftest.sed
1688 s/[\\$]/&&/g;s/;s,x,x,$//
1690 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1694 # expand $ac_aux_dir to an absolute path
1695 am_aux_dir=`cd $ac_aux_dir && pwd`
1697 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1698 # Use eval to expand $SHELL
1699 if eval "$MISSING --run true"; then
1700 am_missing_run="$MISSING --run "
1703 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1704 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1707 for ac_prog in gawk mawk nawk awk
1709 # Extract the first word of "$ac_prog", so it can be a program name with args.
1710 set dummy $ac_prog; ac_word=$2
1711 echo "$as_me:$LINENO: checking for $ac_word" >&5
1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1713 if test "${ac_cv_prog_AWK+set}" = set; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 if test -n "$AWK"; then
1717 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1723 test -z "$as_dir" && as_dir=.
1724 for ac_exec_ext in '' $ac_executable_extensions; do
1725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1726 ac_cv_prog_AWK="$ac_prog"
1727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736 if test -n "$AWK"; then
1737 echo "$as_me:$LINENO: result: $AWK" >&5
1738 echo "${ECHO_T}$AWK" >&6
1740 echo "$as_me:$LINENO: result: no" >&5
1741 echo "${ECHO_T}no" >&6
1744 test -n "$AWK" && break
1747 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1748 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1749 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1750 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 cat >conftest.make <<\_ACEOF
1755 @echo 'ac_maketemp="$(MAKE)"'
1757 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1758 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1759 if test -n "$ac_maketemp"; then
1760 eval ac_cv_prog_make_${ac_make}_set=yes
1762 eval ac_cv_prog_make_${ac_make}_set=no
1766 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1767 echo "$as_me:$LINENO: result: yes" >&5
1768 echo "${ECHO_T}yes" >&6
1771 echo "$as_me:$LINENO: result: no" >&5
1772 echo "${ECHO_T}no" >&6
1773 SET_MAKE="MAKE=${MAKE-make}"
1776 rm -rf .tst 2>/dev/null
1777 mkdir .tst 2>/dev/null
1778 if test -d .tst; then
1783 rmdir .tst 2>/dev/null
1785 # test to see if srcdir already configured
1786 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1787 test -f $srcdir/config.status; then
1788 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1789 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1790 { (exit 1); exit 1; }; }
1793 # test whether we have cygpath
1794 if test -z "$CYGPATH_W"; then
1795 if (cygpath --version) >/dev/null 2>/dev/null; then
1796 CYGPATH_W='cygpath -w'
1803 # Define the identity of the package.
1805 VERSION='version-unused'
1808 # Some tools Automake needs.
1810 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1813 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1816 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1819 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1822 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1825 AMTAR=${AMTAR-"${am_missing_run}tar"}
1827 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1829 # Installed binaries are usually stripped using `strip' when the user
1830 # run `make install-strip'. However `strip' might not be the right
1831 # tool to use in cross-compilation environments, therefore Automake
1832 # will honor the `STRIP' environment variable to overrule this program.
1833 if test "$cross_compiling" != no; then
1834 if test -n "$ac_tool_prefix"; then
1835 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1836 set dummy ${ac_tool_prefix}strip; ac_word=$2
1837 echo "$as_me:$LINENO: checking for $ac_word" >&5
1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1839 if test "${ac_cv_prog_STRIP+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 if test -n "$STRIP"; then
1843 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir=.
1850 for ac_exec_ext in '' $ac_executable_extensions; do
1851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1852 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861 STRIP=$ac_cv_prog_STRIP
1862 if test -n "$STRIP"; then
1863 echo "$as_me:$LINENO: result: $STRIP" >&5
1864 echo "${ECHO_T}$STRIP" >&6
1866 echo "$as_me:$LINENO: result: no" >&5
1867 echo "${ECHO_T}no" >&6
1871 if test -z "$ac_cv_prog_STRIP"; then
1873 # Extract the first word of "strip", so it can be a program name with args.
1874 set dummy strip; ac_word=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 if test -n "$ac_ct_STRIP"; then
1881 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir=.
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1890 ac_cv_prog_ac_ct_STRIP="strip"
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1900 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1901 if test -n "$ac_ct_STRIP"; then
1902 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1903 echo "${ECHO_T}$ac_ct_STRIP" >&6
1905 echo "$as_me:$LINENO: result: no" >&5
1906 echo "${ECHO_T}no" >&6
1911 STRIP="$ac_cv_prog_STRIP"
1915 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1917 # We need awk for the "check" target. The system "awk" is bad on
1923 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1924 # up critical shell variables.
1927 # These need to be absolute paths, yet at the same time need to
1928 # canonicalize only relative paths, because then amd will not unmount
1929 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1930 glibcxx_builddir=`${PWDCMD-pwd}`
1932 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1933 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1935 toplevel_srcdir=${glibcxx_srcdir}/..
1940 # We use these options to decide which functions to include. They are
1941 # set from the top level.
1943 # Check whether --with-target-subdir or --without-target-subdir was given.
1944 if test "${with_target_subdir+set}" = set; then
1945 withval="$with_target_subdir"
1950 # Check whether --with-cross-host or --without-cross-host was given.
1951 if test "${with_cross_host+set}" = set; then
1952 withval="$with_cross_host"
1957 # Check whether --with-newlib or --without-newlib was given.
1958 if test "${with_newlib+set}" = set; then
1959 withval="$with_newlib"
1963 # We're almost certainly being configured before anything else which uses
1964 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1965 # we not cache the value of CXX that we "discover" here, because it's set
1966 # to something unique for us and libjava. Other target libraries need to
1967 # find CXX for themselves. We yank the rug out from under the normal AC_*
1968 # process by sneakily renaming the cache variable. This also lets us debug
1969 # the value of "our" CXX in postmortems.
1971 # We must also force CXX to /not/ be a precious variable, otherwise the
1972 # wrong (non-multilib-adjusted) value will be used in multilibs. This
1973 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
1974 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1975 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1977 # -fno-builtin must be present here so that a non-conflicting form of
1978 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1983 save_CXXFLAGS="$CXXFLAGS"
1984 CXXFLAGS="$CXXFLAGS -fno-builtin"
1986 ac_cpp='$CPP $CPPFLAGS'
1987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1990 if test -n "$ac_tool_prefix"; then
1991 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1992 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1993 echo "$as_me:$LINENO: checking for $ac_word" >&5
1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995 if test "${ac_cv_prog_CC+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 if test -n "$CC"; then
1999 ac_cv_prog_CC="$CC" # Let the user override the test.
2001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005 test -z "$as_dir" && as_dir=.
2006 for ac_exec_ext in '' $ac_executable_extensions; do
2007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 if test -n "$CC"; then
2019 echo "$as_me:$LINENO: result: $CC" >&5
2020 echo "${ECHO_T}$CC" >&6
2022 echo "$as_me:$LINENO: result: no" >&5
2023 echo "${ECHO_T}no" >&6
2027 if test -z "$ac_cv_prog_CC"; then
2029 # Extract the first word of "gcc", so it can be a program name with args.
2030 set dummy gcc; ac_word=$2
2031 echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$ac_ct_CC"; then
2037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_ac_ct_CC="gcc"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2056 if test -n "$ac_ct_CC"; then
2057 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2058 echo "${ECHO_T}$ac_ct_CC" >&6
2060 echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6
2069 if test -z "$CC"; then
2070 if test -n "$ac_tool_prefix"; then
2071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2072 set dummy ${ac_tool_prefix}cc; ac_word=$2
2073 echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075 if test "${ac_cv_prog_CC+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 if test -n "$CC"; then
2079 ac_cv_prog_CC="$CC" # Let the user override the test.
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2088 ac_cv_prog_CC="${ac_tool_prefix}cc"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 if test -n "$CC"; then
2099 echo "$as_me:$LINENO: result: $CC" >&5
2100 echo "${ECHO_T}$CC" >&6
2102 echo "$as_me:$LINENO: result: no" >&5
2103 echo "${ECHO_T}no" >&6
2107 if test -z "$ac_cv_prog_CC"; then
2109 # Extract the first word of "cc", so it can be a program name with args.
2110 set dummy cc; ac_word=$2
2111 echo "$as_me:$LINENO: checking for $ac_word" >&5
2112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 if test -n "$ac_ct_CC"; then
2117 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2126 ac_cv_prog_ac_ct_CC="cc"
2127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2136 if test -n "$ac_ct_CC"; then
2137 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2138 echo "${ECHO_T}$ac_ct_CC" >&6
2140 echo "$as_me:$LINENO: result: no" >&5
2141 echo "${ECHO_T}no" >&6
2150 if test -z "$CC"; then
2151 # Extract the first word of "cc", so it can be a program name with args.
2152 set dummy cc; ac_word=$2
2153 echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2155 if test "${ac_cv_prog_CC+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$CC"; then
2159 ac_cv_prog_CC="$CC" # Let the user override the test.
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir=.
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2169 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2170 ac_prog_rejected=yes
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test $ac_prog_rejected = yes; then
2181 # We found a bogon in the path, so make sure we never use it.
2182 set dummy $ac_cv_prog_CC
2184 if test $# != 0; then
2185 # We chose a different compiler from the bogus one.
2186 # However, it has the same basename, so the bogon will be chosen
2187 # first if we set CC to just the basename; use the full file name.
2189 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2195 if test -n "$CC"; then
2196 echo "$as_me:$LINENO: result: $CC" >&5
2197 echo "${ECHO_T}$CC" >&6
2199 echo "$as_me:$LINENO: result: no" >&5
2200 echo "${ECHO_T}no" >&6
2204 if test -z "$CC"; then
2205 if test -n "$ac_tool_prefix"; then
2208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2209 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2210 echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2212 if test "${ac_cv_prog_CC+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 if test -n "$CC"; then
2216 ac_cv_prog_CC="$CC" # Let the user override the test.
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir=.
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2225 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 if test -n "$CC"; then
2236 echo "$as_me:$LINENO: result: $CC" >&5
2237 echo "${ECHO_T}$CC" >&6
2239 echo "$as_me:$LINENO: result: no" >&5
2240 echo "${ECHO_T}no" >&6
2243 test -n "$CC" && break
2246 if test -z "$CC"; then
2250 # Extract the first word of "$ac_prog", so it can be a program name with args.
2251 set dummy $ac_prog; ac_word=$2
2252 echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2254 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2257 if test -n "$ac_ct_CC"; then
2258 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir=.
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2267 ac_cv_prog_ac_ct_CC="$ac_prog"
2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2277 if test -n "$ac_ct_CC"; then
2278 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2279 echo "${ECHO_T}$ac_ct_CC" >&6
2281 echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6
2285 test -n "$ac_ct_CC" && break
2294 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2295 See \`config.log' for more details." >&5
2296 echo "$as_me: error: no acceptable C compiler found in \$PATH
2297 See \`config.log' for more details." >&2;}
2298 { (exit 1); exit 1; }; }
2300 # Provide some information about the compiler.
2301 echo "$as_me:$LINENO:" \
2302 "checking for C compiler version" >&5
2303 ac_compiler=`set X $ac_compile; echo $2`
2304 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2305 (eval $ac_compiler --version </dev/null >&5) 2>&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }
2309 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2310 (eval $ac_compiler -v </dev/null >&5) 2>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }
2314 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2315 (eval $ac_compiler -V </dev/null >&5) 2>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }
2320 cat >conftest.$ac_ext <<_ACEOF
2321 #line $LINENO "configure"
2324 cat confdefs.h >>conftest.$ac_ext
2325 cat >>conftest.$ac_ext <<_ACEOF
2326 /* end confdefs.h. */
2336 ac_clean_files_save=$ac_clean_files
2337 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2338 # Try to create an executable without -o first, disregard a.out.
2339 # It will help us diagnose broken compilers, and finding out an intuition
2341 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2342 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2343 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2344 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2345 (eval $ac_link_default) 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; then
2349 # Find the output, starting from the most likely. This scheme is
2350 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2353 # Be careful to initialize this variable, since it used to be cached.
2354 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2356 # b.out is created by i960 compilers.
2357 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2359 test -f "$ac_file" || continue
2361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2364 # This is the source file.
2367 # We found the default executable, but exeext='' is most
2371 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2372 # FIXME: I believe we export ac_cv_exeext for Libtool,
2373 # but it would be cool to find out if it's true. Does anybody
2374 # maintain Libtool? --akim.
2382 echo "$as_me: failed program was:" >&5
2383 sed 's/^/| /' conftest.$ac_ext >&5
2385 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2386 See \`config.log' for more details." >&5
2387 echo "$as_me: error: C compiler cannot create executables
2388 See \`config.log' for more details." >&2;}
2389 { (exit 77); exit 77; }; }
2392 ac_exeext=$ac_cv_exeext
2393 echo "$as_me:$LINENO: result: $ac_file" >&5
2394 echo "${ECHO_T}$ac_file" >&6
2396 # Check the compiler produces executables we can run. If not, either
2397 # the compiler is broken, or we cross compile.
2398 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2399 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2400 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2401 # If not cross compiling, check that we can run a simple program.
2402 if test "$cross_compiling" != yes; then
2403 if { ac_try='./$ac_file'
2404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; }; then
2411 if test "$cross_compiling" = maybe; then
2414 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2415 If you meant to cross compile, use \`--host'.
2416 See \`config.log' for more details." >&5
2417 echo "$as_me: error: cannot run C compiled programs.
2418 If you meant to cross compile, use \`--host'.
2419 See \`config.log' for more details." >&2;}
2420 { (exit 1); exit 1; }; }
2424 echo "$as_me:$LINENO: result: yes" >&5
2425 echo "${ECHO_T}yes" >&6
2427 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2428 ac_clean_files=$ac_clean_files_save
2429 # Check the compiler produces executables we can run. If not, either
2430 # the compiler is broken, or we cross compile.
2431 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2432 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2433 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2434 echo "${ECHO_T}$cross_compiling" >&6
2436 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2437 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2439 (eval $ac_link) 2>&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; then
2443 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2444 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2445 # work properly (i.e., refer to `conftest.exe'), while it won't with
2447 for ac_file in conftest.exe conftest conftest.*; do
2448 test -f "$ac_file" || continue
2450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2451 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2465 rm -f conftest$ac_cv_exeext
2466 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2467 echo "${ECHO_T}$ac_cv_exeext" >&6
2469 rm -f conftest.$ac_ext
2470 EXEEXT=$ac_cv_exeext
2472 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2473 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2474 if test "${ac_cv_objext+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 cat >conftest.$ac_ext <<_ACEOF
2478 #line $LINENO "configure"
2481 cat confdefs.h >>conftest.$ac_ext
2482 cat >>conftest.$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2493 rm -f conftest.o conftest.obj
2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2495 (eval $ac_compile) 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; then
2499 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2502 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2507 echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.$ac_ext >&5
2510 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2513 See \`config.log' for more details." >&2;}
2514 { (exit 1); exit 1; }; }
2517 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2519 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2520 echo "${ECHO_T}$ac_cv_objext" >&6
2521 OBJEXT=$ac_cv_objext
2523 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2524 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2525 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 cat >conftest.$ac_ext <<_ACEOF
2529 #line $LINENO "configure"
2532 cat confdefs.h >>conftest.$ac_ext
2533 cat >>conftest.$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2547 rm -f conftest.$ac_objext
2548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549 (eval $ac_compile) 2>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try='test -s conftest.$ac_objext'
2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; }; then
2561 echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2566 rm -f conftest.$ac_objext conftest.$ac_ext
2567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2570 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2571 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2572 GCC=`test $ac_compiler_gnu = yes && echo yes`
2573 ac_test_CFLAGS=${CFLAGS+set}
2574 ac_save_CFLAGS=$CFLAGS
2576 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2577 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2578 if test "${ac_cv_prog_cc_g+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 cat >conftest.$ac_ext <<_ACEOF
2582 #line $LINENO "configure"
2585 cat confdefs.h >>conftest.$ac_ext
2586 cat >>conftest.$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2597 rm -f conftest.$ac_objext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599 (eval $ac_compile) 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2616 rm -f conftest.$ac_objext conftest.$ac_ext
2618 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2619 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2620 if test "$ac_test_CFLAGS" = set; then
2621 CFLAGS=$ac_save_CFLAGS
2622 elif test $ac_cv_prog_cc_g = yes; then
2623 if test "$GCC" = yes; then
2629 if test "$GCC" = yes; then
2635 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2636 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2637 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 ac_cv_prog_cc_stdc=no
2642 cat >conftest.$ac_ext <<_ACEOF
2643 #line $LINENO "configure"
2646 cat confdefs.h >>conftest.$ac_ext
2647 cat >>conftest.$ac_ext <<_ACEOF
2648 /* end confdefs.h. */
2651 #include <sys/types.h>
2652 #include <sys/stat.h>
2653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2654 struct buf { int x; };
2655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2656 static char *e (p, i)
2662 static char *f (char * (*g) (char **, int), char **p, ...)
2667 s = g (p, va_arg (v,int));
2671 int test (int i, double x);
2672 struct s1 {int (*f) (int a);};
2673 struct s2 {int (*f) (double a);};
2674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2680 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2685 # Don't try gcc -ansi; that turns off useful extensions and
2686 # breaks some systems' header files.
2687 # AIX -qlanglvl=ansi
2688 # Ultrix and OSF/1 -std1
2689 # HP-UX 10.20 and later -Ae
2690 # HP-UX older versions -Aa -D_HPUX_SOURCE
2691 # SVR4 -Xc -D__EXTENSIONS__
2692 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2694 CC="$ac_save_CC $ac_arg"
2695 rm -f conftest.$ac_objext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 (eval $ac_compile) 2>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } &&
2701 { ac_try='test -s conftest.$ac_objext'
2702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2707 ac_cv_prog_cc_stdc=$ac_arg
2710 echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2714 rm -f conftest.$ac_objext
2716 rm -f conftest.$ac_ext conftest.$ac_objext
2721 case "x$ac_cv_prog_cc_stdc" in
2723 echo "$as_me:$LINENO: result: none needed" >&5
2724 echo "${ECHO_T}none needed" >&6 ;;
2726 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2727 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2728 CC="$CC $ac_cv_prog_cc_stdc" ;;
2731 # Some people use a C++ compiler to compile C. Since we use `exit',
2732 # in C++ we need to declare it. In case someone uses the same compiler
2733 # for both compiling C and C++ we need to have the C++ compiler decide
2734 # the declaration of exit, since it's the most demanding environment.
2735 cat >conftest.$ac_ext <<_ACEOF
2740 rm -f conftest.$ac_objext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2742 (eval $ac_compile) 2>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); } &&
2746 { ac_try='test -s conftest.$ac_objext'
2747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2752 for ac_declaration in \
2754 'extern "C" void std::exit (int) throw (); using std::exit;' \
2755 'extern "C" void std::exit (int); using std::exit;' \
2756 'extern "C" void exit (int) throw ();' \
2757 'extern "C" void exit (int);' \
2760 cat >conftest.$ac_ext <<_ACEOF
2761 #line $LINENO "configure"
2764 cat confdefs.h >>conftest.$ac_ext
2765 cat >>conftest.$ac_ext <<_ACEOF
2766 /* end confdefs.h. */
2777 rm -f conftest.$ac_objext
2778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2779 (eval $ac_compile) 2>&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } &&
2783 { ac_try='test -s conftest.$ac_objext'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; }; then
2791 echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2796 rm -f conftest.$ac_objext conftest.$ac_ext
2797 cat >conftest.$ac_ext <<_ACEOF
2798 #line $LINENO "configure"
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2813 rm -f conftest.$ac_objext
2814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2815 (eval $ac_compile) 2>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } &&
2819 { ac_try='test -s conftest.$ac_objext'
2820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }; }; then
2827 echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f conftest.$ac_objext conftest.$ac_ext
2834 if test -n "$ac_declaration"; then
2835 echo '#ifdef __cplusplus' >>confdefs.h
2836 echo $ac_declaration >>confdefs.h
2837 echo '#endif' >>confdefs.h
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2845 rm -f conftest.$ac_objext conftest.$ac_ext
2847 ac_cpp='$CPP $CPPFLAGS'
2848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2853 ac_cpp='$CXXCPP $CPPFLAGS'
2854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2857 if test -n "$ac_tool_prefix"; then
2858 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2861 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2862 echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2864 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 if test -n "$CXX"; then
2868 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir=.
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2877 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 CXX=$glibcxx_cv_prog_CXX
2887 if test -n "$CXX"; then
2888 echo "$as_me:$LINENO: result: $CXX" >&5
2889 echo "${ECHO_T}$CXX" >&6
2891 echo "$as_me:$LINENO: result: no" >&5
2892 echo "${ECHO_T}no" >&6
2895 test -n "$CXX" && break
2898 if test -z "$CXX"; then
2900 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2902 # Extract the first word of "$ac_prog", so it can be a program name with args.
2903 set dummy $ac_prog; ac_word=$2
2904 echo "$as_me:$LINENO: checking for $ac_word" >&5
2905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2906 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 if test -n "$ac_ct_CXX"; then
2910 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir=.
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_ac_ct_CXX="$ac_prog"
2920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2929 if test -n "$ac_ct_CXX"; then
2930 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2931 echo "${ECHO_T}$ac_ct_CXX" >&6
2933 echo "$as_me:$LINENO: result: no" >&5
2934 echo "${ECHO_T}no" >&6
2937 test -n "$ac_ct_CXX" && break
2939 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2945 # Provide some information about the compiler.
2946 echo "$as_me:$LINENO:" \
2947 "checking for C++ compiler version" >&5
2948 ac_compiler=`set X $ac_compile; echo $2`
2949 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2950 (eval $ac_compiler --version </dev/null >&5) 2>&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }
2954 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2955 (eval $ac_compiler -v </dev/null >&5) 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }
2959 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2960 (eval $ac_compiler -V </dev/null >&5) 2>&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }
2965 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2966 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2967 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 cat >conftest.$ac_ext <<_ACEOF
2971 #line $LINENO "configure"
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2989 rm -f conftest.$ac_objext
2990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2991 (eval $ac_compile) 2>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try='test -s conftest.$ac_objext'
2996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); }; }; then
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3008 rm -f conftest.$ac_objext conftest.$ac_ext
3009 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3012 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3013 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3014 GXX=`test $ac_compiler_gnu = yes && echo yes`
3015 ac_test_CXXFLAGS=${CXXFLAGS+set}
3016 ac_save_CXXFLAGS=$CXXFLAGS
3018 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3019 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3020 if test "${ac_cv_prog_cxx_g+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 cat >conftest.$ac_ext <<_ACEOF
3024 #line $LINENO "configure"
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3039 rm -f conftest.$ac_objext
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3041 (eval $ac_compile) 2>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } &&
3045 { ac_try='test -s conftest.$ac_objext'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; }; then
3051 ac_cv_prog_cxx_g=yes
3053 echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f conftest.$ac_objext conftest.$ac_ext
3060 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3062 if test "$ac_test_CXXFLAGS" = set; then
3063 CXXFLAGS=$ac_save_CXXFLAGS
3064 elif test $ac_cv_prog_cxx_g = yes; then
3065 if test "$GXX" = yes; then
3071 if test "$GXX" = yes; then
3077 for ac_declaration in \
3079 'extern "C" void std::exit (int) throw (); using std::exit;' \
3080 'extern "C" void std::exit (int); using std::exit;' \
3081 'extern "C" void exit (int) throw ();' \
3082 'extern "C" void exit (int);' \
3085 cat >conftest.$ac_ext <<_ACEOF
3086 #line $LINENO "configure"
3089 cat confdefs.h >>conftest.$ac_ext
3090 cat >>conftest.$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3102 rm -f conftest.$ac_objext
3103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3104 (eval $ac_compile) 2>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } &&
3108 { ac_try='test -s conftest.$ac_objext'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; }; then
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3121 rm -f conftest.$ac_objext conftest.$ac_ext
3122 cat >conftest.$ac_ext <<_ACEOF
3123 #line $LINENO "configure"
3126 cat confdefs.h >>conftest.$ac_ext
3127 cat >>conftest.$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3138 rm -f conftest.$ac_objext
3139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3140 (eval $ac_compile) 2>&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } &&
3144 { ac_try='test -s conftest.$ac_objext'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; }; then
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f conftest.$ac_objext conftest.$ac_ext
3159 if test -n "$ac_declaration"; then
3160 echo '#ifdef __cplusplus' >>confdefs.h
3161 echo $ac_declaration >>confdefs.h
3162 echo '#endif' >>confdefs.h
3166 ac_cpp='$CPP $CPPFLAGS'
3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3171 CXXFLAGS="$save_CXXFLAGS"
3176 # For directory versioning (e.g., headers) and other variables.
3177 echo "$as_me:$LINENO: checking for GCC version number" >&5
3178 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3179 gcc_version=`$CXX -dumpversion`
3180 echo "$as_me:$LINENO: result: $gcc_version" >&5
3181 echo "${ECHO_T}$gcc_version" >&6
3183 # For some reason, gettext needs this.
3185 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3186 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3187 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 ac_check_lib_save_LIBS=$LIBS
3191 LIBS="-lcposix $LIBS"
3192 cat >conftest.$ac_ext <<_ACEOF
3193 #line $LINENO "configure"
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3200 /* Override any gcc2 internal prototype to avoid an error. */
3204 /* We use char because int might match the return type of a gcc2
3205 builtin and then its argument prototype would still apply. */
3215 rm -f conftest.$ac_objext conftest$ac_exeext
3216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3217 (eval $ac_link) 2>&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } &&
3221 { ac_try='test -s conftest$ac_exeext'
3222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); }; }; then
3227 ac_cv_lib_cposix_strerror=yes
3229 echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3232 ac_cv_lib_cposix_strerror=no
3234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3235 LIBS=$ac_check_lib_save_LIBS
3237 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3238 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3239 if test $ac_cv_lib_cposix_strerror = yes; then
3240 LIBS="$LIBS -lcposix"
3246 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3247 # available). Uncomment the next line to force a particular method.
3248 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3249 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3251 if test "$LN_S" = "ln -s"; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3255 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3256 echo "${ECHO_T}no, using $LN_S" >&6
3261 if test -n "$ac_tool_prefix"; then
3262 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3263 set dummy ${ac_tool_prefix}as; ac_word=$2
3264 echo "$as_me:$LINENO: checking for $ac_word" >&5
3265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3266 if test "${ac_cv_prog_AS+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3269 if test -n "$AS"; then
3270 ac_cv_prog_AS="$AS" # Let the user override the test.
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_AS="${ac_tool_prefix}as"
3280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 if test -n "$AS"; then
3290 echo "$as_me:$LINENO: result: $AS" >&5
3291 echo "${ECHO_T}$AS" >&6
3293 echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6
3298 if test -z "$ac_cv_prog_AS"; then
3300 # Extract the first word of "as", so it can be a program name with args.
3301 set dummy as; ac_word=$2
3302 echo "$as_me:$LINENO: checking for $ac_word" >&5
3303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3304 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 if test -n "$ac_ct_AS"; then
3308 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 test -z "$as_dir" && as_dir=.
3315 for ac_exec_ext in '' $ac_executable_extensions; do
3316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3317 ac_cv_prog_ac_ct_AS="as"
3318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3327 if test -n "$ac_ct_AS"; then
3328 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3329 echo "${ECHO_T}$ac_ct_AS" >&6
3331 echo "$as_me:$LINENO: result: no" >&5
3332 echo "${ECHO_T}no" >&6
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}ar; ac_word=$2
3343 echo "$as_me:$LINENO: checking for $ac_word" >&5
3344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3345 if test "${ac_cv_prog_AR+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 if test -n "$AR"; then
3349 ac_cv_prog_AR="$AR" # Let the user override the test.
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3358 ac_cv_prog_AR="${ac_tool_prefix}ar"
3359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 if test -n "$AR"; then
3369 echo "$as_me:$LINENO: result: $AR" >&5
3370 echo "${ECHO_T}$AR" >&6
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3377 if test -z "$ac_cv_prog_AR"; then
3379 # Extract the first word of "ar", so it can be a program name with args.
3380 set dummy ar; ac_word=$2
3381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3383 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3386 if test -n "$ac_ct_AR"; then
3387 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir=.
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_ac_ct_AR="ar"
3397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3405 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3406 if test -n "$ac_ct_AR"; then
3407 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3408 echo "${ECHO_T}$ac_ct_AR" >&6
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3419 if test -n "$ac_tool_prefix"; then
3420 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3421 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3422 echo "$as_me:$LINENO: checking for $ac_word" >&5
3423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3424 if test "${ac_cv_prog_RANLIB+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if test -n "$RANLIB"; then
3428 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3437 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3446 RANLIB=$ac_cv_prog_RANLIB
3447 if test -n "$RANLIB"; then
3448 echo "$as_me:$LINENO: result: $RANLIB" >&5
3449 echo "${ECHO_T}$RANLIB" >&6
3451 echo "$as_me:$LINENO: result: no" >&5
3452 echo "${ECHO_T}no" >&6
3456 if test -z "$ac_cv_prog_RANLIB"; then
3457 ac_ct_RANLIB=$RANLIB
3458 # Extract the first word of "ranlib", so it can be a program name with args.
3459 set dummy ranlib; ac_word=$2
3460 echo "$as_me:$LINENO: checking for $ac_word" >&5
3461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3462 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 if test -n "$ac_ct_RANLIB"; then
3466 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_ac_ct_RANLIB="ranlib"
3476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3485 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3486 if test -n "$ac_ct_RANLIB"; then
3487 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3488 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3490 echo "$as_me:$LINENO: result: no" >&5
3491 echo "${ECHO_T}no" >&6
3494 RANLIB=$ac_ct_RANLIB
3496 RANLIB="$ac_cv_prog_RANLIB"
3500 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3501 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3502 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3503 if test "${enable_maintainer_mode+set}" = set; then
3504 enableval="$enable_maintainer_mode"
3505 USE_MAINTAINER_MODE=$enableval
3507 USE_MAINTAINER_MODE=no
3509 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3510 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3513 if test $USE_MAINTAINER_MODE = yes; then
3514 MAINTAINER_MODE_TRUE=
3515 MAINTAINER_MODE_FALSE='#'
3517 MAINTAINER_MODE_TRUE='#'
3518 MAINTAINER_MODE_FALSE=
3521 MAINT=$MAINTAINER_MODE_TRUE
3525 # Set up safe default values for all subsequent AM_CONDITIONAL tests.
3528 #enable_libstdcxx_debug=no
3529 #enable_libstdcxx_pch=no
3532 #enable_abi_check=no
3535 # Find platform-specific directories containing configuration info.
3536 # Also possibly modify flags used elsewhere, as needed by the platform.
3538 . $glibcxx_srcdir/configure.host
3539 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3540 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3541 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3542 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3546 #AC_MSG_NOTICE([====== Starting libtool configuration])
3548 # Check whether --enable-shared or --disable-shared was given.
3549 if test "${enable_shared+set}" = set; then
3550 enableval="$enable_shared"
3551 p=${PACKAGE-default}
3553 yes) enable_shared=yes ;;
3554 no) enable_shared=no ;;
3557 # Look at the argument we got. We use all the common list separators.
3558 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3559 for pkg in $enableval; do
3560 if test "X$pkg" = "X$p"; then
3570 # Check whether --enable-static or --disable-static was given.
3571 if test "${enable_static+set}" = set; then
3572 enableval="$enable_static"
3573 p=${PACKAGE-default}
3575 yes) enable_static=yes ;;
3576 no) enable_static=no ;;
3579 # Look at the argument we got. We use all the common list separators.
3580 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3581 for pkg in $enableval; do
3582 if test "X$pkg" = "X$p"; then
3592 # Check whether --enable-fast-install or --disable-fast-install was given.
3593 if test "${enable_fast_install+set}" = set; then
3594 enableval="$enable_fast_install"
3595 p=${PACKAGE-default}
3597 yes) enable_fast_install=yes ;;
3598 no) enable_fast_install=no ;;
3600 enable_fast_install=no
3601 # Look at the argument we got. We use all the common list separators.
3602 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3603 for pkg in $enableval; do
3604 if test "X$pkg" = "X$p"; then
3605 enable_fast_install=yes
3612 enable_fast_install=yes
3615 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3616 if test "${with_gnu_ld+set}" = set; then
3617 withval="$with_gnu_ld"
3618 test "$withval" = no || with_gnu_ld=yes
3623 if test "$GCC" = yes; then
3624 # Check if gcc -print-prog-name=ld gives a path.
3625 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3626 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3629 # gcc leaves a trailing carriage return which upsets mingw
3630 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3632 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3635 # Accept absolute paths.
3636 [\\/]* | [A-Za-z]:[\\/]*)
3637 re_direlt='/[^/][^/]*/\.\./'
3638 # Canonicalize the path of ld
3639 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3640 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3641 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3643 test -z "$LD" && LD="$ac_prog"
3646 # If it fails, then pretend we aren't using GCC.
3650 # If it is relative, then search for the first ld in PATH.
3654 elif test "$with_gnu_ld" = yes; then
3655 echo "$as_me:$LINENO: checking for GNU ld" >&5
3656 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3658 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3659 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3661 if test "${lt_cv_path_LD+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 if test -z "$LD"; then
3665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3666 for ac_dir in $PATH; do
3667 test -z "$ac_dir" && ac_dir=.
3668 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3669 lt_cv_path_LD="$ac_dir/$ac_prog"
3670 # Check to see if the program is GNU ld. I'd rather use --version,
3671 # but apparently some GNU ld's only accept -v.
3672 # Break only if it was the GNU/non-GNU ld that we prefer.
3673 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3674 test "$with_gnu_ld" != no && break
3676 test "$with_gnu_ld" != yes && break
3682 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3687 if test -n "$LD"; then
3688 echo "$as_me:$LINENO: result: $LD" >&5
3689 echo "${ECHO_T}$LD" >&6
3691 echo "$as_me:$LINENO: result: no" >&5
3692 echo "${ECHO_T}no" >&6
3694 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3695 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3696 { (exit 1); exit 1; }; }
3697 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3698 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3699 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3703 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3704 lt_cv_prog_gnu_ld=yes
3706 lt_cv_prog_gnu_ld=no
3709 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3710 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3711 with_gnu_ld=$lt_cv_prog_gnu_ld
3714 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3715 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3716 if test "${lt_cv_ld_reload_flag+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 lt_cv_ld_reload_flag='-r'
3721 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3722 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3723 reload_flag=$lt_cv_ld_reload_flag
3724 test -n "$reload_flag" && reload_flag=" $reload_flag"
3726 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3727 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3728 if test "${lt_cv_path_NM+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 if test -n "$NM"; then
3732 # Let the user override the test.
3735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3736 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3737 test -z "$ac_dir" && ac_dir=.
3738 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3739 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3740 # Check to see if the nm accepts a BSD-compat flag.
3741 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3742 # nm: unknown option "B" ignored
3743 # Tru64's nm complains that /dev/null is an invalid object file
3744 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3745 lt_cv_path_NM="$tmp_nm -B"
3747 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3748 lt_cv_path_NM="$tmp_nm -p"
3751 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3752 continue # so that we can try to find one that supports BSD flags
3757 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3762 echo "$as_me:$LINENO: result: $NM" >&5
3763 echo "${ECHO_T}$NM" >&6
3765 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3766 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3767 if test "${lt_cv_deplibs_check_method+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 lt_cv_file_magic_cmd='$MAGIC_CMD'
3771 lt_cv_file_magic_test_file=
3772 lt_cv_deplibs_check_method='unknown'
3773 # Need to set the preceding variable on all platforms that support
3774 # interlibrary dependencies.
3775 # 'none' -- dependencies not supported.
3776 # `unknown' -- same as none, but documents that we really don't know.
3777 # 'pass_all' -- all dependencies passed with no checks.
3778 # 'test_compile' -- check by making test program.
3779 # 'file_magic [regex]' -- check by looking for files in library path
3780 # which responds to the $file_magic_cmd with a given egrep regex.
3781 # If you have `file' or equivalent on your system and you're not sure
3782 # whether `pass_all' will *always* work, you probably want this one.
3786 lt_cv_deplibs_check_method=pass_all
3790 lt_cv_deplibs_check_method=pass_all
3794 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3795 lt_cv_file_magic_cmd='/usr/bin/file -L'
3796 lt_cv_file_magic_test_file=/shlib/libc.so
3799 cygwin* | mingw* |pw32*)
3800 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3801 lt_cv_file_magic_cmd='$OBJDUMP -f'
3804 darwin* | rhapsody*)
3805 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3806 lt_cv_file_magic_cmd='/usr/bin/file -L'
3808 rhapsody* | darwin1.012)
3809 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3812 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3818 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3821 # Not sure whether the presence of OpenBSD here was a mistake.
3822 # Let's accept both of them until this is cleared up.
3823 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3824 lt_cv_file_magic_cmd=/usr/bin/file
3825 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3829 lt_cv_deplibs_check_method=pass_all
3834 lt_cv_deplibs_check_method=pass_all
3840 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3841 lt_cv_file_magic_cmd=/usr/bin/file
3842 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3845 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3846 lt_cv_file_magic_cmd=/usr/bin/file
3847 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3855 # this will be overridden with pass_all, but let us keep it just in case
3856 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3860 *-32|*"-32 ") libmagic=32-bit;;
3861 *-n32|*"-n32 ") libmagic=N32;;
3862 *-64|*"-64 ") libmagic=64-bit;;
3863 *) libmagic=never-match;;
3865 # this will be overridden with pass_all, but let us keep it just in case
3866 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3869 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3870 lt_cv_deplibs_check_method=pass_all
3873 # This must be Linux ELF.
3876 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3877 lt_cv_deplibs_check_method=pass_all ;;
3879 # glibc up to 2.1.1 does not perform some relocations on ARM
3880 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3882 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3886 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3887 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3889 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3894 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3895 lt_cv_file_magic_cmd=/usr/bin/file
3896 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3899 osf3* | osf4* | osf5*)
3900 # this will be overridden with pass_all, but let us keep it just in case
3901 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3902 lt_cv_file_magic_test_file=/shlib/libc.so
3903 lt_cv_deplibs_check_method=pass_all
3907 lt_cv_deplibs_check_method=pass_all
3911 lt_cv_deplibs_check_method=pass_all
3912 lt_cv_file_magic_test_file=/lib/libc.so
3915 sysv5uw[78]* | sysv4*uw2*)
3916 lt_cv_deplibs_check_method=pass_all
3919 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3920 case $host_vendor in
3922 lt_cv_deplibs_check_method=pass_all
3925 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]'
3926 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3933 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3934 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3935 file_magic_cmd=$lt_cv_file_magic_cmd
3936 deplibs_check_method=$lt_cv_deplibs_check_method
3941 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3943 # Only perform the check for file, if the check method requires it
3944 case $deplibs_check_method in
3946 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3947 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3948 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3949 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3957 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3960 ac_save_MAGIC_CMD="$MAGIC_CMD"
3961 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3962 ac_dummy="/usr/bin:$PATH"
3963 for ac_dir in $ac_dummy; do
3964 test -z "$ac_dir" && ac_dir=.
3965 if test -f $ac_dir/${ac_tool_prefix}file; then
3966 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3967 if test -n "$file_magic_test_file"; then
3968 case $deplibs_check_method in
3970 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3971 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3972 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3973 egrep "$file_magic_regex" > /dev/null; then
3978 *** Warning: the command libtool uses to detect shared libraries,
3979 *** $file_magic_cmd, produces output that libtool cannot recognize.
3980 *** The result is that libtool may fail to recognize shared libraries
3981 *** as such. This will affect the creation of libtool libraries that
3982 *** depend on shared libraries, but programs linked with such libtool
3983 *** libraries will work regardless of this problem. Nevertheless, you
3984 *** may want to report the problem to your system manager and/or to
3985 *** bug-libtool@gnu.org
3995 MAGIC_CMD="$ac_save_MAGIC_CMD"
4000 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4001 if test -n "$MAGIC_CMD"; then
4002 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4003 echo "${ECHO_T}$MAGIC_CMD" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4009 if test -z "$lt_cv_path_MAGIC_CMD"; then
4010 if test -n "$ac_tool_prefix"; then
4011 echo "$as_me:$LINENO: checking for file" >&5
4012 echo $ECHO_N "checking for file... $ECHO_C" >&6
4013 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4021 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4024 ac_save_MAGIC_CMD="$MAGIC_CMD"
4025 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4026 ac_dummy="/usr/bin:$PATH"
4027 for ac_dir in $ac_dummy; do
4028 test -z "$ac_dir" && ac_dir=.
4029 if test -f $ac_dir/file; then
4030 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4031 if test -n "$file_magic_test_file"; then
4032 case $deplibs_check_method in
4034 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4035 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4036 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4037 egrep "$file_magic_regex" > /dev/null; then
4042 *** Warning: the command libtool uses to detect shared libraries,
4043 *** $file_magic_cmd, produces output that libtool cannot recognize.
4044 *** The result is that libtool may fail to recognize shared libraries
4045 *** as such. This will affect the creation of libtool libraries that
4046 *** depend on shared libraries, but programs linked with such libtool
4047 *** libraries will work regardless of this problem. Nevertheless, you
4048 *** may want to report the problem to your system manager and/or to
4049 *** bug-libtool@gnu.org
4059 MAGIC_CMD="$ac_save_MAGIC_CMD"
4064 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4065 if test -n "$MAGIC_CMD"; then
4066 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4067 echo "${ECHO_T}$MAGIC_CMD" >&6
4069 echo "$as_me:$LINENO: result: no" >&5
4070 echo "${ECHO_T}no" >&6
4082 if test -n "$ac_tool_prefix"; then
4083 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4084 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4085 echo "$as_me:$LINENO: checking for $ac_word" >&5
4086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4087 if test "${ac_cv_prog_RANLIB+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 if test -n "$RANLIB"; then
4091 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4100 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 RANLIB=$ac_cv_prog_RANLIB
4110 if test -n "$RANLIB"; then
4111 echo "$as_me:$LINENO: result: $RANLIB" >&5
4112 echo "${ECHO_T}$RANLIB" >&6
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4119 if test -z "$ac_cv_prog_RANLIB"; then
4120 ac_ct_RANLIB=$RANLIB
4121 # Extract the first word of "ranlib", so it can be a program name with args.
4122 set dummy ranlib; ac_word=$2
4123 echo "$as_me:$LINENO: checking for $ac_word" >&5
4124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4125 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 if test -n "$ac_ct_RANLIB"; then
4129 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir=.
4136 for ac_exec_ext in '' $ac_executable_extensions; do
4137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4138 ac_cv_prog_ac_ct_RANLIB="ranlib"
4139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4148 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4149 if test -n "$ac_ct_RANLIB"; then
4150 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4151 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4157 RANLIB=$ac_ct_RANLIB
4159 RANLIB="$ac_cv_prog_RANLIB"
4162 if test -n "$ac_tool_prefix"; then
4163 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4164 set dummy ${ac_tool_prefix}strip; ac_word=$2
4165 echo "$as_me:$LINENO: checking for $ac_word" >&5
4166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4167 if test "${ac_cv_prog_STRIP+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 if test -n "$STRIP"; then
4171 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 STRIP=$ac_cv_prog_STRIP
4190 if test -n "$STRIP"; then
4191 echo "$as_me:$LINENO: result: $STRIP" >&5
4192 echo "${ECHO_T}$STRIP" >&6
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4199 if test -z "$ac_cv_prog_STRIP"; then
4201 # Extract the first word of "strip", so it can be a program name with args.
4202 set dummy strip; ac_word=$2
4203 echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4205 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 if test -n "$ac_ct_STRIP"; then
4209 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
4217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4218 ac_cv_prog_ac_ct_STRIP="strip"
4219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4228 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4229 if test -n "$ac_ct_STRIP"; then
4230 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4231 echo "${ECHO_T}$ac_ct_STRIP" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4239 STRIP="$ac_cv_prog_STRIP"
4243 # Check for any special flags to pass to ltconfig.
4244 libtool_flags="--cache-file=$cache_file"
4245 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4246 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4247 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4248 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4249 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4252 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4253 if test "${enable_libtool_lock+set}" = set; then
4254 enableval="$enable_libtool_lock"
4257 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4258 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4261 # Check whether --with-pic or --without-pic was given.
4262 if test "${with_pic+set}" = set; then
4268 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4269 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4271 # Some flags need to be propagated to the compiler or linker for good
4275 # Find out which ABI we are using.
4276 echo '#line 4276 "configure"' > conftest.$ac_ext
4277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4278 (eval $ac_compile) 2>&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); }; then
4282 if test "$lt_cv_prog_gnu_ld" = yes; then
4283 case `/usr/bin/file conftest.$ac_objext` in
4285 LD="${LD-ld} -melf32bsmip"
4288 LD="${LD-ld} -melf32bmipn32"
4291 LD="${LD-ld} -melf64bmip"
4295 case `/usr/bin/file conftest.$ac_objext` in
4312 # Find out which ABI we are using.
4313 echo 'int i;' > conftest.$ac_ext
4314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4315 (eval $ac_compile) 2>&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; then
4319 case "`/usr/bin/file conftest.o`" in
4331 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4332 # Find out which ABI we are using.
4333 echo 'int i;' > conftest.$ac_ext
4334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4335 (eval $ac_compile) 2>&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; then
4339 case "`/usr/bin/file conftest.o`" in
4343 LD="${LD-ld} -m elf_i386"
4346 LD="${LD-ld} -m elf32ppclinux"
4349 LD="${LD-ld} -m elf_s390"
4352 LD="${LD-ld} -m elf32_sparc"
4359 LD="${LD-ld} -m elf_x86_64"
4361 ppc*-*linux*|powerpc*-*linux*)
4362 LD="${LD-ld} -m elf64ppc"
4365 LD="${LD-ld} -m elf64_s390"
4368 LD="${LD-ld} -m elf64_sparc"
4378 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4379 SAVE_CFLAGS="$CFLAGS"
4380 CFLAGS="$CFLAGS -belf"
4381 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4382 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4383 if test "${lt_cv_cc_needs_belf+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 ac_cpp='$CPP $CPPFLAGS'
4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4394 cat >conftest.$ac_ext <<_ACEOF
4395 #line $LINENO "configure"
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4410 rm -f conftest.$ac_objext conftest$ac_exeext
4411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4412 (eval $ac_link) 2>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } &&
4416 { ac_try='test -s conftest$ac_exeext'
4417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); }; }; then
4422 lt_cv_cc_needs_belf=yes
4424 echo "$as_me: failed program was:" >&5
4425 sed 's/^/| /' conftest.$ac_ext >&5
4427 lt_cv_cc_needs_belf=no
4429 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4431 ac_cpp='$CPP $CPPFLAGS'
4432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4437 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4438 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4439 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4440 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4441 CFLAGS="$SAVE_CFLAGS"
4449 # Save cache, so that ltconfig can load it
4450 cat >confcache <<\_ACEOF
4451 # This file is a shell script that caches the results of configure
4452 # tests run on this system so they can be shared between configure
4453 # scripts and configure runs, see configure's option --config-cache.
4454 # It is not useful on other systems. If it contains results you don't
4455 # want to keep, you may remove or edit it.
4457 # config.status only pays attention to the cache file if you give it
4458 # the --recheck option to rerun configure.
4460 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4461 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4466 # The following way of writing the cache mishandles newlines in values,
4467 # but we know of no workaround that is simple, portable, and efficient.
4468 # So, don't put newlines in cache variables' values.
4469 # Ultrix sh set writes to stderr and can't be redirected directly,
4470 # and sets the high bit in the cache file unless we assign to the vars.
4473 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4475 # `set' does not quote correctly, so add quotes (double-quote
4476 # substitution turns \\\\ into \\, and sed turns \\ into \).
4479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4482 # `set' quotes correctly as required by POSIX, so do not add quotes.
4484 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4493 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4495 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4496 if test -w $cache_file; then
4497 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4498 cat confcache >$cache_file
4500 echo "not updating unwritable cache $cache_file"
4505 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4506 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4507 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4508 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4509 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4510 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4511 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4512 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4513 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4514 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4515 echo "$as_me: error: libtool configure failed" >&2;}
4516 { (exit 1); exit 1; }; }
4518 # Reload cache, that may have been modified by ltconfig
4519 if test -r "$cache_file"; then
4520 # Some versions of bash will fail to source /dev/null (special
4521 # files actually), so we avoid doing that.
4522 if test -f "$cache_file"; then
4523 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4524 echo "$as_me: loading cache $cache_file" >&6;}
4526 [\\/]* | ?:[\\/]* ) . $cache_file;;
4527 *) . ./$cache_file;;
4531 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4532 echo "$as_me: creating cache $cache_file" >&6;}
4537 # This can be used to rebuild libtool when needed
4538 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4540 # Always use our own libtool.
4541 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4543 # Redirect the config.log output again, so that the ltconfig log is not
4544 # clobbered by the next message.
4545 exec 5>>./config.log
4548 ac_cpp='$CXXCPP $CPPFLAGS'
4549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4552 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4553 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4554 if test -z "$CXXCPP"; then
4555 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4556 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 # Double quotes because CXXCPP needs to be expanded
4559 for CXXCPP in "$CXX -E" "/lib/cpp"
4562 for ac_cxx_preproc_warn_flag in '' yes
4564 # Use a header file that comes with gcc, so configuring glibc
4565 # with a fresh cross-compiler works.
4566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4567 # <limits.h> exists even on freestanding compilers.
4568 # On the NeXT, cc -E runs the code through the compiler's parser,
4569 # not just through cpp. "Syntax error" is here to catch this case.
4570 cat >conftest.$ac_ext <<_ACEOF
4571 #line $LINENO "configure"
4574 cat confdefs.h >>conftest.$ac_ext
4575 cat >>conftest.$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4578 # include <limits.h>
4580 # include <assert.h>
4584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4587 grep -v '^ *+' conftest.er1 >conftest.err
4589 cat conftest.err >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } >/dev/null; then
4592 if test -s conftest.err; then
4593 ac_cpp_err=$ac_cxx_preproc_warn_flag
4600 if test -z "$ac_cpp_err"; then
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4606 # Broken: fails on valid input.
4609 rm -f conftest.err conftest.$ac_ext
4611 # OK, works on sane cases. Now check whether non-existent headers
4612 # can be detected and how.
4613 cat >conftest.$ac_ext <<_ACEOF
4614 #line $LINENO "configure"
4617 cat confdefs.h >>conftest.$ac_ext
4618 cat >>conftest.$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4620 #include <ac_nonexistent.h>
4622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4625 grep -v '^ *+' conftest.er1 >conftest.err
4627 cat conftest.err >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } >/dev/null; then
4630 if test -s conftest.err; then
4631 ac_cpp_err=$ac_cxx_preproc_warn_flag
4638 if test -z "$ac_cpp_err"; then
4639 # Broken: success on invalid input.
4642 echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.$ac_ext >&5
4645 # Passes both tests.
4649 rm -f conftest.err conftest.$ac_ext
4652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4653 rm -f conftest.err conftest.$ac_ext
4654 if $ac_preproc_ok; then
4659 ac_cv_prog_CXXCPP=$CXXCPP
4662 CXXCPP=$ac_cv_prog_CXXCPP
4664 ac_cv_prog_CXXCPP=$CXXCPP
4666 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4667 echo "${ECHO_T}$CXXCPP" >&6
4669 for ac_cxx_preproc_warn_flag in '' yes
4671 # Use a header file that comes with gcc, so configuring glibc
4672 # with a fresh cross-compiler works.
4673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4674 # <limits.h> exists even on freestanding compilers.
4675 # On the NeXT, cc -E runs the code through the compiler's parser,
4676 # not just through cpp. "Syntax error" is here to catch this case.
4677 cat >conftest.$ac_ext <<_ACEOF
4678 #line $LINENO "configure"
4681 cat confdefs.h >>conftest.$ac_ext
4682 cat >>conftest.$ac_ext <<_ACEOF
4683 /* end confdefs.h. */
4685 # include <limits.h>
4687 # include <assert.h>
4691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4694 grep -v '^ *+' conftest.er1 >conftest.err
4696 cat conftest.err >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } >/dev/null; then
4699 if test -s conftest.err; then
4700 ac_cpp_err=$ac_cxx_preproc_warn_flag
4707 if test -z "$ac_cpp_err"; then
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4713 # Broken: fails on valid input.
4716 rm -f conftest.err conftest.$ac_ext
4718 # OK, works on sane cases. Now check whether non-existent headers
4719 # can be detected and how.
4720 cat >conftest.$ac_ext <<_ACEOF
4721 #line $LINENO "configure"
4724 cat confdefs.h >>conftest.$ac_ext
4725 cat >>conftest.$ac_ext <<_ACEOF
4726 /* end confdefs.h. */
4727 #include <ac_nonexistent.h>
4729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4732 grep -v '^ *+' conftest.er1 >conftest.err
4734 cat conftest.err >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); } >/dev/null; then
4737 if test -s conftest.err; then
4738 ac_cpp_err=$ac_cxx_preproc_warn_flag
4745 if test -z "$ac_cpp_err"; then
4746 # Broken: success on invalid input.
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4752 # Passes both tests.
4756 rm -f conftest.err conftest.$ac_ext
4759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4760 rm -f conftest.err conftest.$ac_ext
4761 if $ac_preproc_ok; then
4764 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4765 See \`config.log' for more details." >&5
4766 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4767 See \`config.log' for more details." >&2;}
4768 { (exit 1); exit 1; }; }
4772 ac_cpp='$CPP $CPPFLAGS'
4773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4779 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4781 lt_save_CFLAGS="$CFLAGS"
4782 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4783 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4784 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4785 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4786 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4787 deplibs_check_method="$deplibs_check_method" \
4788 file_magic_cmd="$file_magic_cmd" \
4789 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4790 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4791 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4792 echo "$as_me: error: libtool tag configuration failed" >&2;}
4793 { (exit 1); exit 1; }; }
4795 CFLAGS="$lt_save_CFLAGS"
4797 # Redirect the config.log output again, so that the ltconfig log is not
4798 # clobbered by the next message.
4799 exec 5>>./config.log
4808 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4810 # Check for support bits and g++ features that don't require linking.
4812 echo "$as_me:$LINENO: checking for exception model to use" >&5
4813 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4817 ac_cpp='$CXXCPP $CPPFLAGS'
4818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4822 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4823 if test "${enable_sjlj_exceptions+set}" = set; then
4824 enableval="$enable_sjlj_exceptions"
4826 case "$enableval" in
4828 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4829 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4830 { (exit 1); exit 1; }; } ;;
4834 enable_sjlj_exceptions=auto
4838 if test $enable_sjlj_exceptions = auto; then
4839 # Botheration. Now we've got to detect the exception model. Link tests
4840 # against libgcc.a are problematic since we've not been given proper -L
4841 # bits for single-tree newlib and libgloss.
4843 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4844 cat > conftest.$ac_ext << EOF
4845 #line 4845 "configure"
4854 old_CXXFLAGS="$CXXFLAGS"
4856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4857 (eval $ac_compile) 2>&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; then
4861 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4862 enable_sjlj_exceptions=yes
4863 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4864 enable_sjlj_exceptions=no
4867 CXXFLAGS="$old_CXXFLAGS"
4871 # This is a tad weird, for hysterical raisins. We have to map enable/disable
4872 # to two different models.
4873 case $enable_sjlj_exceptions in
4876 cat >>confdefs.h <<\_ACEOF
4877 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4880 ac_exception_model_name=sjlj
4883 ac_exception_model_name="call frame"
4886 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4887 echo "$as_me: error: unable to detect exception model" >&2;}
4888 { (exit 1); exit 1; }; }
4892 ac_cpp='$CPP $CPPFLAGS'
4893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4897 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4898 echo "${ECHO_T}$ac_exception_model_name" >&6
4901 echo "$as_me:$LINENO: checking for use of libunwind" >&5
4902 echo $ECHO_N "checking for use of libunwind... $ECHO_C" >&6
4903 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4904 if test "${enable_libunwind_exceptions+set}" = set; then
4905 enableval="$enable_libunwind_exceptions"
4907 case "$enableval" in
4909 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&5
4910 echo "$as_me: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&2;}
4911 { (exit 1); exit 1; }; } ;;
4915 enable_libunwind_exceptions=no
4918 echo "$as_me:$LINENO: result: $use_libunwind_exceptions" >&5
4919 echo "${ECHO_T}$use_libunwind_exceptions" >&6
4920 if test $enable_libunwind_exceptions = yes; then
4921 LIBUNWIND_FLAG="-lunwind"
4928 echo "$as_me:$LINENO: checking for enabled PCH" >&5
4929 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4930 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4931 if test "${enable_libstdcxx_pch+set}" = set; then
4932 enableval="$enable_libstdcxx_pch"
4934 case "$enableval" in
4936 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4937 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4938 { (exit 1); exit 1; }; } ;;
4942 enable_libstdcxx_pch=yes
4945 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4946 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4948 if test $enable_libstdcxx_pch = yes; then
4949 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4950 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4951 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 ac_save_CXXFLAGS="$CXXFLAGS"
4955 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4959 ac_cpp='$CXXCPP $CPPFLAGS'
4960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4964 echo '#include <math.h>' > conftest.h
4965 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4966 -o conftest.h.gch 1>&5 2>&1 &&
4967 echo '#error "pch failed"' > conftest.h &&
4968 echo '#include "conftest.h"' > conftest.cc &&
4969 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
4971 glibcxx_cv_prog_CXX_pch=yes
4973 glibcxx_cv_prog_CXX_pch=no
4976 CXXFLAGS=$ac_save_CXXFLAGS
4978 ac_cpp='$CPP $CPPFLAGS'
4979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4985 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
4986 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
4987 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
4992 if test $enable_libstdcxx_pch = yes; then
4993 GLIBCXX_BUILD_PCH_TRUE=
4994 GLIBCXX_BUILD_PCH_FALSE='#'
4996 GLIBCXX_BUILD_PCH_TRUE='#'
4997 GLIBCXX_BUILD_PCH_FALSE=
5000 if test $enable_libstdcxx_pch = yes; then
5001 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5008 # Enable all the variable C++ runtime options.
5009 # NB: C_MBCHAR must come early.
5011 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5012 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5013 # Check whether --enable-cstdio or --disable-cstdio was given.
5014 if test "${enable_cstdio+set}" = set; then
5015 enableval="$enable_cstdio"
5017 case "$enableval" in
5019 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5020 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5021 { (exit 1); exit 1; }; } ;;
5029 # Now that libio has been removed, you can have any color you want as long
5030 # as it's black. This is one big no-op until other packages are added, but
5031 # showing the framework never hurts.
5032 case ${enable_cstdio} in
5034 CSTDIO_H=config/io/c_io_stdio.h
5035 BASIC_FILE_H=config/io/basic_file_stdio.h
5036 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5037 echo "$as_me:$LINENO: result: stdio" >&5
5038 echo "${ECHO_T}stdio" >&6
5042 FPOS_H=$fpos_include_dir
5050 ac_cpp='$CPP $CPPFLAGS'
5051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5054 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5055 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5056 # On Suns, sometimes $CPP names a directory.
5057 if test -n "$CPP" && test -d "$CPP"; then
5060 if test -z "$CPP"; then
5061 if test "${ac_cv_prog_CPP+set}" = set; then
5062 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 # Double quotes because CPP needs to be expanded
5065 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5068 for ac_c_preproc_warn_flag in '' yes
5070 # Use a header file that comes with gcc, so configuring glibc
5071 # with a fresh cross-compiler works.
5072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5073 # <limits.h> exists even on freestanding compilers.
5074 # On the NeXT, cc -E runs the code through the compiler's parser,
5075 # not just through cpp. "Syntax error" is here to catch this case.
5076 cat >conftest.$ac_ext <<_ACEOF
5077 #line $LINENO "configure"
5080 cat confdefs.h >>conftest.$ac_ext
5081 cat >>conftest.$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5084 # include <limits.h>
5086 # include <assert.h>
5090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5093 grep -v '^ *+' conftest.er1 >conftest.err
5095 cat conftest.err >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } >/dev/null; then
5098 if test -s conftest.err; then
5099 ac_cpp_err=$ac_c_preproc_warn_flag
5106 if test -z "$ac_cpp_err"; then
5109 echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.$ac_ext >&5
5112 # Broken: fails on valid input.
5115 rm -f conftest.err conftest.$ac_ext
5117 # OK, works on sane cases. Now check whether non-existent headers
5118 # can be detected and how.
5119 cat >conftest.$ac_ext <<_ACEOF
5120 #line $LINENO "configure"
5123 cat confdefs.h >>conftest.$ac_ext
5124 cat >>conftest.$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5126 #include <ac_nonexistent.h>
5128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5131 grep -v '^ *+' conftest.er1 >conftest.err
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } >/dev/null; then
5136 if test -s conftest.err; then
5137 ac_cpp_err=$ac_c_preproc_warn_flag
5144 if test -z "$ac_cpp_err"; then
5145 # Broken: success on invalid input.
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5151 # Passes both tests.
5155 rm -f conftest.err conftest.$ac_ext
5158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5159 rm -f conftest.err conftest.$ac_ext
5160 if $ac_preproc_ok; then
5172 echo "$as_me:$LINENO: result: $CPP" >&5
5173 echo "${ECHO_T}$CPP" >&6
5175 for ac_c_preproc_warn_flag in '' yes
5177 # Use a header file that comes with gcc, so configuring glibc
5178 # with a fresh cross-compiler works.
5179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5180 # <limits.h> exists even on freestanding compilers.
5181 # On the NeXT, cc -E runs the code through the compiler's parser,
5182 # not just through cpp. "Syntax error" is here to catch this case.
5183 cat >conftest.$ac_ext <<_ACEOF
5184 #line $LINENO "configure"
5187 cat confdefs.h >>conftest.$ac_ext
5188 cat >>conftest.$ac_ext <<_ACEOF
5189 /* end confdefs.h. */
5191 # include <limits.h>
5193 # include <assert.h>
5197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5200 grep -v '^ *+' conftest.er1 >conftest.err
5202 cat conftest.err >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } >/dev/null; then
5205 if test -s conftest.err; then
5206 ac_cpp_err=$ac_c_preproc_warn_flag
5213 if test -z "$ac_cpp_err"; then
5216 echo "$as_me: failed program was:" >&5
5217 sed 's/^/| /' conftest.$ac_ext >&5
5219 # Broken: fails on valid input.
5222 rm -f conftest.err conftest.$ac_ext
5224 # OK, works on sane cases. Now check whether non-existent headers
5225 # can be detected and how.
5226 cat >conftest.$ac_ext <<_ACEOF
5227 #line $LINENO "configure"
5230 cat confdefs.h >>conftest.$ac_ext
5231 cat >>conftest.$ac_ext <<_ACEOF
5232 /* end confdefs.h. */
5233 #include <ac_nonexistent.h>
5235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5238 grep -v '^ *+' conftest.er1 >conftest.err
5240 cat conftest.err >&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } >/dev/null; then
5243 if test -s conftest.err; then
5244 ac_cpp_err=$ac_c_preproc_warn_flag
5251 if test -z "$ac_cpp_err"; then
5252 # Broken: success on invalid input.
5255 echo "$as_me: failed program was:" >&5
5256 sed 's/^/| /' conftest.$ac_ext >&5
5258 # Passes both tests.
5262 rm -f conftest.err conftest.$ac_ext
5265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5266 rm -f conftest.err conftest.$ac_ext
5267 if $ac_preproc_ok; then
5270 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5271 See \`config.log' for more details." >&5
5272 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5273 See \`config.log' for more details." >&2;}
5274 { (exit 1); exit 1; }; }
5278 ac_cpp='$CPP $CPPFLAGS'
5279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5284 echo "$as_me:$LINENO: checking for egrep" >&5
5285 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5286 if test "${ac_cv_prog_egrep+set}" = set; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5290 then ac_cv_prog_egrep='grep -E'
5291 else ac_cv_prog_egrep='egrep'
5294 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5295 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5296 EGREP=$ac_cv_prog_egrep
5299 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5300 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5301 if test "${ac_cv_header_stdc+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 cat >conftest.$ac_ext <<_ACEOF
5305 #line $LINENO "configure"
5308 cat confdefs.h >>conftest.$ac_ext
5309 cat >>conftest.$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5324 rm -f conftest.$ac_objext
5325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5326 (eval $ac_compile) 2>&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); } &&
5330 { ac_try='test -s conftest.$ac_objext'
5331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); }; }; then
5336 ac_cv_header_stdc=yes
5338 echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.$ac_ext >&5
5341 ac_cv_header_stdc=no
5343 rm -f conftest.$ac_objext conftest.$ac_ext
5345 if test $ac_cv_header_stdc = yes; then
5346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5347 cat >conftest.$ac_ext <<_ACEOF
5348 #line $LINENO "configure"
5351 cat confdefs.h >>conftest.$ac_ext
5352 cat >>conftest.$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5358 $EGREP "memchr" >/dev/null 2>&1; then
5361 ac_cv_header_stdc=no
5367 if test $ac_cv_header_stdc = yes; then
5368 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5369 cat >conftest.$ac_ext <<_ACEOF
5370 #line $LINENO "configure"
5373 cat confdefs.h >>conftest.$ac_ext
5374 cat >>conftest.$ac_ext <<_ACEOF
5375 /* end confdefs.h. */
5379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5380 $EGREP "free" >/dev/null 2>&1; then
5383 ac_cv_header_stdc=no
5389 if test $ac_cv_header_stdc = yes; then
5390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5391 if test "$cross_compiling" = yes; then
5394 cat >conftest.$ac_ext <<_ACEOF
5395 #line $LINENO "configure"
5398 cat confdefs.h >>conftest.$ac_ext
5399 cat >>conftest.$ac_ext <<_ACEOF
5400 /* end confdefs.h. */
5402 #if ((' ' & 0x0FF) == 0x020)
5403 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5404 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5406 # define ISLOWER(c) \
5407 (('a' <= (c) && (c) <= 'i') \
5408 || ('j' <= (c) && (c) <= 'r') \
5409 || ('s' <= (c) && (c) <= 'z'))
5410 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5413 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5418 for (i = 0; i < 256; i++)
5419 if (XOR (islower (i), ISLOWER (i))
5420 || toupper (i) != TOUPPER (i))
5425 rm -f conftest$ac_exeext
5426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5427 (eval $ac_link) 2>&5
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); }; }; then
5438 echo "$as_me: program exited with status $ac_status" >&5
5439 echo "$as_me: failed program was:" >&5
5440 sed 's/^/| /' conftest.$ac_ext >&5
5443 ac_cv_header_stdc=no
5445 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5449 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5450 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5451 if test $ac_cv_header_stdc = yes; then
5453 cat >>confdefs.h <<\_ACEOF
5454 #define STDC_HEADERS 1
5459 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5469 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5470 inttypes.h stdint.h unistd.h
5472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5473 echo "$as_me:$LINENO: checking for $ac_header" >&5
5474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5476 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 cat >conftest.$ac_ext <<_ACEOF
5479 #line $LINENO "configure"
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h. */
5485 $ac_includes_default
5487 #include <$ac_header>
5489 rm -f conftest.$ac_objext
5490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5491 (eval $ac_compile) 2>&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); } &&
5495 { ac_try='test -s conftest.$ac_objext'
5496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); }; }; then
5501 eval "$as_ac_Header=yes"
5503 echo "$as_me: failed program was:" >&5
5504 sed 's/^/| /' conftest.$ac_ext >&5
5506 eval "$as_ac_Header=no"
5508 rm -f conftest.$ac_objext conftest.$ac_ext
5510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5513 cat >>confdefs.h <<_ACEOF
5514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5523 echo "$as_me:$LINENO: checking for C locale to use" >&5
5524 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5525 # Check whether --enable-clocale or --disable-clocale was given.
5526 if test "${enable_clocale+set}" = set; then
5527 enableval="$enable_clocale"
5529 case "$enableval" in
5530 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5531 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5532 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5533 { (exit 1); exit 1; }; } ;;
5541 # If they didn't use this option switch, or if they specified --enable
5542 # with no specific model, we'll have to look for one. If they
5543 # specified --disable (???), do likewise.
5544 if test $enable_clocale = no || test $enable_clocale = yes; then
5548 # Either a known package, or "auto"
5549 enable_clocale_flag=$enable_clocale
5551 # Probe for locale support if no specific model is specified.
5552 # Default to "generic".
5553 if test $enable_clocale_flag = auto; then
5554 case x${target_os} in
5556 cat >conftest.$ac_ext <<_ACEOF
5557 #line $LINENO "configure"
5560 cat confdefs.h >>conftest.$ac_ext
5561 cat >>conftest.$ac_ext <<_ACEOF
5562 /* end confdefs.h. */
5564 #include <features.h>
5565 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5571 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5572 enable_clocale_flag=gnu
5574 enable_clocale_flag=generic
5579 # Test for bugs early in glibc-2.2.x series
5580 if test x$enable_clocale_flag = xgnu; then
5581 if test "$cross_compiling" = yes; then
5582 enable_clocale_flag=generic
5584 cat >conftest.$ac_ext <<_ACEOF
5585 #line $LINENO "configure"
5588 cat confdefs.h >>conftest.$ac_ext
5589 cat >>conftest.$ac_ext <<_ACEOF
5590 /* end confdefs.h. */
5592 #define _GNU_SOURCE 1
5595 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5596 extern __typeof(newlocale) __newlocale;
5597 extern __typeof(duplocale) __duplocale;
5598 extern __typeof(strcoll_l) __strcoll_l;
5602 const char __one[] = "Äuglein Augmen";
5603 const char __two[] = "Äuglein";
5608 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5609 loc_dup = __duplocale(loc);
5610 i = __strcoll_l(__one, __two, loc);
5611 j = __strcoll_l(__one, __two, loc_dup);
5616 rm -f conftest$ac_exeext
5617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5618 (eval $ac_link) 2>&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); }; }; then
5627 enable_clocale_flag=gnu
5629 echo "$as_me: program exited with status $ac_status" >&5
5630 echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.$ac_ext >&5
5634 enable_clocale_flag=generic
5636 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5640 # ... at some point put __strxfrm_l tests in as well.
5643 enable_clocale_flag=generic
5648 # Deal with gettext issues. Default to not using it (=no) until we detect
5649 # support for it later. Let the user turn it off via --e/d, but let that
5650 # default to on for easier handling.
5652 # Check whether --enable-nls or --disable-nls was given.
5653 if test "${enable_nls+set}" = set; then
5654 enableval="$enable_nls"
5660 # Set configure bits for specified locale package
5661 case ${enable_clocale_flag} in
5663 echo "$as_me:$LINENO: result: generic" >&5
5664 echo "${ECHO_T}generic" >&6
5666 CLOCALE_H=config/locale/generic/c_locale.h
5667 CLOCALE_CC=config/locale/generic/c_locale.cc
5668 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5669 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5670 CCOLLATE_CC=config/locale/generic/collate_members.cc
5671 CCTYPE_CC=config/locale/generic/ctype_members.cc
5672 CMESSAGES_H=config/locale/generic/messages_members.h
5673 CMESSAGES_CC=config/locale/generic/messages_members.cc
5674 CMONEY_CC=config/locale/generic/monetary_members.cc
5675 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5676 CTIME_H=config/locale/generic/time_members.h
5677 CTIME_CC=config/locale/generic/time_members.cc
5678 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5681 echo "$as_me:$LINENO: result: gnu" >&5
5682 echo "${ECHO_T}gnu" >&6
5684 # Declare intention to use gettext, and add support for specific
5686 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5689 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5690 # Extract the first word of "msgfmt", so it can be a program name with args.
5691 set dummy msgfmt; ac_word=$2
5692 echo "$as_me:$LINENO: checking for $ac_word" >&5
5693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5694 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 if test -n "$check_msgfmt"; then
5698 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_prog_check_msgfmt="yes"
5708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5717 check_msgfmt=$ac_cv_prog_check_msgfmt
5718 if test -n "$check_msgfmt"; then
5719 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5720 echo "${ECHO_T}$check_msgfmt" >&6
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5726 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5729 # Export the build objects.
5730 for ling in $ALL_LINGUAS; do \
5731 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5732 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5737 CLOCALE_H=config/locale/gnu/c_locale.h
5738 CLOCALE_CC=config/locale/gnu/c_locale.cc
5739 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5740 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5741 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5742 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5743 CMESSAGES_H=config/locale/gnu/messages_members.h
5744 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5745 CMONEY_CC=config/locale/gnu/monetary_members.cc
5746 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5747 CTIME_H=config/locale/gnu/time_members.h
5748 CTIME_CC=config/locale/gnu/time_members.cc
5749 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5752 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5753 echo "${ECHO_T}IEEE 1003.1" >&6
5755 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5756 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5757 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5758 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5759 CCOLLATE_CC=config/locale/generic/collate_members.cc
5760 CCTYPE_CC=config/locale/generic/ctype_members.cc
5761 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5762 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5763 CMONEY_CC=config/locale/generic/monetary_members.cc
5764 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5765 CTIME_H=config/locale/generic/time_members.h
5766 CTIME_CC=config/locale/generic/time_members.cc
5767 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5771 # This is where the testsuite looks for locale catalogs, using the
5772 # -DLOCALEDIR define during testsuite compilation.
5773 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5776 # A standalone libintl (e.g., GNU libintl) may be in use.
5777 if test $USE_NLS = yes; then
5779 for ac_header in libintl.h
5781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5783 echo "$as_me:$LINENO: checking for $ac_header" >&5
5784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5791 # Is the header compilable?
5792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5794 cat >conftest.$ac_ext <<_ACEOF
5795 #line $LINENO "configure"
5798 cat confdefs.h >>conftest.$ac_ext
5799 cat >>conftest.$ac_ext <<_ACEOF
5800 /* end confdefs.h. */
5801 $ac_includes_default
5802 #include <$ac_header>
5804 rm -f conftest.$ac_objext
5805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5806 (eval $ac_compile) 2>&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); } &&
5810 { ac_try='test -s conftest.$ac_objext'
5811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815 (exit $ac_status); }; }; then
5816 ac_header_compiler=yes
5818 echo "$as_me: failed program was:" >&5
5819 sed 's/^/| /' conftest.$ac_ext >&5
5821 ac_header_compiler=no
5823 rm -f conftest.$ac_objext conftest.$ac_ext
5824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5825 echo "${ECHO_T}$ac_header_compiler" >&6
5827 # Is the header present?
5828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5830 cat >conftest.$ac_ext <<_ACEOF
5831 #line $LINENO "configure"
5834 cat confdefs.h >>conftest.$ac_ext
5835 cat >>conftest.$ac_ext <<_ACEOF
5836 /* end confdefs.h. */
5837 #include <$ac_header>
5839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5842 grep -v '^ *+' conftest.er1 >conftest.err
5844 cat conftest.err >&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); } >/dev/null; then
5847 if test -s conftest.err; then
5848 ac_cpp_err=$ac_c_preproc_warn_flag
5855 if test -z "$ac_cpp_err"; then
5856 ac_header_preproc=yes
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5861 ac_header_preproc=no
5863 rm -f conftest.err conftest.$ac_ext
5864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5865 echo "${ECHO_T}$ac_header_preproc" >&6
5867 # So? What about this header?
5868 case $ac_header_compiler:$ac_header_preproc in
5870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5876 ## ------------------------------------ ##
5877 ## Report this to bug-autoconf@gnu.org. ##
5878 ## ------------------------------------ ##
5881 sed "s/^/$as_me: WARNING: /" >&2
5884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5892 ## ------------------------------------ ##
5893 ## Report this to bug-autoconf@gnu.org. ##
5894 ## ------------------------------------ ##
5897 sed "s/^/$as_me: WARNING: /" >&2
5900 echo "$as_me:$LINENO: checking for $ac_header" >&5
5901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5903 echo $ECHO_N "(cached) $ECHO_C" >&6
5905 eval "$as_ac_Header=$ac_header_preproc"
5907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5912 cat >>confdefs.h <<_ACEOF
5913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5922 echo "$as_me:$LINENO: checking for library containing gettext" >&5
5923 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5924 if test "${ac_cv_search_gettext+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 ac_func_search_save_LIBS=$LIBS
5928 ac_cv_search_gettext=no
5929 cat >conftest.$ac_ext <<_ACEOF
5930 #line $LINENO "configure"
5933 cat confdefs.h >>conftest.$ac_ext
5934 cat >>conftest.$ac_ext <<_ACEOF
5935 /* end confdefs.h. */
5937 /* Override any gcc2 internal prototype to avoid an error. */
5941 /* We use char because int might match the return type of a gcc2
5942 builtin and then its argument prototype would still apply. */
5952 rm -f conftest.$ac_objext conftest$ac_exeext
5953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5954 (eval $ac_link) 2>&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); } &&
5958 { ac_try='test -s conftest$ac_exeext'
5959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); }; }; then
5964 ac_cv_search_gettext="none required"
5966 echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.$ac_ext >&5
5970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5971 if test "$ac_cv_search_gettext" = no; then
5972 for ac_lib in intl; do
5973 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
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
6077 if test $enable_cheaders = c; then
6078 GLIBCXX_C_HEADERS_C_TRUE=
6079 GLIBCXX_C_HEADERS_C_FALSE='#'
6081 GLIBCXX_C_HEADERS_C_TRUE='#'
6082 GLIBCXX_C_HEADERS_C_FALSE=
6087 if test $enable_cheaders = c_std; then
6088 GLIBCXX_C_HEADERS_C_STD_TRUE=
6089 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
6091 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
6092 GLIBCXX_C_HEADERS_C_STD_FALSE=
6097 if test $c_compatibility = yes; then
6098 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
6099 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
6101 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
6102 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
6106 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6107 if test "${enable_c_mbchar+set}" = set; then
6108 enableval="$enable_c_mbchar"
6110 case "$enableval" in
6112 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6113 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6114 { (exit 1); exit 1; }; } ;;
6121 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6125 # Check whether --enable-c99 or --disable-c99 was given.
6126 if test "${enable_c99+set}" = set; then
6127 enableval="$enable_c99"
6129 case "$enableval" in
6131 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6132 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6133 { (exit 1); exit 1; }; } ;;
6144 ac_cpp='$CXXCPP $CPPFLAGS'
6145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6150 # Check for the existence of <math.h> functions used if C99 is enabled.
6152 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6153 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6154 cat >conftest.$ac_ext <<_ACEOF
6155 #line $LINENO "configure"
6158 cat confdefs.h >>conftest.$ac_ext
6159 cat >>conftest.$ac_ext <<_ACEOF
6160 /* end confdefs.h. */
6170 rm -f conftest.$ac_objext
6171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6172 (eval $ac_compile) 2>&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try='test -s conftest.$ac_objext'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; }; then
6184 echo "$as_me: failed program was:" >&5
6185 sed 's/^/| /' conftest.$ac_ext >&5
6189 rm -f conftest.$ac_objext conftest.$ac_ext
6190 cat >conftest.$ac_ext <<_ACEOF
6191 #line $LINENO "configure"
6194 cat confdefs.h >>conftest.$ac_ext
6195 cat >>conftest.$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6206 rm -f conftest.$ac_objext
6207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6208 (eval $ac_compile) 2>&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); } &&
6212 { ac_try='test -s conftest.$ac_objext'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.$ac_ext >&5
6225 rm -f conftest.$ac_objext conftest.$ac_ext
6226 cat >conftest.$ac_ext <<_ACEOF
6227 #line $LINENO "configure"
6230 cat confdefs.h >>conftest.$ac_ext
6231 cat >>conftest.$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6242 rm -f conftest.$ac_objext
6243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6244 (eval $ac_compile) 2>&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); } &&
6248 { ac_try='test -s conftest.$ac_objext'
6249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); }; }; then
6256 echo "$as_me: failed program was:" >&5
6257 sed 's/^/| /' conftest.$ac_ext >&5
6261 rm -f conftest.$ac_objext conftest.$ac_ext
6262 cat >conftest.$ac_ext <<_ACEOF
6263 #line $LINENO "configure"
6266 cat confdefs.h >>conftest.$ac_ext
6267 cat >>conftest.$ac_ext <<_ACEOF
6268 /* end confdefs.h. */
6278 rm -f conftest.$ac_objext
6279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6280 (eval $ac_compile) 2>&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } &&
6284 { ac_try='test -s conftest.$ac_objext'
6285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; }; then
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6297 rm -f conftest.$ac_objext conftest.$ac_ext
6298 cat >conftest.$ac_ext <<_ACEOF
6299 #line $LINENO "configure"
6302 cat confdefs.h >>conftest.$ac_ext
6303 cat >>conftest.$ac_ext <<_ACEOF
6304 /* end confdefs.h. */
6314 rm -f conftest.$ac_objext
6315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6316 (eval $ac_compile) 2>&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); } &&
6320 { ac_try='test -s conftest.$ac_objext'
6321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); }; }; then
6328 echo "$as_me: failed program was:" >&5
6329 sed 's/^/| /' conftest.$ac_ext >&5
6333 rm -f conftest.$ac_objext conftest.$ac_ext
6334 cat >conftest.$ac_ext <<_ACEOF
6335 #line $LINENO "configure"
6338 cat confdefs.h >>conftest.$ac_ext
6339 cat >>conftest.$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6350 rm -f conftest.$ac_objext
6351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6352 (eval $ac_compile) 2>&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } &&
6356 { ac_try='test -s conftest.$ac_objext'
6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); }; }; then
6364 echo "$as_me: failed program was:" >&5
6365 sed 's/^/| /' conftest.$ac_ext >&5
6369 rm -f conftest.$ac_objext conftest.$ac_ext
6370 cat >conftest.$ac_ext <<_ACEOF
6371 #line $LINENO "configure"
6374 cat confdefs.h >>conftest.$ac_ext
6375 cat >>conftest.$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6386 rm -f conftest.$ac_objext
6387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6388 (eval $ac_compile) 2>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -s conftest.$ac_objext'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; }; then
6400 echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.$ac_ext >&5
6405 rm -f conftest.$ac_objext conftest.$ac_ext
6406 cat >conftest.$ac_ext <<_ACEOF
6407 #line $LINENO "configure"
6410 cat confdefs.h >>conftest.$ac_ext
6411 cat >>conftest.$ac_ext <<_ACEOF
6412 /* end confdefs.h. */
6417 isgreaterequal(0.0,0.0);
6422 rm -f conftest.$ac_objext
6423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6424 (eval $ac_compile) 2>&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); } &&
6428 { ac_try='test -s conftest.$ac_objext'
6429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); }; }; then
6436 echo "$as_me: failed program was:" >&5
6437 sed 's/^/| /' conftest.$ac_ext >&5
6441 rm -f conftest.$ac_objext conftest.$ac_ext
6442 cat >conftest.$ac_ext <<_ACEOF
6443 #line $LINENO "configure"
6446 cat confdefs.h >>conftest.$ac_ext
6447 cat >>conftest.$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6458 rm -f conftest.$ac_objext
6459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6460 (eval $ac_compile) 2>&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try='test -s conftest.$ac_objext'
6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; }; then
6472 echo "$as_me: failed program was:" >&5
6473 sed 's/^/| /' conftest.$ac_ext >&5
6477 rm -f conftest.$ac_objext conftest.$ac_ext
6478 cat >conftest.$ac_ext <<_ACEOF
6479 #line $LINENO "configure"
6482 cat confdefs.h >>conftest.$ac_ext
6483 cat >>conftest.$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6489 islessequal(0.0,0.0);
6494 rm -f conftest.$ac_objext
6495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6496 (eval $ac_compile) 2>&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); } &&
6500 { ac_try='test -s conftest.$ac_objext'
6501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); }; }; then
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6513 rm -f conftest.$ac_objext conftest.$ac_ext
6514 cat >conftest.$ac_ext <<_ACEOF
6515 #line $LINENO "configure"
6518 cat confdefs.h >>conftest.$ac_ext
6519 cat >>conftest.$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6525 islessgreater(0.0,0.0);
6530 rm -f conftest.$ac_objext
6531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6532 (eval $ac_compile) 2>&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); } &&
6536 { ac_try='test -s conftest.$ac_objext'
6537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; }; then
6544 echo "$as_me: failed program was:" >&5
6545 sed 's/^/| /' conftest.$ac_ext >&5
6549 rm -f conftest.$ac_objext conftest.$ac_ext
6550 cat >conftest.$ac_ext <<_ACEOF
6551 #line $LINENO "configure"
6554 cat confdefs.h >>conftest.$ac_ext
6555 cat >>conftest.$ac_ext <<_ACEOF
6556 /* end confdefs.h. */
6561 isunordered(0.0,0.0);
6566 rm -f conftest.$ac_objext
6567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6568 (eval $ac_compile) 2>&5
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); } &&
6572 { ac_try='test -s conftest.$ac_objext'
6573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); }; }; then
6580 echo "$as_me: failed program was:" >&5
6581 sed 's/^/| /' conftest.$ac_ext >&5
6585 rm -f conftest.$ac_objext conftest.$ac_ext
6586 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6587 echo "${ECHO_T}$ac_c99_math" >&6
6589 # Check for the existence in <stdio.h> of vscanf, et. al.
6591 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6592 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6593 cat >conftest.$ac_ext <<_ACEOF
6594 #line $LINENO "configure"
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6604 snprintf("12", 0, "%i");
6609 rm -f conftest.$ac_objext
6610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6611 (eval $ac_compile) 2>&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); } &&
6615 { ac_try='test -s conftest.$ac_objext'
6616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; }; then
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6628 rm -f conftest.$ac_objext conftest.$ac_ext
6629 cat >conftest.$ac_ext <<_ACEOF
6630 #line $LINENO "configure"
6633 cat confdefs.h >>conftest.$ac_ext
6634 cat >>conftest.$ac_ext <<_ACEOF
6635 /* end confdefs.h. */
6638 void foo(char* fmt, ...)
6639 {va_list args; va_start(args, fmt);
6640 vfscanf(stderr, "%i", args);}
6649 rm -f conftest.$ac_objext
6650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6651 (eval $ac_compile) 2>&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); } &&
6655 { ac_try='test -s conftest.$ac_objext'
6656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); }; }; then
6663 echo "$as_me: failed program was:" >&5
6664 sed 's/^/| /' conftest.$ac_ext >&5
6668 rm -f conftest.$ac_objext conftest.$ac_ext
6669 cat >conftest.$ac_ext <<_ACEOF
6670 #line $LINENO "configure"
6673 cat confdefs.h >>conftest.$ac_ext
6674 cat >>conftest.$ac_ext <<_ACEOF
6675 /* end confdefs.h. */
6678 void foo(char* fmt, ...)
6679 {va_list args; va_start(args, fmt);
6680 vscanf("%i", args);}
6689 rm -f conftest.$ac_objext
6690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6691 (eval $ac_compile) 2>&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); } &&
6695 { ac_try='test -s conftest.$ac_objext'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; }; then
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6708 rm -f conftest.$ac_objext conftest.$ac_ext
6709 cat >conftest.$ac_ext <<_ACEOF
6710 #line $LINENO "configure"
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6718 void foo(char* fmt, ...)
6719 {va_list args; va_start(args, fmt);
6720 vsnprintf(fmt, 0, "%i", args);}
6729 rm -f conftest.$ac_objext
6730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6731 (eval $ac_compile) 2>&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } &&
6735 { ac_try='test -s conftest.$ac_objext'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; }; then
6743 echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.$ac_ext >&5
6748 rm -f conftest.$ac_objext conftest.$ac_ext
6749 cat >conftest.$ac_ext <<_ACEOF
6750 #line $LINENO "configure"
6753 cat confdefs.h >>conftest.$ac_ext
6754 cat >>conftest.$ac_ext <<_ACEOF
6755 /* end confdefs.h. */
6758 void foo(char* fmt, ...)
6759 {va_list args; va_start(args, fmt);
6760 vsscanf(fmt, "%i", args);}
6769 rm -f conftest.$ac_objext
6770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6771 (eval $ac_compile) 2>&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); } &&
6775 { ac_try='test -s conftest.$ac_objext'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; }; then
6783 echo "$as_me: failed program was:" >&5
6784 sed 's/^/| /' conftest.$ac_ext >&5
6788 rm -f conftest.$ac_objext conftest.$ac_ext
6789 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6790 echo "${ECHO_T}$ac_c99_stdio" >&6
6792 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6794 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6795 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6796 if test "${ac_c99_lldiv_t+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6800 cat >conftest.$ac_ext <<_ACEOF
6801 #line $LINENO "configure"
6804 cat confdefs.h >>conftest.$ac_ext
6805 cat >>conftest.$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6816 rm -f conftest.$ac_objext
6817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6818 (eval $ac_compile) 2>&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } &&
6822 { ac_try='test -s conftest.$ac_objext'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; }; then
6830 echo "$as_me: failed program was:" >&5
6831 sed 's/^/| /' conftest.$ac_ext >&5
6835 rm -f conftest.$ac_objext conftest.$ac_ext
6839 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6840 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6842 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6843 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6844 cat >conftest.$ac_ext <<_ACEOF
6845 #line $LINENO "configure"
6848 cat confdefs.h >>conftest.$ac_ext
6849 cat >>conftest.$ac_ext <<_ACEOF
6850 /* end confdefs.h. */
6855 char* tmp; strtof("gnu", &tmp);
6860 rm -f conftest.$ac_objext
6861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6862 (eval $ac_compile) 2>&5
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); } &&
6866 { ac_try='test -s conftest.$ac_objext'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; }; then
6874 echo "$as_me: failed program was:" >&5
6875 sed 's/^/| /' conftest.$ac_ext >&5
6879 rm -f conftest.$ac_objext conftest.$ac_ext
6880 cat >conftest.$ac_ext <<_ACEOF
6881 #line $LINENO "configure"
6884 cat confdefs.h >>conftest.$ac_ext
6885 cat >>conftest.$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6891 char* tmp; strtold("gnu", &tmp);
6896 rm -f conftest.$ac_objext
6897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6898 (eval $ac_compile) 2>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try='test -s conftest.$ac_objext'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; }; then
6910 echo "$as_me: failed program was:" >&5
6911 sed 's/^/| /' conftest.$ac_ext >&5
6915 rm -f conftest.$ac_objext conftest.$ac_ext
6916 cat >conftest.$ac_ext <<_ACEOF
6917 #line $LINENO "configure"
6920 cat confdefs.h >>conftest.$ac_ext
6921 cat >>conftest.$ac_ext <<_ACEOF
6922 /* end confdefs.h. */
6932 rm -f conftest.$ac_objext
6933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 (eval $ac_compile) 2>&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } &&
6938 { ac_try='test -s conftest.$ac_objext'
6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); }; }; then
6946 echo "$as_me: failed program was:" >&5
6947 sed 's/^/| /' conftest.$ac_ext >&5
6951 rm -f conftest.$ac_objext conftest.$ac_ext
6952 cat >conftest.$ac_ext <<_ACEOF
6953 #line $LINENO "configure"
6956 cat confdefs.h >>conftest.$ac_ext
6957 cat >>conftest.$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6968 rm -f conftest.$ac_objext
6969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6970 (eval $ac_compile) 2>&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try='test -s conftest.$ac_objext'
6975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; }; then
6982 echo "$as_me: failed program was:" >&5
6983 sed 's/^/| /' conftest.$ac_ext >&5
6987 rm -f conftest.$ac_objext conftest.$ac_ext
6988 cat >conftest.$ac_ext <<_ACEOF
6989 #line $LINENO "configure"
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
7004 rm -f conftest.$ac_objext
7005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7006 (eval $ac_compile) 2>&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } &&
7010 { ac_try='test -s conftest.$ac_objext'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; }; then
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.$ac_ext >&5
7023 rm -f conftest.$ac_objext conftest.$ac_ext
7024 cat >conftest.$ac_ext <<_ACEOF
7025 #line $LINENO "configure"
7028 cat confdefs.h >>conftest.$ac_ext
7029 cat >>conftest.$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7040 rm -f conftest.$ac_objext
7041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7042 (eval $ac_compile) 2>&5
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); } &&
7046 { ac_try='test -s conftest.$ac_objext'
7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); }; }; then
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.$ac_ext >&5
7059 rm -f conftest.$ac_objext conftest.$ac_ext
7060 if test x"$ac_c99_lldiv_t" = x"no"; then
7063 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7064 echo "${ECHO_T}$ac_c99_stdlib" >&6
7066 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7067 # XXX the wchar.h checks should be rolled into the general C99 bits.
7069 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7070 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7071 cat >conftest.$ac_ext <<_ACEOF
7072 #line $LINENO "configure"
7075 cat confdefs.h >>conftest.$ac_ext
7076 cat >>conftest.$ac_ext <<_ACEOF
7077 /* end confdefs.h. */
7082 wcstold(L"10.0", NULL);
7087 rm -f conftest.$ac_objext
7088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7089 (eval $ac_compile) 2>&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } &&
7093 { ac_try='test -s conftest.$ac_objext'
7094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); }; }; then
7101 echo "$as_me: failed program was:" >&5
7102 sed 's/^/| /' conftest.$ac_ext >&5
7106 rm -f conftest.$ac_objext conftest.$ac_ext
7107 cat >conftest.$ac_ext <<_ACEOF
7108 #line $LINENO "configure"
7111 cat confdefs.h >>conftest.$ac_ext
7112 cat >>conftest.$ac_ext <<_ACEOF
7113 /* end confdefs.h. */
7118 wcstoll(L"10", NULL, 10);
7123 rm -f conftest.$ac_objext
7124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7125 (eval $ac_compile) 2>&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); } &&
7129 { ac_try='test -s conftest.$ac_objext'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; }; then
7137 echo "$as_me: failed program was:" >&5
7138 sed 's/^/| /' conftest.$ac_ext >&5
7142 rm -f conftest.$ac_objext conftest.$ac_ext
7143 cat >conftest.$ac_ext <<_ACEOF
7144 #line $LINENO "configure"
7147 cat confdefs.h >>conftest.$ac_ext
7148 cat >>conftest.$ac_ext <<_ACEOF
7149 /* end confdefs.h. */
7154 wcstoull(L"10", NULL, 10);
7159 rm -f conftest.$ac_objext
7160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7161 (eval $ac_compile) 2>&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); } &&
7165 { ac_try='test -s conftest.$ac_objext'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; }; then
7173 echo "$as_me: failed program was:" >&5
7174 sed 's/^/| /' conftest.$ac_ext >&5
7178 rm -f conftest.$ac_objext conftest.$ac_ext
7179 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7180 echo "${ECHO_T}$ac_c99_wchar" >&6
7182 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7183 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7184 if test x"$ac_c99_math" = x"no" ||
7185 test x"$ac_c99_stdio" = x"no" ||
7186 test x"$ac_c99_stdlib" = x"no" ||
7187 test x"$ac_c99_wchar" = x"no"; then
7190 echo "$as_me:$LINENO: result: $enable_c99" >&5
7191 echo "${ECHO_T}$enable_c99" >&6
7193 # Option parsed, now set things appropriately
7194 if test x"$enable_c99" = x"yes"; then
7195 cat >>confdefs.h <<\_ACEOF
7196 #define _GLIBCXX_USE_C99 1
7202 ac_cpp='$CPP $CPPFLAGS'
7203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7209 # Check whether --enable-long-long or --disable-long-long was given.
7210 if test "${enable_long_long+set}" = set; then
7211 enableval="$enable_long_long"
7213 case "$enableval" in
7215 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7216 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7217 { (exit 1); exit 1; }; } ;;
7221 enable_long_long=yes
7228 ac_cpp='$CXXCPP $CPPFLAGS'
7229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7234 echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7235 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7236 # iostreams require strtoll, strtoull to compile
7237 cat >conftest.$ac_ext <<_ACEOF
7238 #line $LINENO "configure"
7241 cat confdefs.h >>conftest.$ac_ext
7242 cat >>conftest.$ac_ext <<_ACEOF
7243 /* end confdefs.h. */
7248 char* tmp; strtoll("gnu", &tmp, 10);
7253 rm -f conftest.$ac_objext
7254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7255 (eval $ac_compile) 2>&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); } &&
7259 { ac_try='test -s conftest.$ac_objext'
7260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; }; then
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.$ac_ext >&5
7272 rm -f conftest.$ac_objext conftest.$ac_ext
7273 cat >conftest.$ac_ext <<_ACEOF
7274 #line $LINENO "configure"
7277 cat confdefs.h >>conftest.$ac_ext
7278 cat >>conftest.$ac_ext <<_ACEOF
7279 /* end confdefs.h. */
7284 char* tmp; strtoull("gnu", &tmp, 10);
7289 rm -f conftest.$ac_objext
7290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7291 (eval $ac_compile) 2>&5
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); } &&
7295 { ac_try='test -s conftest.$ac_objext'
7296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); }; }; then
7303 echo "$as_me: failed program was:" >&5
7304 sed 's/^/| /' conftest.$ac_ext >&5
7308 rm -f conftest.$ac_objext conftest.$ac_ext
7310 # Option parsed, now set things appropriately
7311 if test $enable_long_long = yes; then
7312 cat >>confdefs.h <<\_ACEOF
7313 #define _GLIBCXX_USE_LONG_LONG 1
7317 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7318 echo "${ECHO_T}$enable_long_long" >&6
7321 ac_cpp='$CPP $CPPFLAGS'
7322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7328 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7329 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7330 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7331 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7332 echo "${ECHO_T}$target_thread_file" >&6
7334 if test $target_thread_file != single; then
7335 cat >>confdefs.h <<\_ACEOF
7336 #define HAVE_GTHR_DEFAULT 1
7339 cat >>confdefs.h <<\_ACEOF
7340 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7345 glibcxx_thread_h=gthr-$target_thread_file.h
7349 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7350 if test "${enable_concept_checks+set}" = set; then
7351 enableval="$enable_concept_checks"
7353 case "$enableval" in
7355 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7356 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7357 { (exit 1); exit 1; }; } ;;
7361 enable_concept_checks=no
7364 if test $enable_concept_checks = yes; then
7365 cat >>confdefs.h <<\_ACEOF
7366 #define _GLIBCXX_CONCEPT_CHECKS 1
7372 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7373 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7374 enableval="$enable_libstdcxx_debug_flags"
7375 case "x$enable_libstdcxx_debug_flags" in
7376 xno | x) enable_libstdcxx_debug_flags= ;;
7378 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7379 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7380 { (exit 1); exit 1; }; } ;;
7383 enable_libstdcxx_debug_flags="-g3 -O0"
7387 # Option parsed, now set things appropriately
7388 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7391 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7392 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7395 echo "$as_me:$LINENO: checking for additional debug build" >&5
7396 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7397 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7398 if test "${enable_libstdcxx_debug+set}" = set; then
7399 enableval="$enable_libstdcxx_debug"
7401 case "$enableval" in
7403 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7404 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7405 { (exit 1); exit 1; }; } ;;
7409 enable_libstdcxx_debug=no
7412 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7413 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7416 if test $enable_libstdcxx_debug = yes; then
7417 GLIBCXX_BUILD_DEBUG_TRUE=
7418 GLIBCXX_BUILD_DEBUG_FALSE='#'
7420 GLIBCXX_BUILD_DEBUG_TRUE='#'
7421 GLIBCXX_BUILD_DEBUG_FALSE=
7425 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7426 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7427 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7428 if test "${enable_cxx_flags+set}" = set; then
7429 enableval="$enable_cxx_flags"
7430 case "x$enable_cxx_flags" in
7431 xno | x) enable_cxx_flags= ;;
7433 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7434 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7435 { (exit 1); exit 1; }; } ;;
7442 # Run through flags (either default or command-line) and set anything
7443 # extra (e.g., #defines) that must accompany particular g++ options.
7444 if test -n "$enable_cxx_flags"; then
7445 for f in $enable_cxx_flags; do
7449 *) # and we're trying to pass /what/ exactly?
7450 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7451 echo "$as_me: error: compiler flags start with a -" >&2;}
7452 { (exit 1); exit 1; }; } ;;
7457 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7458 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7459 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7463 # No surprises, no surprises...
7464 if test $atomicity_include_dir = cpu/generic ; then
7465 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7466 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7467 if test $target_thread_file = single; then
7468 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7469 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7470 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7471 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7473 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7474 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7475 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7476 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7481 if test "$build" != "$host"; then
7483 # We are being configured with some form of cross compiler.
7484 GLIBCXX_IS_NATIVE=false
7486 # This lets us hard-code the functionality we know we'll have in the cross
7487 # target environment. "Let" is a sugar-coated word placed on an especially
7488 # dull and tedious hack, actually.
7490 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
7491 # that involve linking, can't be used:
7492 # "cannot open sim-crt0.o"
7493 # "cannot open crt0.o"
7494 # etc. All this is because there currently exists no unified, consistent
7495 # way for top level CC information to be passed down to target directories:
7496 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
7497 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
7498 # crosses can be removed.
7500 # If Canadian cross, then don't pick up tools from the build directory.
7501 # Used in GLIBCXX_EXPORT_INCLUDES (and nowhere else?).
7502 if test -n "$with_cross_host" &&
7503 test x"$build" != x"$with_cross_host" &&
7504 test x"$build" != x"$target";
7511 # Construct crosses by hand, eliminating bits that need ld...
7512 # GLIBCXX_CHECK_COMPILER_FEATURES
7513 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
7514 # GLIBCXX_CHECK_MATH_SUPPORT
7516 # First, test for "known" system libraries. We may be using newlib even
7517 # on a hosted environment.
7518 if test "x${with_newlib}" = "xyes"; then
7519 os_include_dir="os/newlib"
7520 cat >>confdefs.h <<\_ACEOF
7521 #define HAVE_HYPOT 1
7525 # GLIBCXX_CHECK_STDLIB_SUPPORT
7526 cat >>confdefs.h <<\_ACEOF
7527 #define HAVE_STRTOF 1
7530 cat >>confdefs.h <<\_ACEOF
7531 #define HAVE_STRTOLD 1
7535 cat >>confdefs.h <<\_ACEOF
7540 cat >>confdefs.h <<\_ACEOF
7541 #define HAVE_ACOSF 1
7544 cat >>confdefs.h <<\_ACEOF
7545 #define HAVE_ASINF 1
7548 cat >>confdefs.h <<\_ACEOF
7549 #define HAVE_ATAN2F 1
7552 cat >>confdefs.h <<\_ACEOF
7553 #define HAVE_ATANF 1
7556 cat >>confdefs.h <<\_ACEOF
7557 #define HAVE_CEILF 1
7560 cat >>confdefs.h <<\_ACEOF
7561 #define HAVE_COPYSIGN 1
7564 cat >>confdefs.h <<\_ACEOF
7565 #define HAVE_COPYSIGNF 1
7568 cat >>confdefs.h <<\_ACEOF
7572 cat >>confdefs.h <<\_ACEOF
7573 #define HAVE_COSHF 1
7576 cat >>confdefs.h <<\_ACEOF
7580 cat >>confdefs.h <<\_ACEOF
7581 #define HAVE_FABSF 1
7584 cat >>confdefs.h <<\_ACEOF
7585 #define HAVE_FLOORF 1
7588 cat >>confdefs.h <<\_ACEOF
7589 #define HAVE_FMODF 1
7592 cat >>confdefs.h <<\_ACEOF
7593 #define HAVE_FREXPF 1
7596 cat >>confdefs.h <<\_ACEOF
7597 #define HAVE_LDEXPF 1
7600 cat >>confdefs.h <<\_ACEOF
7601 #define HAVE_LOG10F 1
7604 cat >>confdefs.h <<\_ACEOF
7608 cat >>confdefs.h <<\_ACEOF
7609 #define HAVE_MODFF 1
7612 cat >>confdefs.h <<\_ACEOF
7616 cat >>confdefs.h <<\_ACEOF
7620 cat >>confdefs.h <<\_ACEOF
7621 #define HAVE_SINHF 1
7624 cat >>confdefs.h <<\_ACEOF
7625 #define HAVE_SQRTF 1
7628 cat >>confdefs.h <<\_ACEOF
7632 cat >>confdefs.h <<\_ACEOF
7633 #define HAVE_TANHF 1
7638 # Base decisions on target environment.
7641 #os_include_dir="os/bsd/freebsd"
7658 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
7659 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7660 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7665 echo "$as_me:$LINENO: checking for $ac_header" >&5
7666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7668 echo $ECHO_N "(cached) $ECHO_C" >&6
7670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7673 # Is the header compilable?
7674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7676 cat >conftest.$ac_ext <<_ACEOF
7677 #line $LINENO "configure"
7680 cat confdefs.h >>conftest.$ac_ext
7681 cat >>conftest.$ac_ext <<_ACEOF
7682 /* end confdefs.h. */
7683 $ac_includes_default
7684 #include <$ac_header>
7686 rm -f conftest.$ac_objext
7687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7688 (eval $ac_compile) 2>&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); } &&
7692 { ac_try='test -s conftest.$ac_objext'
7693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); }; }; then
7698 ac_header_compiler=yes
7700 echo "$as_me: failed program was:" >&5
7701 sed 's/^/| /' conftest.$ac_ext >&5
7703 ac_header_compiler=no
7705 rm -f conftest.$ac_objext conftest.$ac_ext
7706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7707 echo "${ECHO_T}$ac_header_compiler" >&6
7709 # Is the header present?
7710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7712 cat >conftest.$ac_ext <<_ACEOF
7713 #line $LINENO "configure"
7716 cat confdefs.h >>conftest.$ac_ext
7717 cat >>conftest.$ac_ext <<_ACEOF
7718 /* end confdefs.h. */
7719 #include <$ac_header>
7721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7724 grep -v '^ *+' conftest.er1 >conftest.err
7726 cat conftest.err >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); } >/dev/null; then
7729 if test -s conftest.err; then
7730 ac_cpp_err=$ac_c_preproc_warn_flag
7737 if test -z "$ac_cpp_err"; then
7738 ac_header_preproc=yes
7740 echo "$as_me: failed program was:" >&5
7741 sed 's/^/| /' conftest.$ac_ext >&5
7743 ac_header_preproc=no
7745 rm -f conftest.err conftest.$ac_ext
7746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7747 echo "${ECHO_T}$ac_header_preproc" >&6
7749 # So? What about this header?
7750 case $ac_header_compiler:$ac_header_preproc in
7752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7758 ## ------------------------------------ ##
7759 ## Report this to bug-autoconf@gnu.org. ##
7760 ## ------------------------------------ ##
7763 sed "s/^/$as_me: WARNING: /" >&2
7766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7774 ## ------------------------------------ ##
7775 ## Report this to bug-autoconf@gnu.org. ##
7776 ## ------------------------------------ ##
7779 sed "s/^/$as_me: WARNING: /" >&2
7782 echo "$as_me:$LINENO: checking for $ac_header" >&5
7783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6
7787 eval "$as_ac_Header=$ac_header_preproc"
7789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7794 cat >>confdefs.h <<_ACEOF
7795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7802 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7805 # If we're not using GNU ld, then there's no point in even trying these
7806 # tests. Check for that first. We should have already tested for gld
7807 # by now (in libtool), but require it now just to be safe...
7808 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7809 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7813 # The name set by libtool depends on the version of libtool. Shame on us
7814 # for depending on an impl detail, but c'est la vie. Older versions used
7815 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7816 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7817 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7818 # set (hence we're using an older libtool), then set it.
7819 if test x${with_gnu_ld+set} != xset; then
7820 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7821 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7824 with_gnu_ld=$ac_cv_prog_gnu_ld
7828 # Start by getting the version number. I think the libtool test already
7829 # does some of this, but throws away the result.
7831 ldver=`$LD --version 2>/dev/null | head -1 | \
7832 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7834 glibcxx_gnu_ld_version=`echo $ldver | \
7835 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7837 # Set --gc-sections.
7838 if test "$with_gnu_ld" = "notbroken"; then
7839 # GNU ld it is! Joy and bunny rabbits!
7841 # All these tests are for C++; save the language and the compiler flags.
7842 # Need to do this so that g++ won't try to link in libstdc++
7843 ac_test_CFLAGS="${CFLAGS+set}"
7844 ac_save_CFLAGS="$CFLAGS"
7845 CFLAGS='-x c++ -Wl,--gc-sections'
7847 # Check for -Wl,--gc-sections
7848 # XXX This test is broken at the moment, as symbols required for linking
7849 # are now in libsupc++ (not built yet). In addition, this test has
7850 # cored on solaris in the past. In addition, --gc-sections doesn't
7851 # really work at the moment (keeps on discarding used sections, first
7852 # .eh_frame and now some of the glibc sections for iconv).
7853 # Bzzzzt. Thanks for playing, maybe next time.
7854 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7855 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7856 if test "$cross_compiling" = yes; then
7857 ac_sectionLDflags=yes
7859 cat >conftest.$ac_ext <<_ACEOF
7860 #line $LINENO "configure"
7863 cat confdefs.h >>conftest.$ac_ext
7864 cat >>conftest.$ac_ext <<_ACEOF
7865 /* end confdefs.h. */
7875 rm -f conftest$ac_exeext
7876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877 (eval $ac_link) 2>&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); }; }; then
7886 ac_sectionLDflags=yes
7888 echo "$as_me: program exited with status $ac_status" >&5
7889 echo "$as_me: failed program was:" >&5
7890 sed 's/^/| /' conftest.$ac_ext >&5
7893 ac_sectionLDflags=no
7895 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7897 if test "$ac_test_CFLAGS" = set; then
7898 CFLAGS="$ac_save_CFLAGS"
7900 # this is the suspicious part
7903 if test "$ac_sectionLDflags" = "yes"; then
7904 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7906 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7907 echo "${ECHO_T}$ac_sectionLDflags" >&6
7910 # Set linker optimization flags.
7911 if test x"$with_gnu_ld" = x"yes"; then
7912 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7920 echo "$as_me:$LINENO: checking for main in -lm" >&5
7921 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
7922 if test "${ac_cv_lib_m_main+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 ac_check_lib_save_LIBS=$LIBS
7927 cat >conftest.$ac_ext <<_ACEOF
7928 #line $LINENO "configure"
7931 cat confdefs.h >>conftest.$ac_ext
7932 cat >>conftest.$ac_ext <<_ACEOF
7933 /* end confdefs.h. */
7944 rm -f conftest.$ac_objext conftest$ac_exeext
7945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7946 (eval $ac_link) 2>&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } &&
7950 { ac_try='test -s conftest$ac_exeext'
7951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); }; }; then
7956 ac_cv_lib_m_main=yes
7958 echo "$as_me: failed program was:" >&5
7959 sed 's/^/| /' conftest.$ac_ext >&5
7963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7964 LIBS=$ac_check_lib_save_LIBS
7966 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
7967 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
7968 if test $ac_cv_lib_m_main = yes; then
7969 cat >>confdefs.h <<_ACEOF
7979 for ac_func in nan copysignf
7981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7982 echo "$as_me:$LINENO: checking for $ac_func" >&5
7983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7984 if eval "test \"\${$as_ac_var+set}\" = set"; then
7985 echo $ECHO_N "(cached) $ECHO_C" >&6
7987 cat >conftest.$ac_ext <<_ACEOF
7988 #line $LINENO "configure"
7991 cat confdefs.h >>conftest.$ac_ext
7992 cat >>conftest.$ac_ext <<_ACEOF
7993 /* end confdefs.h. */
7994 /* System header to define __stub macros and hopefully few prototypes,
7995 which can conflict with char $ac_func (); below.
7996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7997 <limits.h> exists even on freestanding compilers. */
7999 # include <limits.h>
8001 # include <assert.h>
8003 /* Override any gcc2 internal prototype to avoid an error. */
8008 /* We use char because int might match the return type of a gcc2
8009 builtin and then its argument prototype would still apply. */
8011 /* The GNU C library defines this for functions which it implements
8012 to always fail with ENOSYS. Some functions are actually named
8013 something starting with __ and the normal name is an alias. */
8014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8017 char (*f) () = $ac_func;
8026 return f != $ac_func;
8031 rm -f conftest.$ac_objext conftest$ac_exeext
8032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8033 (eval $ac_link) 2>&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } &&
8037 { ac_try='test -s conftest$ac_exeext'
8038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); }; }; then
8043 eval "$as_ac_var=yes"
8045 echo "$as_me: failed program was:" >&5
8046 sed 's/^/| /' conftest.$ac_ext >&5
8048 eval "$as_ac_var=no"
8050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8054 if test `eval echo '${'$as_ac_var'}'` = yes; then
8055 cat >>confdefs.h <<_ACEOF
8056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8060 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8066 for ac_func in __signbit
8068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8069 echo "$as_me:$LINENO: checking for $ac_func" >&5
8070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8071 if eval "test \"\${$as_ac_var+set}\" = set"; then
8072 echo $ECHO_N "(cached) $ECHO_C" >&6
8074 cat >conftest.$ac_ext <<_ACEOF
8075 #line $LINENO "configure"
8078 cat confdefs.h >>conftest.$ac_ext
8079 cat >>conftest.$ac_ext <<_ACEOF
8080 /* end confdefs.h. */
8081 /* System header to define __stub macros and hopefully few prototypes,
8082 which can conflict with char $ac_func (); below.
8083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8084 <limits.h> exists even on freestanding compilers. */
8086 # include <limits.h>
8088 # include <assert.h>
8090 /* Override any gcc2 internal prototype to avoid an error. */
8095 /* We use char because int might match the return type of a gcc2
8096 builtin and then its argument prototype would still apply. */
8098 /* The GNU C library defines this for functions which it implements
8099 to always fail with ENOSYS. Some functions are actually named
8100 something starting with __ and the normal name is an alias. */
8101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8104 char (*f) () = $ac_func;
8113 return f != $ac_func;
8118 rm -f conftest.$ac_objext conftest$ac_exeext
8119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8120 (eval $ac_link) 2>&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } &&
8124 { ac_try='test -s conftest$ac_exeext'
8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); }; }; then
8130 eval "$as_ac_var=yes"
8132 echo "$as_me: failed program was:" >&5
8133 sed 's/^/| /' conftest.$ac_ext >&5
8135 eval "$as_ac_var=no"
8137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8141 if test `eval echo '${'$as_ac_var'}'` = yes; then
8142 cat >>confdefs.h <<_ACEOF
8143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8147 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8152 for ac_func in __signbitf
8154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8155 echo "$as_me:$LINENO: checking for $ac_func" >&5
8156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8157 if eval "test \"\${$as_ac_var+set}\" = set"; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 cat >conftest.$ac_ext <<_ACEOF
8161 #line $LINENO "configure"
8164 cat confdefs.h >>conftest.$ac_ext
8165 cat >>conftest.$ac_ext <<_ACEOF
8166 /* end confdefs.h. */
8167 /* System header to define __stub macros and hopefully few prototypes,
8168 which can conflict with char $ac_func (); below.
8169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8170 <limits.h> exists even on freestanding compilers. */
8172 # include <limits.h>
8174 # include <assert.h>
8176 /* Override any gcc2 internal prototype to avoid an error. */
8181 /* We use char because int might match the return type of a gcc2
8182 builtin and then its argument prototype would still apply. */
8184 /* The GNU C library defines this for functions which it implements
8185 to always fail with ENOSYS. Some functions are actually named
8186 something starting with __ and the normal name is an alias. */
8187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8190 char (*f) () = $ac_func;
8199 return f != $ac_func;
8204 rm -f conftest.$ac_objext conftest$ac_exeext
8205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8206 (eval $ac_link) 2>&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); } &&
8210 { ac_try='test -s conftest$ac_exeext'
8211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); }; }; then
8216 eval "$as_ac_var=yes"
8218 echo "$as_me: failed program was:" >&5
8219 sed 's/^/| /' conftest.$ac_ext >&5
8221 eval "$as_ac_var=no"
8223 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8227 if test `eval echo '${'$as_ac_var'}'` = yes; then
8228 cat >>confdefs.h <<_ACEOF
8229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8233 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8238 if test x$ac_cv_func_copysignl = x"yes"; then
8240 for ac_func in __signbitl
8242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8243 echo "$as_me:$LINENO: checking for $ac_func" >&5
8244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8245 if eval "test \"\${$as_ac_var+set}\" = set"; then
8246 echo $ECHO_N "(cached) $ECHO_C" >&6
8248 cat >conftest.$ac_ext <<_ACEOF
8249 #line $LINENO "configure"
8252 cat confdefs.h >>conftest.$ac_ext
8253 cat >>conftest.$ac_ext <<_ACEOF
8254 /* end confdefs.h. */
8255 /* System header to define __stub macros and hopefully few prototypes,
8256 which can conflict with char $ac_func (); below.
8257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8258 <limits.h> exists even on freestanding compilers. */
8260 # include <limits.h>
8262 # include <assert.h>
8264 /* Override any gcc2 internal prototype to avoid an error. */
8269 /* We use char because int might match the return type of a gcc2
8270 builtin and then its argument prototype would still apply. */
8272 /* The GNU C library defines this for functions which it implements
8273 to always fail with ENOSYS. Some functions are actually named
8274 something starting with __ and the normal name is an alias. */
8275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8278 char (*f) () = $ac_func;
8287 return f != $ac_func;
8292 rm -f conftest.$ac_objext conftest$ac_exeext
8293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8294 (eval $ac_link) 2>&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); } &&
8298 { ac_try='test -s conftest$ac_exeext'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; }; then
8304 eval "$as_ac_var=yes"
8306 echo "$as_me: failed program was:" >&5
8307 sed 's/^/| /' conftest.$ac_ext >&5
8309 eval "$as_ac_var=no"
8311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8315 if test `eval echo '${'$as_ac_var'}'` = yes; then
8316 cat >>confdefs.h <<_ACEOF
8317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8321 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8327 if test -n "$LIBMATHOBJS"; then
8333 # Test wchar.h for mbstate_t, which is needed for char_traits and
8334 # others even if wchar_t support is not on.
8335 echo "$as_me:$LINENO: checking for mbstate_t" >&5
8336 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
8337 cat >conftest.$ac_ext <<_ACEOF
8338 #line $LINENO "configure"
8341 cat confdefs.h >>conftest.$ac_ext
8342 cat >>conftest.$ac_ext <<_ACEOF
8343 /* end confdefs.h. */
8348 mbstate_t teststate;
8353 rm -f conftest.$ac_objext
8354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8355 (eval $ac_compile) 2>&5
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); } &&
8359 { ac_try='test -s conftest.$ac_objext'
8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); }; }; then
8367 echo "$as_me: failed program was:" >&5
8368 sed 's/^/| /' conftest.$ac_ext >&5
8372 rm -f conftest.$ac_objext conftest.$ac_ext
8373 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
8374 echo "${ECHO_T}$have_mbstate_t" >&6
8375 if test x"$have_mbstate_t" = xyes; then
8376 cat >>confdefs.h <<\_ACEOF
8377 #define HAVE_MBSTATE_T 1
8382 # Sanity check for existence of ISO C99 headers for extended encoding.
8384 for ac_header in wchar.h
8386 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8388 echo "$as_me:$LINENO: checking for $ac_header" >&5
8389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8391 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8396 # Is the header compilable?
8397 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8398 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8399 cat >conftest.$ac_ext <<_ACEOF
8400 #line $LINENO "configure"
8403 cat confdefs.h >>conftest.$ac_ext
8404 cat >>conftest.$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8406 $ac_includes_default
8407 #include <$ac_header>
8409 rm -f conftest.$ac_objext
8410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8411 (eval $ac_compile) 2>&5
8413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8414 (exit $ac_status); } &&
8415 { ac_try='test -s conftest.$ac_objext'
8416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); }; }; then
8421 ac_header_compiler=yes
8423 echo "$as_me: failed program was:" >&5
8424 sed 's/^/| /' conftest.$ac_ext >&5
8426 ac_header_compiler=no
8428 rm -f conftest.$ac_objext conftest.$ac_ext
8429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8430 echo "${ECHO_T}$ac_header_compiler" >&6
8432 # Is the header present?
8433 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8435 cat >conftest.$ac_ext <<_ACEOF
8436 #line $LINENO "configure"
8439 cat confdefs.h >>conftest.$ac_ext
8440 cat >>conftest.$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8442 #include <$ac_header>
8444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8447 grep -v '^ *+' conftest.er1 >conftest.err
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } >/dev/null; then
8452 if test -s conftest.err; then
8453 ac_cpp_err=$ac_c_preproc_warn_flag
8460 if test -z "$ac_cpp_err"; then
8461 ac_header_preproc=yes
8463 echo "$as_me: failed program was:" >&5
8464 sed 's/^/| /' conftest.$ac_ext >&5
8466 ac_header_preproc=no
8468 rm -f conftest.err conftest.$ac_ext
8469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8470 echo "${ECHO_T}$ac_header_preproc" >&6
8472 # So? What about this header?
8473 case $ac_header_compiler:$ac_header_preproc in
8475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8481 ## ------------------------------------ ##
8482 ## Report this to bug-autoconf@gnu.org. ##
8483 ## ------------------------------------ ##
8486 sed "s/^/$as_me: WARNING: /" >&2
8489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8497 ## ------------------------------------ ##
8498 ## Report this to bug-autoconf@gnu.org. ##
8499 ## ------------------------------------ ##
8502 sed "s/^/$as_me: WARNING: /" >&2
8505 echo "$as_me:$LINENO: checking for $ac_header" >&5
8506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8508 echo $ECHO_N "(cached) $ECHO_C" >&6
8510 eval "$as_ac_Header=$ac_header_preproc"
8512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8517 cat >>confdefs.h <<_ACEOF
8518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8528 for ac_header in wctype.h
8530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8532 echo "$as_me:$LINENO: checking for $ac_header" >&5
8533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8540 # Is the header compilable?
8541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8543 cat >conftest.$ac_ext <<_ACEOF
8544 #line $LINENO "configure"
8547 cat confdefs.h >>conftest.$ac_ext
8548 cat >>conftest.$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8550 $ac_includes_default
8551 #include <$ac_header>
8553 rm -f conftest.$ac_objext
8554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8555 (eval $ac_compile) 2>&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } &&
8559 { ac_try='test -s conftest.$ac_objext'
8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); }; }; then
8565 ac_header_compiler=yes
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.$ac_ext >&5
8570 ac_header_compiler=no
8572 rm -f conftest.$ac_objext conftest.$ac_ext
8573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8574 echo "${ECHO_T}$ac_header_compiler" >&6
8576 # Is the header present?
8577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8579 cat >conftest.$ac_ext <<_ACEOF
8580 #line $LINENO "configure"
8583 cat confdefs.h >>conftest.$ac_ext
8584 cat >>conftest.$ac_ext <<_ACEOF
8585 /* end confdefs.h. */
8586 #include <$ac_header>
8588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8591 grep -v '^ *+' conftest.er1 >conftest.err
8593 cat conftest.err >&5
8594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595 (exit $ac_status); } >/dev/null; then
8596 if test -s conftest.err; then
8597 ac_cpp_err=$ac_c_preproc_warn_flag
8604 if test -z "$ac_cpp_err"; then
8605 ac_header_preproc=yes
8607 echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8610 ac_header_preproc=no
8612 rm -f conftest.err conftest.$ac_ext
8613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8614 echo "${ECHO_T}$ac_header_preproc" >&6
8616 # So? What about this header?
8617 case $ac_header_compiler:$ac_header_preproc in
8619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8625 ## ------------------------------------ ##
8626 ## Report this to bug-autoconf@gnu.org. ##
8627 ## ------------------------------------ ##
8630 sed "s/^/$as_me: WARNING: /" >&2
8633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8641 ## ------------------------------------ ##
8642 ## Report this to bug-autoconf@gnu.org. ##
8643 ## ------------------------------------ ##
8646 sed "s/^/$as_me: WARNING: /" >&2
8649 echo "$as_me:$LINENO: checking for $ac_header" >&5
8650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8652 echo $ECHO_N "(cached) $ECHO_C" >&6
8654 eval "$as_ac_Header=$ac_header_preproc"
8656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8661 cat >>confdefs.h <<_ACEOF
8662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8672 # Only continue checking if the ISO C99 headers exist and support is on.
8673 if test x"$ac_has_wchar_h" = xyes &&
8674 test x"$ac_has_wctype_h" = xyes &&
8675 test x"$enable_c_mbchar" != xno; then
8677 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
8678 # numeric_limits can instantiate type_traits<wchar_t>
8679 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
8680 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
8681 cat >conftest.$ac_ext <<_ACEOF
8682 #line $LINENO "configure"
8685 cat confdefs.h >>conftest.$ac_ext
8686 cat >>conftest.$ac_ext <<_ACEOF
8687 /* end confdefs.h. */
8692 int i = WCHAR_MIN; int j = WCHAR_MAX;
8697 rm -f conftest.$ac_objext
8698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8699 (eval $ac_compile) 2>&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); } &&
8703 { ac_try='test -s conftest.$ac_objext'
8704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); }; }; then
8709 has_wchar_minmax=yes
8711 echo "$as_me: failed program was:" >&5
8712 sed 's/^/| /' conftest.$ac_ext >&5
8716 rm -f conftest.$ac_objext conftest.$ac_ext
8717 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
8718 echo "${ECHO_T}$has_wchar_minmax" >&6
8720 # Test wchar.h for WEOF, which is what we use to determine whether
8721 # to specialize for char_traits<wchar_t> or not.
8722 echo "$as_me:$LINENO: checking for WEOF" >&5
8723 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
8724 cat >conftest.$ac_ext <<_ACEOF
8725 #line $LINENO "configure"
8728 cat confdefs.h >>conftest.$ac_ext
8729 cat >>conftest.$ac_ext <<_ACEOF
8730 /* end confdefs.h. */
8742 rm -f conftest.$ac_objext
8743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8744 (eval $ac_compile) 2>&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } &&
8748 { ac_try='test -s conftest.$ac_objext'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; }; then
8756 echo "$as_me: failed program was:" >&5
8757 sed 's/^/| /' conftest.$ac_ext >&5
8761 rm -f conftest.$ac_objext conftest.$ac_ext
8762 echo "$as_me:$LINENO: result: $has_weof" >&5
8763 echo "${ECHO_T}$has_weof" >&6
8765 # Tests for wide character functions used in char_traits<wchar_t>.
8773 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8776 echo "$as_me:$LINENO: checking for $ac_func" >&5
8777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8778 if eval "test \"\${$as_ac_var+set}\" = set"; then
8779 echo $ECHO_N "(cached) $ECHO_C" >&6
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
8859 # Checks for names injected into std:: by the c_std headers.
8910 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8911 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8912 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8913 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8914 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8915 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8918 echo "$as_me:$LINENO: checking for $ac_func" >&5
8919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8920 if eval "test \"\${$as_ac_var+set}\" = set"; then
8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8923 cat >conftest.$ac_ext <<_ACEOF
8924 #line $LINENO "configure"
8927 cat confdefs.h >>conftest.$ac_ext
8928 cat >>conftest.$ac_ext <<_ACEOF
8929 /* end confdefs.h. */
8930 /* System header to define __stub macros and hopefully few prototypes,
8931 which can conflict with char $ac_func (); below.
8932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8933 <limits.h> exists even on freestanding compilers. */
8935 # include <limits.h>
8937 # include <assert.h>
8939 /* Override any gcc2 internal prototype to avoid an error. */
8944 /* We use char because int might match the return type of a gcc2
8945 builtin and then its argument prototype would still apply. */
8947 /* The GNU C library defines this for functions which it implements
8948 to always fail with ENOSYS. Some functions are actually named
8949 something starting with __ and the normal name is an alias. */
8950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8953 char (*f) () = $ac_func;
8962 return f != $ac_func;
8967 rm -f conftest.$ac_objext conftest$ac_exeext
8968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8969 (eval $ac_link) 2>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try='test -s conftest$ac_exeext'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; }; then
8979 eval "$as_ac_var=yes"
8981 echo "$as_me: failed program was:" >&5
8982 sed 's/^/| /' conftest.$ac_ext >&5
8984 eval "$as_ac_var=no"
8986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8990 if test `eval echo '${'$as_ac_var'}'` = yes; then
8991 cat >>confdefs.h <<_ACEOF
8992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9001 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
9002 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
9003 if test x"$has_weof" = xyes &&
9004 test x"$has_wchar_minmax" = xyes &&
9005 test x"$ac_wfuncs" = xyes;
9007 ac_isoC99_wchar_t=yes
9009 ac_isoC99_wchar_t=no
9011 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
9012 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
9014 # Use iconv for wchar_t to char conversions. As such, check for
9015 # X/Open Portability Guide, version 2 features (XPG2).
9016 if test "${ac_cv_header_iconv_h+set}" = set; then
9017 echo "$as_me:$LINENO: checking for iconv.h" >&5
9018 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
9019 if test "${ac_cv_header_iconv_h+set}" = set; then
9020 echo $ECHO_N "(cached) $ECHO_C" >&6
9022 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
9023 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
9025 # Is the header compilable?
9026 echo "$as_me:$LINENO: checking iconv.h usability" >&5
9027 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
9028 cat >conftest.$ac_ext <<_ACEOF
9029 #line $LINENO "configure"
9032 cat confdefs.h >>conftest.$ac_ext
9033 cat >>conftest.$ac_ext <<_ACEOF
9034 /* end confdefs.h. */
9035 $ac_includes_default
9038 rm -f conftest.$ac_objext
9039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9040 (eval $ac_compile) 2>&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); } &&
9044 { ac_try='test -s conftest.$ac_objext'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; }; then
9050 ac_header_compiler=yes
9052 echo "$as_me: failed program was:" >&5
9053 sed 's/^/| /' conftest.$ac_ext >&5
9055 ac_header_compiler=no
9057 rm -f conftest.$ac_objext conftest.$ac_ext
9058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9059 echo "${ECHO_T}$ac_header_compiler" >&6
9061 # Is the header present?
9062 echo "$as_me:$LINENO: checking iconv.h presence" >&5
9063 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
9064 cat >conftest.$ac_ext <<_ACEOF
9065 #line $LINENO "configure"
9068 cat confdefs.h >>conftest.$ac_ext
9069 cat >>conftest.$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9076 grep -v '^ *+' conftest.er1 >conftest.err
9078 cat conftest.err >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); } >/dev/null; then
9081 if test -s conftest.err; then
9082 ac_cpp_err=$ac_c_preproc_warn_flag
9089 if test -z "$ac_cpp_err"; then
9090 ac_header_preproc=yes
9092 echo "$as_me: failed program was:" >&5
9093 sed 's/^/| /' conftest.$ac_ext >&5
9095 ac_header_preproc=no
9097 rm -f conftest.err conftest.$ac_ext
9098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9099 echo "${ECHO_T}$ac_header_preproc" >&6
9101 # So? What about this header?
9102 case $ac_header_compiler:$ac_header_preproc in
9104 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
9105 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9106 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
9107 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
9110 ## ------------------------------------ ##
9111 ## Report this to bug-autoconf@gnu.org. ##
9112 ## ------------------------------------ ##
9115 sed "s/^/$as_me: WARNING: /" >&2
9118 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
9119 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
9120 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
9121 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
9122 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
9123 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
9126 ## ------------------------------------ ##
9127 ## Report this to bug-autoconf@gnu.org. ##
9128 ## ------------------------------------ ##
9131 sed "s/^/$as_me: WARNING: /" >&2
9134 echo "$as_me:$LINENO: checking for iconv.h" >&5
9135 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
9136 if test "${ac_cv_header_iconv_h+set}" = set; then
9137 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 ac_cv_header_iconv_h=$ac_header_preproc
9141 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
9142 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
9145 if test $ac_cv_header_iconv_h = yes; then
9152 if test "${ac_cv_header_langinfo_h+set}" = set; then
9153 echo "$as_me:$LINENO: checking for langinfo.h" >&5
9154 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
9155 if test "${ac_cv_header_langinfo_h+set}" = set; then
9156 echo $ECHO_N "(cached) $ECHO_C" >&6
9158 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
9159 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
9161 # Is the header compilable?
9162 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
9163 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
9164 cat >conftest.$ac_ext <<_ACEOF
9165 #line $LINENO "configure"
9168 cat confdefs.h >>conftest.$ac_ext
9169 cat >>conftest.$ac_ext <<_ACEOF
9170 /* end confdefs.h. */
9171 $ac_includes_default
9172 #include <langinfo.h>
9174 rm -f conftest.$ac_objext
9175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9176 (eval $ac_compile) 2>&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try='test -s conftest.$ac_objext'
9181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185 (exit $ac_status); }; }; then
9186 ac_header_compiler=yes
9188 echo "$as_me: failed program was:" >&5
9189 sed 's/^/| /' conftest.$ac_ext >&5
9191 ac_header_compiler=no
9193 rm -f conftest.$ac_objext conftest.$ac_ext
9194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9195 echo "${ECHO_T}$ac_header_compiler" >&6
9197 # Is the header present?
9198 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
9199 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
9200 cat >conftest.$ac_ext <<_ACEOF
9201 #line $LINENO "configure"
9204 cat confdefs.h >>conftest.$ac_ext
9205 cat >>conftest.$ac_ext <<_ACEOF
9206 /* end confdefs.h. */
9207 #include <langinfo.h>
9209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9212 grep -v '^ *+' conftest.er1 >conftest.err
9214 cat conftest.err >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } >/dev/null; then
9217 if test -s conftest.err; then
9218 ac_cpp_err=$ac_c_preproc_warn_flag
9225 if test -z "$ac_cpp_err"; then
9226 ac_header_preproc=yes
9228 echo "$as_me: failed program was:" >&5
9229 sed 's/^/| /' conftest.$ac_ext >&5
9231 ac_header_preproc=no
9233 rm -f conftest.err conftest.$ac_ext
9234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9235 echo "${ECHO_T}$ac_header_preproc" >&6
9237 # So? What about this header?
9238 case $ac_header_compiler:$ac_header_preproc in
9240 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
9241 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9242 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
9243 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
9246 ## ------------------------------------ ##
9247 ## Report this to bug-autoconf@gnu.org. ##
9248 ## ------------------------------------ ##
9251 sed "s/^/$as_me: WARNING: /" >&2
9254 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
9255 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
9256 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
9257 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
9258 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
9259 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
9262 ## ------------------------------------ ##
9263 ## Report this to bug-autoconf@gnu.org. ##
9264 ## ------------------------------------ ##
9267 sed "s/^/$as_me: WARNING: /" >&2
9270 echo "$as_me:$LINENO: checking for langinfo.h" >&5
9271 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
9272 if test "${ac_cv_header_langinfo_h+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 ac_cv_header_langinfo_h=$ac_header_preproc
9277 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
9278 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
9281 if test $ac_cv_header_langinfo_h = yes; then
9282 ac_has_langinfo_h=yes
9284 ac_has_langinfo_h=no
9289 # Check for existence of libiconv.a providing XPG2 wchar_t support.
9290 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
9291 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
9292 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9295 ac_check_lib_save_LIBS=$LIBS
9296 LIBS="-liconv $LIBS"
9297 cat >conftest.$ac_ext <<_ACEOF
9298 #line $LINENO "configure"
9301 cat confdefs.h >>conftest.$ac_ext
9302 cat >>conftest.$ac_ext <<_ACEOF
9303 /* end confdefs.h. */
9305 /* Override any gcc2 internal prototype to avoid an error. */
9309 /* We use char because int might match the return type of a gcc2
9310 builtin and then its argument prototype would still apply. */
9320 rm -f conftest.$ac_objext conftest$ac_exeext
9321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9322 (eval $ac_link) 2>&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); } &&
9326 { ac_try='test -s conftest$ac_exeext'
9327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); }; }; then
9332 ac_cv_lib_iconv_iconv=yes
9334 echo "$as_me: failed program was:" >&5
9335 sed 's/^/| /' conftest.$ac_ext >&5
9337 ac_cv_lib_iconv_iconv=no
9339 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9340 LIBS=$ac_check_lib_save_LIBS
9342 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
9343 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
9344 if test $ac_cv_lib_iconv_iconv = yes; then
9348 ac_save_LIBS="$LIBS"
9349 LIBS="$LIBS $libiconv"
9355 for ac_func in iconv_open iconv_close iconv nl_langinfo
9357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9358 echo "$as_me:$LINENO: checking for $ac_func" >&5
9359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9360 if eval "test \"\${$as_ac_var+set}\" = set"; then
9361 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 cat >conftest.$ac_ext <<_ACEOF
9364 #line $LINENO "configure"
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9370 /* System header to define __stub macros and hopefully few prototypes,
9371 which can conflict with char $ac_func (); below.
9372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9373 <limits.h> exists even on freestanding compilers. */
9375 # include <limits.h>
9377 # include <assert.h>
9379 /* Override any gcc2 internal prototype to avoid an error. */
9384 /* We use char because int might match the return type of a gcc2
9385 builtin and then its argument prototype would still apply. */
9387 /* The GNU C library defines this for functions which it implements
9388 to always fail with ENOSYS. Some functions are actually named
9389 something starting with __ and the normal name is an alias. */
9390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9393 char (*f) () = $ac_func;
9402 return f != $ac_func;
9407 rm -f conftest.$ac_objext conftest$ac_exeext
9408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9409 (eval $ac_link) 2>&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); } &&
9413 { ac_try='test -s conftest$ac_exeext'
9414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); }; }; then
9419 eval "$as_ac_var=yes"
9421 echo "$as_me: failed program was:" >&5
9422 sed 's/^/| /' conftest.$ac_ext >&5
9424 eval "$as_ac_var=no"
9426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9430 if test `eval echo '${'$as_ac_var'}'` = yes; then
9431 cat >>confdefs.h <<_ACEOF
9432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9441 LIBS="$ac_save_LIBS"
9443 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
9444 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
9445 if test x"$ac_has_iconv_h" = xyes &&
9446 test x"$ac_has_langinfo_h" = xyes &&
9447 test x"$ac_XPG2funcs" = xyes;
9453 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
9454 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
9456 # At the moment, only enable wchar_t specializations if all the
9457 # above support is present.
9458 if test x"$ac_isoC99_wchar_t" = xyes &&
9459 test x"$ac_XPG2_wchar_t" = xyes;
9461 cat >>confdefs.h <<\_ACEOF
9462 #define _GLIBCXX_USE_WCHAR_T 1
9468 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
9469 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
9470 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
9471 echo "${ECHO_T}$enable_wchar_t" >&6
9473 cat >>confdefs.h <<\_ACEOF
9474 #define HAVE_LC_MESSAGES 1
9477 cat >>confdefs.h <<\_ACEOF
9478 #define HAVE_DRAND48 1
9481 cat >>confdefs.h <<\_ACEOF
9482 #define HAVE_GETPAGESIZE 1
9485 cat >>confdefs.h <<\_ACEOF
9486 #define HAVE_SETENV 1
9489 cat >>confdefs.h <<\_ACEOF
9490 #define HAVE_SIGSETJMP 1
9493 cat >>confdefs.h <<\_ACEOF
9494 #define HAVE_COPYSIGN 1
9497 cat >>confdefs.h <<\_ACEOF
9498 #define HAVE_COPYSIGNF 1
9501 cat >>confdefs.h <<\_ACEOF
9502 #define HAVE_FINITEF 1
9505 cat >>confdefs.h <<\_ACEOF
9506 #define HAVE_FINITE 1
9509 cat >>confdefs.h <<\_ACEOF
9510 #define HAVE_FREXPF 1
9513 cat >>confdefs.h <<\_ACEOF
9514 #define HAVE_HYPOT 1
9517 cat >>confdefs.h <<\_ACEOF
9518 #define HAVE_HYPOTF 1
9521 cat >>confdefs.h <<\_ACEOF
9522 #define HAVE_ISINF 1
9525 cat >>confdefs.h <<\_ACEOF
9526 #define HAVE_ISNAN 1
9529 cat >>confdefs.h <<\_ACEOF
9530 #define HAVE_ISNANF 1
9534 cat >>confdefs.h <<\_ACEOF
9538 cat >>confdefs.h <<\_ACEOF
9539 #define HAVE_ACOSF 1
9542 cat >>confdefs.h <<\_ACEOF
9543 #define HAVE_ASINF 1
9546 cat >>confdefs.h <<\_ACEOF
9547 #define HAVE_ATAN2F 1
9550 cat >>confdefs.h <<\_ACEOF
9551 #define HAVE_ATANF 1
9554 cat >>confdefs.h <<\_ACEOF
9555 #define HAVE_CEILF 1
9558 cat >>confdefs.h <<\_ACEOF
9559 #define HAVE_COPYSIGN 1
9562 cat >>confdefs.h <<\_ACEOF
9563 #define HAVE_COPYSIGNF 1
9566 cat >>confdefs.h <<\_ACEOF
9570 cat >>confdefs.h <<\_ACEOF
9571 #define HAVE_COSHF 1
9574 cat >>confdefs.h <<\_ACEOF
9578 cat >>confdefs.h <<\_ACEOF
9579 #define HAVE_FABSF 1
9582 cat >>confdefs.h <<\_ACEOF
9583 #define HAVE_FLOORF 1
9586 cat >>confdefs.h <<\_ACEOF
9587 #define HAVE_FMODF 1
9590 cat >>confdefs.h <<\_ACEOF
9591 #define HAVE_FREXPF 1
9594 cat >>confdefs.h <<\_ACEOF
9595 #define HAVE_LDEXPF 1
9598 cat >>confdefs.h <<\_ACEOF
9599 #define HAVE_LOG10F 1
9602 cat >>confdefs.h <<\_ACEOF
9606 cat >>confdefs.h <<\_ACEOF
9607 #define HAVE_MODFF 1
9610 cat >>confdefs.h <<\_ACEOF
9614 cat >>confdefs.h <<\_ACEOF
9618 cat >>confdefs.h <<\_ACEOF
9619 #define HAVE_SINHF 1
9622 cat >>confdefs.h <<\_ACEOF
9623 #define HAVE_SQRTF 1
9626 cat >>confdefs.h <<\_ACEOF
9630 cat >>confdefs.h <<\_ACEOF
9631 #define HAVE_TANHF 1
9634 if test x"long_double_math_on_this_cpu" = x"yes"; then
9635 cat >>confdefs.h <<\_ACEOF
9636 #define HAVE_FINITEL 1
9639 cat >>confdefs.h <<\_ACEOF
9640 #define HAVE_ISINFL 1
9643 cat >>confdefs.h <<\_ACEOF
9644 #define HAVE_ISNANL 1
9650 #os_include_dir="os/hpux"
9663 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
9664 machine/endian.h machine/param.h sys/machine.h sys/types.h \
9665 fp.h locale.h float.h inttypes.h
9667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9669 echo "$as_me:$LINENO: checking for $ac_header" >&5
9670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9677 # Is the header compilable?
9678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9680 cat >conftest.$ac_ext <<_ACEOF
9681 #line $LINENO "configure"
9684 cat confdefs.h >>conftest.$ac_ext
9685 cat >>conftest.$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9687 $ac_includes_default
9688 #include <$ac_header>
9690 rm -f conftest.$ac_objext
9691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9692 (eval $ac_compile) 2>&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } &&
9696 { ac_try='test -s conftest.$ac_objext'
9697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); }; }; then
9702 ac_header_compiler=yes
9704 echo "$as_me: failed program was:" >&5
9705 sed 's/^/| /' conftest.$ac_ext >&5
9707 ac_header_compiler=no
9709 rm -f conftest.$ac_objext conftest.$ac_ext
9710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9711 echo "${ECHO_T}$ac_header_compiler" >&6
9713 # Is the header present?
9714 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9715 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9716 cat >conftest.$ac_ext <<_ACEOF
9717 #line $LINENO "configure"
9720 cat confdefs.h >>conftest.$ac_ext
9721 cat >>conftest.$ac_ext <<_ACEOF
9722 /* end confdefs.h. */
9723 #include <$ac_header>
9725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9728 grep -v '^ *+' conftest.er1 >conftest.err
9730 cat conftest.err >&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); } >/dev/null; then
9733 if test -s conftest.err; then
9734 ac_cpp_err=$ac_c_preproc_warn_flag
9741 if test -z "$ac_cpp_err"; then
9742 ac_header_preproc=yes
9744 echo "$as_me: failed program was:" >&5
9745 sed 's/^/| /' conftest.$ac_ext >&5
9747 ac_header_preproc=no
9749 rm -f conftest.err conftest.$ac_ext
9750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9751 echo "${ECHO_T}$ac_header_preproc" >&6
9753 # So? What about this header?
9754 case $ac_header_compiler:$ac_header_preproc in
9756 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9757 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9762 ## ------------------------------------ ##
9763 ## Report this to bug-autoconf@gnu.org. ##
9764 ## ------------------------------------ ##
9767 sed "s/^/$as_me: WARNING: /" >&2
9770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9778 ## ------------------------------------ ##
9779 ## Report this to bug-autoconf@gnu.org. ##
9780 ## ------------------------------------ ##
9783 sed "s/^/$as_me: WARNING: /" >&2
9786 echo "$as_me:$LINENO: checking for $ac_header" >&5
9787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9789 echo $ECHO_N "(cached) $ECHO_C" >&6
9791 eval "$as_ac_Header=$ac_header_preproc"
9793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9798 cat >>confdefs.h <<_ACEOF
9799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9806 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9809 # If we're not using GNU ld, then there's no point in even trying these
9810 # tests. Check for that first. We should have already tested for gld
9811 # by now (in libtool), but require it now just to be safe...
9812 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9813 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9817 # The name set by libtool depends on the version of libtool. Shame on us
9818 # for depending on an impl detail, but c'est la vie. Older versions used
9819 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9820 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9821 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9822 # set (hence we're using an older libtool), then set it.
9823 if test x${with_gnu_ld+set} != xset; then
9824 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9825 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9828 with_gnu_ld=$ac_cv_prog_gnu_ld
9832 # Start by getting the version number. I think the libtool test already
9833 # does some of this, but throws away the result.
9835 ldver=`$LD --version 2>/dev/null | head -1 | \
9836 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9838 glibcxx_gnu_ld_version=`echo $ldver | \
9839 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9841 # Set --gc-sections.
9842 if test "$with_gnu_ld" = "notbroken"; then
9843 # GNU ld it is! Joy and bunny rabbits!
9845 # All these tests are for C++; save the language and the compiler flags.
9846 # Need to do this so that g++ won't try to link in libstdc++
9847 ac_test_CFLAGS="${CFLAGS+set}"
9848 ac_save_CFLAGS="$CFLAGS"
9849 CFLAGS='-x c++ -Wl,--gc-sections'
9851 # Check for -Wl,--gc-sections
9852 # XXX This test is broken at the moment, as symbols required for linking
9853 # are now in libsupc++ (not built yet). In addition, this test has
9854 # cored on solaris in the past. In addition, --gc-sections doesn't
9855 # really work at the moment (keeps on discarding used sections, first
9856 # .eh_frame and now some of the glibc sections for iconv).
9857 # Bzzzzt. Thanks for playing, maybe next time.
9858 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
9859 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
9860 if test "$cross_compiling" = yes; then
9861 ac_sectionLDflags=yes
9863 cat >conftest.$ac_ext <<_ACEOF
9864 #line $LINENO "configure"
9867 cat confdefs.h >>conftest.$ac_ext
9868 cat >>conftest.$ac_ext <<_ACEOF
9869 /* end confdefs.h. */
9879 rm -f conftest$ac_exeext
9880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9881 (eval $ac_link) 2>&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); }; }; then
9890 ac_sectionLDflags=yes
9892 echo "$as_me: program exited with status $ac_status" >&5
9893 echo "$as_me: failed program was:" >&5
9894 sed 's/^/| /' conftest.$ac_ext >&5
9897 ac_sectionLDflags=no
9899 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9901 if test "$ac_test_CFLAGS" = set; then
9902 CFLAGS="$ac_save_CFLAGS"
9904 # this is the suspicious part
9907 if test "$ac_sectionLDflags" = "yes"; then
9908 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9910 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
9911 echo "${ECHO_T}$ac_sectionLDflags" >&6
9914 # Set linker optimization flags.
9915 if test x"$with_gnu_ld" = x"yes"; then
9916 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9924 echo "$as_me:$LINENO: checking for main in -lm" >&5
9925 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
9926 if test "${ac_cv_lib_m_main+set}" = set; then
9927 echo $ECHO_N "(cached) $ECHO_C" >&6
9929 ac_check_lib_save_LIBS=$LIBS
9931 cat >conftest.$ac_ext <<_ACEOF
9932 #line $LINENO "configure"
9935 cat confdefs.h >>conftest.$ac_ext
9936 cat >>conftest.$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9948 rm -f conftest.$ac_objext conftest$ac_exeext
9949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9950 (eval $ac_link) 2>&5
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); } &&
9954 { ac_try='test -s conftest$ac_exeext'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; }; then
9960 ac_cv_lib_m_main=yes
9962 echo "$as_me: failed program was:" >&5
9963 sed 's/^/| /' conftest.$ac_ext >&5
9967 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_lib_save_LIBS
9970 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
9971 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
9972 if test $ac_cv_lib_m_main = yes; then
9973 cat >>confdefs.h <<_ACEOF
9983 for ac_func in nan copysignf
9985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9986 echo "$as_me:$LINENO: checking for $ac_func" >&5
9987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9988 if eval "test \"\${$as_ac_var+set}\" = set"; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9991 cat >conftest.$ac_ext <<_ACEOF
9992 #line $LINENO "configure"
9995 cat confdefs.h >>conftest.$ac_ext
9996 cat >>conftest.$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
9998 /* System header to define __stub macros and hopefully few prototypes,
9999 which can conflict with char $ac_func (); below.
10000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10001 <limits.h> exists even on freestanding compilers. */
10003 # include <limits.h>
10005 # include <assert.h>
10007 /* Override any gcc2 internal prototype to avoid an error. */
10012 /* We use char because int might match the return type of a gcc2
10013 builtin and then its argument prototype would still apply. */
10015 /* The GNU C library defines this for functions which it implements
10016 to always fail with ENOSYS. Some functions are actually named
10017 something starting with __ and the normal name is an alias. */
10018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10021 char (*f) () = $ac_func;
10030 return f != $ac_func;
10035 rm -f conftest.$ac_objext conftest$ac_exeext
10036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10037 (eval $ac_link) 2>&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); } &&
10041 { ac_try='test -s conftest$ac_exeext'
10042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10043 (eval $ac_try) 2>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); }; }; then
10047 eval "$as_ac_var=yes"
10049 echo "$as_me: failed program was:" >&5
10050 sed 's/^/| /' conftest.$ac_ext >&5
10052 eval "$as_ac_var=no"
10054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10058 if test `eval echo '${'$as_ac_var'}'` = yes; then
10059 cat >>confdefs.h <<_ACEOF
10060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10064 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
10070 for ac_func in __signbit
10072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10073 echo "$as_me:$LINENO: checking for $ac_func" >&5
10074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10075 if eval "test \"\${$as_ac_var+set}\" = set"; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10078 cat >conftest.$ac_ext <<_ACEOF
10079 #line $LINENO "configure"
10082 cat confdefs.h >>conftest.$ac_ext
10083 cat >>conftest.$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10085 /* System header to define __stub macros and hopefully few prototypes,
10086 which can conflict with char $ac_func (); below.
10087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10088 <limits.h> exists even on freestanding compilers. */
10090 # include <limits.h>
10092 # include <assert.h>
10094 /* Override any gcc2 internal prototype to avoid an error. */
10099 /* We use char because int might match the return type of a gcc2
10100 builtin and then its argument prototype would still apply. */
10102 /* The GNU C library defines this for functions which it implements
10103 to always fail with ENOSYS. Some functions are actually named
10104 something starting with __ and the normal name is an alias. */
10105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10108 char (*f) () = $ac_func;
10117 return f != $ac_func;
10122 rm -f conftest.$ac_objext conftest$ac_exeext
10123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10124 (eval $ac_link) 2>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); } &&
10128 { ac_try='test -s conftest$ac_exeext'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; }; then
10134 eval "$as_ac_var=yes"
10136 echo "$as_me: failed program was:" >&5
10137 sed 's/^/| /' conftest.$ac_ext >&5
10139 eval "$as_ac_var=no"
10141 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10145 if test `eval echo '${'$as_ac_var'}'` = yes; then
10146 cat >>confdefs.h <<_ACEOF
10147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10151 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
10156 for ac_func in __signbitf
10158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10159 echo "$as_me:$LINENO: checking for $ac_func" >&5
10160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10161 if eval "test \"\${$as_ac_var+set}\" = set"; then
10162 echo $ECHO_N "(cached) $ECHO_C" >&6
10164 cat >conftest.$ac_ext <<_ACEOF
10165 #line $LINENO "configure"
10168 cat confdefs.h >>conftest.$ac_ext
10169 cat >>conftest.$ac_ext <<_ACEOF
10170 /* end confdefs.h. */
10171 /* System header to define __stub macros and hopefully few prototypes,
10172 which can conflict with char $ac_func (); below.
10173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10174 <limits.h> exists even on freestanding compilers. */
10176 # include <limits.h>
10178 # include <assert.h>
10180 /* Override any gcc2 internal prototype to avoid an error. */
10185 /* We use char because int might match the return type of a gcc2
10186 builtin and then its argument prototype would still apply. */
10188 /* The GNU C library defines this for functions which it implements
10189 to always fail with ENOSYS. Some functions are actually named
10190 something starting with __ and the normal name is an alias. */
10191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10194 char (*f) () = $ac_func;
10203 return f != $ac_func;
10208 rm -f conftest.$ac_objext conftest$ac_exeext
10209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10210 (eval $ac_link) 2>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } &&
10214 { ac_try='test -s conftest$ac_exeext'
10215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10216 (eval $ac_try) 2>&5
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); }; }; then
10220 eval "$as_ac_var=yes"
10222 echo "$as_me: failed program was:" >&5
10223 sed 's/^/| /' conftest.$ac_ext >&5
10225 eval "$as_ac_var=no"
10227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10231 if test `eval echo '${'$as_ac_var'}'` = yes; then
10232 cat >>confdefs.h <<_ACEOF
10233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10237 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
10242 if test x$ac_cv_func_copysignl = x"yes"; then
10244 for ac_func in __signbitl
10246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10247 echo "$as_me:$LINENO: checking for $ac_func" >&5
10248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10249 if eval "test \"\${$as_ac_var+set}\" = set"; then
10250 echo $ECHO_N "(cached) $ECHO_C" >&6
10252 cat >conftest.$ac_ext <<_ACEOF
10253 #line $LINENO "configure"
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h. */
10259 /* System header to define __stub macros and hopefully few prototypes,
10260 which can conflict with char $ac_func (); below.
10261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10262 <limits.h> exists even on freestanding compilers. */
10264 # include <limits.h>
10266 # include <assert.h>
10268 /* Override any gcc2 internal prototype to avoid an error. */
10273 /* We use char because int might match the return type of a gcc2
10274 builtin and then its argument prototype would still apply. */
10276 /* The GNU C library defines this for functions which it implements
10277 to always fail with ENOSYS. Some functions are actually named
10278 something starting with __ and the normal name is an alias. */
10279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10282 char (*f) () = $ac_func;
10291 return f != $ac_func;
10296 rm -f conftest.$ac_objext conftest$ac_exeext
10297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10298 (eval $ac_link) 2>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } &&
10302 { ac_try='test -s conftest$ac_exeext'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; }; then
10308 eval "$as_ac_var=yes"
10310 echo "$as_me: failed program was:" >&5
10311 sed 's/^/| /' conftest.$ac_ext >&5
10313 eval "$as_ac_var=no"
10315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10319 if test `eval echo '${'$as_ac_var'}'` = yes; then
10320 cat >>confdefs.h <<_ACEOF
10321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10325 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
10331 if test -n "$LIBMATHOBJS"; then
10337 # Test wchar.h for mbstate_t, which is needed for char_traits and
10338 # others even if wchar_t support is not on.
10339 echo "$as_me:$LINENO: checking for mbstate_t" >&5
10340 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
10341 cat >conftest.$ac_ext <<_ACEOF
10342 #line $LINENO "configure"
10345 cat confdefs.h >>conftest.$ac_ext
10346 cat >>conftest.$ac_ext <<_ACEOF
10347 /* end confdefs.h. */
10352 mbstate_t teststate;
10357 rm -f conftest.$ac_objext
10358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10359 (eval $ac_compile) 2>&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } &&
10363 { ac_try='test -s conftest.$ac_objext'
10364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10365 (eval $ac_try) 2>&5
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); }; }; then
10371 echo "$as_me: failed program was:" >&5
10372 sed 's/^/| /' conftest.$ac_ext >&5
10376 rm -f conftest.$ac_objext conftest.$ac_ext
10377 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
10378 echo "${ECHO_T}$have_mbstate_t" >&6
10379 if test x"$have_mbstate_t" = xyes; then
10380 cat >>confdefs.h <<\_ACEOF
10381 #define HAVE_MBSTATE_T 1
10386 # Sanity check for existence of ISO C99 headers for extended encoding.
10388 for ac_header in wchar.h
10390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10392 echo "$as_me:$LINENO: checking for $ac_header" >&5
10393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10395 echo $ECHO_N "(cached) $ECHO_C" >&6
10397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10400 # Is the header compilable?
10401 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10403 cat >conftest.$ac_ext <<_ACEOF
10404 #line $LINENO "configure"
10407 cat confdefs.h >>conftest.$ac_ext
10408 cat >>conftest.$ac_ext <<_ACEOF
10409 /* end confdefs.h. */
10410 $ac_includes_default
10411 #include <$ac_header>
10413 rm -f conftest.$ac_objext
10414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10415 (eval $ac_compile) 2>&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); } &&
10419 { ac_try='test -s conftest.$ac_objext'
10420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421 (eval $ac_try) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }; }; then
10425 ac_header_compiler=yes
10427 echo "$as_me: failed program was:" >&5
10428 sed 's/^/| /' conftest.$ac_ext >&5
10430 ac_header_compiler=no
10432 rm -f conftest.$ac_objext conftest.$ac_ext
10433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10434 echo "${ECHO_T}$ac_header_compiler" >&6
10436 # Is the header present?
10437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10439 cat >conftest.$ac_ext <<_ACEOF
10440 #line $LINENO "configure"
10443 cat confdefs.h >>conftest.$ac_ext
10444 cat >>conftest.$ac_ext <<_ACEOF
10445 /* end confdefs.h. */
10446 #include <$ac_header>
10448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10451 grep -v '^ *+' conftest.er1 >conftest.err
10453 cat conftest.err >&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); } >/dev/null; then
10456 if test -s conftest.err; then
10457 ac_cpp_err=$ac_c_preproc_warn_flag
10464 if test -z "$ac_cpp_err"; then
10465 ac_header_preproc=yes
10467 echo "$as_me: failed program was:" >&5
10468 sed 's/^/| /' conftest.$ac_ext >&5
10470 ac_header_preproc=no
10472 rm -f conftest.err conftest.$ac_ext
10473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10474 echo "${ECHO_T}$ac_header_preproc" >&6
10476 # So? What about this header?
10477 case $ac_header_compiler:$ac_header_preproc in
10479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10485 ## ------------------------------------ ##
10486 ## Report this to bug-autoconf@gnu.org. ##
10487 ## ------------------------------------ ##
10490 sed "s/^/$as_me: WARNING: /" >&2
10493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10501 ## ------------------------------------ ##
10502 ## Report this to bug-autoconf@gnu.org. ##
10503 ## ------------------------------------ ##
10506 sed "s/^/$as_me: WARNING: /" >&2
10509 echo "$as_me:$LINENO: checking for $ac_header" >&5
10510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 eval "$as_ac_Header=$ac_header_preproc"
10516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10521 cat >>confdefs.h <<_ACEOF
10522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10532 for ac_header in wctype.h
10534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10536 echo "$as_me:$LINENO: checking for $ac_header" >&5
10537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10539 echo $ECHO_N "(cached) $ECHO_C" >&6
10541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10544 # Is the header compilable?
10545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10547 cat >conftest.$ac_ext <<_ACEOF
10548 #line $LINENO "configure"
10551 cat confdefs.h >>conftest.$ac_ext
10552 cat >>conftest.$ac_ext <<_ACEOF
10553 /* end confdefs.h. */
10554 $ac_includes_default
10555 #include <$ac_header>
10557 rm -f conftest.$ac_objext
10558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10559 (eval $ac_compile) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); } &&
10563 { ac_try='test -s conftest.$ac_objext'
10564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10565 (eval $ac_try) 2>&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); }; }; then
10569 ac_header_compiler=yes
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.$ac_ext >&5
10574 ac_header_compiler=no
10576 rm -f conftest.$ac_objext conftest.$ac_ext
10577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10578 echo "${ECHO_T}$ac_header_compiler" >&6
10580 # Is the header present?
10581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10583 cat >conftest.$ac_ext <<_ACEOF
10584 #line $LINENO "configure"
10587 cat confdefs.h >>conftest.$ac_ext
10588 cat >>conftest.$ac_ext <<_ACEOF
10589 /* end confdefs.h. */
10590 #include <$ac_header>
10592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10595 grep -v '^ *+' conftest.er1 >conftest.err
10597 cat conftest.err >&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } >/dev/null; then
10600 if test -s conftest.err; then
10601 ac_cpp_err=$ac_c_preproc_warn_flag
10608 if test -z "$ac_cpp_err"; then
10609 ac_header_preproc=yes
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10614 ac_header_preproc=no
10616 rm -f conftest.err conftest.$ac_ext
10617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10618 echo "${ECHO_T}$ac_header_preproc" >&6
10620 # So? What about this header?
10621 case $ac_header_compiler:$ac_header_preproc in
10623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10629 ## ------------------------------------ ##
10630 ## Report this to bug-autoconf@gnu.org. ##
10631 ## ------------------------------------ ##
10634 sed "s/^/$as_me: WARNING: /" >&2
10637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10645 ## ------------------------------------ ##
10646 ## Report this to bug-autoconf@gnu.org. ##
10647 ## ------------------------------------ ##
10650 sed "s/^/$as_me: WARNING: /" >&2
10653 echo "$as_me:$LINENO: checking for $ac_header" >&5
10654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10656 echo $ECHO_N "(cached) $ECHO_C" >&6
10658 eval "$as_ac_Header=$ac_header_preproc"
10660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10665 cat >>confdefs.h <<_ACEOF
10666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10668 ac_has_wctype_h=yes
10676 # Only continue checking if the ISO C99 headers exist and support is on.
10677 if test x"$ac_has_wchar_h" = xyes &&
10678 test x"$ac_has_wctype_h" = xyes &&
10679 test x"$enable_c_mbchar" != xno; then
10681 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
10682 # numeric_limits can instantiate type_traits<wchar_t>
10683 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
10684 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
10685 cat >conftest.$ac_ext <<_ACEOF
10686 #line $LINENO "configure"
10689 cat confdefs.h >>conftest.$ac_ext
10690 cat >>conftest.$ac_ext <<_ACEOF
10691 /* end confdefs.h. */
10696 int i = WCHAR_MIN; int j = WCHAR_MAX;
10701 rm -f conftest.$ac_objext
10702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10703 (eval $ac_compile) 2>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } &&
10707 { ac_try='test -s conftest.$ac_objext'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; }; then
10713 has_wchar_minmax=yes
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10718 has_wchar_minmax=no
10720 rm -f conftest.$ac_objext conftest.$ac_ext
10721 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
10722 echo "${ECHO_T}$has_wchar_minmax" >&6
10724 # Test wchar.h for WEOF, which is what we use to determine whether
10725 # to specialize for char_traits<wchar_t> or not.
10726 echo "$as_me:$LINENO: checking for WEOF" >&5
10727 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
10728 cat >conftest.$ac_ext <<_ACEOF
10729 #line $LINENO "configure"
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10737 #include <stddef.h>
10746 rm -f conftest.$ac_objext
10747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10748 (eval $ac_compile) 2>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); } &&
10752 { ac_try='test -s conftest.$ac_objext'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; }; then
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.$ac_ext >&5
10765 rm -f conftest.$ac_objext conftest.$ac_ext
10766 echo "$as_me:$LINENO: result: $has_weof" >&5
10767 echo "${ECHO_T}$has_weof" >&6
10769 # Tests for wide character functions used in char_traits<wchar_t>.
10777 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
10779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10780 echo "$as_me:$LINENO: checking for $ac_func" >&5
10781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10782 if eval "test \"\${$as_ac_var+set}\" = set"; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 cat >conftest.$ac_ext <<_ACEOF
10786 #line $LINENO "configure"
10789 cat confdefs.h >>conftest.$ac_ext
10790 cat >>conftest.$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10792 /* System header to define __stub macros and hopefully few prototypes,
10793 which can conflict with char $ac_func (); below.
10794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10795 <limits.h> exists even on freestanding compilers. */
10797 # include <limits.h>
10799 # include <assert.h>
10801 /* Override any gcc2 internal prototype to avoid an error. */
10806 /* We use char because int might match the return type of a gcc2
10807 builtin and then its argument prototype would still apply. */
10809 /* The GNU C library defines this for functions which it implements
10810 to always fail with ENOSYS. Some functions are actually named
10811 something starting with __ and the normal name is an alias. */
10812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10815 char (*f) () = $ac_func;
10824 return f != $ac_func;
10829 rm -f conftest.$ac_objext conftest$ac_exeext
10830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10831 (eval $ac_link) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } &&
10835 { ac_try='test -s conftest$ac_exeext'
10836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837 (eval $ac_try) 2>&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; }; then
10841 eval "$as_ac_var=yes"
10843 echo "$as_me: failed program was:" >&5
10844 sed 's/^/| /' conftest.$ac_ext >&5
10846 eval "$as_ac_var=no"
10848 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10852 if test `eval echo '${'$as_ac_var'}'` = yes; then
10853 cat >>confdefs.h <<_ACEOF
10854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10863 # Checks for names injected into std:: by the c_std headers.
10914 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
10915 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
10916 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
10917 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
10918 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
10919 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
10921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10922 echo "$as_me:$LINENO: checking for $ac_func" >&5
10923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10924 if eval "test \"\${$as_ac_var+set}\" = set"; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 cat >conftest.$ac_ext <<_ACEOF
10928 #line $LINENO "configure"
10931 cat confdefs.h >>conftest.$ac_ext
10932 cat >>conftest.$ac_ext <<_ACEOF
10933 /* end confdefs.h. */
10934 /* System header to define __stub macros and hopefully few prototypes,
10935 which can conflict with char $ac_func (); below.
10936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10937 <limits.h> exists even on freestanding compilers. */
10939 # include <limits.h>
10941 # include <assert.h>
10943 /* Override any gcc2 internal prototype to avoid an error. */
10948 /* We use char because int might match the return type of a gcc2
10949 builtin and then its argument prototype would still apply. */
10951 /* The GNU C library defines this for functions which it implements
10952 to always fail with ENOSYS. Some functions are actually named
10953 something starting with __ and the normal name is an alias. */
10954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10957 char (*f) () = $ac_func;
10966 return f != $ac_func;
10971 rm -f conftest.$ac_objext conftest$ac_exeext
10972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10973 (eval $ac_link) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); } &&
10977 { ac_try='test -s conftest$ac_exeext'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; }; then
10983 eval "$as_ac_var=yes"
10985 echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.$ac_ext >&5
10988 eval "$as_ac_var=no"
10990 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10994 if test `eval echo '${'$as_ac_var'}'` = yes; then
10995 cat >>confdefs.h <<_ACEOF
10996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11005 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
11006 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
11007 if test x"$has_weof" = xyes &&
11008 test x"$has_wchar_minmax" = xyes &&
11009 test x"$ac_wfuncs" = xyes;
11011 ac_isoC99_wchar_t=yes
11013 ac_isoC99_wchar_t=no
11015 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
11016 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
11018 # Use iconv for wchar_t to char conversions. As such, check for
11019 # X/Open Portability Guide, version 2 features (XPG2).
11020 if test "${ac_cv_header_iconv_h+set}" = set; then
11021 echo "$as_me:$LINENO: checking for iconv.h" >&5
11022 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
11023 if test "${ac_cv_header_iconv_h+set}" = set; then
11024 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
11027 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
11029 # Is the header compilable?
11030 echo "$as_me:$LINENO: checking iconv.h usability" >&5
11031 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
11032 cat >conftest.$ac_ext <<_ACEOF
11033 #line $LINENO "configure"
11036 cat confdefs.h >>conftest.$ac_ext
11037 cat >>conftest.$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 $ac_includes_default
11042 rm -f conftest.$ac_objext
11043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11044 (eval $ac_compile) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } &&
11048 { ac_try='test -s conftest.$ac_objext'
11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050 (eval $ac_try) 2>&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; }; then
11054 ac_header_compiler=yes
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.$ac_ext >&5
11059 ac_header_compiler=no
11061 rm -f conftest.$ac_objext conftest.$ac_ext
11062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11063 echo "${ECHO_T}$ac_header_compiler" >&6
11065 # Is the header present?
11066 echo "$as_me:$LINENO: checking iconv.h presence" >&5
11067 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
11068 cat >conftest.$ac_ext <<_ACEOF
11069 #line $LINENO "configure"
11072 cat confdefs.h >>conftest.$ac_ext
11073 cat >>conftest.$ac_ext <<_ACEOF
11074 /* end confdefs.h. */
11077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11080 grep -v '^ *+' conftest.er1 >conftest.err
11082 cat conftest.err >&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); } >/dev/null; then
11085 if test -s conftest.err; then
11086 ac_cpp_err=$ac_c_preproc_warn_flag
11093 if test -z "$ac_cpp_err"; then
11094 ac_header_preproc=yes
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.$ac_ext >&5
11099 ac_header_preproc=no
11101 rm -f conftest.err conftest.$ac_ext
11102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11103 echo "${ECHO_T}$ac_header_preproc" >&6
11105 # So? What about this header?
11106 case $ac_header_compiler:$ac_header_preproc in
11108 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
11109 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11110 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
11111 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
11114 ## ------------------------------------ ##
11115 ## Report this to bug-autoconf@gnu.org. ##
11116 ## ------------------------------------ ##
11119 sed "s/^/$as_me: WARNING: /" >&2
11122 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
11123 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
11124 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
11125 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
11126 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
11127 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
11130 ## ------------------------------------ ##
11131 ## Report this to bug-autoconf@gnu.org. ##
11132 ## ------------------------------------ ##
11135 sed "s/^/$as_me: WARNING: /" >&2
11138 echo "$as_me:$LINENO: checking for iconv.h" >&5
11139 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
11140 if test "${ac_cv_header_iconv_h+set}" = set; then
11141 echo $ECHO_N "(cached) $ECHO_C" >&6
11143 ac_cv_header_iconv_h=$ac_header_preproc
11145 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
11146 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
11149 if test $ac_cv_header_iconv_h = yes; then
11156 if test "${ac_cv_header_langinfo_h+set}" = set; then
11157 echo "$as_me:$LINENO: checking for langinfo.h" >&5
11158 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
11159 if test "${ac_cv_header_langinfo_h+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
11163 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
11165 # Is the header compilable?
11166 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
11167 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
11168 cat >conftest.$ac_ext <<_ACEOF
11169 #line $LINENO "configure"
11172 cat confdefs.h >>conftest.$ac_ext
11173 cat >>conftest.$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11175 $ac_includes_default
11176 #include <langinfo.h>
11178 rm -f conftest.$ac_objext
11179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11180 (eval $ac_compile) 2>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); } &&
11184 { ac_try='test -s conftest.$ac_objext'
11185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11186 (eval $ac_try) 2>&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); }; }; then
11190 ac_header_compiler=yes
11192 echo "$as_me: failed program was:" >&5
11193 sed 's/^/| /' conftest.$ac_ext >&5
11195 ac_header_compiler=no
11197 rm -f conftest.$ac_objext conftest.$ac_ext
11198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11199 echo "${ECHO_T}$ac_header_compiler" >&6
11201 # Is the header present?
11202 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
11203 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
11204 cat >conftest.$ac_ext <<_ACEOF
11205 #line $LINENO "configure"
11208 cat confdefs.h >>conftest.$ac_ext
11209 cat >>conftest.$ac_ext <<_ACEOF
11210 /* end confdefs.h. */
11211 #include <langinfo.h>
11213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11216 grep -v '^ *+' conftest.er1 >conftest.err
11218 cat conftest.err >&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } >/dev/null; then
11221 if test -s conftest.err; then
11222 ac_cpp_err=$ac_c_preproc_warn_flag
11229 if test -z "$ac_cpp_err"; then
11230 ac_header_preproc=yes
11232 echo "$as_me: failed program was:" >&5
11233 sed 's/^/| /' conftest.$ac_ext >&5
11235 ac_header_preproc=no
11237 rm -f conftest.err conftest.$ac_ext
11238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11239 echo "${ECHO_T}$ac_header_preproc" >&6
11241 # So? What about this header?
11242 case $ac_header_compiler:$ac_header_preproc in
11244 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
11245 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11246 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
11247 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
11250 ## ------------------------------------ ##
11251 ## Report this to bug-autoconf@gnu.org. ##
11252 ## ------------------------------------ ##
11255 sed "s/^/$as_me: WARNING: /" >&2
11258 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
11259 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
11260 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
11261 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
11262 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
11263 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
11266 ## ------------------------------------ ##
11267 ## Report this to bug-autoconf@gnu.org. ##
11268 ## ------------------------------------ ##
11271 sed "s/^/$as_me: WARNING: /" >&2
11274 echo "$as_me:$LINENO: checking for langinfo.h" >&5
11275 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
11276 if test "${ac_cv_header_langinfo_h+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 ac_cv_header_langinfo_h=$ac_header_preproc
11281 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
11282 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
11285 if test $ac_cv_header_langinfo_h = yes; then
11286 ac_has_langinfo_h=yes
11288 ac_has_langinfo_h=no
11293 # Check for existence of libiconv.a providing XPG2 wchar_t support.
11294 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
11295 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
11296 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
11297 echo $ECHO_N "(cached) $ECHO_C" >&6
11299 ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-liconv $LIBS"
11301 cat >conftest.$ac_ext <<_ACEOF
11302 #line $LINENO "configure"
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11309 /* Override any gcc2 internal prototype to avoid an error. */
11313 /* We use char because int might match the return type of a gcc2
11314 builtin and then its argument prototype would still apply. */
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11326 (eval $ac_link) 2>&5
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); } &&
11330 { ac_try='test -s conftest$ac_exeext'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; }; then
11336 ac_cv_lib_iconv_iconv=yes
11338 echo "$as_me: failed program was:" >&5
11339 sed 's/^/| /' conftest.$ac_ext >&5
11341 ac_cv_lib_iconv_iconv=no
11343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11344 LIBS=$ac_check_lib_save_LIBS
11346 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
11347 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
11348 if test $ac_cv_lib_iconv_iconv = yes; then
11352 ac_save_LIBS="$LIBS"
11353 LIBS="$LIBS $libiconv"
11359 for ac_func in iconv_open iconv_close iconv nl_langinfo
11361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11362 echo "$as_me:$LINENO: checking for $ac_func" >&5
11363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11364 if eval "test \"\${$as_ac_var+set}\" = set"; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 cat >conftest.$ac_ext <<_ACEOF
11368 #line $LINENO "configure"
11371 cat confdefs.h >>conftest.$ac_ext
11372 cat >>conftest.$ac_ext <<_ACEOF
11373 /* end confdefs.h. */
11374 /* System header to define __stub macros and hopefully few prototypes,
11375 which can conflict with char $ac_func (); below.
11376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11377 <limits.h> exists even on freestanding compilers. */
11379 # include <limits.h>
11381 # include <assert.h>
11383 /* Override any gcc2 internal prototype to avoid an error. */
11388 /* We use char because int might match the return type of a gcc2
11389 builtin and then its argument prototype would still apply. */
11391 /* The GNU C library defines this for functions which it implements
11392 to always fail with ENOSYS. Some functions are actually named
11393 something starting with __ and the normal name is an alias. */
11394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11397 char (*f) () = $ac_func;
11406 return f != $ac_func;
11411 rm -f conftest.$ac_objext conftest$ac_exeext
11412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11413 (eval $ac_link) 2>&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); } &&
11417 { ac_try='test -s conftest$ac_exeext'
11418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11419 (eval $ac_try) 2>&5
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); }; }; then
11423 eval "$as_ac_var=yes"
11425 echo "$as_me: failed program was:" >&5
11426 sed 's/^/| /' conftest.$ac_ext >&5
11428 eval "$as_ac_var=no"
11430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11434 if test `eval echo '${'$as_ac_var'}'` = yes; then
11435 cat >>confdefs.h <<_ACEOF
11436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11445 LIBS="$ac_save_LIBS"
11447 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
11448 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
11449 if test x"$ac_has_iconv_h" = xyes &&
11450 test x"$ac_has_langinfo_h" = xyes &&
11451 test x"$ac_XPG2funcs" = xyes;
11453 ac_XPG2_wchar_t=yes
11457 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
11458 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
11460 # At the moment, only enable wchar_t specializations if all the
11461 # above support is present.
11462 if test x"$ac_isoC99_wchar_t" = xyes &&
11463 test x"$ac_XPG2_wchar_t" = xyes;
11465 cat >>confdefs.h <<\_ACEOF
11466 #define _GLIBCXX_USE_WCHAR_T 1
11472 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
11473 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
11474 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
11475 echo "${ECHO_T}$enable_wchar_t" >&6
11477 cat >>confdefs.h <<\_ACEOF
11478 #define HAVE_COPYSIGN 1
11481 cat >>confdefs.h <<\_ACEOF
11482 #define HAVE_COPYSIGNF 1
11485 cat >>confdefs.h <<\_ACEOF
11486 #define HAVE_FREXPF 1
11489 cat >>confdefs.h <<\_ACEOF
11490 #define HAVE_HYPOT 1
11495 cat >>confdefs.h <<\_ACEOF
11496 #define HAVE_FINITE 1
11499 cat >>confdefs.h <<\_ACEOF
11500 #define HAVE_FINITEF 1
11503 cat >>confdefs.h <<\_ACEOF
11504 #define HAVE_ISINF 1
11507 cat >>confdefs.h <<\_ACEOF
11508 #define HAVE_ISINFF 1
11511 cat >>confdefs.h <<\_ACEOF
11512 #define HAVE_ISNAN 1
11515 cat >>confdefs.h <<\_ACEOF
11516 #define HAVE_ISNANF 1
11523 #os_include_dir="os/gnu-linux"
11536 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
11537 machine/endian.h machine/param.h sys/machine.h sys/types.h \
11538 fp.h locale.h float.h inttypes.h
11540 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11542 echo "$as_me:$LINENO: checking for $ac_header" >&5
11543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11550 # Is the header compilable?
11551 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11553 cat >conftest.$ac_ext <<_ACEOF
11554 #line $LINENO "configure"
11557 cat confdefs.h >>conftest.$ac_ext
11558 cat >>conftest.$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11560 $ac_includes_default
11561 #include <$ac_header>
11563 rm -f conftest.$ac_objext
11564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11565 (eval $ac_compile) 2>&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } &&
11569 { ac_try='test -s conftest.$ac_objext'
11570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; }; then
11575 ac_header_compiler=yes
11577 echo "$as_me: failed program was:" >&5
11578 sed 's/^/| /' conftest.$ac_ext >&5
11580 ac_header_compiler=no
11582 rm -f conftest.$ac_objext conftest.$ac_ext
11583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11584 echo "${ECHO_T}$ac_header_compiler" >&6
11586 # Is the header present?
11587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11589 cat >conftest.$ac_ext <<_ACEOF
11590 #line $LINENO "configure"
11593 cat confdefs.h >>conftest.$ac_ext
11594 cat >>conftest.$ac_ext <<_ACEOF
11595 /* end confdefs.h. */
11596 #include <$ac_header>
11598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11601 grep -v '^ *+' conftest.er1 >conftest.err
11603 cat conftest.err >&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } >/dev/null; then
11606 if test -s conftest.err; then
11607 ac_cpp_err=$ac_c_preproc_warn_flag
11614 if test -z "$ac_cpp_err"; then
11615 ac_header_preproc=yes
11617 echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.$ac_ext >&5
11620 ac_header_preproc=no
11622 rm -f conftest.err conftest.$ac_ext
11623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11624 echo "${ECHO_T}$ac_header_preproc" >&6
11626 # So? What about this header?
11627 case $ac_header_compiler:$ac_header_preproc in
11629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11635 ## ------------------------------------ ##
11636 ## Report this to bug-autoconf@gnu.org. ##
11637 ## ------------------------------------ ##
11640 sed "s/^/$as_me: WARNING: /" >&2
11643 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11645 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11646 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11651 ## ------------------------------------ ##
11652 ## Report this to bug-autoconf@gnu.org. ##
11653 ## ------------------------------------ ##
11656 sed "s/^/$as_me: WARNING: /" >&2
11659 echo "$as_me:$LINENO: checking for $ac_header" >&5
11660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11664 eval "$as_ac_Header=$ac_header_preproc"
11666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11671 cat >>confdefs.h <<_ACEOF
11672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11679 SECTION_FLAGS='-ffunction-sections -fdata-sections'
11682 # If we're not using GNU ld, then there's no point in even trying these
11683 # tests. Check for that first. We should have already tested for gld
11684 # by now (in libtool), but require it now just to be safe...
11685 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
11686 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
11690 # The name set by libtool depends on the version of libtool. Shame on us
11691 # for depending on an impl detail, but c'est la vie. Older versions used
11692 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
11693 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
11694 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
11695 # set (hence we're using an older libtool), then set it.
11696 if test x${with_gnu_ld+set} != xset; then
11697 if test x${ac_cv_prog_gnu_ld+set} != xset; then
11698 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
11701 with_gnu_ld=$ac_cv_prog_gnu_ld
11705 # Start by getting the version number. I think the libtool test already
11706 # does some of this, but throws away the result.
11708 ldver=`$LD --version 2>/dev/null | head -1 | \
11709 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
11711 glibcxx_gnu_ld_version=`echo $ldver | \
11712 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
11714 # Set --gc-sections.
11715 if test "$with_gnu_ld" = "notbroken"; then
11716 # GNU ld it is! Joy and bunny rabbits!
11718 # All these tests are for C++; save the language and the compiler flags.
11719 # Need to do this so that g++ won't try to link in libstdc++
11720 ac_test_CFLAGS="${CFLAGS+set}"
11721 ac_save_CFLAGS="$CFLAGS"
11722 CFLAGS='-x c++ -Wl,--gc-sections'
11724 # Check for -Wl,--gc-sections
11725 # XXX This test is broken at the moment, as symbols required for linking
11726 # are now in libsupc++ (not built yet). In addition, this test has
11727 # cored on solaris in the past. In addition, --gc-sections doesn't
11728 # really work at the moment (keeps on discarding used sections, first
11729 # .eh_frame and now some of the glibc sections for iconv).
11730 # Bzzzzt. Thanks for playing, maybe next time.
11731 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
11732 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
11733 if test "$cross_compiling" = yes; then
11734 ac_sectionLDflags=yes
11736 cat >conftest.$ac_ext <<_ACEOF
11737 #line $LINENO "configure"
11740 cat confdefs.h >>conftest.$ac_ext
11741 cat >>conftest.$ac_ext <<_ACEOF
11742 /* end confdefs.h. */
11752 rm -f conftest$ac_exeext
11753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11754 (eval $ac_link) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11759 (eval $ac_try) 2>&5
11761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); }; }; then
11763 ac_sectionLDflags=yes
11765 echo "$as_me: program exited with status $ac_status" >&5
11766 echo "$as_me: failed program was:" >&5
11767 sed 's/^/| /' conftest.$ac_ext >&5
11769 ( exit $ac_status )
11770 ac_sectionLDflags=no
11772 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11774 if test "$ac_test_CFLAGS" = set; then
11775 CFLAGS="$ac_save_CFLAGS"
11777 # this is the suspicious part
11780 if test "$ac_sectionLDflags" = "yes"; then
11781 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
11783 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
11784 echo "${ECHO_T}$ac_sectionLDflags" >&6
11787 # Set linker optimization flags.
11788 if test x"$with_gnu_ld" = x"yes"; then
11789 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
11797 echo "$as_me:$LINENO: checking for main in -lm" >&5
11798 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
11799 if test "${ac_cv_lib_m_main+set}" = set; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11802 ac_check_lib_save_LIBS=$LIBS
11804 cat >conftest.$ac_ext <<_ACEOF
11805 #line $LINENO "configure"
11808 cat confdefs.h >>conftest.$ac_ext
11809 cat >>conftest.$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11821 rm -f conftest.$ac_objext conftest$ac_exeext
11822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11823 (eval $ac_link) 2>&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } &&
11827 { ac_try='test -s conftest$ac_exeext'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11833 ac_cv_lib_m_main=yes
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.$ac_ext >&5
11838 ac_cv_lib_m_main=no
11840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_lib_save_LIBS
11843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
11844 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
11845 if test $ac_cv_lib_m_main = yes; then
11846 cat >>confdefs.h <<_ACEOF
11847 #define HAVE_LIBM 1
11856 for ac_func in nan copysignf
11858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11859 echo "$as_me:$LINENO: checking for $ac_func" >&5
11860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11861 if eval "test \"\${$as_ac_var+set}\" = set"; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 cat >conftest.$ac_ext <<_ACEOF
11865 #line $LINENO "configure"
11868 cat confdefs.h >>conftest.$ac_ext
11869 cat >>conftest.$ac_ext <<_ACEOF
11870 /* end confdefs.h. */
11871 /* System header to define __stub macros and hopefully few prototypes,
11872 which can conflict with char $ac_func (); below.
11873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11874 <limits.h> exists even on freestanding compilers. */
11876 # include <limits.h>
11878 # include <assert.h>
11880 /* Override any gcc2 internal prototype to avoid an error. */
11885 /* We use char because int might match the return type of a gcc2
11886 builtin and then its argument prototype would still apply. */
11888 /* The GNU C library defines this for functions which it implements
11889 to always fail with ENOSYS. Some functions are actually named
11890 something starting with __ and the normal name is an alias. */
11891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11894 char (*f) () = $ac_func;
11903 return f != $ac_func;
11908 rm -f conftest.$ac_objext conftest$ac_exeext
11909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11910 (eval $ac_link) 2>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); } &&
11914 { ac_try='test -s conftest$ac_exeext'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; }; then
11920 eval "$as_ac_var=yes"
11922 echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.$ac_ext >&5
11925 eval "$as_ac_var=no"
11927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11931 if test `eval echo '${'$as_ac_var'}'` = yes; then
11932 cat >>confdefs.h <<_ACEOF
11933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11937 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
11943 for ac_func in __signbit
11945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11946 echo "$as_me:$LINENO: checking for $ac_func" >&5
11947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11948 if eval "test \"\${$as_ac_var+set}\" = set"; then
11949 echo $ECHO_N "(cached) $ECHO_C" >&6
11951 cat >conftest.$ac_ext <<_ACEOF
11952 #line $LINENO "configure"
11955 cat confdefs.h >>conftest.$ac_ext
11956 cat >>conftest.$ac_ext <<_ACEOF
11957 /* end confdefs.h. */
11958 /* System header to define __stub macros and hopefully few prototypes,
11959 which can conflict with char $ac_func (); below.
11960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11961 <limits.h> exists even on freestanding compilers. */
11963 # include <limits.h>
11965 # include <assert.h>
11967 /* Override any gcc2 internal prototype to avoid an error. */
11972 /* We use char because int might match the return type of a gcc2
11973 builtin and then its argument prototype would still apply. */
11975 /* The GNU C library defines this for functions which it implements
11976 to always fail with ENOSYS. Some functions are actually named
11977 something starting with __ and the normal name is an alias. */
11978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11981 char (*f) () = $ac_func;
11990 return f != $ac_func;
11995 rm -f conftest.$ac_objext conftest$ac_exeext
11996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11997 (eval $ac_link) 2>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); } &&
12001 { ac_try='test -s conftest$ac_exeext'
12002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12003 (eval $ac_try) 2>&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; }; then
12007 eval "$as_ac_var=yes"
12009 echo "$as_me: failed program was:" >&5
12010 sed 's/^/| /' conftest.$ac_ext >&5
12012 eval "$as_ac_var=no"
12014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12018 if test `eval echo '${'$as_ac_var'}'` = yes; then
12019 cat >>confdefs.h <<_ACEOF
12020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12024 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
12029 for ac_func in __signbitf
12031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12032 echo "$as_me:$LINENO: checking for $ac_func" >&5
12033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12034 if eval "test \"\${$as_ac_var+set}\" = set"; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 cat >conftest.$ac_ext <<_ACEOF
12038 #line $LINENO "configure"
12041 cat confdefs.h >>conftest.$ac_ext
12042 cat >>conftest.$ac_ext <<_ACEOF
12043 /* end confdefs.h. */
12044 /* System header to define __stub macros and hopefully few prototypes,
12045 which can conflict with char $ac_func (); below.
12046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12047 <limits.h> exists even on freestanding compilers. */
12049 # include <limits.h>
12051 # include <assert.h>
12053 /* Override any gcc2 internal prototype to avoid an error. */
12058 /* We use char because int might match the return type of a gcc2
12059 builtin and then its argument prototype would still apply. */
12061 /* The GNU C library defines this for functions which it implements
12062 to always fail with ENOSYS. Some functions are actually named
12063 something starting with __ and the normal name is an alias. */
12064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12067 char (*f) () = $ac_func;
12076 return f != $ac_func;
12081 rm -f conftest.$ac_objext conftest$ac_exeext
12082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12083 (eval $ac_link) 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); } &&
12087 { ac_try='test -s conftest$ac_exeext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12093 eval "$as_ac_var=yes"
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.$ac_ext >&5
12098 eval "$as_ac_var=no"
12100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12104 if test `eval echo '${'$as_ac_var'}'` = yes; then
12105 cat >>confdefs.h <<_ACEOF
12106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12110 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
12115 if test x$ac_cv_func_copysignl = x"yes"; then
12117 for ac_func in __signbitl
12119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12120 echo "$as_me:$LINENO: checking for $ac_func" >&5
12121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12122 if eval "test \"\${$as_ac_var+set}\" = set"; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12125 cat >conftest.$ac_ext <<_ACEOF
12126 #line $LINENO "configure"
12129 cat confdefs.h >>conftest.$ac_ext
12130 cat >>conftest.$ac_ext <<_ACEOF
12131 /* end confdefs.h. */
12132 /* System header to define __stub macros and hopefully few prototypes,
12133 which can conflict with char $ac_func (); below.
12134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12135 <limits.h> exists even on freestanding compilers. */
12137 # include <limits.h>
12139 # include <assert.h>
12141 /* Override any gcc2 internal prototype to avoid an error. */
12146 /* We use char because int might match the return type of a gcc2
12147 builtin and then its argument prototype would still apply. */
12149 /* The GNU C library defines this for functions which it implements
12150 to always fail with ENOSYS. Some functions are actually named
12151 something starting with __ and the normal name is an alias. */
12152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12155 char (*f) () = $ac_func;
12164 return f != $ac_func;
12169 rm -f conftest.$ac_objext conftest$ac_exeext
12170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12171 (eval $ac_link) 2>&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } &&
12175 { ac_try='test -s conftest$ac_exeext'
12176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12177 (eval $ac_try) 2>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); }; }; then
12181 eval "$as_ac_var=yes"
12183 echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.$ac_ext >&5
12186 eval "$as_ac_var=no"
12188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12192 if test `eval echo '${'$as_ac_var'}'` = yes; then
12193 cat >>confdefs.h <<_ACEOF
12194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12198 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
12204 if test -n "$LIBMATHOBJS"; then
12210 # Test wchar.h for mbstate_t, which is needed for char_traits and
12211 # others even if wchar_t support is not on.
12212 echo "$as_me:$LINENO: checking for mbstate_t" >&5
12213 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
12214 cat >conftest.$ac_ext <<_ACEOF
12215 #line $LINENO "configure"
12218 cat confdefs.h >>conftest.$ac_ext
12219 cat >>conftest.$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12225 mbstate_t teststate;
12230 rm -f conftest.$ac_objext
12231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12232 (eval $ac_compile) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); } &&
12236 { ac_try='test -s conftest.$ac_objext'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; }; then
12244 echo "$as_me: failed program was:" >&5
12245 sed 's/^/| /' conftest.$ac_ext >&5
12249 rm -f conftest.$ac_objext conftest.$ac_ext
12250 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
12251 echo "${ECHO_T}$have_mbstate_t" >&6
12252 if test x"$have_mbstate_t" = xyes; then
12253 cat >>confdefs.h <<\_ACEOF
12254 #define HAVE_MBSTATE_T 1
12259 # Sanity check for existence of ISO C99 headers for extended encoding.
12261 for ac_header in wchar.h
12263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12265 echo "$as_me:$LINENO: checking for $ac_header" >&5
12266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12273 # Is the header compilable?
12274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12276 cat >conftest.$ac_ext <<_ACEOF
12277 #line $LINENO "configure"
12280 cat confdefs.h >>conftest.$ac_ext
12281 cat >>conftest.$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12283 $ac_includes_default
12284 #include <$ac_header>
12286 rm -f conftest.$ac_objext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12288 (eval $ac_compile) 2>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); } &&
12292 { ac_try='test -s conftest.$ac_objext'
12293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12294 (eval $ac_try) 2>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); }; }; then
12298 ac_header_compiler=yes
12300 echo "$as_me: failed program was:" >&5
12301 sed 's/^/| /' conftest.$ac_ext >&5
12303 ac_header_compiler=no
12305 rm -f conftest.$ac_objext conftest.$ac_ext
12306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12307 echo "${ECHO_T}$ac_header_compiler" >&6
12309 # Is the header present?
12310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12312 cat >conftest.$ac_ext <<_ACEOF
12313 #line $LINENO "configure"
12316 cat confdefs.h >>conftest.$ac_ext
12317 cat >>conftest.$ac_ext <<_ACEOF
12318 /* end confdefs.h. */
12319 #include <$ac_header>
12321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12324 grep -v '^ *+' conftest.er1 >conftest.err
12326 cat conftest.err >&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } >/dev/null; then
12329 if test -s conftest.err; then
12330 ac_cpp_err=$ac_c_preproc_warn_flag
12337 if test -z "$ac_cpp_err"; then
12338 ac_header_preproc=yes
12340 echo "$as_me: failed program was:" >&5
12341 sed 's/^/| /' conftest.$ac_ext >&5
12343 ac_header_preproc=no
12345 rm -f conftest.err conftest.$ac_ext
12346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12347 echo "${ECHO_T}$ac_header_preproc" >&6
12349 # So? What about this header?
12350 case $ac_header_compiler:$ac_header_preproc in
12352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12358 ## ------------------------------------ ##
12359 ## Report this to bug-autoconf@gnu.org. ##
12360 ## ------------------------------------ ##
12363 sed "s/^/$as_me: WARNING: /" >&2
12366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12374 ## ------------------------------------ ##
12375 ## Report this to bug-autoconf@gnu.org. ##
12376 ## ------------------------------------ ##
12379 sed "s/^/$as_me: WARNING: /" >&2
12382 echo "$as_me:$LINENO: checking for $ac_header" >&5
12383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12385 echo $ECHO_N "(cached) $ECHO_C" >&6
12387 eval "$as_ac_Header=$ac_header_preproc"
12389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12394 cat >>confdefs.h <<_ACEOF
12395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12405 for ac_header in wctype.h
12407 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12409 echo "$as_me:$LINENO: checking for $ac_header" >&5
12410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12412 echo $ECHO_N "(cached) $ECHO_C" >&6
12414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12417 # Is the header compilable?
12418 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12420 cat >conftest.$ac_ext <<_ACEOF
12421 #line $LINENO "configure"
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 $ac_includes_default
12428 #include <$ac_header>
12430 rm -f conftest.$ac_objext
12431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12432 (eval $ac_compile) 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); } &&
12436 { ac_try='test -s conftest.$ac_objext'
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; }; then
12442 ac_header_compiler=yes
12444 echo "$as_me: failed program was:" >&5
12445 sed 's/^/| /' conftest.$ac_ext >&5
12447 ac_header_compiler=no
12449 rm -f conftest.$ac_objext conftest.$ac_ext
12450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12451 echo "${ECHO_T}$ac_header_compiler" >&6
12453 # Is the header present?
12454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12456 cat >conftest.$ac_ext <<_ACEOF
12457 #line $LINENO "configure"
12460 cat confdefs.h >>conftest.$ac_ext
12461 cat >>conftest.$ac_ext <<_ACEOF
12462 /* end confdefs.h. */
12463 #include <$ac_header>
12465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12468 grep -v '^ *+' conftest.er1 >conftest.err
12470 cat conftest.err >&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); } >/dev/null; then
12473 if test -s conftest.err; then
12474 ac_cpp_err=$ac_c_preproc_warn_flag
12481 if test -z "$ac_cpp_err"; then
12482 ac_header_preproc=yes
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.$ac_ext >&5
12487 ac_header_preproc=no
12489 rm -f conftest.err conftest.$ac_ext
12490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12491 echo "${ECHO_T}$ac_header_preproc" >&6
12493 # So? What about this header?
12494 case $ac_header_compiler:$ac_header_preproc in
12496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12502 ## ------------------------------------ ##
12503 ## Report this to bug-autoconf@gnu.org. ##
12504 ## ------------------------------------ ##
12507 sed "s/^/$as_me: WARNING: /" >&2
12510 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12511 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12512 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12513 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12515 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12518 ## ------------------------------------ ##
12519 ## Report this to bug-autoconf@gnu.org. ##
12520 ## ------------------------------------ ##
12523 sed "s/^/$as_me: WARNING: /" >&2
12526 echo "$as_me:$LINENO: checking for $ac_header" >&5
12527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12531 eval "$as_ac_Header=$ac_header_preproc"
12533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12538 cat >>confdefs.h <<_ACEOF
12539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12541 ac_has_wctype_h=yes
12549 # Only continue checking if the ISO C99 headers exist and support is on.
12550 if test x"$ac_has_wchar_h" = xyes &&
12551 test x"$ac_has_wctype_h" = xyes &&
12552 test x"$enable_c_mbchar" != xno; then
12554 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
12555 # numeric_limits can instantiate type_traits<wchar_t>
12556 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
12557 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
12558 cat >conftest.$ac_ext <<_ACEOF
12559 #line $LINENO "configure"
12562 cat confdefs.h >>conftest.$ac_ext
12563 cat >>conftest.$ac_ext <<_ACEOF
12564 /* end confdefs.h. */
12569 int i = WCHAR_MIN; int j = WCHAR_MAX;
12574 rm -f conftest.$ac_objext
12575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12576 (eval $ac_compile) 2>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } &&
12580 { ac_try='test -s conftest.$ac_objext'
12581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12582 (eval $ac_try) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); }; }; then
12586 has_wchar_minmax=yes
12588 echo "$as_me: failed program was:" >&5
12589 sed 's/^/| /' conftest.$ac_ext >&5
12591 has_wchar_minmax=no
12593 rm -f conftest.$ac_objext conftest.$ac_ext
12594 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
12595 echo "${ECHO_T}$has_wchar_minmax" >&6
12597 # Test wchar.h for WEOF, which is what we use to determine whether
12598 # to specialize for char_traits<wchar_t> or not.
12599 echo "$as_me:$LINENO: checking for WEOF" >&5
12600 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
12601 cat >conftest.$ac_ext <<_ACEOF
12602 #line $LINENO "configure"
12605 cat confdefs.h >>conftest.$ac_ext
12606 cat >>conftest.$ac_ext <<_ACEOF
12607 /* end confdefs.h. */
12610 #include <stddef.h>
12619 rm -f conftest.$ac_objext
12620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12621 (eval $ac_compile) 2>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } &&
12625 { ac_try='test -s conftest.$ac_objext'
12626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12627 (eval $ac_try) 2>&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); }; }; then
12633 echo "$as_me: failed program was:" >&5
12634 sed 's/^/| /' conftest.$ac_ext >&5
12638 rm -f conftest.$ac_objext conftest.$ac_ext
12639 echo "$as_me:$LINENO: result: $has_weof" >&5
12640 echo "${ECHO_T}$has_weof" >&6
12642 # Tests for wide character functions used in char_traits<wchar_t>.
12650 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
12652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12653 echo "$as_me:$LINENO: checking for $ac_func" >&5
12654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12655 if eval "test \"\${$as_ac_var+set}\" = set"; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 cat >conftest.$ac_ext <<_ACEOF
12659 #line $LINENO "configure"
12662 cat confdefs.h >>conftest.$ac_ext
12663 cat >>conftest.$ac_ext <<_ACEOF
12664 /* end confdefs.h. */
12665 /* System header to define __stub macros and hopefully few prototypes,
12666 which can conflict with char $ac_func (); below.
12667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12668 <limits.h> exists even on freestanding compilers. */
12670 # include <limits.h>
12672 # include <assert.h>
12674 /* Override any gcc2 internal prototype to avoid an error. */
12679 /* We use char because int might match the return type of a gcc2
12680 builtin and then its argument prototype would still apply. */
12682 /* The GNU C library defines this for functions which it implements
12683 to always fail with ENOSYS. Some functions are actually named
12684 something starting with __ and the normal name is an alias. */
12685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12688 char (*f) () = $ac_func;
12697 return f != $ac_func;
12702 rm -f conftest.$ac_objext conftest$ac_exeext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12704 (eval $ac_link) 2>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); } &&
12708 { ac_try='test -s conftest$ac_exeext'
12709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12710 (eval $ac_try) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; }; then
12714 eval "$as_ac_var=yes"
12716 echo "$as_me: failed program was:" >&5
12717 sed 's/^/| /' conftest.$ac_ext >&5
12719 eval "$as_ac_var=no"
12721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12725 if test `eval echo '${'$as_ac_var'}'` = yes; then
12726 cat >>confdefs.h <<_ACEOF
12727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12736 # Checks for names injected into std:: by the c_std headers.
12787 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
12788 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
12789 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
12790 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
12791 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
12792 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
12794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12795 echo "$as_me:$LINENO: checking for $ac_func" >&5
12796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12797 if eval "test \"\${$as_ac_var+set}\" = set"; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 cat >conftest.$ac_ext <<_ACEOF
12801 #line $LINENO "configure"
12804 cat confdefs.h >>conftest.$ac_ext
12805 cat >>conftest.$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12807 /* System header to define __stub macros and hopefully few prototypes,
12808 which can conflict with char $ac_func (); below.
12809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12810 <limits.h> exists even on freestanding compilers. */
12812 # include <limits.h>
12814 # include <assert.h>
12816 /* Override any gcc2 internal prototype to avoid an error. */
12821 /* We use char because int might match the return type of a gcc2
12822 builtin and then its argument prototype would still apply. */
12824 /* The GNU C library defines this for functions which it implements
12825 to always fail with ENOSYS. Some functions are actually named
12826 something starting with __ and the normal name is an alias. */
12827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12830 char (*f) () = $ac_func;
12839 return f != $ac_func;
12844 rm -f conftest.$ac_objext conftest$ac_exeext
12845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12846 (eval $ac_link) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); } &&
12850 { ac_try='test -s conftest$ac_exeext'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; }; then
12856 eval "$as_ac_var=yes"
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.$ac_ext >&5
12861 eval "$as_ac_var=no"
12863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12867 if test `eval echo '${'$as_ac_var'}'` = yes; then
12868 cat >>confdefs.h <<_ACEOF
12869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12878 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
12879 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
12880 if test x"$has_weof" = xyes &&
12881 test x"$has_wchar_minmax" = xyes &&
12882 test x"$ac_wfuncs" = xyes;
12884 ac_isoC99_wchar_t=yes
12886 ac_isoC99_wchar_t=no
12888 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
12889 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
12891 # Use iconv for wchar_t to char conversions. As such, check for
12892 # X/Open Portability Guide, version 2 features (XPG2).
12893 if test "${ac_cv_header_iconv_h+set}" = set; then
12894 echo "$as_me:$LINENO: checking for iconv.h" >&5
12895 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
12896 if test "${ac_cv_header_iconv_h+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
12900 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
12902 # Is the header compilable?
12903 echo "$as_me:$LINENO: checking iconv.h usability" >&5
12904 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
12905 cat >conftest.$ac_ext <<_ACEOF
12906 #line $LINENO "configure"
12909 cat confdefs.h >>conftest.$ac_ext
12910 cat >>conftest.$ac_ext <<_ACEOF
12911 /* end confdefs.h. */
12912 $ac_includes_default
12915 rm -f conftest.$ac_objext
12916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12917 (eval $ac_compile) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } &&
12921 { ac_try='test -s conftest.$ac_objext'
12922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12923 (eval $ac_try) 2>&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); }; }; then
12927 ac_header_compiler=yes
12929 echo "$as_me: failed program was:" >&5
12930 sed 's/^/| /' conftest.$ac_ext >&5
12932 ac_header_compiler=no
12934 rm -f conftest.$ac_objext conftest.$ac_ext
12935 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12936 echo "${ECHO_T}$ac_header_compiler" >&6
12938 # Is the header present?
12939 echo "$as_me:$LINENO: checking iconv.h presence" >&5
12940 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
12941 cat >conftest.$ac_ext <<_ACEOF
12942 #line $LINENO "configure"
12945 cat confdefs.h >>conftest.$ac_ext
12946 cat >>conftest.$ac_ext <<_ACEOF
12947 /* end confdefs.h. */
12950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12953 grep -v '^ *+' conftest.er1 >conftest.err
12955 cat conftest.err >&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); } >/dev/null; then
12958 if test -s conftest.err; then
12959 ac_cpp_err=$ac_c_preproc_warn_flag
12966 if test -z "$ac_cpp_err"; then
12967 ac_header_preproc=yes
12969 echo "$as_me: failed program was:" >&5
12970 sed 's/^/| /' conftest.$ac_ext >&5
12972 ac_header_preproc=no
12974 rm -f conftest.err conftest.$ac_ext
12975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12976 echo "${ECHO_T}$ac_header_preproc" >&6
12978 # So? What about this header?
12979 case $ac_header_compiler:$ac_header_preproc in
12981 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
12982 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12983 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
12984 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
12987 ## ------------------------------------ ##
12988 ## Report this to bug-autoconf@gnu.org. ##
12989 ## ------------------------------------ ##
12992 sed "s/^/$as_me: WARNING: /" >&2
12995 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
12996 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
12997 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
12998 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
12999 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
13000 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
13003 ## ------------------------------------ ##
13004 ## Report this to bug-autoconf@gnu.org. ##
13005 ## ------------------------------------ ##
13008 sed "s/^/$as_me: WARNING: /" >&2
13011 echo "$as_me:$LINENO: checking for iconv.h" >&5
13012 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
13013 if test "${ac_cv_header_iconv_h+set}" = set; then
13014 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 ac_cv_header_iconv_h=$ac_header_preproc
13018 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
13019 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
13022 if test $ac_cv_header_iconv_h = yes; then
13029 if test "${ac_cv_header_langinfo_h+set}" = set; then
13030 echo "$as_me:$LINENO: checking for langinfo.h" >&5
13031 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
13032 if test "${ac_cv_header_langinfo_h+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
13036 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
13038 # Is the header compilable?
13039 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
13040 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
13041 cat >conftest.$ac_ext <<_ACEOF
13042 #line $LINENO "configure"
13045 cat confdefs.h >>conftest.$ac_ext
13046 cat >>conftest.$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13048 $ac_includes_default
13049 #include <langinfo.h>
13051 rm -f conftest.$ac_objext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13053 (eval $ac_compile) 2>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); } &&
13057 { ac_try='test -s conftest.$ac_objext'
13058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13059 (eval $ac_try) 2>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); }; }; then
13063 ac_header_compiler=yes
13065 echo "$as_me: failed program was:" >&5
13066 sed 's/^/| /' conftest.$ac_ext >&5
13068 ac_header_compiler=no
13070 rm -f conftest.$ac_objext conftest.$ac_ext
13071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13072 echo "${ECHO_T}$ac_header_compiler" >&6
13074 # Is the header present?
13075 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
13076 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
13077 cat >conftest.$ac_ext <<_ACEOF
13078 #line $LINENO "configure"
13081 cat confdefs.h >>conftest.$ac_ext
13082 cat >>conftest.$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13084 #include <langinfo.h>
13086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13089 grep -v '^ *+' conftest.er1 >conftest.err
13091 cat conftest.err >&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); } >/dev/null; then
13094 if test -s conftest.err; then
13095 ac_cpp_err=$ac_c_preproc_warn_flag
13102 if test -z "$ac_cpp_err"; then
13103 ac_header_preproc=yes
13105 echo "$as_me: failed program was:" >&5
13106 sed 's/^/| /' conftest.$ac_ext >&5
13108 ac_header_preproc=no
13110 rm -f conftest.err conftest.$ac_ext
13111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13112 echo "${ECHO_T}$ac_header_preproc" >&6
13114 # So? What about this header?
13115 case $ac_header_compiler:$ac_header_preproc in
13117 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
13118 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13119 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
13120 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
13123 ## ------------------------------------ ##
13124 ## Report this to bug-autoconf@gnu.org. ##
13125 ## ------------------------------------ ##
13128 sed "s/^/$as_me: WARNING: /" >&2
13131 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
13132 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
13133 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
13134 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
13135 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
13136 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
13139 ## ------------------------------------ ##
13140 ## Report this to bug-autoconf@gnu.org. ##
13141 ## ------------------------------------ ##
13144 sed "s/^/$as_me: WARNING: /" >&2
13147 echo "$as_me:$LINENO: checking for langinfo.h" >&5
13148 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
13149 if test "${ac_cv_header_langinfo_h+set}" = set; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13152 ac_cv_header_langinfo_h=$ac_header_preproc
13154 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
13155 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
13158 if test $ac_cv_header_langinfo_h = yes; then
13159 ac_has_langinfo_h=yes
13161 ac_has_langinfo_h=no
13166 # Check for existence of libiconv.a providing XPG2 wchar_t support.
13167 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
13168 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
13169 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 ac_check_lib_save_LIBS=$LIBS
13173 LIBS="-liconv $LIBS"
13174 cat >conftest.$ac_ext <<_ACEOF
13175 #line $LINENO "configure"
13178 cat confdefs.h >>conftest.$ac_ext
13179 cat >>conftest.$ac_ext <<_ACEOF
13180 /* end confdefs.h. */
13182 /* Override any gcc2 internal prototype to avoid an error. */
13186 /* We use char because int might match the return type of a gcc2
13187 builtin and then its argument prototype would still apply. */
13197 rm -f conftest.$ac_objext conftest$ac_exeext
13198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13199 (eval $ac_link) 2>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); } &&
13203 { ac_try='test -s conftest$ac_exeext'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; }; then
13209 ac_cv_lib_iconv_iconv=yes
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.$ac_ext >&5
13214 ac_cv_lib_iconv_iconv=no
13216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13217 LIBS=$ac_check_lib_save_LIBS
13219 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
13220 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
13221 if test $ac_cv_lib_iconv_iconv = yes; then
13225 ac_save_LIBS="$LIBS"
13226 LIBS="$LIBS $libiconv"
13232 for ac_func in iconv_open iconv_close iconv nl_langinfo
13234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13235 echo "$as_me:$LINENO: checking for $ac_func" >&5
13236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13237 if eval "test \"\${$as_ac_var+set}\" = set"; then
13238 echo $ECHO_N "(cached) $ECHO_C" >&6
13240 cat >conftest.$ac_ext <<_ACEOF
13241 #line $LINENO "configure"
13244 cat confdefs.h >>conftest.$ac_ext
13245 cat >>conftest.$ac_ext <<_ACEOF
13246 /* end confdefs.h. */
13247 /* System header to define __stub macros and hopefully few prototypes,
13248 which can conflict with char $ac_func (); below.
13249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13250 <limits.h> exists even on freestanding compilers. */
13252 # include <limits.h>
13254 # include <assert.h>
13256 /* Override any gcc2 internal prototype to avoid an error. */
13261 /* We use char because int might match the return type of a gcc2
13262 builtin and then its argument prototype would still apply. */
13264 /* The GNU C library defines this for functions which it implements
13265 to always fail with ENOSYS. Some functions are actually named
13266 something starting with __ and the normal name is an alias. */
13267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13270 char (*f) () = $ac_func;
13279 return f != $ac_func;
13284 rm -f conftest.$ac_objext conftest$ac_exeext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13286 (eval $ac_link) 2>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } &&
13290 { ac_try='test -s conftest$ac_exeext'
13291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292 (eval $ac_try) 2>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; }; then
13296 eval "$as_ac_var=yes"
13298 echo "$as_me: failed program was:" >&5
13299 sed 's/^/| /' conftest.$ac_ext >&5
13301 eval "$as_ac_var=no"
13303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13307 if test `eval echo '${'$as_ac_var'}'` = yes; then
13308 cat >>confdefs.h <<_ACEOF
13309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13318 LIBS="$ac_save_LIBS"
13320 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
13321 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
13322 if test x"$ac_has_iconv_h" = xyes &&
13323 test x"$ac_has_langinfo_h" = xyes &&
13324 test x"$ac_XPG2funcs" = xyes;
13326 ac_XPG2_wchar_t=yes
13330 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
13331 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
13333 # At the moment, only enable wchar_t specializations if all the
13334 # above support is present.
13335 if test x"$ac_isoC99_wchar_t" = xyes &&
13336 test x"$ac_XPG2_wchar_t" = xyes;
13338 cat >>confdefs.h <<\_ACEOF
13339 #define _GLIBCXX_USE_WCHAR_T 1
13345 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
13346 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
13347 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
13348 echo "${ECHO_T}$enable_wchar_t" >&6
13350 cat >>confdefs.h <<\_ACEOF
13351 #define HAVE_COPYSIGN 1
13354 cat >>confdefs.h <<\_ACEOF
13355 #define HAVE_COPYSIGNF 1
13358 cat >>confdefs.h <<\_ACEOF
13359 #define HAVE_FINITE 1
13362 cat >>confdefs.h <<\_ACEOF
13363 #define HAVE_FINITEF 1
13366 cat >>confdefs.h <<\_ACEOF
13367 #define HAVE_FREXPF 1
13370 cat >>confdefs.h <<\_ACEOF
13371 #define HAVE_HYPOTF 1
13374 cat >>confdefs.h <<\_ACEOF
13375 #define HAVE_ISINF 1
13378 cat >>confdefs.h <<\_ACEOF
13379 #define HAVE_ISINFF 1
13382 cat >>confdefs.h <<\_ACEOF
13383 #define HAVE_ISNAN 1
13386 cat >>confdefs.h <<\_ACEOF
13387 #define HAVE_ISNANF 1
13390 cat >>confdefs.h <<\_ACEOF
13391 #define HAVE_SINCOS 1
13394 cat >>confdefs.h <<\_ACEOF
13395 #define HAVE_SINCOSF 1
13398 if test x"long_double_math_on_this_cpu" = x"yes"; then
13399 cat >>confdefs.h <<\_ACEOF
13400 #define HAVE_FINITEL 1
13403 cat >>confdefs.h <<\_ACEOF
13404 #define HAVE_HYPOTL 1
13407 cat >>confdefs.h <<\_ACEOF
13408 #define HAVE_ISINFL 1
13411 cat >>confdefs.h <<\_ACEOF
13412 #define HAVE_ISNANL 1
13418 #os_include_dir="os/mingw32"
13422 for ac_header in sys/types.h locale.h float.h
13424 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13426 echo "$as_me:$LINENO: checking for $ac_header" >&5
13427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13434 # Is the header compilable?
13435 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13436 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13437 cat >conftest.$ac_ext <<_ACEOF
13438 #line $LINENO "configure"
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444 $ac_includes_default
13445 #include <$ac_header>
13447 rm -f conftest.$ac_objext
13448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13449 (eval $ac_compile) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } &&
13453 { ac_try='test -s conftest.$ac_objext'
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 ac_header_compiler=yes
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.$ac_ext >&5
13464 ac_header_compiler=no
13466 rm -f conftest.$ac_objext conftest.$ac_ext
13467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13468 echo "${ECHO_T}$ac_header_compiler" >&6
13470 # Is the header present?
13471 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13473 cat >conftest.$ac_ext <<_ACEOF
13474 #line $LINENO "configure"
13477 cat confdefs.h >>conftest.$ac_ext
13478 cat >>conftest.$ac_ext <<_ACEOF
13479 /* end confdefs.h. */
13480 #include <$ac_header>
13482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13485 grep -v '^ *+' conftest.er1 >conftest.err
13487 cat conftest.err >&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); } >/dev/null; then
13490 if test -s conftest.err; then
13491 ac_cpp_err=$ac_c_preproc_warn_flag
13498 if test -z "$ac_cpp_err"; then
13499 ac_header_preproc=yes
13501 echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.$ac_ext >&5
13504 ac_header_preproc=no
13506 rm -f conftest.err conftest.$ac_ext
13507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13508 echo "${ECHO_T}$ac_header_preproc" >&6
13510 # So? What about this header?
13511 case $ac_header_compiler:$ac_header_preproc in
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13519 ## ------------------------------------ ##
13520 ## Report this to bug-autoconf@gnu.org. ##
13521 ## ------------------------------------ ##
13524 sed "s/^/$as_me: WARNING: /" >&2
13527 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13528 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13529 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13530 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13535 ## ------------------------------------ ##
13536 ## Report this to bug-autoconf@gnu.org. ##
13537 ## ------------------------------------ ##
13540 sed "s/^/$as_me: WARNING: /" >&2
13543 echo "$as_me:$LINENO: checking for $ac_header" >&5
13544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13546 echo $ECHO_N "(cached) $ECHO_C" >&6
13548 eval "$as_ac_Header=$ac_header_preproc"
13550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13555 cat >>confdefs.h <<_ACEOF
13556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13564 # If we're not using GNU ld, then there's no point in even trying these
13565 # tests. Check for that first. We should have already tested for gld
13566 # by now (in libtool), but require it now just to be safe...
13567 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
13568 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
13572 # The name set by libtool depends on the version of libtool. Shame on us
13573 # for depending on an impl detail, but c'est la vie. Older versions used
13574 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
13575 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
13576 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
13577 # set (hence we're using an older libtool), then set it.
13578 if test x${with_gnu_ld+set} != xset; then
13579 if test x${ac_cv_prog_gnu_ld+set} != xset; then
13580 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
13583 with_gnu_ld=$ac_cv_prog_gnu_ld
13587 # Start by getting the version number. I think the libtool test already
13588 # does some of this, but throws away the result.
13590 ldver=`$LD --version 2>/dev/null | head -1 | \
13591 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
13593 glibcxx_gnu_ld_version=`echo $ldver | \
13594 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
13596 # Set --gc-sections.
13597 if test "$with_gnu_ld" = "notbroken"; then
13598 # GNU ld it is! Joy and bunny rabbits!
13600 # All these tests are for C++; save the language and the compiler flags.
13601 # Need to do this so that g++ won't try to link in libstdc++
13602 ac_test_CFLAGS="${CFLAGS+set}"
13603 ac_save_CFLAGS="$CFLAGS"
13604 CFLAGS='-x c++ -Wl,--gc-sections'
13606 # Check for -Wl,--gc-sections
13607 # XXX This test is broken at the moment, as symbols required for linking
13608 # are now in libsupc++ (not built yet). In addition, this test has
13609 # cored on solaris in the past. In addition, --gc-sections doesn't
13610 # really work at the moment (keeps on discarding used sections, first
13611 # .eh_frame and now some of the glibc sections for iconv).
13612 # Bzzzzt. Thanks for playing, maybe next time.
13613 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
13614 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
13615 if test "$cross_compiling" = yes; then
13616 ac_sectionLDflags=yes
13618 cat >conftest.$ac_ext <<_ACEOF
13619 #line $LINENO "configure"
13622 cat confdefs.h >>conftest.$ac_ext
13623 cat >>conftest.$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13634 rm -f conftest$ac_exeext
13635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13636 (eval $ac_link) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; }; then
13645 ac_sectionLDflags=yes
13647 echo "$as_me: program exited with status $ac_status" >&5
13648 echo "$as_me: failed program was:" >&5
13649 sed 's/^/| /' conftest.$ac_ext >&5
13651 ( exit $ac_status )
13652 ac_sectionLDflags=no
13654 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13656 if test "$ac_test_CFLAGS" = set; then
13657 CFLAGS="$ac_save_CFLAGS"
13659 # this is the suspicious part
13662 if test "$ac_sectionLDflags" = "yes"; then
13663 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
13665 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
13666 echo "${ECHO_T}$ac_sectionLDflags" >&6
13669 # Set linker optimization flags.
13670 if test x"$with_gnu_ld" = x"yes"; then
13671 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
13679 echo "$as_me:$LINENO: checking for main in -lm" >&5
13680 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
13681 if test "${ac_cv_lib_m_main+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 ac_check_lib_save_LIBS=$LIBS
13686 cat >conftest.$ac_ext <<_ACEOF
13687 #line $LINENO "configure"
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13703 rm -f conftest.$ac_objext conftest$ac_exeext
13704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13705 (eval $ac_link) 2>&5
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); } &&
13709 { ac_try='test -s conftest$ac_exeext'
13710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13711 (eval $ac_try) 2>&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); }; }; then
13715 ac_cv_lib_m_main=yes
13717 echo "$as_me: failed program was:" >&5
13718 sed 's/^/| /' conftest.$ac_ext >&5
13720 ac_cv_lib_m_main=no
13722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13723 LIBS=$ac_check_lib_save_LIBS
13725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
13726 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
13727 if test $ac_cv_lib_m_main = yes; then
13728 cat >>confdefs.h <<_ACEOF
13729 #define HAVE_LIBM 1
13738 for ac_func in nan copysignf
13740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13741 echo "$as_me:$LINENO: checking for $ac_func" >&5
13742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13743 if eval "test \"\${$as_ac_var+set}\" = set"; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13746 cat >conftest.$ac_ext <<_ACEOF
13747 #line $LINENO "configure"
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 /* System header to define __stub macros and hopefully few prototypes,
13754 which can conflict with char $ac_func (); below.
13755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13756 <limits.h> exists even on freestanding compilers. */
13758 # include <limits.h>
13760 # include <assert.h>
13762 /* Override any gcc2 internal prototype to avoid an error. */
13767 /* We use char because int might match the return type of a gcc2
13768 builtin and then its argument prototype would still apply. */
13770 /* The GNU C library defines this for functions which it implements
13771 to always fail with ENOSYS. Some functions are actually named
13772 something starting with __ and the normal name is an alias. */
13773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13776 char (*f) () = $ac_func;
13785 return f != $ac_func;
13790 rm -f conftest.$ac_objext conftest$ac_exeext
13791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13792 (eval $ac_link) 2>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } &&
13796 { ac_try='test -s conftest$ac_exeext'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; }; then
13802 eval "$as_ac_var=yes"
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.$ac_ext >&5
13807 eval "$as_ac_var=no"
13809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13813 if test `eval echo '${'$as_ac_var'}'` = yes; then
13814 cat >>confdefs.h <<_ACEOF
13815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13819 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
13825 for ac_func in __signbit
13827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13828 echo "$as_me:$LINENO: checking for $ac_func" >&5
13829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13830 if eval "test \"\${$as_ac_var+set}\" = set"; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 cat >conftest.$ac_ext <<_ACEOF
13834 #line $LINENO "configure"
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13840 /* System header to define __stub macros and hopefully few prototypes,
13841 which can conflict with char $ac_func (); below.
13842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13843 <limits.h> exists even on freestanding compilers. */
13845 # include <limits.h>
13847 # include <assert.h>
13849 /* Override any gcc2 internal prototype to avoid an error. */
13854 /* We use char because int might match the return type of a gcc2
13855 builtin and then its argument prototype would still apply. */
13857 /* The GNU C library defines this for functions which it implements
13858 to always fail with ENOSYS. Some functions are actually named
13859 something starting with __ and the normal name is an alias. */
13860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13863 char (*f) () = $ac_func;
13872 return f != $ac_func;
13877 rm -f conftest.$ac_objext conftest$ac_exeext
13878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13879 (eval $ac_link) 2>&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try='test -s conftest$ac_exeext'
13884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 (eval $ac_try) 2>&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; }; then
13889 eval "$as_ac_var=yes"
13891 echo "$as_me: failed program was:" >&5
13892 sed 's/^/| /' conftest.$ac_ext >&5
13894 eval "$as_ac_var=no"
13896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13900 if test `eval echo '${'$as_ac_var'}'` = yes; then
13901 cat >>confdefs.h <<_ACEOF
13902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13906 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
13911 for ac_func in __signbitf
13913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13914 echo "$as_me:$LINENO: checking for $ac_func" >&5
13915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13916 if eval "test \"\${$as_ac_var+set}\" = set"; then
13917 echo $ECHO_N "(cached) $ECHO_C" >&6
13919 cat >conftest.$ac_ext <<_ACEOF
13920 #line $LINENO "configure"
13923 cat confdefs.h >>conftest.$ac_ext
13924 cat >>conftest.$ac_ext <<_ACEOF
13925 /* end confdefs.h. */
13926 /* System header to define __stub macros and hopefully few prototypes,
13927 which can conflict with char $ac_func (); below.
13928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13929 <limits.h> exists even on freestanding compilers. */
13931 # include <limits.h>
13933 # include <assert.h>
13935 /* Override any gcc2 internal prototype to avoid an error. */
13940 /* We use char because int might match the return type of a gcc2
13941 builtin and then its argument prototype would still apply. */
13943 /* The GNU C library defines this for functions which it implements
13944 to always fail with ENOSYS. Some functions are actually named
13945 something starting with __ and the normal name is an alias. */
13946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13949 char (*f) () = $ac_func;
13958 return f != $ac_func;
13963 rm -f conftest.$ac_objext conftest$ac_exeext
13964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13965 (eval $ac_link) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } &&
13969 { ac_try='test -s conftest$ac_exeext'
13970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13971 (eval $ac_try) 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }; }; then
13975 eval "$as_ac_var=yes"
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.$ac_ext >&5
13980 eval "$as_ac_var=no"
13982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13986 if test `eval echo '${'$as_ac_var'}'` = yes; then
13987 cat >>confdefs.h <<_ACEOF
13988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13992 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
13997 if test x$ac_cv_func_copysignl = x"yes"; then
13999 for ac_func in __signbitl
14001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14002 echo "$as_me:$LINENO: checking for $ac_func" >&5
14003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14004 if eval "test \"\${$as_ac_var+set}\" = set"; then
14005 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 cat >conftest.$ac_ext <<_ACEOF
14008 #line $LINENO "configure"
14011 cat confdefs.h >>conftest.$ac_ext
14012 cat >>conftest.$ac_ext <<_ACEOF
14013 /* end confdefs.h. */
14014 /* System header to define __stub macros and hopefully few prototypes,
14015 which can conflict with char $ac_func (); below.
14016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14017 <limits.h> exists even on freestanding compilers. */
14019 # include <limits.h>
14021 # include <assert.h>
14023 /* Override any gcc2 internal prototype to avoid an error. */
14028 /* We use char because int might match the return type of a gcc2
14029 builtin and then its argument prototype would still apply. */
14031 /* The GNU C library defines this for functions which it implements
14032 to always fail with ENOSYS. Some functions are actually named
14033 something starting with __ and the normal name is an alias. */
14034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14037 char (*f) () = $ac_func;
14046 return f != $ac_func;
14051 rm -f conftest.$ac_objext conftest$ac_exeext
14052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14053 (eval $ac_link) 2>&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } &&
14057 { ac_try='test -s conftest$ac_exeext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 eval "$as_ac_var=yes"
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.$ac_ext >&5
14068 eval "$as_ac_var=no"
14070 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14074 if test `eval echo '${'$as_ac_var'}'` = yes; then
14075 cat >>confdefs.h <<_ACEOF
14076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14080 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
14086 if test -n "$LIBMATHOBJS"; then
14092 # Test wchar.h for mbstate_t, which is needed for char_traits and
14093 # others even if wchar_t support is not on.
14094 echo "$as_me:$LINENO: checking for mbstate_t" >&5
14095 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
14096 cat >conftest.$ac_ext <<_ACEOF
14097 #line $LINENO "configure"
14100 cat confdefs.h >>conftest.$ac_ext
14101 cat >>conftest.$ac_ext <<_ACEOF
14102 /* end confdefs.h. */
14107 mbstate_t teststate;
14112 rm -f conftest.$ac_objext
14113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14114 (eval $ac_compile) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } &&
14118 { ac_try='test -s conftest.$ac_objext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14131 rm -f conftest.$ac_objext conftest.$ac_ext
14132 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
14133 echo "${ECHO_T}$have_mbstate_t" >&6
14134 if test x"$have_mbstate_t" = xyes; then
14135 cat >>confdefs.h <<\_ACEOF
14136 #define HAVE_MBSTATE_T 1
14141 # Sanity check for existence of ISO C99 headers for extended encoding.
14143 for ac_header in wchar.h
14145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14147 echo "$as_me:$LINENO: checking for $ac_header" >&5
14148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14155 # Is the header compilable?
14156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14158 cat >conftest.$ac_ext <<_ACEOF
14159 #line $LINENO "configure"
14162 cat confdefs.h >>conftest.$ac_ext
14163 cat >>conftest.$ac_ext <<_ACEOF
14164 /* end confdefs.h. */
14165 $ac_includes_default
14166 #include <$ac_header>
14168 rm -f conftest.$ac_objext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14170 (eval $ac_compile) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_header_compiler=yes
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14185 ac_header_compiler=no
14187 rm -f conftest.$ac_objext conftest.$ac_ext
14188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14189 echo "${ECHO_T}$ac_header_compiler" >&6
14191 # Is the header present?
14192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14194 cat >conftest.$ac_ext <<_ACEOF
14195 #line $LINENO "configure"
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14201 #include <$ac_header>
14203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14206 grep -v '^ *+' conftest.er1 >conftest.err
14208 cat conftest.err >&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); } >/dev/null; then
14211 if test -s conftest.err; then
14212 ac_cpp_err=$ac_c_preproc_warn_flag
14219 if test -z "$ac_cpp_err"; then
14220 ac_header_preproc=yes
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 ac_header_preproc=no
14227 rm -f conftest.err conftest.$ac_ext
14228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14229 echo "${ECHO_T}$ac_header_preproc" >&6
14231 # So? What about this header?
14232 case $ac_header_compiler:$ac_header_preproc in
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14240 ## ------------------------------------ ##
14241 ## Report this to bug-autoconf@gnu.org. ##
14242 ## ------------------------------------ ##
14245 sed "s/^/$as_me: WARNING: /" >&2
14248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14256 ## ------------------------------------ ##
14257 ## Report this to bug-autoconf@gnu.org. ##
14258 ## ------------------------------------ ##
14261 sed "s/^/$as_me: WARNING: /" >&2
14264 echo "$as_me:$LINENO: checking for $ac_header" >&5
14265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 eval "$as_ac_Header=$ac_header_preproc"
14271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14276 cat >>confdefs.h <<_ACEOF
14277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14287 for ac_header in wctype.h
14289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14291 echo "$as_me:$LINENO: checking for $ac_header" >&5
14292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14299 # Is the header compilable?
14300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14302 cat >conftest.$ac_ext <<_ACEOF
14303 #line $LINENO "configure"
14306 cat confdefs.h >>conftest.$ac_ext
14307 cat >>conftest.$ac_ext <<_ACEOF
14308 /* end confdefs.h. */
14309 $ac_includes_default
14310 #include <$ac_header>
14312 rm -f conftest.$ac_objext
14313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14314 (eval $ac_compile) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); } &&
14318 { ac_try='test -s conftest.$ac_objext'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; }; then
14324 ac_header_compiler=yes
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14329 ac_header_compiler=no
14331 rm -f conftest.$ac_objext conftest.$ac_ext
14332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14333 echo "${ECHO_T}$ac_header_compiler" >&6
14335 # Is the header present?
14336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14338 cat >conftest.$ac_ext <<_ACEOF
14339 #line $LINENO "configure"
14342 cat confdefs.h >>conftest.$ac_ext
14343 cat >>conftest.$ac_ext <<_ACEOF
14344 /* end confdefs.h. */
14345 #include <$ac_header>
14347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14350 grep -v '^ *+' conftest.er1 >conftest.err
14352 cat conftest.err >&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); } >/dev/null; then
14355 if test -s conftest.err; then
14356 ac_cpp_err=$ac_c_preproc_warn_flag
14363 if test -z "$ac_cpp_err"; then
14364 ac_header_preproc=yes
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14369 ac_header_preproc=no
14371 rm -f conftest.err conftest.$ac_ext
14372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14373 echo "${ECHO_T}$ac_header_preproc" >&6
14375 # So? What about this header?
14376 case $ac_header_compiler:$ac_header_preproc in
14378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14384 ## ------------------------------------ ##
14385 ## Report this to bug-autoconf@gnu.org. ##
14386 ## ------------------------------------ ##
14389 sed "s/^/$as_me: WARNING: /" >&2
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14397 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14400 ## ------------------------------------ ##
14401 ## Report this to bug-autoconf@gnu.org. ##
14402 ## ------------------------------------ ##
14405 sed "s/^/$as_me: WARNING: /" >&2
14408 echo "$as_me:$LINENO: checking for $ac_header" >&5
14409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14413 eval "$as_ac_Header=$ac_header_preproc"
14415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14420 cat >>confdefs.h <<_ACEOF
14421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14423 ac_has_wctype_h=yes
14431 # Only continue checking if the ISO C99 headers exist and support is on.
14432 if test x"$ac_has_wchar_h" = xyes &&
14433 test x"$ac_has_wctype_h" = xyes &&
14434 test x"$enable_c_mbchar" != xno; then
14436 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
14437 # numeric_limits can instantiate type_traits<wchar_t>
14438 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
14439 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
14440 cat >conftest.$ac_ext <<_ACEOF
14441 #line $LINENO "configure"
14444 cat confdefs.h >>conftest.$ac_ext
14445 cat >>conftest.$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14451 int i = WCHAR_MIN; int j = WCHAR_MAX;
14456 rm -f conftest.$ac_objext
14457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14458 (eval $ac_compile) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 has_wchar_minmax=yes
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14473 has_wchar_minmax=no
14475 rm -f conftest.$ac_objext conftest.$ac_ext
14476 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
14477 echo "${ECHO_T}$has_wchar_minmax" >&6
14479 # Test wchar.h for WEOF, which is what we use to determine whether
14480 # to specialize for char_traits<wchar_t> or not.
14481 echo "$as_me:$LINENO: checking for WEOF" >&5
14482 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
14483 cat >conftest.$ac_ext <<_ACEOF
14484 #line $LINENO "configure"
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14492 #include <stddef.h>
14501 rm -f conftest.$ac_objext
14502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14503 (eval $ac_compile) 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); } &&
14507 { ac_try='test -s conftest.$ac_objext'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; }; then
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14520 rm -f conftest.$ac_objext conftest.$ac_ext
14521 echo "$as_me:$LINENO: result: $has_weof" >&5
14522 echo "${ECHO_T}$has_weof" >&6
14524 # Tests for wide character functions used in char_traits<wchar_t>.
14532 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
14534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14535 echo "$as_me:$LINENO: checking for $ac_func" >&5
14536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14537 if eval "test \"\${$as_ac_var+set}\" = set"; then
14538 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 cat >conftest.$ac_ext <<_ACEOF
14541 #line $LINENO "configure"
14544 cat confdefs.h >>conftest.$ac_ext
14545 cat >>conftest.$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 /* System header to define __stub macros and hopefully few prototypes,
14548 which can conflict with char $ac_func (); below.
14549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14550 <limits.h> exists even on freestanding compilers. */
14552 # include <limits.h>
14554 # include <assert.h>
14556 /* Override any gcc2 internal prototype to avoid an error. */
14561 /* We use char because int might match the return type of a gcc2
14562 builtin and then its argument prototype would still apply. */
14564 /* The GNU C library defines this for functions which it implements
14565 to always fail with ENOSYS. Some functions are actually named
14566 something starting with __ and the normal name is an alias. */
14567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14570 char (*f) () = $ac_func;
14579 return f != $ac_func;
14584 rm -f conftest.$ac_objext conftest$ac_exeext
14585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14586 (eval $ac_link) 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try='test -s conftest$ac_exeext'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; }; then
14596 eval "$as_ac_var=yes"
14598 echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14601 eval "$as_ac_var=no"
14603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14607 if test `eval echo '${'$as_ac_var'}'` = yes; then
14608 cat >>confdefs.h <<_ACEOF
14609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14618 # Checks for names injected into std:: by the c_std headers.
14669 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
14670 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
14671 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
14672 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
14673 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
14674 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
14676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14677 echo "$as_me:$LINENO: checking for $ac_func" >&5
14678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14679 if eval "test \"\${$as_ac_var+set}\" = set"; then
14680 echo $ECHO_N "(cached) $ECHO_C" >&6
14682 cat >conftest.$ac_ext <<_ACEOF
14683 #line $LINENO "configure"
14686 cat confdefs.h >>conftest.$ac_ext
14687 cat >>conftest.$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14689 /* System header to define __stub macros and hopefully few prototypes,
14690 which can conflict with char $ac_func (); below.
14691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14692 <limits.h> exists even on freestanding compilers. */
14694 # include <limits.h>
14696 # include <assert.h>
14698 /* Override any gcc2 internal prototype to avoid an error. */
14703 /* We use char because int might match the return type of a gcc2
14704 builtin and then its argument prototype would still apply. */
14706 /* The GNU C library defines this for functions which it implements
14707 to always fail with ENOSYS. Some functions are actually named
14708 something starting with __ and the normal name is an alias. */
14709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14712 char (*f) () = $ac_func;
14721 return f != $ac_func;
14726 rm -f conftest.$ac_objext conftest$ac_exeext
14727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14728 (eval $ac_link) 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } &&
14732 { ac_try='test -s conftest$ac_exeext'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; }; then
14738 eval "$as_ac_var=yes"
14740 echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.$ac_ext >&5
14743 eval "$as_ac_var=no"
14745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14749 if test `eval echo '${'$as_ac_var'}'` = yes; then
14750 cat >>confdefs.h <<_ACEOF
14751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14760 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
14761 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
14762 if test x"$has_weof" = xyes &&
14763 test x"$has_wchar_minmax" = xyes &&
14764 test x"$ac_wfuncs" = xyes;
14766 ac_isoC99_wchar_t=yes
14768 ac_isoC99_wchar_t=no
14770 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
14771 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
14773 # Use iconv for wchar_t to char conversions. As such, check for
14774 # X/Open Portability Guide, version 2 features (XPG2).
14775 if test "${ac_cv_header_iconv_h+set}" = set; then
14776 echo "$as_me:$LINENO: checking for iconv.h" >&5
14777 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
14778 if test "${ac_cv_header_iconv_h+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
14782 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
14784 # Is the header compilable?
14785 echo "$as_me:$LINENO: checking iconv.h usability" >&5
14786 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
14787 cat >conftest.$ac_ext <<_ACEOF
14788 #line $LINENO "configure"
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 $ac_includes_default
14797 rm -f conftest.$ac_objext
14798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14799 (eval $ac_compile) 2>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } &&
14803 { ac_try='test -s conftest.$ac_objext'
14804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14805 (eval $ac_try) 2>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); }; }; then
14809 ac_header_compiler=yes
14811 echo "$as_me: failed program was:" >&5
14812 sed 's/^/| /' conftest.$ac_ext >&5
14814 ac_header_compiler=no
14816 rm -f conftest.$ac_objext conftest.$ac_ext
14817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14818 echo "${ECHO_T}$ac_header_compiler" >&6
14820 # Is the header present?
14821 echo "$as_me:$LINENO: checking iconv.h presence" >&5
14822 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
14823 cat >conftest.$ac_ext <<_ACEOF
14824 #line $LINENO "configure"
14827 cat confdefs.h >>conftest.$ac_ext
14828 cat >>conftest.$ac_ext <<_ACEOF
14829 /* end confdefs.h. */
14832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14835 grep -v '^ *+' conftest.er1 >conftest.err
14837 cat conftest.err >&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); } >/dev/null; then
14840 if test -s conftest.err; then
14841 ac_cpp_err=$ac_c_preproc_warn_flag
14848 if test -z "$ac_cpp_err"; then
14849 ac_header_preproc=yes
14851 echo "$as_me: failed program was:" >&5
14852 sed 's/^/| /' conftest.$ac_ext >&5
14854 ac_header_preproc=no
14856 rm -f conftest.err conftest.$ac_ext
14857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14858 echo "${ECHO_T}$ac_header_preproc" >&6
14860 # So? What about this header?
14861 case $ac_header_compiler:$ac_header_preproc in
14863 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
14864 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14865 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
14866 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
14869 ## ------------------------------------ ##
14870 ## Report this to bug-autoconf@gnu.org. ##
14871 ## ------------------------------------ ##
14874 sed "s/^/$as_me: WARNING: /" >&2
14877 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
14878 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
14879 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
14880 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
14881 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
14882 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
14885 ## ------------------------------------ ##
14886 ## Report this to bug-autoconf@gnu.org. ##
14887 ## ------------------------------------ ##
14890 sed "s/^/$as_me: WARNING: /" >&2
14893 echo "$as_me:$LINENO: checking for iconv.h" >&5
14894 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
14895 if test "${ac_cv_header_iconv_h+set}" = set; then
14896 echo $ECHO_N "(cached) $ECHO_C" >&6
14898 ac_cv_header_iconv_h=$ac_header_preproc
14900 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
14901 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
14904 if test $ac_cv_header_iconv_h = yes; then
14911 if test "${ac_cv_header_langinfo_h+set}" = set; then
14912 echo "$as_me:$LINENO: checking for langinfo.h" >&5
14913 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
14914 if test "${ac_cv_header_langinfo_h+set}" = set; then
14915 echo $ECHO_N "(cached) $ECHO_C" >&6
14917 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
14918 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
14920 # Is the header compilable?
14921 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
14922 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
14923 cat >conftest.$ac_ext <<_ACEOF
14924 #line $LINENO "configure"
14927 cat confdefs.h >>conftest.$ac_ext
14928 cat >>conftest.$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14930 $ac_includes_default
14931 #include <langinfo.h>
14933 rm -f conftest.$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try='test -s conftest.$ac_objext'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 ac_header_compiler=yes
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14950 ac_header_compiler=no
14952 rm -f conftest.$ac_objext conftest.$ac_ext
14953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14954 echo "${ECHO_T}$ac_header_compiler" >&6
14956 # Is the header present?
14957 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
14958 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
14959 cat >conftest.$ac_ext <<_ACEOF
14960 #line $LINENO "configure"
14963 cat confdefs.h >>conftest.$ac_ext
14964 cat >>conftest.$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14966 #include <langinfo.h>
14968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14971 grep -v '^ *+' conftest.er1 >conftest.err
14973 cat conftest.err >&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); } >/dev/null; then
14976 if test -s conftest.err; then
14977 ac_cpp_err=$ac_c_preproc_warn_flag
14984 if test -z "$ac_cpp_err"; then
14985 ac_header_preproc=yes
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14990 ac_header_preproc=no
14992 rm -f conftest.err conftest.$ac_ext
14993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14994 echo "${ECHO_T}$ac_header_preproc" >&6
14996 # So? What about this header?
14997 case $ac_header_compiler:$ac_header_preproc in
14999 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
15000 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15001 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
15002 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
15005 ## ------------------------------------ ##
15006 ## Report this to bug-autoconf@gnu.org. ##
15007 ## ------------------------------------ ##
15010 sed "s/^/$as_me: WARNING: /" >&2
15013 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
15014 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
15015 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
15016 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
15017 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
15018 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
15021 ## ------------------------------------ ##
15022 ## Report this to bug-autoconf@gnu.org. ##
15023 ## ------------------------------------ ##
15026 sed "s/^/$as_me: WARNING: /" >&2
15029 echo "$as_me:$LINENO: checking for langinfo.h" >&5
15030 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
15031 if test "${ac_cv_header_langinfo_h+set}" = set; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15034 ac_cv_header_langinfo_h=$ac_header_preproc
15036 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
15037 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
15040 if test $ac_cv_header_langinfo_h = yes; then
15041 ac_has_langinfo_h=yes
15043 ac_has_langinfo_h=no
15048 # Check for existence of libiconv.a providing XPG2 wchar_t support.
15049 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
15050 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
15051 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15054 ac_check_lib_save_LIBS=$LIBS
15055 LIBS="-liconv $LIBS"
15056 cat >conftest.$ac_ext <<_ACEOF
15057 #line $LINENO "configure"
15060 cat confdefs.h >>conftest.$ac_ext
15061 cat >>conftest.$ac_ext <<_ACEOF
15062 /* end confdefs.h. */
15064 /* Override any gcc2 internal prototype to avoid an error. */
15068 /* We use char because int might match the return type of a gcc2
15069 builtin and then its argument prototype would still apply. */
15079 rm -f conftest.$ac_objext conftest$ac_exeext
15080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15081 (eval $ac_link) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } &&
15085 { ac_try='test -s conftest$ac_exeext'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; }; then
15091 ac_cv_lib_iconv_iconv=yes
15093 echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.$ac_ext >&5
15096 ac_cv_lib_iconv_iconv=no
15098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15099 LIBS=$ac_check_lib_save_LIBS
15101 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
15102 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
15103 if test $ac_cv_lib_iconv_iconv = yes; then
15107 ac_save_LIBS="$LIBS"
15108 LIBS="$LIBS $libiconv"
15114 for ac_func in iconv_open iconv_close iconv nl_langinfo
15116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15117 echo "$as_me:$LINENO: checking for $ac_func" >&5
15118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15119 if eval "test \"\${$as_ac_var+set}\" = set"; then
15120 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 cat >conftest.$ac_ext <<_ACEOF
15123 #line $LINENO "configure"
15126 cat confdefs.h >>conftest.$ac_ext
15127 cat >>conftest.$ac_ext <<_ACEOF
15128 /* end confdefs.h. */
15129 /* System header to define __stub macros and hopefully few prototypes,
15130 which can conflict with char $ac_func (); below.
15131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15132 <limits.h> exists even on freestanding compilers. */
15134 # include <limits.h>
15136 # include <assert.h>
15138 /* Override any gcc2 internal prototype to avoid an error. */
15143 /* We use char because int might match the return type of a gcc2
15144 builtin and then its argument prototype would still apply. */
15146 /* The GNU C library defines this for functions which it implements
15147 to always fail with ENOSYS. Some functions are actually named
15148 something starting with __ and the normal name is an alias. */
15149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15152 char (*f) () = $ac_func;
15161 return f != $ac_func;
15166 rm -f conftest.$ac_objext conftest$ac_exeext
15167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15168 (eval $ac_link) 2>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); } &&
15172 { ac_try='test -s conftest$ac_exeext'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; }; then
15178 eval "$as_ac_var=yes"
15180 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.$ac_ext >&5
15183 eval "$as_ac_var=no"
15185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15189 if test `eval echo '${'$as_ac_var'}'` = yes; then
15190 cat >>confdefs.h <<_ACEOF
15191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15200 LIBS="$ac_save_LIBS"
15202 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
15203 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
15204 if test x"$ac_has_iconv_h" = xyes &&
15205 test x"$ac_has_langinfo_h" = xyes &&
15206 test x"$ac_XPG2funcs" = xyes;
15208 ac_XPG2_wchar_t=yes
15212 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
15213 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
15215 # At the moment, only enable wchar_t specializations if all the
15216 # above support is present.
15217 if test x"$ac_isoC99_wchar_t" = xyes &&
15218 test x"$ac_XPG2_wchar_t" = xyes;
15220 cat >>confdefs.h <<\_ACEOF
15221 #define _GLIBCXX_USE_WCHAR_T 1
15227 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15228 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15229 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15230 echo "${ECHO_T}$enable_wchar_t" >&6
15234 #os_include_dir="os/bsd/netbsd"
15247 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
15248 machine/endian.h machine/param.h sys/machine.h sys/types.h \
15249 fp.h locale.h float.h inttypes.h
15251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15253 echo "$as_me:$LINENO: checking for $ac_header" >&5
15254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15261 # Is the header compilable?
15262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15264 cat >conftest.$ac_ext <<_ACEOF
15265 #line $LINENO "configure"
15268 cat confdefs.h >>conftest.$ac_ext
15269 cat >>conftest.$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15271 $ac_includes_default
15272 #include <$ac_header>
15274 rm -f conftest.$ac_objext
15275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15276 (eval $ac_compile) 2>&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } &&
15280 { ac_try='test -s conftest.$ac_objext'
15281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15282 (eval $ac_try) 2>&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); }; }; then
15286 ac_header_compiler=yes
15288 echo "$as_me: failed program was:" >&5
15289 sed 's/^/| /' conftest.$ac_ext >&5
15291 ac_header_compiler=no
15293 rm -f conftest.$ac_objext conftest.$ac_ext
15294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15295 echo "${ECHO_T}$ac_header_compiler" >&6
15297 # Is the header present?
15298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15300 cat >conftest.$ac_ext <<_ACEOF
15301 #line $LINENO "configure"
15304 cat confdefs.h >>conftest.$ac_ext
15305 cat >>conftest.$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307 #include <$ac_header>
15309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15312 grep -v '^ *+' conftest.er1 >conftest.err
15314 cat conftest.err >&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); } >/dev/null; then
15317 if test -s conftest.err; then
15318 ac_cpp_err=$ac_c_preproc_warn_flag
15325 if test -z "$ac_cpp_err"; then
15326 ac_header_preproc=yes
15328 echo "$as_me: failed program was:" >&5
15329 sed 's/^/| /' conftest.$ac_ext >&5
15331 ac_header_preproc=no
15333 rm -f conftest.err conftest.$ac_ext
15334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15335 echo "${ECHO_T}$ac_header_preproc" >&6
15337 # So? What about this header?
15338 case $ac_header_compiler:$ac_header_preproc in
15340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15346 ## ------------------------------------ ##
15347 ## Report this to bug-autoconf@gnu.org. ##
15348 ## ------------------------------------ ##
15351 sed "s/^/$as_me: WARNING: /" >&2
15354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15362 ## ------------------------------------ ##
15363 ## Report this to bug-autoconf@gnu.org. ##
15364 ## ------------------------------------ ##
15367 sed "s/^/$as_me: WARNING: /" >&2
15370 echo "$as_me:$LINENO: checking for $ac_header" >&5
15371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 eval "$as_ac_Header=$ac_header_preproc"
15377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15382 cat >>confdefs.h <<_ACEOF
15383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15390 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15393 # If we're not using GNU ld, then there's no point in even trying these
15394 # tests. Check for that first. We should have already tested for gld
15395 # by now (in libtool), but require it now just to be safe...
15396 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
15397 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
15401 # The name set by libtool depends on the version of libtool. Shame on us
15402 # for depending on an impl detail, but c'est la vie. Older versions used
15403 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
15404 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
15405 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
15406 # set (hence we're using an older libtool), then set it.
15407 if test x${with_gnu_ld+set} != xset; then
15408 if test x${ac_cv_prog_gnu_ld+set} != xset; then
15409 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
15412 with_gnu_ld=$ac_cv_prog_gnu_ld
15416 # Start by getting the version number. I think the libtool test already
15417 # does some of this, but throws away the result.
15419 ldver=`$LD --version 2>/dev/null | head -1 | \
15420 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
15422 glibcxx_gnu_ld_version=`echo $ldver | \
15423 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
15425 # Set --gc-sections.
15426 if test "$with_gnu_ld" = "notbroken"; then
15427 # GNU ld it is! Joy and bunny rabbits!
15429 # All these tests are for C++; save the language and the compiler flags.
15430 # Need to do this so that g++ won't try to link in libstdc++
15431 ac_test_CFLAGS="${CFLAGS+set}"
15432 ac_save_CFLAGS="$CFLAGS"
15433 CFLAGS='-x c++ -Wl,--gc-sections'
15435 # Check for -Wl,--gc-sections
15436 # XXX This test is broken at the moment, as symbols required for linking
15437 # are now in libsupc++ (not built yet). In addition, this test has
15438 # cored on solaris in the past. In addition, --gc-sections doesn't
15439 # really work at the moment (keeps on discarding used sections, first
15440 # .eh_frame and now some of the glibc sections for iconv).
15441 # Bzzzzt. Thanks for playing, maybe next time.
15442 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
15443 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
15444 if test "$cross_compiling" = yes; then
15445 ac_sectionLDflags=yes
15447 cat >conftest.$ac_ext <<_ACEOF
15448 #line $LINENO "configure"
15451 cat confdefs.h >>conftest.$ac_ext
15452 cat >>conftest.$ac_ext <<_ACEOF
15453 /* end confdefs.h. */
15463 rm -f conftest$ac_exeext
15464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15465 (eval $ac_link) 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15474 ac_sectionLDflags=yes
15476 echo "$as_me: program exited with status $ac_status" >&5
15477 echo "$as_me: failed program was:" >&5
15478 sed 's/^/| /' conftest.$ac_ext >&5
15480 ( exit $ac_status )
15481 ac_sectionLDflags=no
15483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15485 if test "$ac_test_CFLAGS" = set; then
15486 CFLAGS="$ac_save_CFLAGS"
15488 # this is the suspicious part
15491 if test "$ac_sectionLDflags" = "yes"; then
15492 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
15494 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
15495 echo "${ECHO_T}$ac_sectionLDflags" >&6
15498 # Set linker optimization flags.
15499 if test x"$with_gnu_ld" = x"yes"; then
15500 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
15508 echo "$as_me:$LINENO: checking for main in -lm" >&5
15509 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
15510 if test "${ac_cv_lib_m_main+set}" = set; then
15511 echo $ECHO_N "(cached) $ECHO_C" >&6
15513 ac_check_lib_save_LIBS=$LIBS
15515 cat >conftest.$ac_ext <<_ACEOF
15516 #line $LINENO "configure"
15519 cat confdefs.h >>conftest.$ac_ext
15520 cat >>conftest.$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15532 rm -f conftest.$ac_objext conftest$ac_exeext
15533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15534 (eval $ac_link) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } &&
15538 { ac_try='test -s conftest$ac_exeext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_cv_lib_m_main=yes
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15549 ac_cv_lib_m_main=no
15551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15552 LIBS=$ac_check_lib_save_LIBS
15554 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
15555 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
15556 if test $ac_cv_lib_m_main = yes; then
15557 cat >>confdefs.h <<_ACEOF
15558 #define HAVE_LIBM 1
15567 for ac_func in nan copysignf
15569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15570 echo "$as_me:$LINENO: checking for $ac_func" >&5
15571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15572 if eval "test \"\${$as_ac_var+set}\" = set"; then
15573 echo $ECHO_N "(cached) $ECHO_C" >&6
15575 cat >conftest.$ac_ext <<_ACEOF
15576 #line $LINENO "configure"
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582 /* System header to define __stub macros and hopefully few prototypes,
15583 which can conflict with char $ac_func (); below.
15584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15585 <limits.h> exists even on freestanding compilers. */
15587 # include <limits.h>
15589 # include <assert.h>
15591 /* Override any gcc2 internal prototype to avoid an error. */
15596 /* We use char because int might match the return type of a gcc2
15597 builtin and then its argument prototype would still apply. */
15599 /* The GNU C library defines this for functions which it implements
15600 to always fail with ENOSYS. Some functions are actually named
15601 something starting with __ and the normal name is an alias. */
15602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15605 char (*f) () = $ac_func;
15614 return f != $ac_func;
15619 rm -f conftest.$ac_objext conftest$ac_exeext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15621 (eval $ac_link) 2>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try='test -s conftest$ac_exeext'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; }; then
15631 eval "$as_ac_var=yes"
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.$ac_ext >&5
15636 eval "$as_ac_var=no"
15638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15642 if test `eval echo '${'$as_ac_var'}'` = yes; then
15643 cat >>confdefs.h <<_ACEOF
15644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15648 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15654 for ac_func in __signbit
15656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15657 echo "$as_me:$LINENO: checking for $ac_func" >&5
15658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15659 if eval "test \"\${$as_ac_var+set}\" = set"; then
15660 echo $ECHO_N "(cached) $ECHO_C" >&6
15662 cat >conftest.$ac_ext <<_ACEOF
15663 #line $LINENO "configure"
15666 cat confdefs.h >>conftest.$ac_ext
15667 cat >>conftest.$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15669 /* System header to define __stub macros and hopefully few prototypes,
15670 which can conflict with char $ac_func (); below.
15671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15672 <limits.h> exists even on freestanding compilers. */
15674 # include <limits.h>
15676 # include <assert.h>
15678 /* Override any gcc2 internal prototype to avoid an error. */
15683 /* We use char because int might match the return type of a gcc2
15684 builtin and then its argument prototype would still apply. */
15686 /* The GNU C library defines this for functions which it implements
15687 to always fail with ENOSYS. Some functions are actually named
15688 something starting with __ and the normal name is an alias. */
15689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15692 char (*f) () = $ac_func;
15701 return f != $ac_func;
15706 rm -f conftest.$ac_objext conftest$ac_exeext
15707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15708 (eval $ac_link) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try='test -s conftest$ac_exeext'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; }; then
15718 eval "$as_ac_var=yes"
15720 echo "$as_me: failed program was:" >&5
15721 sed 's/^/| /' conftest.$ac_ext >&5
15723 eval "$as_ac_var=no"
15725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15729 if test `eval echo '${'$as_ac_var'}'` = yes; then
15730 cat >>confdefs.h <<_ACEOF
15731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15735 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
15740 for ac_func in __signbitf
15742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15743 echo "$as_me:$LINENO: checking for $ac_func" >&5
15744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15745 if eval "test \"\${$as_ac_var+set}\" = set"; then
15746 echo $ECHO_N "(cached) $ECHO_C" >&6
15748 cat >conftest.$ac_ext <<_ACEOF
15749 #line $LINENO "configure"
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 /* System header to define __stub macros and hopefully few prototypes,
15756 which can conflict with char $ac_func (); below.
15757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15758 <limits.h> exists even on freestanding compilers. */
15760 # include <limits.h>
15762 # include <assert.h>
15764 /* Override any gcc2 internal prototype to avoid an error. */
15769 /* We use char because int might match the return type of a gcc2
15770 builtin and then its argument prototype would still apply. */
15772 /* The GNU C library defines this for functions which it implements
15773 to always fail with ENOSYS. Some functions are actually named
15774 something starting with __ and the normal name is an alias. */
15775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15778 char (*f) () = $ac_func;
15787 return f != $ac_func;
15792 rm -f conftest.$ac_objext conftest$ac_exeext
15793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15794 (eval $ac_link) 2>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try='test -s conftest$ac_exeext'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; }; then
15804 eval "$as_ac_var=yes"
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.$ac_ext >&5
15809 eval "$as_ac_var=no"
15811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15815 if test `eval echo '${'$as_ac_var'}'` = yes; then
15816 cat >>confdefs.h <<_ACEOF
15817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15821 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
15826 if test x$ac_cv_func_copysignl = x"yes"; then
15828 for ac_func in __signbitl
15830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15831 echo "$as_me:$LINENO: checking for $ac_func" >&5
15832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15833 if eval "test \"\${$as_ac_var+set}\" = set"; then
15834 echo $ECHO_N "(cached) $ECHO_C" >&6
15836 cat >conftest.$ac_ext <<_ACEOF
15837 #line $LINENO "configure"
15840 cat confdefs.h >>conftest.$ac_ext
15841 cat >>conftest.$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15843 /* System header to define __stub macros and hopefully few prototypes,
15844 which can conflict with char $ac_func (); below.
15845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15846 <limits.h> exists even on freestanding compilers. */
15848 # include <limits.h>
15850 # include <assert.h>
15852 /* Override any gcc2 internal prototype to avoid an error. */
15857 /* We use char because int might match the return type of a gcc2
15858 builtin and then its argument prototype would still apply. */
15860 /* The GNU C library defines this for functions which it implements
15861 to always fail with ENOSYS. Some functions are actually named
15862 something starting with __ and the normal name is an alias. */
15863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15866 char (*f) () = $ac_func;
15875 return f != $ac_func;
15880 rm -f conftest.$ac_objext conftest$ac_exeext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15882 (eval $ac_link) 2>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } &&
15886 { ac_try='test -s conftest$ac_exeext'
15887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15888 (eval $ac_try) 2>&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }; }; then
15892 eval "$as_ac_var=yes"
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15897 eval "$as_ac_var=no"
15899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15903 if test `eval echo '${'$as_ac_var'}'` = yes; then
15904 cat >>confdefs.h <<_ACEOF
15905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15909 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
15915 if test -n "$LIBMATHOBJS"; then
15921 # Test wchar.h for mbstate_t, which is needed for char_traits and
15922 # others even if wchar_t support is not on.
15923 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15924 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15925 cat >conftest.$ac_ext <<_ACEOF
15926 #line $LINENO "configure"
15929 cat confdefs.h >>conftest.$ac_ext
15930 cat >>conftest.$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15936 mbstate_t teststate;
15941 rm -f conftest.$ac_objext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943 (eval $ac_compile) 2>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } &&
15947 { ac_try='test -s conftest.$ac_objext'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; }; then
15955 echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.$ac_ext >&5
15960 rm -f conftest.$ac_objext conftest.$ac_ext
15961 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15962 echo "${ECHO_T}$have_mbstate_t" >&6
15963 if test x"$have_mbstate_t" = xyes; then
15964 cat >>confdefs.h <<\_ACEOF
15965 #define HAVE_MBSTATE_T 1
15970 # Sanity check for existence of ISO C99 headers for extended encoding.
15972 for ac_header in wchar.h
15974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15976 echo "$as_me:$LINENO: checking for $ac_header" >&5
15977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15979 echo $ECHO_N "(cached) $ECHO_C" >&6
15981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15984 # Is the header compilable?
15985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15987 cat >conftest.$ac_ext <<_ACEOF
15988 #line $LINENO "configure"
15991 cat confdefs.h >>conftest.$ac_ext
15992 cat >>conftest.$ac_ext <<_ACEOF
15993 /* end confdefs.h. */
15994 $ac_includes_default
15995 #include <$ac_header>
15997 rm -f conftest.$ac_objext
15998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15999 (eval $ac_compile) 2>&5
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); } &&
16003 { ac_try='test -s conftest.$ac_objext'
16004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16005 (eval $ac_try) 2>&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); }; }; then
16009 ac_header_compiler=yes
16011 echo "$as_me: failed program was:" >&5
16012 sed 's/^/| /' conftest.$ac_ext >&5
16014 ac_header_compiler=no
16016 rm -f conftest.$ac_objext conftest.$ac_ext
16017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16018 echo "${ECHO_T}$ac_header_compiler" >&6
16020 # Is the header present?
16021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16023 cat >conftest.$ac_ext <<_ACEOF
16024 #line $LINENO "configure"
16027 cat confdefs.h >>conftest.$ac_ext
16028 cat >>conftest.$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16030 #include <$ac_header>
16032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16035 grep -v '^ *+' conftest.er1 >conftest.err
16037 cat conftest.err >&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } >/dev/null; then
16040 if test -s conftest.err; then
16041 ac_cpp_err=$ac_c_preproc_warn_flag
16048 if test -z "$ac_cpp_err"; then
16049 ac_header_preproc=yes
16051 echo "$as_me: failed program was:" >&5
16052 sed 's/^/| /' conftest.$ac_ext >&5
16054 ac_header_preproc=no
16056 rm -f conftest.err conftest.$ac_ext
16057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16058 echo "${ECHO_T}$ac_header_preproc" >&6
16060 # So? What about this header?
16061 case $ac_header_compiler:$ac_header_preproc in
16063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16069 ## ------------------------------------ ##
16070 ## Report this to bug-autoconf@gnu.org. ##
16071 ## ------------------------------------ ##
16074 sed "s/^/$as_me: WARNING: /" >&2
16077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16085 ## ------------------------------------ ##
16086 ## Report this to bug-autoconf@gnu.org. ##
16087 ## ------------------------------------ ##
16090 sed "s/^/$as_me: WARNING: /" >&2
16093 echo "$as_me:$LINENO: checking for $ac_header" >&5
16094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16096 echo $ECHO_N "(cached) $ECHO_C" >&6
16098 eval "$as_ac_Header=$ac_header_preproc"
16100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16105 cat >>confdefs.h <<_ACEOF
16106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16116 for ac_header in wctype.h
16118 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16120 echo "$as_me:$LINENO: checking for $ac_header" >&5
16121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16128 # Is the header compilable?
16129 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16130 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16131 cat >conftest.$ac_ext <<_ACEOF
16132 #line $LINENO "configure"
16135 cat confdefs.h >>conftest.$ac_ext
16136 cat >>conftest.$ac_ext <<_ACEOF
16137 /* end confdefs.h. */
16138 $ac_includes_default
16139 #include <$ac_header>
16141 rm -f conftest.$ac_objext
16142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16143 (eval $ac_compile) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try='test -s conftest.$ac_objext'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; }; then
16153 ac_header_compiler=yes
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16158 ac_header_compiler=no
16160 rm -f conftest.$ac_objext conftest.$ac_ext
16161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16162 echo "${ECHO_T}$ac_header_compiler" >&6
16164 # Is the header present?
16165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16167 cat >conftest.$ac_ext <<_ACEOF
16168 #line $LINENO "configure"
16171 cat confdefs.h >>conftest.$ac_ext
16172 cat >>conftest.$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16174 #include <$ac_header>
16176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16179 grep -v '^ *+' conftest.er1 >conftest.err
16181 cat conftest.err >&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } >/dev/null; then
16184 if test -s conftest.err; then
16185 ac_cpp_err=$ac_c_preproc_warn_flag
16192 if test -z "$ac_cpp_err"; then
16193 ac_header_preproc=yes
16195 echo "$as_me: failed program was:" >&5
16196 sed 's/^/| /' conftest.$ac_ext >&5
16198 ac_header_preproc=no
16200 rm -f conftest.err conftest.$ac_ext
16201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16202 echo "${ECHO_T}$ac_header_preproc" >&6
16204 # So? What about this header?
16205 case $ac_header_compiler:$ac_header_preproc in
16207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16213 ## ------------------------------------ ##
16214 ## Report this to bug-autoconf@gnu.org. ##
16215 ## ------------------------------------ ##
16218 sed "s/^/$as_me: WARNING: /" >&2
16221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16229 ## ------------------------------------ ##
16230 ## Report this to bug-autoconf@gnu.org. ##
16231 ## ------------------------------------ ##
16234 sed "s/^/$as_me: WARNING: /" >&2
16237 echo "$as_me:$LINENO: checking for $ac_header" >&5
16238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16240 echo $ECHO_N "(cached) $ECHO_C" >&6
16242 eval "$as_ac_Header=$ac_header_preproc"
16244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16249 cat >>confdefs.h <<_ACEOF
16250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16252 ac_has_wctype_h=yes
16260 # Only continue checking if the ISO C99 headers exist and support is on.
16261 if test x"$ac_has_wchar_h" = xyes &&
16262 test x"$ac_has_wctype_h" = xyes &&
16263 test x"$enable_c_mbchar" != xno; then
16265 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
16266 # numeric_limits can instantiate type_traits<wchar_t>
16267 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
16268 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
16269 cat >conftest.$ac_ext <<_ACEOF
16270 #line $LINENO "configure"
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16280 int i = WCHAR_MIN; int j = WCHAR_MAX;
16285 rm -f conftest.$ac_objext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16287 (eval $ac_compile) 2>&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } &&
16291 { ac_try='test -s conftest.$ac_objext'
16292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16293 (eval $ac_try) 2>&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); }; }; then
16297 has_wchar_minmax=yes
16299 echo "$as_me: failed program was:" >&5
16300 sed 's/^/| /' conftest.$ac_ext >&5
16302 has_wchar_minmax=no
16304 rm -f conftest.$ac_objext conftest.$ac_ext
16305 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
16306 echo "${ECHO_T}$has_wchar_minmax" >&6
16308 # Test wchar.h for WEOF, which is what we use to determine whether
16309 # to specialize for char_traits<wchar_t> or not.
16310 echo "$as_me:$LINENO: checking for WEOF" >&5
16311 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
16312 cat >conftest.$ac_ext <<_ACEOF
16313 #line $LINENO "configure"
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16321 #include <stddef.h>
16330 rm -f conftest.$ac_objext
16331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16332 (eval $ac_compile) 2>&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } &&
16336 { ac_try='test -s conftest.$ac_objext'
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16338 (eval $ac_try) 2>&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; }; then
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16349 rm -f conftest.$ac_objext conftest.$ac_ext
16350 echo "$as_me:$LINENO: result: $has_weof" >&5
16351 echo "${ECHO_T}$has_weof" >&6
16353 # Tests for wide character functions used in char_traits<wchar_t>.
16361 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
16363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16364 echo "$as_me:$LINENO: checking for $ac_func" >&5
16365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16366 if eval "test \"\${$as_ac_var+set}\" = set"; then
16367 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 cat >conftest.$ac_ext <<_ACEOF
16370 #line $LINENO "configure"
16373 cat confdefs.h >>conftest.$ac_ext
16374 cat >>conftest.$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 /* System header to define __stub macros and hopefully few prototypes,
16377 which can conflict with char $ac_func (); below.
16378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16379 <limits.h> exists even on freestanding compilers. */
16381 # include <limits.h>
16383 # include <assert.h>
16385 /* Override any gcc2 internal prototype to avoid an error. */
16390 /* We use char because int might match the return type of a gcc2
16391 builtin and then its argument prototype would still apply. */
16393 /* The GNU C library defines this for functions which it implements
16394 to always fail with ENOSYS. Some functions are actually named
16395 something starting with __ and the normal name is an alias. */
16396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16399 char (*f) () = $ac_func;
16408 return f != $ac_func;
16413 rm -f conftest.$ac_objext conftest$ac_exeext
16414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16415 (eval $ac_link) 2>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } &&
16419 { ac_try='test -s conftest$ac_exeext'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; }; then
16425 eval "$as_ac_var=yes"
16427 echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.$ac_ext >&5
16430 eval "$as_ac_var=no"
16432 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16436 if test `eval echo '${'$as_ac_var'}'` = yes; then
16437 cat >>confdefs.h <<_ACEOF
16438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16447 # Checks for names injected into std:: by the c_std headers.
16498 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
16499 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
16500 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
16501 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
16502 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
16503 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
16505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16506 echo "$as_me:$LINENO: checking for $ac_func" >&5
16507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16508 if eval "test \"\${$as_ac_var+set}\" = set"; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 cat >conftest.$ac_ext <<_ACEOF
16512 #line $LINENO "configure"
16515 cat confdefs.h >>conftest.$ac_ext
16516 cat >>conftest.$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16518 /* System header to define __stub macros and hopefully few prototypes,
16519 which can conflict with char $ac_func (); below.
16520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16521 <limits.h> exists even on freestanding compilers. */
16523 # include <limits.h>
16525 # include <assert.h>
16527 /* Override any gcc2 internal prototype to avoid an error. */
16532 /* We use char because int might match the return type of a gcc2
16533 builtin and then its argument prototype would still apply. */
16535 /* The GNU C library defines this for functions which it implements
16536 to always fail with ENOSYS. Some functions are actually named
16537 something starting with __ and the normal name is an alias. */
16538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16541 char (*f) () = $ac_func;
16550 return f != $ac_func;
16555 rm -f conftest.$ac_objext conftest$ac_exeext
16556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16557 (eval $ac_link) 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -s conftest$ac_exeext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 eval "$as_ac_var=yes"
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.$ac_ext >&5
16572 eval "$as_ac_var=no"
16574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16578 if test `eval echo '${'$as_ac_var'}'` = yes; then
16579 cat >>confdefs.h <<_ACEOF
16580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16589 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
16590 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
16591 if test x"$has_weof" = xyes &&
16592 test x"$has_wchar_minmax" = xyes &&
16593 test x"$ac_wfuncs" = xyes;
16595 ac_isoC99_wchar_t=yes
16597 ac_isoC99_wchar_t=no
16599 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
16600 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
16602 # Use iconv for wchar_t to char conversions. As such, check for
16603 # X/Open Portability Guide, version 2 features (XPG2).
16604 if test "${ac_cv_header_iconv_h+set}" = set; then
16605 echo "$as_me:$LINENO: checking for iconv.h" >&5
16606 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
16607 if test "${ac_cv_header_iconv_h+set}" = set; then
16608 echo $ECHO_N "(cached) $ECHO_C" >&6
16610 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
16611 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
16613 # Is the header compilable?
16614 echo "$as_me:$LINENO: checking iconv.h usability" >&5
16615 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
16616 cat >conftest.$ac_ext <<_ACEOF
16617 #line $LINENO "configure"
16620 cat confdefs.h >>conftest.$ac_ext
16621 cat >>conftest.$ac_ext <<_ACEOF
16622 /* end confdefs.h. */
16623 $ac_includes_default
16626 rm -f conftest.$ac_objext
16627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16628 (eval $ac_compile) 2>&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); } &&
16632 { ac_try='test -s conftest.$ac_objext'
16633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634 (eval $ac_try) 2>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; }; then
16638 ac_header_compiler=yes
16640 echo "$as_me: failed program was:" >&5
16641 sed 's/^/| /' conftest.$ac_ext >&5
16643 ac_header_compiler=no
16645 rm -f conftest.$ac_objext conftest.$ac_ext
16646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16647 echo "${ECHO_T}$ac_header_compiler" >&6
16649 # Is the header present?
16650 echo "$as_me:$LINENO: checking iconv.h presence" >&5
16651 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
16652 cat >conftest.$ac_ext <<_ACEOF
16653 #line $LINENO "configure"
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16664 grep -v '^ *+' conftest.er1 >conftest.err
16666 cat conftest.err >&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } >/dev/null; then
16669 if test -s conftest.err; then
16670 ac_cpp_err=$ac_c_preproc_warn_flag
16677 if test -z "$ac_cpp_err"; then
16678 ac_header_preproc=yes
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16683 ac_header_preproc=no
16685 rm -f conftest.err conftest.$ac_ext
16686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16687 echo "${ECHO_T}$ac_header_preproc" >&6
16689 # So? What about this header?
16690 case $ac_header_compiler:$ac_header_preproc in
16692 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
16693 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16694 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
16695 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
16698 ## ------------------------------------ ##
16699 ## Report this to bug-autoconf@gnu.org. ##
16700 ## ------------------------------------ ##
16703 sed "s/^/$as_me: WARNING: /" >&2
16706 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
16707 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
16708 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
16709 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
16710 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
16711 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
16714 ## ------------------------------------ ##
16715 ## Report this to bug-autoconf@gnu.org. ##
16716 ## ------------------------------------ ##
16719 sed "s/^/$as_me: WARNING: /" >&2
16722 echo "$as_me:$LINENO: checking for iconv.h" >&5
16723 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
16724 if test "${ac_cv_header_iconv_h+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 ac_cv_header_iconv_h=$ac_header_preproc
16729 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
16730 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
16733 if test $ac_cv_header_iconv_h = yes; then
16740 if test "${ac_cv_header_langinfo_h+set}" = set; then
16741 echo "$as_me:$LINENO: checking for langinfo.h" >&5
16742 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
16743 if test "${ac_cv_header_langinfo_h+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
16747 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
16749 # Is the header compilable?
16750 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
16751 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
16752 cat >conftest.$ac_ext <<_ACEOF
16753 #line $LINENO "configure"
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16760 #include <langinfo.h>
16762 rm -f conftest.$ac_objext
16763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16764 (eval $ac_compile) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); } &&
16768 { ac_try='test -s conftest.$ac_objext'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; }; then
16774 ac_header_compiler=yes
16776 echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.$ac_ext >&5
16779 ac_header_compiler=no
16781 rm -f conftest.$ac_objext conftest.$ac_ext
16782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16783 echo "${ECHO_T}$ac_header_compiler" >&6
16785 # Is the header present?
16786 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
16787 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
16788 cat >conftest.$ac_ext <<_ACEOF
16789 #line $LINENO "configure"
16792 cat confdefs.h >>conftest.$ac_ext
16793 cat >>conftest.$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 #include <langinfo.h>
16797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16800 grep -v '^ *+' conftest.er1 >conftest.err
16802 cat conftest.err >&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } >/dev/null; then
16805 if test -s conftest.err; then
16806 ac_cpp_err=$ac_c_preproc_warn_flag
16813 if test -z "$ac_cpp_err"; then
16814 ac_header_preproc=yes
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16819 ac_header_preproc=no
16821 rm -f conftest.err conftest.$ac_ext
16822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16823 echo "${ECHO_T}$ac_header_preproc" >&6
16825 # So? What about this header?
16826 case $ac_header_compiler:$ac_header_preproc in
16828 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
16829 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16830 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
16831 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
16834 ## ------------------------------------ ##
16835 ## Report this to bug-autoconf@gnu.org. ##
16836 ## ------------------------------------ ##
16839 sed "s/^/$as_me: WARNING: /" >&2
16842 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
16843 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
16844 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
16845 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
16846 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
16847 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
16850 ## ------------------------------------ ##
16851 ## Report this to bug-autoconf@gnu.org. ##
16852 ## ------------------------------------ ##
16855 sed "s/^/$as_me: WARNING: /" >&2
16858 echo "$as_me:$LINENO: checking for langinfo.h" >&5
16859 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
16860 if test "${ac_cv_header_langinfo_h+set}" = set; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 ac_cv_header_langinfo_h=$ac_header_preproc
16865 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
16866 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
16869 if test $ac_cv_header_langinfo_h = yes; then
16870 ac_has_langinfo_h=yes
16872 ac_has_langinfo_h=no
16877 # Check for existence of libiconv.a providing XPG2 wchar_t support.
16878 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
16879 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
16880 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 ac_check_lib_save_LIBS=$LIBS
16884 LIBS="-liconv $LIBS"
16885 cat >conftest.$ac_ext <<_ACEOF
16886 #line $LINENO "configure"
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16893 /* Override any gcc2 internal prototype to avoid an error. */
16897 /* We use char because int might match the return type of a gcc2
16898 builtin and then its argument prototype would still apply. */
16908 rm -f conftest.$ac_objext conftest$ac_exeext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16910 (eval $ac_link) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try='test -s conftest$ac_exeext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16920 ac_cv_lib_iconv_iconv=yes
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.$ac_ext >&5
16925 ac_cv_lib_iconv_iconv=no
16927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16928 LIBS=$ac_check_lib_save_LIBS
16930 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
16931 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
16932 if test $ac_cv_lib_iconv_iconv = yes; then
16936 ac_save_LIBS="$LIBS"
16937 LIBS="$LIBS $libiconv"
16943 for ac_func in iconv_open iconv_close iconv nl_langinfo
16945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16946 echo "$as_me:$LINENO: checking for $ac_func" >&5
16947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16948 if eval "test \"\${$as_ac_var+set}\" = set"; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16951 cat >conftest.$ac_ext <<_ACEOF
16952 #line $LINENO "configure"
16955 cat confdefs.h >>conftest.$ac_ext
16956 cat >>conftest.$ac_ext <<_ACEOF
16957 /* end confdefs.h. */
16958 /* System header to define __stub macros and hopefully few prototypes,
16959 which can conflict with char $ac_func (); below.
16960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16961 <limits.h> exists even on freestanding compilers. */
16963 # include <limits.h>
16965 # include <assert.h>
16967 /* Override any gcc2 internal prototype to avoid an error. */
16972 /* We use char because int might match the return type of a gcc2
16973 builtin and then its argument prototype would still apply. */
16975 /* The GNU C library defines this for functions which it implements
16976 to always fail with ENOSYS. Some functions are actually named
16977 something starting with __ and the normal name is an alias. */
16978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16981 char (*f) () = $ac_func;
16990 return f != $ac_func;
16995 rm -f conftest.$ac_objext conftest$ac_exeext
16996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16997 (eval $ac_link) 2>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } &&
17001 { ac_try='test -s conftest$ac_exeext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 eval "$as_ac_var=yes"
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17012 eval "$as_ac_var=no"
17014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17018 if test `eval echo '${'$as_ac_var'}'` = yes; then
17019 cat >>confdefs.h <<_ACEOF
17020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17029 LIBS="$ac_save_LIBS"
17031 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
17032 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
17033 if test x"$ac_has_iconv_h" = xyes &&
17034 test x"$ac_has_langinfo_h" = xyes &&
17035 test x"$ac_XPG2funcs" = xyes;
17037 ac_XPG2_wchar_t=yes
17041 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
17042 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
17044 # At the moment, only enable wchar_t specializations if all the
17045 # above support is present.
17046 if test x"$ac_isoC99_wchar_t" = xyes &&
17047 test x"$ac_XPG2_wchar_t" = xyes;
17049 cat >>confdefs.h <<\_ACEOF
17050 #define _GLIBCXX_USE_WCHAR_T 1
17056 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
17057 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
17058 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
17059 echo "${ECHO_T}$enable_wchar_t" >&6
17061 cat >>confdefs.h <<\_ACEOF
17062 #define HAVE_COPYSIGN 1
17065 cat >>confdefs.h <<\_ACEOF
17066 #define HAVE_COPYSIGNF 1
17069 cat >>confdefs.h <<\_ACEOF
17070 #define HAVE_FINITEF 1
17073 cat >>confdefs.h <<\_ACEOF
17074 #define HAVE_FINITE 1
17077 cat >>confdefs.h <<\_ACEOF
17078 #define HAVE_FREXPF 1
17081 cat >>confdefs.h <<\_ACEOF
17082 #define HAVE_HYPOTF 1
17085 cat >>confdefs.h <<\_ACEOF
17086 #define HAVE_ISINF 1
17089 cat >>confdefs.h <<\_ACEOF
17090 #define HAVE_ISINFF 1
17093 cat >>confdefs.h <<\_ACEOF
17094 #define HAVE_ISNAN 1
17097 cat >>confdefs.h <<\_ACEOF
17098 #define HAVE_ISNANF 1
17101 if test x"long_double_math_on_this_cpu" = x"yes"; then
17102 cat >>confdefs.h <<\_ACEOF
17103 #define HAVE_FINITEL 1
17106 cat >>confdefs.h <<\_ACEOF
17107 #define HAVE_ISINFL 1
17110 cat >>confdefs.h <<\_ACEOF
17111 #define HAVE_ISNANL 1
17116 *-qnx6.1* | *-qnx6.2*)
17117 #os_include_dir="os/qnx/qnx6.1"
17118 SECTION_FLAGS='-ffunction-sections -fdata-sections'
17121 # If we're not using GNU ld, then there's no point in even trying these
17122 # tests. Check for that first. We should have already tested for gld
17123 # by now (in libtool), but require it now just to be safe...
17124 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
17125 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
17129 # The name set by libtool depends on the version of libtool. Shame on us
17130 # for depending on an impl detail, but c'est la vie. Older versions used
17131 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17132 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17133 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17134 # set (hence we're using an older libtool), then set it.
17135 if test x${with_gnu_ld+set} != xset; then
17136 if test x${ac_cv_prog_gnu_ld+set} != xset; then
17137 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17140 with_gnu_ld=$ac_cv_prog_gnu_ld
17144 # Start by getting the version number. I think the libtool test already
17145 # does some of this, but throws away the result.
17147 ldver=`$LD --version 2>/dev/null | head -1 | \
17148 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
17150 glibcxx_gnu_ld_version=`echo $ldver | \
17151 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17153 # Set --gc-sections.
17154 if test "$with_gnu_ld" = "notbroken"; then
17155 # GNU ld it is! Joy and bunny rabbits!
17157 # All these tests are for C++; save the language and the compiler flags.
17158 # Need to do this so that g++ won't try to link in libstdc++
17159 ac_test_CFLAGS="${CFLAGS+set}"
17160 ac_save_CFLAGS="$CFLAGS"
17161 CFLAGS='-x c++ -Wl,--gc-sections'
17163 # Check for -Wl,--gc-sections
17164 # XXX This test is broken at the moment, as symbols required for linking
17165 # are now in libsupc++ (not built yet). In addition, this test has
17166 # cored on solaris in the past. In addition, --gc-sections doesn't
17167 # really work at the moment (keeps on discarding used sections, first
17168 # .eh_frame and now some of the glibc sections for iconv).
17169 # Bzzzzt. Thanks for playing, maybe next time.
17170 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17171 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17172 if test "$cross_compiling" = yes; then
17173 ac_sectionLDflags=yes
17175 cat >conftest.$ac_ext <<_ACEOF
17176 #line $LINENO "configure"
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17191 rm -f conftest$ac_exeext
17192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17193 (eval $ac_link) 2>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; }; then
17202 ac_sectionLDflags=yes
17204 echo "$as_me: program exited with status $ac_status" >&5
17205 echo "$as_me: failed program was:" >&5
17206 sed 's/^/| /' conftest.$ac_ext >&5
17208 ( exit $ac_status )
17209 ac_sectionLDflags=no
17211 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17213 if test "$ac_test_CFLAGS" = set; then
17214 CFLAGS="$ac_save_CFLAGS"
17216 # this is the suspicious part
17219 if test "$ac_sectionLDflags" = "yes"; then
17220 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
17222 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
17223 echo "${ECHO_T}$ac_sectionLDflags" >&6
17226 # Set linker optimization flags.
17227 if test x"$with_gnu_ld" = x"yes"; then
17228 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
17236 echo "$as_me:$LINENO: checking for main in -lm" >&5
17237 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
17238 if test "${ac_cv_lib_m_main+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17241 ac_check_lib_save_LIBS=$LIBS
17243 cat >conftest.$ac_ext <<_ACEOF
17244 #line $LINENO "configure"
17247 cat confdefs.h >>conftest.$ac_ext
17248 cat >>conftest.$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17260 rm -f conftest.$ac_objext conftest$ac_exeext
17261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17262 (eval $ac_link) 2>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); } &&
17266 { ac_try='test -s conftest$ac_exeext'
17267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17268 (eval $ac_try) 2>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); }; }; then
17272 ac_cv_lib_m_main=yes
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17277 ac_cv_lib_m_main=no
17279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17280 LIBS=$ac_check_lib_save_LIBS
17282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
17283 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
17284 if test $ac_cv_lib_m_main = yes; then
17285 cat >>confdefs.h <<_ACEOF
17286 #define HAVE_LIBM 1
17295 for ac_func in nan copysignf
17297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17298 echo "$as_me:$LINENO: checking for $ac_func" >&5
17299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17300 if eval "test \"\${$as_ac_var+set}\" = set"; then
17301 echo $ECHO_N "(cached) $ECHO_C" >&6
17303 cat >conftest.$ac_ext <<_ACEOF
17304 #line $LINENO "configure"
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310 /* System header to define __stub macros and hopefully few prototypes,
17311 which can conflict with char $ac_func (); below.
17312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17313 <limits.h> exists even on freestanding compilers. */
17315 # include <limits.h>
17317 # include <assert.h>
17319 /* Override any gcc2 internal prototype to avoid an error. */
17324 /* We use char because int might match the return type of a gcc2
17325 builtin and then its argument prototype would still apply. */
17327 /* The GNU C library defines this for functions which it implements
17328 to always fail with ENOSYS. Some functions are actually named
17329 something starting with __ and the normal name is an alias. */
17330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17333 char (*f) () = $ac_func;
17342 return f != $ac_func;
17347 rm -f conftest.$ac_objext conftest$ac_exeext
17348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17349 (eval $ac_link) 2>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } &&
17353 { ac_try='test -s conftest$ac_exeext'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; }; then
17359 eval "$as_ac_var=yes"
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17364 eval "$as_ac_var=no"
17366 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17370 if test `eval echo '${'$as_ac_var'}'` = yes; then
17371 cat >>confdefs.h <<_ACEOF
17372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17376 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17382 for ac_func in __signbit
17384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17385 echo "$as_me:$LINENO: checking for $ac_func" >&5
17386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17387 if eval "test \"\${$as_ac_var+set}\" = set"; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 cat >conftest.$ac_ext <<_ACEOF
17391 #line $LINENO "configure"
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17397 /* System header to define __stub macros and hopefully few prototypes,
17398 which can conflict with char $ac_func (); below.
17399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17400 <limits.h> exists even on freestanding compilers. */
17402 # include <limits.h>
17404 # include <assert.h>
17406 /* Override any gcc2 internal prototype to avoid an error. */
17411 /* We use char because int might match the return type of a gcc2
17412 builtin and then its argument prototype would still apply. */
17414 /* The GNU C library defines this for functions which it implements
17415 to always fail with ENOSYS. Some functions are actually named
17416 something starting with __ and the normal name is an alias. */
17417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17420 char (*f) () = $ac_func;
17429 return f != $ac_func;
17434 rm -f conftest.$ac_objext conftest$ac_exeext
17435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17436 (eval $ac_link) 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try='test -s conftest$ac_exeext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 eval "$as_ac_var=yes"
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.$ac_ext >&5
17451 eval "$as_ac_var=no"
17453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17457 if test `eval echo '${'$as_ac_var'}'` = yes; then
17458 cat >>confdefs.h <<_ACEOF
17459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17463 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
17468 for ac_func in __signbitf
17470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17471 echo "$as_me:$LINENO: checking for $ac_func" >&5
17472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17473 if eval "test \"\${$as_ac_var+set}\" = set"; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17476 cat >conftest.$ac_ext <<_ACEOF
17477 #line $LINENO "configure"
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17483 /* System header to define __stub macros and hopefully few prototypes,
17484 which can conflict with char $ac_func (); below.
17485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17486 <limits.h> exists even on freestanding compilers. */
17488 # include <limits.h>
17490 # include <assert.h>
17492 /* Override any gcc2 internal prototype to avoid an error. */
17497 /* We use char because int might match the return type of a gcc2
17498 builtin and then its argument prototype would still apply. */
17500 /* The GNU C library defines this for functions which it implements
17501 to always fail with ENOSYS. Some functions are actually named
17502 something starting with __ and the normal name is an alias. */
17503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17506 char (*f) () = $ac_func;
17515 return f != $ac_func;
17520 rm -f conftest.$ac_objext conftest$ac_exeext
17521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17522 (eval $ac_link) 2>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try='test -s conftest$ac_exeext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 eval "$as_ac_var=yes"
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.$ac_ext >&5
17537 eval "$as_ac_var=no"
17539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17543 if test `eval echo '${'$as_ac_var'}'` = yes; then
17544 cat >>confdefs.h <<_ACEOF
17545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17549 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
17554 if test x$ac_cv_func_copysignl = x"yes"; then
17556 for ac_func in __signbitl
17558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17559 echo "$as_me:$LINENO: checking for $ac_func" >&5
17560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17561 if eval "test \"\${$as_ac_var+set}\" = set"; then
17562 echo $ECHO_N "(cached) $ECHO_C" >&6
17564 cat >conftest.$ac_ext <<_ACEOF
17565 #line $LINENO "configure"
17568 cat confdefs.h >>conftest.$ac_ext
17569 cat >>conftest.$ac_ext <<_ACEOF
17570 /* end confdefs.h. */
17571 /* System header to define __stub macros and hopefully few prototypes,
17572 which can conflict with char $ac_func (); below.
17573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17574 <limits.h> exists even on freestanding compilers. */
17576 # include <limits.h>
17578 # include <assert.h>
17580 /* Override any gcc2 internal prototype to avoid an error. */
17585 /* We use char because int might match the return type of a gcc2
17586 builtin and then its argument prototype would still apply. */
17588 /* The GNU C library defines this for functions which it implements
17589 to always fail with ENOSYS. Some functions are actually named
17590 something starting with __ and the normal name is an alias. */
17591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17594 char (*f) () = $ac_func;
17603 return f != $ac_func;
17608 rm -f conftest.$ac_objext conftest$ac_exeext
17609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17610 (eval $ac_link) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); } &&
17614 { ac_try='test -s conftest$ac_exeext'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; }; then
17620 eval "$as_ac_var=yes"
17622 echo "$as_me: failed program was:" >&5
17623 sed 's/^/| /' conftest.$ac_ext >&5
17625 eval "$as_ac_var=no"
17627 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17631 if test `eval echo '${'$as_ac_var'}'` = yes; then
17632 cat >>confdefs.h <<_ACEOF
17633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17637 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
17643 if test -n "$LIBMATHOBJS"; then
17649 # Test wchar.h for mbstate_t, which is needed for char_traits and
17650 # others even if wchar_t support is not on.
17651 echo "$as_me:$LINENO: checking for mbstate_t" >&5
17652 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
17653 cat >conftest.$ac_ext <<_ACEOF
17654 #line $LINENO "configure"
17657 cat confdefs.h >>conftest.$ac_ext
17658 cat >>conftest.$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17664 mbstate_t teststate;
17669 rm -f conftest.$ac_objext
17670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17671 (eval $ac_compile) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } &&
17675 { ac_try='test -s conftest.$ac_objext'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; }; then
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.$ac_ext >&5
17688 rm -f conftest.$ac_objext conftest.$ac_ext
17689 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
17690 echo "${ECHO_T}$have_mbstate_t" >&6
17691 if test x"$have_mbstate_t" = xyes; then
17692 cat >>confdefs.h <<\_ACEOF
17693 #define HAVE_MBSTATE_T 1
17698 # Sanity check for existence of ISO C99 headers for extended encoding.
17700 for ac_header in wchar.h
17702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17704 echo "$as_me:$LINENO: checking for $ac_header" >&5
17705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17707 echo $ECHO_N "(cached) $ECHO_C" >&6
17709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17712 # Is the header compilable?
17713 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17714 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
17723 #include <$ac_header>
17725 rm -f conftest.$ac_objext
17726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17727 (eval $ac_compile) 2>&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); } &&
17731 { ac_try='test -s conftest.$ac_objext'
17732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 (eval $ac_try) 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; }; then
17737 ac_header_compiler=yes
17739 echo "$as_me: failed program was:" >&5
17740 sed 's/^/| /' conftest.$ac_ext >&5
17742 ac_header_compiler=no
17744 rm -f conftest.$ac_objext conftest.$ac_ext
17745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17746 echo "${ECHO_T}$ac_header_compiler" >&6
17748 # Is the header present?
17749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17751 cat >conftest.$ac_ext <<_ACEOF
17752 #line $LINENO "configure"
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17758 #include <$ac_header>
17760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17763 grep -v '^ *+' conftest.er1 >conftest.err
17765 cat conftest.err >&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } >/dev/null; then
17768 if test -s conftest.err; then
17769 ac_cpp_err=$ac_c_preproc_warn_flag
17776 if test -z "$ac_cpp_err"; then
17777 ac_header_preproc=yes
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17782 ac_header_preproc=no
17784 rm -f conftest.err conftest.$ac_ext
17785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17786 echo "${ECHO_T}$ac_header_preproc" >&6
17788 # So? What about this header?
17789 case $ac_header_compiler:$ac_header_preproc in
17791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17797 ## ------------------------------------ ##
17798 ## Report this to bug-autoconf@gnu.org. ##
17799 ## ------------------------------------ ##
17802 sed "s/^/$as_me: WARNING: /" >&2
17805 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17806 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17807 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17808 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17813 ## ------------------------------------ ##
17814 ## Report this to bug-autoconf@gnu.org. ##
17815 ## ------------------------------------ ##
17818 sed "s/^/$as_me: WARNING: /" >&2
17821 echo "$as_me:$LINENO: checking for $ac_header" >&5
17822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17826 eval "$as_ac_Header=$ac_header_preproc"
17828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17833 cat >>confdefs.h <<_ACEOF
17834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17844 for ac_header in wctype.h
17846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17848 echo "$as_me:$LINENO: checking for $ac_header" >&5
17849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17856 # Is the header compilable?
17857 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17858 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17859 cat >conftest.$ac_ext <<_ACEOF
17860 #line $LINENO "configure"
17863 cat confdefs.h >>conftest.$ac_ext
17864 cat >>conftest.$ac_ext <<_ACEOF
17865 /* end confdefs.h. */
17866 $ac_includes_default
17867 #include <$ac_header>
17869 rm -f conftest.$ac_objext
17870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17871 (eval $ac_compile) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } &&
17875 { ac_try='test -s conftest.$ac_objext'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; }; then
17881 ac_header_compiler=yes
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17886 ac_header_compiler=no
17888 rm -f conftest.$ac_objext conftest.$ac_ext
17889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17890 echo "${ECHO_T}$ac_header_compiler" >&6
17892 # Is the header present?
17893 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17895 cat >conftest.$ac_ext <<_ACEOF
17896 #line $LINENO "configure"
17899 cat confdefs.h >>conftest.$ac_ext
17900 cat >>conftest.$ac_ext <<_ACEOF
17901 /* end confdefs.h. */
17902 #include <$ac_header>
17904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17907 grep -v '^ *+' conftest.er1 >conftest.err
17909 cat conftest.err >&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } >/dev/null; then
17912 if test -s conftest.err; then
17913 ac_cpp_err=$ac_c_preproc_warn_flag
17920 if test -z "$ac_cpp_err"; then
17921 ac_header_preproc=yes
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17926 ac_header_preproc=no
17928 rm -f conftest.err conftest.$ac_ext
17929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17930 echo "${ECHO_T}$ac_header_preproc" >&6
17932 # So? What about this header?
17933 case $ac_header_compiler:$ac_header_preproc in
17935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17941 ## ------------------------------------ ##
17942 ## Report this to bug-autoconf@gnu.org. ##
17943 ## ------------------------------------ ##
17946 sed "s/^/$as_me: WARNING: /" >&2
17949 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17951 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17957 ## ------------------------------------ ##
17958 ## Report this to bug-autoconf@gnu.org. ##
17959 ## ------------------------------------ ##
17962 sed "s/^/$as_me: WARNING: /" >&2
17965 echo "$as_me:$LINENO: checking for $ac_header" >&5
17966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17968 echo $ECHO_N "(cached) $ECHO_C" >&6
17970 eval "$as_ac_Header=$ac_header_preproc"
17972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17977 cat >>confdefs.h <<_ACEOF
17978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17980 ac_has_wctype_h=yes
17988 # Only continue checking if the ISO C99 headers exist and support is on.
17989 if test x"$ac_has_wchar_h" = xyes &&
17990 test x"$ac_has_wctype_h" = xyes &&
17991 test x"$enable_c_mbchar" != xno; then
17993 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
17994 # numeric_limits can instantiate type_traits<wchar_t>
17995 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
17996 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
17997 cat >conftest.$ac_ext <<_ACEOF
17998 #line $LINENO "configure"
18001 cat confdefs.h >>conftest.$ac_ext
18002 cat >>conftest.$ac_ext <<_ACEOF
18003 /* end confdefs.h. */
18008 int i = WCHAR_MIN; int j = WCHAR_MAX;
18013 rm -f conftest.$ac_objext
18014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18015 (eval $ac_compile) 2>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); } &&
18019 { ac_try='test -s conftest.$ac_objext'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; }; then
18025 has_wchar_minmax=yes
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18030 has_wchar_minmax=no
18032 rm -f conftest.$ac_objext conftest.$ac_ext
18033 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
18034 echo "${ECHO_T}$has_wchar_minmax" >&6
18036 # Test wchar.h for WEOF, which is what we use to determine whether
18037 # to specialize for char_traits<wchar_t> or not.
18038 echo "$as_me:$LINENO: checking for WEOF" >&5
18039 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
18040 cat >conftest.$ac_ext <<_ACEOF
18041 #line $LINENO "configure"
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18049 #include <stddef.h>
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try='test -s conftest.$ac_objext'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; }; then
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.$ac_ext >&5
18077 rm -f conftest.$ac_objext conftest.$ac_ext
18078 echo "$as_me:$LINENO: result: $has_weof" >&5
18079 echo "${ECHO_T}$has_weof" >&6
18081 # Tests for wide character functions used in char_traits<wchar_t>.
18089 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
18091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18092 echo "$as_me:$LINENO: checking for $ac_func" >&5
18093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18094 if eval "test \"\${$as_ac_var+set}\" = set"; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18097 cat >conftest.$ac_ext <<_ACEOF
18098 #line $LINENO "configure"
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18104 /* System header to define __stub macros and hopefully few prototypes,
18105 which can conflict with char $ac_func (); below.
18106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18107 <limits.h> exists even on freestanding compilers. */
18109 # include <limits.h>
18111 # include <assert.h>
18113 /* Override any gcc2 internal prototype to avoid an error. */
18118 /* We use char because int might match the return type of a gcc2
18119 builtin and then its argument prototype would still apply. */
18121 /* The GNU C library defines this for functions which it implements
18122 to always fail with ENOSYS. Some functions are actually named
18123 something starting with __ and the normal name is an alias. */
18124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18127 char (*f) () = $ac_func;
18136 return f != $ac_func;
18141 rm -f conftest.$ac_objext conftest$ac_exeext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18143 (eval $ac_link) 2>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } &&
18147 { ac_try='test -s conftest$ac_exeext'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; }; then
18153 eval "$as_ac_var=yes"
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18158 eval "$as_ac_var=no"
18160 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18164 if test `eval echo '${'$as_ac_var'}'` = yes; then
18165 cat >>confdefs.h <<_ACEOF
18166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18175 # Checks for names injected into std:: by the c_std headers.
18226 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
18227 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
18228 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
18229 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
18230 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
18231 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
18233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18234 echo "$as_me:$LINENO: checking for $ac_func" >&5
18235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18236 if eval "test \"\${$as_ac_var+set}\" = set"; then
18237 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 cat >conftest.$ac_ext <<_ACEOF
18240 #line $LINENO "configure"
18243 cat confdefs.h >>conftest.$ac_ext
18244 cat >>conftest.$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18246 /* System header to define __stub macros and hopefully few prototypes,
18247 which can conflict with char $ac_func (); below.
18248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18249 <limits.h> exists even on freestanding compilers. */
18251 # include <limits.h>
18253 # include <assert.h>
18255 /* Override any gcc2 internal prototype to avoid an error. */
18260 /* We use char because int might match the return type of a gcc2
18261 builtin and then its argument prototype would still apply. */
18263 /* The GNU C library defines this for functions which it implements
18264 to always fail with ENOSYS. Some functions are actually named
18265 something starting with __ and the normal name is an alias. */
18266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18269 char (*f) () = $ac_func;
18278 return f != $ac_func;
18283 rm -f conftest.$ac_objext conftest$ac_exeext
18284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18285 (eval $ac_link) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } &&
18289 { ac_try='test -s conftest$ac_exeext'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; }; then
18295 eval "$as_ac_var=yes"
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.$ac_ext >&5
18300 eval "$as_ac_var=no"
18302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18306 if test `eval echo '${'$as_ac_var'}'` = yes; then
18307 cat >>confdefs.h <<_ACEOF
18308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18317 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
18318 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
18319 if test x"$has_weof" = xyes &&
18320 test x"$has_wchar_minmax" = xyes &&
18321 test x"$ac_wfuncs" = xyes;
18323 ac_isoC99_wchar_t=yes
18325 ac_isoC99_wchar_t=no
18327 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
18328 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
18330 # Use iconv for wchar_t to char conversions. As such, check for
18331 # X/Open Portability Guide, version 2 features (XPG2).
18332 if test "${ac_cv_header_iconv_h+set}" = set; then
18333 echo "$as_me:$LINENO: checking for iconv.h" >&5
18334 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
18335 if test "${ac_cv_header_iconv_h+set}" = set; then
18336 echo $ECHO_N "(cached) $ECHO_C" >&6
18338 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
18339 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
18341 # Is the header compilable?
18342 echo "$as_me:$LINENO: checking iconv.h usability" >&5
18343 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
18344 cat >conftest.$ac_ext <<_ACEOF
18345 #line $LINENO "configure"
18348 cat confdefs.h >>conftest.$ac_ext
18349 cat >>conftest.$ac_ext <<_ACEOF
18350 /* end confdefs.h. */
18351 $ac_includes_default
18354 rm -f conftest.$ac_objext
18355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18356 (eval $ac_compile) 2>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } &&
18360 { ac_try='test -s conftest.$ac_objext'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; }; then
18366 ac_header_compiler=yes
18368 echo "$as_me: failed program was:" >&5
18369 sed 's/^/| /' conftest.$ac_ext >&5
18371 ac_header_compiler=no
18373 rm -f conftest.$ac_objext conftest.$ac_ext
18374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18375 echo "${ECHO_T}$ac_header_compiler" >&6
18377 # Is the header present?
18378 echo "$as_me:$LINENO: checking iconv.h presence" >&5
18379 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
18380 cat >conftest.$ac_ext <<_ACEOF
18381 #line $LINENO "configure"
18384 cat confdefs.h >>conftest.$ac_ext
18385 cat >>conftest.$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18392 grep -v '^ *+' conftest.er1 >conftest.err
18394 cat conftest.err >&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); } >/dev/null; then
18397 if test -s conftest.err; then
18398 ac_cpp_err=$ac_c_preproc_warn_flag
18405 if test -z "$ac_cpp_err"; then
18406 ac_header_preproc=yes
18408 echo "$as_me: failed program was:" >&5
18409 sed 's/^/| /' conftest.$ac_ext >&5
18411 ac_header_preproc=no
18413 rm -f conftest.err conftest.$ac_ext
18414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18415 echo "${ECHO_T}$ac_header_preproc" >&6
18417 # So? What about this header?
18418 case $ac_header_compiler:$ac_header_preproc in
18420 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
18421 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18422 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
18423 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
18426 ## ------------------------------------ ##
18427 ## Report this to bug-autoconf@gnu.org. ##
18428 ## ------------------------------------ ##
18431 sed "s/^/$as_me: WARNING: /" >&2
18434 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
18435 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
18436 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
18437 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
18438 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
18439 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
18442 ## ------------------------------------ ##
18443 ## Report this to bug-autoconf@gnu.org. ##
18444 ## ------------------------------------ ##
18447 sed "s/^/$as_me: WARNING: /" >&2
18450 echo "$as_me:$LINENO: checking for iconv.h" >&5
18451 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
18452 if test "${ac_cv_header_iconv_h+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 ac_cv_header_iconv_h=$ac_header_preproc
18457 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
18458 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
18461 if test $ac_cv_header_iconv_h = yes; then
18468 if test "${ac_cv_header_langinfo_h+set}" = set; then
18469 echo "$as_me:$LINENO: checking for langinfo.h" >&5
18470 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
18471 if test "${ac_cv_header_langinfo_h+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18474 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
18475 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
18477 # Is the header compilable?
18478 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
18479 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
18480 cat >conftest.$ac_ext <<_ACEOF
18481 #line $LINENO "configure"
18484 cat confdefs.h >>conftest.$ac_ext
18485 cat >>conftest.$ac_ext <<_ACEOF
18486 /* end confdefs.h. */
18487 $ac_includes_default
18488 #include <langinfo.h>
18490 rm -f conftest.$ac_objext
18491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18492 (eval $ac_compile) 2>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } &&
18496 { ac_try='test -s conftest.$ac_objext'
18497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18498 (eval $ac_try) 2>&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); }; }; then
18502 ac_header_compiler=yes
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.$ac_ext >&5
18507 ac_header_compiler=no
18509 rm -f conftest.$ac_objext conftest.$ac_ext
18510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18511 echo "${ECHO_T}$ac_header_compiler" >&6
18513 # Is the header present?
18514 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
18515 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
18516 cat >conftest.$ac_ext <<_ACEOF
18517 #line $LINENO "configure"
18520 cat confdefs.h >>conftest.$ac_ext
18521 cat >>conftest.$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18523 #include <langinfo.h>
18525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18528 grep -v '^ *+' conftest.er1 >conftest.err
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } >/dev/null; then
18533 if test -s conftest.err; then
18534 ac_cpp_err=$ac_c_preproc_warn_flag
18541 if test -z "$ac_cpp_err"; then
18542 ac_header_preproc=yes
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18547 ac_header_preproc=no
18549 rm -f conftest.err conftest.$ac_ext
18550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18551 echo "${ECHO_T}$ac_header_preproc" >&6
18553 # So? What about this header?
18554 case $ac_header_compiler:$ac_header_preproc in
18556 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
18557 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18558 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
18559 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
18562 ## ------------------------------------ ##
18563 ## Report this to bug-autoconf@gnu.org. ##
18564 ## ------------------------------------ ##
18567 sed "s/^/$as_me: WARNING: /" >&2
18570 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
18571 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
18572 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
18573 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
18574 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
18575 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
18578 ## ------------------------------------ ##
18579 ## Report this to bug-autoconf@gnu.org. ##
18580 ## ------------------------------------ ##
18583 sed "s/^/$as_me: WARNING: /" >&2
18586 echo "$as_me:$LINENO: checking for langinfo.h" >&5
18587 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
18588 if test "${ac_cv_header_langinfo_h+set}" = set; then
18589 echo $ECHO_N "(cached) $ECHO_C" >&6
18591 ac_cv_header_langinfo_h=$ac_header_preproc
18593 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
18594 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
18597 if test $ac_cv_header_langinfo_h = yes; then
18598 ac_has_langinfo_h=yes
18600 ac_has_langinfo_h=no
18605 # Check for existence of libiconv.a providing XPG2 wchar_t support.
18606 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
18607 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
18608 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18611 ac_check_lib_save_LIBS=$LIBS
18612 LIBS="-liconv $LIBS"
18613 cat >conftest.$ac_ext <<_ACEOF
18614 #line $LINENO "configure"
18617 cat confdefs.h >>conftest.$ac_ext
18618 cat >>conftest.$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18621 /* Override any gcc2 internal prototype to avoid an error. */
18625 /* We use char because int might match the return type of a gcc2
18626 builtin and then its argument prototype would still apply. */
18636 rm -f conftest.$ac_objext conftest$ac_exeext
18637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18638 (eval $ac_link) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } &&
18642 { ac_try='test -s conftest$ac_exeext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 ac_cv_lib_iconv_iconv=yes
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 ac_cv_lib_iconv_iconv=no
18655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18656 LIBS=$ac_check_lib_save_LIBS
18658 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
18659 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
18660 if test $ac_cv_lib_iconv_iconv = yes; then
18664 ac_save_LIBS="$LIBS"
18665 LIBS="$LIBS $libiconv"
18671 for ac_func in iconv_open iconv_close iconv nl_langinfo
18673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18674 echo "$as_me:$LINENO: checking for $ac_func" >&5
18675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18676 if eval "test \"\${$as_ac_var+set}\" = set"; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18679 cat >conftest.$ac_ext <<_ACEOF
18680 #line $LINENO "configure"
18683 cat confdefs.h >>conftest.$ac_ext
18684 cat >>conftest.$ac_ext <<_ACEOF
18685 /* end confdefs.h. */
18686 /* System header to define __stub macros and hopefully few prototypes,
18687 which can conflict with char $ac_func (); below.
18688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18689 <limits.h> exists even on freestanding compilers. */
18691 # include <limits.h>
18693 # include <assert.h>
18695 /* Override any gcc2 internal prototype to avoid an error. */
18700 /* We use char because int might match the return type of a gcc2
18701 builtin and then its argument prototype would still apply. */
18703 /* The GNU C library defines this for functions which it implements
18704 to always fail with ENOSYS. Some functions are actually named
18705 something starting with __ and the normal name is an alias. */
18706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18709 char (*f) () = $ac_func;
18718 return f != $ac_func;
18723 rm -f conftest.$ac_objext conftest$ac_exeext
18724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18725 (eval $ac_link) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } &&
18729 { ac_try='test -s conftest$ac_exeext'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 eval "$as_ac_var=yes"
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.$ac_ext >&5
18740 eval "$as_ac_var=no"
18742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18746 if test `eval echo '${'$as_ac_var'}'` = yes; then
18747 cat >>confdefs.h <<_ACEOF
18748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18757 LIBS="$ac_save_LIBS"
18759 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
18760 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
18761 if test x"$ac_has_iconv_h" = xyes &&
18762 test x"$ac_has_langinfo_h" = xyes &&
18763 test x"$ac_XPG2funcs" = xyes;
18765 ac_XPG2_wchar_t=yes
18769 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
18770 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
18772 # At the moment, only enable wchar_t specializations if all the
18773 # above support is present.
18774 if test x"$ac_isoC99_wchar_t" = xyes &&
18775 test x"$ac_XPG2_wchar_t" = xyes;
18777 cat >>confdefs.h <<\_ACEOF
18778 #define _GLIBCXX_USE_WCHAR_T 1
18784 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
18785 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
18786 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
18787 echo "${ECHO_T}$enable_wchar_t" >&6
18789 cat >>confdefs.h <<\_ACEOF
18790 #define HAVE_COSF 1
18793 cat >>confdefs.h <<\_ACEOF
18794 #define HAVE_COSL 1
18797 cat >>confdefs.h <<\_ACEOF
18798 #define HAVE_COSHF 1
18801 cat >>confdefs.h <<\_ACEOF
18802 #define HAVE_COSHL 1
18805 cat >>confdefs.h <<\_ACEOF
18806 #define HAVE_LOGF 1
18809 cat >>confdefs.h <<\_ACEOF
18810 #define HAVE_LOGL 1
18813 cat >>confdefs.h <<\_ACEOF
18814 #define HAVE_LOG10F 1
18817 cat >>confdefs.h <<\_ACEOF
18818 #define HAVE_LOG10L 1
18821 cat >>confdefs.h <<\_ACEOF
18822 #define HAVE_SINF 1
18825 cat >>confdefs.h <<\_ACEOF
18826 #define HAVE_SINL 1
18829 cat >>confdefs.h <<\_ACEOF
18830 #define HAVE_SINHF 1
18833 cat >>confdefs.h <<\_ACEOF
18834 #define HAVE_SINHL 1
18841 # os_include_dir="os/solaris/solaris2.5"
18844 # os_include_dir="os/solaris/solaris2.6"
18846 # *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
18847 # os_include_dir="os/solaris/solaris2.7"
18850 cat >>confdefs.h <<\_ACEOF
18851 #define HAVE_STRTOF 1
18854 cat >>confdefs.h <<\_ACEOF
18855 #define HAVE_STRTOLD 1
18858 cat >>confdefs.h <<\_ACEOF
18859 #define HAVE_MMAP 1
18862 cat >>confdefs.h <<\_ACEOF
18863 #define HAVE_COPYSIGN 1
18866 cat >>confdefs.h <<\_ACEOF
18867 #define HAVE_ISNAN 1
18870 cat >>confdefs.h <<\_ACEOF
18871 #define HAVE_ISNANF 1
18874 cat >>confdefs.h <<\_ACEOF
18875 #define HAVE_MODFF 1
18878 cat >>confdefs.h <<\_ACEOF
18879 #define HAVE_HYPOT 1
18884 #os_include_dir="os/windiss"
18885 cat >>confdefs.h <<\_ACEOF
18886 #define HAVE_ACOSF 1
18889 cat >>confdefs.h <<\_ACEOF
18890 #define HAVE_ASINF 1
18893 cat >>confdefs.h <<\_ACEOF
18894 #define HAVE_ATAN2F 1
18897 cat >>confdefs.h <<\_ACEOF
18898 #define HAVE_ATANF 1
18901 cat >>confdefs.h <<\_ACEOF
18902 #define HAVE_CEILF 1
18905 cat >>confdefs.h <<\_ACEOF
18906 #define HAVE_COPYSIGN 1
18909 cat >>confdefs.h <<\_ACEOF
18910 #define HAVE_COPYSIGNF 1
18913 cat >>confdefs.h <<\_ACEOF
18914 #define HAVE_COSF 1
18917 cat >>confdefs.h <<\_ACEOF
18918 #define HAVE_COSHF 1
18921 cat >>confdefs.h <<\_ACEOF
18922 #define HAVE_EXPF 1
18925 cat >>confdefs.h <<\_ACEOF
18926 #define HAVE_FABSF 1
18929 cat >>confdefs.h <<\_ACEOF
18930 #define HAVE_FLOORF 1
18933 cat >>confdefs.h <<\_ACEOF
18934 #define HAVE_FMODF 1
18937 cat >>confdefs.h <<\_ACEOF
18938 #define HAVE_FREXPF 1
18941 cat >>confdefs.h <<\_ACEOF
18942 #define HAVE_LDEXPF 1
18945 cat >>confdefs.h <<\_ACEOF
18946 #define HAVE_LOG10F 1
18949 cat >>confdefs.h <<\_ACEOF
18950 #define HAVE_LOGF 1
18953 cat >>confdefs.h <<\_ACEOF
18954 #define HAVE_MODFF 1
18957 cat >>confdefs.h <<\_ACEOF
18958 #define HAVE_POWF 1
18961 cat >>confdefs.h <<\_ACEOF
18962 #define HAVE_SINF 1
18965 cat >>confdefs.h <<\_ACEOF
18966 #define HAVE_SINHF 1
18969 cat >>confdefs.h <<\_ACEOF
18970 #define HAVE_SQRTF 1
18973 cat >>confdefs.h <<\_ACEOF
18974 #define HAVE_TANF 1
18977 cat >>confdefs.h <<\_ACEOF
18978 #define HAVE_TANHF 1
18983 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
18984 echo "$as_me: error: No support for this host/target combination." >&2;}
18985 { (exit 1); exit 1; }; }
18992 # At some point, we should differentiate between architectures
18993 # like x86, which have long double versions, and alpha/powerpc/etc.,
18994 # which don't. For the time being, punt.
18995 if test x"long_double_math_on_this_cpu" = x"yes"; then
18996 cat >>confdefs.h <<\_ACEOF
18997 #define HAVE_ACOSL 1
19000 cat >>confdefs.h <<\_ACEOF
19001 #define HAVE_ASINL 1
19004 cat >>confdefs.h <<\_ACEOF
19005 #define HAVE_ATAN2L 1
19008 cat >>confdefs.h <<\_ACEOF
19009 #define HAVE_ATANL 1
19012 cat >>confdefs.h <<\_ACEOF
19013 #define HAVE_CEILL 1
19016 cat >>confdefs.h <<\_ACEOF
19017 #define HAVE_COPYSIGNL 1
19020 cat >>confdefs.h <<\_ACEOF
19021 #define HAVE_COSL 1
19024 cat >>confdefs.h <<\_ACEOF
19025 #define HAVE_COSHL 1
19028 cat >>confdefs.h <<\_ACEOF
19029 #define HAVE_EXPL 1
19032 cat >>confdefs.h <<\_ACEOF
19033 #define HAVE_FABSL 1
19036 cat >>confdefs.h <<\_ACEOF
19037 #define HAVE_FLOORL 1
19040 cat >>confdefs.h <<\_ACEOF
19041 #define HAVE_FMODL 1
19044 cat >>confdefs.h <<\_ACEOF
19045 #define HAVE_FREXPL 1
19048 cat >>confdefs.h <<\_ACEOF
19049 #define HAVE_LDEXPL 1
19052 cat >>confdefs.h <<\_ACEOF
19053 #define HAVE_LOG10L 1
19056 cat >>confdefs.h <<\_ACEOF
19057 #define HAVE_LOGL 1
19060 cat >>confdefs.h <<\_ACEOF
19061 #define HAVE_MODFL 1
19064 cat >>confdefs.h <<\_ACEOF
19065 #define HAVE_POWL 1
19068 cat >>confdefs.h <<\_ACEOF
19069 #define HAVE_SINCOSL 1
19072 cat >>confdefs.h <<\_ACEOF
19073 #define HAVE_SINL 1
19076 cat >>confdefs.h <<\_ACEOF
19077 #define HAVE_SINHL 1
19080 cat >>confdefs.h <<\_ACEOF
19081 #define HAVE_SQRTL 1
19084 cat >>confdefs.h <<\_ACEOF
19085 #define HAVE_TANL 1
19088 cat >>confdefs.h <<\_ACEOF
19089 #define HAVE_TANHL 1
19096 # We are being configured natively. We can do more elaborate tests that
19097 # include AC_TRY_COMPILE now, as the linker is assumed to be working.
19098 GLIBCXX_IS_NATIVE=true
19101 # Check for available headers.
19115 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
19116 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
19119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19121 echo "$as_me:$LINENO: checking for $ac_header" >&5
19122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19124 echo $ECHO_N "(cached) $ECHO_C" >&6
19126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19129 # Is the header compilable?
19130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19132 cat >conftest.$ac_ext <<_ACEOF
19133 #line $LINENO "configure"
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 $ac_includes_default
19140 #include <$ac_header>
19142 rm -f conftest.$ac_objext
19143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19144 (eval $ac_compile) 2>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } &&
19148 { ac_try='test -s conftest.$ac_objext'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; }; then
19154 ac_header_compiler=yes
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19159 ac_header_compiler=no
19161 rm -f conftest.$ac_objext conftest.$ac_ext
19162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19163 echo "${ECHO_T}$ac_header_compiler" >&6
19165 # Is the header present?
19166 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19168 cat >conftest.$ac_ext <<_ACEOF
19169 #line $LINENO "configure"
19172 cat confdefs.h >>conftest.$ac_ext
19173 cat >>conftest.$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 #include <$ac_header>
19177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19180 grep -v '^ *+' conftest.er1 >conftest.err
19182 cat conftest.err >&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } >/dev/null; then
19185 if test -s conftest.err; then
19186 ac_cpp_err=$ac_c_preproc_warn_flag
19193 if test -z "$ac_cpp_err"; then
19194 ac_header_preproc=yes
19196 echo "$as_me: failed program was:" >&5
19197 sed 's/^/| /' conftest.$ac_ext >&5
19199 ac_header_preproc=no
19201 rm -f conftest.err conftest.$ac_ext
19202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19203 echo "${ECHO_T}$ac_header_preproc" >&6
19205 # So? What about this header?
19206 case $ac_header_compiler:$ac_header_preproc in
19208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19214 ## ------------------------------------ ##
19215 ## Report this to bug-autoconf@gnu.org. ##
19216 ## ------------------------------------ ##
19219 sed "s/^/$as_me: WARNING: /" >&2
19222 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19223 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19224 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19225 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19230 ## ------------------------------------ ##
19231 ## Report this to bug-autoconf@gnu.org. ##
19232 ## ------------------------------------ ##
19235 sed "s/^/$as_me: WARNING: /" >&2
19238 echo "$as_me:$LINENO: checking for $ac_header" >&5
19239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19241 echo $ECHO_N "(cached) $ECHO_C" >&6
19243 eval "$as_ac_Header=$ac_header_preproc"
19245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19250 cat >>confdefs.h <<_ACEOF
19251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19260 # All these tests are for C++; save the language and the compiler flags.
19261 # The CXXFLAGS thing is suspicious, but based on similar bits previously
19262 # found in GLIBCXX_CONFIGURE.
19266 ac_cpp='$CXXCPP $CPPFLAGS'
19267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19271 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19272 ac_save_CXXFLAGS="$CXXFLAGS"
19274 # Check for maintainer-mode bits.
19275 if test x"$USE_MAINTAINER_MODE" = xno; then
19281 # Check for -ffunction-sections -fdata-sections
19282 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
19283 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
19284 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
19285 cat >conftest.$ac_ext <<_ACEOF
19286 #line $LINENO "configure"
19289 cat confdefs.h >>conftest.$ac_ext
19290 cat >>conftest.$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19301 rm -f conftest.$ac_objext
19302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19303 (eval $ac_compile) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } &&
19307 { ac_try='test -s conftest.$ac_objext'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; }; then
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19320 rm -f conftest.$ac_objext conftest.$ac_ext
19321 if test "$ac_test_CXXFLAGS" = set; then
19322 CXXFLAGS="$ac_save_CXXFLAGS"
19324 # this is the suspicious part
19327 if test x"$ac_fdsections" = x"yes"; then
19328 SECTION_FLAGS='-ffunction-sections -fdata-sections'
19330 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
19331 echo "${ECHO_T}$ac_fdsections" >&6
19334 ac_cpp='$CPP $CPPFLAGS'
19335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19343 # If we're not using GNU ld, then there's no point in even trying these
19344 # tests. Check for that first. We should have already tested for gld
19345 # by now (in libtool), but require it now just to be safe...
19346 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19347 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19351 # The name set by libtool depends on the version of libtool. Shame on us
19352 # for depending on an impl detail, but c'est la vie. Older versions used
19353 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19354 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19355 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19356 # set (hence we're using an older libtool), then set it.
19357 if test x${with_gnu_ld+set} != xset; then
19358 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19359 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19362 with_gnu_ld=$ac_cv_prog_gnu_ld
19366 # Start by getting the version number. I think the libtool test already
19367 # does some of this, but throws away the result.
19369 ldver=`$LD --version 2>/dev/null | head -1 | \
19370 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
19372 glibcxx_gnu_ld_version=`echo $ldver | \
19373 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19375 # Set --gc-sections.
19376 if test "$with_gnu_ld" = "notbroken"; then
19377 # GNU ld it is! Joy and bunny rabbits!
19379 # All these tests are for C++; save the language and the compiler flags.
19380 # Need to do this so that g++ won't try to link in libstdc++
19381 ac_test_CFLAGS="${CFLAGS+set}"
19382 ac_save_CFLAGS="$CFLAGS"
19383 CFLAGS='-x c++ -Wl,--gc-sections'
19385 # Check for -Wl,--gc-sections
19386 # XXX This test is broken at the moment, as symbols required for linking
19387 # are now in libsupc++ (not built yet). In addition, this test has
19388 # cored on solaris in the past. In addition, --gc-sections doesn't
19389 # really work at the moment (keeps on discarding used sections, first
19390 # .eh_frame and now some of the glibc sections for iconv).
19391 # Bzzzzt. Thanks for playing, maybe next time.
19392 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
19393 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
19394 if test "$cross_compiling" = yes; then
19395 ac_sectionLDflags=yes
19397 cat >conftest.$ac_ext <<_ACEOF
19398 #line $LINENO "configure"
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19413 rm -f conftest$ac_exeext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19415 (eval $ac_link) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19420 (eval $ac_try) 2>&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); }; }; then
19424 ac_sectionLDflags=yes
19426 echo "$as_me: program exited with status $ac_status" >&5
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.$ac_ext >&5
19430 ( exit $ac_status )
19431 ac_sectionLDflags=no
19433 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19435 if test "$ac_test_CFLAGS" = set; then
19436 CFLAGS="$ac_save_CFLAGS"
19438 # this is the suspicious part
19441 if test "$ac_sectionLDflags" = "yes"; then
19442 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19444 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
19445 echo "${ECHO_T}$ac_sectionLDflags" >&6
19448 # Set linker optimization flags.
19449 if test x"$with_gnu_ld" = x"yes"; then
19450 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19457 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19458 ac_save_CXXFLAGS="$CXXFLAGS"
19459 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19461 echo "$as_me:$LINENO: checking for sin in -lm" >&5
19462 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
19463 if test "${ac_cv_lib_m_sin+set}" = set; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19466 ac_check_lib_save_LIBS=$LIBS
19468 cat >conftest.$ac_ext <<_ACEOF
19469 #line $LINENO "configure"
19472 cat confdefs.h >>conftest.$ac_ext
19473 cat >>conftest.$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19476 /* Override any gcc2 internal prototype to avoid an error. */
19480 /* We use char because int might match the return type of a gcc2
19481 builtin and then its argument prototype would still apply. */
19491 rm -f conftest.$ac_objext conftest$ac_exeext
19492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19493 (eval $ac_link) 2>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try='test -s conftest$ac_exeext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 ac_cv_lib_m_sin=yes
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19511 LIBS=$ac_check_lib_save_LIBS
19513 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
19514 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
19515 if test $ac_cv_lib_m_sin = yes; then
19519 ac_save_LIBS="$LIBS"
19524 echo "$as_me:$LINENO: checking for isinf declaration" >&5
19525 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
19526 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19527 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
19528 echo $ECHO_N "(cached) $ECHO_C" >&6
19534 ac_cpp='$CXXCPP $CPPFLAGS'
19535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19539 cat >conftest.$ac_ext <<_ACEOF
19540 #line $LINENO "configure"
19543 cat confdefs.h >>conftest.$ac_ext
19544 cat >>conftest.$ac_ext <<_ACEOF
19545 /* end confdefs.h. */
19547 #ifdef HAVE_IEEEFP_H
19548 #include <ieeefp.h>
19559 rm -f conftest.$ac_objext
19560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19561 (eval $ac_compile) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } &&
19565 { ac_try='test -s conftest.$ac_objext'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; }; then
19571 glibcxx_cv_func_isinf_use=yes
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19576 glibcxx_cv_func_isinf_use=no
19578 rm -f conftest.$ac_objext conftest.$ac_ext
19580 ac_cpp='$CPP $CPPFLAGS'
19581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
19590 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
19592 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19594 for ac_func in isinf
19596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19597 echo "$as_me:$LINENO: checking for $ac_func" >&5
19598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19599 if eval "test \"\${$as_ac_var+set}\" = set"; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 cat >conftest.$ac_ext <<_ACEOF
19603 #line $LINENO "configure"
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 /* System header to define __stub macros and hopefully few prototypes,
19610 which can conflict with char $ac_func (); below.
19611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19612 <limits.h> exists even on freestanding compilers. */
19614 # include <limits.h>
19616 # include <assert.h>
19618 /* Override any gcc2 internal prototype to avoid an error. */
19623 /* We use char because int might match the return type of a gcc2
19624 builtin and then its argument prototype would still apply. */
19626 /* The GNU C library defines this for functions which it implements
19627 to always fail with ENOSYS. Some functions are actually named
19628 something starting with __ and the normal name is an alias. */
19629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19632 char (*f) () = $ac_func;
19641 return f != $ac_func;
19646 rm -f conftest.$ac_objext conftest$ac_exeext
19647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19648 (eval $ac_link) 2>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); } &&
19652 { ac_try='test -s conftest$ac_exeext'
19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19654 (eval $ac_try) 2>&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; }; then
19658 eval "$as_ac_var=yes"
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19663 eval "$as_ac_var=no"
19665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19669 if test `eval echo '${'$as_ac_var'}'` = yes; then
19670 cat >>confdefs.h <<_ACEOF
19671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19679 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
19680 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
19681 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19682 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
19683 echo $ECHO_N "(cached) $ECHO_C" >&6
19689 ac_cpp='$CXXCPP $CPPFLAGS'
19690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19694 cat >conftest.$ac_ext <<_ACEOF
19695 #line $LINENO "configure"
19698 cat confdefs.h >>conftest.$ac_ext
19699 cat >>conftest.$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19702 #ifdef HAVE_IEEEFP_H
19703 #include <ieeefp.h>
19714 rm -f conftest.$ac_objext
19715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19716 (eval $ac_compile) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } &&
19720 { ac_try='test -s conftest.$ac_objext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 glibcxx_cv_func__isinf_use=yes
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19731 glibcxx_cv_func__isinf_use=no
19733 rm -f conftest.$ac_objext conftest.$ac_ext
19735 ac_cpp='$CPP $CPPFLAGS'
19736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19744 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19745 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19747 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19749 for ac_func in _isinf
19751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19752 echo "$as_me:$LINENO: checking for $ac_func" >&5
19753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19754 if eval "test \"\${$as_ac_var+set}\" = set"; then
19755 echo $ECHO_N "(cached) $ECHO_C" >&6
19757 cat >conftest.$ac_ext <<_ACEOF
19758 #line $LINENO "configure"
19761 cat confdefs.h >>conftest.$ac_ext
19762 cat >>conftest.$ac_ext <<_ACEOF
19763 /* end confdefs.h. */
19764 /* System header to define __stub macros and hopefully few prototypes,
19765 which can conflict with char $ac_func (); below.
19766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19767 <limits.h> exists even on freestanding compilers. */
19769 # include <limits.h>
19771 # include <assert.h>
19773 /* Override any gcc2 internal prototype to avoid an error. */
19778 /* We use char because int might match the return type of a gcc2
19779 builtin and then its argument prototype would still apply. */
19781 /* The GNU C library defines this for functions which it implements
19782 to always fail with ENOSYS. Some functions are actually named
19783 something starting with __ and the normal name is an alias. */
19784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19787 char (*f) () = $ac_func;
19796 return f != $ac_func;
19801 rm -f conftest.$ac_objext conftest$ac_exeext
19802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19803 (eval $ac_link) 2>&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); } &&
19807 { ac_try='test -s conftest$ac_exeext'
19808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19809 (eval $ac_try) 2>&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); }; }; then
19813 eval "$as_ac_var=yes"
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19818 eval "$as_ac_var=no"
19820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19824 if test `eval echo '${'$as_ac_var'}'` = yes; then
19825 cat >>confdefs.h <<_ACEOF
19826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19837 echo "$as_me:$LINENO: checking for isnan declaration" >&5
19838 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19839 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19840 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19847 ac_cpp='$CXXCPP $CPPFLAGS'
19848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19852 cat >conftest.$ac_ext <<_ACEOF
19853 #line $LINENO "configure"
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19860 #ifdef HAVE_IEEEFP_H
19861 #include <ieeefp.h>
19872 rm -f conftest.$ac_objext
19873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874 (eval $ac_compile) 2>&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); } &&
19878 { ac_try='test -s conftest.$ac_objext'
19879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19880 (eval $ac_try) 2>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; }; then
19884 glibcxx_cv_func_isnan_use=yes
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.$ac_ext >&5
19889 glibcxx_cv_func_isnan_use=no
19891 rm -f conftest.$ac_objext conftest.$ac_ext
19893 ac_cpp='$CPP $CPPFLAGS'
19894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19903 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19905 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19907 for ac_func in isnan
19909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19910 echo "$as_me:$LINENO: checking for $ac_func" >&5
19911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19912 if eval "test \"\${$as_ac_var+set}\" = set"; then
19913 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 cat >conftest.$ac_ext <<_ACEOF
19916 #line $LINENO "configure"
19919 cat confdefs.h >>conftest.$ac_ext
19920 cat >>conftest.$ac_ext <<_ACEOF
19921 /* end confdefs.h. */
19922 /* System header to define __stub macros and hopefully few prototypes,
19923 which can conflict with char $ac_func (); below.
19924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19925 <limits.h> exists even on freestanding compilers. */
19927 # include <limits.h>
19929 # include <assert.h>
19931 /* Override any gcc2 internal prototype to avoid an error. */
19936 /* We use char because int might match the return type of a gcc2
19937 builtin and then its argument prototype would still apply. */
19939 /* The GNU C library defines this for functions which it implements
19940 to always fail with ENOSYS. Some functions are actually named
19941 something starting with __ and the normal name is an alias. */
19942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19945 char (*f) () = $ac_func;
19954 return f != $ac_func;
19959 rm -f conftest.$ac_objext conftest$ac_exeext
19960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19961 (eval $ac_link) 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } &&
19965 { ac_try='test -s conftest$ac_exeext'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; }; then
19971 eval "$as_ac_var=yes"
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19976 eval "$as_ac_var=no"
19978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19982 if test `eval echo '${'$as_ac_var'}'` = yes; then
19983 cat >>confdefs.h <<_ACEOF
19984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19992 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19993 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19994 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19995 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19996 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 ac_cpp='$CXXCPP $CPPFLAGS'
20003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20007 cat >conftest.$ac_ext <<_ACEOF
20008 #line $LINENO "configure"
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20015 #ifdef HAVE_IEEEFP_H
20016 #include <ieeefp.h>
20027 rm -f conftest.$ac_objext
20028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20029 (eval $ac_compile) 2>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } &&
20033 { ac_try='test -s conftest.$ac_objext'
20034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20035 (eval $ac_try) 2>&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; }; then
20039 glibcxx_cv_func__isnan_use=yes
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.$ac_ext >&5
20044 glibcxx_cv_func__isnan_use=no
20046 rm -f conftest.$ac_objext conftest.$ac_ext
20048 ac_cpp='$CPP $CPPFLAGS'
20049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
20058 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
20060 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20062 for ac_func in _isnan
20064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20065 echo "$as_me:$LINENO: checking for $ac_func" >&5
20066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20067 if eval "test \"\${$as_ac_var+set}\" = set"; then
20068 echo $ECHO_N "(cached) $ECHO_C" >&6
20070 cat >conftest.$ac_ext <<_ACEOF
20071 #line $LINENO "configure"
20074 cat confdefs.h >>conftest.$ac_ext
20075 cat >>conftest.$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20077 /* System header to define __stub macros and hopefully few prototypes,
20078 which can conflict with char $ac_func (); below.
20079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20080 <limits.h> exists even on freestanding compilers. */
20082 # include <limits.h>
20084 # include <assert.h>
20086 /* Override any gcc2 internal prototype to avoid an error. */
20091 /* We use char because int might match the return type of a gcc2
20092 builtin and then its argument prototype would still apply. */
20094 /* The GNU C library defines this for functions which it implements
20095 to always fail with ENOSYS. Some functions are actually named
20096 something starting with __ and the normal name is an alias. */
20097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20100 char (*f) () = $ac_func;
20109 return f != $ac_func;
20114 rm -f conftest.$ac_objext conftest$ac_exeext
20115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20116 (eval $ac_link) 2>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } &&
20120 { ac_try='test -s conftest$ac_exeext'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; }; then
20126 eval "$as_ac_var=yes"
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20131 eval "$as_ac_var=no"
20133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20137 if test `eval echo '${'$as_ac_var'}'` = yes; then
20138 cat >>confdefs.h <<_ACEOF
20139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20150 echo "$as_me:$LINENO: checking for finite declaration" >&5
20151 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
20152 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20153 if test "${glibcxx_cv_func_finite_use+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20160 ac_cpp='$CXXCPP $CPPFLAGS'
20161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20165 cat >conftest.$ac_ext <<_ACEOF
20166 #line $LINENO "configure"
20169 cat confdefs.h >>conftest.$ac_ext
20170 cat >>conftest.$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20173 #ifdef HAVE_IEEEFP_H
20174 #include <ieeefp.h>
20185 rm -f conftest.$ac_objext
20186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20187 (eval $ac_compile) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } &&
20191 { ac_try='test -s conftest.$ac_objext'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; }; then
20197 glibcxx_cv_func_finite_use=yes
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20202 glibcxx_cv_func_finite_use=no
20204 rm -f conftest.$ac_objext conftest.$ac_ext
20206 ac_cpp='$CPP $CPPFLAGS'
20207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
20216 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
20218 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20220 for ac_func in finite
20222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20223 echo "$as_me:$LINENO: checking for $ac_func" >&5
20224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20225 if eval "test \"\${$as_ac_var+set}\" = set"; then
20226 echo $ECHO_N "(cached) $ECHO_C" >&6
20228 cat >conftest.$ac_ext <<_ACEOF
20229 #line $LINENO "configure"
20232 cat confdefs.h >>conftest.$ac_ext
20233 cat >>conftest.$ac_ext <<_ACEOF
20234 /* end confdefs.h. */
20235 /* System header to define __stub macros and hopefully few prototypes,
20236 which can conflict with char $ac_func (); below.
20237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20238 <limits.h> exists even on freestanding compilers. */
20240 # include <limits.h>
20242 # include <assert.h>
20244 /* Override any gcc2 internal prototype to avoid an error. */
20249 /* We use char because int might match the return type of a gcc2
20250 builtin and then its argument prototype would still apply. */
20252 /* The GNU C library defines this for functions which it implements
20253 to always fail with ENOSYS. Some functions are actually named
20254 something starting with __ and the normal name is an alias. */
20255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20258 char (*f) () = $ac_func;
20267 return f != $ac_func;
20272 rm -f conftest.$ac_objext conftest$ac_exeext
20273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20274 (eval $ac_link) 2>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } &&
20278 { ac_try='test -s conftest$ac_exeext'
20279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280 (eval $ac_try) 2>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); }; }; then
20284 eval "$as_ac_var=yes"
20286 echo "$as_me: failed program was:" >&5
20287 sed 's/^/| /' conftest.$ac_ext >&5
20289 eval "$as_ac_var=no"
20291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20295 if test `eval echo '${'$as_ac_var'}'` = yes; then
20296 cat >>confdefs.h <<_ACEOF
20297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20305 echo "$as_me:$LINENO: checking for _finite declaration" >&5
20306 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
20307 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20308 if test "${glibcxx_cv_func__finite_use+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20315 ac_cpp='$CXXCPP $CPPFLAGS'
20316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20320 cat >conftest.$ac_ext <<_ACEOF
20321 #line $LINENO "configure"
20324 cat confdefs.h >>conftest.$ac_ext
20325 cat >>conftest.$ac_ext <<_ACEOF
20326 /* end confdefs.h. */
20328 #ifdef HAVE_IEEEFP_H
20329 #include <ieeefp.h>
20340 rm -f conftest.$ac_objext
20341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20342 (eval $ac_compile) 2>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } &&
20346 { ac_try='test -s conftest.$ac_objext'
20347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20348 (eval $ac_try) 2>&5
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); }; }; then
20352 glibcxx_cv_func__finite_use=yes
20354 echo "$as_me: failed program was:" >&5
20355 sed 's/^/| /' conftest.$ac_ext >&5
20357 glibcxx_cv_func__finite_use=no
20359 rm -f conftest.$ac_objext conftest.$ac_ext
20361 ac_cpp='$CPP $CPPFLAGS'
20362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
20371 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
20373 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20375 for ac_func in _finite
20377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20378 echo "$as_me:$LINENO: checking for $ac_func" >&5
20379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20380 if eval "test \"\${$as_ac_var+set}\" = set"; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20383 cat >conftest.$ac_ext <<_ACEOF
20384 #line $LINENO "configure"
20387 cat confdefs.h >>conftest.$ac_ext
20388 cat >>conftest.$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20390 /* System header to define __stub macros and hopefully few prototypes,
20391 which can conflict with char $ac_func (); below.
20392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20393 <limits.h> exists even on freestanding compilers. */
20395 # include <limits.h>
20397 # include <assert.h>
20399 /* Override any gcc2 internal prototype to avoid an error. */
20404 /* We use char because int might match the return type of a gcc2
20405 builtin and then its argument prototype would still apply. */
20407 /* The GNU C library defines this for functions which it implements
20408 to always fail with ENOSYS. Some functions are actually named
20409 something starting with __ and the normal name is an alias. */
20410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20413 char (*f) () = $ac_func;
20422 return f != $ac_func;
20427 rm -f conftest.$ac_objext conftest$ac_exeext
20428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20429 (eval $ac_link) 2>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } &&
20433 { ac_try='test -s conftest$ac_exeext'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; }; then
20439 eval "$as_ac_var=yes"
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.$ac_ext >&5
20444 eval "$as_ac_var=no"
20446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20450 if test `eval echo '${'$as_ac_var'}'` = yes; then
20451 cat >>confdefs.h <<_ACEOF
20452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20463 echo "$as_me:$LINENO: checking for copysign declaration" >&5
20464 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
20465 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
20466 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
20467 echo $ECHO_N "(cached) $ECHO_C" >&6
20473 ac_cpp='$CXXCPP $CPPFLAGS'
20474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20478 cat >conftest.$ac_ext <<_ACEOF
20479 #line $LINENO "configure"
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20494 rm -f conftest.$ac_objext
20495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20496 (eval $ac_compile) 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); } &&
20500 { ac_try='test -s conftest.$ac_objext'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; }; then
20506 glibcxx_cv_func_copysign_use=yes
20508 echo "$as_me: failed program was:" >&5
20509 sed 's/^/| /' conftest.$ac_ext >&5
20511 glibcxx_cv_func_copysign_use=no
20513 rm -f conftest.$ac_objext conftest.$ac_ext
20515 ac_cpp='$CPP $CPPFLAGS'
20516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20524 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
20525 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
20527 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
20529 for ac_func in copysign
20531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20532 echo "$as_me:$LINENO: checking for $ac_func" >&5
20533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20534 if eval "test \"\${$as_ac_var+set}\" = set"; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 cat >conftest.$ac_ext <<_ACEOF
20538 #line $LINENO "configure"
20541 cat confdefs.h >>conftest.$ac_ext
20542 cat >>conftest.$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20544 /* System header to define __stub macros and hopefully few prototypes,
20545 which can conflict with char $ac_func (); below.
20546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20547 <limits.h> exists even on freestanding compilers. */
20549 # include <limits.h>
20551 # include <assert.h>
20553 /* Override any gcc2 internal prototype to avoid an error. */
20558 /* We use char because int might match the return type of a gcc2
20559 builtin and then its argument prototype would still apply. */
20561 /* The GNU C library defines this for functions which it implements
20562 to always fail with ENOSYS. Some functions are actually named
20563 something starting with __ and the normal name is an alias. */
20564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20567 char (*f) () = $ac_func;
20576 return f != $ac_func;
20581 rm -f conftest.$ac_objext conftest$ac_exeext
20582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20583 (eval $ac_link) 2>&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } &&
20587 { ac_try='test -s conftest$ac_exeext'
20588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589 (eval $ac_try) 2>&5
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); }; }; then
20593 eval "$as_ac_var=yes"
20595 echo "$as_me: failed program was:" >&5
20596 sed 's/^/| /' conftest.$ac_ext >&5
20598 eval "$as_ac_var=no"
20600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20604 if test `eval echo '${'$as_ac_var'}'` = yes; then
20605 cat >>confdefs.h <<_ACEOF
20606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20614 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20615 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20616 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20617 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20618 echo $ECHO_N "(cached) $ECHO_C" >&6
20624 ac_cpp='$CXXCPP $CPPFLAGS'
20625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20629 cat >conftest.$ac_ext <<_ACEOF
20630 #line $LINENO "configure"
20633 cat confdefs.h >>conftest.$ac_ext
20634 cat >>conftest.$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20645 rm -f conftest.$ac_objext
20646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20647 (eval $ac_compile) 2>&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } &&
20651 { ac_try='test -s conftest.$ac_objext'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; }; then
20657 glibcxx_cv_func__copysign_use=yes
20659 echo "$as_me: failed program was:" >&5
20660 sed 's/^/| /' conftest.$ac_ext >&5
20662 glibcxx_cv_func__copysign_use=no
20664 rm -f conftest.$ac_objext conftest.$ac_ext
20666 ac_cpp='$CPP $CPPFLAGS'
20667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20676 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20678 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20680 for ac_func in _copysign
20682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20683 echo "$as_me:$LINENO: checking for $ac_func" >&5
20684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20685 if eval "test \"\${$as_ac_var+set}\" = set"; then
20686 echo $ECHO_N "(cached) $ECHO_C" >&6
20688 cat >conftest.$ac_ext <<_ACEOF
20689 #line $LINENO "configure"
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 /* System header to define __stub macros and hopefully few prototypes,
20696 which can conflict with char $ac_func (); below.
20697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20698 <limits.h> exists even on freestanding compilers. */
20700 # include <limits.h>
20702 # include <assert.h>
20704 /* Override any gcc2 internal prototype to avoid an error. */
20709 /* We use char because int might match the return type of a gcc2
20710 builtin and then its argument prototype would still apply. */
20712 /* The GNU C library defines this for functions which it implements
20713 to always fail with ENOSYS. Some functions are actually named
20714 something starting with __ and the normal name is an alias. */
20715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20718 char (*f) () = $ac_func;
20727 return f != $ac_func;
20732 rm -f conftest.$ac_objext conftest$ac_exeext
20733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20734 (eval $ac_link) 2>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } &&
20738 { ac_try='test -s conftest$ac_exeext'
20739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20740 (eval $ac_try) 2>&5
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); }; }; then
20744 eval "$as_ac_var=yes"
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.$ac_ext >&5
20749 eval "$as_ac_var=no"
20751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20755 if test `eval echo '${'$as_ac_var'}'` = yes; then
20756 cat >>confdefs.h <<_ACEOF
20757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20768 echo "$as_me:$LINENO: checking for sincos declaration" >&5
20769 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20770 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20771 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20772 echo $ECHO_N "(cached) $ECHO_C" >&6
20778 ac_cpp='$CXXCPP $CPPFLAGS'
20779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20783 cat >conftest.$ac_ext <<_ACEOF
20784 #line $LINENO "configure"
20787 cat confdefs.h >>conftest.$ac_ext
20788 cat >>conftest.$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20799 rm -f conftest.$ac_objext
20800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20801 (eval $ac_compile) 2>&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } &&
20805 { ac_try='test -s conftest.$ac_objext'
20806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20807 (eval $ac_try) 2>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); }; }; then
20811 glibcxx_cv_func_sincos_use=yes
20813 echo "$as_me: failed program was:" >&5
20814 sed 's/^/| /' conftest.$ac_ext >&5
20816 glibcxx_cv_func_sincos_use=no
20818 rm -f conftest.$ac_objext conftest.$ac_ext
20820 ac_cpp='$CPP $CPPFLAGS'
20821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20830 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20832 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20834 for ac_func in sincos
20836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20837 echo "$as_me:$LINENO: checking for $ac_func" >&5
20838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20839 if eval "test \"\${$as_ac_var+set}\" = set"; then
20840 echo $ECHO_N "(cached) $ECHO_C" >&6
20842 cat >conftest.$ac_ext <<_ACEOF
20843 #line $LINENO "configure"
20846 cat confdefs.h >>conftest.$ac_ext
20847 cat >>conftest.$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20849 /* System header to define __stub macros and hopefully few prototypes,
20850 which can conflict with char $ac_func (); below.
20851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20852 <limits.h> exists even on freestanding compilers. */
20854 # include <limits.h>
20856 # include <assert.h>
20858 /* Override any gcc2 internal prototype to avoid an error. */
20863 /* We use char because int might match the return type of a gcc2
20864 builtin and then its argument prototype would still apply. */
20866 /* The GNU C library defines this for functions which it implements
20867 to always fail with ENOSYS. Some functions are actually named
20868 something starting with __ and the normal name is an alias. */
20869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20872 char (*f) () = $ac_func;
20881 return f != $ac_func;
20886 rm -f conftest.$ac_objext conftest$ac_exeext
20887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20888 (eval $ac_link) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } &&
20892 { ac_try='test -s conftest$ac_exeext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 eval "$as_ac_var=yes"
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20903 eval "$as_ac_var=no"
20905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20909 if test `eval echo '${'$as_ac_var'}'` = yes; then
20910 cat >>confdefs.h <<_ACEOF
20911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20919 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20920 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20921 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20922 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20923 echo $ECHO_N "(cached) $ECHO_C" >&6
20929 ac_cpp='$CXXCPP $CPPFLAGS'
20930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20934 cat >conftest.$ac_ext <<_ACEOF
20935 #line $LINENO "configure"
20938 cat confdefs.h >>conftest.$ac_ext
20939 cat >>conftest.$ac_ext <<_ACEOF
20940 /* end confdefs.h. */
20950 rm -f conftest.$ac_objext
20951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20952 (eval $ac_compile) 2>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } &&
20956 { ac_try='test -s conftest.$ac_objext'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; }; then
20962 glibcxx_cv_func__sincos_use=yes
20964 echo "$as_me: failed program was:" >&5
20965 sed 's/^/| /' conftest.$ac_ext >&5
20967 glibcxx_cv_func__sincos_use=no
20969 rm -f conftest.$ac_objext conftest.$ac_ext
20971 ac_cpp='$CPP $CPPFLAGS'
20972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20980 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20981 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20983 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20985 for ac_func in _sincos
20987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20988 echo "$as_me:$LINENO: checking for $ac_func" >&5
20989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20990 if eval "test \"\${$as_ac_var+set}\" = set"; then
20991 echo $ECHO_N "(cached) $ECHO_C" >&6
20993 cat >conftest.$ac_ext <<_ACEOF
20994 #line $LINENO "configure"
20997 cat confdefs.h >>conftest.$ac_ext
20998 cat >>conftest.$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21000 /* System header to define __stub macros and hopefully few prototypes,
21001 which can conflict with char $ac_func (); below.
21002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21003 <limits.h> exists even on freestanding compilers. */
21005 # include <limits.h>
21007 # include <assert.h>
21009 /* Override any gcc2 internal prototype to avoid an error. */
21014 /* We use char because int might match the return type of a gcc2
21015 builtin and then its argument prototype would still apply. */
21017 /* The GNU C library defines this for functions which it implements
21018 to always fail with ENOSYS. Some functions are actually named
21019 something starting with __ and the normal name is an alias. */
21020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21023 char (*f) () = $ac_func;
21032 return f != $ac_func;
21037 rm -f conftest.$ac_objext conftest$ac_exeext
21038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21039 (eval $ac_link) 2>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } &&
21043 { ac_try='test -s conftest$ac_exeext'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; }; then
21049 eval "$as_ac_var=yes"
21051 echo "$as_me: failed program was:" >&5
21052 sed 's/^/| /' conftest.$ac_ext >&5
21054 eval "$as_ac_var=no"
21056 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21060 if test `eval echo '${'$as_ac_var'}'` = yes; then
21061 cat >>confdefs.h <<_ACEOF
21062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21073 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
21074 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
21075 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21076 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
21077 echo $ECHO_N "(cached) $ECHO_C" >&6
21083 ac_cpp='$CXXCPP $CPPFLAGS'
21084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21088 cat >conftest.$ac_ext <<_ACEOF
21089 #line $LINENO "configure"
21092 cat confdefs.h >>conftest.$ac_ext
21093 cat >>conftest.$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21096 #ifdef HAVE_IEEEFP_H
21097 #include <ieeefp.h>
21108 rm -f conftest.$ac_objext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21110 (eval $ac_compile) 2>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); } &&
21114 { ac_try='test -s conftest.$ac_objext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21120 glibcxx_cv_func_fpclass_use=yes
21122 echo "$as_me: failed program was:" >&5
21123 sed 's/^/| /' conftest.$ac_ext >&5
21125 glibcxx_cv_func_fpclass_use=no
21127 rm -f conftest.$ac_objext conftest.$ac_ext
21129 ac_cpp='$CPP $CPPFLAGS'
21130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
21139 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
21141 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21143 for ac_func in fpclass
21145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21146 echo "$as_me:$LINENO: checking for $ac_func" >&5
21147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21148 if eval "test \"\${$as_ac_var+set}\" = set"; then
21149 echo $ECHO_N "(cached) $ECHO_C" >&6
21151 cat >conftest.$ac_ext <<_ACEOF
21152 #line $LINENO "configure"
21155 cat confdefs.h >>conftest.$ac_ext
21156 cat >>conftest.$ac_ext <<_ACEOF
21157 /* end confdefs.h. */
21158 /* System header to define __stub macros and hopefully few prototypes,
21159 which can conflict with char $ac_func (); below.
21160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21161 <limits.h> exists even on freestanding compilers. */
21163 # include <limits.h>
21165 # include <assert.h>
21167 /* Override any gcc2 internal prototype to avoid an error. */
21172 /* We use char because int might match the return type of a gcc2
21173 builtin and then its argument prototype would still apply. */
21175 /* The GNU C library defines this for functions which it implements
21176 to always fail with ENOSYS. Some functions are actually named
21177 something starting with __ and the normal name is an alias. */
21178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21181 char (*f) () = $ac_func;
21190 return f != $ac_func;
21195 rm -f conftest.$ac_objext conftest$ac_exeext
21196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21197 (eval $ac_link) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } &&
21201 { ac_try='test -s conftest$ac_exeext'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; }; then
21207 eval "$as_ac_var=yes"
21209 echo "$as_me: failed program was:" >&5
21210 sed 's/^/| /' conftest.$ac_ext >&5
21212 eval "$as_ac_var=no"
21214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21218 if test `eval echo '${'$as_ac_var'}'` = yes; then
21219 cat >>confdefs.h <<_ACEOF
21220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21228 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
21229 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
21230 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21231 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
21232 echo $ECHO_N "(cached) $ECHO_C" >&6
21238 ac_cpp='$CXXCPP $CPPFLAGS'
21239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21243 cat >conftest.$ac_ext <<_ACEOF
21244 #line $LINENO "configure"
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21251 #ifdef HAVE_IEEEFP_H
21252 #include <ieeefp.h>
21263 rm -f conftest.$ac_objext
21264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21265 (eval $ac_compile) 2>&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try='test -s conftest.$ac_objext'
21270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 (eval $ac_try) 2>&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; }; then
21275 glibcxx_cv_func__fpclass_use=yes
21277 echo "$as_me: failed program was:" >&5
21278 sed 's/^/| /' conftest.$ac_ext >&5
21280 glibcxx_cv_func__fpclass_use=no
21282 rm -f conftest.$ac_objext conftest.$ac_ext
21284 ac_cpp='$CPP $CPPFLAGS'
21285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21293 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
21294 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
21296 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21298 for ac_func in _fpclass
21300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21301 echo "$as_me:$LINENO: checking for $ac_func" >&5
21302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21303 if eval "test \"\${$as_ac_var+set}\" = set"; then
21304 echo $ECHO_N "(cached) $ECHO_C" >&6
21306 cat >conftest.$ac_ext <<_ACEOF
21307 #line $LINENO "configure"
21310 cat confdefs.h >>conftest.$ac_ext
21311 cat >>conftest.$ac_ext <<_ACEOF
21312 /* end confdefs.h. */
21313 /* System header to define __stub macros and hopefully few prototypes,
21314 which can conflict with char $ac_func (); below.
21315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21316 <limits.h> exists even on freestanding compilers. */
21318 # include <limits.h>
21320 # include <assert.h>
21322 /* Override any gcc2 internal prototype to avoid an error. */
21327 /* We use char because int might match the return type of a gcc2
21328 builtin and then its argument prototype would still apply. */
21330 /* The GNU C library defines this for functions which it implements
21331 to always fail with ENOSYS. Some functions are actually named
21332 something starting with __ and the normal name is an alias. */
21333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21336 char (*f) () = $ac_func;
21345 return f != $ac_func;
21350 rm -f conftest.$ac_objext conftest$ac_exeext
21351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21352 (eval $ac_link) 2>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); } &&
21356 { ac_try='test -s conftest$ac_exeext'
21357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358 (eval $ac_try) 2>&5
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); }; }; then
21362 eval "$as_ac_var=yes"
21364 echo "$as_me: failed program was:" >&5
21365 sed 's/^/| /' conftest.$ac_ext >&5
21367 eval "$as_ac_var=no"
21369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21373 if test `eval echo '${'$as_ac_var'}'` = yes; then
21374 cat >>confdefs.h <<_ACEOF
21375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21386 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21387 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21388 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21389 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21390 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 ac_cpp='$CXXCPP $CPPFLAGS'
21397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21401 cat >conftest.$ac_ext <<_ACEOF
21402 #line $LINENO "configure"
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21409 #ifdef HAVE_IEEEFP_H
21410 #include <ieeefp.h>
21421 rm -f conftest.$ac_objext
21422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21423 (eval $ac_compile) 2>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } &&
21427 { ac_try='test -s conftest.$ac_objext'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; }; then
21433 glibcxx_cv_func_qfpclass_use=yes
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.$ac_ext >&5
21438 glibcxx_cv_func_qfpclass_use=no
21440 rm -f conftest.$ac_objext conftest.$ac_ext
21442 ac_cpp='$CPP $CPPFLAGS'
21443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21452 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21454 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21456 for ac_func in qfpclass
21458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21459 echo "$as_me:$LINENO: checking for $ac_func" >&5
21460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21461 if eval "test \"\${$as_ac_var+set}\" = set"; then
21462 echo $ECHO_N "(cached) $ECHO_C" >&6
21464 cat >conftest.$ac_ext <<_ACEOF
21465 #line $LINENO "configure"
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471 /* System header to define __stub macros and hopefully few prototypes,
21472 which can conflict with char $ac_func (); below.
21473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21474 <limits.h> exists even on freestanding compilers. */
21476 # include <limits.h>
21478 # include <assert.h>
21480 /* Override any gcc2 internal prototype to avoid an error. */
21485 /* We use char because int might match the return type of a gcc2
21486 builtin and then its argument prototype would still apply. */
21488 /* The GNU C library defines this for functions which it implements
21489 to always fail with ENOSYS. Some functions are actually named
21490 something starting with __ and the normal name is an alias. */
21491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21494 char (*f) () = $ac_func;
21503 return f != $ac_func;
21508 rm -f conftest.$ac_objext conftest$ac_exeext
21509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21510 (eval $ac_link) 2>&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); } &&
21514 { ac_try='test -s conftest$ac_exeext'
21515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21516 (eval $ac_try) 2>&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); }; }; then
21520 eval "$as_ac_var=yes"
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.$ac_ext >&5
21525 eval "$as_ac_var=no"
21527 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21531 if test `eval echo '${'$as_ac_var'}'` = yes; then
21532 cat >>confdefs.h <<_ACEOF
21533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21541 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21542 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21543 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21544 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21545 echo $ECHO_N "(cached) $ECHO_C" >&6
21551 ac_cpp='$CXXCPP $CPPFLAGS'
21552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21556 cat >conftest.$ac_ext <<_ACEOF
21557 #line $LINENO "configure"
21560 cat confdefs.h >>conftest.$ac_ext
21561 cat >>conftest.$ac_ext <<_ACEOF
21562 /* end confdefs.h. */
21564 #ifdef HAVE_IEEEFP_H
21565 #include <ieeefp.h>
21576 rm -f conftest.$ac_objext
21577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21578 (eval $ac_compile) 2>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try='test -s conftest.$ac_objext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 glibcxx_cv_func__qfpclass_use=yes
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21593 glibcxx_cv_func__qfpclass_use=no
21595 rm -f conftest.$ac_objext conftest.$ac_ext
21597 ac_cpp='$CPP $CPPFLAGS'
21598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21607 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21609 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21611 for ac_func in _qfpclass
21613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21614 echo "$as_me:$LINENO: checking for $ac_func" >&5
21615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21616 if eval "test \"\${$as_ac_var+set}\" = set"; then
21617 echo $ECHO_N "(cached) $ECHO_C" >&6
21619 cat >conftest.$ac_ext <<_ACEOF
21620 #line $LINENO "configure"
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21626 /* System header to define __stub macros and hopefully few prototypes,
21627 which can conflict with char $ac_func (); below.
21628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21629 <limits.h> exists even on freestanding compilers. */
21631 # include <limits.h>
21633 # include <assert.h>
21635 /* Override any gcc2 internal prototype to avoid an error. */
21640 /* We use char because int might match the return type of a gcc2
21641 builtin and then its argument prototype would still apply. */
21643 /* The GNU C library defines this for functions which it implements
21644 to always fail with ENOSYS. Some functions are actually named
21645 something starting with __ and the normal name is an alias. */
21646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21649 char (*f) () = $ac_func;
21658 return f != $ac_func;
21663 rm -f conftest.$ac_objext conftest$ac_exeext
21664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21665 (eval $ac_link) 2>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } &&
21669 { ac_try='test -s conftest$ac_exeext'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; }; then
21675 eval "$as_ac_var=yes"
21677 echo "$as_me: failed program was:" >&5
21678 sed 's/^/| /' conftest.$ac_ext >&5
21680 eval "$as_ac_var=no"
21682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21686 if test `eval echo '${'$as_ac_var'}'` = yes; then
21687 cat >>confdefs.h <<_ACEOF
21688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21699 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21700 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21701 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21702 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21703 echo $ECHO_N "(cached) $ECHO_C" >&6
21709 ac_cpp='$CXXCPP $CPPFLAGS'
21710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21714 cat >conftest.$ac_ext <<_ACEOF
21715 #line $LINENO "configure"
21718 cat confdefs.h >>conftest.$ac_ext
21719 cat >>conftest.$ac_ext <<_ACEOF
21720 /* end confdefs.h. */
21730 rm -f conftest.$ac_objext
21731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21732 (eval $ac_compile) 2>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try='test -s conftest.$ac_objext'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; }; then
21742 glibcxx_cv_func_hypot_use=yes
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21747 glibcxx_cv_func_hypot_use=no
21749 rm -f conftest.$ac_objext conftest.$ac_ext
21751 ac_cpp='$CPP $CPPFLAGS'
21752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21761 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21763 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21765 for ac_func in hypot
21767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21768 echo "$as_me:$LINENO: checking for $ac_func" >&5
21769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21770 if eval "test \"\${$as_ac_var+set}\" = set"; then
21771 echo $ECHO_N "(cached) $ECHO_C" >&6
21773 cat >conftest.$ac_ext <<_ACEOF
21774 #line $LINENO "configure"
21777 cat confdefs.h >>conftest.$ac_ext
21778 cat >>conftest.$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780 /* System header to define __stub macros and hopefully few prototypes,
21781 which can conflict with char $ac_func (); below.
21782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21783 <limits.h> exists even on freestanding compilers. */
21785 # include <limits.h>
21787 # include <assert.h>
21789 /* Override any gcc2 internal prototype to avoid an error. */
21794 /* We use char because int might match the return type of a gcc2
21795 builtin and then its argument prototype would still apply. */
21797 /* The GNU C library defines this for functions which it implements
21798 to always fail with ENOSYS. Some functions are actually named
21799 something starting with __ and the normal name is an alias. */
21800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21803 char (*f) () = $ac_func;
21812 return f != $ac_func;
21817 rm -f conftest.$ac_objext conftest$ac_exeext
21818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21819 (eval $ac_link) 2>&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } &&
21823 { ac_try='test -s conftest$ac_exeext'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; }; then
21829 eval "$as_ac_var=yes"
21831 echo "$as_me: failed program was:" >&5
21832 sed 's/^/| /' conftest.$ac_ext >&5
21834 eval "$as_ac_var=no"
21836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21840 if test `eval echo '${'$as_ac_var'}'` = yes; then
21841 cat >>confdefs.h <<_ACEOF
21842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21850 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21851 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21852 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21853 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21854 echo $ECHO_N "(cached) $ECHO_C" >&6
21860 ac_cpp='$CXXCPP $CPPFLAGS'
21861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21865 cat >conftest.$ac_ext <<_ACEOF
21866 #line $LINENO "configure"
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21881 rm -f conftest.$ac_objext
21882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21883 (eval $ac_compile) 2>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); } &&
21887 { ac_try='test -s conftest.$ac_objext'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; }; then
21893 glibcxx_cv_func__hypot_use=yes
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.$ac_ext >&5
21898 glibcxx_cv_func__hypot_use=no
21900 rm -f conftest.$ac_objext conftest.$ac_ext
21902 ac_cpp='$CPP $CPPFLAGS'
21903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21912 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21914 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21916 for ac_func in _hypot
21918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21919 echo "$as_me:$LINENO: checking for $ac_func" >&5
21920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21921 if eval "test \"\${$as_ac_var+set}\" = set"; then
21922 echo $ECHO_N "(cached) $ECHO_C" >&6
21924 cat >conftest.$ac_ext <<_ACEOF
21925 #line $LINENO "configure"
21928 cat confdefs.h >>conftest.$ac_ext
21929 cat >>conftest.$ac_ext <<_ACEOF
21930 /* end confdefs.h. */
21931 /* System header to define __stub macros and hopefully few prototypes,
21932 which can conflict with char $ac_func (); below.
21933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21934 <limits.h> exists even on freestanding compilers. */
21936 # include <limits.h>
21938 # include <assert.h>
21940 /* Override any gcc2 internal prototype to avoid an error. */
21945 /* We use char because int might match the return type of a gcc2
21946 builtin and then its argument prototype would still apply. */
21948 /* The GNU C library defines this for functions which it implements
21949 to always fail with ENOSYS. Some functions are actually named
21950 something starting with __ and the normal name is an alias. */
21951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21954 char (*f) () = $ac_func;
21963 return f != $ac_func;
21968 rm -f conftest.$ac_objext conftest$ac_exeext
21969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21970 (eval $ac_link) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } &&
21974 { ac_try='test -s conftest$ac_exeext'
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 eval "$as_ac_var=yes"
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21985 eval "$as_ac_var=no"
21987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21991 if test `eval echo '${'$as_ac_var'}'` = yes; then
21992 cat >>confdefs.h <<_ACEOF
21993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22004 echo "$as_me:$LINENO: checking for float trig functions" >&5
22005 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
22006 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
22007 echo $ECHO_N "(cached) $ECHO_C" >&6
22013 ac_cpp='$CXXCPP $CPPFLAGS'
22014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22018 cat >conftest.$ac_ext <<_ACEOF
22019 #line $LINENO "configure"
22022 cat confdefs.h >>conftest.$ac_ext
22023 cat >>conftest.$ac_ext <<_ACEOF
22024 /* end confdefs.h. */
22029 `for x in acosf asinf atanf \
22031 coshf sinhf tanhf; do echo "$x (0);"; done`
22036 rm -f conftest.$ac_objext
22037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22038 (eval $ac_compile) 2>&5
22040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041 (exit $ac_status); } &&
22042 { ac_try='test -s conftest.$ac_objext'
22043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22044 (eval $ac_try) 2>&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); }; }; then
22048 glibcxx_cv_func_float_trig_use=yes
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.$ac_ext >&5
22053 glibcxx_cv_func_float_trig_use=no
22055 rm -f conftest.$ac_objext conftest.$ac_ext
22057 ac_cpp='$CPP $CPPFLAGS'
22058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
22065 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
22066 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22076 for ac_func in acosf asinf atanf \
22080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22081 echo "$as_me:$LINENO: checking for $ac_func" >&5
22082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22083 if eval "test \"\${$as_ac_var+set}\" = set"; then
22084 echo $ECHO_N "(cached) $ECHO_C" >&6
22086 cat >conftest.$ac_ext <<_ACEOF
22087 #line $LINENO "configure"
22090 cat confdefs.h >>conftest.$ac_ext
22091 cat >>conftest.$ac_ext <<_ACEOF
22092 /* end confdefs.h. */
22093 /* System header to define __stub macros and hopefully few prototypes,
22094 which can conflict with char $ac_func (); below.
22095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22096 <limits.h> exists even on freestanding compilers. */
22098 # include <limits.h>
22100 # include <assert.h>
22102 /* Override any gcc2 internal prototype to avoid an error. */
22107 /* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22110 /* The GNU C library defines this for functions which it implements
22111 to always fail with ENOSYS. Some functions are actually named
22112 something starting with __ and the normal name is an alias. */
22113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22116 char (*f) () = $ac_func;
22125 return f != $ac_func;
22130 rm -f conftest.$ac_objext conftest$ac_exeext
22131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22132 (eval $ac_link) 2>&5
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); } &&
22136 { ac_try='test -s conftest$ac_exeext'
22137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138 (eval $ac_try) 2>&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; }; then
22142 eval "$as_ac_var=yes"
22144 echo "$as_me: failed program was:" >&5
22145 sed 's/^/| /' conftest.$ac_ext >&5
22147 eval "$as_ac_var=no"
22149 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22153 if test `eval echo '${'$as_ac_var'}'` = yes; then
22154 cat >>confdefs.h <<_ACEOF
22155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22164 echo "$as_me:$LINENO: checking for float round functions" >&5
22165 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22166 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22167 echo $ECHO_N "(cached) $ECHO_C" >&6
22173 ac_cpp='$CXXCPP $CPPFLAGS'
22174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22178 cat >conftest.$ac_ext <<_ACEOF
22179 #line $LINENO "configure"
22182 cat confdefs.h >>conftest.$ac_ext
22183 cat >>conftest.$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22189 `for x in ceilf floorf; do echo "$x (0);"; done`
22194 rm -f conftest.$ac_objext
22195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22196 (eval $ac_compile) 2>&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); } &&
22200 { ac_try='test -s conftest.$ac_objext'
22201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22202 (eval $ac_try) 2>&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); }; }; then
22206 glibcxx_cv_func_float_round_use=yes
22208 echo "$as_me: failed program was:" >&5
22209 sed 's/^/| /' conftest.$ac_ext >&5
22211 glibcxx_cv_func_float_round_use=no
22213 rm -f conftest.$ac_objext conftest.$ac_ext
22215 ac_cpp='$CPP $CPPFLAGS'
22216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22223 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22224 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22227 for ac_func in ceilf floorf
22229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22230 echo "$as_me:$LINENO: checking for $ac_func" >&5
22231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22232 if eval "test \"\${$as_ac_var+set}\" = set"; then
22233 echo $ECHO_N "(cached) $ECHO_C" >&6
22235 cat >conftest.$ac_ext <<_ACEOF
22236 #line $LINENO "configure"
22239 cat confdefs.h >>conftest.$ac_ext
22240 cat >>conftest.$ac_ext <<_ACEOF
22241 /* end confdefs.h. */
22242 /* System header to define __stub macros and hopefully few prototypes,
22243 which can conflict with char $ac_func (); below.
22244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22245 <limits.h> exists even on freestanding compilers. */
22247 # include <limits.h>
22249 # include <assert.h>
22251 /* Override any gcc2 internal prototype to avoid an error. */
22256 /* We use char because int might match the return type of a gcc2
22257 builtin and then its argument prototype would still apply. */
22259 /* The GNU C library defines this for functions which it implements
22260 to always fail with ENOSYS. Some functions are actually named
22261 something starting with __ and the normal name is an alias. */
22262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22265 char (*f) () = $ac_func;
22274 return f != $ac_func;
22279 rm -f conftest.$ac_objext conftest$ac_exeext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22281 (eval $ac_link) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } &&
22285 { ac_try='test -s conftest$ac_exeext'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; }; then
22291 eval "$as_ac_var=yes"
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.$ac_ext >&5
22296 eval "$as_ac_var=no"
22298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22302 if test `eval echo '${'$as_ac_var'}'` = yes; then
22303 cat >>confdefs.h <<_ACEOF
22304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22314 echo "$as_me:$LINENO: checking for expf declaration" >&5
22315 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22316 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22317 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22324 ac_cpp='$CXXCPP $CPPFLAGS'
22325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22329 cat >conftest.$ac_ext <<_ACEOF
22330 #line $LINENO "configure"
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22337 #ifdef HAVE_IEEEFP_H
22338 #include <ieeefp.h>
22349 rm -f conftest.$ac_objext
22350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22351 (eval $ac_compile) 2>&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } &&
22355 { ac_try='test -s conftest.$ac_objext'
22356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22357 (eval $ac_try) 2>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); }; }; then
22361 glibcxx_cv_func_expf_use=yes
22363 echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.$ac_ext >&5
22366 glibcxx_cv_func_expf_use=no
22368 rm -f conftest.$ac_objext conftest.$ac_ext
22370 ac_cpp='$CPP $CPPFLAGS'
22371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22379 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22380 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22382 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22384 for ac_func in expf
22386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22387 echo "$as_me:$LINENO: checking for $ac_func" >&5
22388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22389 if eval "test \"\${$as_ac_var+set}\" = set"; then
22390 echo $ECHO_N "(cached) $ECHO_C" >&6
22392 cat >conftest.$ac_ext <<_ACEOF
22393 #line $LINENO "configure"
22396 cat confdefs.h >>conftest.$ac_ext
22397 cat >>conftest.$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22399 /* System header to define __stub macros and hopefully few prototypes,
22400 which can conflict with char $ac_func (); below.
22401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22402 <limits.h> exists even on freestanding compilers. */
22404 # include <limits.h>
22406 # include <assert.h>
22408 /* Override any gcc2 internal prototype to avoid an error. */
22413 /* We use char because int might match the return type of a gcc2
22414 builtin and then its argument prototype would still apply. */
22416 /* The GNU C library defines this for functions which it implements
22417 to always fail with ENOSYS. Some functions are actually named
22418 something starting with __ and the normal name is an alias. */
22419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22422 char (*f) () = $ac_func;
22431 return f != $ac_func;
22436 rm -f conftest.$ac_objext conftest$ac_exeext
22437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22438 (eval $ac_link) 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } &&
22442 { ac_try='test -s conftest$ac_exeext'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22448 eval "$as_ac_var=yes"
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.$ac_ext >&5
22453 eval "$as_ac_var=no"
22455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22459 if test `eval echo '${'$as_ac_var'}'` = yes; then
22460 cat >>confdefs.h <<_ACEOF
22461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22469 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22470 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22471 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22472 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22473 echo $ECHO_N "(cached) $ECHO_C" >&6
22479 ac_cpp='$CXXCPP $CPPFLAGS'
22480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22484 cat >conftest.$ac_ext <<_ACEOF
22485 #line $LINENO "configure"
22488 cat confdefs.h >>conftest.$ac_ext
22489 cat >>conftest.$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22492 #ifdef HAVE_IEEEFP_H
22493 #include <ieeefp.h>
22504 rm -f conftest.$ac_objext
22505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22506 (eval $ac_compile) 2>&5
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); } &&
22510 { ac_try='test -s conftest.$ac_objext'
22511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22512 (eval $ac_try) 2>&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); }; }; then
22516 glibcxx_cv_func__expf_use=yes
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22521 glibcxx_cv_func__expf_use=no
22523 rm -f conftest.$ac_objext conftest.$ac_ext
22525 ac_cpp='$CPP $CPPFLAGS'
22526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22535 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22537 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22539 for ac_func in _expf
22541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22542 echo "$as_me:$LINENO: checking for $ac_func" >&5
22543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22544 if eval "test \"\${$as_ac_var+set}\" = set"; then
22545 echo $ECHO_N "(cached) $ECHO_C" >&6
22547 cat >conftest.$ac_ext <<_ACEOF
22548 #line $LINENO "configure"
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 /* System header to define __stub macros and hopefully few prototypes,
22555 which can conflict with char $ac_func (); below.
22556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22557 <limits.h> exists even on freestanding compilers. */
22559 # include <limits.h>
22561 # include <assert.h>
22563 /* Override any gcc2 internal prototype to avoid an error. */
22568 /* We use char because int might match the return type of a gcc2
22569 builtin and then its argument prototype would still apply. */
22571 /* The GNU C library defines this for functions which it implements
22572 to always fail with ENOSYS. Some functions are actually named
22573 something starting with __ and the normal name is an alias. */
22574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22577 char (*f) () = $ac_func;
22586 return f != $ac_func;
22591 rm -f conftest.$ac_objext conftest$ac_exeext
22592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22593 (eval $ac_link) 2>&5
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); } &&
22597 { ac_try='test -s conftest$ac_exeext'
22598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22599 (eval $ac_try) 2>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; }; then
22603 eval "$as_ac_var=yes"
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22608 eval "$as_ac_var=no"
22610 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22614 if test `eval echo '${'$as_ac_var'}'` = yes; then
22615 cat >>confdefs.h <<_ACEOF
22616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22627 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22628 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22629 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22630 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22631 echo $ECHO_N "(cached) $ECHO_C" >&6
22637 ac_cpp='$CXXCPP $CPPFLAGS'
22638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22642 cat >conftest.$ac_ext <<_ACEOF
22643 #line $LINENO "configure"
22646 cat confdefs.h >>conftest.$ac_ext
22647 cat >>conftest.$ac_ext <<_ACEOF
22648 /* end confdefs.h. */
22650 #ifdef HAVE_IEEEFP_H
22651 #include <ieeefp.h>
22662 rm -f conftest.$ac_objext
22663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22664 (eval $ac_compile) 2>&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); } &&
22668 { ac_try='test -s conftest.$ac_objext'
22669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22670 (eval $ac_try) 2>&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); }; }; then
22674 glibcxx_cv_func_isnanf_use=yes
22676 echo "$as_me: failed program was:" >&5
22677 sed 's/^/| /' conftest.$ac_ext >&5
22679 glibcxx_cv_func_isnanf_use=no
22681 rm -f conftest.$ac_objext conftest.$ac_ext
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22693 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22695 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22697 for ac_func in isnanf
22699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22700 echo "$as_me:$LINENO: checking for $ac_func" >&5
22701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22702 if eval "test \"\${$as_ac_var+set}\" = set"; then
22703 echo $ECHO_N "(cached) $ECHO_C" >&6
22705 cat >conftest.$ac_ext <<_ACEOF
22706 #line $LINENO "configure"
22709 cat confdefs.h >>conftest.$ac_ext
22710 cat >>conftest.$ac_ext <<_ACEOF
22711 /* end confdefs.h. */
22712 /* System header to define __stub macros and hopefully few prototypes,
22713 which can conflict with char $ac_func (); below.
22714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22715 <limits.h> exists even on freestanding compilers. */
22717 # include <limits.h>
22719 # include <assert.h>
22721 /* Override any gcc2 internal prototype to avoid an error. */
22726 /* We use char because int might match the return type of a gcc2
22727 builtin and then its argument prototype would still apply. */
22729 /* The GNU C library defines this for functions which it implements
22730 to always fail with ENOSYS. Some functions are actually named
22731 something starting with __ and the normal name is an alias. */
22732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22735 char (*f) () = $ac_func;
22744 return f != $ac_func;
22749 rm -f conftest.$ac_objext conftest$ac_exeext
22750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22751 (eval $ac_link) 2>&5
22753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754 (exit $ac_status); } &&
22755 { ac_try='test -s conftest$ac_exeext'
22756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22757 (eval $ac_try) 2>&5
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); }; }; then
22761 eval "$as_ac_var=yes"
22763 echo "$as_me: failed program was:" >&5
22764 sed 's/^/| /' conftest.$ac_ext >&5
22766 eval "$as_ac_var=no"
22768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22772 if test `eval echo '${'$as_ac_var'}'` = yes; then
22773 cat >>confdefs.h <<_ACEOF
22774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22782 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
22783 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
22784 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22785 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
22786 echo $ECHO_N "(cached) $ECHO_C" >&6
22792 ac_cpp='$CXXCPP $CPPFLAGS'
22793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22797 cat >conftest.$ac_ext <<_ACEOF
22798 #line $LINENO "configure"
22801 cat confdefs.h >>conftest.$ac_ext
22802 cat >>conftest.$ac_ext <<_ACEOF
22803 /* end confdefs.h. */
22805 #ifdef HAVE_IEEEFP_H
22806 #include <ieeefp.h>
22817 rm -f conftest.$ac_objext
22818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22819 (eval $ac_compile) 2>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } &&
22823 { ac_try='test -s conftest.$ac_objext'
22824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22825 (eval $ac_try) 2>&5
22827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); }; }; then
22829 glibcxx_cv_func__isnanf_use=yes
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22834 glibcxx_cv_func__isnanf_use=no
22836 rm -f conftest.$ac_objext conftest.$ac_ext
22838 ac_cpp='$CPP $CPPFLAGS'
22839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22847 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
22848 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
22850 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22852 for ac_func in _isnanf
22854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22855 echo "$as_me:$LINENO: checking for $ac_func" >&5
22856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22857 if eval "test \"\${$as_ac_var+set}\" = set"; then
22858 echo $ECHO_N "(cached) $ECHO_C" >&6
22860 cat >conftest.$ac_ext <<_ACEOF
22861 #line $LINENO "configure"
22864 cat confdefs.h >>conftest.$ac_ext
22865 cat >>conftest.$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22867 /* System header to define __stub macros and hopefully few prototypes,
22868 which can conflict with char $ac_func (); below.
22869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22870 <limits.h> exists even on freestanding compilers. */
22872 # include <limits.h>
22874 # include <assert.h>
22876 /* Override any gcc2 internal prototype to avoid an error. */
22881 /* We use char because int might match the return type of a gcc2
22882 builtin and then its argument prototype would still apply. */
22884 /* The GNU C library defines this for functions which it implements
22885 to always fail with ENOSYS. Some functions are actually named
22886 something starting with __ and the normal name is an alias. */
22887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22890 char (*f) () = $ac_func;
22899 return f != $ac_func;
22904 rm -f conftest.$ac_objext conftest$ac_exeext
22905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22906 (eval $ac_link) 2>&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); } &&
22910 { ac_try='test -s conftest$ac_exeext'
22911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22912 (eval $ac_try) 2>&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); }; }; then
22916 eval "$as_ac_var=yes"
22918 echo "$as_me: failed program was:" >&5
22919 sed 's/^/| /' conftest.$ac_ext >&5
22921 eval "$as_ac_var=no"
22923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22927 if test `eval echo '${'$as_ac_var'}'` = yes; then
22928 cat >>confdefs.h <<_ACEOF
22929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22940 echo "$as_me:$LINENO: checking for isinff declaration" >&5
22941 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
22942 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22943 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955 cat >conftest.$ac_ext <<_ACEOF
22956 #line $LINENO "configure"
22959 cat confdefs.h >>conftest.$ac_ext
22960 cat >>conftest.$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22963 #ifdef HAVE_IEEEFP_H
22964 #include <ieeefp.h>
22975 rm -f conftest.$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } &&
22981 { ac_try='test -s conftest.$ac_objext'
22982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22983 (eval $ac_try) 2>&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); }; }; then
22987 glibcxx_cv_func_isinff_use=yes
22989 echo "$as_me: failed program was:" >&5
22990 sed 's/^/| /' conftest.$ac_ext >&5
22992 glibcxx_cv_func_isinff_use=no
22994 rm -f conftest.$ac_objext conftest.$ac_ext
22996 ac_cpp='$CPP $CPPFLAGS'
22997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23006 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23008 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23010 for ac_func in isinff
23012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23013 echo "$as_me:$LINENO: checking for $ac_func" >&5
23014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23015 if eval "test \"\${$as_ac_var+set}\" = set"; then
23016 echo $ECHO_N "(cached) $ECHO_C" >&6
23018 cat >conftest.$ac_ext <<_ACEOF
23019 #line $LINENO "configure"
23022 cat confdefs.h >>conftest.$ac_ext
23023 cat >>conftest.$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23025 /* System header to define __stub macros and hopefully few prototypes,
23026 which can conflict with char $ac_func (); below.
23027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23028 <limits.h> exists even on freestanding compilers. */
23030 # include <limits.h>
23032 # include <assert.h>
23034 /* Override any gcc2 internal prototype to avoid an error. */
23039 /* We use char because int might match the return type of a gcc2
23040 builtin and then its argument prototype would still apply. */
23042 /* The GNU C library defines this for functions which it implements
23043 to always fail with ENOSYS. Some functions are actually named
23044 something starting with __ and the normal name is an alias. */
23045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23048 char (*f) () = $ac_func;
23057 return f != $ac_func;
23062 rm -f conftest.$ac_objext conftest$ac_exeext
23063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23064 (eval $ac_link) 2>&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try='test -s conftest$ac_exeext'
23069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23070 (eval $ac_try) 2>&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); }; }; then
23074 eval "$as_ac_var=yes"
23076 echo "$as_me: failed program was:" >&5
23077 sed 's/^/| /' conftest.$ac_ext >&5
23079 eval "$as_ac_var=no"
23081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23085 if test `eval echo '${'$as_ac_var'}'` = yes; then
23086 cat >>confdefs.h <<_ACEOF
23087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23095 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23096 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23097 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23098 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23099 echo $ECHO_N "(cached) $ECHO_C" >&6
23105 ac_cpp='$CXXCPP $CPPFLAGS'
23106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23110 cat >conftest.$ac_ext <<_ACEOF
23111 #line $LINENO "configure"
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23118 #ifdef HAVE_IEEEFP_H
23119 #include <ieeefp.h>
23130 rm -f conftest.$ac_objext
23131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23132 (eval $ac_compile) 2>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } &&
23136 { ac_try='test -s conftest.$ac_objext'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; }; then
23142 glibcxx_cv_func__isinff_use=yes
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.$ac_ext >&5
23147 glibcxx_cv_func__isinff_use=no
23149 rm -f conftest.$ac_objext conftest.$ac_ext
23151 ac_cpp='$CPP $CPPFLAGS'
23152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23161 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23163 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23165 for ac_func in _isinff
23167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23168 echo "$as_me:$LINENO: checking for $ac_func" >&5
23169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23170 if eval "test \"\${$as_ac_var+set}\" = set"; then
23171 echo $ECHO_N "(cached) $ECHO_C" >&6
23173 cat >conftest.$ac_ext <<_ACEOF
23174 #line $LINENO "configure"
23177 cat confdefs.h >>conftest.$ac_ext
23178 cat >>conftest.$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23180 /* System header to define __stub macros and hopefully few prototypes,
23181 which can conflict with char $ac_func (); below.
23182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23183 <limits.h> exists even on freestanding compilers. */
23185 # include <limits.h>
23187 # include <assert.h>
23189 /* Override any gcc2 internal prototype to avoid an error. */
23194 /* We use char because int might match the return type of a gcc2
23195 builtin and then its argument prototype would still apply. */
23197 /* The GNU C library defines this for functions which it implements
23198 to always fail with ENOSYS. Some functions are actually named
23199 something starting with __ and the normal name is an alias. */
23200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23203 char (*f) () = $ac_func;
23212 return f != $ac_func;
23217 rm -f conftest.$ac_objext conftest$ac_exeext
23218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23219 (eval $ac_link) 2>&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } &&
23223 { ac_try='test -s conftest$ac_exeext'
23224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23225 (eval $ac_try) 2>&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); }; }; then
23229 eval "$as_ac_var=yes"
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.$ac_ext >&5
23234 eval "$as_ac_var=no"
23236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23240 if test `eval echo '${'$as_ac_var'}'` = yes; then
23241 cat >>confdefs.h <<_ACEOF
23242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23253 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23254 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23255 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23256 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23257 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 ac_cpp='$CXXCPP $CPPFLAGS'
23264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23268 cat >conftest.$ac_ext <<_ACEOF
23269 #line $LINENO "configure"
23272 cat confdefs.h >>conftest.$ac_ext
23273 cat >>conftest.$ac_ext <<_ACEOF
23274 /* end confdefs.h. */
23284 rm -f conftest.$ac_objext
23285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23286 (eval $ac_compile) 2>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); } &&
23290 { ac_try='test -s conftest.$ac_objext'
23291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23292 (eval $ac_try) 2>&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); }; }; then
23296 glibcxx_cv_func_atan2f_use=yes
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.$ac_ext >&5
23301 glibcxx_cv_func_atan2f_use=no
23303 rm -f conftest.$ac_objext conftest.$ac_ext
23305 ac_cpp='$CPP $CPPFLAGS'
23306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23315 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23317 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23319 for ac_func in atan2f
23321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23322 echo "$as_me:$LINENO: checking for $ac_func" >&5
23323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23324 if eval "test \"\${$as_ac_var+set}\" = set"; then
23325 echo $ECHO_N "(cached) $ECHO_C" >&6
23327 cat >conftest.$ac_ext <<_ACEOF
23328 #line $LINENO "configure"
23331 cat confdefs.h >>conftest.$ac_ext
23332 cat >>conftest.$ac_ext <<_ACEOF
23333 /* end confdefs.h. */
23334 /* System header to define __stub macros and hopefully few prototypes,
23335 which can conflict with char $ac_func (); below.
23336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23337 <limits.h> exists even on freestanding compilers. */
23339 # include <limits.h>
23341 # include <assert.h>
23343 /* Override any gcc2 internal prototype to avoid an error. */
23348 /* We use char because int might match the return type of a gcc2
23349 builtin and then its argument prototype would still apply. */
23351 /* The GNU C library defines this for functions which it implements
23352 to always fail with ENOSYS. Some functions are actually named
23353 something starting with __ and the normal name is an alias. */
23354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23357 char (*f) () = $ac_func;
23366 return f != $ac_func;
23371 rm -f conftest.$ac_objext conftest$ac_exeext
23372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23373 (eval $ac_link) 2>&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } &&
23377 { ac_try='test -s conftest$ac_exeext'
23378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23379 (eval $ac_try) 2>&5
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); }; }; then
23383 eval "$as_ac_var=yes"
23385 echo "$as_me: failed program was:" >&5
23386 sed 's/^/| /' conftest.$ac_ext >&5
23388 eval "$as_ac_var=no"
23390 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23394 if test `eval echo '${'$as_ac_var'}'` = yes; then
23395 cat >>confdefs.h <<_ACEOF
23396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23404 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23405 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23406 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23407 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23408 echo $ECHO_N "(cached) $ECHO_C" >&6
23414 ac_cpp='$CXXCPP $CPPFLAGS'
23415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23419 cat >conftest.$ac_ext <<_ACEOF
23420 #line $LINENO "configure"
23423 cat confdefs.h >>conftest.$ac_ext
23424 cat >>conftest.$ac_ext <<_ACEOF
23425 /* end confdefs.h. */
23435 rm -f conftest.$ac_objext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23437 (eval $ac_compile) 2>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } &&
23441 { ac_try='test -s conftest.$ac_objext'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; }; then
23447 glibcxx_cv_func__atan2f_use=yes
23449 echo "$as_me: failed program was:" >&5
23450 sed 's/^/| /' conftest.$ac_ext >&5
23452 glibcxx_cv_func__atan2f_use=no
23454 rm -f conftest.$ac_objext conftest.$ac_ext
23456 ac_cpp='$CPP $CPPFLAGS'
23457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23465 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23466 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23468 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23470 for ac_func in _atan2f
23472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23473 echo "$as_me:$LINENO: checking for $ac_func" >&5
23474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23475 if eval "test \"\${$as_ac_var+set}\" = set"; then
23476 echo $ECHO_N "(cached) $ECHO_C" >&6
23478 cat >conftest.$ac_ext <<_ACEOF
23479 #line $LINENO "configure"
23482 cat confdefs.h >>conftest.$ac_ext
23483 cat >>conftest.$ac_ext <<_ACEOF
23484 /* end confdefs.h. */
23485 /* System header to define __stub macros and hopefully few prototypes,
23486 which can conflict with char $ac_func (); below.
23487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23488 <limits.h> exists even on freestanding compilers. */
23490 # include <limits.h>
23492 # include <assert.h>
23494 /* Override any gcc2 internal prototype to avoid an error. */
23499 /* We use char because int might match the return type of a gcc2
23500 builtin and then its argument prototype would still apply. */
23502 /* The GNU C library defines this for functions which it implements
23503 to always fail with ENOSYS. Some functions are actually named
23504 something starting with __ and the normal name is an alias. */
23505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23508 char (*f) () = $ac_func;
23517 return f != $ac_func;
23522 rm -f conftest.$ac_objext conftest$ac_exeext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23524 (eval $ac_link) 2>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } &&
23528 { ac_try='test -s conftest$ac_exeext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23534 eval "$as_ac_var=yes"
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23539 eval "$as_ac_var=no"
23541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23545 if test `eval echo '${'$as_ac_var'}'` = yes; then
23546 cat >>confdefs.h <<_ACEOF
23547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23558 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23559 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23560 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23561 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23562 echo $ECHO_N "(cached) $ECHO_C" >&6
23568 ac_cpp='$CXXCPP $CPPFLAGS'
23569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23573 cat >conftest.$ac_ext <<_ACEOF
23574 #line $LINENO "configure"
23577 cat confdefs.h >>conftest.$ac_ext
23578 cat >>conftest.$ac_ext <<_ACEOF
23579 /* end confdefs.h. */
23581 #ifdef HAVE_IEEEFP_H
23582 #include <ieeefp.h>
23593 rm -f conftest.$ac_objext
23594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23595 (eval $ac_compile) 2>&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } &&
23599 { ac_try='test -s conftest.$ac_objext'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23605 glibcxx_cv_func_fabsf_use=yes
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.$ac_ext >&5
23610 glibcxx_cv_func_fabsf_use=no
23612 rm -f conftest.$ac_objext conftest.$ac_ext
23614 ac_cpp='$CPP $CPPFLAGS'
23615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
23624 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
23626 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23628 for ac_func in fabsf
23630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23631 echo "$as_me:$LINENO: checking for $ac_func" >&5
23632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23633 if eval "test \"\${$as_ac_var+set}\" = set"; then
23634 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 cat >conftest.$ac_ext <<_ACEOF
23637 #line $LINENO "configure"
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 /* System header to define __stub macros and hopefully few prototypes,
23644 which can conflict with char $ac_func (); below.
23645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23646 <limits.h> exists even on freestanding compilers. */
23648 # include <limits.h>
23650 # include <assert.h>
23652 /* Override any gcc2 internal prototype to avoid an error. */
23657 /* We use char because int might match the return type of a gcc2
23658 builtin and then its argument prototype would still apply. */
23660 /* The GNU C library defines this for functions which it implements
23661 to always fail with ENOSYS. Some functions are actually named
23662 something starting with __ and the normal name is an alias. */
23663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23666 char (*f) () = $ac_func;
23675 return f != $ac_func;
23680 rm -f conftest.$ac_objext conftest$ac_exeext
23681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23682 (eval $ac_link) 2>&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); } &&
23686 { ac_try='test -s conftest$ac_exeext'
23687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23688 (eval $ac_try) 2>&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); }; }; then
23692 eval "$as_ac_var=yes"
23694 echo "$as_me: failed program was:" >&5
23695 sed 's/^/| /' conftest.$ac_ext >&5
23697 eval "$as_ac_var=no"
23699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23703 if test `eval echo '${'$as_ac_var'}'` = yes; then
23704 cat >>confdefs.h <<_ACEOF
23705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23713 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
23714 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
23715 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23716 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
23717 echo $ECHO_N "(cached) $ECHO_C" >&6
23723 ac_cpp='$CXXCPP $CPPFLAGS'
23724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23728 cat >conftest.$ac_ext <<_ACEOF
23729 #line $LINENO "configure"
23732 cat confdefs.h >>conftest.$ac_ext
23733 cat >>conftest.$ac_ext <<_ACEOF
23734 /* end confdefs.h. */
23736 #ifdef HAVE_IEEEFP_H
23737 #include <ieeefp.h>
23748 rm -f conftest.$ac_objext
23749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23750 (eval $ac_compile) 2>&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try='test -s conftest.$ac_objext'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; }; then
23760 glibcxx_cv_func__fabsf_use=yes
23762 echo "$as_me: failed program was:" >&5
23763 sed 's/^/| /' conftest.$ac_ext >&5
23765 glibcxx_cv_func__fabsf_use=no
23767 rm -f conftest.$ac_objext conftest.$ac_ext
23769 ac_cpp='$CPP $CPPFLAGS'
23770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
23779 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
23781 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23783 for ac_func in _fabsf
23785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23786 echo "$as_me:$LINENO: checking for $ac_func" >&5
23787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23788 if eval "test \"\${$as_ac_var+set}\" = set"; then
23789 echo $ECHO_N "(cached) $ECHO_C" >&6
23791 cat >conftest.$ac_ext <<_ACEOF
23792 #line $LINENO "configure"
23795 cat confdefs.h >>conftest.$ac_ext
23796 cat >>conftest.$ac_ext <<_ACEOF
23797 /* end confdefs.h. */
23798 /* System header to define __stub macros and hopefully few prototypes,
23799 which can conflict with char $ac_func (); below.
23800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23801 <limits.h> exists even on freestanding compilers. */
23803 # include <limits.h>
23805 # include <assert.h>
23807 /* Override any gcc2 internal prototype to avoid an error. */
23812 /* We use char because int might match the return type of a gcc2
23813 builtin and then its argument prototype would still apply. */
23815 /* The GNU C library defines this for functions which it implements
23816 to always fail with ENOSYS. Some functions are actually named
23817 something starting with __ and the normal name is an alias. */
23818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23821 char (*f) () = $ac_func;
23830 return f != $ac_func;
23835 rm -f conftest.$ac_objext conftest$ac_exeext
23836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23837 (eval $ac_link) 2>&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); } &&
23841 { ac_try='test -s conftest$ac_exeext'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; }; then
23847 eval "$as_ac_var=yes"
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23852 eval "$as_ac_var=no"
23854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23858 if test `eval echo '${'$as_ac_var'}'` = yes; then
23859 cat >>confdefs.h <<_ACEOF
23860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23871 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
23872 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
23873 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23874 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
23875 echo $ECHO_N "(cached) $ECHO_C" >&6
23881 ac_cpp='$CXXCPP $CPPFLAGS'
23882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23886 cat >conftest.$ac_ext <<_ACEOF
23887 #line $LINENO "configure"
23890 cat confdefs.h >>conftest.$ac_ext
23891 cat >>conftest.$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23902 rm -f conftest.$ac_objext
23903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23904 (eval $ac_compile) 2>&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } &&
23908 { ac_try='test -s conftest.$ac_objext'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; }; then
23914 glibcxx_cv_func_fmodf_use=yes
23916 echo "$as_me: failed program was:" >&5
23917 sed 's/^/| /' conftest.$ac_ext >&5
23919 glibcxx_cv_func_fmodf_use=no
23921 rm -f conftest.$ac_objext conftest.$ac_ext
23923 ac_cpp='$CPP $CPPFLAGS'
23924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
23933 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
23935 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23937 for ac_func in fmodf
23939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23940 echo "$as_me:$LINENO: checking for $ac_func" >&5
23941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23942 if eval "test \"\${$as_ac_var+set}\" = set"; then
23943 echo $ECHO_N "(cached) $ECHO_C" >&6
23945 cat >conftest.$ac_ext <<_ACEOF
23946 #line $LINENO "configure"
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952 /* System header to define __stub macros and hopefully few prototypes,
23953 which can conflict with char $ac_func (); below.
23954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23955 <limits.h> exists even on freestanding compilers. */
23957 # include <limits.h>
23959 # include <assert.h>
23961 /* Override any gcc2 internal prototype to avoid an error. */
23966 /* We use char because int might match the return type of a gcc2
23967 builtin and then its argument prototype would still apply. */
23969 /* The GNU C library defines this for functions which it implements
23970 to always fail with ENOSYS. Some functions are actually named
23971 something starting with __ and the normal name is an alias. */
23972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23975 char (*f) () = $ac_func;
23984 return f != $ac_func;
23989 rm -f conftest.$ac_objext conftest$ac_exeext
23990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23991 (eval $ac_link) 2>&5
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); } &&
23995 { ac_try='test -s conftest$ac_exeext'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; }; then
24001 eval "$as_ac_var=yes"
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.$ac_ext >&5
24006 eval "$as_ac_var=no"
24008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24012 if test `eval echo '${'$as_ac_var'}'` = yes; then
24013 cat >>confdefs.h <<_ACEOF
24014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24022 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24023 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24024 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24025 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24026 echo $ECHO_N "(cached) $ECHO_C" >&6
24032 ac_cpp='$CXXCPP $CPPFLAGS'
24033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24037 cat >conftest.$ac_ext <<_ACEOF
24038 #line $LINENO "configure"
24041 cat confdefs.h >>conftest.$ac_ext
24042 cat >>conftest.$ac_ext <<_ACEOF
24043 /* end confdefs.h. */
24053 rm -f conftest.$ac_objext
24054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24055 (eval $ac_compile) 2>&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); } &&
24059 { ac_try='test -s conftest.$ac_objext'
24060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); }; }; then
24065 glibcxx_cv_func__fmodf_use=yes
24067 echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24070 glibcxx_cv_func__fmodf_use=no
24072 rm -f conftest.$ac_objext conftest.$ac_ext
24074 ac_cpp='$CPP $CPPFLAGS'
24075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24083 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24084 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24086 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24088 for ac_func in _fmodf
24090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24091 echo "$as_me:$LINENO: checking for $ac_func" >&5
24092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24093 if eval "test \"\${$as_ac_var+set}\" = set"; then
24094 echo $ECHO_N "(cached) $ECHO_C" >&6
24096 cat >conftest.$ac_ext <<_ACEOF
24097 #line $LINENO "configure"
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103 /* System header to define __stub macros and hopefully few prototypes,
24104 which can conflict with char $ac_func (); below.
24105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24106 <limits.h> exists even on freestanding compilers. */
24108 # include <limits.h>
24110 # include <assert.h>
24112 /* Override any gcc2 internal prototype to avoid an error. */
24117 /* We use char because int might match the return type of a gcc2
24118 builtin and then its argument prototype would still apply. */
24120 /* The GNU C library defines this for functions which it implements
24121 to always fail with ENOSYS. Some functions are actually named
24122 something starting with __ and the normal name is an alias. */
24123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24126 char (*f) () = $ac_func;
24135 return f != $ac_func;
24140 rm -f conftest.$ac_objext conftest$ac_exeext
24141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24142 (eval $ac_link) 2>&5
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); } &&
24146 { ac_try='test -s conftest$ac_exeext'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; }; then
24152 eval "$as_ac_var=yes"
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.$ac_ext >&5
24157 eval "$as_ac_var=no"
24159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24163 if test `eval echo '${'$as_ac_var'}'` = yes; then
24164 cat >>confdefs.h <<_ACEOF
24165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24176 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24177 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24178 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24179 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24180 echo $ECHO_N "(cached) $ECHO_C" >&6
24186 ac_cpp='$CXXCPP $CPPFLAGS'
24187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24191 cat >conftest.$ac_ext <<_ACEOF
24192 #line $LINENO "configure"
24195 cat confdefs.h >>conftest.$ac_ext
24196 cat >>conftest.$ac_ext <<_ACEOF
24197 /* end confdefs.h. */
24207 rm -f conftest.$ac_objext
24208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24209 (eval $ac_compile) 2>&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); } &&
24213 { ac_try='test -s conftest.$ac_objext'
24214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215 (eval $ac_try) 2>&5
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); }; }; then
24219 glibcxx_cv_func_frexpf_use=yes
24221 echo "$as_me: failed program was:" >&5
24222 sed 's/^/| /' conftest.$ac_ext >&5
24224 glibcxx_cv_func_frexpf_use=no
24226 rm -f conftest.$ac_objext conftest.$ac_ext
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24238 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24240 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24242 for ac_func in frexpf
24244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24245 echo "$as_me:$LINENO: checking for $ac_func" >&5
24246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24247 if eval "test \"\${$as_ac_var+set}\" = set"; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24250 cat >conftest.$ac_ext <<_ACEOF
24251 #line $LINENO "configure"
24254 cat confdefs.h >>conftest.$ac_ext
24255 cat >>conftest.$ac_ext <<_ACEOF
24256 /* end confdefs.h. */
24257 /* System header to define __stub macros and hopefully few prototypes,
24258 which can conflict with char $ac_func (); below.
24259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24260 <limits.h> exists even on freestanding compilers. */
24262 # include <limits.h>
24264 # include <assert.h>
24266 /* Override any gcc2 internal prototype to avoid an error. */
24271 /* We use char because int might match the return type of a gcc2
24272 builtin and then its argument prototype would still apply. */
24274 /* The GNU C library defines this for functions which it implements
24275 to always fail with ENOSYS. Some functions are actually named
24276 something starting with __ and the normal name is an alias. */
24277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24280 char (*f) () = $ac_func;
24289 return f != $ac_func;
24294 rm -f conftest.$ac_objext conftest$ac_exeext
24295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24296 (eval $ac_link) 2>&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); } &&
24300 { ac_try='test -s conftest$ac_exeext'
24301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24302 (eval $ac_try) 2>&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); }; }; then
24306 eval "$as_ac_var=yes"
24308 echo "$as_me: failed program was:" >&5
24309 sed 's/^/| /' conftest.$ac_ext >&5
24311 eval "$as_ac_var=no"
24313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24317 if test `eval echo '${'$as_ac_var'}'` = yes; then
24318 cat >>confdefs.h <<_ACEOF
24319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24327 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24328 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24329 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24330 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24331 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 ac_cpp='$CXXCPP $CPPFLAGS'
24338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24342 cat >conftest.$ac_ext <<_ACEOF
24343 #line $LINENO "configure"
24346 cat confdefs.h >>conftest.$ac_ext
24347 cat >>conftest.$ac_ext <<_ACEOF
24348 /* end confdefs.h. */
24358 rm -f conftest.$ac_objext
24359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24360 (eval $ac_compile) 2>&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); } &&
24364 { ac_try='test -s conftest.$ac_objext'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; }; then
24370 glibcxx_cv_func__frexpf_use=yes
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24375 glibcxx_cv_func__frexpf_use=no
24377 rm -f conftest.$ac_objext conftest.$ac_ext
24379 ac_cpp='$CPP $CPPFLAGS'
24380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24389 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24391 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24393 for ac_func in _frexpf
24395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24396 echo "$as_me:$LINENO: checking for $ac_func" >&5
24397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24398 if eval "test \"\${$as_ac_var+set}\" = set"; then
24399 echo $ECHO_N "(cached) $ECHO_C" >&6
24401 cat >conftest.$ac_ext <<_ACEOF
24402 #line $LINENO "configure"
24405 cat confdefs.h >>conftest.$ac_ext
24406 cat >>conftest.$ac_ext <<_ACEOF
24407 /* end confdefs.h. */
24408 /* System header to define __stub macros and hopefully few prototypes,
24409 which can conflict with char $ac_func (); below.
24410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24411 <limits.h> exists even on freestanding compilers. */
24413 # include <limits.h>
24415 # include <assert.h>
24417 /* Override any gcc2 internal prototype to avoid an error. */
24422 /* We use char because int might match the return type of a gcc2
24423 builtin and then its argument prototype would still apply. */
24425 /* The GNU C library defines this for functions which it implements
24426 to always fail with ENOSYS. Some functions are actually named
24427 something starting with __ and the normal name is an alias. */
24428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24431 char (*f) () = $ac_func;
24440 return f != $ac_func;
24445 rm -f conftest.$ac_objext conftest$ac_exeext
24446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24447 (eval $ac_link) 2>&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); } &&
24451 { ac_try='test -s conftest$ac_exeext'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; }; then
24457 eval "$as_ac_var=yes"
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.$ac_ext >&5
24462 eval "$as_ac_var=no"
24464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24468 if test `eval echo '${'$as_ac_var'}'` = yes; then
24469 cat >>confdefs.h <<_ACEOF
24470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24481 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
24482 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
24483 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24484 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
24485 echo $ECHO_N "(cached) $ECHO_C" >&6
24491 ac_cpp='$CXXCPP $CPPFLAGS'
24492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24496 cat >conftest.$ac_ext <<_ACEOF
24497 #line $LINENO "configure"
24500 cat confdefs.h >>conftest.$ac_ext
24501 cat >>conftest.$ac_ext <<_ACEOF
24502 /* end confdefs.h. */
24512 rm -f conftest.$ac_objext
24513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24514 (eval $ac_compile) 2>&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } &&
24518 { ac_try='test -s conftest.$ac_objext'
24519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24520 (eval $ac_try) 2>&5
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); }; }; then
24524 glibcxx_cv_func_hypotf_use=yes
24526 echo "$as_me: failed program was:" >&5
24527 sed 's/^/| /' conftest.$ac_ext >&5
24529 glibcxx_cv_func_hypotf_use=no
24531 rm -f conftest.$ac_objext conftest.$ac_ext
24533 ac_cpp='$CPP $CPPFLAGS'
24534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
24543 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
24545 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24547 for ac_func in hypotf
24549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24550 echo "$as_me:$LINENO: checking for $ac_func" >&5
24551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24552 if eval "test \"\${$as_ac_var+set}\" = set"; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24555 cat >conftest.$ac_ext <<_ACEOF
24556 #line $LINENO "configure"
24559 cat confdefs.h >>conftest.$ac_ext
24560 cat >>conftest.$ac_ext <<_ACEOF
24561 /* end confdefs.h. */
24562 /* System header to define __stub macros and hopefully few prototypes,
24563 which can conflict with char $ac_func (); below.
24564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24565 <limits.h> exists even on freestanding compilers. */
24567 # include <limits.h>
24569 # include <assert.h>
24571 /* Override any gcc2 internal prototype to avoid an error. */
24576 /* We use char because int might match the return type of a gcc2
24577 builtin and then its argument prototype would still apply. */
24579 /* The GNU C library defines this for functions which it implements
24580 to always fail with ENOSYS. Some functions are actually named
24581 something starting with __ and the normal name is an alias. */
24582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24585 char (*f) () = $ac_func;
24594 return f != $ac_func;
24599 rm -f conftest.$ac_objext conftest$ac_exeext
24600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24601 (eval $ac_link) 2>&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } &&
24605 { ac_try='test -s conftest$ac_exeext'
24606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24607 (eval $ac_try) 2>&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); }; }; then
24611 eval "$as_ac_var=yes"
24613 echo "$as_me: failed program was:" >&5
24614 sed 's/^/| /' conftest.$ac_ext >&5
24616 eval "$as_ac_var=no"
24618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24622 if test `eval echo '${'$as_ac_var'}'` = yes; then
24623 cat >>confdefs.h <<_ACEOF
24624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24632 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
24633 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
24634 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24635 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
24636 echo $ECHO_N "(cached) $ECHO_C" >&6
24642 ac_cpp='$CXXCPP $CPPFLAGS'
24643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24647 cat >conftest.$ac_ext <<_ACEOF
24648 #line $LINENO "configure"
24651 cat confdefs.h >>conftest.$ac_ext
24652 cat >>conftest.$ac_ext <<_ACEOF
24653 /* end confdefs.h. */
24663 rm -f conftest.$ac_objext
24664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24665 (eval $ac_compile) 2>&5
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); } &&
24669 { ac_try='test -s conftest.$ac_objext'
24670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24671 (eval $ac_try) 2>&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); }; }; then
24675 glibcxx_cv_func__hypotf_use=yes
24677 echo "$as_me: failed program was:" >&5
24678 sed 's/^/| /' conftest.$ac_ext >&5
24680 glibcxx_cv_func__hypotf_use=no
24682 rm -f conftest.$ac_objext conftest.$ac_ext
24684 ac_cpp='$CPP $CPPFLAGS'
24685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
24694 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
24696 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24698 for ac_func in _hypotf
24700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24701 echo "$as_me:$LINENO: checking for $ac_func" >&5
24702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24703 if eval "test \"\${$as_ac_var+set}\" = set"; then
24704 echo $ECHO_N "(cached) $ECHO_C" >&6
24706 cat >conftest.$ac_ext <<_ACEOF
24707 #line $LINENO "configure"
24710 cat confdefs.h >>conftest.$ac_ext
24711 cat >>conftest.$ac_ext <<_ACEOF
24712 /* end confdefs.h. */
24713 /* System header to define __stub macros and hopefully few prototypes,
24714 which can conflict with char $ac_func (); below.
24715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24716 <limits.h> exists even on freestanding compilers. */
24718 # include <limits.h>
24720 # include <assert.h>
24722 /* Override any gcc2 internal prototype to avoid an error. */
24727 /* We use char because int might match the return type of a gcc2
24728 builtin and then its argument prototype would still apply. */
24730 /* The GNU C library defines this for functions which it implements
24731 to always fail with ENOSYS. Some functions are actually named
24732 something starting with __ and the normal name is an alias. */
24733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24736 char (*f) () = $ac_func;
24745 return f != $ac_func;
24750 rm -f conftest.$ac_objext conftest$ac_exeext
24751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24752 (eval $ac_link) 2>&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); } &&
24756 { ac_try='test -s conftest$ac_exeext'
24757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24758 (eval $ac_try) 2>&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); }; }; then
24762 eval "$as_ac_var=yes"
24764 echo "$as_me: failed program was:" >&5
24765 sed 's/^/| /' conftest.$ac_ext >&5
24767 eval "$as_ac_var=no"
24769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24773 if test `eval echo '${'$as_ac_var'}'` = yes; then
24774 cat >>confdefs.h <<_ACEOF
24775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24786 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
24787 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
24788 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24789 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 ac_cpp='$CXXCPP $CPPFLAGS'
24797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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. */
24817 rm -f conftest.$ac_objext
24818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24819 (eval $ac_compile) 2>&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); } &&
24823 { ac_try='test -s conftest.$ac_objext'
24824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24825 (eval $ac_try) 2>&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); }; }; then
24829 glibcxx_cv_func_ldexpf_use=yes
24831 echo "$as_me: failed program was:" >&5
24832 sed 's/^/| /' conftest.$ac_ext >&5
24834 glibcxx_cv_func_ldexpf_use=no
24836 rm -f conftest.$ac_objext conftest.$ac_ext
24838 ac_cpp='$CPP $CPPFLAGS'
24839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
24848 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
24850 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24852 for ac_func in ldexpf
24854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24855 echo "$as_me:$LINENO: checking for $ac_func" >&5
24856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24857 if eval "test \"\${$as_ac_var+set}\" = set"; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24860 cat >conftest.$ac_ext <<_ACEOF
24861 #line $LINENO "configure"
24864 cat confdefs.h >>conftest.$ac_ext
24865 cat >>conftest.$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24867 /* System header to define __stub macros and hopefully few prototypes,
24868 which can conflict with char $ac_func (); below.
24869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24870 <limits.h> exists even on freestanding compilers. */
24872 # include <limits.h>
24874 # include <assert.h>
24876 /* Override any gcc2 internal prototype to avoid an error. */
24881 /* We use char because int might match the return type of a gcc2
24882 builtin and then its argument prototype would still apply. */
24884 /* The GNU C library defines this for functions which it implements
24885 to always fail with ENOSYS. Some functions are actually named
24886 something starting with __ and the normal name is an alias. */
24887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24890 char (*f) () = $ac_func;
24899 return f != $ac_func;
24904 rm -f conftest.$ac_objext conftest$ac_exeext
24905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24906 (eval $ac_link) 2>&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } &&
24910 { ac_try='test -s conftest$ac_exeext'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; }; then
24916 eval "$as_ac_var=yes"
24918 echo "$as_me: failed program was:" >&5
24919 sed 's/^/| /' conftest.$ac_ext >&5
24921 eval "$as_ac_var=no"
24923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24927 if test `eval echo '${'$as_ac_var'}'` = yes; then
24928 cat >>confdefs.h <<_ACEOF
24929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24937 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
24938 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
24939 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24940 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
24941 echo $ECHO_N "(cached) $ECHO_C" >&6
24947 ac_cpp='$CXXCPP $CPPFLAGS'
24948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24952 cat >conftest.$ac_ext <<_ACEOF
24953 #line $LINENO "configure"
24956 cat confdefs.h >>conftest.$ac_ext
24957 cat >>conftest.$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24968 rm -f conftest.$ac_objext
24969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24970 (eval $ac_compile) 2>&5
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); } &&
24974 { ac_try='test -s conftest.$ac_objext'
24975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24976 (eval $ac_try) 2>&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); }; }; then
24980 glibcxx_cv_func__ldexpf_use=yes
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.$ac_ext >&5
24985 glibcxx_cv_func__ldexpf_use=no
24987 rm -f conftest.$ac_objext conftest.$ac_ext
24989 ac_cpp='$CPP $CPPFLAGS'
24990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
24999 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25001 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25003 for ac_func in _ldexpf
25005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25006 echo "$as_me:$LINENO: checking for $ac_func" >&5
25007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25008 if eval "test \"\${$as_ac_var+set}\" = set"; then
25009 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 cat >conftest.$ac_ext <<_ACEOF
25012 #line $LINENO "configure"
25015 cat confdefs.h >>conftest.$ac_ext
25016 cat >>conftest.$ac_ext <<_ACEOF
25017 /* end confdefs.h. */
25018 /* System header to define __stub macros and hopefully few prototypes,
25019 which can conflict with char $ac_func (); below.
25020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25021 <limits.h> exists even on freestanding compilers. */
25023 # include <limits.h>
25025 # include <assert.h>
25027 /* Override any gcc2 internal prototype to avoid an error. */
25032 /* We use char because int might match the return type of a gcc2
25033 builtin and then its argument prototype would still apply. */
25035 /* The GNU C library defines this for functions which it implements
25036 to always fail with ENOSYS. Some functions are actually named
25037 something starting with __ and the normal name is an alias. */
25038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25041 char (*f) () = $ac_func;
25050 return f != $ac_func;
25055 rm -f conftest.$ac_objext conftest$ac_exeext
25056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25057 (eval $ac_link) 2>&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } &&
25061 { ac_try='test -s conftest$ac_exeext'
25062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25063 (eval $ac_try) 2>&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); }; }; then
25067 eval "$as_ac_var=yes"
25069 echo "$as_me: failed program was:" >&5
25070 sed 's/^/| /' conftest.$ac_ext >&5
25072 eval "$as_ac_var=no"
25074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25078 if test `eval echo '${'$as_ac_var'}'` = yes; then
25079 cat >>confdefs.h <<_ACEOF
25080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25091 echo "$as_me:$LINENO: checking for logf declaration" >&5
25092 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25093 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25094 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25095 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 ac_cpp='$CXXCPP $CPPFLAGS'
25102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25106 cat >conftest.$ac_ext <<_ACEOF
25107 #line $LINENO "configure"
25110 cat confdefs.h >>conftest.$ac_ext
25111 cat >>conftest.$ac_ext <<_ACEOF
25112 /* end confdefs.h. */
25114 #ifdef HAVE_IEEEFP_H
25115 #include <ieeefp.h>
25126 rm -f conftest.$ac_objext
25127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25128 (eval $ac_compile) 2>&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } &&
25132 { ac_try='test -s conftest.$ac_objext'
25133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25134 (eval $ac_try) 2>&5
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); }; }; then
25138 glibcxx_cv_func_logf_use=yes
25140 echo "$as_me: failed program was:" >&5
25141 sed 's/^/| /' conftest.$ac_ext >&5
25143 glibcxx_cv_func_logf_use=no
25145 rm -f conftest.$ac_objext conftest.$ac_ext
25147 ac_cpp='$CPP $CPPFLAGS'
25148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25157 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25159 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25161 for ac_func in logf
25163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25164 echo "$as_me:$LINENO: checking for $ac_func" >&5
25165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25166 if eval "test \"\${$as_ac_var+set}\" = set"; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25169 cat >conftest.$ac_ext <<_ACEOF
25170 #line $LINENO "configure"
25173 cat confdefs.h >>conftest.$ac_ext
25174 cat >>conftest.$ac_ext <<_ACEOF
25175 /* end confdefs.h. */
25176 /* System header to define __stub macros and hopefully few prototypes,
25177 which can conflict with char $ac_func (); below.
25178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25179 <limits.h> exists even on freestanding compilers. */
25181 # include <limits.h>
25183 # include <assert.h>
25185 /* Override any gcc2 internal prototype to avoid an error. */
25190 /* We use char because int might match the return type of a gcc2
25191 builtin and then its argument prototype would still apply. */
25193 /* The GNU C library defines this for functions which it implements
25194 to always fail with ENOSYS. Some functions are actually named
25195 something starting with __ and the normal name is an alias. */
25196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25199 char (*f) () = $ac_func;
25208 return f != $ac_func;
25213 rm -f conftest.$ac_objext conftest$ac_exeext
25214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25215 (eval $ac_link) 2>&5
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); } &&
25219 { ac_try='test -s conftest$ac_exeext'
25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25221 (eval $ac_try) 2>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); }; }; then
25225 eval "$as_ac_var=yes"
25227 echo "$as_me: failed program was:" >&5
25228 sed 's/^/| /' conftest.$ac_ext >&5
25230 eval "$as_ac_var=no"
25232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25236 if test `eval echo '${'$as_ac_var'}'` = yes; then
25237 cat >>confdefs.h <<_ACEOF
25238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25246 echo "$as_me:$LINENO: checking for _logf declaration" >&5
25247 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
25248 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25249 if test "${glibcxx_cv_func__logf_use+set}" = set; then
25250 echo $ECHO_N "(cached) $ECHO_C" >&6
25256 ac_cpp='$CXXCPP $CPPFLAGS'
25257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25261 cat >conftest.$ac_ext <<_ACEOF
25262 #line $LINENO "configure"
25265 cat confdefs.h >>conftest.$ac_ext
25266 cat >>conftest.$ac_ext <<_ACEOF
25267 /* end confdefs.h. */
25269 #ifdef HAVE_IEEEFP_H
25270 #include <ieeefp.h>
25281 rm -f conftest.$ac_objext
25282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25283 (eval $ac_compile) 2>&5
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); } &&
25287 { ac_try='test -s conftest.$ac_objext'
25288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25289 (eval $ac_try) 2>&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); }; }; then
25293 glibcxx_cv_func__logf_use=yes
25295 echo "$as_me: failed program was:" >&5
25296 sed 's/^/| /' conftest.$ac_ext >&5
25298 glibcxx_cv_func__logf_use=no
25300 rm -f conftest.$ac_objext conftest.$ac_ext
25302 ac_cpp='$CPP $CPPFLAGS'
25303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
25312 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
25314 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25316 for ac_func in _logf
25318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25319 echo "$as_me:$LINENO: checking for $ac_func" >&5
25320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25321 if eval "test \"\${$as_ac_var+set}\" = set"; then
25322 echo $ECHO_N "(cached) $ECHO_C" >&6
25324 cat >conftest.$ac_ext <<_ACEOF
25325 #line $LINENO "configure"
25328 cat confdefs.h >>conftest.$ac_ext
25329 cat >>conftest.$ac_ext <<_ACEOF
25330 /* end confdefs.h. */
25331 /* System header to define __stub macros and hopefully few prototypes,
25332 which can conflict with char $ac_func (); below.
25333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25334 <limits.h> exists even on freestanding compilers. */
25336 # include <limits.h>
25338 # include <assert.h>
25340 /* Override any gcc2 internal prototype to avoid an error. */
25345 /* We use char because int might match the return type of a gcc2
25346 builtin and then its argument prototype would still apply. */
25348 /* The GNU C library defines this for functions which it implements
25349 to always fail with ENOSYS. Some functions are actually named
25350 something starting with __ and the normal name is an alias. */
25351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25354 char (*f) () = $ac_func;
25363 return f != $ac_func;
25368 rm -f conftest.$ac_objext conftest$ac_exeext
25369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25370 (eval $ac_link) 2>&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } &&
25374 { ac_try='test -s conftest$ac_exeext'
25375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25376 (eval $ac_try) 2>&5
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); }; }; then
25380 eval "$as_ac_var=yes"
25382 echo "$as_me: failed program was:" >&5
25383 sed 's/^/| /' conftest.$ac_ext >&5
25385 eval "$as_ac_var=no"
25387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25391 if test `eval echo '${'$as_ac_var'}'` = yes; then
25392 cat >>confdefs.h <<_ACEOF
25393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25404 echo "$as_me:$LINENO: checking for log10f declaration" >&5
25405 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
25406 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25407 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
25408 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 ac_cpp='$CXXCPP $CPPFLAGS'
25415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25419 cat >conftest.$ac_ext <<_ACEOF
25420 #line $LINENO "configure"
25423 cat confdefs.h >>conftest.$ac_ext
25424 cat >>conftest.$ac_ext <<_ACEOF
25425 /* end confdefs.h. */
25427 #ifdef HAVE_IEEEFP_H
25428 #include <ieeefp.h>
25439 rm -f conftest.$ac_objext
25440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25441 (eval $ac_compile) 2>&5
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); } &&
25445 { ac_try='test -s conftest.$ac_objext'
25446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25447 (eval $ac_try) 2>&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); }; }; then
25451 glibcxx_cv_func_log10f_use=yes
25453 echo "$as_me: failed program was:" >&5
25454 sed 's/^/| /' conftest.$ac_ext >&5
25456 glibcxx_cv_func_log10f_use=no
25458 rm -f conftest.$ac_objext conftest.$ac_ext
25460 ac_cpp='$CPP $CPPFLAGS'
25461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
25470 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
25472 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25474 for ac_func in log10f
25476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25477 echo "$as_me:$LINENO: checking for $ac_func" >&5
25478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25479 if eval "test \"\${$as_ac_var+set}\" = set"; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25482 cat >conftest.$ac_ext <<_ACEOF
25483 #line $LINENO "configure"
25486 cat confdefs.h >>conftest.$ac_ext
25487 cat >>conftest.$ac_ext <<_ACEOF
25488 /* end confdefs.h. */
25489 /* System header to define __stub macros and hopefully few prototypes,
25490 which can conflict with char $ac_func (); below.
25491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25492 <limits.h> exists even on freestanding compilers. */
25494 # include <limits.h>
25496 # include <assert.h>
25498 /* Override any gcc2 internal prototype to avoid an error. */
25503 /* We use char because int might match the return type of a gcc2
25504 builtin and then its argument prototype would still apply. */
25506 /* The GNU C library defines this for functions which it implements
25507 to always fail with ENOSYS. Some functions are actually named
25508 something starting with __ and the normal name is an alias. */
25509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25512 char (*f) () = $ac_func;
25521 return f != $ac_func;
25526 rm -f conftest.$ac_objext conftest$ac_exeext
25527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25528 (eval $ac_link) 2>&5
25530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25531 (exit $ac_status); } &&
25532 { ac_try='test -s conftest$ac_exeext'
25533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534 (eval $ac_try) 2>&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); }; }; then
25538 eval "$as_ac_var=yes"
25540 echo "$as_me: failed program was:" >&5
25541 sed 's/^/| /' conftest.$ac_ext >&5
25543 eval "$as_ac_var=no"
25545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25549 if test `eval echo '${'$as_ac_var'}'` = yes; then
25550 cat >>confdefs.h <<_ACEOF
25551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25559 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
25560 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
25561 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25562 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
25563 echo $ECHO_N "(cached) $ECHO_C" >&6
25569 ac_cpp='$CXXCPP $CPPFLAGS'
25570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25574 cat >conftest.$ac_ext <<_ACEOF
25575 #line $LINENO "configure"
25578 cat confdefs.h >>conftest.$ac_ext
25579 cat >>conftest.$ac_ext <<_ACEOF
25580 /* end confdefs.h. */
25582 #ifdef HAVE_IEEEFP_H
25583 #include <ieeefp.h>
25594 rm -f conftest.$ac_objext
25595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25596 (eval $ac_compile) 2>&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } &&
25600 { ac_try='test -s conftest.$ac_objext'
25601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25602 (eval $ac_try) 2>&5
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); }; }; then
25606 glibcxx_cv_func__log10f_use=yes
25608 echo "$as_me: failed program was:" >&5
25609 sed 's/^/| /' conftest.$ac_ext >&5
25611 glibcxx_cv_func__log10f_use=no
25613 rm -f conftest.$ac_objext conftest.$ac_ext
25615 ac_cpp='$CPP $CPPFLAGS'
25616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
25625 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
25627 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25629 for ac_func in _log10f
25631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25632 echo "$as_me:$LINENO: checking for $ac_func" >&5
25633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25634 if eval "test \"\${$as_ac_var+set}\" = set"; then
25635 echo $ECHO_N "(cached) $ECHO_C" >&6
25637 cat >conftest.$ac_ext <<_ACEOF
25638 #line $LINENO "configure"
25641 cat confdefs.h >>conftest.$ac_ext
25642 cat >>conftest.$ac_ext <<_ACEOF
25643 /* end confdefs.h. */
25644 /* System header to define __stub macros and hopefully few prototypes,
25645 which can conflict with char $ac_func (); below.
25646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25647 <limits.h> exists even on freestanding compilers. */
25649 # include <limits.h>
25651 # include <assert.h>
25653 /* Override any gcc2 internal prototype to avoid an error. */
25658 /* We use char because int might match the return type of a gcc2
25659 builtin and then its argument prototype would still apply. */
25661 /* The GNU C library defines this for functions which it implements
25662 to always fail with ENOSYS. Some functions are actually named
25663 something starting with __ and the normal name is an alias. */
25664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25667 char (*f) () = $ac_func;
25676 return f != $ac_func;
25681 rm -f conftest.$ac_objext conftest$ac_exeext
25682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25683 (eval $ac_link) 2>&5
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); } &&
25687 { ac_try='test -s conftest$ac_exeext'
25688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25689 (eval $ac_try) 2>&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); }; }; then
25693 eval "$as_ac_var=yes"
25695 echo "$as_me: failed program was:" >&5
25696 sed 's/^/| /' conftest.$ac_ext >&5
25698 eval "$as_ac_var=no"
25700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25704 if test `eval echo '${'$as_ac_var'}'` = yes; then
25705 cat >>confdefs.h <<_ACEOF
25706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25717 echo "$as_me:$LINENO: checking for modff declaration" >&5
25718 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
25719 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25720 if test "${glibcxx_cv_func_modff_use+set}" = set; then
25721 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 ac_cpp='$CXXCPP $CPPFLAGS'
25728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25732 cat >conftest.$ac_ext <<_ACEOF
25733 #line $LINENO "configure"
25736 cat confdefs.h >>conftest.$ac_ext
25737 cat >>conftest.$ac_ext <<_ACEOF
25738 /* end confdefs.h. */
25748 rm -f conftest.$ac_objext
25749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25750 (eval $ac_compile) 2>&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try='test -s conftest.$ac_objext'
25755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25756 (eval $ac_try) 2>&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); }; }; then
25760 glibcxx_cv_func_modff_use=yes
25762 echo "$as_me: failed program was:" >&5
25763 sed 's/^/| /' conftest.$ac_ext >&5
25765 glibcxx_cv_func_modff_use=no
25767 rm -f conftest.$ac_objext conftest.$ac_ext
25769 ac_cpp='$CPP $CPPFLAGS'
25770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
25779 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
25781 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25783 for ac_func in modff
25785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25786 echo "$as_me:$LINENO: checking for $ac_func" >&5
25787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25788 if eval "test \"\${$as_ac_var+set}\" = set"; then
25789 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 cat >conftest.$ac_ext <<_ACEOF
25792 #line $LINENO "configure"
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798 /* System header to define __stub macros and hopefully few prototypes,
25799 which can conflict with char $ac_func (); below.
25800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25801 <limits.h> exists even on freestanding compilers. */
25803 # include <limits.h>
25805 # include <assert.h>
25807 /* Override any gcc2 internal prototype to avoid an error. */
25812 /* We use char because int might match the return type of a gcc2
25813 builtin and then its argument prototype would still apply. */
25815 /* The GNU C library defines this for functions which it implements
25816 to always fail with ENOSYS. Some functions are actually named
25817 something starting with __ and the normal name is an alias. */
25818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25821 char (*f) () = $ac_func;
25830 return f != $ac_func;
25835 rm -f conftest.$ac_objext conftest$ac_exeext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25837 (eval $ac_link) 2>&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); } &&
25841 { ac_try='test -s conftest$ac_exeext'
25842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25843 (eval $ac_try) 2>&5
25845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25846 (exit $ac_status); }; }; then
25847 eval "$as_ac_var=yes"
25849 echo "$as_me: failed program was:" >&5
25850 sed 's/^/| /' conftest.$ac_ext >&5
25852 eval "$as_ac_var=no"
25854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25858 if test `eval echo '${'$as_ac_var'}'` = yes; then
25859 cat >>confdefs.h <<_ACEOF
25860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25868 echo "$as_me:$LINENO: checking for _modff declaration" >&5
25869 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
25870 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25871 if test "${glibcxx_cv_func__modff_use+set}" = set; then
25872 echo $ECHO_N "(cached) $ECHO_C" >&6
25878 ac_cpp='$CXXCPP $CPPFLAGS'
25879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25883 cat >conftest.$ac_ext <<_ACEOF
25884 #line $LINENO "configure"
25887 cat confdefs.h >>conftest.$ac_ext
25888 cat >>conftest.$ac_ext <<_ACEOF
25889 /* end confdefs.h. */
25899 rm -f conftest.$ac_objext
25900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25901 (eval $ac_compile) 2>&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); } &&
25905 { ac_try='test -s conftest.$ac_objext'
25906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25907 (eval $ac_try) 2>&5
25909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910 (exit $ac_status); }; }; then
25911 glibcxx_cv_func__modff_use=yes
25913 echo "$as_me: failed program was:" >&5
25914 sed 's/^/| /' conftest.$ac_ext >&5
25916 glibcxx_cv_func__modff_use=no
25918 rm -f conftest.$ac_objext conftest.$ac_ext
25920 ac_cpp='$CPP $CPPFLAGS'
25921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
25930 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
25932 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25934 for ac_func in _modff
25936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25937 echo "$as_me:$LINENO: checking for $ac_func" >&5
25938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25939 if eval "test \"\${$as_ac_var+set}\" = set"; then
25940 echo $ECHO_N "(cached) $ECHO_C" >&6
25942 cat >conftest.$ac_ext <<_ACEOF
25943 #line $LINENO "configure"
25946 cat confdefs.h >>conftest.$ac_ext
25947 cat >>conftest.$ac_ext <<_ACEOF
25948 /* end confdefs.h. */
25949 /* System header to define __stub macros and hopefully few prototypes,
25950 which can conflict with char $ac_func (); below.
25951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25952 <limits.h> exists even on freestanding compilers. */
25954 # include <limits.h>
25956 # include <assert.h>
25958 /* Override any gcc2 internal prototype to avoid an error. */
25963 /* We use char because int might match the return type of a gcc2
25964 builtin and then its argument prototype would still apply. */
25966 /* The GNU C library defines this for functions which it implements
25967 to always fail with ENOSYS. Some functions are actually named
25968 something starting with __ and the normal name is an alias. */
25969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25972 char (*f) () = $ac_func;
25981 return f != $ac_func;
25986 rm -f conftest.$ac_objext conftest$ac_exeext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25988 (eval $ac_link) 2>&5
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); } &&
25992 { ac_try='test -s conftest$ac_exeext'
25993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25994 (eval $ac_try) 2>&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); }; }; then
25998 eval "$as_ac_var=yes"
26000 echo "$as_me: failed program was:" >&5
26001 sed 's/^/| /' conftest.$ac_ext >&5
26003 eval "$as_ac_var=no"
26005 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26009 if test `eval echo '${'$as_ac_var'}'` = yes; then
26010 cat >>confdefs.h <<_ACEOF
26011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26022 echo "$as_me:$LINENO: checking for powf declaration" >&5
26023 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
26024 if test x${glibcxx_cv_func_powf_use+set} != xset; then
26025 if test "${glibcxx_cv_func_powf_use+set}" = set; then
26026 echo $ECHO_N "(cached) $ECHO_C" >&6
26032 ac_cpp='$CXXCPP $CPPFLAGS'
26033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26037 cat >conftest.$ac_ext <<_ACEOF
26038 #line $LINENO "configure"
26041 cat confdefs.h >>conftest.$ac_ext
26042 cat >>conftest.$ac_ext <<_ACEOF
26043 /* end confdefs.h. */
26053 rm -f conftest.$ac_objext
26054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26055 (eval $ac_compile) 2>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } &&
26059 { ac_try='test -s conftest.$ac_objext'
26060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26061 (eval $ac_try) 2>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); }; }; then
26065 glibcxx_cv_func_powf_use=yes
26067 echo "$as_me: failed program was:" >&5
26068 sed 's/^/| /' conftest.$ac_ext >&5
26070 glibcxx_cv_func_powf_use=no
26072 rm -f conftest.$ac_objext conftest.$ac_ext
26074 ac_cpp='$CPP $CPPFLAGS'
26075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
26084 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
26086 if test x$glibcxx_cv_func_powf_use = x"yes"; then
26088 for ac_func in powf
26090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26091 echo "$as_me:$LINENO: checking for $ac_func" >&5
26092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26093 if eval "test \"\${$as_ac_var+set}\" = set"; then
26094 echo $ECHO_N "(cached) $ECHO_C" >&6
26096 cat >conftest.$ac_ext <<_ACEOF
26097 #line $LINENO "configure"
26100 cat confdefs.h >>conftest.$ac_ext
26101 cat >>conftest.$ac_ext <<_ACEOF
26102 /* end confdefs.h. */
26103 /* System header to define __stub macros and hopefully few prototypes,
26104 which can conflict with char $ac_func (); below.
26105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26106 <limits.h> exists even on freestanding compilers. */
26108 # include <limits.h>
26110 # include <assert.h>
26112 /* Override any gcc2 internal prototype to avoid an error. */
26117 /* We use char because int might match the return type of a gcc2
26118 builtin and then its argument prototype would still apply. */
26120 /* The GNU C library defines this for functions which it implements
26121 to always fail with ENOSYS. Some functions are actually named
26122 something starting with __ and the normal name is an alias. */
26123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26126 char (*f) () = $ac_func;
26135 return f != $ac_func;
26140 rm -f conftest.$ac_objext conftest$ac_exeext
26141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26142 (eval $ac_link) 2>&5
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); } &&
26146 { ac_try='test -s conftest$ac_exeext'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; }; then
26152 eval "$as_ac_var=yes"
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26157 eval "$as_ac_var=no"
26159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26163 if test `eval echo '${'$as_ac_var'}'` = yes; then
26164 cat >>confdefs.h <<_ACEOF
26165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26173 echo "$as_me:$LINENO: checking for _powf declaration" >&5
26174 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
26175 if test x${glibcxx_cv_func__powf_use+set} != xset; then
26176 if test "${glibcxx_cv_func__powf_use+set}" = set; then
26177 echo $ECHO_N "(cached) $ECHO_C" >&6
26183 ac_cpp='$CXXCPP $CPPFLAGS'
26184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26188 cat >conftest.$ac_ext <<_ACEOF
26189 #line $LINENO "configure"
26192 cat confdefs.h >>conftest.$ac_ext
26193 cat >>conftest.$ac_ext <<_ACEOF
26194 /* end confdefs.h. */
26204 rm -f conftest.$ac_objext
26205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26206 (eval $ac_compile) 2>&5
26208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26209 (exit $ac_status); } &&
26210 { ac_try='test -s conftest.$ac_objext'
26211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26212 (eval $ac_try) 2>&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); }; }; then
26216 glibcxx_cv_func__powf_use=yes
26218 echo "$as_me: failed program was:" >&5
26219 sed 's/^/| /' conftest.$ac_ext >&5
26221 glibcxx_cv_func__powf_use=no
26223 rm -f conftest.$ac_objext conftest.$ac_ext
26225 ac_cpp='$CPP $CPPFLAGS'
26226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
26235 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
26237 if test x$glibcxx_cv_func__powf_use = x"yes"; then
26239 for ac_func in _powf
26241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26242 echo "$as_me:$LINENO: checking for $ac_func" >&5
26243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26244 if eval "test \"\${$as_ac_var+set}\" = set"; then
26245 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 cat >conftest.$ac_ext <<_ACEOF
26248 #line $LINENO "configure"
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26254 /* System header to define __stub macros and hopefully few prototypes,
26255 which can conflict with char $ac_func (); below.
26256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26257 <limits.h> exists even on freestanding compilers. */
26259 # include <limits.h>
26261 # include <assert.h>
26263 /* Override any gcc2 internal prototype to avoid an error. */
26268 /* We use char because int might match the return type of a gcc2
26269 builtin and then its argument prototype would still apply. */
26271 /* The GNU C library defines this for functions which it implements
26272 to always fail with ENOSYS. Some functions are actually named
26273 something starting with __ and the normal name is an alias. */
26274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26277 char (*f) () = $ac_func;
26286 return f != $ac_func;
26291 rm -f conftest.$ac_objext conftest$ac_exeext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26293 (eval $ac_link) 2>&5
26295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26296 (exit $ac_status); } &&
26297 { ac_try='test -s conftest$ac_exeext'
26298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26299 (eval $ac_try) 2>&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); }; }; then
26303 eval "$as_ac_var=yes"
26305 echo "$as_me: failed program was:" >&5
26306 sed 's/^/| /' conftest.$ac_ext >&5
26308 eval "$as_ac_var=no"
26310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26314 if test `eval echo '${'$as_ac_var'}'` = yes; then
26315 cat >>confdefs.h <<_ACEOF
26316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26327 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
26328 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
26329 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
26330 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
26331 echo $ECHO_N "(cached) $ECHO_C" >&6
26337 ac_cpp='$CXXCPP $CPPFLAGS'
26338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26342 cat >conftest.$ac_ext <<_ACEOF
26343 #line $LINENO "configure"
26346 cat confdefs.h >>conftest.$ac_ext
26347 cat >>conftest.$ac_ext <<_ACEOF
26348 /* end confdefs.h. */
26350 #ifdef HAVE_IEEEFP_H
26351 #include <ieeefp.h>
26362 rm -f conftest.$ac_objext
26363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26364 (eval $ac_compile) 2>&5
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); } &&
26368 { ac_try='test -s conftest.$ac_objext'
26369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26370 (eval $ac_try) 2>&5
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); }; }; then
26374 glibcxx_cv_func_sqrtf_use=yes
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.$ac_ext >&5
26379 glibcxx_cv_func_sqrtf_use=no
26381 rm -f conftest.$ac_objext conftest.$ac_ext
26383 ac_cpp='$CPP $CPPFLAGS'
26384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26392 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
26393 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
26395 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
26397 for ac_func in sqrtf
26399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26400 echo "$as_me:$LINENO: checking for $ac_func" >&5
26401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26402 if eval "test \"\${$as_ac_var+set}\" = set"; then
26403 echo $ECHO_N "(cached) $ECHO_C" >&6
26405 cat >conftest.$ac_ext <<_ACEOF
26406 #line $LINENO "configure"
26409 cat confdefs.h >>conftest.$ac_ext
26410 cat >>conftest.$ac_ext <<_ACEOF
26411 /* end confdefs.h. */
26412 /* System header to define __stub macros and hopefully few prototypes,
26413 which can conflict with char $ac_func (); below.
26414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26415 <limits.h> exists even on freestanding compilers. */
26417 # include <limits.h>
26419 # include <assert.h>
26421 /* Override any gcc2 internal prototype to avoid an error. */
26426 /* We use char because int might match the return type of a gcc2
26427 builtin and then its argument prototype would still apply. */
26429 /* The GNU C library defines this for functions which it implements
26430 to always fail with ENOSYS. Some functions are actually named
26431 something starting with __ and the normal name is an alias. */
26432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26435 char (*f) () = $ac_func;
26444 return f != $ac_func;
26449 rm -f conftest.$ac_objext conftest$ac_exeext
26450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26451 (eval $ac_link) 2>&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } &&
26455 { ac_try='test -s conftest$ac_exeext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26461 eval "$as_ac_var=yes"
26463 echo "$as_me: failed program was:" >&5
26464 sed 's/^/| /' conftest.$ac_ext >&5
26466 eval "$as_ac_var=no"
26468 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26472 if test `eval echo '${'$as_ac_var'}'` = yes; then
26473 cat >>confdefs.h <<_ACEOF
26474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26482 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
26483 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
26484 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
26485 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
26486 echo $ECHO_N "(cached) $ECHO_C" >&6
26492 ac_cpp='$CXXCPP $CPPFLAGS'
26493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26497 cat >conftest.$ac_ext <<_ACEOF
26498 #line $LINENO "configure"
26501 cat confdefs.h >>conftest.$ac_ext
26502 cat >>conftest.$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26505 #ifdef HAVE_IEEEFP_H
26506 #include <ieeefp.h>
26517 rm -f conftest.$ac_objext
26518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26519 (eval $ac_compile) 2>&5
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); } &&
26523 { ac_try='test -s conftest.$ac_objext'
26524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26525 (eval $ac_try) 2>&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); }; }; then
26529 glibcxx_cv_func__sqrtf_use=yes
26531 echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26534 glibcxx_cv_func__sqrtf_use=no
26536 rm -f conftest.$ac_objext conftest.$ac_ext
26538 ac_cpp='$CPP $CPPFLAGS'
26539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
26548 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
26550 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
26552 for ac_func in _sqrtf
26554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26555 echo "$as_me:$LINENO: checking for $ac_func" >&5
26556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26557 if eval "test \"\${$as_ac_var+set}\" = set"; then
26558 echo $ECHO_N "(cached) $ECHO_C" >&6
26560 cat >conftest.$ac_ext <<_ACEOF
26561 #line $LINENO "configure"
26564 cat confdefs.h >>conftest.$ac_ext
26565 cat >>conftest.$ac_ext <<_ACEOF
26566 /* end confdefs.h. */
26567 /* System header to define __stub macros and hopefully few prototypes,
26568 which can conflict with char $ac_func (); below.
26569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26570 <limits.h> exists even on freestanding compilers. */
26572 # include <limits.h>
26574 # include <assert.h>
26576 /* Override any gcc2 internal prototype to avoid an error. */
26581 /* We use char because int might match the return type of a gcc2
26582 builtin and then its argument prototype would still apply. */
26584 /* The GNU C library defines this for functions which it implements
26585 to always fail with ENOSYS. Some functions are actually named
26586 something starting with __ and the normal name is an alias. */
26587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26590 char (*f) () = $ac_func;
26599 return f != $ac_func;
26604 rm -f conftest.$ac_objext conftest$ac_exeext
26605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26606 (eval $ac_link) 2>&5
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); } &&
26610 { ac_try='test -s conftest$ac_exeext'
26611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26612 (eval $ac_try) 2>&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; }; then
26616 eval "$as_ac_var=yes"
26618 echo "$as_me: failed program was:" >&5
26619 sed 's/^/| /' conftest.$ac_ext >&5
26621 eval "$as_ac_var=no"
26623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26627 if test `eval echo '${'$as_ac_var'}'` = yes; then
26628 cat >>confdefs.h <<_ACEOF
26629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26640 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
26641 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
26642 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
26643 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
26644 echo $ECHO_N "(cached) $ECHO_C" >&6
26650 ac_cpp='$CXXCPP $CPPFLAGS'
26651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26655 cat >conftest.$ac_ext <<_ACEOF
26656 #line $LINENO "configure"
26659 cat confdefs.h >>conftest.$ac_ext
26660 cat >>conftest.$ac_ext <<_ACEOF
26661 /* end confdefs.h. */
26671 rm -f conftest.$ac_objext
26672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26673 (eval $ac_compile) 2>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try='test -s conftest.$ac_objext'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; }; then
26683 glibcxx_cv_func_sincosf_use=yes
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.$ac_ext >&5
26688 glibcxx_cv_func_sincosf_use=no
26690 rm -f conftest.$ac_objext conftest.$ac_ext
26692 ac_cpp='$CPP $CPPFLAGS'
26693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26701 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
26702 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
26704 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26706 for ac_func in sincosf
26708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26709 echo "$as_me:$LINENO: checking for $ac_func" >&5
26710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26711 if eval "test \"\${$as_ac_var+set}\" = set"; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 cat >conftest.$ac_ext <<_ACEOF
26715 #line $LINENO "configure"
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 /* System header to define __stub macros and hopefully few prototypes,
26722 which can conflict with char $ac_func (); below.
26723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26724 <limits.h> exists even on freestanding compilers. */
26726 # include <limits.h>
26728 # include <assert.h>
26730 /* Override any gcc2 internal prototype to avoid an error. */
26735 /* We use char because int might match the return type of a gcc2
26736 builtin and then its argument prototype would still apply. */
26738 /* The GNU C library defines this for functions which it implements
26739 to always fail with ENOSYS. Some functions are actually named
26740 something starting with __ and the normal name is an alias. */
26741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26744 char (*f) () = $ac_func;
26753 return f != $ac_func;
26758 rm -f conftest.$ac_objext conftest$ac_exeext
26759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26760 (eval $ac_link) 2>&5
26762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26763 (exit $ac_status); } &&
26764 { ac_try='test -s conftest$ac_exeext'
26765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26766 (eval $ac_try) 2>&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); }; }; then
26770 eval "$as_ac_var=yes"
26772 echo "$as_me: failed program was:" >&5
26773 sed 's/^/| /' conftest.$ac_ext >&5
26775 eval "$as_ac_var=no"
26777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26781 if test `eval echo '${'$as_ac_var'}'` = yes; then
26782 cat >>confdefs.h <<_ACEOF
26783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26791 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
26792 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
26793 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26794 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
26795 echo $ECHO_N "(cached) $ECHO_C" >&6
26801 ac_cpp='$CXXCPP $CPPFLAGS'
26802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26806 cat >conftest.$ac_ext <<_ACEOF
26807 #line $LINENO "configure"
26810 cat confdefs.h >>conftest.$ac_ext
26811 cat >>conftest.$ac_ext <<_ACEOF
26812 /* end confdefs.h. */
26822 rm -f conftest.$ac_objext
26823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26824 (eval $ac_compile) 2>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } &&
26828 { ac_try='test -s conftest.$ac_objext'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; }; then
26834 glibcxx_cv_func__sincosf_use=yes
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.$ac_ext >&5
26839 glibcxx_cv_func__sincosf_use=no
26841 rm -f conftest.$ac_objext conftest.$ac_ext
26843 ac_cpp='$CPP $CPPFLAGS'
26844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
26853 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
26855 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26857 for ac_func in _sincosf
26859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26860 echo "$as_me:$LINENO: checking for $ac_func" >&5
26861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26862 if eval "test \"\${$as_ac_var+set}\" = set"; then
26863 echo $ECHO_N "(cached) $ECHO_C" >&6
26865 cat >conftest.$ac_ext <<_ACEOF
26866 #line $LINENO "configure"
26869 cat confdefs.h >>conftest.$ac_ext
26870 cat >>conftest.$ac_ext <<_ACEOF
26871 /* end confdefs.h. */
26872 /* System header to define __stub macros and hopefully few prototypes,
26873 which can conflict with char $ac_func (); below.
26874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26875 <limits.h> exists even on freestanding compilers. */
26877 # include <limits.h>
26879 # include <assert.h>
26881 /* Override any gcc2 internal prototype to avoid an error. */
26886 /* We use char because int might match the return type of a gcc2
26887 builtin and then its argument prototype would still apply. */
26889 /* The GNU C library defines this for functions which it implements
26890 to always fail with ENOSYS. Some functions are actually named
26891 something starting with __ and the normal name is an alias. */
26892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26895 char (*f) () = $ac_func;
26904 return f != $ac_func;
26909 rm -f conftest.$ac_objext conftest$ac_exeext
26910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26911 (eval $ac_link) 2>&5
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); } &&
26915 { ac_try='test -s conftest$ac_exeext'
26916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26917 (eval $ac_try) 2>&5
26919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920 (exit $ac_status); }; }; then
26921 eval "$as_ac_var=yes"
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.$ac_ext >&5
26926 eval "$as_ac_var=no"
26928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26932 if test `eval echo '${'$as_ac_var'}'` = yes; then
26933 cat >>confdefs.h <<_ACEOF
26934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26945 echo "$as_me:$LINENO: checking for finitef declaration" >&5
26946 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
26947 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26948 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
26949 echo $ECHO_N "(cached) $ECHO_C" >&6
26955 ac_cpp='$CXXCPP $CPPFLAGS'
26956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26960 cat >conftest.$ac_ext <<_ACEOF
26961 #line $LINENO "configure"
26964 cat confdefs.h >>conftest.$ac_ext
26965 cat >>conftest.$ac_ext <<_ACEOF
26966 /* end confdefs.h. */
26968 #ifdef HAVE_IEEEFP_H
26969 #include <ieeefp.h>
26980 rm -f conftest.$ac_objext
26981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26982 (eval $ac_compile) 2>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -s conftest.$ac_objext'
26987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26988 (eval $ac_try) 2>&5
26990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991 (exit $ac_status); }; }; then
26992 glibcxx_cv_func_finitef_use=yes
26994 echo "$as_me: failed program was:" >&5
26995 sed 's/^/| /' conftest.$ac_ext >&5
26997 glibcxx_cv_func_finitef_use=no
26999 rm -f conftest.$ac_objext conftest.$ac_ext
27001 ac_cpp='$CPP $CPPFLAGS'
27002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27010 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
27011 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
27013 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
27015 for ac_func in finitef
27017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27018 echo "$as_me:$LINENO: checking for $ac_func" >&5
27019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27020 if eval "test \"\${$as_ac_var+set}\" = set"; then
27021 echo $ECHO_N "(cached) $ECHO_C" >&6
27023 cat >conftest.$ac_ext <<_ACEOF
27024 #line $LINENO "configure"
27027 cat confdefs.h >>conftest.$ac_ext
27028 cat >>conftest.$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27030 /* System header to define __stub macros and hopefully few prototypes,
27031 which can conflict with char $ac_func (); below.
27032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27033 <limits.h> exists even on freestanding compilers. */
27035 # include <limits.h>
27037 # include <assert.h>
27039 /* Override any gcc2 internal prototype to avoid an error. */
27044 /* We use char because int might match the return type of a gcc2
27045 builtin and then its argument prototype would still apply. */
27047 /* The GNU C library defines this for functions which it implements
27048 to always fail with ENOSYS. Some functions are actually named
27049 something starting with __ and the normal name is an alias. */
27050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27053 char (*f) () = $ac_func;
27062 return f != $ac_func;
27067 rm -f conftest.$ac_objext conftest$ac_exeext
27068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27069 (eval $ac_link) 2>&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } &&
27073 { ac_try='test -s conftest$ac_exeext'
27074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27075 (eval $ac_try) 2>&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); }; }; then
27079 eval "$as_ac_var=yes"
27081 echo "$as_me: failed program was:" >&5
27082 sed 's/^/| /' conftest.$ac_ext >&5
27084 eval "$as_ac_var=no"
27086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27090 if test `eval echo '${'$as_ac_var'}'` = yes; then
27091 cat >>confdefs.h <<_ACEOF
27092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27100 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
27101 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
27102 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
27103 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
27104 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 ac_cpp='$CXXCPP $CPPFLAGS'
27111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27115 cat >conftest.$ac_ext <<_ACEOF
27116 #line $LINENO "configure"
27119 cat confdefs.h >>conftest.$ac_ext
27120 cat >>conftest.$ac_ext <<_ACEOF
27121 /* end confdefs.h. */
27123 #ifdef HAVE_IEEEFP_H
27124 #include <ieeefp.h>
27135 rm -f conftest.$ac_objext
27136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27137 (eval $ac_compile) 2>&5
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); } &&
27141 { ac_try='test -s conftest.$ac_objext'
27142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27143 (eval $ac_try) 2>&5
27145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 (exit $ac_status); }; }; then
27147 glibcxx_cv_func__finitef_use=yes
27149 echo "$as_me: failed program was:" >&5
27150 sed 's/^/| /' conftest.$ac_ext >&5
27152 glibcxx_cv_func__finitef_use=no
27154 rm -f conftest.$ac_objext conftest.$ac_ext
27156 ac_cpp='$CPP $CPPFLAGS'
27157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
27166 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
27168 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
27170 for ac_func in _finitef
27172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27173 echo "$as_me:$LINENO: checking for $ac_func" >&5
27174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27175 if eval "test \"\${$as_ac_var+set}\" = set"; then
27176 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 cat >conftest.$ac_ext <<_ACEOF
27179 #line $LINENO "configure"
27182 cat confdefs.h >>conftest.$ac_ext
27183 cat >>conftest.$ac_ext <<_ACEOF
27184 /* end confdefs.h. */
27185 /* System header to define __stub macros and hopefully few prototypes,
27186 which can conflict with char $ac_func (); below.
27187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27188 <limits.h> exists even on freestanding compilers. */
27190 # include <limits.h>
27192 # include <assert.h>
27194 /* Override any gcc2 internal prototype to avoid an error. */
27199 /* We use char because int might match the return type of a gcc2
27200 builtin and then its argument prototype would still apply. */
27202 /* The GNU C library defines this for functions which it implements
27203 to always fail with ENOSYS. Some functions are actually named
27204 something starting with __ and the normal name is an alias. */
27205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27208 char (*f) () = $ac_func;
27217 return f != $ac_func;
27222 rm -f conftest.$ac_objext conftest$ac_exeext
27223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27224 (eval $ac_link) 2>&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } &&
27228 { ac_try='test -s conftest$ac_exeext'
27229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27230 (eval $ac_try) 2>&5
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); }; }; then
27234 eval "$as_ac_var=yes"
27236 echo "$as_me: failed program was:" >&5
27237 sed 's/^/| /' conftest.$ac_ext >&5
27239 eval "$as_ac_var=no"
27241 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27245 if test `eval echo '${'$as_ac_var'}'` = yes; then
27246 cat >>confdefs.h <<_ACEOF
27247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27258 echo "$as_me:$LINENO: checking for long double trig functions" >&5
27259 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
27260 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 ac_cpp='$CXXCPP $CPPFLAGS'
27268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27272 cat >conftest.$ac_ext <<_ACEOF
27273 #line $LINENO "configure"
27276 cat confdefs.h >>conftest.$ac_ext
27277 cat >>conftest.$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27283 `for x in acosl asinl atanl \
27285 coshl sinhl tanhl; do echo "$x (0);"; done`
27290 rm -f conftest.$ac_objext
27291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27292 (eval $ac_compile) 2>&5
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); } &&
27296 { ac_try='test -s conftest.$ac_objext'
27297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27298 (eval $ac_try) 2>&5
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); }; }; then
27302 glibcxx_cv_func_long_double_trig_use=yes
27304 echo "$as_me: failed program was:" >&5
27305 sed 's/^/| /' conftest.$ac_ext >&5
27307 glibcxx_cv_func_long_double_trig_use=no
27309 rm -f conftest.$ac_objext conftest.$ac_ext
27311 ac_cpp='$CPP $CPPFLAGS'
27312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
27319 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
27320 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
27330 for ac_func in acosl asinl atanl \
27334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27335 echo "$as_me:$LINENO: checking for $ac_func" >&5
27336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27337 if eval "test \"\${$as_ac_var+set}\" = set"; then
27338 echo $ECHO_N "(cached) $ECHO_C" >&6
27340 cat >conftest.$ac_ext <<_ACEOF
27341 #line $LINENO "configure"
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 /* System header to define __stub macros and hopefully few prototypes,
27348 which can conflict with char $ac_func (); below.
27349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27350 <limits.h> exists even on freestanding compilers. */
27352 # include <limits.h>
27354 # include <assert.h>
27356 /* Override any gcc2 internal prototype to avoid an error. */
27361 /* We use char because int might match the return type of a gcc2
27362 builtin and then its argument prototype would still apply. */
27364 /* The GNU C library defines this for functions which it implements
27365 to always fail with ENOSYS. Some functions are actually named
27366 something starting with __ and the normal name is an alias. */
27367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27370 char (*f) () = $ac_func;
27379 return f != $ac_func;
27384 rm -f conftest.$ac_objext conftest$ac_exeext
27385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27386 (eval $ac_link) 2>&5
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); } &&
27390 { ac_try='test -s conftest$ac_exeext'
27391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27392 (eval $ac_try) 2>&5
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); }; }; then
27396 eval "$as_ac_var=yes"
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27401 eval "$as_ac_var=no"
27403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27407 if test `eval echo '${'$as_ac_var'}'` = yes; then
27408 cat >>confdefs.h <<_ACEOF
27409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27418 echo "$as_me:$LINENO: checking for long double round functions" >&5
27419 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
27420 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
27421 echo $ECHO_N "(cached) $ECHO_C" >&6
27427 ac_cpp='$CXXCPP $CPPFLAGS'
27428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27432 cat >conftest.$ac_ext <<_ACEOF
27433 #line $LINENO "configure"
27436 cat confdefs.h >>conftest.$ac_ext
27437 cat >>conftest.$ac_ext <<_ACEOF
27438 /* end confdefs.h. */
27443 `for x in ceill floorl; do echo "$x (0);"; done`
27448 rm -f conftest.$ac_objext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27450 (eval $ac_compile) 2>&5
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); } &&
27454 { ac_try='test -s conftest.$ac_objext'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; }; then
27460 glibcxx_cv_func_long_double_round_use=yes
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.$ac_ext >&5
27465 glibcxx_cv_func_long_double_round_use=no
27467 rm -f conftest.$ac_objext conftest.$ac_ext
27469 ac_cpp='$CPP $CPPFLAGS'
27470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27476 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
27477 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
27478 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
27481 for ac_func in ceill floorl
27483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27484 echo "$as_me:$LINENO: checking for $ac_func" >&5
27485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27486 if eval "test \"\${$as_ac_var+set}\" = set"; then
27487 echo $ECHO_N "(cached) $ECHO_C" >&6
27489 cat >conftest.$ac_ext <<_ACEOF
27490 #line $LINENO "configure"
27493 cat confdefs.h >>conftest.$ac_ext
27494 cat >>conftest.$ac_ext <<_ACEOF
27495 /* end confdefs.h. */
27496 /* System header to define __stub macros and hopefully few prototypes,
27497 which can conflict with char $ac_func (); below.
27498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27499 <limits.h> exists even on freestanding compilers. */
27501 # include <limits.h>
27503 # include <assert.h>
27505 /* Override any gcc2 internal prototype to avoid an error. */
27510 /* We use char because int might match the return type of a gcc2
27511 builtin and then its argument prototype would still apply. */
27513 /* The GNU C library defines this for functions which it implements
27514 to always fail with ENOSYS. Some functions are actually named
27515 something starting with __ and the normal name is an alias. */
27516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27519 char (*f) () = $ac_func;
27528 return f != $ac_func;
27533 rm -f conftest.$ac_objext conftest$ac_exeext
27534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27535 (eval $ac_link) 2>&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } &&
27539 { ac_try='test -s conftest$ac_exeext'
27540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27541 (eval $ac_try) 2>&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); }; }; then
27545 eval "$as_ac_var=yes"
27547 echo "$as_me: failed program was:" >&5
27548 sed 's/^/| /' conftest.$ac_ext >&5
27550 eval "$as_ac_var=no"
27552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27556 if test `eval echo '${'$as_ac_var'}'` = yes; then
27557 cat >>confdefs.h <<_ACEOF
27558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27568 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
27569 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
27570 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
27571 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 ac_cpp='$CXXCPP $CPPFLAGS'
27579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27583 cat >conftest.$ac_ext <<_ACEOF
27584 #line $LINENO "configure"
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27591 #ifdef HAVE_IEEEFP_H
27592 #include <ieeefp.h>
27603 rm -f conftest.$ac_objext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27605 (eval $ac_compile) 2>&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } &&
27609 { ac_try='test -s conftest.$ac_objext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27615 glibcxx_cv_func_isnanl_use=yes
27617 echo "$as_me: failed program was:" >&5
27618 sed 's/^/| /' conftest.$ac_ext >&5
27620 glibcxx_cv_func_isnanl_use=no
27622 rm -f conftest.$ac_objext conftest.$ac_ext
27624 ac_cpp='$CPP $CPPFLAGS'
27625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
27634 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
27636 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
27638 for ac_func in isnanl
27640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27641 echo "$as_me:$LINENO: checking for $ac_func" >&5
27642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27643 if eval "test \"\${$as_ac_var+set}\" = set"; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27646 cat >conftest.$ac_ext <<_ACEOF
27647 #line $LINENO "configure"
27650 cat confdefs.h >>conftest.$ac_ext
27651 cat >>conftest.$ac_ext <<_ACEOF
27652 /* end confdefs.h. */
27653 /* System header to define __stub macros and hopefully few prototypes,
27654 which can conflict with char $ac_func (); below.
27655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27656 <limits.h> exists even on freestanding compilers. */
27658 # include <limits.h>
27660 # include <assert.h>
27662 /* Override any gcc2 internal prototype to avoid an error. */
27667 /* We use char because int might match the return type of a gcc2
27668 builtin and then its argument prototype would still apply. */
27670 /* The GNU C library defines this for functions which it implements
27671 to always fail with ENOSYS. Some functions are actually named
27672 something starting with __ and the normal name is an alias. */
27673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27676 char (*f) () = $ac_func;
27685 return f != $ac_func;
27690 rm -f conftest.$ac_objext conftest$ac_exeext
27691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27692 (eval $ac_link) 2>&5
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); } &&
27696 { ac_try='test -s conftest$ac_exeext'
27697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27698 (eval $ac_try) 2>&5
27700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701 (exit $ac_status); }; }; then
27702 eval "$as_ac_var=yes"
27704 echo "$as_me: failed program was:" >&5
27705 sed 's/^/| /' conftest.$ac_ext >&5
27707 eval "$as_ac_var=no"
27709 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27713 if test `eval echo '${'$as_ac_var'}'` = yes; then
27714 cat >>confdefs.h <<_ACEOF
27715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27723 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
27724 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
27725 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
27726 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6
27733 ac_cpp='$CXXCPP $CPPFLAGS'
27734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27738 cat >conftest.$ac_ext <<_ACEOF
27739 #line $LINENO "configure"
27742 cat confdefs.h >>conftest.$ac_ext
27743 cat >>conftest.$ac_ext <<_ACEOF
27744 /* end confdefs.h. */
27746 #ifdef HAVE_IEEEFP_H
27747 #include <ieeefp.h>
27758 rm -f conftest.$ac_objext
27759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27760 (eval $ac_compile) 2>&5
27762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763 (exit $ac_status); } &&
27764 { ac_try='test -s conftest.$ac_objext'
27765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27766 (eval $ac_try) 2>&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); }; }; then
27770 glibcxx_cv_func__isnanl_use=yes
27772 echo "$as_me: failed program was:" >&5
27773 sed 's/^/| /' conftest.$ac_ext >&5
27775 glibcxx_cv_func__isnanl_use=no
27777 rm -f conftest.$ac_objext conftest.$ac_ext
27779 ac_cpp='$CPP $CPPFLAGS'
27780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
27789 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
27791 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
27793 for ac_func in _isnanl
27795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27796 echo "$as_me:$LINENO: checking for $ac_func" >&5
27797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27798 if eval "test \"\${$as_ac_var+set}\" = set"; then
27799 echo $ECHO_N "(cached) $ECHO_C" >&6
27801 cat >conftest.$ac_ext <<_ACEOF
27802 #line $LINENO "configure"
27805 cat confdefs.h >>conftest.$ac_ext
27806 cat >>conftest.$ac_ext <<_ACEOF
27807 /* end confdefs.h. */
27808 /* System header to define __stub macros and hopefully few prototypes,
27809 which can conflict with char $ac_func (); below.
27810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27811 <limits.h> exists even on freestanding compilers. */
27813 # include <limits.h>
27815 # include <assert.h>
27817 /* Override any gcc2 internal prototype to avoid an error. */
27822 /* We use char because int might match the return type of a gcc2
27823 builtin and then its argument prototype would still apply. */
27825 /* The GNU C library defines this for functions which it implements
27826 to always fail with ENOSYS. Some functions are actually named
27827 something starting with __ and the normal name is an alias. */
27828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27831 char (*f) () = $ac_func;
27840 return f != $ac_func;
27845 rm -f conftest.$ac_objext conftest$ac_exeext
27846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27847 (eval $ac_link) 2>&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); } &&
27851 { ac_try='test -s conftest$ac_exeext'
27852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27853 (eval $ac_try) 2>&5
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); }; }; then
27857 eval "$as_ac_var=yes"
27859 echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27862 eval "$as_ac_var=no"
27864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27868 if test `eval echo '${'$as_ac_var'}'` = yes; then
27869 cat >>confdefs.h <<_ACEOF
27870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27881 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
27882 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
27883 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
27884 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
27885 echo $ECHO_N "(cached) $ECHO_C" >&6
27891 ac_cpp='$CXXCPP $CPPFLAGS'
27892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27896 cat >conftest.$ac_ext <<_ACEOF
27897 #line $LINENO "configure"
27900 cat confdefs.h >>conftest.$ac_ext
27901 cat >>conftest.$ac_ext <<_ACEOF
27902 /* end confdefs.h. */
27904 #ifdef HAVE_IEEEFP_H
27905 #include <ieeefp.h>
27916 rm -f conftest.$ac_objext
27917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27918 (eval $ac_compile) 2>&5
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); } &&
27922 { ac_try='test -s conftest.$ac_objext'
27923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27924 (eval $ac_try) 2>&5
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); }; }; then
27928 glibcxx_cv_func_isinfl_use=yes
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.$ac_ext >&5
27933 glibcxx_cv_func_isinfl_use=no
27935 rm -f conftest.$ac_objext conftest.$ac_ext
27937 ac_cpp='$CPP $CPPFLAGS'
27938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
27947 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
27949 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
27951 for ac_func in isinfl
27953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27954 echo "$as_me:$LINENO: checking for $ac_func" >&5
27955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27956 if eval "test \"\${$as_ac_var+set}\" = set"; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27959 cat >conftest.$ac_ext <<_ACEOF
27960 #line $LINENO "configure"
27963 cat confdefs.h >>conftest.$ac_ext
27964 cat >>conftest.$ac_ext <<_ACEOF
27965 /* end confdefs.h. */
27966 /* System header to define __stub macros and hopefully few prototypes,
27967 which can conflict with char $ac_func (); below.
27968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27969 <limits.h> exists even on freestanding compilers. */
27971 # include <limits.h>
27973 # include <assert.h>
27975 /* Override any gcc2 internal prototype to avoid an error. */
27980 /* We use char because int might match the return type of a gcc2
27981 builtin and then its argument prototype would still apply. */
27983 /* The GNU C library defines this for functions which it implements
27984 to always fail with ENOSYS. Some functions are actually named
27985 something starting with __ and the normal name is an alias. */
27986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27989 char (*f) () = $ac_func;
27998 return f != $ac_func;
28003 rm -f conftest.$ac_objext conftest$ac_exeext
28004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28005 (eval $ac_link) 2>&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); } &&
28009 { ac_try='test -s conftest$ac_exeext'
28010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28011 (eval $ac_try) 2>&5
28013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28014 (exit $ac_status); }; }; then
28015 eval "$as_ac_var=yes"
28017 echo "$as_me: failed program was:" >&5
28018 sed 's/^/| /' conftest.$ac_ext >&5
28020 eval "$as_ac_var=no"
28022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28026 if test `eval echo '${'$as_ac_var'}'` = yes; then
28027 cat >>confdefs.h <<_ACEOF
28028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28036 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
28037 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
28038 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
28039 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
28040 echo $ECHO_N "(cached) $ECHO_C" >&6
28046 ac_cpp='$CXXCPP $CPPFLAGS'
28047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28051 cat >conftest.$ac_ext <<_ACEOF
28052 #line $LINENO "configure"
28055 cat confdefs.h >>conftest.$ac_ext
28056 cat >>conftest.$ac_ext <<_ACEOF
28057 /* end confdefs.h. */
28059 #ifdef HAVE_IEEEFP_H
28060 #include <ieeefp.h>
28071 rm -f conftest.$ac_objext
28072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28073 (eval $ac_compile) 2>&5
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); } &&
28077 { ac_try='test -s conftest.$ac_objext'
28078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28079 (eval $ac_try) 2>&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); }; }; then
28083 glibcxx_cv_func__isinfl_use=yes
28085 echo "$as_me: failed program was:" >&5
28086 sed 's/^/| /' conftest.$ac_ext >&5
28088 glibcxx_cv_func__isinfl_use=no
28090 rm -f conftest.$ac_objext conftest.$ac_ext
28092 ac_cpp='$CPP $CPPFLAGS'
28093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28101 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
28102 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
28104 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
28106 for ac_func in _isinfl
28108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28109 echo "$as_me:$LINENO: checking for $ac_func" >&5
28110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28111 if eval "test \"\${$as_ac_var+set}\" = set"; then
28112 echo $ECHO_N "(cached) $ECHO_C" >&6
28114 cat >conftest.$ac_ext <<_ACEOF
28115 #line $LINENO "configure"
28118 cat confdefs.h >>conftest.$ac_ext
28119 cat >>conftest.$ac_ext <<_ACEOF
28120 /* end confdefs.h. */
28121 /* System header to define __stub macros and hopefully few prototypes,
28122 which can conflict with char $ac_func (); below.
28123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28124 <limits.h> exists even on freestanding compilers. */
28126 # include <limits.h>
28128 # include <assert.h>
28130 /* Override any gcc2 internal prototype to avoid an error. */
28135 /* We use char because int might match the return type of a gcc2
28136 builtin and then its argument prototype would still apply. */
28138 /* The GNU C library defines this for functions which it implements
28139 to always fail with ENOSYS. Some functions are actually named
28140 something starting with __ and the normal name is an alias. */
28141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28144 char (*f) () = $ac_func;
28153 return f != $ac_func;
28158 rm -f conftest.$ac_objext conftest$ac_exeext
28159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28160 (eval $ac_link) 2>&5
28162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28163 (exit $ac_status); } &&
28164 { ac_try='test -s conftest$ac_exeext'
28165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28166 (eval $ac_try) 2>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); }; }; then
28170 eval "$as_ac_var=yes"
28172 echo "$as_me: failed program was:" >&5
28173 sed 's/^/| /' conftest.$ac_ext >&5
28175 eval "$as_ac_var=no"
28177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28181 if test `eval echo '${'$as_ac_var'}'` = yes; then
28182 cat >>confdefs.h <<_ACEOF
28183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28194 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
28195 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
28196 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
28197 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
28198 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 ac_cpp='$CXXCPP $CPPFLAGS'
28205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28209 cat >conftest.$ac_ext <<_ACEOF
28210 #line $LINENO "configure"
28213 cat confdefs.h >>conftest.$ac_ext
28214 cat >>conftest.$ac_ext <<_ACEOF
28215 /* end confdefs.h. */
28225 rm -f conftest.$ac_objext
28226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28227 (eval $ac_compile) 2>&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } &&
28231 { ac_try='test -s conftest.$ac_objext'
28232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 (eval $ac_try) 2>&5
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; }; then
28237 glibcxx_cv_func_copysignl_use=yes
28239 echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.$ac_ext >&5
28242 glibcxx_cv_func_copysignl_use=no
28244 rm -f conftest.$ac_objext conftest.$ac_ext
28246 ac_cpp='$CPP $CPPFLAGS'
28247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
28256 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
28258 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
28260 for ac_func in copysignl
28262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28263 echo "$as_me:$LINENO: checking for $ac_func" >&5
28264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28265 if eval "test \"\${$as_ac_var+set}\" = set"; then
28266 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 cat >conftest.$ac_ext <<_ACEOF
28269 #line $LINENO "configure"
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275 /* System header to define __stub macros and hopefully few prototypes,
28276 which can conflict with char $ac_func (); below.
28277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28278 <limits.h> exists even on freestanding compilers. */
28280 # include <limits.h>
28282 # include <assert.h>
28284 /* Override any gcc2 internal prototype to avoid an error. */
28289 /* We use char because int might match the return type of a gcc2
28290 builtin and then its argument prototype would still apply. */
28292 /* The GNU C library defines this for functions which it implements
28293 to always fail with ENOSYS. Some functions are actually named
28294 something starting with __ and the normal name is an alias. */
28295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28298 char (*f) () = $ac_func;
28307 return f != $ac_func;
28312 rm -f conftest.$ac_objext conftest$ac_exeext
28313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28314 (eval $ac_link) 2>&5
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); } &&
28318 { ac_try='test -s conftest$ac_exeext'
28319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28320 (eval $ac_try) 2>&5
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); }; }; then
28324 eval "$as_ac_var=yes"
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.$ac_ext >&5
28329 eval "$as_ac_var=no"
28331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28335 if test `eval echo '${'$as_ac_var'}'` = yes; then
28336 cat >>confdefs.h <<_ACEOF
28337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28345 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
28346 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
28347 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
28348 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
28349 echo $ECHO_N "(cached) $ECHO_C" >&6
28355 ac_cpp='$CXXCPP $CPPFLAGS'
28356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28360 cat >conftest.$ac_ext <<_ACEOF
28361 #line $LINENO "configure"
28364 cat confdefs.h >>conftest.$ac_ext
28365 cat >>conftest.$ac_ext <<_ACEOF
28366 /* end confdefs.h. */
28376 rm -f conftest.$ac_objext
28377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28378 (eval $ac_compile) 2>&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); } &&
28382 { ac_try='test -s conftest.$ac_objext'
28383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28384 (eval $ac_try) 2>&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); }; }; then
28388 glibcxx_cv_func__copysignl_use=yes
28390 echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.$ac_ext >&5
28393 glibcxx_cv_func__copysignl_use=no
28395 rm -f conftest.$ac_objext conftest.$ac_ext
28397 ac_cpp='$CPP $CPPFLAGS'
28398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
28407 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
28409 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
28411 for ac_func in _copysignl
28413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28414 echo "$as_me:$LINENO: checking for $ac_func" >&5
28415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28416 if eval "test \"\${$as_ac_var+set}\" = set"; then
28417 echo $ECHO_N "(cached) $ECHO_C" >&6
28419 cat >conftest.$ac_ext <<_ACEOF
28420 #line $LINENO "configure"
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28426 /* System header to define __stub macros and hopefully few prototypes,
28427 which can conflict with char $ac_func (); below.
28428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28429 <limits.h> exists even on freestanding compilers. */
28431 # include <limits.h>
28433 # include <assert.h>
28435 /* Override any gcc2 internal prototype to avoid an error. */
28440 /* We use char because int might match the return type of a gcc2
28441 builtin and then its argument prototype would still apply. */
28443 /* The GNU C library defines this for functions which it implements
28444 to always fail with ENOSYS. Some functions are actually named
28445 something starting with __ and the normal name is an alias. */
28446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28449 char (*f) () = $ac_func;
28458 return f != $ac_func;
28463 rm -f conftest.$ac_objext conftest$ac_exeext
28464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28465 (eval $ac_link) 2>&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); } &&
28469 { ac_try='test -s conftest$ac_exeext'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; }; then
28475 eval "$as_ac_var=yes"
28477 echo "$as_me: failed program was:" >&5
28478 sed 's/^/| /' conftest.$ac_ext >&5
28480 eval "$as_ac_var=no"
28482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28486 if test `eval echo '${'$as_ac_var'}'` = yes; then
28487 cat >>confdefs.h <<_ACEOF
28488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28499 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
28500 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
28501 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
28502 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
28503 echo $ECHO_N "(cached) $ECHO_C" >&6
28509 ac_cpp='$CXXCPP $CPPFLAGS'
28510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28514 cat >conftest.$ac_ext <<_ACEOF
28515 #line $LINENO "configure"
28518 cat confdefs.h >>conftest.$ac_ext
28519 cat >>conftest.$ac_ext <<_ACEOF
28520 /* end confdefs.h. */
28530 rm -f conftest.$ac_objext
28531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28532 (eval $ac_compile) 2>&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } &&
28536 { ac_try='test -s conftest.$ac_objext'
28537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28538 (eval $ac_try) 2>&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; }; then
28542 glibcxx_cv_func_atan2l_use=yes
28544 echo "$as_me: failed program was:" >&5
28545 sed 's/^/| /' conftest.$ac_ext >&5
28547 glibcxx_cv_func_atan2l_use=no
28549 rm -f conftest.$ac_objext conftest.$ac_ext
28551 ac_cpp='$CPP $CPPFLAGS'
28552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
28561 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
28563 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
28565 for ac_func in atan2l
28567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28568 echo "$as_me:$LINENO: checking for $ac_func" >&5
28569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28570 if eval "test \"\${$as_ac_var+set}\" = set"; then
28571 echo $ECHO_N "(cached) $ECHO_C" >&6
28573 cat >conftest.$ac_ext <<_ACEOF
28574 #line $LINENO "configure"
28577 cat confdefs.h >>conftest.$ac_ext
28578 cat >>conftest.$ac_ext <<_ACEOF
28579 /* end confdefs.h. */
28580 /* System header to define __stub macros and hopefully few prototypes,
28581 which can conflict with char $ac_func (); below.
28582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28583 <limits.h> exists even on freestanding compilers. */
28585 # include <limits.h>
28587 # include <assert.h>
28589 /* Override any gcc2 internal prototype to avoid an error. */
28594 /* We use char because int might match the return type of a gcc2
28595 builtin and then its argument prototype would still apply. */
28597 /* The GNU C library defines this for functions which it implements
28598 to always fail with ENOSYS. Some functions are actually named
28599 something starting with __ and the normal name is an alias. */
28600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28603 char (*f) () = $ac_func;
28612 return f != $ac_func;
28617 rm -f conftest.$ac_objext conftest$ac_exeext
28618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28619 (eval $ac_link) 2>&5
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); } &&
28623 { ac_try='test -s conftest$ac_exeext'
28624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28625 (eval $ac_try) 2>&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); }; }; then
28629 eval "$as_ac_var=yes"
28631 echo "$as_me: failed program was:" >&5
28632 sed 's/^/| /' conftest.$ac_ext >&5
28634 eval "$as_ac_var=no"
28636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28640 if test `eval echo '${'$as_ac_var'}'` = yes; then
28641 cat >>confdefs.h <<_ACEOF
28642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28650 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
28651 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
28652 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
28653 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
28654 echo $ECHO_N "(cached) $ECHO_C" >&6
28660 ac_cpp='$CXXCPP $CPPFLAGS'
28661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28665 cat >conftest.$ac_ext <<_ACEOF
28666 #line $LINENO "configure"
28669 cat confdefs.h >>conftest.$ac_ext
28670 cat >>conftest.$ac_ext <<_ACEOF
28671 /* end confdefs.h. */
28681 rm -f conftest.$ac_objext
28682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28683 (eval $ac_compile) 2>&5
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); } &&
28687 { ac_try='test -s conftest.$ac_objext'
28688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689 (eval $ac_try) 2>&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); }; }; then
28693 glibcxx_cv_func__atan2l_use=yes
28695 echo "$as_me: failed program was:" >&5
28696 sed 's/^/| /' conftest.$ac_ext >&5
28698 glibcxx_cv_func__atan2l_use=no
28700 rm -f conftest.$ac_objext conftest.$ac_ext
28702 ac_cpp='$CPP $CPPFLAGS'
28703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
28712 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
28714 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
28716 for ac_func in _atan2l
28718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28719 echo "$as_me:$LINENO: checking for $ac_func" >&5
28720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28721 if eval "test \"\${$as_ac_var+set}\" = set"; then
28722 echo $ECHO_N "(cached) $ECHO_C" >&6
28724 cat >conftest.$ac_ext <<_ACEOF
28725 #line $LINENO "configure"
28728 cat confdefs.h >>conftest.$ac_ext
28729 cat >>conftest.$ac_ext <<_ACEOF
28730 /* end confdefs.h. */
28731 /* System header to define __stub macros and hopefully few prototypes,
28732 which can conflict with char $ac_func (); below.
28733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28734 <limits.h> exists even on freestanding compilers. */
28736 # include <limits.h>
28738 # include <assert.h>
28740 /* Override any gcc2 internal prototype to avoid an error. */
28745 /* We use char because int might match the return type of a gcc2
28746 builtin and then its argument prototype would still apply. */
28748 /* The GNU C library defines this for functions which it implements
28749 to always fail with ENOSYS. Some functions are actually named
28750 something starting with __ and the normal name is an alias. */
28751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28754 char (*f) () = $ac_func;
28763 return f != $ac_func;
28768 rm -f conftest.$ac_objext conftest$ac_exeext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28770 (eval $ac_link) 2>&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -s conftest$ac_exeext'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; }; then
28780 eval "$as_ac_var=yes"
28782 echo "$as_me: failed program was:" >&5
28783 sed 's/^/| /' conftest.$ac_ext >&5
28785 eval "$as_ac_var=no"
28787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28791 if test `eval echo '${'$as_ac_var'}'` = yes; then
28792 cat >>confdefs.h <<_ACEOF
28793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28804 echo "$as_me:$LINENO: checking for expl declaration" >&5
28805 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
28806 if test x${glibcxx_cv_func_expl_use+set} != xset; then
28807 if test "${glibcxx_cv_func_expl_use+set}" = set; then
28808 echo $ECHO_N "(cached) $ECHO_C" >&6
28814 ac_cpp='$CXXCPP $CPPFLAGS'
28815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28819 cat >conftest.$ac_ext <<_ACEOF
28820 #line $LINENO "configure"
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h. */
28827 #ifdef HAVE_IEEEFP_H
28828 #include <ieeefp.h>
28839 rm -f conftest.$ac_objext
28840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28841 (eval $ac_compile) 2>&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -s conftest.$ac_objext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 glibcxx_cv_func_expl_use=yes
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28856 glibcxx_cv_func_expl_use=no
28858 rm -f conftest.$ac_objext conftest.$ac_ext
28860 ac_cpp='$CPP $CPPFLAGS'
28861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
28870 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
28872 if test x$glibcxx_cv_func_expl_use = x"yes"; then
28874 for ac_func in expl
28876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28877 echo "$as_me:$LINENO: checking for $ac_func" >&5
28878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28879 if eval "test \"\${$as_ac_var+set}\" = set"; then
28880 echo $ECHO_N "(cached) $ECHO_C" >&6
28882 cat >conftest.$ac_ext <<_ACEOF
28883 #line $LINENO "configure"
28886 cat confdefs.h >>conftest.$ac_ext
28887 cat >>conftest.$ac_ext <<_ACEOF
28888 /* end confdefs.h. */
28889 /* System header to define __stub macros and hopefully few prototypes,
28890 which can conflict with char $ac_func (); below.
28891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28892 <limits.h> exists even on freestanding compilers. */
28894 # include <limits.h>
28896 # include <assert.h>
28898 /* Override any gcc2 internal prototype to avoid an error. */
28903 /* We use char because int might match the return type of a gcc2
28904 builtin and then its argument prototype would still apply. */
28906 /* The GNU C library defines this for functions which it implements
28907 to always fail with ENOSYS. Some functions are actually named
28908 something starting with __ and the normal name is an alias. */
28909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28912 char (*f) () = $ac_func;
28921 return f != $ac_func;
28926 rm -f conftest.$ac_objext conftest$ac_exeext
28927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28928 (eval $ac_link) 2>&5
28930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931 (exit $ac_status); } &&
28932 { ac_try='test -s conftest$ac_exeext'
28933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28934 (eval $ac_try) 2>&5
28936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28937 (exit $ac_status); }; }; then
28938 eval "$as_ac_var=yes"
28940 echo "$as_me: failed program was:" >&5
28941 sed 's/^/| /' conftest.$ac_ext >&5
28943 eval "$as_ac_var=no"
28945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28949 if test `eval echo '${'$as_ac_var'}'` = yes; then
28950 cat >>confdefs.h <<_ACEOF
28951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28959 echo "$as_me:$LINENO: checking for _expl declaration" >&5
28960 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
28961 if test x${glibcxx_cv_func__expl_use+set} != xset; then
28962 if test "${glibcxx_cv_func__expl_use+set}" = set; then
28963 echo $ECHO_N "(cached) $ECHO_C" >&6
28969 ac_cpp='$CXXCPP $CPPFLAGS'
28970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28974 cat >conftest.$ac_ext <<_ACEOF
28975 #line $LINENO "configure"
28978 cat confdefs.h >>conftest.$ac_ext
28979 cat >>conftest.$ac_ext <<_ACEOF
28980 /* end confdefs.h. */
28982 #ifdef HAVE_IEEEFP_H
28983 #include <ieeefp.h>
28994 rm -f conftest.$ac_objext
28995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28996 (eval $ac_compile) 2>&5
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); } &&
29000 { ac_try='test -s conftest.$ac_objext'
29001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29002 (eval $ac_try) 2>&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); }; }; then
29006 glibcxx_cv_func__expl_use=yes
29008 echo "$as_me: failed program was:" >&5
29009 sed 's/^/| /' conftest.$ac_ext >&5
29011 glibcxx_cv_func__expl_use=no
29013 rm -f conftest.$ac_objext conftest.$ac_ext
29015 ac_cpp='$CPP $CPPFLAGS'
29016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29024 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
29025 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
29027 if test x$glibcxx_cv_func__expl_use = x"yes"; then
29029 for ac_func in _expl
29031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29032 echo "$as_me:$LINENO: checking for $ac_func" >&5
29033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29034 if eval "test \"\${$as_ac_var+set}\" = set"; then
29035 echo $ECHO_N "(cached) $ECHO_C" >&6
29037 cat >conftest.$ac_ext <<_ACEOF
29038 #line $LINENO "configure"
29041 cat confdefs.h >>conftest.$ac_ext
29042 cat >>conftest.$ac_ext <<_ACEOF
29043 /* end confdefs.h. */
29044 /* System header to define __stub macros and hopefully few prototypes,
29045 which can conflict with char $ac_func (); below.
29046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29047 <limits.h> exists even on freestanding compilers. */
29049 # include <limits.h>
29051 # include <assert.h>
29053 /* Override any gcc2 internal prototype to avoid an error. */
29058 /* We use char because int might match the return type of a gcc2
29059 builtin and then its argument prototype would still apply. */
29061 /* The GNU C library defines this for functions which it implements
29062 to always fail with ENOSYS. Some functions are actually named
29063 something starting with __ and the normal name is an alias. */
29064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29067 char (*f) () = $ac_func;
29076 return f != $ac_func;
29081 rm -f conftest.$ac_objext conftest$ac_exeext
29082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29083 (eval $ac_link) 2>&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); } &&
29087 { ac_try='test -s conftest$ac_exeext'
29088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29089 (eval $ac_try) 2>&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; }; then
29093 eval "$as_ac_var=yes"
29095 echo "$as_me: failed program was:" >&5
29096 sed 's/^/| /' conftest.$ac_ext >&5
29098 eval "$as_ac_var=no"
29100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29104 if test `eval echo '${'$as_ac_var'}'` = yes; then
29105 cat >>confdefs.h <<_ACEOF
29106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29117 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
29118 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
29119 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
29120 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
29121 echo $ECHO_N "(cached) $ECHO_C" >&6
29127 ac_cpp='$CXXCPP $CPPFLAGS'
29128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29132 cat >conftest.$ac_ext <<_ACEOF
29133 #line $LINENO "configure"
29136 cat confdefs.h >>conftest.$ac_ext
29137 cat >>conftest.$ac_ext <<_ACEOF
29138 /* end confdefs.h. */
29140 #ifdef HAVE_IEEEFP_H
29141 #include <ieeefp.h>
29152 rm -f conftest.$ac_objext
29153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29154 (eval $ac_compile) 2>&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } &&
29158 { ac_try='test -s conftest.$ac_objext'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; }; then
29164 glibcxx_cv_func_fabsl_use=yes
29166 echo "$as_me: failed program was:" >&5
29167 sed 's/^/| /' conftest.$ac_ext >&5
29169 glibcxx_cv_func_fabsl_use=no
29171 rm -f conftest.$ac_objext conftest.$ac_ext
29173 ac_cpp='$CPP $CPPFLAGS'
29174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
29183 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
29185 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
29187 for ac_func in fabsl
29189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29190 echo "$as_me:$LINENO: checking for $ac_func" >&5
29191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29192 if eval "test \"\${$as_ac_var+set}\" = set"; then
29193 echo $ECHO_N "(cached) $ECHO_C" >&6
29195 cat >conftest.$ac_ext <<_ACEOF
29196 #line $LINENO "configure"
29199 cat confdefs.h >>conftest.$ac_ext
29200 cat >>conftest.$ac_ext <<_ACEOF
29201 /* end confdefs.h. */
29202 /* System header to define __stub macros and hopefully few prototypes,
29203 which can conflict with char $ac_func (); below.
29204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29205 <limits.h> exists even on freestanding compilers. */
29207 # include <limits.h>
29209 # include <assert.h>
29211 /* Override any gcc2 internal prototype to avoid an error. */
29216 /* We use char because int might match the return type of a gcc2
29217 builtin and then its argument prototype would still apply. */
29219 /* The GNU C library defines this for functions which it implements
29220 to always fail with ENOSYS. Some functions are actually named
29221 something starting with __ and the normal name is an alias. */
29222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29225 char (*f) () = $ac_func;
29234 return f != $ac_func;
29239 rm -f conftest.$ac_objext conftest$ac_exeext
29240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29241 (eval $ac_link) 2>&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); } &&
29245 { ac_try='test -s conftest$ac_exeext'
29246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29247 (eval $ac_try) 2>&5
29249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250 (exit $ac_status); }; }; then
29251 eval "$as_ac_var=yes"
29253 echo "$as_me: failed program was:" >&5
29254 sed 's/^/| /' conftest.$ac_ext >&5
29256 eval "$as_ac_var=no"
29258 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29262 if test `eval echo '${'$as_ac_var'}'` = yes; then
29263 cat >>confdefs.h <<_ACEOF
29264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29272 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
29273 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
29274 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
29275 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
29276 echo $ECHO_N "(cached) $ECHO_C" >&6
29282 ac_cpp='$CXXCPP $CPPFLAGS'
29283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29287 cat >conftest.$ac_ext <<_ACEOF
29288 #line $LINENO "configure"
29291 cat confdefs.h >>conftest.$ac_ext
29292 cat >>conftest.$ac_ext <<_ACEOF
29293 /* end confdefs.h. */
29295 #ifdef HAVE_IEEEFP_H
29296 #include <ieeefp.h>
29307 rm -f conftest.$ac_objext
29308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29309 (eval $ac_compile) 2>&5
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); } &&
29313 { ac_try='test -s conftest.$ac_objext'
29314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29315 (eval $ac_try) 2>&5
29317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318 (exit $ac_status); }; }; then
29319 glibcxx_cv_func__fabsl_use=yes
29321 echo "$as_me: failed program was:" >&5
29322 sed 's/^/| /' conftest.$ac_ext >&5
29324 glibcxx_cv_func__fabsl_use=no
29326 rm -f conftest.$ac_objext conftest.$ac_ext
29328 ac_cpp='$CPP $CPPFLAGS'
29329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
29338 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
29340 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
29342 for ac_func in _fabsl
29344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29345 echo "$as_me:$LINENO: checking for $ac_func" >&5
29346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29347 if eval "test \"\${$as_ac_var+set}\" = set"; then
29348 echo $ECHO_N "(cached) $ECHO_C" >&6
29350 cat >conftest.$ac_ext <<_ACEOF
29351 #line $LINENO "configure"
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29357 /* System header to define __stub macros and hopefully few prototypes,
29358 which can conflict with char $ac_func (); below.
29359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29360 <limits.h> exists even on freestanding compilers. */
29362 # include <limits.h>
29364 # include <assert.h>
29366 /* Override any gcc2 internal prototype to avoid an error. */
29371 /* We use char because int might match the return type of a gcc2
29372 builtin and then its argument prototype would still apply. */
29374 /* The GNU C library defines this for functions which it implements
29375 to always fail with ENOSYS. Some functions are actually named
29376 something starting with __ and the normal name is an alias. */
29377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29380 char (*f) () = $ac_func;
29389 return f != $ac_func;
29394 rm -f conftest.$ac_objext conftest$ac_exeext
29395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29396 (eval $ac_link) 2>&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } &&
29400 { ac_try='test -s conftest$ac_exeext'
29401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29402 (eval $ac_try) 2>&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); }; }; then
29406 eval "$as_ac_var=yes"
29408 echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.$ac_ext >&5
29411 eval "$as_ac_var=no"
29413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29417 if test `eval echo '${'$as_ac_var'}'` = yes; then
29418 cat >>confdefs.h <<_ACEOF
29419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29430 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
29431 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
29432 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
29433 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 ac_cpp='$CXXCPP $CPPFLAGS'
29441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29445 cat >conftest.$ac_ext <<_ACEOF
29446 #line $LINENO "configure"
29449 cat confdefs.h >>conftest.$ac_ext
29450 cat >>conftest.$ac_ext <<_ACEOF
29451 /* end confdefs.h. */
29461 rm -f conftest.$ac_objext
29462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29463 (eval $ac_compile) 2>&5
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); } &&
29467 { ac_try='test -s conftest.$ac_objext'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; }; then
29473 glibcxx_cv_func_fmodl_use=yes
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.$ac_ext >&5
29478 glibcxx_cv_func_fmodl_use=no
29480 rm -f conftest.$ac_objext conftest.$ac_ext
29482 ac_cpp='$CPP $CPPFLAGS'
29483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29491 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
29492 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
29494 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
29496 for ac_func in fmodl
29498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29499 echo "$as_me:$LINENO: checking for $ac_func" >&5
29500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29501 if eval "test \"\${$as_ac_var+set}\" = set"; then
29502 echo $ECHO_N "(cached) $ECHO_C" >&6
29504 cat >conftest.$ac_ext <<_ACEOF
29505 #line $LINENO "configure"
29508 cat confdefs.h >>conftest.$ac_ext
29509 cat >>conftest.$ac_ext <<_ACEOF
29510 /* end confdefs.h. */
29511 /* System header to define __stub macros and hopefully few prototypes,
29512 which can conflict with char $ac_func (); below.
29513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29514 <limits.h> exists even on freestanding compilers. */
29516 # include <limits.h>
29518 # include <assert.h>
29520 /* Override any gcc2 internal prototype to avoid an error. */
29525 /* We use char because int might match the return type of a gcc2
29526 builtin and then its argument prototype would still apply. */
29528 /* The GNU C library defines this for functions which it implements
29529 to always fail with ENOSYS. Some functions are actually named
29530 something starting with __ and the normal name is an alias. */
29531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29534 char (*f) () = $ac_func;
29543 return f != $ac_func;
29548 rm -f conftest.$ac_objext conftest$ac_exeext
29549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29550 (eval $ac_link) 2>&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); } &&
29554 { ac_try='test -s conftest$ac_exeext'
29555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29556 (eval $ac_try) 2>&5
29558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559 (exit $ac_status); }; }; then
29560 eval "$as_ac_var=yes"
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29565 eval "$as_ac_var=no"
29567 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29571 if test `eval echo '${'$as_ac_var'}'` = yes; then
29572 cat >>confdefs.h <<_ACEOF
29573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29581 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
29582 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
29583 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
29584 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
29585 echo $ECHO_N "(cached) $ECHO_C" >&6
29591 ac_cpp='$CXXCPP $CPPFLAGS'
29592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29596 cat >conftest.$ac_ext <<_ACEOF
29597 #line $LINENO "configure"
29600 cat confdefs.h >>conftest.$ac_ext
29601 cat >>conftest.$ac_ext <<_ACEOF
29602 /* end confdefs.h. */
29612 rm -f conftest.$ac_objext
29613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29614 (eval $ac_compile) 2>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); } &&
29618 { ac_try='test -s conftest.$ac_objext'
29619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29620 (eval $ac_try) 2>&5
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); }; }; then
29624 glibcxx_cv_func__fmodl_use=yes
29626 echo "$as_me: failed program was:" >&5
29627 sed 's/^/| /' conftest.$ac_ext >&5
29629 glibcxx_cv_func__fmodl_use=no
29631 rm -f conftest.$ac_objext conftest.$ac_ext
29633 ac_cpp='$CPP $CPPFLAGS'
29634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
29643 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
29645 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
29647 for ac_func in _fmodl
29649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29650 echo "$as_me:$LINENO: checking for $ac_func" >&5
29651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29652 if eval "test \"\${$as_ac_var+set}\" = set"; then
29653 echo $ECHO_N "(cached) $ECHO_C" >&6
29655 cat >conftest.$ac_ext <<_ACEOF
29656 #line $LINENO "configure"
29659 cat confdefs.h >>conftest.$ac_ext
29660 cat >>conftest.$ac_ext <<_ACEOF
29661 /* end confdefs.h. */
29662 /* System header to define __stub macros and hopefully few prototypes,
29663 which can conflict with char $ac_func (); below.
29664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29665 <limits.h> exists even on freestanding compilers. */
29667 # include <limits.h>
29669 # include <assert.h>
29671 /* Override any gcc2 internal prototype to avoid an error. */
29676 /* We use char because int might match the return type of a gcc2
29677 builtin and then its argument prototype would still apply. */
29679 /* The GNU C library defines this for functions which it implements
29680 to always fail with ENOSYS. Some functions are actually named
29681 something starting with __ and the normal name is an alias. */
29682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29685 char (*f) () = $ac_func;
29694 return f != $ac_func;
29699 rm -f conftest.$ac_objext conftest$ac_exeext
29700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29701 (eval $ac_link) 2>&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); } &&
29705 { ac_try='test -s conftest$ac_exeext'
29706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29707 (eval $ac_try) 2>&5
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); }; }; then
29711 eval "$as_ac_var=yes"
29713 echo "$as_me: failed program was:" >&5
29714 sed 's/^/| /' conftest.$ac_ext >&5
29716 eval "$as_ac_var=no"
29718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29722 if test `eval echo '${'$as_ac_var'}'` = yes; then
29723 cat >>confdefs.h <<_ACEOF
29724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29735 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
29736 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
29737 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
29738 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
29739 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 ac_cpp='$CXXCPP $CPPFLAGS'
29746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29750 cat >conftest.$ac_ext <<_ACEOF
29751 #line $LINENO "configure"
29754 cat confdefs.h >>conftest.$ac_ext
29755 cat >>conftest.$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29766 rm -f conftest.$ac_objext
29767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29768 (eval $ac_compile) 2>&5
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); } &&
29772 { ac_try='test -s conftest.$ac_objext'
29773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 (eval $ac_try) 2>&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); }; }; then
29778 glibcxx_cv_func_frexpl_use=yes
29780 echo "$as_me: failed program was:" >&5
29781 sed 's/^/| /' conftest.$ac_ext >&5
29783 glibcxx_cv_func_frexpl_use=no
29785 rm -f conftest.$ac_objext conftest.$ac_ext
29787 ac_cpp='$CPP $CPPFLAGS'
29788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29796 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
29797 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
29799 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
29801 for ac_func in frexpl
29803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29804 echo "$as_me:$LINENO: checking for $ac_func" >&5
29805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29806 if eval "test \"\${$as_ac_var+set}\" = set"; then
29807 echo $ECHO_N "(cached) $ECHO_C" >&6
29809 cat >conftest.$ac_ext <<_ACEOF
29810 #line $LINENO "configure"
29813 cat confdefs.h >>conftest.$ac_ext
29814 cat >>conftest.$ac_ext <<_ACEOF
29815 /* end confdefs.h. */
29816 /* System header to define __stub macros and hopefully few prototypes,
29817 which can conflict with char $ac_func (); below.
29818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29819 <limits.h> exists even on freestanding compilers. */
29821 # include <limits.h>
29823 # include <assert.h>
29825 /* Override any gcc2 internal prototype to avoid an error. */
29830 /* We use char because int might match the return type of a gcc2
29831 builtin and then its argument prototype would still apply. */
29833 /* The GNU C library defines this for functions which it implements
29834 to always fail with ENOSYS. Some functions are actually named
29835 something starting with __ and the normal name is an alias. */
29836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29839 char (*f) () = $ac_func;
29848 return f != $ac_func;
29853 rm -f conftest.$ac_objext conftest$ac_exeext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29855 (eval $ac_link) 2>&5
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); } &&
29859 { ac_try='test -s conftest$ac_exeext'
29860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29861 (eval $ac_try) 2>&5
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); }; }; then
29865 eval "$as_ac_var=yes"
29867 echo "$as_me: failed program was:" >&5
29868 sed 's/^/| /' conftest.$ac_ext >&5
29870 eval "$as_ac_var=no"
29872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29876 if test `eval echo '${'$as_ac_var'}'` = yes; then
29877 cat >>confdefs.h <<_ACEOF
29878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29886 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
29887 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
29888 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
29889 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
29890 echo $ECHO_N "(cached) $ECHO_C" >&6
29896 ac_cpp='$CXXCPP $CPPFLAGS'
29897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29901 cat >conftest.$ac_ext <<_ACEOF
29902 #line $LINENO "configure"
29905 cat confdefs.h >>conftest.$ac_ext
29906 cat >>conftest.$ac_ext <<_ACEOF
29907 /* end confdefs.h. */
29917 rm -f conftest.$ac_objext
29918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29919 (eval $ac_compile) 2>&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } &&
29923 { ac_try='test -s conftest.$ac_objext'
29924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29925 (eval $ac_try) 2>&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); }; }; then
29929 glibcxx_cv_func__frexpl_use=yes
29931 echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.$ac_ext >&5
29934 glibcxx_cv_func__frexpl_use=no
29936 rm -f conftest.$ac_objext conftest.$ac_ext
29938 ac_cpp='$CPP $CPPFLAGS'
29939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
29948 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
29950 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
29952 for ac_func in _frexpl
29954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29955 echo "$as_me:$LINENO: checking for $ac_func" >&5
29956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29957 if eval "test \"\${$as_ac_var+set}\" = set"; then
29958 echo $ECHO_N "(cached) $ECHO_C" >&6
29960 cat >conftest.$ac_ext <<_ACEOF
29961 #line $LINENO "configure"
29964 cat confdefs.h >>conftest.$ac_ext
29965 cat >>conftest.$ac_ext <<_ACEOF
29966 /* end confdefs.h. */
29967 /* System header to define __stub macros and hopefully few prototypes,
29968 which can conflict with char $ac_func (); below.
29969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29970 <limits.h> exists even on freestanding compilers. */
29972 # include <limits.h>
29974 # include <assert.h>
29976 /* Override any gcc2 internal prototype to avoid an error. */
29981 /* We use char because int might match the return type of a gcc2
29982 builtin and then its argument prototype would still apply. */
29984 /* The GNU C library defines this for functions which it implements
29985 to always fail with ENOSYS. Some functions are actually named
29986 something starting with __ and the normal name is an alias. */
29987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29990 char (*f) () = $ac_func;
29999 return f != $ac_func;
30004 rm -f conftest.$ac_objext conftest$ac_exeext
30005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30006 (eval $ac_link) 2>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } &&
30010 { ac_try='test -s conftest$ac_exeext'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; }; then
30016 eval "$as_ac_var=yes"
30018 echo "$as_me: failed program was:" >&5
30019 sed 's/^/| /' conftest.$ac_ext >&5
30021 eval "$as_ac_var=no"
30023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30027 if test `eval echo '${'$as_ac_var'}'` = yes; then
30028 cat >>confdefs.h <<_ACEOF
30029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30040 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
30041 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
30042 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
30043 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
30044 echo $ECHO_N "(cached) $ECHO_C" >&6
30050 ac_cpp='$CXXCPP $CPPFLAGS'
30051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30055 cat >conftest.$ac_ext <<_ACEOF
30056 #line $LINENO "configure"
30059 cat confdefs.h >>conftest.$ac_ext
30060 cat >>conftest.$ac_ext <<_ACEOF
30061 /* end confdefs.h. */
30071 rm -f conftest.$ac_objext
30072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30073 (eval $ac_compile) 2>&5
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); } &&
30077 { ac_try='test -s conftest.$ac_objext'
30078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30079 (eval $ac_try) 2>&5
30081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30082 (exit $ac_status); }; }; then
30083 glibcxx_cv_func_hypotl_use=yes
30085 echo "$as_me: failed program was:" >&5
30086 sed 's/^/| /' conftest.$ac_ext >&5
30088 glibcxx_cv_func_hypotl_use=no
30090 rm -f conftest.$ac_objext conftest.$ac_ext
30092 ac_cpp='$CPP $CPPFLAGS'
30093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
30102 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
30104 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
30106 for ac_func in hypotl
30108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30109 echo "$as_me:$LINENO: checking for $ac_func" >&5
30110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30111 if eval "test \"\${$as_ac_var+set}\" = set"; then
30112 echo $ECHO_N "(cached) $ECHO_C" >&6
30114 cat >conftest.$ac_ext <<_ACEOF
30115 #line $LINENO "configure"
30118 cat confdefs.h >>conftest.$ac_ext
30119 cat >>conftest.$ac_ext <<_ACEOF
30120 /* end confdefs.h. */
30121 /* System header to define __stub macros and hopefully few prototypes,
30122 which can conflict with char $ac_func (); below.
30123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30124 <limits.h> exists even on freestanding compilers. */
30126 # include <limits.h>
30128 # include <assert.h>
30130 /* Override any gcc2 internal prototype to avoid an error. */
30135 /* We use char because int might match the return type of a gcc2
30136 builtin and then its argument prototype would still apply. */
30138 /* The GNU C library defines this for functions which it implements
30139 to always fail with ENOSYS. Some functions are actually named
30140 something starting with __ and the normal name is an alias. */
30141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30144 char (*f) () = $ac_func;
30153 return f != $ac_func;
30158 rm -f conftest.$ac_objext conftest$ac_exeext
30159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30160 (eval $ac_link) 2>&5
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); } &&
30164 { ac_try='test -s conftest$ac_exeext'
30165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30166 (eval $ac_try) 2>&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; }; then
30170 eval "$as_ac_var=yes"
30172 echo "$as_me: failed program was:" >&5
30173 sed 's/^/| /' conftest.$ac_ext >&5
30175 eval "$as_ac_var=no"
30177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30181 if test `eval echo '${'$as_ac_var'}'` = yes; then
30182 cat >>confdefs.h <<_ACEOF
30183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30191 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
30192 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
30193 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
30194 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
30195 echo $ECHO_N "(cached) $ECHO_C" >&6
30201 ac_cpp='$CXXCPP $CPPFLAGS'
30202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30206 cat >conftest.$ac_ext <<_ACEOF
30207 #line $LINENO "configure"
30210 cat confdefs.h >>conftest.$ac_ext
30211 cat >>conftest.$ac_ext <<_ACEOF
30212 /* end confdefs.h. */
30222 rm -f conftest.$ac_objext
30223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30224 (eval $ac_compile) 2>&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } &&
30228 { ac_try='test -s conftest.$ac_objext'
30229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30230 (eval $ac_try) 2>&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; }; then
30234 glibcxx_cv_func__hypotl_use=yes
30236 echo "$as_me: failed program was:" >&5
30237 sed 's/^/| /' conftest.$ac_ext >&5
30239 glibcxx_cv_func__hypotl_use=no
30241 rm -f conftest.$ac_objext conftest.$ac_ext
30243 ac_cpp='$CPP $CPPFLAGS'
30244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
30253 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
30255 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
30257 for ac_func in _hypotl
30259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30260 echo "$as_me:$LINENO: checking for $ac_func" >&5
30261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30262 if eval "test \"\${$as_ac_var+set}\" = set"; then
30263 echo $ECHO_N "(cached) $ECHO_C" >&6
30265 cat >conftest.$ac_ext <<_ACEOF
30266 #line $LINENO "configure"
30269 cat confdefs.h >>conftest.$ac_ext
30270 cat >>conftest.$ac_ext <<_ACEOF
30271 /* end confdefs.h. */
30272 /* System header to define __stub macros and hopefully few prototypes,
30273 which can conflict with char $ac_func (); below.
30274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30275 <limits.h> exists even on freestanding compilers. */
30277 # include <limits.h>
30279 # include <assert.h>
30281 /* Override any gcc2 internal prototype to avoid an error. */
30286 /* We use char because int might match the return type of a gcc2
30287 builtin and then its argument prototype would still apply. */
30289 /* The GNU C library defines this for functions which it implements
30290 to always fail with ENOSYS. Some functions are actually named
30291 something starting with __ and the normal name is an alias. */
30292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30295 char (*f) () = $ac_func;
30304 return f != $ac_func;
30309 rm -f conftest.$ac_objext conftest$ac_exeext
30310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30311 (eval $ac_link) 2>&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); } &&
30315 { ac_try='test -s conftest$ac_exeext'
30316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30317 (eval $ac_try) 2>&5
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); }; }; then
30321 eval "$as_ac_var=yes"
30323 echo "$as_me: failed program was:" >&5
30324 sed 's/^/| /' conftest.$ac_ext >&5
30326 eval "$as_ac_var=no"
30328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30332 if test `eval echo '${'$as_ac_var'}'` = yes; then
30333 cat >>confdefs.h <<_ACEOF
30334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30345 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
30346 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
30347 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
30348 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
30349 echo $ECHO_N "(cached) $ECHO_C" >&6
30355 ac_cpp='$CXXCPP $CPPFLAGS'
30356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30360 cat >conftest.$ac_ext <<_ACEOF
30361 #line $LINENO "configure"
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30376 rm -f conftest.$ac_objext
30377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30378 (eval $ac_compile) 2>&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } &&
30382 { ac_try='test -s conftest.$ac_objext'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; }; then
30388 glibcxx_cv_func_ldexpl_use=yes
30390 echo "$as_me: failed program was:" >&5
30391 sed 's/^/| /' conftest.$ac_ext >&5
30393 glibcxx_cv_func_ldexpl_use=no
30395 rm -f conftest.$ac_objext conftest.$ac_ext
30397 ac_cpp='$CPP $CPPFLAGS'
30398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30406 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
30407 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
30409 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
30411 for ac_func in ldexpl
30413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30414 echo "$as_me:$LINENO: checking for $ac_func" >&5
30415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30416 if eval "test \"\${$as_ac_var+set}\" = set"; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30419 cat >conftest.$ac_ext <<_ACEOF
30420 #line $LINENO "configure"
30423 cat confdefs.h >>conftest.$ac_ext
30424 cat >>conftest.$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30426 /* System header to define __stub macros and hopefully few prototypes,
30427 which can conflict with char $ac_func (); below.
30428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30429 <limits.h> exists even on freestanding compilers. */
30431 # include <limits.h>
30433 # include <assert.h>
30435 /* Override any gcc2 internal prototype to avoid an error. */
30440 /* We use char because int might match the return type of a gcc2
30441 builtin and then its argument prototype would still apply. */
30443 /* The GNU C library defines this for functions which it implements
30444 to always fail with ENOSYS. Some functions are actually named
30445 something starting with __ and the normal name is an alias. */
30446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30449 char (*f) () = $ac_func;
30458 return f != $ac_func;
30463 rm -f conftest.$ac_objext conftest$ac_exeext
30464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30465 (eval $ac_link) 2>&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); } &&
30469 { ac_try='test -s conftest$ac_exeext'
30470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30471 (eval $ac_try) 2>&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); }; }; then
30475 eval "$as_ac_var=yes"
30477 echo "$as_me: failed program was:" >&5
30478 sed 's/^/| /' conftest.$ac_ext >&5
30480 eval "$as_ac_var=no"
30482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30486 if test `eval echo '${'$as_ac_var'}'` = yes; then
30487 cat >>confdefs.h <<_ACEOF
30488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30496 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
30497 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
30498 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
30499 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
30500 echo $ECHO_N "(cached) $ECHO_C" >&6
30506 ac_cpp='$CXXCPP $CPPFLAGS'
30507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30511 cat >conftest.$ac_ext <<_ACEOF
30512 #line $LINENO "configure"
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h. */
30527 rm -f conftest.$ac_objext
30528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30529 (eval $ac_compile) 2>&5
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); } &&
30533 { ac_try='test -s conftest.$ac_objext'
30534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30535 (eval $ac_try) 2>&5
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; }; then
30539 glibcxx_cv_func__ldexpl_use=yes
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.$ac_ext >&5
30544 glibcxx_cv_func__ldexpl_use=no
30546 rm -f conftest.$ac_objext conftest.$ac_ext
30548 ac_cpp='$CPP $CPPFLAGS'
30549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
30558 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
30560 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
30562 for ac_func in _ldexpl
30564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30565 echo "$as_me:$LINENO: checking for $ac_func" >&5
30566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30567 if eval "test \"\${$as_ac_var+set}\" = set"; then
30568 echo $ECHO_N "(cached) $ECHO_C" >&6
30570 cat >conftest.$ac_ext <<_ACEOF
30571 #line $LINENO "configure"
30574 cat confdefs.h >>conftest.$ac_ext
30575 cat >>conftest.$ac_ext <<_ACEOF
30576 /* end confdefs.h. */
30577 /* System header to define __stub macros and hopefully few prototypes,
30578 which can conflict with char $ac_func (); below.
30579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30580 <limits.h> exists even on freestanding compilers. */
30582 # include <limits.h>
30584 # include <assert.h>
30586 /* Override any gcc2 internal prototype to avoid an error. */
30591 /* We use char because int might match the return type of a gcc2
30592 builtin and then its argument prototype would still apply. */
30594 /* The GNU C library defines this for functions which it implements
30595 to always fail with ENOSYS. Some functions are actually named
30596 something starting with __ and the normal name is an alias. */
30597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30600 char (*f) () = $ac_func;
30609 return f != $ac_func;
30614 rm -f conftest.$ac_objext conftest$ac_exeext
30615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30616 (eval $ac_link) 2>&5
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); } &&
30620 { ac_try='test -s conftest$ac_exeext'
30621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30622 (eval $ac_try) 2>&5
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); }; }; then
30626 eval "$as_ac_var=yes"
30628 echo "$as_me: failed program was:" >&5
30629 sed 's/^/| /' conftest.$ac_ext >&5
30631 eval "$as_ac_var=no"
30633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30637 if test `eval echo '${'$as_ac_var'}'` = yes; then
30638 cat >>confdefs.h <<_ACEOF
30639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30650 echo "$as_me:$LINENO: checking for logl declaration" >&5
30651 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
30652 if test x${glibcxx_cv_func_logl_use+set} != xset; then
30653 if test "${glibcxx_cv_func_logl_use+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30660 ac_cpp='$CXXCPP $CPPFLAGS'
30661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30665 cat >conftest.$ac_ext <<_ACEOF
30666 #line $LINENO "configure"
30669 cat confdefs.h >>conftest.$ac_ext
30670 cat >>conftest.$ac_ext <<_ACEOF
30671 /* end confdefs.h. */
30673 #ifdef HAVE_IEEEFP_H
30674 #include <ieeefp.h>
30685 rm -f conftest.$ac_objext
30686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30687 (eval $ac_compile) 2>&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); } &&
30691 { ac_try='test -s conftest.$ac_objext'
30692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 (eval $ac_try) 2>&5
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); }; }; then
30697 glibcxx_cv_func_logl_use=yes
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.$ac_ext >&5
30702 glibcxx_cv_func_logl_use=no
30704 rm -f conftest.$ac_objext conftest.$ac_ext
30706 ac_cpp='$CPP $CPPFLAGS'
30707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
30716 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
30718 if test x$glibcxx_cv_func_logl_use = x"yes"; then
30720 for ac_func in logl
30722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30723 echo "$as_me:$LINENO: checking for $ac_func" >&5
30724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30725 if eval "test \"\${$as_ac_var+set}\" = set"; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30728 cat >conftest.$ac_ext <<_ACEOF
30729 #line $LINENO "configure"
30732 cat confdefs.h >>conftest.$ac_ext
30733 cat >>conftest.$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735 /* System header to define __stub macros and hopefully few prototypes,
30736 which can conflict with char $ac_func (); below.
30737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30738 <limits.h> exists even on freestanding compilers. */
30740 # include <limits.h>
30742 # include <assert.h>
30744 /* Override any gcc2 internal prototype to avoid an error. */
30749 /* We use char because int might match the return type of a gcc2
30750 builtin and then its argument prototype would still apply. */
30752 /* The GNU C library defines this for functions which it implements
30753 to always fail with ENOSYS. Some functions are actually named
30754 something starting with __ and the normal name is an alias. */
30755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30758 char (*f) () = $ac_func;
30767 return f != $ac_func;
30772 rm -f conftest.$ac_objext conftest$ac_exeext
30773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30774 (eval $ac_link) 2>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try='test -s conftest$ac_exeext'
30779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30780 (eval $ac_try) 2>&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); }; }; then
30784 eval "$as_ac_var=yes"
30786 echo "$as_me: failed program was:" >&5
30787 sed 's/^/| /' conftest.$ac_ext >&5
30789 eval "$as_ac_var=no"
30791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30795 if test `eval echo '${'$as_ac_var'}'` = yes; then
30796 cat >>confdefs.h <<_ACEOF
30797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30805 echo "$as_me:$LINENO: checking for _logl declaration" >&5
30806 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
30807 if test x${glibcxx_cv_func__logl_use+set} != xset; then
30808 if test "${glibcxx_cv_func__logl_use+set}" = set; then
30809 echo $ECHO_N "(cached) $ECHO_C" >&6
30815 ac_cpp='$CXXCPP $CPPFLAGS'
30816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30820 cat >conftest.$ac_ext <<_ACEOF
30821 #line $LINENO "configure"
30824 cat confdefs.h >>conftest.$ac_ext
30825 cat >>conftest.$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30828 #ifdef HAVE_IEEEFP_H
30829 #include <ieeefp.h>
30840 rm -f conftest.$ac_objext
30841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30842 (eval $ac_compile) 2>&5
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); } &&
30846 { ac_try='test -s conftest.$ac_objext'
30847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30848 (eval $ac_try) 2>&5
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); }; }; then
30852 glibcxx_cv_func__logl_use=yes
30854 echo "$as_me: failed program was:" >&5
30855 sed 's/^/| /' conftest.$ac_ext >&5
30857 glibcxx_cv_func__logl_use=no
30859 rm -f conftest.$ac_objext conftest.$ac_ext
30861 ac_cpp='$CPP $CPPFLAGS'
30862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
30871 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
30873 if test x$glibcxx_cv_func__logl_use = x"yes"; then
30875 for ac_func in _logl
30877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30878 echo "$as_me:$LINENO: checking for $ac_func" >&5
30879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30880 if eval "test \"\${$as_ac_var+set}\" = set"; then
30881 echo $ECHO_N "(cached) $ECHO_C" >&6
30883 cat >conftest.$ac_ext <<_ACEOF
30884 #line $LINENO "configure"
30887 cat confdefs.h >>conftest.$ac_ext
30888 cat >>conftest.$ac_ext <<_ACEOF
30889 /* end confdefs.h. */
30890 /* System header to define __stub macros and hopefully few prototypes,
30891 which can conflict with char $ac_func (); below.
30892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30893 <limits.h> exists even on freestanding compilers. */
30895 # include <limits.h>
30897 # include <assert.h>
30899 /* Override any gcc2 internal prototype to avoid an error. */
30904 /* We use char because int might match the return type of a gcc2
30905 builtin and then its argument prototype would still apply. */
30907 /* The GNU C library defines this for functions which it implements
30908 to always fail with ENOSYS. Some functions are actually named
30909 something starting with __ and the normal name is an alias. */
30910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30913 char (*f) () = $ac_func;
30922 return f != $ac_func;
30927 rm -f conftest.$ac_objext conftest$ac_exeext
30928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30929 (eval $ac_link) 2>&5
30931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932 (exit $ac_status); } &&
30933 { ac_try='test -s conftest$ac_exeext'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; }; then
30939 eval "$as_ac_var=yes"
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.$ac_ext >&5
30944 eval "$as_ac_var=no"
30946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30950 if test `eval echo '${'$as_ac_var'}'` = yes; then
30951 cat >>confdefs.h <<_ACEOF
30952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30963 echo "$as_me:$LINENO: checking for log10l declaration" >&5
30964 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
30965 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
30966 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
30967 echo $ECHO_N "(cached) $ECHO_C" >&6
30973 ac_cpp='$CXXCPP $CPPFLAGS'
30974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30978 cat >conftest.$ac_ext <<_ACEOF
30979 #line $LINENO "configure"
30982 cat confdefs.h >>conftest.$ac_ext
30983 cat >>conftest.$ac_ext <<_ACEOF
30984 /* end confdefs.h. */
30986 #ifdef HAVE_IEEEFP_H
30987 #include <ieeefp.h>
30998 rm -f conftest.$ac_objext
30999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31000 (eval $ac_compile) 2>&5
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); } &&
31004 { ac_try='test -s conftest.$ac_objext'
31005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31006 (eval $ac_try) 2>&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); }; }; then
31010 glibcxx_cv_func_log10l_use=yes
31012 echo "$as_me: failed program was:" >&5
31013 sed 's/^/| /' conftest.$ac_ext >&5
31015 glibcxx_cv_func_log10l_use=no
31017 rm -f conftest.$ac_objext conftest.$ac_ext
31019 ac_cpp='$CPP $CPPFLAGS'
31020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
31029 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
31031 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31033 for ac_func in log10l
31035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31036 echo "$as_me:$LINENO: checking for $ac_func" >&5
31037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31038 if eval "test \"\${$as_ac_var+set}\" = set"; then
31039 echo $ECHO_N "(cached) $ECHO_C" >&6
31041 cat >conftest.$ac_ext <<_ACEOF
31042 #line $LINENO "configure"
31045 cat confdefs.h >>conftest.$ac_ext
31046 cat >>conftest.$ac_ext <<_ACEOF
31047 /* end confdefs.h. */
31048 /* System header to define __stub macros and hopefully few prototypes,
31049 which can conflict with char $ac_func (); below.
31050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31051 <limits.h> exists even on freestanding compilers. */
31053 # include <limits.h>
31055 # include <assert.h>
31057 /* Override any gcc2 internal prototype to avoid an error. */
31062 /* We use char because int might match the return type of a gcc2
31063 builtin and then its argument prototype would still apply. */
31065 /* The GNU C library defines this for functions which it implements
31066 to always fail with ENOSYS. Some functions are actually named
31067 something starting with __ and the normal name is an alias. */
31068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31071 char (*f) () = $ac_func;
31080 return f != $ac_func;
31085 rm -f conftest.$ac_objext conftest$ac_exeext
31086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31087 (eval $ac_link) 2>&5
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); } &&
31091 { ac_try='test -s conftest$ac_exeext'
31092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31093 (eval $ac_try) 2>&5
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); }; }; then
31097 eval "$as_ac_var=yes"
31099 echo "$as_me: failed program was:" >&5
31100 sed 's/^/| /' conftest.$ac_ext >&5
31102 eval "$as_ac_var=no"
31104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31108 if test `eval echo '${'$as_ac_var'}'` = yes; then
31109 cat >>confdefs.h <<_ACEOF
31110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31118 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
31119 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
31120 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31121 if test "${glibcxx_cv_func__log10l_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__log10l_use=yes
31167 echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.$ac_ext >&5
31170 glibcxx_cv_func__log10l_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__log10l_use" >&5
31184 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
31186 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31188 for ac_func in _log10l
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 cat >conftest.$ac_ext <<_ACEOF
31197 #line $LINENO "configure"
31200 cat confdefs.h >>conftest.$ac_ext
31201 cat >>conftest.$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31203 /* System header to define __stub macros and hopefully few prototypes,
31204 which can conflict with char $ac_func (); below.
31205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31206 <limits.h> exists even on freestanding compilers. */
31208 # include <limits.h>
31210 # include <assert.h>
31212 /* Override any gcc2 internal prototype to avoid an error. */
31217 /* We use char because int might match the return type of a gcc2
31218 builtin and then its argument prototype would still apply. */
31220 /* The GNU C library defines this for functions which it implements
31221 to always fail with ENOSYS. Some functions are actually named
31222 something starting with __ and the normal name is an alias. */
31223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31226 char (*f) () = $ac_func;
31235 return f != $ac_func;
31240 rm -f conftest.$ac_objext conftest$ac_exeext
31241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31242 (eval $ac_link) 2>&5
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); } &&
31246 { ac_try='test -s conftest$ac_exeext'
31247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31248 (eval $ac_try) 2>&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); }; }; then
31252 eval "$as_ac_var=yes"
31254 echo "$as_me: failed program was:" >&5
31255 sed 's/^/| /' conftest.$ac_ext >&5
31257 eval "$as_ac_var=no"
31259 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31263 if test `eval echo '${'$as_ac_var'}'` = yes; then
31264 cat >>confdefs.h <<_ACEOF
31265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31276 echo "$as_me:$LINENO: checking for modfl declaration" >&5
31277 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
31278 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31279 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
31280 echo $ECHO_N "(cached) $ECHO_C" >&6
31286 ac_cpp='$CXXCPP $CPPFLAGS'
31287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31291 cat >conftest.$ac_ext <<_ACEOF
31292 #line $LINENO "configure"
31295 cat confdefs.h >>conftest.$ac_ext
31296 cat >>conftest.$ac_ext <<_ACEOF
31297 /* end confdefs.h. */
31307 rm -f conftest.$ac_objext
31308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31309 (eval $ac_compile) 2>&5
31311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312 (exit $ac_status); } &&
31313 { ac_try='test -s conftest.$ac_objext'
31314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31315 (eval $ac_try) 2>&5
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); }; }; then
31319 glibcxx_cv_func_modfl_use=yes
31321 echo "$as_me: failed program was:" >&5
31322 sed 's/^/| /' conftest.$ac_ext >&5
31324 glibcxx_cv_func_modfl_use=no
31326 rm -f conftest.$ac_objext conftest.$ac_ext
31328 ac_cpp='$CPP $CPPFLAGS'
31329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
31338 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
31340 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31342 for ac_func in modfl
31344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31345 echo "$as_me:$LINENO: checking for $ac_func" >&5
31346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31347 if eval "test \"\${$as_ac_var+set}\" = set"; then
31348 echo $ECHO_N "(cached) $ECHO_C" >&6
31350 cat >conftest.$ac_ext <<_ACEOF
31351 #line $LINENO "configure"
31354 cat confdefs.h >>conftest.$ac_ext
31355 cat >>conftest.$ac_ext <<_ACEOF
31356 /* end confdefs.h. */
31357 /* System header to define __stub macros and hopefully few prototypes,
31358 which can conflict with char $ac_func (); below.
31359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31360 <limits.h> exists even on freestanding compilers. */
31362 # include <limits.h>
31364 # include <assert.h>
31366 /* Override any gcc2 internal prototype to avoid an error. */
31371 /* We use char because int might match the return type of a gcc2
31372 builtin and then its argument prototype would still apply. */
31374 /* The GNU C library defines this for functions which it implements
31375 to always fail with ENOSYS. Some functions are actually named
31376 something starting with __ and the normal name is an alias. */
31377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31380 char (*f) () = $ac_func;
31389 return f != $ac_func;
31394 rm -f conftest.$ac_objext conftest$ac_exeext
31395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31396 (eval $ac_link) 2>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); } &&
31400 { ac_try='test -s conftest$ac_exeext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31406 eval "$as_ac_var=yes"
31408 echo "$as_me: failed program was:" >&5
31409 sed 's/^/| /' conftest.$ac_ext >&5
31411 eval "$as_ac_var=no"
31413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31417 if test `eval echo '${'$as_ac_var'}'` = yes; then
31418 cat >>confdefs.h <<_ACEOF
31419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31427 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
31428 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
31429 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31430 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
31431 echo $ECHO_N "(cached) $ECHO_C" >&6
31437 ac_cpp='$CXXCPP $CPPFLAGS'
31438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31442 cat >conftest.$ac_ext <<_ACEOF
31443 #line $LINENO "configure"
31446 cat confdefs.h >>conftest.$ac_ext
31447 cat >>conftest.$ac_ext <<_ACEOF
31448 /* end confdefs.h. */
31458 rm -f conftest.$ac_objext
31459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31460 (eval $ac_compile) 2>&5
31462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463 (exit $ac_status); } &&
31464 { ac_try='test -s conftest.$ac_objext'
31465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31466 (eval $ac_try) 2>&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); }; }; then
31470 glibcxx_cv_func__modfl_use=yes
31472 echo "$as_me: failed program was:" >&5
31473 sed 's/^/| /' conftest.$ac_ext >&5
31475 glibcxx_cv_func__modfl_use=no
31477 rm -f conftest.$ac_objext conftest.$ac_ext
31479 ac_cpp='$CPP $CPPFLAGS'
31480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
31489 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
31491 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31493 for ac_func in _modfl
31495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31496 echo "$as_me:$LINENO: checking for $ac_func" >&5
31497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31498 if eval "test \"\${$as_ac_var+set}\" = set"; then
31499 echo $ECHO_N "(cached) $ECHO_C" >&6
31501 cat >conftest.$ac_ext <<_ACEOF
31502 #line $LINENO "configure"
31505 cat confdefs.h >>conftest.$ac_ext
31506 cat >>conftest.$ac_ext <<_ACEOF
31507 /* end confdefs.h. */
31508 /* System header to define __stub macros and hopefully few prototypes,
31509 which can conflict with char $ac_func (); below.
31510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31511 <limits.h> exists even on freestanding compilers. */
31513 # include <limits.h>
31515 # include <assert.h>
31517 /* Override any gcc2 internal prototype to avoid an error. */
31522 /* We use char because int might match the return type of a gcc2
31523 builtin and then its argument prototype would still apply. */
31525 /* The GNU C library defines this for functions which it implements
31526 to always fail with ENOSYS. Some functions are actually named
31527 something starting with __ and the normal name is an alias. */
31528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31531 char (*f) () = $ac_func;
31540 return f != $ac_func;
31545 rm -f conftest.$ac_objext conftest$ac_exeext
31546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31547 (eval $ac_link) 2>&5
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); } &&
31551 { ac_try='test -s conftest$ac_exeext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 eval "$as_ac_var=yes"
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.$ac_ext >&5
31562 eval "$as_ac_var=no"
31564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31568 if test `eval echo '${'$as_ac_var'}'` = yes; then
31569 cat >>confdefs.h <<_ACEOF
31570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31581 echo "$as_me:$LINENO: checking for powl declaration" >&5
31582 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
31583 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31584 if test "${glibcxx_cv_func_powl_use+set}" = set; then
31585 echo $ECHO_N "(cached) $ECHO_C" >&6
31591 ac_cpp='$CXXCPP $CPPFLAGS'
31592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31596 cat >conftest.$ac_ext <<_ACEOF
31597 #line $LINENO "configure"
31600 cat confdefs.h >>conftest.$ac_ext
31601 cat >>conftest.$ac_ext <<_ACEOF
31602 /* end confdefs.h. */
31612 rm -f conftest.$ac_objext
31613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31614 (eval $ac_compile) 2>&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); } &&
31618 { ac_try='test -s conftest.$ac_objext'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; }; then
31624 glibcxx_cv_func_powl_use=yes
31626 echo "$as_me: failed program was:" >&5
31627 sed 's/^/| /' conftest.$ac_ext >&5
31629 glibcxx_cv_func_powl_use=no
31631 rm -f conftest.$ac_objext conftest.$ac_ext
31633 ac_cpp='$CPP $CPPFLAGS'
31634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
31643 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
31645 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31647 for ac_func in powl
31649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31650 echo "$as_me:$LINENO: checking for $ac_func" >&5
31651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31652 if eval "test \"\${$as_ac_var+set}\" = set"; then
31653 echo $ECHO_N "(cached) $ECHO_C" >&6
31655 cat >conftest.$ac_ext <<_ACEOF
31656 #line $LINENO "configure"
31659 cat confdefs.h >>conftest.$ac_ext
31660 cat >>conftest.$ac_ext <<_ACEOF
31661 /* end confdefs.h. */
31662 /* System header to define __stub macros and hopefully few prototypes,
31663 which can conflict with char $ac_func (); below.
31664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31665 <limits.h> exists even on freestanding compilers. */
31667 # include <limits.h>
31669 # include <assert.h>
31671 /* Override any gcc2 internal prototype to avoid an error. */
31676 /* We use char because int might match the return type of a gcc2
31677 builtin and then its argument prototype would still apply. */
31679 /* The GNU C library defines this for functions which it implements
31680 to always fail with ENOSYS. Some functions are actually named
31681 something starting with __ and the normal name is an alias. */
31682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31685 char (*f) () = $ac_func;
31694 return f != $ac_func;
31699 rm -f conftest.$ac_objext conftest$ac_exeext
31700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31701 (eval $ac_link) 2>&5
31703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704 (exit $ac_status); } &&
31705 { ac_try='test -s conftest$ac_exeext'
31706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31707 (eval $ac_try) 2>&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); }; }; then
31711 eval "$as_ac_var=yes"
31713 echo "$as_me: failed program was:" >&5
31714 sed 's/^/| /' conftest.$ac_ext >&5
31716 eval "$as_ac_var=no"
31718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31722 if test `eval echo '${'$as_ac_var'}'` = yes; then
31723 cat >>confdefs.h <<_ACEOF
31724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31732 echo "$as_me:$LINENO: checking for _powl declaration" >&5
31733 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
31734 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31735 if test "${glibcxx_cv_func__powl_use+set}" = set; then
31736 echo $ECHO_N "(cached) $ECHO_C" >&6
31742 ac_cpp='$CXXCPP $CPPFLAGS'
31743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31747 cat >conftest.$ac_ext <<_ACEOF
31748 #line $LINENO "configure"
31751 cat confdefs.h >>conftest.$ac_ext
31752 cat >>conftest.$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31763 rm -f conftest.$ac_objext
31764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31765 (eval $ac_compile) 2>&5
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); } &&
31769 { ac_try='test -s conftest.$ac_objext'
31770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31771 (eval $ac_try) 2>&5
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); }; }; then
31775 glibcxx_cv_func__powl_use=yes
31777 echo "$as_me: failed program was:" >&5
31778 sed 's/^/| /' conftest.$ac_ext >&5
31780 glibcxx_cv_func__powl_use=no
31782 rm -f conftest.$ac_objext conftest.$ac_ext
31784 ac_cpp='$CPP $CPPFLAGS'
31785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
31794 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
31796 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31798 for ac_func in _powl
31800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31801 echo "$as_me:$LINENO: checking for $ac_func" >&5
31802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31803 if eval "test \"\${$as_ac_var+set}\" = set"; then
31804 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 cat >conftest.$ac_ext <<_ACEOF
31807 #line $LINENO "configure"
31810 cat confdefs.h >>conftest.$ac_ext
31811 cat >>conftest.$ac_ext <<_ACEOF
31812 /* end confdefs.h. */
31813 /* System header to define __stub macros and hopefully few prototypes,
31814 which can conflict with char $ac_func (); below.
31815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31816 <limits.h> exists even on freestanding compilers. */
31818 # include <limits.h>
31820 # include <assert.h>
31822 /* Override any gcc2 internal prototype to avoid an error. */
31827 /* We use char because int might match the return type of a gcc2
31828 builtin and then its argument prototype would still apply. */
31830 /* The GNU C library defines this for functions which it implements
31831 to always fail with ENOSYS. Some functions are actually named
31832 something starting with __ and the normal name is an alias. */
31833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31836 char (*f) () = $ac_func;
31845 return f != $ac_func;
31850 rm -f conftest.$ac_objext conftest$ac_exeext
31851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31852 (eval $ac_link) 2>&5
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); } &&
31856 { ac_try='test -s conftest$ac_exeext'
31857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31858 (eval $ac_try) 2>&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); }; }; then
31862 eval "$as_ac_var=yes"
31864 echo "$as_me: failed program was:" >&5
31865 sed 's/^/| /' conftest.$ac_ext >&5
31867 eval "$as_ac_var=no"
31869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31873 if test `eval echo '${'$as_ac_var'}'` = yes; then
31874 cat >>confdefs.h <<_ACEOF
31875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31886 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
31887 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
31888 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31889 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
31890 echo $ECHO_N "(cached) $ECHO_C" >&6
31896 ac_cpp='$CXXCPP $CPPFLAGS'
31897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31901 cat >conftest.$ac_ext <<_ACEOF
31902 #line $LINENO "configure"
31905 cat confdefs.h >>conftest.$ac_ext
31906 cat >>conftest.$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31909 #ifdef HAVE_IEEEFP_H
31910 #include <ieeefp.h>
31921 rm -f conftest.$ac_objext
31922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31923 (eval $ac_compile) 2>&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); } &&
31927 { ac_try='test -s conftest.$ac_objext'
31928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31929 (eval $ac_try) 2>&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); }; }; then
31933 glibcxx_cv_func_sqrtl_use=yes
31935 echo "$as_me: failed program was:" >&5
31936 sed 's/^/| /' conftest.$ac_ext >&5
31938 glibcxx_cv_func_sqrtl_use=no
31940 rm -f conftest.$ac_objext conftest.$ac_ext
31942 ac_cpp='$CPP $CPPFLAGS'
31943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
31952 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
31954 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31956 for ac_func in sqrtl
31958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31959 echo "$as_me:$LINENO: checking for $ac_func" >&5
31960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31961 if eval "test \"\${$as_ac_var+set}\" = set"; then
31962 echo $ECHO_N "(cached) $ECHO_C" >&6
31964 cat >conftest.$ac_ext <<_ACEOF
31965 #line $LINENO "configure"
31968 cat confdefs.h >>conftest.$ac_ext
31969 cat >>conftest.$ac_ext <<_ACEOF
31970 /* end confdefs.h. */
31971 /* System header to define __stub macros and hopefully few prototypes,
31972 which can conflict with char $ac_func (); below.
31973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31974 <limits.h> exists even on freestanding compilers. */
31976 # include <limits.h>
31978 # include <assert.h>
31980 /* Override any gcc2 internal prototype to avoid an error. */
31985 /* We use char because int might match the return type of a gcc2
31986 builtin and then its argument prototype would still apply. */
31988 /* The GNU C library defines this for functions which it implements
31989 to always fail with ENOSYS. Some functions are actually named
31990 something starting with __ and the normal name is an alias. */
31991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31994 char (*f) () = $ac_func;
32003 return f != $ac_func;
32008 rm -f conftest.$ac_objext conftest$ac_exeext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010 (eval $ac_link) 2>&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); } &&
32014 { ac_try='test -s conftest$ac_exeext'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; }; then
32020 eval "$as_ac_var=yes"
32022 echo "$as_me: failed program was:" >&5
32023 sed 's/^/| /' conftest.$ac_ext >&5
32025 eval "$as_ac_var=no"
32027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32031 if test `eval echo '${'$as_ac_var'}'` = yes; then
32032 cat >>confdefs.h <<_ACEOF
32033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32041 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
32042 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
32043 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32044 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
32045 echo $ECHO_N "(cached) $ECHO_C" >&6
32051 ac_cpp='$CXXCPP $CPPFLAGS'
32052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32056 cat >conftest.$ac_ext <<_ACEOF
32057 #line $LINENO "configure"
32060 cat confdefs.h >>conftest.$ac_ext
32061 cat >>conftest.$ac_ext <<_ACEOF
32062 /* end confdefs.h. */
32064 #ifdef HAVE_IEEEFP_H
32065 #include <ieeefp.h>
32076 rm -f conftest.$ac_objext
32077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32078 (eval $ac_compile) 2>&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } &&
32082 { ac_try='test -s conftest.$ac_objext'
32083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32084 (eval $ac_try) 2>&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); }; }; then
32088 glibcxx_cv_func__sqrtl_use=yes
32090 echo "$as_me: failed program was:" >&5
32091 sed 's/^/| /' conftest.$ac_ext >&5
32093 glibcxx_cv_func__sqrtl_use=no
32095 rm -f conftest.$ac_objext conftest.$ac_ext
32097 ac_cpp='$CPP $CPPFLAGS'
32098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
32107 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
32109 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32111 for ac_func in _sqrtl
32113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32114 echo "$as_me:$LINENO: checking for $ac_func" >&5
32115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32116 if eval "test \"\${$as_ac_var+set}\" = set"; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 cat >conftest.$ac_ext <<_ACEOF
32120 #line $LINENO "configure"
32123 cat confdefs.h >>conftest.$ac_ext
32124 cat >>conftest.$ac_ext <<_ACEOF
32125 /* end confdefs.h. */
32126 /* System header to define __stub macros and hopefully few prototypes,
32127 which can conflict with char $ac_func (); below.
32128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32129 <limits.h> exists even on freestanding compilers. */
32131 # include <limits.h>
32133 # include <assert.h>
32135 /* Override any gcc2 internal prototype to avoid an error. */
32140 /* We use char because int might match the return type of a gcc2
32141 builtin and then its argument prototype would still apply. */
32143 /* The GNU C library defines this for functions which it implements
32144 to always fail with ENOSYS. Some functions are actually named
32145 something starting with __ and the normal name is an alias. */
32146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32149 char (*f) () = $ac_func;
32158 return f != $ac_func;
32163 rm -f conftest.$ac_objext conftest$ac_exeext
32164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32165 (eval $ac_link) 2>&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); } &&
32169 { ac_try='test -s conftest$ac_exeext'
32170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32171 (eval $ac_try) 2>&5
32173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32174 (exit $ac_status); }; }; then
32175 eval "$as_ac_var=yes"
32177 echo "$as_me: failed program was:" >&5
32178 sed 's/^/| /' conftest.$ac_ext >&5
32180 eval "$as_ac_var=no"
32182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32186 if test `eval echo '${'$as_ac_var'}'` = yes; then
32187 cat >>confdefs.h <<_ACEOF
32188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32199 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
32200 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
32201 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32202 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
32203 echo $ECHO_N "(cached) $ECHO_C" >&6
32209 ac_cpp='$CXXCPP $CPPFLAGS'
32210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32214 cat >conftest.$ac_ext <<_ACEOF
32215 #line $LINENO "configure"
32218 cat confdefs.h >>conftest.$ac_ext
32219 cat >>conftest.$ac_ext <<_ACEOF
32220 /* end confdefs.h. */
32230 rm -f conftest.$ac_objext
32231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32232 (eval $ac_compile) 2>&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); } &&
32236 { ac_try='test -s conftest.$ac_objext'
32237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32238 (eval $ac_try) 2>&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); }; }; then
32242 glibcxx_cv_func_sincosl_use=yes
32244 echo "$as_me: failed program was:" >&5
32245 sed 's/^/| /' conftest.$ac_ext >&5
32247 glibcxx_cv_func_sincosl_use=no
32249 rm -f conftest.$ac_objext conftest.$ac_ext
32251 ac_cpp='$CPP $CPPFLAGS'
32252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
32261 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
32263 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32265 for ac_func in sincosl
32267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32268 echo "$as_me:$LINENO: checking for $ac_func" >&5
32269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32270 if eval "test \"\${$as_ac_var+set}\" = set"; then
32271 echo $ECHO_N "(cached) $ECHO_C" >&6
32273 cat >conftest.$ac_ext <<_ACEOF
32274 #line $LINENO "configure"
32277 cat confdefs.h >>conftest.$ac_ext
32278 cat >>conftest.$ac_ext <<_ACEOF
32279 /* end confdefs.h. */
32280 /* System header to define __stub macros and hopefully few prototypes,
32281 which can conflict with char $ac_func (); below.
32282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32283 <limits.h> exists even on freestanding compilers. */
32285 # include <limits.h>
32287 # include <assert.h>
32289 /* Override any gcc2 internal prototype to avoid an error. */
32294 /* We use char because int might match the return type of a gcc2
32295 builtin and then its argument prototype would still apply. */
32297 /* The GNU C library defines this for functions which it implements
32298 to always fail with ENOSYS. Some functions are actually named
32299 something starting with __ and the normal name is an alias. */
32300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32303 char (*f) () = $ac_func;
32312 return f != $ac_func;
32317 rm -f conftest.$ac_objext conftest$ac_exeext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32319 (eval $ac_link) 2>&5
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); } &&
32323 { ac_try='test -s conftest$ac_exeext'
32324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32325 (eval $ac_try) 2>&5
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); }; }; then
32329 eval "$as_ac_var=yes"
32331 echo "$as_me: failed program was:" >&5
32332 sed 's/^/| /' conftest.$ac_ext >&5
32334 eval "$as_ac_var=no"
32336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32340 if test `eval echo '${'$as_ac_var'}'` = yes; then
32341 cat >>confdefs.h <<_ACEOF
32342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32350 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
32351 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
32352 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32353 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
32354 echo $ECHO_N "(cached) $ECHO_C" >&6
32360 ac_cpp='$CXXCPP $CPPFLAGS'
32361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32365 cat >conftest.$ac_ext <<_ACEOF
32366 #line $LINENO "configure"
32369 cat confdefs.h >>conftest.$ac_ext
32370 cat >>conftest.$ac_ext <<_ACEOF
32371 /* end confdefs.h. */
32381 rm -f conftest.$ac_objext
32382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32383 (eval $ac_compile) 2>&5
32385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32386 (exit $ac_status); } &&
32387 { ac_try='test -s conftest.$ac_objext'
32388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32389 (eval $ac_try) 2>&5
32391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32392 (exit $ac_status); }; }; then
32393 glibcxx_cv_func__sincosl_use=yes
32395 echo "$as_me: failed program was:" >&5
32396 sed 's/^/| /' conftest.$ac_ext >&5
32398 glibcxx_cv_func__sincosl_use=no
32400 rm -f conftest.$ac_objext conftest.$ac_ext
32402 ac_cpp='$CPP $CPPFLAGS'
32403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32411 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
32412 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
32414 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32416 for ac_func in _sincosl
32418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32419 echo "$as_me:$LINENO: checking for $ac_func" >&5
32420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32421 if eval "test \"\${$as_ac_var+set}\" = set"; then
32422 echo $ECHO_N "(cached) $ECHO_C" >&6
32424 cat >conftest.$ac_ext <<_ACEOF
32425 #line $LINENO "configure"
32428 cat confdefs.h >>conftest.$ac_ext
32429 cat >>conftest.$ac_ext <<_ACEOF
32430 /* end confdefs.h. */
32431 /* System header to define __stub macros and hopefully few prototypes,
32432 which can conflict with char $ac_func (); below.
32433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32434 <limits.h> exists even on freestanding compilers. */
32436 # include <limits.h>
32438 # include <assert.h>
32440 /* Override any gcc2 internal prototype to avoid an error. */
32445 /* We use char because int might match the return type of a gcc2
32446 builtin and then its argument prototype would still apply. */
32448 /* The GNU C library defines this for functions which it implements
32449 to always fail with ENOSYS. Some functions are actually named
32450 something starting with __ and the normal name is an alias. */
32451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32454 char (*f) () = $ac_func;
32463 return f != $ac_func;
32468 rm -f conftest.$ac_objext conftest$ac_exeext
32469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32470 (eval $ac_link) 2>&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); } &&
32474 { ac_try='test -s conftest$ac_exeext'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }; then
32480 eval "$as_ac_var=yes"
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32485 eval "$as_ac_var=no"
32487 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32491 if test `eval echo '${'$as_ac_var'}'` = yes; then
32492 cat >>confdefs.h <<_ACEOF
32493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32504 echo "$as_me:$LINENO: checking for finitel declaration" >&5
32505 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
32506 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32507 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
32508 echo $ECHO_N "(cached) $ECHO_C" >&6
32514 ac_cpp='$CXXCPP $CPPFLAGS'
32515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32519 cat >conftest.$ac_ext <<_ACEOF
32520 #line $LINENO "configure"
32523 cat confdefs.h >>conftest.$ac_ext
32524 cat >>conftest.$ac_ext <<_ACEOF
32525 /* end confdefs.h. */
32527 #ifdef HAVE_IEEEFP_H
32528 #include <ieeefp.h>
32539 rm -f conftest.$ac_objext
32540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32541 (eval $ac_compile) 2>&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); } &&
32545 { ac_try='test -s conftest.$ac_objext'
32546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32547 (eval $ac_try) 2>&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; }; then
32551 glibcxx_cv_func_finitel_use=yes
32553 echo "$as_me: failed program was:" >&5
32554 sed 's/^/| /' conftest.$ac_ext >&5
32556 glibcxx_cv_func_finitel_use=no
32558 rm -f conftest.$ac_objext conftest.$ac_ext
32560 ac_cpp='$CPP $CPPFLAGS'
32561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32569 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
32570 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
32572 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32574 for ac_func in finitel
32576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32577 echo "$as_me:$LINENO: checking for $ac_func" >&5
32578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32579 if eval "test \"\${$as_ac_var+set}\" = set"; then
32580 echo $ECHO_N "(cached) $ECHO_C" >&6
32582 cat >conftest.$ac_ext <<_ACEOF
32583 #line $LINENO "configure"
32586 cat confdefs.h >>conftest.$ac_ext
32587 cat >>conftest.$ac_ext <<_ACEOF
32588 /* end confdefs.h. */
32589 /* System header to define __stub macros and hopefully few prototypes,
32590 which can conflict with char $ac_func (); below.
32591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32592 <limits.h> exists even on freestanding compilers. */
32594 # include <limits.h>
32596 # include <assert.h>
32598 /* Override any gcc2 internal prototype to avoid an error. */
32603 /* We use char because int might match the return type of a gcc2
32604 builtin and then its argument prototype would still apply. */
32606 /* The GNU C library defines this for functions which it implements
32607 to always fail with ENOSYS. Some functions are actually named
32608 something starting with __ and the normal name is an alias. */
32609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32612 char (*f) () = $ac_func;
32621 return f != $ac_func;
32626 rm -f conftest.$ac_objext conftest$ac_exeext
32627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32628 (eval $ac_link) 2>&5
32630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631 (exit $ac_status); } &&
32632 { ac_try='test -s conftest$ac_exeext'
32633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32634 (eval $ac_try) 2>&5
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); }; }; then
32638 eval "$as_ac_var=yes"
32640 echo "$as_me: failed program was:" >&5
32641 sed 's/^/| /' conftest.$ac_ext >&5
32643 eval "$as_ac_var=no"
32645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32649 if test `eval echo '${'$as_ac_var'}'` = yes; then
32650 cat >>confdefs.h <<_ACEOF
32651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32659 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
32660 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
32661 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32662 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
32663 echo $ECHO_N "(cached) $ECHO_C" >&6
32669 ac_cpp='$CXXCPP $CPPFLAGS'
32670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32674 cat >conftest.$ac_ext <<_ACEOF
32675 #line $LINENO "configure"
32678 cat confdefs.h >>conftest.$ac_ext
32679 cat >>conftest.$ac_ext <<_ACEOF
32680 /* end confdefs.h. */
32682 #ifdef HAVE_IEEEFP_H
32683 #include <ieeefp.h>
32694 rm -f conftest.$ac_objext
32695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32696 (eval $ac_compile) 2>&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); } &&
32700 { ac_try='test -s conftest.$ac_objext'
32701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32702 (eval $ac_try) 2>&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); }; }; then
32706 glibcxx_cv_func__finitel_use=yes
32708 echo "$as_me: failed program was:" >&5
32709 sed 's/^/| /' conftest.$ac_ext >&5
32711 glibcxx_cv_func__finitel_use=no
32713 rm -f conftest.$ac_objext conftest.$ac_ext
32715 ac_cpp='$CPP $CPPFLAGS'
32716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32724 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
32725 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
32727 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32729 for ac_func in _finitel
32731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32732 echo "$as_me:$LINENO: checking for $ac_func" >&5
32733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32734 if eval "test \"\${$as_ac_var+set}\" = set"; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32737 cat >conftest.$ac_ext <<_ACEOF
32738 #line $LINENO "configure"
32741 cat confdefs.h >>conftest.$ac_ext
32742 cat >>conftest.$ac_ext <<_ACEOF
32743 /* end confdefs.h. */
32744 /* System header to define __stub macros and hopefully few prototypes,
32745 which can conflict with char $ac_func (); below.
32746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32747 <limits.h> exists even on freestanding compilers. */
32749 # include <limits.h>
32751 # include <assert.h>
32753 /* Override any gcc2 internal prototype to avoid an error. */
32758 /* We use char because int might match the return type of a gcc2
32759 builtin and then its argument prototype would still apply. */
32761 /* The GNU C library defines this for functions which it implements
32762 to always fail with ENOSYS. Some functions are actually named
32763 something starting with __ and the normal name is an alias. */
32764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32767 char (*f) () = $ac_func;
32776 return f != $ac_func;
32781 rm -f conftest.$ac_objext conftest$ac_exeext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32783 (eval $ac_link) 2>&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } &&
32787 { ac_try='test -s conftest$ac_exeext'
32788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32789 (eval $ac_try) 2>&5
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); }; }; then
32793 eval "$as_ac_var=yes"
32795 echo "$as_me: failed program was:" >&5
32796 sed 's/^/| /' conftest.$ac_ext >&5
32798 eval "$as_ac_var=no"
32800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32804 if test `eval echo '${'$as_ac_var'}'` = yes; then
32805 cat >>confdefs.h <<_ACEOF
32806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32818 echo "$as_me:$LINENO: checking for _float trig functions" >&5
32819 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
32820 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
32821 echo $ECHO_N "(cached) $ECHO_C" >&6
32827 ac_cpp='$CXXCPP $CPPFLAGS'
32828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32832 cat >conftest.$ac_ext <<_ACEOF
32833 #line $LINENO "configure"
32836 cat confdefs.h >>conftest.$ac_ext
32837 cat >>conftest.$ac_ext <<_ACEOF
32838 /* end confdefs.h. */
32843 `for x in _acosf _asinf _atanf \
32844 _cosf _sinf _tanf \
32845 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
32850 rm -f conftest.$ac_objext
32851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32852 (eval $ac_compile) 2>&5
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); } &&
32856 { ac_try='test -s conftest.$ac_objext'
32857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858 (eval $ac_try) 2>&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); }; }; then
32862 glibcxx_cv_func__float_trig_use=yes
32864 echo "$as_me: failed program was:" >&5
32865 sed 's/^/| /' conftest.$ac_ext >&5
32867 glibcxx_cv_func__float_trig_use=no
32869 rm -f conftest.$ac_objext conftest.$ac_ext
32871 ac_cpp='$CPP $CPPFLAGS'
32872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
32879 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
32880 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
32890 for ac_func in _acosf _asinf _atanf \
32891 _cosf _sinf _tanf \
32892 _coshf _sinhf _tanhf
32894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32895 echo "$as_me:$LINENO: checking for $ac_func" >&5
32896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32897 if eval "test \"\${$as_ac_var+set}\" = set"; then
32898 echo $ECHO_N "(cached) $ECHO_C" >&6
32900 cat >conftest.$ac_ext <<_ACEOF
32901 #line $LINENO "configure"
32904 cat confdefs.h >>conftest.$ac_ext
32905 cat >>conftest.$ac_ext <<_ACEOF
32906 /* end confdefs.h. */
32907 /* System header to define __stub macros and hopefully few prototypes,
32908 which can conflict with char $ac_func (); below.
32909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32910 <limits.h> exists even on freestanding compilers. */
32912 # include <limits.h>
32914 # include <assert.h>
32916 /* Override any gcc2 internal prototype to avoid an error. */
32921 /* We use char because int might match the return type of a gcc2
32922 builtin and then its argument prototype would still apply. */
32924 /* The GNU C library defines this for functions which it implements
32925 to always fail with ENOSYS. Some functions are actually named
32926 something starting with __ and the normal name is an alias. */
32927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32930 char (*f) () = $ac_func;
32939 return f != $ac_func;
32944 rm -f conftest.$ac_objext conftest$ac_exeext
32945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32946 (eval $ac_link) 2>&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } &&
32950 { ac_try='test -s conftest$ac_exeext'
32951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32952 (eval $ac_try) 2>&5
32954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32955 (exit $ac_status); }; }; then
32956 eval "$as_ac_var=yes"
32958 echo "$as_me: failed program was:" >&5
32959 sed 's/^/| /' conftest.$ac_ext >&5
32961 eval "$as_ac_var=no"
32963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32967 if test `eval echo '${'$as_ac_var'}'` = yes; then
32968 cat >>confdefs.h <<_ACEOF
32969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32978 echo "$as_me:$LINENO: checking for _float round functions" >&5
32979 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
32980 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
32981 echo $ECHO_N "(cached) $ECHO_C" >&6
32987 ac_cpp='$CXXCPP $CPPFLAGS'
32988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32992 cat >conftest.$ac_ext <<_ACEOF
32993 #line $LINENO "configure"
32996 cat confdefs.h >>conftest.$ac_ext
32997 cat >>conftest.$ac_ext <<_ACEOF
32998 /* end confdefs.h. */
33003 `for x in _ceilf _floorf; do echo "$x (0);"; done`
33008 rm -f conftest.$ac_objext
33009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33010 (eval $ac_compile) 2>&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); } &&
33014 { ac_try='test -s conftest.$ac_objext'
33015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33016 (eval $ac_try) 2>&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; }; then
33020 glibcxx_cv_func__float_round_use=yes
33022 echo "$as_me: failed program was:" >&5
33023 sed 's/^/| /' conftest.$ac_ext >&5
33025 glibcxx_cv_func__float_round_use=no
33027 rm -f conftest.$ac_objext conftest.$ac_ext
33029 ac_cpp='$CPP $CPPFLAGS'
33030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33036 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
33037 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
33038 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33041 for ac_func in _ceilf _floorf
33043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33044 echo "$as_me:$LINENO: checking for $ac_func" >&5
33045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33046 if eval "test \"\${$as_ac_var+set}\" = set"; then
33047 echo $ECHO_N "(cached) $ECHO_C" >&6
33049 cat >conftest.$ac_ext <<_ACEOF
33050 #line $LINENO "configure"
33053 cat confdefs.h >>conftest.$ac_ext
33054 cat >>conftest.$ac_ext <<_ACEOF
33055 /* end confdefs.h. */
33056 /* System header to define __stub macros and hopefully few prototypes,
33057 which can conflict with char $ac_func (); below.
33058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33059 <limits.h> exists even on freestanding compilers. */
33061 # include <limits.h>
33063 # include <assert.h>
33065 /* Override any gcc2 internal prototype to avoid an error. */
33070 /* We use char because int might match the return type of a gcc2
33071 builtin and then its argument prototype would still apply. */
33073 /* The GNU C library defines this for functions which it implements
33074 to always fail with ENOSYS. Some functions are actually named
33075 something starting with __ and the normal name is an alias. */
33076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33079 char (*f) () = $ac_func;
33088 return f != $ac_func;
33093 rm -f conftest.$ac_objext conftest$ac_exeext
33094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33095 (eval $ac_link) 2>&5
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); } &&
33099 { ac_try='test -s conftest$ac_exeext'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; }; then
33105 eval "$as_ac_var=yes"
33107 echo "$as_me: failed program was:" >&5
33108 sed 's/^/| /' conftest.$ac_ext >&5
33110 eval "$as_ac_var=no"
33112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33116 if test `eval echo '${'$as_ac_var'}'` = yes; then
33117 cat >>confdefs.h <<_ACEOF
33118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33128 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
33129 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
33130 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
33131 echo $ECHO_N "(cached) $ECHO_C" >&6
33137 ac_cpp='$CXXCPP $CPPFLAGS'
33138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33142 cat >conftest.$ac_ext <<_ACEOF
33143 #line $LINENO "configure"
33146 cat confdefs.h >>conftest.$ac_ext
33147 cat >>conftest.$ac_ext <<_ACEOF
33148 /* end confdefs.h. */
33153 `for x in _acosl _asinl _atanl \
33154 _cosl _sinl _tanl \
33155 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
33160 rm -f conftest.$ac_objext
33161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33162 (eval $ac_compile) 2>&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); } &&
33166 { ac_try='test -s conftest.$ac_objext'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; }; then
33172 glibcxx_cv_func__long_double_trig_use=yes
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33177 glibcxx_cv_func__long_double_trig_use=no
33179 rm -f conftest.$ac_objext conftest.$ac_ext
33181 ac_cpp='$CPP $CPPFLAGS'
33182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
33189 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
33190 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33200 for ac_func in _acosl _asinl _atanl \
33201 _cosl _sinl _tanl \
33202 _coshl _sinhl _tanhl
33204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33205 echo "$as_me:$LINENO: checking for $ac_func" >&5
33206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33207 if eval "test \"\${$as_ac_var+set}\" = set"; then
33208 echo $ECHO_N "(cached) $ECHO_C" >&6
33210 cat >conftest.$ac_ext <<_ACEOF
33211 #line $LINENO "configure"
33214 cat confdefs.h >>conftest.$ac_ext
33215 cat >>conftest.$ac_ext <<_ACEOF
33216 /* end confdefs.h. */
33217 /* System header to define __stub macros and hopefully few prototypes,
33218 which can conflict with char $ac_func (); below.
33219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33220 <limits.h> exists even on freestanding compilers. */
33222 # include <limits.h>
33224 # include <assert.h>
33226 /* Override any gcc2 internal prototype to avoid an error. */
33231 /* We use char because int might match the return type of a gcc2
33232 builtin and then its argument prototype would still apply. */
33234 /* The GNU C library defines this for functions which it implements
33235 to always fail with ENOSYS. Some functions are actually named
33236 something starting with __ and the normal name is an alias. */
33237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33240 char (*f) () = $ac_func;
33249 return f != $ac_func;
33254 rm -f conftest.$ac_objext conftest$ac_exeext
33255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33256 (eval $ac_link) 2>&5
33258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33259 (exit $ac_status); } &&
33260 { ac_try='test -s conftest$ac_exeext'
33261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33262 (eval $ac_try) 2>&5
33264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33265 (exit $ac_status); }; }; then
33266 eval "$as_ac_var=yes"
33268 echo "$as_me: failed program was:" >&5
33269 sed 's/^/| /' conftest.$ac_ext >&5
33271 eval "$as_ac_var=no"
33273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33277 if test `eval echo '${'$as_ac_var'}'` = yes; then
33278 cat >>confdefs.h <<_ACEOF
33279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33288 echo "$as_me:$LINENO: checking for _long double round functions" >&5
33289 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
33290 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
33291 echo $ECHO_N "(cached) $ECHO_C" >&6
33297 ac_cpp='$CXXCPP $CPPFLAGS'
33298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33302 cat >conftest.$ac_ext <<_ACEOF
33303 #line $LINENO "configure"
33306 cat confdefs.h >>conftest.$ac_ext
33307 cat >>conftest.$ac_ext <<_ACEOF
33308 /* end confdefs.h. */
33313 `for x in _ceill _floorl; do echo "$x (0);"; done`
33318 rm -f conftest.$ac_objext
33319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33320 (eval $ac_compile) 2>&5
33322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33323 (exit $ac_status); } &&
33324 { ac_try='test -s conftest.$ac_objext'
33325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33326 (eval $ac_try) 2>&5
33328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33329 (exit $ac_status); }; }; then
33330 glibcxx_cv_func__long_double_round_use=yes
33332 echo "$as_me: failed program was:" >&5
33333 sed 's/^/| /' conftest.$ac_ext >&5
33335 glibcxx_cv_func__long_double_round_use=no
33337 rm -f conftest.$ac_objext conftest.$ac_ext
33339 ac_cpp='$CPP $CPPFLAGS'
33340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33346 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
33347 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
33348 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33351 for ac_func in _ceill _floorl
33353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33354 echo "$as_me:$LINENO: checking for $ac_func" >&5
33355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33356 if eval "test \"\${$as_ac_var+set}\" = set"; then
33357 echo $ECHO_N "(cached) $ECHO_C" >&6
33359 cat >conftest.$ac_ext <<_ACEOF
33360 #line $LINENO "configure"
33363 cat confdefs.h >>conftest.$ac_ext
33364 cat >>conftest.$ac_ext <<_ACEOF
33365 /* end confdefs.h. */
33366 /* System header to define __stub macros and hopefully few prototypes,
33367 which can conflict with char $ac_func (); below.
33368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33369 <limits.h> exists even on freestanding compilers. */
33371 # include <limits.h>
33373 # include <assert.h>
33375 /* Override any gcc2 internal prototype to avoid an error. */
33380 /* We use char because int might match the return type of a gcc2
33381 builtin and then its argument prototype would still apply. */
33383 /* The GNU C library defines this for functions which it implements
33384 to always fail with ENOSYS. Some functions are actually named
33385 something starting with __ and the normal name is an alias. */
33386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33389 char (*f) () = $ac_func;
33398 return f != $ac_func;
33403 rm -f conftest.$ac_objext conftest$ac_exeext
33404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33405 (eval $ac_link) 2>&5
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } &&
33409 { ac_try='test -s conftest$ac_exeext'
33410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33411 (eval $ac_try) 2>&5
33413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33414 (exit $ac_status); }; }; then
33415 eval "$as_ac_var=yes"
33417 echo "$as_me: failed program was:" >&5
33418 sed 's/^/| /' conftest.$ac_ext >&5
33420 eval "$as_ac_var=no"
33422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33426 if test `eval echo '${'$as_ac_var'}'` = yes; then
33427 cat >>confdefs.h <<_ACEOF
33428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33437 LIBS="$ac_save_LIBS"
33438 CXXFLAGS="$ac_save_CXXFLAGS"
33442 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
33443 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
33444 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
33445 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
33446 echo $ECHO_N "(cached) $ECHO_C" >&6
33452 ac_cpp='$CXXCPP $CPPFLAGS'
33453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33457 cat >conftest.$ac_ext <<_ACEOF
33458 #line $LINENO "configure"
33461 cat confdefs.h >>conftest.$ac_ext
33462 cat >>conftest.$ac_ext <<_ACEOF
33463 /* end confdefs.h. */
33473 rm -f conftest.$ac_objext
33474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33475 (eval $ac_compile) 2>&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); } &&
33479 { ac_try='test -s conftest.$ac_objext'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; }; then
33485 glibcxx_cv_func___builtin_abs_use=yes
33487 echo "$as_me: failed program was:" >&5
33488 sed 's/^/| /' conftest.$ac_ext >&5
33490 glibcxx_cv_func___builtin_abs_use=no
33492 rm -f conftest.$ac_objext conftest.$ac_ext
33494 ac_cpp='$CPP $CPPFLAGS'
33495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33503 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
33504 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
33505 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
33506 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
33507 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
33508 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
33509 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
33510 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 cat >conftest.$ac_ext <<_ACEOF
33514 #line $LINENO "configure"
33517 cat confdefs.h >>conftest.$ac_ext
33518 cat >>conftest.$ac_ext <<_ACEOF
33519 /* end confdefs.h. */
33529 rm -f conftest.$ac_objext conftest$ac_exeext
33530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33531 (eval $ac_link) 2>&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); } &&
33535 { ac_try='test -s conftest$ac_exeext'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; }; then
33541 glibcxx_cv_func___builtin_abs_link=yes
33543 echo "$as_me: failed program was:" >&5
33544 sed 's/^/| /' conftest.$ac_ext >&5
33546 glibcxx_cv_func___builtin_abs_link=no
33548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
33554 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
33555 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
33556 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
33557 cat >>confdefs.h <<_ACEOF
33558 #define ${ac_tr_func} 1
33565 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
33566 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
33567 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
33568 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
33569 echo $ECHO_N "(cached) $ECHO_C" >&6
33575 ac_cpp='$CXXCPP $CPPFLAGS'
33576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33580 cat >conftest.$ac_ext <<_ACEOF
33581 #line $LINENO "configure"
33584 cat confdefs.h >>conftest.$ac_ext
33585 cat >>conftest.$ac_ext <<_ACEOF
33586 /* end confdefs.h. */
33591 __builtin_fabsf(0);
33596 rm -f conftest.$ac_objext
33597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33598 (eval $ac_compile) 2>&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); } &&
33602 { ac_try='test -s conftest.$ac_objext'
33603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33604 (eval $ac_try) 2>&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); }; }; then
33608 glibcxx_cv_func___builtin_fabsf_use=yes
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.$ac_ext >&5
33613 glibcxx_cv_func___builtin_fabsf_use=no
33615 rm -f conftest.$ac_objext conftest.$ac_ext
33617 ac_cpp='$CPP $CPPFLAGS'
33618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33626 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
33627 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
33628 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
33629 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
33630 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
33631 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
33632 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
33633 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 cat >conftest.$ac_ext <<_ACEOF
33637 #line $LINENO "configure"
33640 cat confdefs.h >>conftest.$ac_ext
33641 cat >>conftest.$ac_ext <<_ACEOF
33642 /* end confdefs.h. */
33647 __builtin_fabsf(0);
33652 rm -f conftest.$ac_objext conftest$ac_exeext
33653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33654 (eval $ac_link) 2>&5
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); } &&
33658 { ac_try='test -s conftest$ac_exeext'
33659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33660 (eval $ac_try) 2>&5
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); }; }; then
33664 glibcxx_cv_func___builtin_fabsf_link=yes
33666 echo "$as_me: failed program was:" >&5
33667 sed 's/^/| /' conftest.$ac_ext >&5
33669 glibcxx_cv_func___builtin_fabsf_link=no
33671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33676 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
33677 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
33678 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
33679 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
33680 cat >>confdefs.h <<_ACEOF
33681 #define ${ac_tr_func} 1
33688 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
33689 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
33690 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
33691 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
33692 echo $ECHO_N "(cached) $ECHO_C" >&6
33698 ac_cpp='$CXXCPP $CPPFLAGS'
33699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33703 cat >conftest.$ac_ext <<_ACEOF
33704 #line $LINENO "configure"
33707 cat confdefs.h >>conftest.$ac_ext
33708 cat >>conftest.$ac_ext <<_ACEOF
33709 /* end confdefs.h. */
33719 rm -f conftest.$ac_objext
33720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33721 (eval $ac_compile) 2>&5
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); } &&
33725 { ac_try='test -s conftest.$ac_objext'
33726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33727 (eval $ac_try) 2>&5
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; }; then
33731 glibcxx_cv_func___builtin_fabs_use=yes
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.$ac_ext >&5
33736 glibcxx_cv_func___builtin_fabs_use=no
33738 rm -f conftest.$ac_objext conftest.$ac_ext
33740 ac_cpp='$CPP $CPPFLAGS'
33741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33749 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
33750 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
33751 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
33752 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
33753 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
33754 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
33755 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 cat >conftest.$ac_ext <<_ACEOF
33760 #line $LINENO "configure"
33763 cat confdefs.h >>conftest.$ac_ext
33764 cat >>conftest.$ac_ext <<_ACEOF
33765 /* end confdefs.h. */
33775 rm -f conftest.$ac_objext conftest$ac_exeext
33776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33777 (eval $ac_link) 2>&5
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); } &&
33781 { ac_try='test -s conftest$ac_exeext'
33782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33783 (eval $ac_try) 2>&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); }; }; then
33787 glibcxx_cv_func___builtin_fabs_link=yes
33789 echo "$as_me: failed program was:" >&5
33790 sed 's/^/| /' conftest.$ac_ext >&5
33792 glibcxx_cv_func___builtin_fabs_link=no
33794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33799 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
33800 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
33801 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
33802 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
33803 cat >>confdefs.h <<_ACEOF
33804 #define ${ac_tr_func} 1
33811 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
33812 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
33813 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
33814 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
33815 echo $ECHO_N "(cached) $ECHO_C" >&6
33821 ac_cpp='$CXXCPP $CPPFLAGS'
33822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33826 cat >conftest.$ac_ext <<_ACEOF
33827 #line $LINENO "configure"
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33837 __builtin_fabsl(0);
33842 rm -f conftest.$ac_objext
33843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33844 (eval $ac_compile) 2>&5
33846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847 (exit $ac_status); } &&
33848 { ac_try='test -s conftest.$ac_objext'
33849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33850 (eval $ac_try) 2>&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); }; }; then
33854 glibcxx_cv_func___builtin_fabsl_use=yes
33856 echo "$as_me: failed program was:" >&5
33857 sed 's/^/| /' conftest.$ac_ext >&5
33859 glibcxx_cv_func___builtin_fabsl_use=no
33861 rm -f conftest.$ac_objext conftest.$ac_ext
33863 ac_cpp='$CPP $CPPFLAGS'
33864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33872 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
33873 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
33874 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
33875 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
33876 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
33877 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
33878 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
33879 echo $ECHO_N "(cached) $ECHO_C" >&6
33882 cat >conftest.$ac_ext <<_ACEOF
33883 #line $LINENO "configure"
33886 cat confdefs.h >>conftest.$ac_ext
33887 cat >>conftest.$ac_ext <<_ACEOF
33888 /* end confdefs.h. */
33893 __builtin_fabsl(0);
33898 rm -f conftest.$ac_objext conftest$ac_exeext
33899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33900 (eval $ac_link) 2>&5
33902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33903 (exit $ac_status); } &&
33904 { ac_try='test -s conftest$ac_exeext'
33905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33906 (eval $ac_try) 2>&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); }; }; then
33910 glibcxx_cv_func___builtin_fabsl_link=yes
33912 echo "$as_me: failed program was:" >&5
33913 sed 's/^/| /' conftest.$ac_ext >&5
33915 glibcxx_cv_func___builtin_fabsl_link=no
33917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33922 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
33923 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
33924 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
33925 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
33926 cat >>confdefs.h <<_ACEOF
33927 #define ${ac_tr_func} 1
33934 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
33935 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
33936 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
33937 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
33938 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 ac_cpp='$CXXCPP $CPPFLAGS'
33945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33949 cat >conftest.$ac_ext <<_ACEOF
33950 #line $LINENO "configure"
33953 cat confdefs.h >>conftest.$ac_ext
33954 cat >>conftest.$ac_ext <<_ACEOF
33955 /* end confdefs.h. */
33965 rm -f conftest.$ac_objext
33966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33967 (eval $ac_compile) 2>&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); } &&
33971 { ac_try='test -s conftest.$ac_objext'
33972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33973 (eval $ac_try) 2>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; }; then
33977 glibcxx_cv_func___builtin_labs_use=yes
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.$ac_ext >&5
33982 glibcxx_cv_func___builtin_labs_use=no
33984 rm -f conftest.$ac_objext conftest.$ac_ext
33986 ac_cpp='$CPP $CPPFLAGS'
33987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33995 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
33996 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
33997 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
33998 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
33999 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
34000 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
34001 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
34002 echo $ECHO_N "(cached) $ECHO_C" >&6
34005 cat >conftest.$ac_ext <<_ACEOF
34006 #line $LINENO "configure"
34009 cat confdefs.h >>conftest.$ac_ext
34010 cat >>conftest.$ac_ext <<_ACEOF
34011 /* end confdefs.h. */
34021 rm -f conftest.$ac_objext conftest$ac_exeext
34022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34023 (eval $ac_link) 2>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); } &&
34027 { ac_try='test -s conftest$ac_exeext'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; }; then
34033 glibcxx_cv_func___builtin_labs_link=yes
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.$ac_ext >&5
34038 glibcxx_cv_func___builtin_labs_link=no
34040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34045 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
34046 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
34047 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
34048 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
34049 cat >>confdefs.h <<_ACEOF
34050 #define ${ac_tr_func} 1
34058 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
34059 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
34060 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
34061 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 ac_cpp='$CXXCPP $CPPFLAGS'
34069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34073 cat >conftest.$ac_ext <<_ACEOF
34074 #line $LINENO "configure"
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34084 __builtin_sqrtf(0);
34089 rm -f conftest.$ac_objext
34090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34091 (eval $ac_compile) 2>&5
34093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34094 (exit $ac_status); } &&
34095 { ac_try='test -s conftest.$ac_objext'
34096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34097 (eval $ac_try) 2>&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); }; }; then
34101 glibcxx_cv_func___builtin_sqrtf_use=yes
34103 echo "$as_me: failed program was:" >&5
34104 sed 's/^/| /' conftest.$ac_ext >&5
34106 glibcxx_cv_func___builtin_sqrtf_use=no
34108 rm -f conftest.$ac_objext conftest.$ac_ext
34110 ac_cpp='$CPP $CPPFLAGS'
34111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34119 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
34120 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
34121 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
34122 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
34123 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
34124 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
34125 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
34126 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 cat >conftest.$ac_ext <<_ACEOF
34130 #line $LINENO "configure"
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34140 __builtin_sqrtf(0);
34145 rm -f conftest.$ac_objext conftest$ac_exeext
34146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34147 (eval $ac_link) 2>&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); } &&
34151 { ac_try='test -s conftest$ac_exeext'
34152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34153 (eval $ac_try) 2>&5
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); }; }; then
34157 glibcxx_cv_func___builtin_sqrtf_link=yes
34159 echo "$as_me: failed program was:" >&5
34160 sed 's/^/| /' conftest.$ac_ext >&5
34162 glibcxx_cv_func___builtin_sqrtf_link=no
34164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34169 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
34170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
34171 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
34172 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
34173 cat >>confdefs.h <<_ACEOF
34174 #define ${ac_tr_func} 1
34181 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
34182 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
34183 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
34184 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
34185 echo $ECHO_N "(cached) $ECHO_C" >&6
34191 ac_cpp='$CXXCPP $CPPFLAGS'
34192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34196 cat >conftest.$ac_ext <<_ACEOF
34197 #line $LINENO "configure"
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34212 rm -f conftest.$ac_objext
34213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34214 (eval $ac_compile) 2>&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); } &&
34218 { ac_try='test -s conftest.$ac_objext'
34219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34220 (eval $ac_try) 2>&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); }; }; then
34224 glibcxx_cv_func___builtin_sqrt_use=yes
34226 echo "$as_me: failed program was:" >&5
34227 sed 's/^/| /' conftest.$ac_ext >&5
34229 glibcxx_cv_func___builtin_sqrt_use=no
34231 rm -f conftest.$ac_objext conftest.$ac_ext
34233 ac_cpp='$CPP $CPPFLAGS'
34234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34242 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
34243 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
34244 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
34245 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
34246 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
34247 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
34248 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
34249 echo $ECHO_N "(cached) $ECHO_C" >&6
34252 cat >conftest.$ac_ext <<_ACEOF
34253 #line $LINENO "configure"
34256 cat confdefs.h >>conftest.$ac_ext
34257 cat >>conftest.$ac_ext <<_ACEOF
34258 /* end confdefs.h. */
34268 rm -f conftest.$ac_objext conftest$ac_exeext
34269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34270 (eval $ac_link) 2>&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } &&
34274 { ac_try='test -s conftest$ac_exeext'
34275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34276 (eval $ac_try) 2>&5
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); }; }; then
34280 glibcxx_cv_func___builtin_sqrt_link=yes
34282 echo "$as_me: failed program was:" >&5
34283 sed 's/^/| /' conftest.$ac_ext >&5
34285 glibcxx_cv_func___builtin_sqrt_link=no
34287 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34292 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
34293 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
34294 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
34295 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
34296 cat >>confdefs.h <<_ACEOF
34297 #define ${ac_tr_func} 1
34304 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
34305 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
34306 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
34307 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
34308 echo $ECHO_N "(cached) $ECHO_C" >&6
34314 ac_cpp='$CXXCPP $CPPFLAGS'
34315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34319 cat >conftest.$ac_ext <<_ACEOF
34320 #line $LINENO "configure"
34323 cat confdefs.h >>conftest.$ac_ext
34324 cat >>conftest.$ac_ext <<_ACEOF
34325 /* end confdefs.h. */
34330 __builtin_sqrtl(0);
34335 rm -f conftest.$ac_objext
34336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34337 (eval $ac_compile) 2>&5
34339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 (exit $ac_status); } &&
34341 { ac_try='test -s conftest.$ac_objext'
34342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34343 (eval $ac_try) 2>&5
34345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346 (exit $ac_status); }; }; then
34347 glibcxx_cv_func___builtin_sqrtl_use=yes
34349 echo "$as_me: failed program was:" >&5
34350 sed 's/^/| /' conftest.$ac_ext >&5
34352 glibcxx_cv_func___builtin_sqrtl_use=no
34354 rm -f conftest.$ac_objext conftest.$ac_ext
34356 ac_cpp='$CPP $CPPFLAGS'
34357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34365 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
34366 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
34367 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
34368 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
34369 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
34370 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
34371 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
34372 echo $ECHO_N "(cached) $ECHO_C" >&6
34375 cat >conftest.$ac_ext <<_ACEOF
34376 #line $LINENO "configure"
34379 cat confdefs.h >>conftest.$ac_ext
34380 cat >>conftest.$ac_ext <<_ACEOF
34381 /* end confdefs.h. */
34386 __builtin_sqrtl(0);
34391 rm -f conftest.$ac_objext conftest$ac_exeext
34392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34393 (eval $ac_link) 2>&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } &&
34397 { ac_try='test -s conftest$ac_exeext'
34398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34399 (eval $ac_try) 2>&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); }; }; then
34403 glibcxx_cv_func___builtin_sqrtl_link=yes
34405 echo "$as_me: failed program was:" >&5
34406 sed 's/^/| /' conftest.$ac_ext >&5
34408 glibcxx_cv_func___builtin_sqrtl_link=no
34410 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34415 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
34416 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
34417 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
34418 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
34419 cat >>confdefs.h <<_ACEOF
34420 #define ${ac_tr_func} 1
34428 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
34429 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
34430 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
34431 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
34432 echo $ECHO_N "(cached) $ECHO_C" >&6
34438 ac_cpp='$CXXCPP $CPPFLAGS'
34439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34443 cat >conftest.$ac_ext <<_ACEOF
34444 #line $LINENO "configure"
34447 cat confdefs.h >>conftest.$ac_ext
34448 cat >>conftest.$ac_ext <<_ACEOF
34449 /* end confdefs.h. */
34459 rm -f conftest.$ac_objext
34460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34461 (eval $ac_compile) 2>&5
34463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34464 (exit $ac_status); } &&
34465 { ac_try='test -s conftest.$ac_objext'
34466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34467 (eval $ac_try) 2>&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); }; }; then
34471 glibcxx_cv_func___builtin_sinf_use=yes
34473 echo "$as_me: failed program was:" >&5
34474 sed 's/^/| /' conftest.$ac_ext >&5
34476 glibcxx_cv_func___builtin_sinf_use=no
34478 rm -f conftest.$ac_objext conftest.$ac_ext
34480 ac_cpp='$CPP $CPPFLAGS'
34481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34489 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
34490 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
34491 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
34492 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
34493 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
34494 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
34495 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
34496 echo $ECHO_N "(cached) $ECHO_C" >&6
34499 cat >conftest.$ac_ext <<_ACEOF
34500 #line $LINENO "configure"
34503 cat confdefs.h >>conftest.$ac_ext
34504 cat >>conftest.$ac_ext <<_ACEOF
34505 /* end confdefs.h. */
34515 rm -f conftest.$ac_objext conftest$ac_exeext
34516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34517 (eval $ac_link) 2>&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } &&
34521 { ac_try='test -s conftest$ac_exeext'
34522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34523 (eval $ac_try) 2>&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); }; }; then
34527 glibcxx_cv_func___builtin_sinf_link=yes
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34532 glibcxx_cv_func___builtin_sinf_link=no
34534 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34539 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
34540 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
34541 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
34542 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
34543 cat >>confdefs.h <<_ACEOF
34544 #define ${ac_tr_func} 1
34551 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
34552 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
34553 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
34554 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
34555 echo $ECHO_N "(cached) $ECHO_C" >&6
34561 ac_cpp='$CXXCPP $CPPFLAGS'
34562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34566 cat >conftest.$ac_ext <<_ACEOF
34567 #line $LINENO "configure"
34570 cat confdefs.h >>conftest.$ac_ext
34571 cat >>conftest.$ac_ext <<_ACEOF
34572 /* end confdefs.h. */
34582 rm -f conftest.$ac_objext
34583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34584 (eval $ac_compile) 2>&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); } &&
34588 { ac_try='test -s conftest.$ac_objext'
34589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34590 (eval $ac_try) 2>&5
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); }; }; then
34594 glibcxx_cv_func___builtin_sin_use=yes
34596 echo "$as_me: failed program was:" >&5
34597 sed 's/^/| /' conftest.$ac_ext >&5
34599 glibcxx_cv_func___builtin_sin_use=no
34601 rm -f conftest.$ac_objext conftest.$ac_ext
34603 ac_cpp='$CPP $CPPFLAGS'
34604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34612 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
34613 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
34614 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
34615 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
34616 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
34617 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
34618 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
34619 echo $ECHO_N "(cached) $ECHO_C" >&6
34622 cat >conftest.$ac_ext <<_ACEOF
34623 #line $LINENO "configure"
34626 cat confdefs.h >>conftest.$ac_ext
34627 cat >>conftest.$ac_ext <<_ACEOF
34628 /* end confdefs.h. */
34638 rm -f conftest.$ac_objext conftest$ac_exeext
34639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34640 (eval $ac_link) 2>&5
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); } &&
34644 { ac_try='test -s conftest$ac_exeext'
34645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34646 (eval $ac_try) 2>&5
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); }; }; then
34650 glibcxx_cv_func___builtin_sin_link=yes
34652 echo "$as_me: failed program was:" >&5
34653 sed 's/^/| /' conftest.$ac_ext >&5
34655 glibcxx_cv_func___builtin_sin_link=no
34657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34662 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
34663 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
34664 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
34665 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
34666 cat >>confdefs.h <<_ACEOF
34667 #define ${ac_tr_func} 1
34674 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
34675 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
34676 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
34677 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
34678 echo $ECHO_N "(cached) $ECHO_C" >&6
34684 ac_cpp='$CXXCPP $CPPFLAGS'
34685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34689 cat >conftest.$ac_ext <<_ACEOF
34690 #line $LINENO "configure"
34693 cat confdefs.h >>conftest.$ac_ext
34694 cat >>conftest.$ac_ext <<_ACEOF
34695 /* end confdefs.h. */
34705 rm -f conftest.$ac_objext
34706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34707 (eval $ac_compile) 2>&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); } &&
34711 { ac_try='test -s conftest.$ac_objext'
34712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713 (eval $ac_try) 2>&5
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); }; }; then
34717 glibcxx_cv_func___builtin_sinl_use=yes
34719 echo "$as_me: failed program was:" >&5
34720 sed 's/^/| /' conftest.$ac_ext >&5
34722 glibcxx_cv_func___builtin_sinl_use=no
34724 rm -f conftest.$ac_objext conftest.$ac_ext
34726 ac_cpp='$CPP $CPPFLAGS'
34727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34735 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
34736 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
34737 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
34738 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
34739 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
34740 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
34741 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
34742 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 cat >conftest.$ac_ext <<_ACEOF
34746 #line $LINENO "configure"
34749 cat confdefs.h >>conftest.$ac_ext
34750 cat >>conftest.$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34761 rm -f conftest.$ac_objext conftest$ac_exeext
34762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34763 (eval $ac_link) 2>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } &&
34767 { ac_try='test -s conftest$ac_exeext'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; }; then
34773 glibcxx_cv_func___builtin_sinl_link=yes
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.$ac_ext >&5
34778 glibcxx_cv_func___builtin_sinl_link=no
34780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34785 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
34786 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
34787 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
34788 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
34789 cat >>confdefs.h <<_ACEOF
34790 #define ${ac_tr_func} 1
34798 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
34799 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
34800 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
34801 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34808 ac_cpp='$CXXCPP $CPPFLAGS'
34809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34813 cat >conftest.$ac_ext <<_ACEOF
34814 #line $LINENO "configure"
34817 cat confdefs.h >>conftest.$ac_ext
34818 cat >>conftest.$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34829 rm -f conftest.$ac_objext
34830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34831 (eval $ac_compile) 2>&5
34833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34834 (exit $ac_status); } &&
34835 { ac_try='test -s conftest.$ac_objext'
34836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34837 (eval $ac_try) 2>&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); }; }; then
34841 glibcxx_cv_func___builtin_cosf_use=yes
34843 echo "$as_me: failed program was:" >&5
34844 sed 's/^/| /' conftest.$ac_ext >&5
34846 glibcxx_cv_func___builtin_cosf_use=no
34848 rm -f conftest.$ac_objext conftest.$ac_ext
34850 ac_cpp='$CPP $CPPFLAGS'
34851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34859 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
34860 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
34861 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
34862 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
34863 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
34864 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
34865 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
34866 echo $ECHO_N "(cached) $ECHO_C" >&6
34869 cat >conftest.$ac_ext <<_ACEOF
34870 #line $LINENO "configure"
34873 cat confdefs.h >>conftest.$ac_ext
34874 cat >>conftest.$ac_ext <<_ACEOF
34875 /* end confdefs.h. */
34885 rm -f conftest.$ac_objext conftest$ac_exeext
34886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34887 (eval $ac_link) 2>&5
34889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890 (exit $ac_status); } &&
34891 { ac_try='test -s conftest$ac_exeext'
34892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34893 (eval $ac_try) 2>&5
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); }; }; then
34897 glibcxx_cv_func___builtin_cosf_link=yes
34899 echo "$as_me: failed program was:" >&5
34900 sed 's/^/| /' conftest.$ac_ext >&5
34902 glibcxx_cv_func___builtin_cosf_link=no
34904 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34909 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
34910 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
34911 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
34912 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
34913 cat >>confdefs.h <<_ACEOF
34914 #define ${ac_tr_func} 1
34921 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
34922 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
34923 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
34924 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
34925 echo $ECHO_N "(cached) $ECHO_C" >&6
34931 ac_cpp='$CXXCPP $CPPFLAGS'
34932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34936 cat >conftest.$ac_ext <<_ACEOF
34937 #line $LINENO "configure"
34940 cat confdefs.h >>conftest.$ac_ext
34941 cat >>conftest.$ac_ext <<_ACEOF
34942 /* end confdefs.h. */
34952 rm -f conftest.$ac_objext
34953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34954 (eval $ac_compile) 2>&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); } &&
34958 { ac_try='test -s conftest.$ac_objext'
34959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34960 (eval $ac_try) 2>&5
34962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34963 (exit $ac_status); }; }; then
34964 glibcxx_cv_func___builtin_cos_use=yes
34966 echo "$as_me: failed program was:" >&5
34967 sed 's/^/| /' conftest.$ac_ext >&5
34969 glibcxx_cv_func___builtin_cos_use=no
34971 rm -f conftest.$ac_objext conftest.$ac_ext
34973 ac_cpp='$CPP $CPPFLAGS'
34974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34982 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
34983 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
34984 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
34985 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
34986 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
34987 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
34988 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34992 cat >conftest.$ac_ext <<_ACEOF
34993 #line $LINENO "configure"
34996 cat confdefs.h >>conftest.$ac_ext
34997 cat >>conftest.$ac_ext <<_ACEOF
34998 /* end confdefs.h. */
35008 rm -f conftest.$ac_objext conftest$ac_exeext
35009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35010 (eval $ac_link) 2>&5
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); } &&
35014 { ac_try='test -s conftest$ac_exeext'
35015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35016 (eval $ac_try) 2>&5
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); }; }; then
35020 glibcxx_cv_func___builtin_cos_link=yes
35022 echo "$as_me: failed program was:" >&5
35023 sed 's/^/| /' conftest.$ac_ext >&5
35025 glibcxx_cv_func___builtin_cos_link=no
35027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35032 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
35033 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
35034 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
35035 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
35036 cat >>confdefs.h <<_ACEOF
35037 #define ${ac_tr_func} 1
35044 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
35045 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
35046 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
35047 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
35048 echo $ECHO_N "(cached) $ECHO_C" >&6
35054 ac_cpp='$CXXCPP $CPPFLAGS'
35055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35059 cat >conftest.$ac_ext <<_ACEOF
35060 #line $LINENO "configure"
35063 cat confdefs.h >>conftest.$ac_ext
35064 cat >>conftest.$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35075 rm -f conftest.$ac_objext
35076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35077 (eval $ac_compile) 2>&5
35079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35080 (exit $ac_status); } &&
35081 { ac_try='test -s conftest.$ac_objext'
35082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35083 (eval $ac_try) 2>&5
35085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35086 (exit $ac_status); }; }; then
35087 glibcxx_cv_func___builtin_cosl_use=yes
35089 echo "$as_me: failed program was:" >&5
35090 sed 's/^/| /' conftest.$ac_ext >&5
35092 glibcxx_cv_func___builtin_cosl_use=no
35094 rm -f conftest.$ac_objext conftest.$ac_ext
35096 ac_cpp='$CPP $CPPFLAGS'
35097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35105 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
35106 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
35107 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
35108 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
35109 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
35110 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
35111 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
35112 echo $ECHO_N "(cached) $ECHO_C" >&6
35115 cat >conftest.$ac_ext <<_ACEOF
35116 #line $LINENO "configure"
35119 cat confdefs.h >>conftest.$ac_ext
35120 cat >>conftest.$ac_ext <<_ACEOF
35121 /* end confdefs.h. */
35131 rm -f conftest.$ac_objext conftest$ac_exeext
35132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35133 (eval $ac_link) 2>&5
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); } &&
35137 { ac_try='test -s conftest$ac_exeext'
35138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35139 (eval $ac_try) 2>&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); }; }; then
35143 glibcxx_cv_func___builtin_cosl_link=yes
35145 echo "$as_me: failed program was:" >&5
35146 sed 's/^/| /' conftest.$ac_ext >&5
35148 glibcxx_cv_func___builtin_cosl_link=no
35150 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35155 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
35156 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
35157 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
35158 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
35159 cat >>confdefs.h <<_ACEOF
35160 #define ${ac_tr_func} 1
35168 if test x$dummyvar = x"yes"; then
35169 cat >>confdefs.h <<\_ACEOF
35170 #define HAVE___BUILTIN_ABS 1
35173 cat >>confdefs.h <<\_ACEOF
35174 #define HAVE___BUILTIN_LABS 1
35177 cat >>confdefs.h <<\_ACEOF
35178 #define HAVE___BUILTIN_COS 1
35181 cat >>confdefs.h <<\_ACEOF
35182 #define HAVE___BUILTIN_COSF 1
35185 cat >>confdefs.h <<\_ACEOF
35186 #define HAVE___BUILTIN_COSL 1
35189 cat >>confdefs.h <<\_ACEOF
35190 #define HAVE___BUILTIN_FABS 1
35193 cat >>confdefs.h <<\_ACEOF
35194 #define HAVE___BUILTIN_FABSF 1
35197 cat >>confdefs.h <<\_ACEOF
35198 #define HAVE___BUILTIN_FABSL 1
35201 cat >>confdefs.h <<\_ACEOF
35202 #define HAVE___BUILTIN_SIN 1
35205 cat >>confdefs.h <<\_ACEOF
35206 #define HAVE___BUILTIN_SINF 1
35209 cat >>confdefs.h <<\_ACEOF
35210 #define HAVE___BUILTIN_SINL 1
35213 cat >>confdefs.h <<\_ACEOF
35214 #define HAVE___BUILTIN_SQRT 1
35217 cat >>confdefs.h <<\_ACEOF
35218 #define HAVE___BUILTIN_SQRTF 1
35221 cat >>confdefs.h <<\_ACEOF
35222 #define HAVE___BUILTIN_SQRTL 1
35229 echo "$as_me:$LINENO: checking for main in -lm" >&5
35230 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
35231 if test "${ac_cv_lib_m_main+set}" = set; then
35232 echo $ECHO_N "(cached) $ECHO_C" >&6
35234 ac_check_lib_save_LIBS=$LIBS
35236 cat >conftest.$ac_ext <<_ACEOF
35237 #line $LINENO "configure"
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35253 rm -f conftest.$ac_objext conftest$ac_exeext
35254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35255 (eval $ac_link) 2>&5
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); } &&
35259 { ac_try='test -s conftest$ac_exeext'
35260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35261 (eval $ac_try) 2>&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); }; }; then
35265 ac_cv_lib_m_main=yes
35267 echo "$as_me: failed program was:" >&5
35268 sed 's/^/| /' conftest.$ac_ext >&5
35270 ac_cv_lib_m_main=no
35272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35273 LIBS=$ac_check_lib_save_LIBS
35275 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
35276 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
35277 if test $ac_cv_lib_m_main = yes; then
35278 cat >>confdefs.h <<_ACEOF
35279 #define HAVE_LIBM 1
35288 for ac_func in nan copysignf
35290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35291 echo "$as_me:$LINENO: checking for $ac_func" >&5
35292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35293 if eval "test \"\${$as_ac_var+set}\" = set"; then
35294 echo $ECHO_N "(cached) $ECHO_C" >&6
35296 cat >conftest.$ac_ext <<_ACEOF
35297 #line $LINENO "configure"
35300 cat confdefs.h >>conftest.$ac_ext
35301 cat >>conftest.$ac_ext <<_ACEOF
35302 /* end confdefs.h. */
35303 /* System header to define __stub macros and hopefully few prototypes,
35304 which can conflict with char $ac_func (); below.
35305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35306 <limits.h> exists even on freestanding compilers. */
35308 # include <limits.h>
35310 # include <assert.h>
35312 /* Override any gcc2 internal prototype to avoid an error. */
35317 /* We use char because int might match the return type of a gcc2
35318 builtin and then its argument prototype would still apply. */
35320 /* The GNU C library defines this for functions which it implements
35321 to always fail with ENOSYS. Some functions are actually named
35322 something starting with __ and the normal name is an alias. */
35323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35326 char (*f) () = $ac_func;
35335 return f != $ac_func;
35340 rm -f conftest.$ac_objext conftest$ac_exeext
35341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35342 (eval $ac_link) 2>&5
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); } &&
35346 { ac_try='test -s conftest$ac_exeext'
35347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35348 (eval $ac_try) 2>&5
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); }; }; then
35352 eval "$as_ac_var=yes"
35354 echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.$ac_ext >&5
35357 eval "$as_ac_var=no"
35359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35363 if test `eval echo '${'$as_ac_var'}'` = yes; then
35364 cat >>confdefs.h <<_ACEOF
35365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35369 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
35375 for ac_func in __signbit
35377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35378 echo "$as_me:$LINENO: checking for $ac_func" >&5
35379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35380 if eval "test \"\${$as_ac_var+set}\" = set"; then
35381 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 cat >conftest.$ac_ext <<_ACEOF
35384 #line $LINENO "configure"
35387 cat confdefs.h >>conftest.$ac_ext
35388 cat >>conftest.$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35390 /* System header to define __stub macros and hopefully few prototypes,
35391 which can conflict with char $ac_func (); below.
35392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35393 <limits.h> exists even on freestanding compilers. */
35395 # include <limits.h>
35397 # include <assert.h>
35399 /* Override any gcc2 internal prototype to avoid an error. */
35404 /* We use char because int might match the return type of a gcc2
35405 builtin and then its argument prototype would still apply. */
35407 /* The GNU C library defines this for functions which it implements
35408 to always fail with ENOSYS. Some functions are actually named
35409 something starting with __ and the normal name is an alias. */
35410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35413 char (*f) () = $ac_func;
35422 return f != $ac_func;
35427 rm -f conftest.$ac_objext conftest$ac_exeext
35428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35429 (eval $ac_link) 2>&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } &&
35433 { ac_try='test -s conftest$ac_exeext'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; }; then
35439 eval "$as_ac_var=yes"
35441 echo "$as_me: failed program was:" >&5
35442 sed 's/^/| /' conftest.$ac_ext >&5
35444 eval "$as_ac_var=no"
35446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35450 if test `eval echo '${'$as_ac_var'}'` = yes; then
35451 cat >>confdefs.h <<_ACEOF
35452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35456 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
35461 for ac_func in __signbitf
35463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35464 echo "$as_me:$LINENO: checking for $ac_func" >&5
35465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35466 if eval "test \"\${$as_ac_var+set}\" = set"; then
35467 echo $ECHO_N "(cached) $ECHO_C" >&6
35469 cat >conftest.$ac_ext <<_ACEOF
35470 #line $LINENO "configure"
35473 cat confdefs.h >>conftest.$ac_ext
35474 cat >>conftest.$ac_ext <<_ACEOF
35475 /* end confdefs.h. */
35476 /* System header to define __stub macros and hopefully few prototypes,
35477 which can conflict with char $ac_func (); below.
35478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35479 <limits.h> exists even on freestanding compilers. */
35481 # include <limits.h>
35483 # include <assert.h>
35485 /* Override any gcc2 internal prototype to avoid an error. */
35490 /* We use char because int might match the return type of a gcc2
35491 builtin and then its argument prototype would still apply. */
35493 /* The GNU C library defines this for functions which it implements
35494 to always fail with ENOSYS. Some functions are actually named
35495 something starting with __ and the normal name is an alias. */
35496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35499 char (*f) () = $ac_func;
35508 return f != $ac_func;
35513 rm -f conftest.$ac_objext conftest$ac_exeext
35514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35515 (eval $ac_link) 2>&5
35517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518 (exit $ac_status); } &&
35519 { ac_try='test -s conftest$ac_exeext'
35520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35521 (eval $ac_try) 2>&5
35523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524 (exit $ac_status); }; }; then
35525 eval "$as_ac_var=yes"
35527 echo "$as_me: failed program was:" >&5
35528 sed 's/^/| /' conftest.$ac_ext >&5
35530 eval "$as_ac_var=no"
35532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35536 if test `eval echo '${'$as_ac_var'}'` = yes; then
35537 cat >>confdefs.h <<_ACEOF
35538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35542 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
35547 if test x$ac_cv_func_copysignl = x"yes"; then
35549 for ac_func in __signbitl
35551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35552 echo "$as_me:$LINENO: checking for $ac_func" >&5
35553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35554 if eval "test \"\${$as_ac_var+set}\" = set"; then
35555 echo $ECHO_N "(cached) $ECHO_C" >&6
35557 cat >conftest.$ac_ext <<_ACEOF
35558 #line $LINENO "configure"
35561 cat confdefs.h >>conftest.$ac_ext
35562 cat >>conftest.$ac_ext <<_ACEOF
35563 /* end confdefs.h. */
35564 /* System header to define __stub macros and hopefully few prototypes,
35565 which can conflict with char $ac_func (); below.
35566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35567 <limits.h> exists even on freestanding compilers. */
35569 # include <limits.h>
35571 # include <assert.h>
35573 /* Override any gcc2 internal prototype to avoid an error. */
35578 /* We use char because int might match the return type of a gcc2
35579 builtin and then its argument prototype would still apply. */
35581 /* The GNU C library defines this for functions which it implements
35582 to always fail with ENOSYS. Some functions are actually named
35583 something starting with __ and the normal name is an alias. */
35584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35587 char (*f) () = $ac_func;
35596 return f != $ac_func;
35601 rm -f conftest.$ac_objext conftest$ac_exeext
35602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35603 (eval $ac_link) 2>&5
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); } &&
35607 { ac_try='test -s conftest$ac_exeext'
35608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35609 (eval $ac_try) 2>&5
35611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35612 (exit $ac_status); }; }; then
35613 eval "$as_ac_var=yes"
35615 echo "$as_me: failed program was:" >&5
35616 sed 's/^/| /' conftest.$ac_ext >&5
35618 eval "$as_ac_var=no"
35620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35624 if test `eval echo '${'$as_ac_var'}'` = yes; then
35625 cat >>confdefs.h <<_ACEOF
35626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35630 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
35636 if test -n "$LIBMATHOBJS"; then
35642 # Test wchar.h for mbstate_t, which is needed for char_traits and
35643 # others even if wchar_t support is not on.
35644 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35645 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35646 cat >conftest.$ac_ext <<_ACEOF
35647 #line $LINENO "configure"
35650 cat confdefs.h >>conftest.$ac_ext
35651 cat >>conftest.$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35657 mbstate_t teststate;
35662 rm -f conftest.$ac_objext
35663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35664 (eval $ac_compile) 2>&5
35666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35667 (exit $ac_status); } &&
35668 { ac_try='test -s conftest.$ac_objext'
35669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35670 (eval $ac_try) 2>&5
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); }; }; then
35676 echo "$as_me: failed program was:" >&5
35677 sed 's/^/| /' conftest.$ac_ext >&5
35681 rm -f conftest.$ac_objext conftest.$ac_ext
35682 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
35683 echo "${ECHO_T}$have_mbstate_t" >&6
35684 if test x"$have_mbstate_t" = xyes; then
35685 cat >>confdefs.h <<\_ACEOF
35686 #define HAVE_MBSTATE_T 1
35691 # Sanity check for existence of ISO C99 headers for extended encoding.
35693 for ac_header in wchar.h
35695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35697 echo "$as_me:$LINENO: checking for $ac_header" >&5
35698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35700 echo $ECHO_N "(cached) $ECHO_C" >&6
35702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35705 # Is the header compilable?
35706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35708 cat >conftest.$ac_ext <<_ACEOF
35709 #line $LINENO "configure"
35712 cat confdefs.h >>conftest.$ac_ext
35713 cat >>conftest.$ac_ext <<_ACEOF
35714 /* end confdefs.h. */
35715 $ac_includes_default
35716 #include <$ac_header>
35718 rm -f conftest.$ac_objext
35719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35720 (eval $ac_compile) 2>&5
35722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723 (exit $ac_status); } &&
35724 { ac_try='test -s conftest.$ac_objext'
35725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35726 (eval $ac_try) 2>&5
35728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35729 (exit $ac_status); }; }; then
35730 ac_header_compiler=yes
35732 echo "$as_me: failed program was:" >&5
35733 sed 's/^/| /' conftest.$ac_ext >&5
35735 ac_header_compiler=no
35737 rm -f conftest.$ac_objext conftest.$ac_ext
35738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35739 echo "${ECHO_T}$ac_header_compiler" >&6
35741 # Is the header present?
35742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35744 cat >conftest.$ac_ext <<_ACEOF
35745 #line $LINENO "configure"
35748 cat confdefs.h >>conftest.$ac_ext
35749 cat >>conftest.$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35751 #include <$ac_header>
35753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35756 grep -v '^ *+' conftest.er1 >conftest.err
35758 cat conftest.err >&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); } >/dev/null; then
35761 if test -s conftest.err; then
35762 ac_cpp_err=$ac_c_preproc_warn_flag
35769 if test -z "$ac_cpp_err"; then
35770 ac_header_preproc=yes
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.$ac_ext >&5
35775 ac_header_preproc=no
35777 rm -f conftest.err conftest.$ac_ext
35778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35779 echo "${ECHO_T}$ac_header_preproc" >&6
35781 # So? What about this header?
35782 case $ac_header_compiler:$ac_header_preproc in
35784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35790 ## ------------------------------------ ##
35791 ## Report this to bug-autoconf@gnu.org. ##
35792 ## ------------------------------------ ##
35795 sed "s/^/$as_me: WARNING: /" >&2
35798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35806 ## ------------------------------------ ##
35807 ## Report this to bug-autoconf@gnu.org. ##
35808 ## ------------------------------------ ##
35811 sed "s/^/$as_me: WARNING: /" >&2
35814 echo "$as_me:$LINENO: checking for $ac_header" >&5
35815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35817 echo $ECHO_N "(cached) $ECHO_C" >&6
35819 eval "$as_ac_Header=$ac_header_preproc"
35821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35826 cat >>confdefs.h <<_ACEOF
35827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35837 for ac_header in wctype.h
35839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35841 echo "$as_me:$LINENO: checking for $ac_header" >&5
35842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35844 echo $ECHO_N "(cached) $ECHO_C" >&6
35846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35849 # Is the header compilable?
35850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35852 cat >conftest.$ac_ext <<_ACEOF
35853 #line $LINENO "configure"
35856 cat confdefs.h >>conftest.$ac_ext
35857 cat >>conftest.$ac_ext <<_ACEOF
35858 /* end confdefs.h. */
35859 $ac_includes_default
35860 #include <$ac_header>
35862 rm -f conftest.$ac_objext
35863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35864 (eval $ac_compile) 2>&5
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); } &&
35868 { ac_try='test -s conftest.$ac_objext'
35869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35870 (eval $ac_try) 2>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); }; }; then
35874 ac_header_compiler=yes
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.$ac_ext >&5
35879 ac_header_compiler=no
35881 rm -f conftest.$ac_objext conftest.$ac_ext
35882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35883 echo "${ECHO_T}$ac_header_compiler" >&6
35885 # Is the header present?
35886 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35888 cat >conftest.$ac_ext <<_ACEOF
35889 #line $LINENO "configure"
35892 cat confdefs.h >>conftest.$ac_ext
35893 cat >>conftest.$ac_ext <<_ACEOF
35894 /* end confdefs.h. */
35895 #include <$ac_header>
35897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35898 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35900 grep -v '^ *+' conftest.er1 >conftest.err
35902 cat conftest.err >&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); } >/dev/null; then
35905 if test -s conftest.err; then
35906 ac_cpp_err=$ac_c_preproc_warn_flag
35913 if test -z "$ac_cpp_err"; then
35914 ac_header_preproc=yes
35916 echo "$as_me: failed program was:" >&5
35917 sed 's/^/| /' conftest.$ac_ext >&5
35919 ac_header_preproc=no
35921 rm -f conftest.err conftest.$ac_ext
35922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35923 echo "${ECHO_T}$ac_header_preproc" >&6
35925 # So? What about this header?
35926 case $ac_header_compiler:$ac_header_preproc in
35928 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35934 ## ------------------------------------ ##
35935 ## Report this to bug-autoconf@gnu.org. ##
35936 ## ------------------------------------ ##
35939 sed "s/^/$as_me: WARNING: /" >&2
35942 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35943 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35944 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35945 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35950 ## ------------------------------------ ##
35951 ## Report this to bug-autoconf@gnu.org. ##
35952 ## ------------------------------------ ##
35955 sed "s/^/$as_me: WARNING: /" >&2
35958 echo "$as_me:$LINENO: checking for $ac_header" >&5
35959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35961 echo $ECHO_N "(cached) $ECHO_C" >&6
35963 eval "$as_ac_Header=$ac_header_preproc"
35965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35970 cat >>confdefs.h <<_ACEOF
35971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35973 ac_has_wctype_h=yes
35981 # Only continue checking if the ISO C99 headers exist and support is on.
35982 if test x"$ac_has_wchar_h" = xyes &&
35983 test x"$ac_has_wctype_h" = xyes &&
35984 test x"$enable_c_mbchar" != xno; then
35986 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
35987 # numeric_limits can instantiate type_traits<wchar_t>
35988 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
35989 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
35990 cat >conftest.$ac_ext <<_ACEOF
35991 #line $LINENO "configure"
35994 cat confdefs.h >>conftest.$ac_ext
35995 cat >>conftest.$ac_ext <<_ACEOF
35996 /* end confdefs.h. */
36001 int i = WCHAR_MIN; int j = WCHAR_MAX;
36006 rm -f conftest.$ac_objext
36007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36008 (eval $ac_compile) 2>&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); } &&
36012 { ac_try='test -s conftest.$ac_objext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 has_wchar_minmax=yes
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.$ac_ext >&5
36023 has_wchar_minmax=no
36025 rm -f conftest.$ac_objext conftest.$ac_ext
36026 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
36027 echo "${ECHO_T}$has_wchar_minmax" >&6
36029 # Test wchar.h for WEOF, which is what we use to determine whether
36030 # to specialize for char_traits<wchar_t> or not.
36031 echo "$as_me:$LINENO: checking for WEOF" >&5
36032 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
36033 cat >conftest.$ac_ext <<_ACEOF
36034 #line $LINENO "configure"
36037 cat confdefs.h >>conftest.$ac_ext
36038 cat >>conftest.$ac_ext <<_ACEOF
36039 /* end confdefs.h. */
36042 #include <stddef.h>
36051 rm -f conftest.$ac_objext
36052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36053 (eval $ac_compile) 2>&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); } &&
36057 { ac_try='test -s conftest.$ac_objext'
36058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36059 (eval $ac_try) 2>&5
36061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36062 (exit $ac_status); }; }; then
36065 echo "$as_me: failed program was:" >&5
36066 sed 's/^/| /' conftest.$ac_ext >&5
36070 rm -f conftest.$ac_objext conftest.$ac_ext
36071 echo "$as_me:$LINENO: result: $has_weof" >&5
36072 echo "${ECHO_T}$has_weof" >&6
36074 # Tests for wide character functions used in char_traits<wchar_t>.
36082 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
36084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36085 echo "$as_me:$LINENO: checking for $ac_func" >&5
36086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36087 if eval "test \"\${$as_ac_var+set}\" = set"; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 cat >conftest.$ac_ext <<_ACEOF
36091 #line $LINENO "configure"
36094 cat confdefs.h >>conftest.$ac_ext
36095 cat >>conftest.$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36097 /* System header to define __stub macros and hopefully few prototypes,
36098 which can conflict with char $ac_func (); below.
36099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36100 <limits.h> exists even on freestanding compilers. */
36102 # include <limits.h>
36104 # include <assert.h>
36106 /* Override any gcc2 internal prototype to avoid an error. */
36111 /* We use char because int might match the return type of a gcc2
36112 builtin and then its argument prototype would still apply. */
36114 /* The GNU C library defines this for functions which it implements
36115 to always fail with ENOSYS. Some functions are actually named
36116 something starting with __ and the normal name is an alias. */
36117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36120 char (*f) () = $ac_func;
36129 return f != $ac_func;
36134 rm -f conftest.$ac_objext conftest$ac_exeext
36135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36136 (eval $ac_link) 2>&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } &&
36140 { ac_try='test -s conftest$ac_exeext'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; }; then
36146 eval "$as_ac_var=yes"
36148 echo "$as_me: failed program was:" >&5
36149 sed 's/^/| /' conftest.$ac_ext >&5
36151 eval "$as_ac_var=no"
36153 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36157 if test `eval echo '${'$as_ac_var'}'` = yes; then
36158 cat >>confdefs.h <<_ACEOF
36159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36168 # Checks for names injected into std:: by the c_std headers.
36219 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
36220 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
36221 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
36222 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
36223 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
36224 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
36226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36227 echo "$as_me:$LINENO: checking for $ac_func" >&5
36228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36229 if eval "test \"\${$as_ac_var+set}\" = set"; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36232 cat >conftest.$ac_ext <<_ACEOF
36233 #line $LINENO "configure"
36236 cat confdefs.h >>conftest.$ac_ext
36237 cat >>conftest.$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36239 /* System header to define __stub macros and hopefully few prototypes,
36240 which can conflict with char $ac_func (); below.
36241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36242 <limits.h> exists even on freestanding compilers. */
36244 # include <limits.h>
36246 # include <assert.h>
36248 /* Override any gcc2 internal prototype to avoid an error. */
36253 /* We use char because int might match the return type of a gcc2
36254 builtin and then its argument prototype would still apply. */
36256 /* The GNU C library defines this for functions which it implements
36257 to always fail with ENOSYS. Some functions are actually named
36258 something starting with __ and the normal name is an alias. */
36259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36262 char (*f) () = $ac_func;
36271 return f != $ac_func;
36276 rm -f conftest.$ac_objext conftest$ac_exeext
36277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36278 (eval $ac_link) 2>&5
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); } &&
36282 { ac_try='test -s conftest$ac_exeext'
36283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36284 (eval $ac_try) 2>&5
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); }; }; then
36288 eval "$as_ac_var=yes"
36290 echo "$as_me: failed program was:" >&5
36291 sed 's/^/| /' conftest.$ac_ext >&5
36293 eval "$as_ac_var=no"
36295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36299 if test `eval echo '${'$as_ac_var'}'` = yes; then
36300 cat >>confdefs.h <<_ACEOF
36301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36310 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
36311 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
36312 if test x"$has_weof" = xyes &&
36313 test x"$has_wchar_minmax" = xyes &&
36314 test x"$ac_wfuncs" = xyes;
36316 ac_isoC99_wchar_t=yes
36318 ac_isoC99_wchar_t=no
36320 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
36321 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
36323 # Use iconv for wchar_t to char conversions. As such, check for
36324 # X/Open Portability Guide, version 2 features (XPG2).
36325 if test "${ac_cv_header_iconv_h+set}" = set; then
36326 echo "$as_me:$LINENO: checking for iconv.h" >&5
36327 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
36328 if test "${ac_cv_header_iconv_h+set}" = set; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36331 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
36332 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
36334 # Is the header compilable?
36335 echo "$as_me:$LINENO: checking iconv.h usability" >&5
36336 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
36337 cat >conftest.$ac_ext <<_ACEOF
36338 #line $LINENO "configure"
36341 cat confdefs.h >>conftest.$ac_ext
36342 cat >>conftest.$ac_ext <<_ACEOF
36343 /* end confdefs.h. */
36344 $ac_includes_default
36347 rm -f conftest.$ac_objext
36348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36349 (eval $ac_compile) 2>&5
36351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352 (exit $ac_status); } &&
36353 { ac_try='test -s conftest.$ac_objext'
36354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36355 (eval $ac_try) 2>&5
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); }; }; then
36359 ac_header_compiler=yes
36361 echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.$ac_ext >&5
36364 ac_header_compiler=no
36366 rm -f conftest.$ac_objext conftest.$ac_ext
36367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36368 echo "${ECHO_T}$ac_header_compiler" >&6
36370 # Is the header present?
36371 echo "$as_me:$LINENO: checking iconv.h presence" >&5
36372 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
36373 cat >conftest.$ac_ext <<_ACEOF
36374 #line $LINENO "configure"
36377 cat confdefs.h >>conftest.$ac_ext
36378 cat >>conftest.$ac_ext <<_ACEOF
36379 /* end confdefs.h. */
36382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36385 grep -v '^ *+' conftest.er1 >conftest.err
36387 cat conftest.err >&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); } >/dev/null; then
36390 if test -s conftest.err; then
36391 ac_cpp_err=$ac_c_preproc_warn_flag
36398 if test -z "$ac_cpp_err"; then
36399 ac_header_preproc=yes
36401 echo "$as_me: failed program was:" >&5
36402 sed 's/^/| /' conftest.$ac_ext >&5
36404 ac_header_preproc=no
36406 rm -f conftest.err conftest.$ac_ext
36407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36408 echo "${ECHO_T}$ac_header_preproc" >&6
36410 # So? What about this header?
36411 case $ac_header_compiler:$ac_header_preproc in
36413 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
36414 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
36415 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
36416 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
36419 ## ------------------------------------ ##
36420 ## Report this to bug-autoconf@gnu.org. ##
36421 ## ------------------------------------ ##
36424 sed "s/^/$as_me: WARNING: /" >&2
36427 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
36428 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
36429 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
36430 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
36431 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
36432 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
36435 ## ------------------------------------ ##
36436 ## Report this to bug-autoconf@gnu.org. ##
36437 ## ------------------------------------ ##
36440 sed "s/^/$as_me: WARNING: /" >&2
36443 echo "$as_me:$LINENO: checking for iconv.h" >&5
36444 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
36445 if test "${ac_cv_header_iconv_h+set}" = set; then
36446 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 ac_cv_header_iconv_h=$ac_header_preproc
36450 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
36451 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
36454 if test $ac_cv_header_iconv_h = yes; then
36461 if test "${ac_cv_header_langinfo_h+set}" = set; then
36462 echo "$as_me:$LINENO: checking for langinfo.h" >&5
36463 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
36464 if test "${ac_cv_header_langinfo_h+set}" = set; then
36465 echo $ECHO_N "(cached) $ECHO_C" >&6
36467 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
36468 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
36470 # Is the header compilable?
36471 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
36472 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
36473 cat >conftest.$ac_ext <<_ACEOF
36474 #line $LINENO "configure"
36477 cat confdefs.h >>conftest.$ac_ext
36478 cat >>conftest.$ac_ext <<_ACEOF
36479 /* end confdefs.h. */
36480 $ac_includes_default
36481 #include <langinfo.h>
36483 rm -f conftest.$ac_objext
36484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36485 (eval $ac_compile) 2>&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); } &&
36489 { ac_try='test -s conftest.$ac_objext'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; }; then
36495 ac_header_compiler=yes
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36500 ac_header_compiler=no
36502 rm -f conftest.$ac_objext conftest.$ac_ext
36503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36504 echo "${ECHO_T}$ac_header_compiler" >&6
36506 # Is the header present?
36507 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
36508 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
36509 cat >conftest.$ac_ext <<_ACEOF
36510 #line $LINENO "configure"
36513 cat confdefs.h >>conftest.$ac_ext
36514 cat >>conftest.$ac_ext <<_ACEOF
36515 /* end confdefs.h. */
36516 #include <langinfo.h>
36518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36521 grep -v '^ *+' conftest.er1 >conftest.err
36523 cat conftest.err >&5
36524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525 (exit $ac_status); } >/dev/null; then
36526 if test -s conftest.err; then
36527 ac_cpp_err=$ac_c_preproc_warn_flag
36534 if test -z "$ac_cpp_err"; then
36535 ac_header_preproc=yes
36537 echo "$as_me: failed program was:" >&5
36538 sed 's/^/| /' conftest.$ac_ext >&5
36540 ac_header_preproc=no
36542 rm -f conftest.err conftest.$ac_ext
36543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36544 echo "${ECHO_T}$ac_header_preproc" >&6
36546 # So? What about this header?
36547 case $ac_header_compiler:$ac_header_preproc in
36549 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
36550 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
36551 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
36552 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
36555 ## ------------------------------------ ##
36556 ## Report this to bug-autoconf@gnu.org. ##
36557 ## ------------------------------------ ##
36560 sed "s/^/$as_me: WARNING: /" >&2
36563 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
36564 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
36565 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
36566 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
36567 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
36568 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
36571 ## ------------------------------------ ##
36572 ## Report this to bug-autoconf@gnu.org. ##
36573 ## ------------------------------------ ##
36576 sed "s/^/$as_me: WARNING: /" >&2
36579 echo "$as_me:$LINENO: checking for langinfo.h" >&5
36580 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
36581 if test "${ac_cv_header_langinfo_h+set}" = set; then
36582 echo $ECHO_N "(cached) $ECHO_C" >&6
36584 ac_cv_header_langinfo_h=$ac_header_preproc
36586 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
36587 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
36590 if test $ac_cv_header_langinfo_h = yes; then
36591 ac_has_langinfo_h=yes
36593 ac_has_langinfo_h=no
36598 # Check for existence of libiconv.a providing XPG2 wchar_t support.
36599 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
36600 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
36601 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36604 ac_check_lib_save_LIBS=$LIBS
36605 LIBS="-liconv $LIBS"
36606 cat >conftest.$ac_ext <<_ACEOF
36607 #line $LINENO "configure"
36610 cat confdefs.h >>conftest.$ac_ext
36611 cat >>conftest.$ac_ext <<_ACEOF
36612 /* end confdefs.h. */
36614 /* Override any gcc2 internal prototype to avoid an error. */
36618 /* We use char because int might match the return type of a gcc2
36619 builtin and then its argument prototype would still apply. */
36629 rm -f conftest.$ac_objext conftest$ac_exeext
36630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36631 (eval $ac_link) 2>&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); } &&
36635 { ac_try='test -s conftest$ac_exeext'
36636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 (eval $ac_try) 2>&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; }; then
36641 ac_cv_lib_iconv_iconv=yes
36643 echo "$as_me: failed program was:" >&5
36644 sed 's/^/| /' conftest.$ac_ext >&5
36646 ac_cv_lib_iconv_iconv=no
36648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36649 LIBS=$ac_check_lib_save_LIBS
36651 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
36652 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
36653 if test $ac_cv_lib_iconv_iconv = yes; then
36657 ac_save_LIBS="$LIBS"
36658 LIBS="$LIBS $libiconv"
36664 for ac_func in iconv_open iconv_close iconv nl_langinfo
36666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36667 echo "$as_me:$LINENO: checking for $ac_func" >&5
36668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36669 if eval "test \"\${$as_ac_var+set}\" = set"; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36672 cat >conftest.$ac_ext <<_ACEOF
36673 #line $LINENO "configure"
36676 cat confdefs.h >>conftest.$ac_ext
36677 cat >>conftest.$ac_ext <<_ACEOF
36678 /* end confdefs.h. */
36679 /* System header to define __stub macros and hopefully few prototypes,
36680 which can conflict with char $ac_func (); below.
36681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36682 <limits.h> exists even on freestanding compilers. */
36684 # include <limits.h>
36686 # include <assert.h>
36688 /* Override any gcc2 internal prototype to avoid an error. */
36693 /* We use char because int might match the return type of a gcc2
36694 builtin and then its argument prototype would still apply. */
36696 /* The GNU C library defines this for functions which it implements
36697 to always fail with ENOSYS. Some functions are actually named
36698 something starting with __ and the normal name is an alias. */
36699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36702 char (*f) () = $ac_func;
36711 return f != $ac_func;
36716 rm -f conftest.$ac_objext conftest$ac_exeext
36717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36718 (eval $ac_link) 2>&5
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); } &&
36722 { ac_try='test -s conftest$ac_exeext'
36723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724 (eval $ac_try) 2>&5
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); }; }; then
36728 eval "$as_ac_var=yes"
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.$ac_ext >&5
36733 eval "$as_ac_var=no"
36735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36739 if test `eval echo '${'$as_ac_var'}'` = yes; then
36740 cat >>confdefs.h <<_ACEOF
36741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36750 LIBS="$ac_save_LIBS"
36752 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
36753 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
36754 if test x"$ac_has_iconv_h" = xyes &&
36755 test x"$ac_has_langinfo_h" = xyes &&
36756 test x"$ac_XPG2funcs" = xyes;
36758 ac_XPG2_wchar_t=yes
36762 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
36763 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
36765 # At the moment, only enable wchar_t specializations if all the
36766 # above support is present.
36767 if test x"$ac_isoC99_wchar_t" = xyes &&
36768 test x"$ac_XPG2_wchar_t" = xyes;
36770 cat >>confdefs.h <<\_ACEOF
36771 #define _GLIBCXX_USE_WCHAR_T 1
36777 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
36778 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
36779 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
36780 echo "${ECHO_T}$enable_wchar_t" >&6
36783 ac_test_CXXFLAGS="${CXXFLAGS+set}"
36784 ac_save_CXXFLAGS="$CXXFLAGS"
36785 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36788 echo "$as_me:$LINENO: checking for strtold declaration" >&5
36789 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
36790 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
36791 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
36792 echo $ECHO_N "(cached) $ECHO_C" >&6
36798 ac_cpp='$CXXCPP $CPPFLAGS'
36799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36803 cat >conftest.$ac_ext <<_ACEOF
36804 #line $LINENO "configure"
36807 cat confdefs.h >>conftest.$ac_ext
36808 cat >>conftest.$ac_ext <<_ACEOF
36809 /* end confdefs.h. */
36810 #include <stdlib.h>
36819 rm -f conftest.$ac_objext
36820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36821 (eval $ac_compile) 2>&5
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); } &&
36825 { ac_try='test -s conftest.$ac_objext'
36826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36827 (eval $ac_try) 2>&5
36829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36830 (exit $ac_status); }; }; then
36831 glibcxx_cv_func_strtold_use=yes
36833 echo "$as_me: failed program was:" >&5
36834 sed 's/^/| /' conftest.$ac_ext >&5
36836 glibcxx_cv_func_strtold_use=no
36838 rm -f conftest.$ac_objext conftest.$ac_ext
36840 ac_cpp='$CPP $CPPFLAGS'
36841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
36850 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
36851 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
36853 for ac_func in strtold
36855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36856 echo "$as_me:$LINENO: checking for $ac_func" >&5
36857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36858 if eval "test \"\${$as_ac_var+set}\" = set"; then
36859 echo $ECHO_N "(cached) $ECHO_C" >&6
36861 cat >conftest.$ac_ext <<_ACEOF
36862 #line $LINENO "configure"
36865 cat confdefs.h >>conftest.$ac_ext
36866 cat >>conftest.$ac_ext <<_ACEOF
36867 /* end confdefs.h. */
36868 /* System header to define __stub macros and hopefully few prototypes,
36869 which can conflict with char $ac_func (); below.
36870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36871 <limits.h> exists even on freestanding compilers. */
36873 # include <limits.h>
36875 # include <assert.h>
36877 /* Override any gcc2 internal prototype to avoid an error. */
36882 /* We use char because int might match the return type of a gcc2
36883 builtin and then its argument prototype would still apply. */
36885 /* The GNU C library defines this for functions which it implements
36886 to always fail with ENOSYS. Some functions are actually named
36887 something starting with __ and the normal name is an alias. */
36888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36891 char (*f) () = $ac_func;
36900 return f != $ac_func;
36905 rm -f conftest.$ac_objext conftest$ac_exeext
36906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36907 (eval $ac_link) 2>&5
36909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36910 (exit $ac_status); } &&
36911 { ac_try='test -s conftest$ac_exeext'
36912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36913 (eval $ac_try) 2>&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); }; }; then
36917 eval "$as_ac_var=yes"
36919 echo "$as_me: failed program was:" >&5
36920 sed 's/^/| /' conftest.$ac_ext >&5
36922 eval "$as_ac_var=no"
36924 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36928 if test `eval echo '${'$as_ac_var'}'` = yes; then
36929 cat >>confdefs.h <<_ACEOF
36930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36939 echo "$as_me:$LINENO: checking for strtof declaration" >&5
36940 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
36941 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
36942 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36949 ac_cpp='$CXXCPP $CPPFLAGS'
36950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36954 cat >conftest.$ac_ext <<_ACEOF
36955 #line $LINENO "configure"
36958 cat confdefs.h >>conftest.$ac_ext
36959 cat >>conftest.$ac_ext <<_ACEOF
36960 /* end confdefs.h. */
36961 #include <stdlib.h>
36970 rm -f conftest.$ac_objext
36971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36972 (eval $ac_compile) 2>&5
36974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36975 (exit $ac_status); } &&
36976 { ac_try='test -s conftest.$ac_objext'
36977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36978 (eval $ac_try) 2>&5
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); }; }; then
36982 glibcxx_cv_func_strtof_use=yes
36984 echo "$as_me: failed program was:" >&5
36985 sed 's/^/| /' conftest.$ac_ext >&5
36987 glibcxx_cv_func_strtof_use=no
36989 rm -f conftest.$ac_objext conftest.$ac_ext
36991 ac_cpp='$CPP $CPPFLAGS'
36992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
37001 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
37002 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37004 for ac_func in strtof
37006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37007 echo "$as_me:$LINENO: checking for $ac_func" >&5
37008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37009 if eval "test \"\${$as_ac_var+set}\" = set"; then
37010 echo $ECHO_N "(cached) $ECHO_C" >&6
37012 cat >conftest.$ac_ext <<_ACEOF
37013 #line $LINENO "configure"
37016 cat confdefs.h >>conftest.$ac_ext
37017 cat >>conftest.$ac_ext <<_ACEOF
37018 /* end confdefs.h. */
37019 /* System header to define __stub macros and hopefully few prototypes,
37020 which can conflict with char $ac_func (); below.
37021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37022 <limits.h> exists even on freestanding compilers. */
37024 # include <limits.h>
37026 # include <assert.h>
37028 /* Override any gcc2 internal prototype to avoid an error. */
37033 /* We use char because int might match the return type of a gcc2
37034 builtin and then its argument prototype would still apply. */
37036 /* The GNU C library defines this for functions which it implements
37037 to always fail with ENOSYS. Some functions are actually named
37038 something starting with __ and the normal name is an alias. */
37039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37042 char (*f) () = $ac_func;
37051 return f != $ac_func;
37056 rm -f conftest.$ac_objext conftest$ac_exeext
37057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37058 (eval $ac_link) 2>&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); } &&
37062 { ac_try='test -s conftest$ac_exeext'
37063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37064 (eval $ac_try) 2>&5
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); }; }; then
37068 eval "$as_ac_var=yes"
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37073 eval "$as_ac_var=no"
37075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37079 if test `eval echo '${'$as_ac_var'}'` = yes; then
37080 cat >>confdefs.h <<_ACEOF
37081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37090 for ac_func in drand48
37092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37093 echo "$as_me:$LINENO: checking for $ac_func" >&5
37094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37095 if eval "test \"\${$as_ac_var+set}\" = set"; then
37096 echo $ECHO_N "(cached) $ECHO_C" >&6
37098 cat >conftest.$ac_ext <<_ACEOF
37099 #line $LINENO "configure"
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37105 /* System header to define __stub macros and hopefully few prototypes,
37106 which can conflict with char $ac_func (); below.
37107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37108 <limits.h> exists even on freestanding compilers. */
37110 # include <limits.h>
37112 # include <assert.h>
37114 /* Override any gcc2 internal prototype to avoid an error. */
37119 /* We use char because int might match the return type of a gcc2
37120 builtin and then its argument prototype would still apply. */
37122 /* The GNU C library defines this for functions which it implements
37123 to always fail with ENOSYS. Some functions are actually named
37124 something starting with __ and the normal name is an alias. */
37125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37128 char (*f) () = $ac_func;
37137 return f != $ac_func;
37142 rm -f conftest.$ac_objext conftest$ac_exeext
37143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37144 (eval $ac_link) 2>&5
37146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147 (exit $ac_status); } &&
37148 { ac_try='test -s conftest$ac_exeext'
37149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37150 (eval $ac_try) 2>&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); }; }; then
37154 eval "$as_ac_var=yes"
37156 echo "$as_me: failed program was:" >&5
37157 sed 's/^/| /' conftest.$ac_ext >&5
37159 eval "$as_ac_var=no"
37161 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37165 if test `eval echo '${'$as_ac_var'}'` = yes; then
37166 cat >>confdefs.h <<_ACEOF
37167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37174 CXXFLAGS="$ac_save_CXXFLAGS"
37177 # For showmanyc_helper().
37180 for ac_header in sys/ioctl.h sys/filio.h
37182 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37184 echo "$as_me:$LINENO: checking for $ac_header" >&5
37185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37187 echo $ECHO_N "(cached) $ECHO_C" >&6
37189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37192 # Is the header compilable?
37193 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37194 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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. */
37202 $ac_includes_default
37203 #include <$ac_header>
37205 rm -f conftest.$ac_objext
37206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37207 (eval $ac_compile) 2>&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); } &&
37211 { ac_try='test -s conftest.$ac_objext'
37212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37213 (eval $ac_try) 2>&5
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); }; }; then
37217 ac_header_compiler=yes
37219 echo "$as_me: failed program was:" >&5
37220 sed 's/^/| /' conftest.$ac_ext >&5
37222 ac_header_compiler=no
37224 rm -f conftest.$ac_objext conftest.$ac_ext
37225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37226 echo "${ECHO_T}$ac_header_compiler" >&6
37228 # Is the header present?
37229 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37230 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37231 cat >conftest.$ac_ext <<_ACEOF
37232 #line $LINENO "configure"
37235 cat confdefs.h >>conftest.$ac_ext
37236 cat >>conftest.$ac_ext <<_ACEOF
37237 /* end confdefs.h. */
37238 #include <$ac_header>
37240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37243 grep -v '^ *+' conftest.er1 >conftest.err
37245 cat conftest.err >&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); } >/dev/null; then
37248 if test -s conftest.err; then
37249 ac_cpp_err=$ac_c_preproc_warn_flag
37256 if test -z "$ac_cpp_err"; then
37257 ac_header_preproc=yes
37259 echo "$as_me: failed program was:" >&5
37260 sed 's/^/| /' conftest.$ac_ext >&5
37262 ac_header_preproc=no
37264 rm -f conftest.err conftest.$ac_ext
37265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37266 echo "${ECHO_T}$ac_header_preproc" >&6
37268 # So? What about this header?
37269 case $ac_header_compiler:$ac_header_preproc in
37271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37272 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37277 ## ------------------------------------ ##
37278 ## Report this to bug-autoconf@gnu.org. ##
37279 ## ------------------------------------ ##
37282 sed "s/^/$as_me: WARNING: /" >&2
37285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37288 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37293 ## ------------------------------------ ##
37294 ## Report this to bug-autoconf@gnu.org. ##
37295 ## ------------------------------------ ##
37298 sed "s/^/$as_me: WARNING: /" >&2
37301 echo "$as_me:$LINENO: checking for $ac_header" >&5
37302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 eval "$as_ac_Header=$ac_header_preproc"
37308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37313 cat >>confdefs.h <<_ACEOF
37314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37322 if test "${glibcxx_cv_POLL+set}" = set; then
37323 echo $ECHO_N "(cached) $ECHO_C" >&6
37326 cat >conftest.$ac_ext <<_ACEOF
37327 #line $LINENO "configure"
37330 cat confdefs.h >>conftest.$ac_ext
37331 cat >>conftest.$ac_ext <<_ACEOF
37332 /* end confdefs.h. */
37337 struct pollfd pfd[1];
37338 pfd[0].events = POLLIN;
37344 rm -f conftest.$ac_objext
37345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37346 (eval $ac_compile) 2>&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); } &&
37350 { ac_try='test -s conftest.$ac_objext'
37351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37352 (eval $ac_try) 2>&5
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); }; }; then
37356 glibcxx_cv_POLL=yes
37358 echo "$as_me: failed program was:" >&5
37359 sed 's/^/| /' conftest.$ac_ext >&5
37363 rm -f conftest.$ac_objext conftest.$ac_ext
37367 if test $glibcxx_cv_POLL = yes; then
37368 cat >>confdefs.h <<\_ACEOF
37369 #define HAVE_POLL 1
37375 if test "${glibcxx_cv_S_ISREG+set}" = set; then
37376 echo $ECHO_N "(cached) $ECHO_C" >&6
37379 cat >conftest.$ac_ext <<_ACEOF
37380 #line $LINENO "configure"
37383 cat confdefs.h >>conftest.$ac_ext
37384 cat >>conftest.$ac_ext <<_ACEOF
37385 /* end confdefs.h. */
37386 #include <sys/stat.h>
37390 struct stat buffer;
37392 S_ISREG(buffer.st_mode);
37397 rm -f conftest.$ac_objext conftest$ac_exeext
37398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37399 (eval $ac_link) 2>&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } &&
37403 { ac_try='test -s conftest$ac_exeext'
37404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37405 (eval $ac_try) 2>&5
37407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37408 (exit $ac_status); }; }; then
37409 glibcxx_cv_S_ISREG=yes
37411 echo "$as_me: failed program was:" >&5
37412 sed 's/^/| /' conftest.$ac_ext >&5
37414 glibcxx_cv_S_ISREG=no
37416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37420 if test "${glibcxx_cv_S_IFREG+set}" = set; then
37421 echo $ECHO_N "(cached) $ECHO_C" >&6
37424 cat >conftest.$ac_ext <<_ACEOF
37425 #line $LINENO "configure"
37428 cat confdefs.h >>conftest.$ac_ext
37429 cat >>conftest.$ac_ext <<_ACEOF
37430 /* end confdefs.h. */
37431 #include <sys/stat.h>
37435 struct stat buffer;
37437 S_IFREG & buffer.st_mode;
37442 rm -f conftest.$ac_objext conftest$ac_exeext
37443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37444 (eval $ac_link) 2>&5
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); } &&
37448 { ac_try='test -s conftest$ac_exeext'
37449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37450 (eval $ac_try) 2>&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); }; }; then
37454 glibcxx_cv_S_IFREG=yes
37456 echo "$as_me: failed program was:" >&5
37457 sed 's/^/| /' conftest.$ac_ext >&5
37459 glibcxx_cv_S_IFREG=no
37461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37465 if test $glibcxx_cv_S_ISREG = yes; then
37466 cat >>confdefs.h <<\_ACEOF
37467 #define HAVE_S_ISREG 1
37470 elif test $glibcxx_cv_S_IFREG = yes; then
37471 cat >>confdefs.h <<\_ACEOF
37472 #define HAVE_S_IFREG 1
37480 for ac_header in sys/uio.h
37482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37484 echo "$as_me:$LINENO: checking for $ac_header" >&5
37485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37487 echo $ECHO_N "(cached) $ECHO_C" >&6
37489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37492 # Is the header compilable?
37493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37495 cat >conftest.$ac_ext <<_ACEOF
37496 #line $LINENO "configure"
37499 cat confdefs.h >>conftest.$ac_ext
37500 cat >>conftest.$ac_ext <<_ACEOF
37501 /* end confdefs.h. */
37502 $ac_includes_default
37503 #include <$ac_header>
37505 rm -f conftest.$ac_objext
37506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37507 (eval $ac_compile) 2>&5
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); } &&
37511 { ac_try='test -s conftest.$ac_objext'
37512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37513 (eval $ac_try) 2>&5
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); }; }; then
37517 ac_header_compiler=yes
37519 echo "$as_me: failed program was:" >&5
37520 sed 's/^/| /' conftest.$ac_ext >&5
37522 ac_header_compiler=no
37524 rm -f conftest.$ac_objext conftest.$ac_ext
37525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37526 echo "${ECHO_T}$ac_header_compiler" >&6
37528 # Is the header present?
37529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37531 cat >conftest.$ac_ext <<_ACEOF
37532 #line $LINENO "configure"
37535 cat confdefs.h >>conftest.$ac_ext
37536 cat >>conftest.$ac_ext <<_ACEOF
37537 /* end confdefs.h. */
37538 #include <$ac_header>
37540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37543 grep -v '^ *+' conftest.er1 >conftest.err
37545 cat conftest.err >&5
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); } >/dev/null; then
37548 if test -s conftest.err; then
37549 ac_cpp_err=$ac_c_preproc_warn_flag
37556 if test -z "$ac_cpp_err"; then
37557 ac_header_preproc=yes
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.$ac_ext >&5
37562 ac_header_preproc=no
37564 rm -f conftest.err conftest.$ac_ext
37565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37566 echo "${ECHO_T}$ac_header_preproc" >&6
37568 # So? What about this header?
37569 case $ac_header_compiler:$ac_header_preproc in
37571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37577 ## ------------------------------------ ##
37578 ## Report this to bug-autoconf@gnu.org. ##
37579 ## ------------------------------------ ##
37582 sed "s/^/$as_me: WARNING: /" >&2
37585 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37587 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37588 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37593 ## ------------------------------------ ##
37594 ## Report this to bug-autoconf@gnu.org. ##
37595 ## ------------------------------------ ##
37598 sed "s/^/$as_me: WARNING: /" >&2
37601 echo "$as_me:$LINENO: checking for $ac_header" >&5
37602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37604 echo $ECHO_N "(cached) $ECHO_C" >&6
37606 eval "$as_ac_Header=$ac_header_preproc"
37608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37613 cat >>confdefs.h <<_ACEOF
37614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37622 if test "${glibcxx_cv_WRITEV+set}" = set; then
37623 echo $ECHO_N "(cached) $ECHO_C" >&6
37626 cat >conftest.$ac_ext <<_ACEOF
37627 #line $LINENO "configure"
37630 cat confdefs.h >>conftest.$ac_ext
37631 cat >>conftest.$ac_ext <<_ACEOF
37632 /* end confdefs.h. */
37633 #include <sys/uio.h>
37637 struct iovec iov[2];
37643 rm -f conftest.$ac_objext
37644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37645 (eval $ac_compile) 2>&5
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); } &&
37649 { ac_try='test -s conftest.$ac_objext'
37650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37651 (eval $ac_try) 2>&5
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); }; }; then
37655 glibcxx_cv_WRITEV=yes
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.$ac_ext >&5
37660 glibcxx_cv_WRITEV=no
37662 rm -f conftest.$ac_objext conftest.$ac_ext
37666 if test $glibcxx_cv_WRITEV = yes; then
37667 cat >>confdefs.h <<\_ACEOF
37668 #define HAVE_WRITEV 1
37675 if test "${ac_cv_header_locale_h+set}" = set; then
37676 echo "$as_me:$LINENO: checking for locale.h" >&5
37677 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
37678 if test "${ac_cv_header_locale_h+set}" = set; then
37679 echo $ECHO_N "(cached) $ECHO_C" >&6
37681 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
37682 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
37684 # Is the header compilable?
37685 echo "$as_me:$LINENO: checking locale.h usability" >&5
37686 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
37687 cat >conftest.$ac_ext <<_ACEOF
37688 #line $LINENO "configure"
37691 cat confdefs.h >>conftest.$ac_ext
37692 cat >>conftest.$ac_ext <<_ACEOF
37693 /* end confdefs.h. */
37694 $ac_includes_default
37695 #include <locale.h>
37697 rm -f conftest.$ac_objext
37698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37699 (eval $ac_compile) 2>&5
37701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702 (exit $ac_status); } &&
37703 { ac_try='test -s conftest.$ac_objext'
37704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37705 (eval $ac_try) 2>&5
37707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37708 (exit $ac_status); }; }; then
37709 ac_header_compiler=yes
37711 echo "$as_me: failed program was:" >&5
37712 sed 's/^/| /' conftest.$ac_ext >&5
37714 ac_header_compiler=no
37716 rm -f conftest.$ac_objext conftest.$ac_ext
37717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37718 echo "${ECHO_T}$ac_header_compiler" >&6
37720 # Is the header present?
37721 echo "$as_me:$LINENO: checking locale.h presence" >&5
37722 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
37723 cat >conftest.$ac_ext <<_ACEOF
37724 #line $LINENO "configure"
37727 cat confdefs.h >>conftest.$ac_ext
37728 cat >>conftest.$ac_ext <<_ACEOF
37729 /* end confdefs.h. */
37730 #include <locale.h>
37732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37735 grep -v '^ *+' conftest.er1 >conftest.err
37737 cat conftest.err >&5
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); } >/dev/null; then
37740 if test -s conftest.err; then
37741 ac_cpp_err=$ac_c_preproc_warn_flag
37748 if test -z "$ac_cpp_err"; then
37749 ac_header_preproc=yes
37751 echo "$as_me: failed program was:" >&5
37752 sed 's/^/| /' conftest.$ac_ext >&5
37754 ac_header_preproc=no
37756 rm -f conftest.err conftest.$ac_ext
37757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37758 echo "${ECHO_T}$ac_header_preproc" >&6
37760 # So? What about this header?
37761 case $ac_header_compiler:$ac_header_preproc in
37763 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
37764 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37765 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
37766 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
37769 ## ------------------------------------ ##
37770 ## Report this to bug-autoconf@gnu.org. ##
37771 ## ------------------------------------ ##
37774 sed "s/^/$as_me: WARNING: /" >&2
37777 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
37778 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
37779 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
37780 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
37781 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
37782 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
37785 ## ------------------------------------ ##
37786 ## Report this to bug-autoconf@gnu.org. ##
37787 ## ------------------------------------ ##
37790 sed "s/^/$as_me: WARNING: /" >&2
37793 echo "$as_me:$LINENO: checking for locale.h" >&5
37794 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
37795 if test "${ac_cv_header_locale_h+set}" = set; then
37796 echo $ECHO_N "(cached) $ECHO_C" >&6
37798 ac_cv_header_locale_h=$ac_header_preproc
37800 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
37801 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
37804 if test $ac_cv_header_locale_h = yes; then
37806 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
37807 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
37808 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 cat >conftest.$ac_ext <<_ACEOF
37812 #line $LINENO "configure"
37815 cat confdefs.h >>conftest.$ac_ext
37816 cat >>conftest.$ac_ext <<_ACEOF
37817 /* end confdefs.h. */
37818 #include <locale.h>
37827 rm -f conftest.$ac_objext conftest$ac_exeext
37828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37829 (eval $ac_link) 2>&5
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); } &&
37833 { ac_try='test -s conftest$ac_exeext'
37834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37835 (eval $ac_try) 2>&5
37837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838 (exit $ac_status); }; }; then
37839 ac_cv_val_LC_MESSAGES=yes
37841 echo "$as_me: failed program was:" >&5
37842 sed 's/^/| /' conftest.$ac_ext >&5
37844 ac_cv_val_LC_MESSAGES=no
37846 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37848 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
37849 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
37850 if test $ac_cv_val_LC_MESSAGES = yes; then
37851 cat >>confdefs.h <<\_ACEOF
37852 #define HAVE_LC_MESSAGES 1
37862 cat >conftest.$ac_ext <<_ACEOF
37863 #line $LINENO "configure"
37866 cat confdefs.h >>conftest.$ac_ext
37867 cat >>conftest.$ac_ext <<_ACEOF
37868 /* end confdefs.h. */
37869 #include <setjmp.h>
37874 while (! sigsetjmp (env, 1))
37875 siglongjmp (env, 1);
37881 rm -f conftest.$ac_objext
37882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37883 (eval $ac_compile) 2>&5
37885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37886 (exit $ac_status); } &&
37887 { ac_try='test -s conftest.$ac_objext'
37888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37889 (eval $ac_try) 2>&5
37891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37892 (exit $ac_status); }; }; then
37894 cat >>confdefs.h <<\_ACEOF
37895 #define HAVE_SIGSETJMP 1
37899 echo "$as_me: failed program was:" >&5
37900 sed 's/^/| /' conftest.$ac_ext >&5
37903 rm -f conftest.$ac_objext conftest.$ac_ext
37907 for ac_header in stdlib.h unistd.h
37909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37911 echo "$as_me:$LINENO: checking for $ac_header" >&5
37912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37914 echo $ECHO_N "(cached) $ECHO_C" >&6
37916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37919 # Is the header compilable?
37920 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37922 cat >conftest.$ac_ext <<_ACEOF
37923 #line $LINENO "configure"
37926 cat confdefs.h >>conftest.$ac_ext
37927 cat >>conftest.$ac_ext <<_ACEOF
37928 /* end confdefs.h. */
37929 $ac_includes_default
37930 #include <$ac_header>
37932 rm -f conftest.$ac_objext
37933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37934 (eval $ac_compile) 2>&5
37936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37937 (exit $ac_status); } &&
37938 { ac_try='test -s conftest.$ac_objext'
37939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37940 (eval $ac_try) 2>&5
37942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37943 (exit $ac_status); }; }; then
37944 ac_header_compiler=yes
37946 echo "$as_me: failed program was:" >&5
37947 sed 's/^/| /' conftest.$ac_ext >&5
37949 ac_header_compiler=no
37951 rm -f conftest.$ac_objext conftest.$ac_ext
37952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37953 echo "${ECHO_T}$ac_header_compiler" >&6
37955 # Is the header present?
37956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37958 cat >conftest.$ac_ext <<_ACEOF
37959 #line $LINENO "configure"
37962 cat confdefs.h >>conftest.$ac_ext
37963 cat >>conftest.$ac_ext <<_ACEOF
37964 /* end confdefs.h. */
37965 #include <$ac_header>
37967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37970 grep -v '^ *+' conftest.er1 >conftest.err
37972 cat conftest.err >&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } >/dev/null; then
37975 if test -s conftest.err; then
37976 ac_cpp_err=$ac_c_preproc_warn_flag
37983 if test -z "$ac_cpp_err"; then
37984 ac_header_preproc=yes
37986 echo "$as_me: failed program was:" >&5
37987 sed 's/^/| /' conftest.$ac_ext >&5
37989 ac_header_preproc=no
37991 rm -f conftest.err conftest.$ac_ext
37992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37993 echo "${ECHO_T}$ac_header_preproc" >&6
37995 # So? What about this header?
37996 case $ac_header_compiler:$ac_header_preproc in
37998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38004 ## ------------------------------------ ##
38005 ## Report this to bug-autoconf@gnu.org. ##
38006 ## ------------------------------------ ##
38009 sed "s/^/$as_me: WARNING: /" >&2
38012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38020 ## ------------------------------------ ##
38021 ## Report this to bug-autoconf@gnu.org. ##
38022 ## ------------------------------------ ##
38025 sed "s/^/$as_me: WARNING: /" >&2
38028 echo "$as_me:$LINENO: checking for $ac_header" >&5
38029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38033 eval "$as_ac_Header=$ac_header_preproc"
38035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38040 cat >>confdefs.h <<_ACEOF
38041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38049 for ac_func in getpagesize
38051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38052 echo "$as_me:$LINENO: checking for $ac_func" >&5
38053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38054 if eval "test \"\${$as_ac_var+set}\" = set"; then
38055 echo $ECHO_N "(cached) $ECHO_C" >&6
38057 cat >conftest.$ac_ext <<_ACEOF
38058 #line $LINENO "configure"
38061 cat confdefs.h >>conftest.$ac_ext
38062 cat >>conftest.$ac_ext <<_ACEOF
38063 /* end confdefs.h. */
38064 /* System header to define __stub macros and hopefully few prototypes,
38065 which can conflict with char $ac_func (); below.
38066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38067 <limits.h> exists even on freestanding compilers. */
38069 # include <limits.h>
38071 # include <assert.h>
38073 /* Override any gcc2 internal prototype to avoid an error. */
38078 /* We use char because int might match the return type of a gcc2
38079 builtin and then its argument prototype would still apply. */
38081 /* The GNU C library defines this for functions which it implements
38082 to always fail with ENOSYS. Some functions are actually named
38083 something starting with __ and the normal name is an alias. */
38084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38087 char (*f) () = $ac_func;
38096 return f != $ac_func;
38101 rm -f conftest.$ac_objext conftest$ac_exeext
38102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38103 (eval $ac_link) 2>&5
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); } &&
38107 { ac_try='test -s conftest$ac_exeext'
38108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38109 (eval $ac_try) 2>&5
38111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38112 (exit $ac_status); }; }; then
38113 eval "$as_ac_var=yes"
38115 echo "$as_me: failed program was:" >&5
38116 sed 's/^/| /' conftest.$ac_ext >&5
38118 eval "$as_ac_var=no"
38120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38124 if test `eval echo '${'$as_ac_var'}'` = yes; then
38125 cat >>confdefs.h <<_ACEOF
38126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38132 echo "$as_me:$LINENO: checking for working mmap" >&5
38133 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
38134 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
38135 echo $ECHO_N "(cached) $ECHO_C" >&6
38137 if test "$cross_compiling" = yes; then
38138 ac_cv_func_mmap_fixed_mapped=no
38140 cat >conftest.$ac_ext <<_ACEOF
38141 #line $LINENO "configure"
38144 cat confdefs.h >>conftest.$ac_ext
38145 cat >>conftest.$ac_ext <<_ACEOF
38146 /* end confdefs.h. */
38147 $ac_includes_default
38148 /* malloc might have been renamed as rpl_malloc. */
38151 /* Thanks to Mike Haertel and Jim Avera for this test.
38152 Here is a matrix of mmap possibilities:
38153 mmap private not fixed
38154 mmap private fixed at somewhere currently unmapped
38155 mmap private fixed at somewhere already mapped
38156 mmap shared not fixed
38157 mmap shared fixed at somewhere currently unmapped
38158 mmap shared fixed at somewhere already mapped
38159 For private mappings, we should verify that changes cannot be read()
38160 back from the file, nor mmap's back from the file at a different
38161 address. (There have been systems where private was not correctly
38162 implemented like the infamous i386 svr4.0, and systems where the
38163 VM page cache was not coherent with the file system buffer cache
38164 like early versions of FreeBSD and possibly contemporary NetBSD.)
38165 For shared mappings, we should conversely verify that changes get
38166 propagated back to all the places they're supposed to be.
38168 Grep wants private fixed already mapped.
38169 The main things grep needs to know about mmap are:
38170 * does it exist and is it safe to write into the mmap'd area
38171 * how to use it (BSD variants) */
38174 #include <sys/mman.h>
38176 #if !STDC_HEADERS && !HAVE_STDLIB_H
38180 /* This mess was copied from the GNU getpagesize.h. */
38181 #if !HAVE_GETPAGESIZE
38182 /* Assume that all systems that can run configure have sys/param.h. */
38183 # if !HAVE_SYS_PARAM_H
38184 # define HAVE_SYS_PARAM_H 1
38187 # ifdef _SC_PAGESIZE
38188 # define getpagesize() sysconf(_SC_PAGESIZE)
38189 # else /* no _SC_PAGESIZE */
38190 # if HAVE_SYS_PARAM_H
38191 # include <sys/param.h>
38192 # ifdef EXEC_PAGESIZE
38193 # define getpagesize() EXEC_PAGESIZE
38194 # else /* no EXEC_PAGESIZE */
38196 # define getpagesize() NBPG * CLSIZE
38199 # endif /* no CLSIZE */
38200 # else /* no NBPG */
38202 # define getpagesize() NBPC
38203 # else /* no NBPC */
38205 # define getpagesize() PAGESIZE
38206 # endif /* PAGESIZE */
38207 # endif /* no NBPC */
38208 # endif /* no NBPG */
38209 # endif /* no EXEC_PAGESIZE */
38210 # else /* no HAVE_SYS_PARAM_H */
38211 # define getpagesize() 8192 /* punt totally */
38212 # endif /* no HAVE_SYS_PARAM_H */
38213 # endif /* no _SC_PAGESIZE */
38215 #endif /* no HAVE_GETPAGESIZE */
38220 char *data, *data2, *data3;
38224 pagesize = getpagesize ();
38226 /* First, make a file with some known garbage in it. */
38227 data = (char *) malloc (pagesize);
38230 for (i = 0; i < pagesize; ++i)
38231 *(data + i) = rand ();
38233 fd = creat ("conftest.mmap", 0600);
38236 if (write (fd, data, pagesize) != pagesize)
38240 /* Next, try to mmap the file at a fixed address which already has
38241 something else allocated at it. If we can, also make sure that
38242 we see the same garbage. */
38243 fd = open ("conftest.mmap", O_RDWR);
38246 data2 = (char *) malloc (2 * pagesize);
38249 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
38250 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
38251 MAP_PRIVATE | MAP_FIXED, fd, 0L))
38253 for (i = 0; i < pagesize; ++i)
38254 if (*(data + i) != *(data2 + i))
38257 /* Finally, make sure that changes to the mapped area do not
38258 percolate back to the file as seen by read(). (This is a bug on
38259 some variants of i386 svr4.0.) */
38260 for (i = 0; i < pagesize; ++i)
38261 *(data2 + i) = *(data2 + i) + 1;
38262 data3 = (char *) malloc (pagesize);
38265 if (read (fd, data3, pagesize) != pagesize)
38267 for (i = 0; i < pagesize; ++i)
38268 if (*(data + i) != *(data3 + i))
38274 rm -f conftest$ac_exeext
38275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38276 (eval $ac_link) 2>&5
38278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38281 (eval $ac_try) 2>&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); }; }; then
38285 ac_cv_func_mmap_fixed_mapped=yes
38287 echo "$as_me: program exited with status $ac_status" >&5
38288 echo "$as_me: failed program was:" >&5
38289 sed 's/^/| /' conftest.$ac_ext >&5
38291 ( exit $ac_status )
38292 ac_cv_func_mmap_fixed_mapped=no
38294 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38297 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
38298 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
38299 if test $ac_cv_func_mmap_fixed_mapped = yes; then
38301 cat >>confdefs.h <<\_ACEOF
38302 #define HAVE_MMAP 1
38306 rm -f conftest.mmap
38310 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
38313 # Check whether --enable-symvers or --disable-symvers was given.
38314 if test "${enable_symvers+set}" = set; then
38315 enableval="$enable_symvers"
38317 case "$enableval" in
38319 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
38320 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
38321 { (exit 1); exit 1; }; } ;;
38329 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
38330 # don't know enough about $LD to do tricks...
38332 # FIXME The following test is too strict, in theory.
38333 if test $enable_shared = no ||
38335 test x$glibcxx_gnu_ld_version = x; then
38339 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
38340 if test $enable_symvers != no; then
38341 echo "$as_me:$LINENO: checking for shared libgcc" >&5
38342 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
38343 ac_save_CFLAGS="$CFLAGS"
38345 cat >conftest.$ac_ext <<_ACEOF
38346 #line $LINENO "configure"
38349 cat confdefs.h >>conftest.$ac_ext
38350 cat >>conftest.$ac_ext <<_ACEOF
38351 /* end confdefs.h. */
38361 rm -f conftest.$ac_objext conftest$ac_exeext
38362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38363 (eval $ac_link) 2>&5
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); } &&
38367 { ac_try='test -s conftest$ac_exeext'
38368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38369 (eval $ac_try) 2>&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); }; }; then
38373 glibcxx_shared_libgcc=yes
38375 echo "$as_me: failed program was:" >&5
38376 sed 's/^/| /' conftest.$ac_ext >&5
38378 glibcxx_shared_libgcc=no
38380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38381 CFLAGS="$ac_save_CFLAGS"
38382 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
38383 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
38386 # For GNU ld, we need at least this version. The format is described in
38387 # GLIBCXX_CHECK_LINKER_FEATURES above.
38388 glibcxx_min_gnu_ld_version=21400
38389 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
38391 # Check to see if unspecified "yes" value can win, given results above.
38392 # Change "yes" into either "no" or a style name.
38393 if test $enable_symvers = yes; then
38394 if test $with_gnu_ld = yes &&
38395 test $glibcxx_shared_libgcc = yes;
38397 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
38400 # The right tools, the right setup, but too old. Fallbacks?
38401 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
38402 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
38403 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
38404 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
38405 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
38406 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
38407 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
38408 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
38409 if test $glibcxx_gnu_ld_version -ge 21200 ; then
38410 # Globbing fix is present, proper block support is not.
38411 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
38412 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
38416 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
38417 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
38422 # just fail for now
38423 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
38424 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
38425 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
38426 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
38427 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
38428 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
38429 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
38430 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
38435 # Everything parsed; figure out what file to use.
38436 case $enable_symvers in
38438 SYMVER_MAP=config/linker-map.dummy
38441 SYMVER_MAP=config/linker-map.gnu
38442 cat >>confdefs.h <<\_ACEOF
38443 #define _GLIBCXX_SYMVER 1
38453 if test $enable_symvers != no; then
38454 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
38455 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
38457 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
38458 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
38461 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
38462 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
38465 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
38467 if $GLIBCXX_IS_NATIVE; then
38468 # Do checks for memory limit functions.
38470 setrlimit_have_headers=yes
38474 for ac_header in unistd.h sys/time.h sys/resource.h
38476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38478 echo "$as_me:$LINENO: checking for $ac_header" >&5
38479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38481 echo $ECHO_N "(cached) $ECHO_C" >&6
38483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38486 # Is the header compilable?
38487 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38489 cat >conftest.$ac_ext <<_ACEOF
38490 #line $LINENO "configure"
38493 cat confdefs.h >>conftest.$ac_ext
38494 cat >>conftest.$ac_ext <<_ACEOF
38495 /* end confdefs.h. */
38496 $ac_includes_default
38497 #include <$ac_header>
38499 rm -f conftest.$ac_objext
38500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38501 (eval $ac_compile) 2>&5
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); } &&
38505 { ac_try='test -s conftest.$ac_objext'
38506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38507 (eval $ac_try) 2>&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); }; }; then
38511 ac_header_compiler=yes
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38516 ac_header_compiler=no
38518 rm -f conftest.$ac_objext conftest.$ac_ext
38519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38520 echo "${ECHO_T}$ac_header_compiler" >&6
38522 # Is the header present?
38523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38525 cat >conftest.$ac_ext <<_ACEOF
38526 #line $LINENO "configure"
38529 cat confdefs.h >>conftest.$ac_ext
38530 cat >>conftest.$ac_ext <<_ACEOF
38531 /* end confdefs.h. */
38532 #include <$ac_header>
38534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38537 grep -v '^ *+' conftest.er1 >conftest.err
38539 cat conftest.err >&5
38540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38541 (exit $ac_status); } >/dev/null; then
38542 if test -s conftest.err; then
38543 ac_cpp_err=$ac_c_preproc_warn_flag
38550 if test -z "$ac_cpp_err"; then
38551 ac_header_preproc=yes
38553 echo "$as_me: failed program was:" >&5
38554 sed 's/^/| /' conftest.$ac_ext >&5
38556 ac_header_preproc=no
38558 rm -f conftest.err conftest.$ac_ext
38559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38560 echo "${ECHO_T}$ac_header_preproc" >&6
38562 # So? What about this header?
38563 case $ac_header_compiler:$ac_header_preproc in
38565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38571 ## ------------------------------------ ##
38572 ## Report this to bug-autoconf@gnu.org. ##
38573 ## ------------------------------------ ##
38576 sed "s/^/$as_me: WARNING: /" >&2
38579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38587 ## ------------------------------------ ##
38588 ## Report this to bug-autoconf@gnu.org. ##
38589 ## ------------------------------------ ##
38592 sed "s/^/$as_me: WARNING: /" >&2
38595 echo "$as_me:$LINENO: checking for $ac_header" >&5
38596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38600 eval "$as_ac_Header=$ac_header_preproc"
38602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38607 cat >>confdefs.h <<_ACEOF
38608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38612 setrlimit_have_headers=no
38617 # If don't have the headers, then we can't run the tests now, and we
38618 # won't be seeing any of these during testsuite compilation.
38619 if test $setrlimit_have_headers = yes; then
38620 # Can't do these in a loop, else the resulting syntax is wrong.
38622 cat >conftest.$ac_ext <<_ACEOF
38623 #line $LINENO "configure"
38626 cat confdefs.h >>conftest.$ac_ext
38627 cat >>conftest.$ac_ext <<_ACEOF
38628 /* end confdefs.h. */
38629 #include <unistd.h>
38630 #include <sys/time.h>
38631 #include <sys/resource.h>
38636 int f = RLIMIT_DATA ;
38641 rm -f conftest.$ac_objext
38642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38643 (eval $ac_compile) 2>&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } &&
38647 { ac_try='test -s conftest.$ac_objext'
38648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38649 (eval $ac_try) 2>&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); }; }; then
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.$ac_ext >&5
38660 rm -f conftest.$ac_objext conftest.$ac_ext
38662 cat >>confdefs.h <<_ACEOF
38663 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
38668 cat >conftest.$ac_ext <<_ACEOF
38669 #line $LINENO "configure"
38672 cat confdefs.h >>conftest.$ac_ext
38673 cat >>conftest.$ac_ext <<_ACEOF
38674 /* end confdefs.h. */
38675 #include <unistd.h>
38676 #include <sys/time.h>
38677 #include <sys/resource.h>
38682 int f = RLIMIT_RSS ;
38687 rm -f conftest.$ac_objext
38688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38689 (eval $ac_compile) 2>&5
38691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38692 (exit $ac_status); } &&
38693 { ac_try='test -s conftest.$ac_objext'
38694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38695 (eval $ac_try) 2>&5
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); }; }; then
38701 echo "$as_me: failed program was:" >&5
38702 sed 's/^/| /' conftest.$ac_ext >&5
38706 rm -f conftest.$ac_objext conftest.$ac_ext
38708 cat >>confdefs.h <<_ACEOF
38709 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
38714 cat >conftest.$ac_ext <<_ACEOF
38715 #line $LINENO "configure"
38718 cat confdefs.h >>conftest.$ac_ext
38719 cat >>conftest.$ac_ext <<_ACEOF
38720 /* end confdefs.h. */
38721 #include <unistd.h>
38722 #include <sys/time.h>
38723 #include <sys/resource.h>
38728 int f = RLIMIT_VMEM ;
38733 rm -f conftest.$ac_objext
38734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38735 (eval $ac_compile) 2>&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); } &&
38739 { ac_try='test -s conftest.$ac_objext'
38740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38741 (eval $ac_try) 2>&5
38743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38744 (exit $ac_status); }; }; then
38747 echo "$as_me: failed program was:" >&5
38748 sed 's/^/| /' conftest.$ac_ext >&5
38752 rm -f conftest.$ac_objext conftest.$ac_ext
38754 cat >>confdefs.h <<_ACEOF
38755 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
38760 cat >conftest.$ac_ext <<_ACEOF
38761 #line $LINENO "configure"
38764 cat confdefs.h >>conftest.$ac_ext
38765 cat >>conftest.$ac_ext <<_ACEOF
38766 /* end confdefs.h. */
38767 #include <unistd.h>
38768 #include <sys/time.h>
38769 #include <sys/resource.h>
38774 int f = RLIMIT_AS ;
38779 rm -f conftest.$ac_objext
38780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38781 (eval $ac_compile) 2>&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); } &&
38785 { ac_try='test -s conftest.$ac_objext'
38786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38787 (eval $ac_try) 2>&5
38789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38790 (exit $ac_status); }; }; then
38793 echo "$as_me: failed program was:" >&5
38794 sed 's/^/| /' conftest.$ac_ext >&5
38798 rm -f conftest.$ac_objext conftest.$ac_ext
38800 cat >>confdefs.h <<_ACEOF
38801 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
38806 # Check for rlimit, setrlimit.
38807 if test "${ac_setrlimit+set}" = set; then
38808 echo $ECHO_N "(cached) $ECHO_C" >&6
38811 cat >conftest.$ac_ext <<_ACEOF
38812 #line $LINENO "configure"
38815 cat confdefs.h >>conftest.$ac_ext
38816 cat >>conftest.$ac_ext <<_ACEOF
38817 /* end confdefs.h. */
38818 #include <unistd.h>
38819 #include <sys/time.h>
38820 #include <sys/resource.h>
38831 rm -f conftest.$ac_objext
38832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38833 (eval $ac_compile) 2>&5
38835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38836 (exit $ac_status); } &&
38837 { ac_try='test -s conftest.$ac_objext'
38838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38839 (eval $ac_try) 2>&5
38841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38842 (exit $ac_status); }; }; then
38845 echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.$ac_ext >&5
38850 rm -f conftest.$ac_objext conftest.$ac_ext
38856 echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
38857 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
38858 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
38860 cat >>confdefs.h <<\_ACEOF
38861 #define _GLIBCXX_MEM_LIMITS 1
38867 echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
38868 echo "${ECHO_T}$ac_mem_limits" >&6
38871 # Look for setenv, so that extended locale tests can be performed.
38873 echo "$as_me:$LINENO: checking for setenv declaration" >&5
38874 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
38875 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
38876 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
38877 echo $ECHO_N "(cached) $ECHO_C" >&6
38883 ac_cpp='$CXXCPP $CPPFLAGS'
38884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38888 cat >conftest.$ac_ext <<_ACEOF
38889 #line $LINENO "configure"
38892 cat confdefs.h >>conftest.$ac_ext
38893 cat >>conftest.$ac_ext <<_ACEOF
38894 /* end confdefs.h. */
38895 #include <stdlib.h>
38904 rm -f conftest.$ac_objext
38905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38906 (eval $ac_compile) 2>&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); } &&
38910 { ac_try='test -s conftest.$ac_objext'
38911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38912 (eval $ac_try) 2>&5
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); }; }; then
38916 glibcxx_cv_func_setenv_use=yes
38918 echo "$as_me: failed program was:" >&5
38919 sed 's/^/| /' conftest.$ac_ext >&5
38921 glibcxx_cv_func_setenv_use=no
38923 rm -f conftest.$ac_objext conftest.$ac_ext
38925 ac_cpp='$CPP $CPPFLAGS'
38926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
38935 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
38936 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
38938 for ac_func in setenv
38940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38941 echo "$as_me:$LINENO: checking for $ac_func" >&5
38942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38943 if eval "test \"\${$as_ac_var+set}\" = set"; then
38944 echo $ECHO_N "(cached) $ECHO_C" >&6
38946 cat >conftest.$ac_ext <<_ACEOF
38947 #line $LINENO "configure"
38950 cat confdefs.h >>conftest.$ac_ext
38951 cat >>conftest.$ac_ext <<_ACEOF
38952 /* end confdefs.h. */
38953 /* System header to define __stub macros and hopefully few prototypes,
38954 which can conflict with char $ac_func (); below.
38955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38956 <limits.h> exists even on freestanding compilers. */
38958 # include <limits.h>
38960 # include <assert.h>
38962 /* Override any gcc2 internal prototype to avoid an error. */
38967 /* We use char because int might match the return type of a gcc2
38968 builtin and then its argument prototype would still apply. */
38970 /* The GNU C library defines this for functions which it implements
38971 to always fail with ENOSYS. Some functions are actually named
38972 something starting with __ and the normal name is an alias. */
38973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38976 char (*f) () = $ac_func;
38985 return f != $ac_func;
38990 rm -f conftest.$ac_objext conftest$ac_exeext
38991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38992 (eval $ac_link) 2>&5
38994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38995 (exit $ac_status); } &&
38996 { ac_try='test -s conftest$ac_exeext'
38997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38998 (eval $ac_try) 2>&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); }; }; then
39002 eval "$as_ac_var=yes"
39004 echo "$as_me: failed program was:" >&5
39005 sed 's/^/| /' conftest.$ac_ext >&5
39007 eval "$as_ac_var=no"
39009 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39013 if test `eval echo '${'$as_ac_var'}'` = yes; then
39014 cat >>confdefs.h <<_ACEOF
39015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39025 # Export file names for ABI checking.
39026 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
39029 # Determine if checking the ABI is desirable.
39030 if test $enable_symvers = no; then
39031 enable_abi_check=no
39035 enable_abi_check=no ;;
39037 enable_abi_check=yes ;;
39043 if test $enable_wchar_t = yes; then
39044 GLIBCXX_TEST_WCHAR_T_TRUE=
39045 GLIBCXX_TEST_WCHAR_T_FALSE='#'
39047 GLIBCXX_TEST_WCHAR_T_TRUE='#'
39048 GLIBCXX_TEST_WCHAR_T_FALSE=
39053 if test $enable_abi_check = yes; then
39054 GLIBCXX_TEST_ABI_TRUE=
39055 GLIBCXX_TEST_ABI_FALSE='#'
39057 GLIBCXX_TEST_ABI_TRUE='#'
39058 GLIBCXX_TEST_ABI_FALSE=
39063 # Propagate the target-specific source directories through the build chain.
39064 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
39065 # uses it, and it only gets used in this file.)
39066 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
39067 OS_INC_SRCDIR=config/${os_include_dir}
39068 FPOS_INC_SRCDIR=config/${fpos_include_dir}
39073 # Determine cross-compile flags and AM_CONDITIONALs.
39074 #AC_SUBST(GLIBCXX_IS_NATIVE)
39077 if test $CANADIAN = yes; then
39085 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
39088 if test $need_libmath = yes; then
39089 GLIBCXX_BUILD_LIBMATH_TRUE=
39090 GLIBCXX_BUILD_LIBMATH_FALSE='#'
39092 GLIBCXX_BUILD_LIBMATH_TRUE='#'
39093 GLIBCXX_BUILD_LIBMATH_FALSE=
39097 cat >confcache <<\_ACEOF
39098 # This file is a shell script that caches the results of configure
39099 # tests run on this system so they can be shared between configure
39100 # scripts and configure runs, see configure's option --config-cache.
39101 # It is not useful on other systems. If it contains results you don't
39102 # want to keep, you may remove or edit it.
39104 # config.status only pays attention to the cache file if you give it
39105 # the --recheck option to rerun configure.
39107 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39108 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39109 # following values.
39113 # The following way of writing the cache mishandles newlines in values,
39114 # but we know of no workaround that is simple, portable, and efficient.
39115 # So, don't put newlines in cache variables' values.
39116 # Ultrix sh set writes to stderr and can't be redirected directly,
39117 # and sets the high bit in the cache file unless we assign to the vars.
39120 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39122 # `set' does not quote correctly, so add quotes (double-quote
39123 # substitution turns \\\\ into \\, and sed turns \\ into \).
39126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39129 # `set' quotes correctly as required by POSIX, so do not add quotes.
39131 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39140 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39142 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39143 if test -w $cache_file; then
39144 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39145 cat confcache >$cache_file
39147 echo "not updating unwritable cache $cache_file"
39152 if test ${multilib} = yes; then
39153 multilib_arg="--enable-multilib"
39158 # Export all the install information
39160 glibcxx_toolexecdir=no
39161 glibcxx_toolexeclibdir=no
39162 glibcxx_prefixdir=$prefix
39164 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
39165 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
39167 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
39168 if test "${with_gxx_include_dir+set}" = set; then
39169 withval="$with_gxx_include_dir"
39171 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
39172 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
39173 { (exit 1); exit 1; }; } ;;
39174 no) gxx_include_dir=no ;;
39175 *) gxx_include_dir=$withval ;;
39180 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
39181 echo "${ECHO_T}$gxx_include_dir" >&6
39183 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
39184 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
39185 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
39186 if test "${enable_version_specific_runtime_libs+set}" = set; then
39187 enableval="$enable_version_specific_runtime_libs"
39188 case "$enableval" in
39189 yes) version_specific_libs=yes ;;
39190 no) version_specific_libs=no ;;
39191 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
39192 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
39193 { (exit 1); exit 1; }; };;
39196 version_specific_libs=no
39198 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
39199 echo "${ECHO_T}$version_specific_libs" >&6
39201 # Default case for install directory for include files.
39202 if test $version_specific_libs = no && test $gxx_include_dir = no; then
39203 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
39206 # Version-specific runtime libs processing.
39207 if test $version_specific_libs = yes; then
39208 # Need the gcc compiler version to know where to install libraries
39209 # and header files if --enable-version-specific-runtime-libs option
39211 if test x"$gxx_include_dir" = x"no"; then
39212 gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
39214 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
39215 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
39218 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
39219 # Install a library built with a cross compiler in tooldir, not libdir.
39220 if test x"$glibcxx_toolexecdir" = x"no"; then
39221 if test -n "$with_cross_host" &&
39222 test x"$with_cross_host" != x"no"; then
39223 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
39224 glibcxx_toolexeclibdir='${toolexecdir}/lib'
39226 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
39227 glibcxx_toolexeclibdir='${libdir}'
39229 multi_os_directory=`$CXX -print-multi-os-directory`
39230 case $multi_os_directory in
39231 .) ;; # Avoid trailing /.
39232 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
39236 echo "$as_me:$LINENO: checking for install location" >&5
39237 echo $ECHO_N "checking for install location... $ECHO_C" >&6
39238 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
39239 echo "${ECHO_T}$gxx_include_dir" >&6
39247 # Export all the include and flag information to Makefiles.
39249 # Root level of the build directory include sources.
39250 GLIBCXX_INCLUDES="-I$glibcxx_builddir/include/$host_alias -I$glibcxx_builddir/include"
39252 # Passed down for canadian crosses.
39253 if test $CANADIAN = yes; then
39254 TOPLEVEL_INCLUDES='-I${includedir}'
39257 LIBMATH_INCLUDES='-I${glibcxx_srcdir}/libmath'
39259 LIBSUPCXX_INCLUDES='-I${glibcxx_srcdir}/libsupc++'
39261 # Now, export this to all the little Makefiles....
39268 # Optimization flags that are probably a good idea for thrill-seekers. Just
39269 # uncomment the lines below and make, everything else is ready to go...
39270 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
39274 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
39278 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
39279 grep "enable shared" > /dev/null;
39281 LIBSUPCXX_PICFLAGS=-prefer-pic
39283 LIBSUPCXX_PICFLAGS=
39287 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile po/Makefile src/Makefile testsuite/Makefile"
39289 ac_config_files="$ac_config_files scripts/check_survey"
39291 ac_config_files="$ac_config_files scripts/testsuite_flags"
39294 ac_config_commands="$ac_config_commands default"
39297 cat >confcache <<\_ACEOF
39298 # This file is a shell script that caches the results of configure
39299 # tests run on this system so they can be shared between configure
39300 # scripts and configure runs, see configure's option --config-cache.
39301 # It is not useful on other systems. If it contains results you don't
39302 # want to keep, you may remove or edit it.
39304 # config.status only pays attention to the cache file if you give it
39305 # the --recheck option to rerun configure.
39307 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39308 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39309 # following values.
39313 # The following way of writing the cache mishandles newlines in values,
39314 # but we know of no workaround that is simple, portable, and efficient.
39315 # So, don't put newlines in cache variables' values.
39316 # Ultrix sh set writes to stderr and can't be redirected directly,
39317 # and sets the high bit in the cache file unless we assign to the vars.
39320 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39322 # `set' does not quote correctly, so add quotes (double-quote
39323 # substitution turns \\\\ into \\, and sed turns \\ into \).
39326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39329 # `set' quotes correctly as required by POSIX, so do not add quotes.
39331 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39338 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39340 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39342 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39343 if test -w $cache_file; then
39344 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39345 cat confcache >$cache_file
39347 echo "not updating unwritable cache $cache_file"
39352 test "x$prefix" = xNONE && prefix=$ac_default_prefix
39353 # Let make expand exec_prefix.
39354 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
39356 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39357 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39358 # trailing colons and then remove the whole line if VPATH becomes empty
39359 # (actually we leave an empty line to preserve line numbers).
39360 if test "x$srcdir" = x.; then
39361 ac_vpsub='/^[ ]*VPATH[ ]*=/{
39362 s/:*\$(srcdir):*/:/;
39363 s/:*\${srcdir}:*/:/;
39365 s/^\([^=]*=[ ]*\):*/\1/;
39371 DEFS=-DHAVE_CONFIG_H
39375 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
39376 # 1. Remove the extension, and $U if already installed.
39377 ac_i=`echo "$ac_i" |
39378 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39380 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
39381 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
39383 LIBOBJS=$ac_libobjs
39385 LTLIBOBJS=$ac_ltlibobjs
39388 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
39389 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
39390 Usually this means the macro was only invoked conditionally." >&5
39391 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
39392 Usually this means the macro was only invoked conditionally." >&2;}
39393 { (exit 1); exit 1; }; }
39395 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
39396 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
39397 Usually this means the macro was only invoked conditionally." >&5
39398 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
39399 Usually this means the macro was only invoked conditionally." >&2;}
39400 { (exit 1); exit 1; }; }
39402 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
39403 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
39404 Usually this means the macro was only invoked conditionally." >&5
39405 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
39406 Usually this means the macro was only invoked conditionally." >&2;}
39407 { (exit 1); exit 1; }; }
39409 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
39410 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
39411 Usually this means the macro was only invoked conditionally." >&5
39412 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
39413 Usually this means the macro was only invoked conditionally." >&2;}
39414 { (exit 1); exit 1; }; }
39416 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
39417 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
39418 Usually this means the macro was only invoked conditionally." >&5
39419 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
39420 Usually this means the macro was only invoked conditionally." >&2;}
39421 { (exit 1); exit 1; }; }
39423 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
39424 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
39425 Usually this means the macro was only invoked conditionally." >&5
39426 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
39427 Usually this means the macro was only invoked conditionally." >&2;}
39428 { (exit 1); exit 1; }; }
39430 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
39431 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
39432 Usually this means the macro was only invoked conditionally." >&5
39433 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
39434 Usually this means the macro was only invoked conditionally." >&2;}
39435 { (exit 1); exit 1; }; }
39437 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
39438 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
39439 Usually this means the macro was only invoked conditionally." >&5
39440 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
39441 Usually this means the macro was only invoked conditionally." >&2;}
39442 { (exit 1); exit 1; }; }
39444 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
39445 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
39446 Usually this means the macro was only invoked conditionally." >&5
39447 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
39448 Usually this means the macro was only invoked conditionally." >&2;}
39449 { (exit 1); exit 1; }; }
39451 if test -z "${CANADIAN_TRUE}" && test -z "${CANADIAN_FALSE}"; then
39452 { { echo "$as_me:$LINENO: error: conditional \"CANADIAN\" was never defined.
39453 Usually this means the macro was only invoked conditionally." >&5
39454 echo "$as_me: error: conditional \"CANADIAN\" was never defined.
39455 Usually this means the macro was only invoked conditionally." >&2;}
39456 { (exit 1); exit 1; }; }
39458 if test -z "${GLIBCXX_BUILD_LIBMATH_TRUE}" && test -z "${GLIBCXX_BUILD_LIBMATH_FALSE}"; then
39459 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_LIBMATH\" was never defined.
39460 Usually this means the macro was only invoked conditionally." >&5
39461 echo "$as_me: error: conditional \"GLIBCXX_BUILD_LIBMATH\" was never defined.
39462 Usually this means the macro was only invoked conditionally." >&2;}
39463 { (exit 1); exit 1; }; }
39466 : ${CONFIG_STATUS=./config.status}
39467 ac_clean_files_save=$ac_clean_files
39468 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
39469 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39470 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39471 cat >$CONFIG_STATUS <<_ACEOF
39473 # Generated by $as_me.
39474 # Run this file to recreate the current configuration.
39475 # Compiler output produced by configure, useful for debugging
39476 # configure, is in config.log if it exists.
39479 ac_cs_recheck=false
39481 SHELL=\${CONFIG_SHELL-$SHELL}
39484 cat >>$CONFIG_STATUS <<\_ACEOF
39485 ## --------------------- ##
39486 ## M4sh Initialization. ##
39487 ## --------------------- ##
39489 # Be Bourne compatible
39490 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
39493 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39494 # is contrary to our usage. Disable this feature.
39495 alias -g '${1+"$@"}'='"$@"'
39496 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
39500 # Support unset when possible.
39501 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
39508 # Work around bugs in pre-3.0 UWIN ksh.
39509 $as_unset ENV MAIL MAILPATH
39516 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39517 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39518 LC_TELEPHONE LC_TIME
39520 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
39521 eval $as_var=C; export $as_var
39527 # Required to use basename.
39528 if expr a : '\(a\)' >/dev/null 2>&1; then
39534 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
39535 as_basename=basename
39541 # Name of the executable.
39542 as_me=`$as_basename "$0" ||
39543 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39544 X"$0" : 'X\(//\)$' \| \
39545 X"$0" : 'X\(/\)$' \| \
39546 . : '\(.\)' 2>/dev/null ||
39548 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
39549 /^X\/\(\/\/\)$/{ s//\1/; q; }
39550 /^X\/\(\/\).*/{ s//\1/; q; }
39554 # PATH needs CR, and LINENO needs CR and PATH.
39555 # Avoid depending upon Character Ranges.
39556 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
39557 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39558 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39559 as_cr_digits='0123456789'
39560 as_cr_alnum=$as_cr_Letters$as_cr_digits
39562 # The user is always right.
39563 if test "${PATH_SEPARATOR+set}" != set; then
39564 echo "#! /bin/sh" >conf$$.sh
39565 echo "exit 0" >>conf$$.sh
39567 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
39576 as_lineno_1=$LINENO
39577 as_lineno_2=$LINENO
39578 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39579 test "x$as_lineno_1" != "x$as_lineno_2" &&
39580 test "x$as_lineno_3" = "x$as_lineno_2" || {
39581 # Find who we are. Look in the path if we contain no path at all
39584 *[\\/]* ) as_myself=$0 ;;
39585 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39586 for as_dir in $PATH
39589 test -z "$as_dir" && as_dir=.
39590 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
39595 # We did not find ourselves, most probably we were run as `sh COMMAND'
39596 # in which case we are not to be found in the path.
39597 if test "x$as_myself" = x; then
39600 if test ! -f "$as_myself"; then
39601 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39602 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39603 { (exit 1); exit 1; }; }
39605 case $CONFIG_SHELL in
39607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39608 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
39611 test -z "$as_dir" && as_dir=.
39612 for as_base in sh bash ksh sh5; do
39615 if ("$as_dir/$as_base" -c '
39616 as_lineno_1=$LINENO
39617 as_lineno_2=$LINENO
39618 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39619 test "x$as_lineno_1" != "x$as_lineno_2" &&
39620 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
39621 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
39622 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
39623 CONFIG_SHELL=$as_dir/$as_base
39624 export CONFIG_SHELL
39625 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39633 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39634 # uniformly replaced by the line number. The first 'sed' inserts a
39635 # line-number line before each line; the second 'sed' does the real
39636 # work. The second script uses 'N' to pair each line-number line
39637 # with the numbered line, and appends trailing '-' during
39638 # substitution so that $LINENO is not a special case at line end.
39639 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39640 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39641 sed '=' <$as_myself |
39646 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
39649 s,^['$as_cr_digits']*\n,,
39650 ' >$as_me.lineno &&
39651 chmod +x $as_me.lineno ||
39652 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39653 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39654 { (exit 1); exit 1; }; }
39656 # Don't try to exec as it changes $[0], causing all sort of problems
39657 # (the dirname of $[0] is not the place where we might find the
39658 # original and so on. Autoconf is especially sensible to this).
39660 # Exit status is that of the last command.
39665 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39666 *c*,-n*) ECHO_N= ECHO_C='
39668 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
39669 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
39672 if expr a : '\(a\)' >/dev/null 2>&1; then
39678 rm -f conf$$ conf$$.exe conf$$.file
39680 if ln -s conf$$.file conf$$ 2>/dev/null; then
39681 # We could just check for DJGPP; but this test a) works b) is more generic
39682 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39683 if test -f conf$$.exe; then
39684 # Don't use ln at all; we don't have any links
39689 elif ln conf$$.file conf$$ 2>/dev/null; then
39694 rm -f conf$$ conf$$.exe conf$$.file
39696 if mkdir -p . 2>/dev/null; then
39702 as_executable_p="test -f"
39704 # Sed expression to map a string onto a valid CPP name.
39705 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
39707 # Sed expression to map a string onto a valid variable name.
39708 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
39712 # We need space, tab and new line, in precisely that order.
39722 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39723 # report actual input values of CONFIG_FILES etc. instead of their
39724 # values after options handling. Logging --version etc. is OK.
39728 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39729 ## Running $as_me. ##
39734 This file was extended by package-unused $as_me version-unused, which was
39735 generated by GNU Autoconf 2.57. Invocation command line was
39737 CONFIG_FILES = $CONFIG_FILES
39738 CONFIG_HEADERS = $CONFIG_HEADERS
39739 CONFIG_LINKS = $CONFIG_LINKS
39740 CONFIG_COMMANDS = $CONFIG_COMMANDS
39744 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39748 # Files that config.status was made for.
39749 if test -n "$ac_config_files"; then
39750 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39753 if test -n "$ac_config_headers"; then
39754 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39757 if test -n "$ac_config_links"; then
39758 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39761 if test -n "$ac_config_commands"; then
39762 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39765 cat >>$CONFIG_STATUS <<\_ACEOF
39768 \`$as_me' instantiates files from templates according to the
39769 current configuration.
39771 Usage: $0 [OPTIONS] [FILE]...
39773 -h, --help print this help, then exit
39774 -V, --version print version number, then exit
39775 -q, --quiet do not print progress messages
39776 -d, --debug don't remove temporary files
39777 --recheck update $as_me by reconfiguring in the same conditions
39778 --file=FILE[:TEMPLATE]
39779 instantiate the configuration file FILE
39780 --header=FILE[:TEMPLATE]
39781 instantiate the configuration header FILE
39783 Configuration files:
39786 Configuration headers:
39789 Configuration commands:
39792 Report bugs to <bug-autoconf@gnu.org>."
39795 cat >>$CONFIG_STATUS <<_ACEOF
39797 package-unused config.status version-unused
39798 configured by $0, generated by GNU Autoconf 2.57,
39799 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39801 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
39802 Free Software Foundation, Inc.
39803 This config.status script is free software; the Free Software Foundation
39804 gives unlimited permission to copy, distribute and modify it."
39809 cat >>$CONFIG_STATUS <<\_ACEOF
39810 # If no file are specified by the user, then we need to provide default
39811 # value. By we need to know if files were specified by the user.
39817 ac_option=`expr "x$1" : 'x\([^=]*\)='`
39818 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
39826 *) # This is not an option, so the user has probably given explicit
39829 ac_need_defaults=false;;
39833 # Handling of the options.
39835 cat >>$CONFIG_STATUS <<\_ACEOF
39836 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39838 --version | --vers* | -V )
39839 echo "$ac_cs_version"; exit 0 ;;
39841 # Conflict between --help and --header
39842 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39843 Try \`$0 --help' for more information." >&5
39844 echo "$as_me: error: ambiguous option: $1
39845 Try \`$0 --help' for more information." >&2;}
39846 { (exit 1); exit 1; }; };;
39847 --help | --hel | -h )
39848 echo "$ac_cs_usage"; exit 0 ;;
39849 --debug | --d* | -d )
39851 --file | --fil | --fi | --f )
39853 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
39854 ac_need_defaults=false;;
39855 --header | --heade | --head | --hea )
39857 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
39858 ac_need_defaults=false;;
39859 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39860 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39863 # This is an error.
39864 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39865 Try \`$0 --help' for more information." >&5
39866 echo "$as_me: error: unrecognized option: $1
39867 Try \`$0 --help' for more information." >&2;}
39868 { (exit 1); exit 1; }; } ;;
39870 *) ac_config_targets="$ac_config_targets $1" ;;
39876 ac_configure_extra_args=
39878 if $ac_cs_silent; then
39880 ac_configure_extra_args="$ac_configure_extra_args --silent"
39884 cat >>$CONFIG_STATUS <<_ACEOF
39885 if \$ac_cs_recheck; then
39886 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39887 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39892 cat >>$CONFIG_STATUS <<_ACEOF
39894 # INIT-COMMANDS section.
39901 with_multisubdir="$with_multisubdir"
39902 with_multisrctop="$with_multisrctop"
39903 with_target_subdir="$with_target_subdir"
39904 ac_configure_args="${multilib_arg} ${ac_configure_args}"
39905 multi_basedir="$multi_basedir"
39906 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
39909 # No init-vars needed so far which aren't already passed by autoconf.
39916 cat >>$CONFIG_STATUS <<\_ACEOF
39917 for ac_config_target in $ac_config_targets
39919 case "$ac_config_target" in
39920 # Handling of arguments.
39921 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
39922 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
39923 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
39924 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
39925 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
39926 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
39927 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
39928 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
39929 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
39930 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
39931 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
39932 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
39933 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39934 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39935 { (exit 1); exit 1; }; };;
39939 # If the user did not use the arguments to specify the items to instantiate,
39940 # then the envvar interface is used. Set only those that are not.
39941 # We use the long form for the default assignment because of an extremely
39942 # bizarre bug on SunOS 4.1.3.
39943 if $ac_need_defaults; then
39944 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
39945 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
39946 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
39949 # Have a temporary directory for convenience. Make it in the build tree
39950 # simply because there is no reason to put it here, and in addition,
39951 # creating and moving files from /tmp can sometimes cause problems.
39952 # Create a temporary directory, and hook for its removal unless debugging.
39955 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39956 trap '{ (exit 1); exit 1; }' 1 2 13 15
39959 # Create a (secure) tmp directory for tmp files.
39962 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39963 test -n "$tmp" && test -d "$tmp"
39966 tmp=./confstat$$-$RANDOM
39967 (umask 077 && mkdir $tmp)
39970 echo "$me: cannot create a temporary directory in ." >&2
39971 { (exit 1); exit 1; }
39976 cat >>$CONFIG_STATUS <<_ACEOF
39979 # CONFIG_FILES section.
39982 # No need to generate the scripts if there are no CONFIG_FILES.
39983 # This happens for instance when ./config.status config.h
39984 if test -n "\$CONFIG_FILES"; then
39985 # Protect against being on the right side of a sed subst in config.status.
39986 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39987 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39988 s,@SHELL@,$SHELL,;t t
39989 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39990 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39991 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39992 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39993 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39994 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39995 s,@exec_prefix@,$exec_prefix,;t t
39996 s,@prefix@,$prefix,;t t
39997 s,@program_transform_name@,$program_transform_name,;t t
39998 s,@bindir@,$bindir,;t t
39999 s,@sbindir@,$sbindir,;t t
40000 s,@libexecdir@,$libexecdir,;t t
40001 s,@datadir@,$datadir,;t t
40002 s,@sysconfdir@,$sysconfdir,;t t
40003 s,@sharedstatedir@,$sharedstatedir,;t t
40004 s,@localstatedir@,$localstatedir,;t t
40005 s,@libdir@,$libdir,;t t
40006 s,@includedir@,$includedir,;t t
40007 s,@oldincludedir@,$oldincludedir,;t t
40008 s,@infodir@,$infodir,;t t
40009 s,@mandir@,$mandir,;t t
40010 s,@build_alias@,$build_alias,;t t
40011 s,@host_alias@,$host_alias,;t t
40012 s,@target_alias@,$target_alias,;t t
40013 s,@DEFS@,$DEFS,;t t
40014 s,@ECHO_C@,$ECHO_C,;t t
40015 s,@ECHO_N@,$ECHO_N,;t t
40016 s,@ECHO_T@,$ECHO_T,;t t
40017 s,@LIBS@,$LIBS,;t t
40018 s,@libtool_VERSION@,$libtool_VERSION,;t t
40019 s,@multi_basedir@,$multi_basedir,;t t
40020 s,@build@,$build,;t t
40021 s,@build_cpu@,$build_cpu,;t t
40022 s,@build_vendor@,$build_vendor,;t t
40023 s,@build_os@,$build_os,;t t
40024 s,@host@,$host,;t t
40025 s,@host_cpu@,$host_cpu,;t t
40026 s,@host_vendor@,$host_vendor,;t t
40027 s,@host_os@,$host_os,;t t
40028 s,@target@,$target,;t t
40029 s,@target_cpu@,$target_cpu,;t t
40030 s,@target_vendor@,$target_vendor,;t t
40031 s,@target_os@,$target_os,;t t
40032 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40033 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40034 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40035 s,@CYGPATH_W@,$CYGPATH_W,;t t
40036 s,@PACKAGE@,$PACKAGE,;t t
40037 s,@VERSION@,$VERSION,;t t
40038 s,@ACLOCAL@,$ACLOCAL,;t t
40039 s,@AUTOCONF@,$AUTOCONF,;t t
40040 s,@AUTOMAKE@,$AUTOMAKE,;t t
40041 s,@AUTOHEADER@,$AUTOHEADER,;t t
40042 s,@MAKEINFO@,$MAKEINFO,;t t
40043 s,@AMTAR@,$AMTAR,;t t
40044 s,@install_sh@,$install_sh,;t t
40045 s,@STRIP@,$STRIP,;t t
40046 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40047 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
40049 s,@SET_MAKE@,$SET_MAKE,;t t
40050 s,@am__leading_dot@,$am__leading_dot,;t t
40051 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
40052 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
40053 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
40055 s,@ac_ct_CC@,$ac_ct_CC,;t t
40056 s,@EXEEXT@,$EXEEXT,;t t
40057 s,@OBJEXT@,$OBJEXT,;t t
40059 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40060 s,@CFLAGS@,$CFLAGS,;t t
40061 s,@CXXFLAGS@,$CXXFLAGS,;t t
40062 s,@LN_S@,$LN_S,;t t
40064 s,@ac_ct_AS@,$ac_ct_AS,;t t
40066 s,@ac_ct_AR@,$ac_ct_AR,;t t
40067 s,@RANLIB@,$RANLIB,;t t
40068 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40069 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
40070 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
40071 s,@MAINT@,$MAINT,;t t
40072 s,@LIBTOOL@,$LIBTOOL,;t t
40073 s,@CXXCPP@,$CXXCPP,;t t
40074 s,@CPPFLAGS@,$CPPFLAGS,;t t
40075 s,@enable_shared@,$enable_shared,;t t
40076 s,@enable_static@,$enable_static,;t t
40077 s,@LIBUNWIND_FLAG@,$LIBUNWIND_FLAG,;t t
40078 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
40079 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
40080 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
40081 s,@CSTDIO_H@,$CSTDIO_H,;t t
40082 s,@FPOS_H@,$FPOS_H,;t t
40083 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
40084 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
40086 s,@EGREP@,$EGREP,;t t
40087 s,@check_msgfmt@,$check_msgfmt,;t t
40088 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
40089 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
40090 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
40091 s,@USE_NLS@,$USE_NLS,;t t
40092 s,@CLOCALE_H@,$CLOCALE_H,;t t
40093 s,@CCODECVT_H@,$CCODECVT_H,;t t
40094 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
40095 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
40096 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
40097 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
40098 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
40099 s,@CMONEY_CC@,$CMONEY_CC,;t t
40100 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
40101 s,@CTIME_H@,$CTIME_H,;t t
40102 s,@CTIME_CC@,$CTIME_CC,;t t
40103 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
40104 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
40105 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
40106 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
40107 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
40108 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
40109 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
40110 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
40111 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
40112 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
40113 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
40114 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
40115 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
40116 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
40117 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
40118 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
40119 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
40120 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
40121 s,@WERROR@,$WERROR,;t t
40122 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
40123 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
40124 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
40125 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
40126 s,@baseline_dir@,$baseline_dir,;t t
40127 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
40128 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
40129 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
40130 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
40131 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
40132 s,@FPOS_INC_SRCDIR@,$FPOS_INC_SRCDIR,;t t
40133 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
40134 s,@CANADIAN_TRUE@,$CANADIAN_TRUE,;t t
40135 s,@CANADIAN_FALSE@,$CANADIAN_FALSE,;t t
40136 s,@GLIBCXX_BUILD_LIBMATH_TRUE@,$GLIBCXX_BUILD_LIBMATH_TRUE,;t t
40137 s,@GLIBCXX_BUILD_LIBMATH_FALSE@,$GLIBCXX_BUILD_LIBMATH_FALSE,;t t
40138 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
40139 s,@gxx_include_dir@,$gxx_include_dir,;t t
40140 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
40141 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
40142 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
40143 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
40144 s,@LIBMATH_INCLUDES@,$LIBMATH_INCLUDES,;t t
40145 s,@LIBSUPCXX_INCLUDES@,$LIBSUPCXX_INCLUDES,;t t
40146 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
40147 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
40148 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
40149 s,@LIBOBJS@,$LIBOBJS,;t t
40150 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40155 cat >>$CONFIG_STATUS <<\_ACEOF
40156 # Split the substitutions into bite-sized pieces for seds with
40157 # small command number limits, like on Digital OSF/1 and HP-UX.
40158 ac_max_sed_lines=48
40159 ac_sed_frag=1 # Number of current file.
40160 ac_beg=1 # First line for current file.
40161 ac_end=$ac_max_sed_lines # Line after last line for current file.
40164 while $ac_more_lines; do
40165 if test $ac_beg -gt 1; then
40166 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40168 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40170 if test ! -s $tmp/subs.frag; then
40171 ac_more_lines=false
40173 # The purpose of the label and of the branching condition is to
40174 # speed up the sed processing (if there are no `@' at all, there
40175 # is no need to browse any of the substitutions).
40176 # These are the two extra sed commands mentioned above.
40178 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40179 if test -z "$ac_sed_cmds"; then
40180 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40182 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40184 ac_sed_frag=`expr $ac_sed_frag + 1`
40186 ac_end=`expr $ac_end + $ac_max_sed_lines`
40189 if test -z "$ac_sed_cmds"; then
40192 fi # test -n "$CONFIG_FILES"
40195 cat >>$CONFIG_STATUS <<\_ACEOF
40196 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
40197 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40199 - | *:- | *:-:* ) # input from stdin
40201 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40202 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40203 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40204 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40205 * ) ac_file_in=$ac_file.in ;;
40208 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40209 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40210 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40211 X"$ac_file" : 'X\(//\)[^/]' \| \
40212 X"$ac_file" : 'X\(//\)$' \| \
40213 X"$ac_file" : 'X\(/\)' \| \
40214 . : '\(.\)' 2>/dev/null ||
40216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40217 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40218 /^X\(\/\/\)$/{ s//\1/; q; }
40219 /^X\(\/\).*/{ s//\1/; q; }
40221 { if $as_mkdir_p; then
40226 while test ! -d "$as_dir"; do
40227 as_dirs="$as_dir $as_dirs"
40228 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40229 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40230 X"$as_dir" : 'X\(//\)[^/]' \| \
40231 X"$as_dir" : 'X\(//\)$' \| \
40232 X"$as_dir" : 'X\(/\)' \| \
40233 . : '\(.\)' 2>/dev/null ||
40235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40236 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40237 /^X\(\/\/\)$/{ s//\1/; q; }
40238 /^X\(\/\).*/{ s//\1/; q; }
40241 test ! -n "$as_dirs" || mkdir $as_dirs
40242 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40243 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40244 { (exit 1); exit 1; }; }; }
40248 if test "$ac_dir" != .; then
40249 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40250 # A "../" for each directory in $ac_dir_suffix.
40251 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40253 ac_dir_suffix= ac_top_builddir=
40257 .) # No --srcdir option. We are building in place.
40259 if test -z "$ac_top_builddir"; then
40262 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40264 [\\/]* | ?:[\\/]* ) # Absolute path.
40265 ac_srcdir=$srcdir$ac_dir_suffix;
40266 ac_top_srcdir=$srcdir ;;
40267 *) # Relative path.
40268 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40269 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40271 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40273 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40274 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40275 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40276 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40280 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
40281 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
40284 if test x"$ac_file" != x-; then
40285 { echo "$as_me:$LINENO: creating $ac_file" >&5
40286 echo "$as_me: creating $ac_file" >&6;}
40289 # Let's still pretend it is `configure' which instantiates (i.e., don't
40290 # use $as_me), people would be surprised to read:
40291 # /* config.h. Generated by config.status. */
40292 if test x"$ac_file" = x-; then
40295 configure_input="$ac_file. "
40297 configure_input=$configure_input"Generated from `echo $ac_file_in |
40298 sed 's,.*/,,'` by configure."
40300 # First look for the input files in the build tree, otherwise in the
40302 ac_file_inputs=`IFS=:
40303 for f in $ac_file_in; do
40305 -) echo $tmp/stdin ;;
40307 # Absolute (can't be DOS-style, as IFS=:)
40308 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40309 echo "$as_me: error: cannot find input file: $f" >&2;}
40310 { (exit 1); exit 1; }; }
40313 if test -f "$f"; then
40316 elif test -f "$srcdir/$f"; then
40321 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40322 echo "$as_me: error: cannot find input file: $f" >&2;}
40323 { (exit 1); exit 1; }; }
40326 done` || { (exit 1); exit 1; }
40328 cat >>$CONFIG_STATUS <<_ACEOF
40332 cat >>$CONFIG_STATUS <<\_ACEOF
40334 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
40335 s,@configure_input@,$configure_input,;t t
40336 s,@srcdir@,$ac_srcdir,;t t
40337 s,@abs_srcdir@,$ac_abs_srcdir,;t t
40338 s,@top_srcdir@,$ac_top_srcdir,;t t
40339 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
40340 s,@builddir@,$ac_builddir,;t t
40341 s,@abs_builddir@,$ac_abs_builddir,;t t
40342 s,@top_builddir@,$ac_top_builddir,;t t
40343 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
40344 s,@INSTALL@,$ac_INSTALL,;t t
40345 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
40347 if test x"$ac_file" != x-; then
40348 mv $tmp/out $ac_file
40354 # Run the commands associated with the file.
40356 scripts/check_survey ) chmod +x scripts/check_survey ;;
40357 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
40361 cat >>$CONFIG_STATUS <<\_ACEOF
40364 # CONFIG_HEADER section.
40367 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
40368 # NAME is the cpp macro being defined and VALUE is the value it is being given.
40370 # ac_d sets the value in "#define NAME VALUE" lines.
40371 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40372 ac_dB='[ ].*$,\1#\2'
40375 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40376 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40377 ac_uB='$,\1#\2define\3'
40381 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
40382 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40384 - | *:- | *:-:* ) # input from stdin
40386 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40387 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40388 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40389 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40390 * ) ac_file_in=$ac_file.in ;;
40393 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40394 echo "$as_me: creating $ac_file" >&6;}
40396 # First look for the input files in the build tree, otherwise in the
40398 ac_file_inputs=`IFS=:
40399 for f in $ac_file_in; do
40401 -) echo $tmp/stdin ;;
40403 # Absolute (can't be DOS-style, as IFS=:)
40404 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40405 echo "$as_me: error: cannot find input file: $f" >&2;}
40406 { (exit 1); exit 1; }; }
40409 if test -f "$f"; then
40412 elif test -f "$srcdir/$f"; then
40417 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40418 echo "$as_me: error: cannot find input file: $f" >&2;}
40419 { (exit 1); exit 1; }; }
40422 done` || { (exit 1); exit 1; }
40423 # Remove the trailing spaces.
40424 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40428 # Transform confdefs.h into two sed scripts, `conftest.defines' and
40429 # `conftest.undefs', that substitutes the proper values into
40430 # config.h.in to produce config.h. The first handles `#define'
40431 # templates, and the second `#undef' templates.
40432 # And first: Protect against being on the right side of a sed subst in
40433 # config.status. Protect against being in an unquoted here document
40434 # in config.status.
40435 rm -f conftest.defines conftest.undefs
40436 # Using a here document instead of a string reduces the quoting nightmare.
40437 # Putting comments in sed scripts is not portable.
40439 # `end' is used to avoid that the second main sed command (meant for
40440 # 0-ary CPP macros) applies to n-ary macro definitions.
40441 # See the Autoconf documentation for `clear'.
40442 cat >confdef2sed.sed <<\_ACEOF
40447 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40449 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
40452 # If some macros were called several times there might be several times
40453 # the same #defines, which is useless. Nevertheless, we may not want to
40454 # sort them, since we want the *last* AC-DEFINE to be honored.
40455 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
40456 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
40457 rm -f confdef2sed.sed
40459 # This sed command replaces #undef with comments. This is necessary, for
40460 # example, in the case of _POSIX_SOURCE, which is predefined and required
40461 # on some systems where configure will not decide to define it.
40462 cat >>conftest.undefs <<\_ACEOF
40463 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
40466 # Break up conftest.defines because some shells have a limit on the size
40467 # of here documents, and old seds have small limits too (100 cmds).
40468 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
40469 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
40470 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
40471 echo ' :' >>$CONFIG_STATUS
40472 rm -f conftest.tail
40473 while grep . conftest.defines >/dev/null
40475 # Write a limited-size here document to $tmp/defines.sed.
40476 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
40477 # Speed up: don't consider the non `#define' lines.
40478 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
40479 # Work around the forget-to-reset-the-flag bug.
40480 echo 't clr' >>$CONFIG_STATUS
40481 echo ': clr' >>$CONFIG_STATUS
40482 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
40484 sed -f $tmp/defines.sed $tmp/in >$tmp/out
40486 mv $tmp/out $tmp/in
40488 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
40489 rm -f conftest.defines
40490 mv conftest.tail conftest.defines
40492 rm -f conftest.defines
40493 echo ' fi # grep' >>$CONFIG_STATUS
40494 echo >>$CONFIG_STATUS
40496 # Break up conftest.undefs because some shells have a limit on the size
40497 # of here documents, and old seds have small limits too (100 cmds).
40498 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40499 rm -f conftest.tail
40500 while grep . conftest.undefs >/dev/null
40502 # Write a limited-size here document to $tmp/undefs.sed.
40503 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40504 # Speed up: don't consider the non `#undef'
40505 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40506 # Work around the forget-to-reset-the-flag bug.
40507 echo 't clr' >>$CONFIG_STATUS
40508 echo ': clr' >>$CONFIG_STATUS
40509 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40511 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40513 mv $tmp/out $tmp/in
40515 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40516 rm -f conftest.undefs
40517 mv conftest.tail conftest.undefs
40519 rm -f conftest.undefs
40521 cat >>$CONFIG_STATUS <<\_ACEOF
40522 # Let's still pretend it is `configure' which instantiates (i.e., don't
40523 # use $as_me), people would be surprised to read:
40524 # /* config.h. Generated by config.status. */
40525 if test x"$ac_file" = x-; then
40526 echo "/* Generated by configure. */" >$tmp/config.h
40528 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40530 cat $tmp/in >>$tmp/config.h
40532 if test x"$ac_file" != x-; then
40533 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
40534 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40535 echo "$as_me: $ac_file is unchanged" >&6;}
40537 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40538 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40539 X"$ac_file" : 'X\(//\)[^/]' \| \
40540 X"$ac_file" : 'X\(//\)$' \| \
40541 X"$ac_file" : 'X\(/\)' \| \
40542 . : '\(.\)' 2>/dev/null ||
40544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40545 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40546 /^X\(\/\/\)$/{ s//\1/; q; }
40547 /^X\(\/\).*/{ s//\1/; q; }
40549 { if $as_mkdir_p; then
40554 while test ! -d "$as_dir"; do
40555 as_dirs="$as_dir $as_dirs"
40556 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40557 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40558 X"$as_dir" : 'X\(//\)[^/]' \| \
40559 X"$as_dir" : 'X\(//\)$' \| \
40560 X"$as_dir" : 'X\(/\)' \| \
40561 . : '\(.\)' 2>/dev/null ||
40563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40565 /^X\(\/\/\)$/{ s//\1/; q; }
40566 /^X\(\/\).*/{ s//\1/; q; }
40569 test ! -n "$as_dirs" || mkdir $as_dirs
40570 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40571 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40572 { (exit 1); exit 1; }; }; }
40575 mv $tmp/config.h $ac_file
40579 rm -f $tmp/config.h
40581 # Compute $ac_file's index in $config_headers.
40583 for _am_header in $config_headers :; do
40584 case $_am_header in
40585 $ac_file | $ac_file:* )
40588 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
40591 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
40592 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40593 X$ac_file : 'X\(//\)[^/]' \| \
40594 X$ac_file : 'X\(//\)$' \| \
40595 X$ac_file : 'X\(/\)' \| \
40596 . : '\(.\)' 2>/dev/null ||
40598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40599 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40600 /^X\(\/\/\)$/{ s//\1/; q; }
40601 /^X\(\/\).*/{ s//\1/; q; }
40602 s/.*/./; q'`/stamp-h$_am_stamp_count
40605 cat >>$CONFIG_STATUS <<\_ACEOF
40608 # CONFIG_COMMANDS section.
40610 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
40611 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
40612 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
40613 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
40614 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40615 X"$ac_dest" : 'X\(//\)[^/]' \| \
40616 X"$ac_dest" : 'X\(//\)$' \| \
40617 X"$ac_dest" : 'X\(/\)' \| \
40618 . : '\(.\)' 2>/dev/null ||
40620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40621 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40622 /^X\(\/\/\)$/{ s//\1/; q; }
40623 /^X\(\/\).*/{ s//\1/; q; }
40627 if test "$ac_dir" != .; then
40628 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40629 # A "../" for each directory in $ac_dir_suffix.
40630 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40632 ac_dir_suffix= ac_top_builddir=
40636 .) # No --srcdir option. We are building in place.
40638 if test -z "$ac_top_builddir"; then
40641 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40643 [\\/]* | ?:[\\/]* ) # Absolute path.
40644 ac_srcdir=$srcdir$ac_dir_suffix;
40645 ac_top_srcdir=$srcdir ;;
40646 *) # Relative path.
40647 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40648 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40650 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40652 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40653 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40654 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40655 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40658 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40659 echo "$as_me: executing $ac_dest commands" >&6;}
40662 # Only add multilib support code if we just rebuilt the top-level
40664 case " $CONFIG_FILES " in
40666 ac_file=Makefile . ${multi_basedir}/config-ml.in
40669 default ) if test -n "$CONFIG_FILES"; then
40670 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
40671 # that multilib installs will end up installed in the correct place.
40672 # The testsuite needs it for multilib-aware ABI baseline files.
40673 # To work around this not being passed down from config-ml.in ->
40674 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
40675 # append it here. Only modify Makefiles that have just been created.
40676 for i in src libsupc++ testsuite; do
40677 case $CONFIG_FILES in
40679 #echo "Adding MULTISUBDIR to $i/Makefile"
40680 grep '^MULTISUBDIR =' Makefile >> $i/Makefile
40685 (cd include && ${MAKE-make})
40691 cat >>$CONFIG_STATUS <<\_ACEOF
40693 { (exit 0); exit 0; }
40695 chmod +x $CONFIG_STATUS
40696 ac_clean_files=$ac_clean_files_save
40699 # configure is writing to config.log, and then calls config.status.
40700 # config.status does its own redirection, appending to config.log.
40701 # Unfortunately, on DOS this fails, as config.log is still kept open
40702 # by configure, so config.status won't be able to write to it; its
40703 # output is simply discarded. So we exec the FD to /dev/null,
40704 # effectively closing config.log, so it can be properly (re)opened and
40705 # appended to by config.status. When coming back to configure, we
40706 # need to make the FD available again.
40707 if test "$no_create" != yes; then
40709 ac_config_status_args=
40710 test "$silent" = yes &&
40711 ac_config_status_args="$ac_config_status_args --quiet"
40713 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40715 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40716 # would make configure fail if this is the last instruction.
40717 $ac_cs_success || { (exit 1); exit 1; }