3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 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.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --with-newlib Configuring with newlib"
24 --enable-maintainer-mode enable make rules and dependencies not useful
25 (and sometimes confusing) to the casual installer"
27 --enable-shared[=PKGS] build shared libraries [default=yes]"
29 --enable-static[=PKGS] build static libraries [default=yes]"
31 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
33 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
35 --disable-libtool-lock avoid locking (might break parallel builds)"
37 --with-pic try to use only PIC/non-PIC objects [default=use both]"
39 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
41 --enable-libunwind-exceptions force use of libunwind for exceptions"
43 --enable-pch build pre-compiled libstdc++ includes [default=yes]"
45 --enable-cstdio enable stdio for target io package.
46 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
49 --enable-clocale enable model for target locale package.
50 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
53 --enable-nls use Native Language Support (default)"
55 --enable-cheaders=MODEL construct "C" header files for g++ [default=c_std]"
57 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
59 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
61 --enable-long-long turns on 'long long' [default=yes]"
63 --enable-concept-checks use Boost-derived template checks [default=no]"
65 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
68 --enable-debug build extra debug library [default=no]"
70 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
71 library;[default=none]"
73 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
75 --with-gxx-include-dir the installation directory for include files"
77 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
79 # Initialize some variables set by options.
80 # The variables have the same names as the options, with
81 # dashes changed to underlines.
83 cache_file=./config.cache
92 program_transform_name=s,x,x,
100 bindir='${exec_prefix}/bin'
101 sbindir='${exec_prefix}/sbin'
102 libexecdir='${exec_prefix}/libexec'
103 datadir='${prefix}/share'
104 sysconfdir='${prefix}/etc'
105 sharedstatedir='${prefix}/com'
106 localstatedir='${prefix}/var'
107 libdir='${exec_prefix}/lib'
108 includedir='${prefix}/include'
109 oldincludedir='/usr/include'
110 infodir='${prefix}/info'
111 mandir='${prefix}/man'
113 # Initialize some other variables.
116 SHELL=${CONFIG_SHELL-/bin/sh}
117 # Maximum number of lines to put in a shell here document.
124 # If the previous option needs an argument, assign it.
125 if test -n "$ac_prev"; then
126 eval "$ac_prev=\$ac_option"
132 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
136 # Accept the important Cygnus configure options, so we can diagnose typos.
140 -bindir | --bindir | --bindi | --bind | --bin | --bi)
142 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
143 bindir="$ac_optarg" ;;
145 -build | --build | --buil | --bui | --bu)
147 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
148 build="$ac_optarg" ;;
150 -cache-file | --cache-file | --cache-fil | --cache-fi \
151 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
152 ac_prev=cache_file ;;
153 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
154 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
155 cache_file="$ac_optarg" ;;
157 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
159 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
161 datadir="$ac_optarg" ;;
163 -disable-* | --disable-*)
164 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
165 # Reject names that are not valid shell variable names.
166 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
167 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
169 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
170 eval "enable_${ac_feature}=no" ;;
172 -enable-* | --enable-*)
173 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
174 # Reject names that are not valid shell variable names.
175 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
176 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
178 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
183 eval "enable_${ac_feature}='$ac_optarg'" ;;
185 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
186 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
187 | --exec | --exe | --ex)
188 ac_prev=exec_prefix ;;
189 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
190 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
191 | --exec=* | --exe=* | --ex=*)
192 exec_prefix="$ac_optarg" ;;
194 -gas | --gas | --ga | --g)
195 # Obsolete; use --with-gas.
198 -help | --help | --hel | --he)
199 # Omit some internal or obsolete options to make the list less imposing.
200 # This message is too long to be a string in the A/UX 3.1 sh.
202 Usage: configure [options] [host]
203 Options: [defaults in brackets after descriptions]
205 --cache-file=FILE cache test results in FILE
206 --help print this message
207 --no-create do not create output files
208 --quiet, --silent do not print \`checking...' messages
209 --version print the version of autoconf that created configure
210 Directory and file names:
211 --prefix=PREFIX install architecture-independent files in PREFIX
213 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
215 --bindir=DIR user executables in DIR [EPREFIX/bin]
216 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
217 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
218 --datadir=DIR read-only architecture-independent data in DIR
220 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
221 --sharedstatedir=DIR modifiable architecture-independent data in DIR
223 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
224 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
225 --includedir=DIR C header files in DIR [PREFIX/include]
226 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
227 --infodir=DIR info documentation in DIR [PREFIX/info]
228 --mandir=DIR man documentation in DIR [PREFIX/man]
229 --srcdir=DIR find the sources in DIR [configure dir or ..]
230 --program-prefix=PREFIX prepend PREFIX to installed program names
231 --program-suffix=SUFFIX append SUFFIX to installed program names
232 --program-transform-name=PROGRAM
233 run sed PROGRAM on installed program names
237 --build=BUILD configure for building on BUILD [BUILD=HOST]
238 --host=HOST configure for HOST [guessed]
239 --target=TARGET configure for TARGET [TARGET=HOST]
240 Features and packages:
241 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
242 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
243 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
244 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
245 --x-includes=DIR X include files are in DIR
246 --x-libraries=DIR X library files are in DIR
248 if test -n "$ac_help"; then
249 echo "--enable and --with options recognized:$ac_help"
253 -host | --host | --hos | --ho)
255 -host=* | --host=* | --hos=* | --ho=*)
258 -includedir | --includedir | --includedi | --included | --include \
259 | --includ | --inclu | --incl | --inc)
260 ac_prev=includedir ;;
261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
262 | --includ=* | --inclu=* | --incl=* | --inc=*)
263 includedir="$ac_optarg" ;;
265 -infodir | --infodir | --infodi | --infod | --info | --inf)
267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
268 infodir="$ac_optarg" ;;
270 -libdir | --libdir | --libdi | --libd)
272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
273 libdir="$ac_optarg" ;;
275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
276 | --libexe | --libex | --libe)
277 ac_prev=libexecdir ;;
278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
279 | --libexe=* | --libex=* | --libe=*)
280 libexecdir="$ac_optarg" ;;
282 -localstatedir | --localstatedir | --localstatedi | --localstated \
283 | --localstate | --localstat | --localsta | --localst \
284 | --locals | --local | --loca | --loc | --lo)
285 ac_prev=localstatedir ;;
286 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
287 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
288 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
289 localstatedir="$ac_optarg" ;;
291 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
293 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
294 mandir="$ac_optarg" ;;
297 # Obsolete; use --without-fp.
300 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
304 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
305 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
308 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
309 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
310 | --oldin | --oldi | --old | --ol | --o)
311 ac_prev=oldincludedir ;;
312 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
313 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
314 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
315 oldincludedir="$ac_optarg" ;;
317 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
319 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
320 prefix="$ac_optarg" ;;
322 -program-prefix | --program-prefix | --program-prefi | --program-pref \
323 | --program-pre | --program-pr | --program-p)
324 ac_prev=program_prefix ;;
325 -program-prefix=* | --program-prefix=* | --program-prefi=* \
326 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
327 program_prefix="$ac_optarg" ;;
329 -program-suffix | --program-suffix | --program-suffi | --program-suff \
330 | --program-suf | --program-su | --program-s)
331 ac_prev=program_suffix ;;
332 -program-suffix=* | --program-suffix=* | --program-suffi=* \
333 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
334 program_suffix="$ac_optarg" ;;
336 -program-transform-name | --program-transform-name \
337 | --program-transform-nam | --program-transform-na \
338 | --program-transform-n | --program-transform- \
339 | --program-transform | --program-transfor \
340 | --program-transfo | --program-transf \
341 | --program-trans | --program-tran \
342 | --progr-tra | --program-tr | --program-t)
343 ac_prev=program_transform_name ;;
344 -program-transform-name=* | --program-transform-name=* \
345 | --program-transform-nam=* | --program-transform-na=* \
346 | --program-transform-n=* | --program-transform-=* \
347 | --program-transform=* | --program-transfor=* \
348 | --program-transfo=* | --program-transf=* \
349 | --program-trans=* | --program-tran=* \
350 | --progr-tra=* | --program-tr=* | --program-t=*)
351 program_transform_name="$ac_optarg" ;;
353 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
354 | -silent | --silent | --silen | --sile | --sil)
357 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
359 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
361 sbindir="$ac_optarg" ;;
363 -sharedstatedir | --sharedstatedir | --sharedstatedi \
364 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
365 | --sharedst | --shareds | --shared | --share | --shar \
367 ac_prev=sharedstatedir ;;
368 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
369 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
370 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
372 sharedstatedir="$ac_optarg" ;;
374 -site | --site | --sit)
376 -site=* | --site=* | --sit=*)
379 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
381 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
382 srcdir="$ac_optarg" ;;
384 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
385 | --syscon | --sysco | --sysc | --sys | --sy)
386 ac_prev=sysconfdir ;;
387 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
388 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
389 sysconfdir="$ac_optarg" ;;
391 -target | --target | --targe | --targ | --tar | --ta | --t)
393 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
394 target="$ac_optarg" ;;
396 -v | -verbose | --verbose | --verbos | --verbo | --verb)
399 -version | --version | --versio | --versi | --vers)
400 echo "configure generated by autoconf version 2.13"
404 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
407 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
409 ac_package=`echo $ac_package| sed 's/-/_/g'`
414 eval "with_${ac_package}='$ac_optarg'" ;;
416 -without-* | --without-*)
417 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
418 # Reject names that are not valid shell variable names.
419 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
420 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
422 ac_package=`echo $ac_package| sed 's/-/_/g'`
423 eval "with_${ac_package}=no" ;;
426 # Obsolete; use --with-x.
429 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
430 | --x-incl | --x-inc | --x-in | --x-i)
431 ac_prev=x_includes ;;
432 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
433 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
434 x_includes="$ac_optarg" ;;
436 -x-libraries | --x-libraries | --x-librarie | --x-librari \
437 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
438 ac_prev=x_libraries ;;
439 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
440 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
441 x_libraries="$ac_optarg" ;;
443 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
447 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
448 echo "configure: warning: $ac_option: invalid host type" 1>&2
450 if test "x$nonopt" != xNONE; then
451 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
459 if test -n "$ac_prev"; then
460 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
463 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
465 # File descriptor usage:
468 # 2 errors and warnings
469 # 3 some systems may open it to /dev/tty
470 # 4 used on the Kubota Titan
471 # 6 checking for... messages and results
472 # 5 compiler messages saved in config.log
473 if test "$silent" = yes; then
481 This file contains any messages produced by compilers while
482 running configure, to aid debugging if configure makes a mistake.
485 # Strip out --no-create and --no-recursion so they do not pile up.
486 # Also quote any args containing shell metacharacters.
491 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
492 | --no-cr | --no-c) ;;
493 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
494 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
495 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
496 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
497 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
502 # Only set these to C if already set. These must not be set unconditionally
503 # because not all systems understand e.g. LANG=C (notably SCO).
504 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
505 # Non-C LC_CTYPE values break the ctype check.
506 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
507 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
508 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
509 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
511 # confdefs.h avoids OS command line length limits that DEFS can exceed.
512 rm -rf conftest* confdefs.h
513 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
516 # A filename unique to this package, relative to the directory that
517 # configure is in, which we can look for to find out if srcdir is correct.
518 ac_unique_file=src/ios.cc
520 # Find the source files, if location was not specified.
521 if test -z "$srcdir"; then
522 ac_srcdir_defaulted=yes
523 # Try the directory containing this script, then its parent.
525 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
526 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
528 if test ! -r $srcdir/$ac_unique_file; then
532 ac_srcdir_defaulted=no
534 if test ! -r $srcdir/$ac_unique_file; then
535 if test "$ac_srcdir_defaulted" = yes; then
536 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
538 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
541 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
543 # Prefer explicitly selected file to automatically selected ones.
544 if test -z "$CONFIG_SITE"; then
545 if test "x$prefix" != xNONE; then
546 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
548 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
551 for ac_site_file in $CONFIG_SITE; do
552 if test -r "$ac_site_file"; then
553 echo "loading site script $ac_site_file"
558 if test -r "$cache_file"; then
559 echo "loading cache $cache_file"
562 echo "creating cache $cache_file"
567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
568 ac_cpp='$CPP $CPPFLAGS'
569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
571 cross_compiling=$ac_cv_prog_cc_cross
575 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
576 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
577 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
584 ac_n= ac_c='\c' ac_t=
589 # This works around the fact that libtool configuration may change LD
590 # for this particular configuration, but some shells, instead of
591 # keeping the changes in LD private, export them just because LD is
592 # exported. Only used at the end of this file.
593 ORIGINAL_LD_FOR_MULTILIBS=$LD
597 # For libtool versioning info, format is CURRENT:REVISION:AGE
598 libtool_VERSION=6:0:0
602 # Check whether --enable-multilib or --disable-multilib was given.
603 if test "${enable_multilib+set}" = set; then
604 enableval="$enable_multilib"
605 case "${enableval}" in
608 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
614 # When building with srcdir == objdir, links to the source files will
615 # be created in directories within the target_subdir. We have to
616 # adjust toplevel_srcdir accordingly, so that configure finds
617 # install-sh and other auxiliary files that live in the top-level
619 if test "${srcdir}" = "."; then
620 if test -z "${with_target_subdir}"; then
623 if test "${with_target_subdir}" != "."; then
624 toprel="${with_multisrctop}../.."
626 toprel="${with_multisrctop}.."
633 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
634 if test -f $ac_dir/install-sh; then
636 ac_install_sh="$ac_aux_dir/install-sh -c"
638 elif test -f $ac_dir/install.sh; then
640 ac_install_sh="$ac_aux_dir/install.sh -c"
644 if test -z "$ac_aux_dir"; then
645 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
647 ac_config_guess=$ac_aux_dir/config.guess
648 ac_config_sub=$ac_aux_dir/config.sub
649 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
651 toplevel_srcdir=\${top_srcdir}/$toprel
655 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
657 # You will slowly go insane if you do not grok the following fact: when
658 # building v3 as part of the compiler, the top-level /target/ becomes the
659 # library's /host/. `configure' then causes --target to default to --host,
660 # exactly like any other package using autoconf. Therefore, 'target' and
661 # 'host' will always be the same. This makes sense both for native and
662 # cross compilers, just think about it for a little while. :-)
664 # Also, if v3 is being configured as part of a cross compiler, the top-level
665 # configure script will pass the "real" host as $with_cross_host.
667 # In AC 2.13 AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
669 # Do some error checking and defaulting for the host and target type.
671 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
674 # 1. You are not allowed to specify --host, --target, and nonopt at the
676 # 2. Host defaults to nonopt.
677 # 3. If nonopt is not specified, then host defaults to the current host,
678 # as determined by config.guess.
679 # 4. Target and build default to nonopt.
680 # 5. If nonopt is not specified, then target and build default to host.
682 # The aliases save the names the user supplied, while $host etc.
683 # will get canonicalized.
684 case $host---$target---$nonopt in
685 NONE---*---* | *---NONE---* | *---*---NONE) ;;
686 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
690 # Make sure we can run config.sub.
691 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
692 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
695 echo $ac_n "checking host system type""... $ac_c" 1>&6
696 echo "configure:697: checking host system type" >&5
699 case "$host_alias" in
703 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
704 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
706 *) host_alias=$nonopt ;;
710 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
711 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
712 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
713 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
714 echo "$ac_t""$host" 1>&6
716 echo $ac_n "checking target system type""... $ac_c" 1>&6
717 echo "configure:718: checking target system type" >&5
720 case "$target_alias" in
723 NONE) target_alias=$host_alias ;;
724 *) target_alias=$nonopt ;;
728 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
729 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
730 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
731 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
732 echo "$ac_t""$target" 1>&6
734 echo $ac_n "checking build system type""... $ac_c" 1>&6
735 echo "configure:736: checking build system type" >&5
738 case "$build_alias" in
741 NONE) build_alias=$host_alias ;;
742 *) build_alias=$nonopt ;;
746 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
747 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
748 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
749 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
750 echo "$ac_t""$build" 1>&6
752 test "$host_alias" != "$target_alias" &&
753 test "$program_prefix$program_suffix$program_transform_name" = \
755 program_prefix=${target_alias}-
758 # Runs configure.host, finds CC, CXX and assorted other critical bits.
759 # Must run this before the GLIBCPP_ENABLE_* macros below.
760 if test $host != $build; then
761 ac_tool_prefix=${host_alias}-
766 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
767 echo "configure:768: checking for Cygwin environment" >&5
768 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
769 echo $ac_n "(cached) $ac_c" 1>&6
771 cat > conftest.$ac_ext <<EOF
772 #line 773 "configure"
773 #include "confdefs.h"
778 #define __CYGWIN__ __CYGWIN32__
783 if { (eval echo configure:784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
787 echo "configure: failed program was:" >&5
788 cat conftest.$ac_ext >&5
796 echo "$ac_t""$ac_cv_cygwin" 1>&6
798 test "$ac_cv_cygwin" = yes && CYGWIN=yes
799 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
800 echo "configure:801: checking for mingw32 environment" >&5
801 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
802 echo $ac_n "(cached) $ac_c" 1>&6
804 cat > conftest.$ac_ext <<EOF
805 #line 806 "configure"
806 #include "confdefs.h"
812 if { (eval echo configure:813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
816 echo "configure: failed program was:" >&5
817 cat conftest.$ac_ext >&5
825 echo "$ac_t""$ac_cv_mingw32" 1>&6
827 test "$ac_cv_mingw32" = yes && MINGW32=yes
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in gawk mawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
848 echo "configure:849: checking for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
882 echo "configure:883: checking whether ln -s works" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 # Check whether --with-newlib or --without-newlib was given.
918 if test "${with_newlib+set}" = set; then
919 withval="$with_newlib"
924 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
927 # Never versions of autoconf add an underscore to these functions.
928 # Prevent future problems ...
935 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
936 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
937 # are probably using a cross compiler, which will not be able to fully
938 # link an executable. This is addressed in later versions of autoconf.
943 # Extract the first word of "gcc", so it can be a program name with args.
944 set dummy gcc; ac_word=$2
945 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
946 echo "configure:947: checking for $ac_word" >&5
947 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
948 echo $ac_n "(cached) $ac_c" 1>&6
950 if test -n "$CC"; then
951 ac_cv_prog_CC="$CC" # Let the user override the test.
953 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
955 for ac_dir in $ac_dummy; do
956 test -z "$ac_dir" && ac_dir=.
957 if test -f $ac_dir/$ac_word; then
966 if test -n "$CC"; then
967 echo "$ac_t""$CC" 1>&6
969 echo "$ac_t""no" 1>&6
972 if test -z "$CC"; then
973 # Extract the first word of "cc", so it can be a program name with args.
974 set dummy cc; ac_word=$2
975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
976 echo "configure:977: checking for $ac_word" >&5
977 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
978 echo $ac_n "(cached) $ac_c" 1>&6
980 if test -n "$CC"; then
981 ac_cv_prog_CC="$CC" # Let the user override the test.
983 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
986 for ac_dir in $ac_dummy; do
987 test -z "$ac_dir" && ac_dir=.
988 if test -f $ac_dir/$ac_word; then
989 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
998 if test $ac_prog_rejected = yes; then
999 # We found a bogon in the path, so make sure we never use it.
1000 set dummy $ac_cv_prog_CC
1002 if test $# -gt 0; then
1003 # We chose a different compiler from the bogus one.
1004 # However, it has the same basename, so the bogon will be chosen
1005 # first if we set CC to just the basename; use the full file name.
1007 set dummy "$ac_dir/$ac_word" "$@"
1015 if test -n "$CC"; then
1016 echo "$ac_t""$CC" 1>&6
1018 echo "$ac_t""no" 1>&6
1021 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1024 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1025 echo "configure:1026: checking whether we are using GNU C" >&5
1026 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1027 echo $ac_n "(cached) $ac_c" 1>&6
1029 cat > conftest.c <<EOF
1034 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1041 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1043 if test $ac_cv_prog_gcc = yes; then
1045 ac_test_CFLAGS="${CFLAGS+set}"
1046 ac_save_CFLAGS="$CFLAGS"
1048 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1049 echo "configure:1050: checking whether ${CC-cc} accepts -g" >&5
1050 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1051 echo $ac_n "(cached) $ac_c" 1>&6
1053 echo 'void f(){}' > conftest.c
1054 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1063 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1064 if test "$ac_test_CFLAGS" = set; then
1065 CFLAGS="$ac_save_CFLAGS"
1066 elif test $ac_cv_prog_cc_g = yes; then
1073 test "${CFLAGS+set}" = set || CFLAGS="-g"
1077 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1078 # will try to link in libstdc++.
1082 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1083 # flags that come in CXX while configuring libstdc++. They're different
1084 # from those used for all other target libraries. If CXX is set in
1085 # the environment, respect that here.
1087 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1089 # Extract the first word of "$ac_prog", so it can be a program name with args.
1090 set dummy $ac_prog; ac_word=$2
1091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1092 echo "configure:1093: checking for $ac_word" >&5
1093 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1094 echo $ac_n "(cached) $ac_c" 1>&6
1096 if test -n "$glibcpp_CXX"; then
1097 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1099 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1101 for ac_dir in $ac_dummy; do
1102 test -z "$ac_dir" && ac_dir=.
1103 if test -f $ac_dir/$ac_word; then
1104 ac_cv_prog_glibcpp_CXX="$ac_prog"
1111 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1112 if test -n "$glibcpp_CXX"; then
1113 echo "$ac_t""$glibcpp_CXX" 1>&6
1115 echo "$ac_t""no" 1>&6
1118 test -n "$glibcpp_CXX" && break
1120 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1124 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1126 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1127 echo "configure:1128: checking whether we are using GNU C++" >&5
1128 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1129 echo $ac_n "(cached) $ac_c" 1>&6
1131 cat > conftest.C <<EOF
1136 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1143 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1145 if test $ac_cv_prog_gxx = yes; then
1147 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1148 ac_save_CXXFLAGS="$CXXFLAGS"
1150 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1151 echo "configure:1152: checking whether ${CXX-g++} accepts -g" >&5
1152 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1153 echo $ac_n "(cached) $ac_c" 1>&6
1155 echo 'void f(){}' > conftest.cc
1156 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1157 ac_cv_prog_cxx_g=yes
1165 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1166 if test "$ac_test_CXXFLAGS" = set; then
1167 CXXFLAGS="$ac_save_CXXFLAGS"
1168 elif test $ac_cv_prog_cxx_g = yes; then
1175 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1179 # For directory versioning (e.g., headers) and other variables.
1180 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1181 echo "configure:1182: checking for GCC version number" >&5
1182 gcc_version=`$glibcpp_CXX -dumpversion`
1183 echo "$ac_t""$gcc_version" 1>&6
1185 # For some reason, gettext needs this.
1187 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1188 echo "configure:1189: checking for strerror in -lcposix" >&5
1189 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1190 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1191 echo $ac_n "(cached) $ac_c" 1>&6
1193 ac_save_LIBS="$LIBS"
1194 LIBS="-lcposix $LIBS"
1195 cat > conftest.$ac_ext <<EOF
1196 #line 1197 "configure"
1197 #include "confdefs.h"
1198 /* Override any gcc2 internal prototype to avoid an error. */
1199 /* We use char because int might match the return type of a gcc2
1200 builtin and then its argument prototype would still apply. */
1207 if { (eval echo configure:1208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1209 eval "ac_cv_lib_$ac_lib_var=yes"
1211 echo "configure: failed program was:" >&5
1212 cat conftest.$ac_ext >&5
1214 eval "ac_cv_lib_$ac_lib_var=no"
1217 LIBS="$ac_save_LIBS"
1220 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1221 echo "$ac_t""yes" 1>&6
1222 LIBS="$LIBS -lcposix"
1224 echo "$ac_t""no" 1>&6
1230 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1231 set dummy ${ac_tool_prefix}as; ac_word=$2
1232 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1233 echo "configure:1234: checking for $ac_word" >&5
1234 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1235 echo $ac_n "(cached) $ac_c" 1>&6
1237 if test -n "$AS"; then
1238 ac_cv_prog_AS="$AS" # Let the user override the test.
1240 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1242 for ac_dir in $ac_dummy; do
1243 test -z "$ac_dir" && ac_dir=.
1244 if test -f $ac_dir/$ac_word; then
1245 ac_cv_prog_AS="${ac_tool_prefix}as"
1250 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1254 if test -n "$AS"; then
1255 echo "$ac_t""$AS" 1>&6
1257 echo "$ac_t""no" 1>&6
1262 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1263 set dummy ${ac_tool_prefix}ar; ac_word=$2
1264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1265 echo "configure:1266: checking for $ac_word" >&5
1266 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1267 echo $ac_n "(cached) $ac_c" 1>&6
1269 if test -n "$AR"; then
1270 ac_cv_prog_AR="$AR" # Let the user override the test.
1272 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1274 for ac_dir in $ac_dummy; do
1275 test -z "$ac_dir" && ac_dir=.
1276 if test -f $ac_dir/$ac_word; then
1277 ac_cv_prog_AR="${ac_tool_prefix}ar"
1282 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1286 if test -n "$AR"; then
1287 echo "$ac_t""$AR" 1>&6
1289 echo "$ac_t""no" 1>&6
1294 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1295 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1297 echo "configure:1298: checking for $ac_word" >&5
1298 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1299 echo $ac_n "(cached) $ac_c" 1>&6
1301 if test -n "$RANLIB"; then
1302 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1306 for ac_dir in $ac_dummy; do
1307 test -z "$ac_dir" && ac_dir=.
1308 if test -f $ac_dir/$ac_word; then
1309 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1316 RANLIB="$ac_cv_prog_RANLIB"
1317 if test -n "$RANLIB"; then
1318 echo "$ac_t""$RANLIB" 1>&6
1320 echo "$ac_t""no" 1>&6
1324 if test -z "$ac_cv_prog_RANLIB"; then
1325 if test -n "$ac_tool_prefix"; then
1326 # Extract the first word of "ranlib", so it can be a program name with args.
1327 set dummy ranlib; ac_word=$2
1328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1329 echo "configure:1330: checking for $ac_word" >&5
1330 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1331 echo $ac_n "(cached) $ac_c" 1>&6
1333 if test -n "$RANLIB"; then
1334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1338 for ac_dir in $ac_dummy; do
1339 test -z "$ac_dir" && ac_dir=.
1340 if test -f $ac_dir/$ac_word; then
1341 ac_cv_prog_RANLIB="ranlib"
1346 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1349 RANLIB="$ac_cv_prog_RANLIB"
1350 if test -n "$RANLIB"; then
1351 echo "$ac_t""$RANLIB" 1>&6
1353 echo "$ac_t""no" 1>&6
1357 RANLIB="ranlib-not-found-in-path-error"
1361 # Find a good install program. We prefer a C program (faster),
1362 # so one script is as good as another. But avoid the broken or
1363 # incompatible versions:
1364 # SysV /etc/install, /usr/sbin/install
1365 # SunOS /usr/etc/install
1366 # IRIX /sbin/install
1368 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1369 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1370 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1371 # ./install, which can be erroneously created by make from ./install.sh.
1372 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1373 echo "configure:1374: checking for a BSD compatible install" >&5
1374 if test -z "$INSTALL"; then
1375 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1376 echo $ac_n "(cached) $ac_c" 1>&6
1378 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1379 for ac_dir in $PATH; do
1380 # Account for people who put trailing slashes in PATH elements.
1382 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1384 # OSF1 and SCO ODT 3.0 have their own names for install.
1385 # Don't use installbsd from OSF since it installs stuff as root
1387 for ac_prog in ginstall scoinst install; do
1388 if test -f $ac_dir/$ac_prog; then
1389 if test $ac_prog = install &&
1390 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1391 # AIX install. It has an incompatible calling convention.
1394 ac_cv_path_install="$ac_dir/$ac_prog -c"
1405 if test "${ac_cv_path_install+set}" = set; then
1406 INSTALL="$ac_cv_path_install"
1408 # As a last resort, use the slow shell script. We don't cache a
1409 # path for INSTALL within a source directory, because that will
1410 # break other packages using the cache if that directory is
1411 # removed, or if the path is relative.
1412 INSTALL="$ac_install_sh"
1415 echo "$ac_t""$INSTALL" 1>&6
1417 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1418 # It thinks the first close brace ends the variable substitution.
1419 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1421 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1423 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1426 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1427 echo "configure:1428: checking whether to enable maintainer-specific portions of Makefiles" >&5
1428 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1429 if test "${enable_maintainer_mode+set}" = set; then
1430 enableval="$enable_maintainer_mode"
1431 USE_MAINTAINER_MODE=$enableval
1433 USE_MAINTAINER_MODE=no
1436 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1439 if test $USE_MAINTAINER_MODE = yes; then
1440 MAINTAINER_MODE_TRUE=
1441 MAINTAINER_MODE_FALSE='#'
1443 MAINTAINER_MODE_TRUE='#'
1444 MAINTAINER_MODE_FALSE=
1446 MAINT=$MAINTAINER_MODE_TRUE
1450 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1451 # at least currently, we never actually build a program, so we never
1452 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1453 # fails, because we are probably configuring with a cross compiler
1454 # which can't create executables. So we include AC_EXEEXT to keep
1455 # automake happy, but we don't execute it, since we don't care about
1458 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1459 # to nothing, so nothing would remain between `then' and `fi' if it
1460 # were not for the `:' below.
1464 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1465 echo "configure:1466: checking for executable suffix" >&5
1466 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1467 echo $ac_n "(cached) $ac_c" 1>&6
1469 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1473 echo 'int main () { return 0; }' > conftest.$ac_ext
1475 if { (eval echo configure:1476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1476 for file in conftest.*; do
1478 *.c | *.o | *.obj) ;;
1479 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1483 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1486 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1491 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1492 echo "$ac_t""${ac_cv_exeext}" 1>&6
1497 case ${glibcpp_basedir} in
1498 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1499 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1502 # Set up safe default values for all subsequent AM_CONDITIONAL tests.
1506 #glibcpp_pch_comp=no
1509 #enable_abi_check=no
1512 # Find platform-specific directories containing configuration info. In
1513 # addition to possibly modifying the same flags, it also sets up symlinks.
1515 . ${glibcpp_basedir}/configure.host
1516 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1517 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1521 am__api_version="1.4"
1522 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1523 echo "configure:1524: checking whether build environment is sane" >&5
1526 echo timestamp > conftestfile
1527 # Do `set' in a subshell so we don't clobber the current shell's
1528 # arguments. Must try -L first in case configure is actually a
1529 # symlink; some systems play weird games with the mod time of symlinks
1530 # (eg FreeBSD returns the mod time of the symlink's containing
1533 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1534 if test "$*" = "X"; then
1536 set X `ls -t $srcdir/configure conftestfile`
1538 if test "$*" != "X $srcdir/configure conftestfile" \
1539 && test "$*" != "X conftestfile $srcdir/configure"; then
1541 # If neither matched, then we have a broken ls. This can happen
1542 # if, for instance, CONFIG_SHELL is bash and it inherits a
1543 # broken ls alias from the environment. This has actually
1544 # happened. Such a system could not be considered "sane".
1545 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1546 alias in your environment" 1>&2; exit 1; }
1549 test "$2" = conftestfile
1555 { echo "configure: error: newly created file is older than distributed files!
1556 Check your system clock" 1>&2; exit 1; }
1559 echo "$ac_t""yes" 1>&6
1560 if test "$program_transform_name" = s,x,x,; then
1561 program_transform_name=
1563 # Double any \ or $. echo might interpret backslashes.
1564 cat <<\EOF_SED > conftestsed
1565 s,\\,\\\\,g; s,\$,$$,g
1567 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1570 test "$program_prefix" != NONE &&
1571 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1572 # Use a double $ so make ignores it.
1573 test "$program_suffix" != NONE &&
1574 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1576 # sed with no file args requires a program.
1577 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1579 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1580 echo "configure:1581: checking whether ${MAKE-make} sets \${MAKE}" >&5
1581 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1582 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1583 echo $ac_n "(cached) $ac_c" 1>&6
1585 cat > conftestmake <<\EOF
1587 @echo 'ac_maketemp="${MAKE}"'
1589 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1590 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1591 if test -n "$ac_maketemp"; then
1592 eval ac_cv_prog_make_${ac_make}_set=yes
1594 eval ac_cv_prog_make_${ac_make}_set=no
1598 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1599 echo "$ac_t""yes" 1>&6
1602 echo "$ac_t""no" 1>&6
1603 SET_MAKE="MAKE=${MAKE-make}"
1609 VERSION=$gcc_version
1611 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1612 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1614 cat >> confdefs.h <<EOF
1615 #define PACKAGE "$PACKAGE"
1618 cat >> confdefs.h <<EOF
1619 #define VERSION "$VERSION"
1624 missing_dir=`cd $ac_aux_dir && pwd`
1625 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1626 echo "configure:1627: checking for working aclocal-${am__api_version}" >&5
1627 # Run test in a subshell; some versions of sh will print an error if
1628 # an executable is not found, even if stderr is redirected.
1629 # Redirect stdin to placate older versions of autoconf. Sigh.
1630 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1631 ACLOCAL=aclocal-${am__api_version}
1632 echo "$ac_t""found" 1>&6
1634 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1635 echo "$ac_t""missing" 1>&6
1638 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1639 echo "configure:1640: checking for working autoconf" >&5
1640 # Run test in a subshell; some versions of sh will print an error if
1641 # an executable is not found, even if stderr is redirected.
1642 # Redirect stdin to placate older versions of autoconf. Sigh.
1643 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1645 echo "$ac_t""found" 1>&6
1647 AUTOCONF="$missing_dir/missing autoconf"
1648 echo "$ac_t""missing" 1>&6
1651 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1652 echo "configure:1653: checking for working automake-${am__api_version}" >&5
1653 # Run test in a subshell; some versions of sh will print an error if
1654 # an executable is not found, even if stderr is redirected.
1655 # Redirect stdin to placate older versions of autoconf. Sigh.
1656 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1657 AUTOMAKE=automake-${am__api_version}
1658 echo "$ac_t""found" 1>&6
1660 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1661 echo "$ac_t""missing" 1>&6
1664 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1665 echo "configure:1666: checking for working autoheader" >&5
1666 # Run test in a subshell; some versions of sh will print an error if
1667 # an executable is not found, even if stderr is redirected.
1668 # Redirect stdin to placate older versions of autoconf. Sigh.
1669 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1670 AUTOHEADER=autoheader
1671 echo "$ac_t""found" 1>&6
1673 AUTOHEADER="$missing_dir/missing autoheader"
1674 echo "$ac_t""missing" 1>&6
1677 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1678 echo "configure:1679: checking for working makeinfo" >&5
1679 # Run test in a subshell; some versions of sh will print an error if
1680 # an executable is not found, even if stderr is redirected.
1681 # Redirect stdin to placate older versions of autoconf. Sigh.
1682 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1684 echo "$ac_t""found" 1>&6
1686 MAKEINFO="$missing_dir/missing makeinfo"
1687 echo "$ac_t""missing" 1>&6
1696 # Check whether --enable-shared or --disable-shared was given.
1697 if test "${enable_shared+set}" = set; then
1698 enableval="$enable_shared"
1699 p=${PACKAGE-default}
1701 yes) enable_shared=yes ;;
1702 no) enable_shared=no ;;
1705 # Look at the argument we got. We use all the common list separators.
1706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1707 for pkg in $enableval; do
1708 if test "X$pkg" = "X$p"; then
1719 # Check whether --enable-static or --disable-static was given.
1720 if test "${enable_static+set}" = set; then
1721 enableval="$enable_static"
1722 p=${PACKAGE-default}
1724 yes) enable_static=yes ;;
1725 no) enable_static=no ;;
1728 # Look at the argument we got. We use all the common list separators.
1729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1730 for pkg in $enableval; do
1731 if test "X$pkg" = "X$p"; then
1742 # Check whether --enable-fast-install or --disable-fast-install was given.
1743 if test "${enable_fast_install+set}" = set; then
1744 enableval="$enable_fast_install"
1745 p=${PACKAGE-default}
1747 yes) enable_fast_install=yes ;;
1748 no) enable_fast_install=no ;;
1750 enable_fast_install=no
1751 # Look at the argument we got. We use all the common list separators.
1752 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1753 for pkg in $enableval; do
1754 if test "X$pkg" = "X$p"; then
1755 enable_fast_install=yes
1762 enable_fast_install=yes
1765 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1766 if test "${with_gnu_ld+set}" = set; then
1767 withval="$with_gnu_ld"
1768 test "$withval" = no || with_gnu_ld=yes
1774 if test "$GCC" = yes; then
1775 # Check if gcc -print-prog-name=ld gives a path.
1776 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1777 echo "configure:1778: checking for ld used by GCC" >&5
1780 # gcc leaves a trailing carriage return which upsets mingw
1781 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1783 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1786 # Accept absolute paths.
1787 [\\/]* | [A-Za-z]:[\\/]*)
1788 re_direlt='/[^/][^/]*/\.\./'
1789 # Canonicalize the path of ld
1790 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1791 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1792 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1794 test -z "$LD" && LD="$ac_prog"
1797 # If it fails, then pretend we aren't using GCC.
1801 # If it is relative, then search for the first ld in PATH.
1805 elif test "$with_gnu_ld" = yes; then
1806 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1807 echo "configure:1808: checking for GNU ld" >&5
1809 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1810 echo "configure:1811: checking for non-GNU ld" >&5
1812 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1813 echo $ac_n "(cached) $ac_c" 1>&6
1815 if test -z "$LD"; then
1816 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1817 for ac_dir in $PATH; do
1818 test -z "$ac_dir" && ac_dir=.
1819 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1820 lt_cv_path_LD="$ac_dir/$ac_prog"
1821 # Check to see if the program is GNU ld. I'd rather use --version,
1822 # but apparently some GNU ld's only accept -v.
1823 # Break only if it was the GNU/non-GNU ld that we prefer.
1824 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1825 test "$with_gnu_ld" != no && break
1827 test "$with_gnu_ld" != yes && break
1833 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1838 if test -n "$LD"; then
1839 echo "$ac_t""$LD" 1>&6
1841 echo "$ac_t""no" 1>&6
1843 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1844 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1845 echo "configure:1846: checking if the linker ($LD) is GNU ld" >&5
1846 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1847 echo $ac_n "(cached) $ac_c" 1>&6
1849 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1850 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1851 lt_cv_prog_gnu_ld=yes
1853 lt_cv_prog_gnu_ld=no
1857 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1858 with_gnu_ld=$lt_cv_prog_gnu_ld
1861 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1862 echo "configure:1863: checking for $LD option to reload object files" >&5
1863 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1864 echo $ac_n "(cached) $ac_c" 1>&6
1866 lt_cv_ld_reload_flag='-r'
1869 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1870 reload_flag=$lt_cv_ld_reload_flag
1871 test -n "$reload_flag" && reload_flag=" $reload_flag"
1873 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1874 echo "configure:1875: checking for BSD-compatible nm" >&5
1875 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1876 echo $ac_n "(cached) $ac_c" 1>&6
1878 if test -n "$NM"; then
1879 # Let the user override the test.
1882 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1883 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1884 test -z "$ac_dir" && ac_dir=.
1885 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1886 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1887 # Check to see if the nm accepts a BSD-compat flag.
1888 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1889 # nm: unknown option "B" ignored
1890 # Tru64's nm complains that /dev/null is an invalid object file
1891 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1892 lt_cv_path_NM="$tmp_nm -B"
1894 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1895 lt_cv_path_NM="$tmp_nm -p"
1898 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1899 continue # so that we can try to find one that supports BSD flags
1904 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1909 echo "$ac_t""$NM" 1>&6
1911 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1912 echo "configure:1913: checking how to recognise dependant libraries" >&5
1913 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1914 echo $ac_n "(cached) $ac_c" 1>&6
1916 lt_cv_file_magic_cmd='$MAGIC_CMD'
1917 lt_cv_file_magic_test_file=
1918 lt_cv_deplibs_check_method='unknown'
1919 # Need to set the preceding variable on all platforms that support
1920 # interlibrary dependencies.
1921 # 'none' -- dependencies not supported.
1922 # `unknown' -- same as none, but documents that we really don't know.
1923 # 'pass_all' -- all dependencies passed with no checks.
1924 # 'test_compile' -- check by making test program.
1925 # 'file_magic [regex]' -- check by looking for files in library path
1926 # which responds to the $file_magic_cmd with a given egrep regex.
1927 # If you have `file' or equivalent on your system and you're not sure
1928 # whether `pass_all' will *always* work, you probably want this one.
1932 lt_cv_deplibs_check_method=pass_all
1936 lt_cv_deplibs_check_method=pass_all
1940 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1941 lt_cv_file_magic_cmd='/usr/bin/file -L'
1942 lt_cv_file_magic_test_file=/shlib/libc.so
1945 cygwin* | mingw* |pw32*)
1946 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1947 lt_cv_file_magic_cmd='$OBJDUMP -f'
1950 darwin* | rhapsody*)
1951 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1952 lt_cv_file_magic_cmd='/usr/bin/file -L'
1954 rhapsody* | darwin1.012)
1955 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1958 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1964 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1967 # Not sure whether the presence of OpenBSD here was a mistake.
1968 # Let's accept both of them until this is cleared up.
1969 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1970 lt_cv_file_magic_cmd=/usr/bin/file
1971 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1975 lt_cv_deplibs_check_method=pass_all
1980 lt_cv_deplibs_check_method=pass_all
1986 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1987 lt_cv_file_magic_cmd=/usr/bin/file
1988 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1992 lt_cv_file_magic_cmd=/usr/bin/file
1993 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2001 # this will be overridden with pass_all, but let us keep it just in case
2002 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2006 *-32|*"-32 ") libmagic=32-bit;;
2007 *-n32|*"-n32 ") libmagic=N32;;
2008 *-64|*"-64 ") libmagic=64-bit;;
2009 *) libmagic=never-match;;
2011 # this will be overridden with pass_all, but let us keep it just in case
2012 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2015 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2016 lt_cv_deplibs_check_method=pass_all
2019 # This must be Linux ELF.
2022 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2023 lt_cv_deplibs_check_method=pass_all ;;
2025 # glibc up to 2.1.1 does not perform some relocations on ARM
2026 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2028 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2032 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2033 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2035 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2040 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2041 lt_cv_file_magic_cmd=/usr/bin/file
2042 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2045 osf3* | osf4* | osf5*)
2046 # this will be overridden with pass_all, but let us keep it just in case
2047 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2048 lt_cv_file_magic_test_file=/shlib/libc.so
2049 lt_cv_deplibs_check_method=pass_all
2053 lt_cv_deplibs_check_method=pass_all
2057 lt_cv_deplibs_check_method=pass_all
2058 lt_cv_file_magic_test_file=/lib/libc.so
2061 sysv5uw[78]* | sysv4*uw2*)
2062 lt_cv_deplibs_check_method=pass_all
2065 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2066 case $host_vendor in
2068 lt_cv_deplibs_check_method=pass_all
2071 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]'
2072 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2080 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2081 file_magic_cmd=$lt_cv_file_magic_cmd
2082 deplibs_check_method=$lt_cv_deplibs_check_method
2084 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2085 echo "configure:2086: checking for object suffix" >&5
2086 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2087 echo $ac_n "(cached) $ac_c" 1>&6
2090 echo 'int i = 1;' > conftest.$ac_ext
2091 if { (eval echo configure:2092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2092 for ac_file in conftest.*; do
2095 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2099 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2104 echo "$ac_t""$ac_cv_objext" 1>&6
2105 OBJEXT=$ac_cv_objext
2106 ac_objext=$ac_cv_objext
2108 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2110 # Only perform the check for file, if the check method requires it
2111 case $deplibs_check_method in
2113 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2114 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2115 echo "configure:2116: checking for ${ac_tool_prefix}file" >&5
2116 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2117 echo $ac_n "(cached) $ac_c" 1>&6
2121 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2124 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2127 ac_save_MAGIC_CMD="$MAGIC_CMD"
2128 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2129 ac_dummy="/usr/bin:$PATH"
2130 for ac_dir in $ac_dummy; do
2131 test -z "$ac_dir" && ac_dir=.
2132 if test -f $ac_dir/${ac_tool_prefix}file; then
2133 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2134 if test -n "$file_magic_test_file"; then
2135 case $deplibs_check_method in
2137 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2139 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2140 egrep "$file_magic_regex" > /dev/null; then
2145 *** Warning: the command libtool uses to detect shared libraries,
2146 *** $file_magic_cmd, produces output that libtool cannot recognize.
2147 *** The result is that libtool may fail to recognize shared libraries
2148 *** as such. This will affect the creation of libtool libraries that
2149 *** depend on shared libraries, but programs linked with such libtool
2150 *** libraries will work regardless of this problem. Nevertheless, you
2151 *** may want to report the problem to your system manager and/or to
2152 *** bug-libtool@gnu.org
2162 MAGIC_CMD="$ac_save_MAGIC_CMD"
2167 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2168 if test -n "$MAGIC_CMD"; then
2169 echo "$ac_t""$MAGIC_CMD" 1>&6
2171 echo "$ac_t""no" 1>&6
2174 if test -z "$lt_cv_path_MAGIC_CMD"; then
2175 if test -n "$ac_tool_prefix"; then
2176 echo $ac_n "checking for file""... $ac_c" 1>&6
2177 echo "configure:2178: checking for file" >&5
2178 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2179 echo $ac_n "(cached) $ac_c" 1>&6
2183 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2186 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2189 ac_save_MAGIC_CMD="$MAGIC_CMD"
2190 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2191 ac_dummy="/usr/bin:$PATH"
2192 for ac_dir in $ac_dummy; do
2193 test -z "$ac_dir" && ac_dir=.
2194 if test -f $ac_dir/file; then
2195 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2196 if test -n "$file_magic_test_file"; then
2197 case $deplibs_check_method in
2199 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2200 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2201 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2202 egrep "$file_magic_regex" > /dev/null; then
2207 *** Warning: the command libtool uses to detect shared libraries,
2208 *** $file_magic_cmd, produces output that libtool cannot recognize.
2209 *** The result is that libtool may fail to recognize shared libraries
2210 *** as such. This will affect the creation of libtool libraries that
2211 *** depend on shared libraries, but programs linked with such libtool
2212 *** libraries will work regardless of this problem. Nevertheless, you
2213 *** may want to report the problem to your system manager and/or to
2214 *** bug-libtool@gnu.org
2224 MAGIC_CMD="$ac_save_MAGIC_CMD"
2229 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2230 if test -n "$MAGIC_CMD"; then
2231 echo "$ac_t""$MAGIC_CMD" 1>&6
2233 echo "$ac_t""no" 1>&6
2245 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2246 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2247 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2248 echo "configure:2249: checking for $ac_word" >&5
2249 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2250 echo $ac_n "(cached) $ac_c" 1>&6
2252 if test -n "$RANLIB"; then
2253 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2255 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2257 for ac_dir in $ac_dummy; do
2258 test -z "$ac_dir" && ac_dir=.
2259 if test -f $ac_dir/$ac_word; then
2260 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2267 RANLIB="$ac_cv_prog_RANLIB"
2268 if test -n "$RANLIB"; then
2269 echo "$ac_t""$RANLIB" 1>&6
2271 echo "$ac_t""no" 1>&6
2275 if test -z "$ac_cv_prog_RANLIB"; then
2276 if test -n "$ac_tool_prefix"; then
2277 # Extract the first word of "ranlib", so it can be a program name with args.
2278 set dummy ranlib; ac_word=$2
2279 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2280 echo "configure:2281: checking for $ac_word" >&5
2281 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6
2284 if test -n "$RANLIB"; then
2285 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2289 for ac_dir in $ac_dummy; do
2290 test -z "$ac_dir" && ac_dir=.
2291 if test -f $ac_dir/$ac_word; then
2292 ac_cv_prog_RANLIB="ranlib"
2297 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2300 RANLIB="$ac_cv_prog_RANLIB"
2301 if test -n "$RANLIB"; then
2302 echo "$ac_t""$RANLIB" 1>&6
2304 echo "$ac_t""no" 1>&6
2312 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2313 set dummy ${ac_tool_prefix}strip; ac_word=$2
2314 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2315 echo "configure:2316: checking for $ac_word" >&5
2316 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2317 echo $ac_n "(cached) $ac_c" 1>&6
2319 if test -n "$STRIP"; then
2320 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2324 for ac_dir in $ac_dummy; do
2325 test -z "$ac_dir" && ac_dir=.
2326 if test -f $ac_dir/$ac_word; then
2327 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2334 STRIP="$ac_cv_prog_STRIP"
2335 if test -n "$STRIP"; then
2336 echo "$ac_t""$STRIP" 1>&6
2338 echo "$ac_t""no" 1>&6
2342 if test -z "$ac_cv_prog_STRIP"; then
2343 if test -n "$ac_tool_prefix"; then
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip; ac_word=$2
2346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2347 echo "configure:2348: checking for $ac_word" >&5
2348 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2349 echo $ac_n "(cached) $ac_c" 1>&6
2351 if test -n "$STRIP"; then
2352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2356 for ac_dir in $ac_dummy; do
2357 test -z "$ac_dir" && ac_dir=.
2358 if test -f $ac_dir/$ac_word; then
2359 ac_cv_prog_STRIP="strip"
2364 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2367 STRIP="$ac_cv_prog_STRIP"
2368 if test -n "$STRIP"; then
2369 echo "$ac_t""$STRIP" 1>&6
2371 echo "$ac_t""no" 1>&6
2380 # Check for any special flags to pass to ltconfig.
2381 libtool_flags="--cache-file=$cache_file"
2382 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2383 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2384 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2385 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2386 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2387 libtool_flags="$libtool_flags --enable-dlopen"
2389 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2390 if test "${enable_libtool_lock+set}" = set; then
2391 enableval="$enable_libtool_lock"
2395 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2396 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2398 # Check whether --with-pic or --without-pic was given.
2399 if test "${with_pic+set}" = set; then
2406 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2407 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2409 # Some flags need to be propagated to the compiler or linker for good
2413 # Find out which ABI we are using.
2414 echo '#line 2415 "configure"' > conftest.$ac_ext
2415 if { (eval echo configure:2416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2416 if test "$lt_cv_prog_gnu_ld" = yes; then
2417 case `/usr/bin/file conftest.$ac_objext` in
2419 LD="${LD-ld} -melf32bsmip"
2422 LD="${LD-ld} -melf32bmipn32"
2425 LD="${LD-ld} -melf64bmip"
2429 case `/usr/bin/file conftest.$ac_objext` in
2446 # Find out which ABI we are using.
2447 echo 'int i;' > conftest.$ac_ext
2448 if { (eval echo configure:2449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2449 case "`/usr/bin/file conftest.o`" in
2461 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2462 # Find out which ABI we are using.
2463 echo 'int i;' > conftest.$ac_ext
2464 if { (eval echo configure:2465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2465 case "`/usr/bin/file conftest.o`" in
2469 LD="${LD-ld} -m elf_i386"
2472 LD="${LD-ld} -m elf32ppclinux"
2475 LD="${LD-ld} -m elf_s390"
2478 LD="${LD-ld} -m elf32_sparc"
2485 LD="${LD-ld} -m elf_x86_64"
2487 ppc*-*linux*|powerpc*-*linux*)
2488 LD="${LD-ld} -m elf64ppc"
2491 LD="${LD-ld} -m elf64_s390"
2494 LD="${LD-ld} -m elf64_sparc"
2504 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2505 SAVE_CFLAGS="$CFLAGS"
2506 CFLAGS="$CFLAGS -belf"
2507 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2508 echo "configure:2509: checking whether the C compiler needs -belf" >&5
2509 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2510 echo $ac_n "(cached) $ac_c" 1>&6
2514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2515 ac_cpp='$CPP $CPPFLAGS'
2516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2518 cross_compiling=$ac_cv_prog_cc_cross
2520 cat > conftest.$ac_ext <<EOF
2521 #line 2522 "configure"
2522 #include "confdefs.h"
2528 if { (eval echo configure:2529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2530 lt_cv_cc_needs_belf=yes
2532 echo "configure: failed program was:" >&5
2533 cat conftest.$ac_ext >&5
2535 lt_cv_cc_needs_belf=no
2539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2540 ac_cpp='$CPP $CPPFLAGS'
2541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2543 cross_compiling=$ac_cv_prog_cc_cross
2547 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2548 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2549 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2550 CFLAGS="$SAVE_CFLAGS"
2557 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2558 echo "configure:2559: checking how to run the C++ preprocessor" >&5
2559 if test -z "$CXXCPP"; then
2560 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2561 echo $ac_n "(cached) $ac_c" 1>&6
2564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2565 ac_cpp='$CXXCPP $CPPFLAGS'
2566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2568 cross_compiling=$ac_cv_prog_cxx_cross
2569 CXXCPP="${CXX-g++} -E"
2570 cat > conftest.$ac_ext <<EOF
2571 #line 2572 "configure"
2572 #include "confdefs.h"
2575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2576 { (eval echo configure:2577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2578 if test -z "$ac_err"; then
2582 echo "configure: failed program was:" >&5
2583 cat conftest.$ac_ext >&5
2588 ac_cv_prog_CXXCPP="$CXXCPP"
2590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2591 ac_cpp='$CPP $CPPFLAGS'
2592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2594 cross_compiling=$ac_cv_prog_cc_cross
2597 CXXCPP="$ac_cv_prog_CXXCPP"
2598 echo "$ac_t""$CXXCPP" 1>&6
2601 # Save cache, so that ltconfig can load it
2602 cat > confcache <<\EOF
2603 # This file is a shell script that caches the results of configure
2604 # tests run on this system so they can be shared between configure
2605 # scripts and configure runs. It is not useful on other systems.
2606 # If it contains results you don't want to keep, you may remove or edit it.
2608 # By default, configure uses ./config.cache as the cache file,
2609 # creating it if it does not exist already. You can give configure
2610 # the --cache-file=FILE option to use a different cache file; that is
2611 # what configure does when it calls configure scripts in
2612 # subdirectories, so they share the cache.
2613 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2614 # config.status only pays attention to the cache file if you give it the
2615 # --recheck option to rerun configure.
2618 # The following way of writing the cache mishandles newlines in values,
2619 # but we know of no workaround that is simple, portable, and efficient.
2620 # So, don't put newlines in cache variables' values.
2621 # Ultrix sh set writes to stderr and can't be redirected directly,
2622 # and sets the high bit in the cache file unless we assign to the vars.
2624 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2626 # `set' does not quote correctly, so add quotes (double-quote substitution
2627 # turns \\\\ into \\, and sed turns \\ into \).
2629 -e "s/'/'\\\\''/g" \
2630 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2633 # `set' quotes correctly as required by POSIX, so do not add quotes.
2634 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2637 if cmp -s $cache_file confcache; then
2640 if test -w $cache_file; then
2641 echo "updating cache $cache_file"
2642 cat confcache > $cache_file
2644 echo "not updating unwritable cache $cache_file"
2650 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2651 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2652 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2653 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2654 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2655 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2656 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2657 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2658 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2659 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2661 # Reload cache, that may have been modified by ltconfig
2662 if test -r "$cache_file"; then
2663 echo "loading cache $cache_file"
2666 echo "creating cache $cache_file"
2671 # This can be used to rebuild libtool when needed
2672 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2674 # Always use our own libtool.
2675 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2677 # Redirect the config.log output again, so that the ltconfig log is not
2678 # clobbered by the next message.
2679 exec 5>>./config.log
2683 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2685 lt_save_CFLAGS="$CFLAGS"
2686 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2687 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2688 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2689 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2690 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2691 deplibs_check_method="$deplibs_check_method" \
2692 file_magic_cmd="$file_magic_cmd" \
2693 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2694 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2695 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2697 CFLAGS="$lt_save_CFLAGS"
2699 # Redirect the config.log output again, so that the ltconfig log is not
2700 # clobbered by the next message.
2701 exec 5>>./config.log
2711 # Check for support bits and g++ features that don't require linking.
2712 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2713 echo "configure:2714: checking for GNU make" >&5
2714 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2715 echo $ac_n "(cached) $ac_c" 1>&6
2717 _cv_gnu_make_command='' ;
2718 for a in "${MAKE-make}" make gmake gnumake ; do
2719 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2721 _cv_gnu_make_command=$a ;
2728 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2729 if test "x$_cv_gnu_make_command" != "x" ; then
2736 #GLIBCPP_CHECK_COMPILER_VERSION
2738 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
2739 echo "configure:2740: checking for exception model to use" >&5
2742 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2743 ac_cpp='$CXXCPP $CPPFLAGS'
2744 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2745 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2746 cross_compiling=$ac_cv_prog_cxx_cross
2748 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
2749 if test "${enable_sjlj_exceptions+set}" = set; then
2750 enableval="$enable_sjlj_exceptions"
2753 cat > conftest.$ac_ext << EOF
2754 #line 2755 "configure"
2763 old_CXXFLAGS="$CXXFLAGS"
2765 if { (eval echo configure:2766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2766 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
2767 enable_sjlj_exceptions=yes
2768 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
2769 enable_sjlj_exceptions=no
2772 CXXFLAGS="$old_CXXFLAGS"
2776 if test x$enable_sjlj_exceptions = xyes; then
2777 cat >> confdefs.h <<\EOF
2778 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
2781 ac_exception_model_name=sjlj
2782 elif test x$enable_sjlj_exceptions = xno; then
2783 ac_exception_model_name="call frame"
2785 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
2788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2789 ac_cpp='$CPP $CPPFLAGS'
2790 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2791 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2792 cross_compiling=$ac_cv_prog_cc_cross
2794 echo "$ac_t""$ac_exception_model_name" 1>&6
2797 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
2798 echo "configure:2799: checking for use of libunwind" >&5
2799 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
2800 if test "${enable_libunwind_exceptions+set}" = set; then
2801 enableval="$enable_libunwind_exceptions"
2802 use_libunwind_exceptions=$enableval
2804 use_libunwind_exceptions=no
2807 echo "$ac_t""$use_libunwind_exceptions" 1>&6
2808 if test x"$use_libunwind_exceptions" = xyes; then
2809 LIBUNWIND_FLAG="-lunwind"
2815 # Check whether --enable-pch or --disable-pch was given.
2816 if test "${enable_pch+set}" = set; then
2817 enableval="$enable_pch"
2818 case "${enableval}" in
2819 yes) enable_pch=yes ;;
2820 no) enable_pch=no ;;
2821 *) { echo "configure: error: Unknown argument to enable/disable PCH" 1>&2; exit 1; } ;;
2827 if test x$enable_pch = xyes; then
2828 ac_test_CXXFLAGS="${CXXFLAGS+set}"
2829 ac_save_CXXFLAGS="$CXXFLAGS"
2830 CXXFLAGS='-Werror -Winvalid-pch -Wno-deprecated -x c++-header'
2832 echo $ac_n "checking for compiler that seems to compile .gch files""... $ac_c" 1>&6
2833 echo "configure:2834: checking for compiler that seems to compile .gch files" >&5
2834 if test x${glibcpp_pch_comp+set} != xset; then
2835 if eval "test \"`echo '$''{'glibcpp_pch_comp'+set}'`\" = set"; then
2836 echo $ac_n "(cached) $ac_c" 1>&6
2841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2842 ac_cpp='$CXXCPP $CPPFLAGS'
2843 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2844 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2845 cross_compiling=$ac_cv_prog_cxx_cross
2847 cat > conftest.$ac_ext <<EOF
2848 #line 2849 "configure"
2849 #include "confdefs.h"
2855 if { (eval echo configure:2856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2857 glibcpp_pch_comp=yes
2859 echo "configure: failed program was:" >&5
2860 cat conftest.$ac_ext >&5
2866 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2867 ac_cpp='$CPP $CPPFLAGS'
2868 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2869 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2870 cross_compiling=$ac_cv_prog_cc_cross
2876 echo "$ac_t""$glibcpp_pch_comp" 1>&6
2878 CXXFLAGS="$ac_save_CXXFLAGS"
2881 if test x"$enable_pch" = xyes && test x"$glibcpp_pch_comp" = xno; then
2885 echo $ac_n "checking for enabled PCH""... $ac_c" 1>&6
2886 echo "configure:2887: checking for enabled PCH" >&5
2887 echo "$ac_t""$enable_pch" 1>&6
2891 if test "$enable_pch" = yes; then
2892 GLIBCPP_BUILD_PCH_TRUE=
2893 GLIBCPP_BUILD_PCH_FALSE='#'
2895 GLIBCPP_BUILD_PCH_TRUE='#'
2896 GLIBCPP_BUILD_PCH_FALSE=
2898 if test "$enable_pch" = yes; then
2899 glibcpp_PCHFLAGS="-include bits/stdc++.h"
2906 # Enable all the variable C++ runtime options.
2907 # NB: C_MBCHAR must come early.
2909 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2910 echo "configure:2911: checking for cstdio to use" >&5
2911 # Check whether --enable-cstdio or --disable-cstdio was given.
2912 if test "${enable_cstdio+set}" = set; then
2913 enableval="$enable_cstdio"
2914 if test x$enable_cstdio = xno; then
2922 enable_cstdio_flag=$enable_cstdio
2924 case x${enable_cstdio_flag} in
2925 xstdio | x | xno | xnone | xyes)
2927 CSTDIO_H=config/io/c_io_stdio.h
2928 BASIC_FILE_H=config/io/basic_file_stdio.h
2929 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2930 echo "$ac_t""stdio" 1>&6
2933 echo "$enable_cstdio is an unknown io package" 1>&2
2941 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2942 echo "configure:2943: checking how to run the C preprocessor" >&5
2943 # On Suns, sometimes $CPP names a directory.
2944 if test -n "$CPP" && test -d "$CPP"; then
2947 if test -z "$CPP"; then
2948 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2949 echo $ac_n "(cached) $ac_c" 1>&6
2951 # This must be in double quotes, not single quotes, because CPP may get
2952 # substituted into the Makefile and "${CC-cc}" will confuse make.
2954 # On the NeXT, cc -E runs the code through the compiler's parser,
2955 # not just through cpp.
2956 cat > conftest.$ac_ext <<EOF
2957 #line 2958 "configure"
2958 #include "confdefs.h"
2962 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2963 { (eval echo configure:2964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2964 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2965 if test -z "$ac_err"; then
2969 echo "configure: failed program was:" >&5
2970 cat conftest.$ac_ext >&5
2972 CPP="${CC-cc} -E -traditional-cpp"
2973 cat > conftest.$ac_ext <<EOF
2974 #line 2975 "configure"
2975 #include "confdefs.h"
2979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2980 { (eval echo configure:2981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2982 if test -z "$ac_err"; then
2986 echo "configure: failed program was:" >&5
2987 cat conftest.$ac_ext >&5
2989 CPP="${CC-cc} -nologo -E"
2990 cat > conftest.$ac_ext <<EOF
2991 #line 2992 "configure"
2992 #include "confdefs.h"
2996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2997 { (eval echo configure:2998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2998 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2999 if test -z "$ac_err"; then
3003 echo "configure: failed program was:" >&5
3004 cat conftest.$ac_ext >&5
3013 ac_cv_prog_CPP="$CPP"
3015 CPP="$ac_cv_prog_CPP"
3017 ac_cv_prog_CPP="$CPP"
3019 echo "$ac_t""$CPP" 1>&6
3022 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
3023 echo "configure:3024: checking for clocale to use" >&5
3024 # Check whether --enable-clocale or --disable-clocale was given.
3025 if test "${enable_clocale+set}" = set; then
3026 enableval="$enable_clocale"
3027 if test x$enable_clocale = xno; then
3035 enable_clocale_flag=$enable_clocale
3037 if test x$enable_clocale_flag = xno; then
3038 case x${target_os} in
3040 cat > conftest.$ac_ext <<EOF
3041 #line 3042 "configure"
3042 #include "confdefs.h"
3044 #include <features.h>
3045 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3051 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3053 enable_clocale_flag=gnu
3056 enable_clocale_flag=generic
3061 # Test for bugs early in glibc-2.2.x series
3062 if test x$enable_clocale_flag = xgnu; then
3063 if test "$cross_compiling" = yes; then
3064 enable_clocale_flag=generic
3066 cat > conftest.$ac_ext <<EOF
3067 #line 3068 "configure"
3068 #include "confdefs.h"
3070 #define _GNU_SOURCE 1
3073 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3074 extern __typeof(newlocale) __newlocale;
3075 extern __typeof(duplocale) __duplocale;
3076 extern __typeof(strcoll_l) __strcoll_l;
3080 const char __one[] = "Äuglein Augmen";
3081 const char __two[] = "Äuglein";
3086 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3087 loc_dup = __duplocale(loc);
3088 i = __strcoll_l(__one, __two, loc);
3089 j = __strcoll_l(__one, __two, loc_dup);
3094 if { (eval echo configure:3095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3096 enable_clocale_flag=gnu
3098 echo "configure: failed program was:" >&5
3099 cat conftest.$ac_ext >&5
3101 enable_clocale_flag=generic
3108 # ... at some point put __strxfrm_l tests in as well.
3111 enable_clocale_flag=generic
3116 # Check whether --enable-nls or --disable-nls was given.
3117 if test "${enable_nls+set}" = set; then
3118 enableval="$enable_nls"
3126 case x${enable_clocale_flag} in
3128 echo "$ac_t""generic" 1>&6
3130 CLOCALE_H=config/locale/generic/c_locale.h
3131 CLOCALE_CC=config/locale/generic/c_locale.cc
3132 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3133 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3134 CCOLLATE_CC=config/locale/generic/collate_members.cc
3135 CCTYPE_CC=config/locale/generic/ctype_members.cc
3136 CMESSAGES_H=config/locale/generic/messages_members.h
3137 CMESSAGES_CC=config/locale/generic/messages_members.cc
3138 CMONEY_CC=config/locale/generic/monetary_members.cc
3139 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3140 CTIME_H=config/locale/generic/time_members.h
3141 CTIME_CC=config/locale/generic/time_members.cc
3142 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3145 echo "$ac_t""gnu" 1>&6
3147 # Declare intention to use gettext, and add support for specific
3149 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3152 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3153 # Extract the first word of "msgfmt", so it can be a program name with args.
3154 set dummy msgfmt; ac_word=$2
3155 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3156 echo "configure:3157: checking for $ac_word" >&5
3157 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3158 echo $ac_n "(cached) $ac_c" 1>&6
3160 if test -n "$check_msgfmt"; then
3161 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3163 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3165 for ac_dir in $ac_dummy; do
3166 test -z "$ac_dir" && ac_dir=.
3167 if test -f $ac_dir/$ac_word; then
3168 ac_cv_prog_check_msgfmt="yes"
3173 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3176 check_msgfmt="$ac_cv_prog_check_msgfmt"
3177 if test -n "$check_msgfmt"; then
3178 echo "$ac_t""$check_msgfmt" 1>&6
3180 echo "$ac_t""no" 1>&6
3183 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3186 # Export the build objects.
3187 for ling in $ALL_LINGUAS; do \
3188 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3189 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3194 CLOCALE_H=config/locale/gnu/c_locale.h
3195 CLOCALE_CC=config/locale/gnu/c_locale.cc
3196 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3197 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3198 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3199 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3200 CMESSAGES_H=config/locale/gnu/messages_members.h
3201 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3202 CMONEY_CC=config/locale/gnu/monetary_members.cc
3203 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3204 CTIME_H=config/locale/gnu/time_members.h
3205 CTIME_CC=config/locale/gnu/time_members.cc
3206 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3209 echo "$ac_t""IEEE 1003.1" 1>&6
3211 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3212 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3213 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3214 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3215 CCOLLATE_CC=config/locale/generic/collate_members.cc
3216 CCTYPE_CC=config/locale/generic/ctype_members.cc
3217 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3218 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3219 CMONEY_CC=config/locale/generic/monetary_members.cc
3220 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3221 CTIME_H=config/locale/generic/time_members.h
3222 CTIME_CC=config/locale/generic/time_members.cc
3223 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3226 echo "$enable_clocale is an unknown locale package" 1>&2
3231 # This is where the testsuite looks for locale catalogs, using the
3232 # -DLOCALEDIR define during testsuite compilation.
3233 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3236 # A standalone libintl (e.g., GNU libintl) may be in use.
3237 if test $USE_NLS = yes; then
3238 for ac_hdr in libintl.h
3240 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3241 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3242 echo "configure:3243: checking for $ac_hdr" >&5
3243 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3244 echo $ac_n "(cached) $ac_c" 1>&6
3246 cat > conftest.$ac_ext <<EOF
3247 #line 3248 "configure"
3248 #include "confdefs.h"
3251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3252 { (eval echo configure:3253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3254 if test -z "$ac_err"; then
3256 eval "ac_cv_header_$ac_safe=yes"
3259 echo "configure: failed program was:" >&5
3260 cat conftest.$ac_ext >&5
3262 eval "ac_cv_header_$ac_safe=no"
3266 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3267 echo "$ac_t""yes" 1>&6
3268 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3269 cat >> confdefs.h <<EOF
3270 #define $ac_tr_hdr 1
3274 echo "$ac_t""no" 1>&6
3280 echo $ac_n "checking for library containing gettext""... $ac_c" 1>&6
3281 echo "configure:3282: checking for library containing gettext" >&5
3282 if eval "test \"`echo '$''{'ac_cv_search_gettext'+set}'`\" = set"; then
3283 echo $ac_n "(cached) $ac_c" 1>&6
3285 ac_func_search_save_LIBS="$LIBS"
3286 ac_cv_search_gettext="no"
3287 cat > conftest.$ac_ext <<EOF
3288 #line 3289 "configure"
3289 #include "confdefs.h"
3290 /* Override any gcc2 internal prototype to avoid an error. */
3291 /* We use char because int might match the return type of a gcc2
3292 builtin and then its argument prototype would still apply. */
3299 if { (eval echo configure:3300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3301 ac_cv_search_gettext="none required"
3303 echo "configure: failed program was:" >&5
3304 cat conftest.$ac_ext >&5
3307 test "$ac_cv_search_gettext" = "no" && for i in intl; do
3308 LIBS="-l$i $ac_func_search_save_LIBS"
3309 cat > conftest.$ac_ext <<EOF
3310 #line 3311 "configure"
3311 #include "confdefs.h"
3312 /* Override any gcc2 internal prototype to avoid an error. */
3313 /* We use char because int might match the return type of a gcc2
3314 builtin and then its argument prototype would still apply. */
3321 if { (eval echo configure:3322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3323 ac_cv_search_gettext="-l$i"
3326 echo "configure: failed program was:" >&5
3327 cat conftest.$ac_ext >&5
3331 LIBS="$ac_func_search_save_LIBS"
3334 echo "$ac_t""$ac_cv_search_gettext" 1>&6
3335 if test "$ac_cv_search_gettext" != "no"; then
3336 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
3342 if test $USE_NLS = yes; then
3343 cat >> confdefs.h <<\EOF
3344 #define _GLIBCPP_USE_NLS 1
3364 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3365 echo "configure:3366: checking for c header strategy to use" >&5
3366 # Check whether --enable-cheaders or --disable-cheaders was given.
3367 if test "${enable_cheaders+set}" = set; then
3368 enableval="$enable_cheaders"
3370 case "$enableval" in
3375 enable_cheaders=c_std
3377 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3381 enable_cheaders=c_std
3384 echo "$ac_t""$enable_cheaders" 1>&6
3386 case "$enable_cheaders" in
3388 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3391 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3398 if test "$enable_cheaders" = c; then
3399 GLIBCPP_C_HEADERS_C_TRUE=
3400 GLIBCPP_C_HEADERS_C_FALSE='#'
3402 GLIBCPP_C_HEADERS_C_TRUE='#'
3403 GLIBCPP_C_HEADERS_C_FALSE=
3407 if test "$enable_cheaders" = c_std; then
3408 GLIBCPP_C_HEADERS_C_STD_TRUE=
3409 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3411 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3412 GLIBCPP_C_HEADERS_C_STD_FALSE=
3416 if test "$c_compatibility" = yes; then
3417 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3418 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3420 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3421 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3424 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3425 if test "${enable_c_mbchar+set}" = set; then
3426 enableval="$enable_c_mbchar"
3427 case "$enableval" in
3428 yes) enable_c_mbchar=yes ;;
3429 no) enable_c_mbchar=no ;;
3430 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3437 # Check whether --enable-c99 or --disable-c99 was given.
3438 if test "${enable_c99+set}" = set; then
3439 enableval="$enable_c99"
3440 case "$enableval" in
3441 yes) enable_c99=yes ;;
3442 no) enable_c99=no ;;
3443 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3452 ac_cpp='$CXXCPP $CPPFLAGS'
3453 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3454 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3455 cross_compiling=$ac_cv_prog_cxx_cross
3458 # Check for the existence of <math.h> functions used if C99 is enabled.
3460 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3461 echo "configure:3462: checking for ISO C99 support in <math.h>" >&5
3462 cat > conftest.$ac_ext <<EOF
3463 #line 3464 "configure"
3464 #include "confdefs.h"
3470 if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3473 echo "configure: failed program was:" >&5
3474 cat conftest.$ac_ext >&5
3479 cat > conftest.$ac_ext <<EOF
3480 #line 3481 "configure"
3481 #include "confdefs.h"
3487 if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3490 echo "configure: failed program was:" >&5
3491 cat conftest.$ac_ext >&5
3496 cat > conftest.$ac_ext <<EOF
3497 #line 3498 "configure"
3498 #include "confdefs.h"
3504 if { (eval echo configure:3505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3507 echo "configure: failed program was:" >&5
3508 cat conftest.$ac_ext >&5
3513 cat > conftest.$ac_ext <<EOF
3514 #line 3515 "configure"
3515 #include "confdefs.h"
3521 if { (eval echo configure:3522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3524 echo "configure: failed program was:" >&5
3525 cat conftest.$ac_ext >&5
3530 cat > conftest.$ac_ext <<EOF
3531 #line 3532 "configure"
3532 #include "confdefs.h"
3538 if { (eval echo configure:3539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3541 echo "configure: failed program was:" >&5
3542 cat conftest.$ac_ext >&5
3547 cat > conftest.$ac_ext <<EOF
3548 #line 3549 "configure"
3549 #include "confdefs.h"
3555 if { (eval echo configure:3556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3558 echo "configure: failed program was:" >&5
3559 cat conftest.$ac_ext >&5
3564 cat > conftest.$ac_ext <<EOF
3565 #line 3566 "configure"
3566 #include "confdefs.h"
3572 if { (eval echo configure:3573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3575 echo "configure: failed program was:" >&5
3576 cat conftest.$ac_ext >&5
3581 cat > conftest.$ac_ext <<EOF
3582 #line 3583 "configure"
3583 #include "confdefs.h"
3586 isgreaterequal(0.0,0.0);
3589 if { (eval echo configure:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3592 echo "configure: failed program was:" >&5
3593 cat conftest.$ac_ext >&5
3598 cat > conftest.$ac_ext <<EOF
3599 #line 3600 "configure"
3600 #include "confdefs.h"
3606 if { (eval echo configure:3607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3609 echo "configure: failed program was:" >&5
3610 cat conftest.$ac_ext >&5
3615 cat > conftest.$ac_ext <<EOF
3616 #line 3617 "configure"
3617 #include "confdefs.h"
3620 islessequal(0.0,0.0);
3623 if { (eval echo configure:3624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3626 echo "configure: failed program was:" >&5
3627 cat conftest.$ac_ext >&5
3632 cat > conftest.$ac_ext <<EOF
3633 #line 3634 "configure"
3634 #include "confdefs.h"
3637 islessgreater(0.0,0.0);
3640 if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3643 echo "configure: failed program was:" >&5
3644 cat conftest.$ac_ext >&5
3649 cat > conftest.$ac_ext <<EOF
3650 #line 3651 "configure"
3651 #include "confdefs.h"
3654 isunordered(0.0,0.0);
3657 if { (eval echo configure:3658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3660 echo "configure: failed program was:" >&5
3661 cat conftest.$ac_ext >&5
3666 echo "$ac_t""$ac_c99_math" 1>&6
3668 # Check for the existence in <stdio.h> of vscanf, et. al.
3670 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3671 echo "configure:3672: checking for ISO C99 support in <stdio.h>" >&5
3672 cat > conftest.$ac_ext <<EOF
3673 #line 3674 "configure"
3674 #include "confdefs.h"
3677 snprintf("12", 0, "%i");
3680 if { (eval echo configure:3681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3683 echo "configure: failed program was:" >&5
3684 cat conftest.$ac_ext >&5
3689 cat > conftest.$ac_ext <<EOF
3690 #line 3691 "configure"
3691 #include "confdefs.h"
3694 void foo(char* fmt, ...)
3695 {va_list args; va_start(args, fmt);
3696 vfscanf(stderr, "%i", args);}
3701 if { (eval echo configure:3702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3704 echo "configure: failed program was:" >&5
3705 cat conftest.$ac_ext >&5
3710 cat > conftest.$ac_ext <<EOF
3711 #line 3712 "configure"
3712 #include "confdefs.h"
3715 void foo(char* fmt, ...)
3716 {va_list args; va_start(args, fmt);
3717 vscanf("%i", args);}
3722 if { (eval echo configure:3723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3725 echo "configure: failed program was:" >&5
3726 cat conftest.$ac_ext >&5
3731 cat > conftest.$ac_ext <<EOF
3732 #line 3733 "configure"
3733 #include "confdefs.h"
3736 void foo(char* fmt, ...)
3737 {va_list args; va_start(args, fmt);
3738 vsnprintf(fmt, 0, "%i", args);}
3743 if { (eval echo configure:3744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3746 echo "configure: failed program was:" >&5
3747 cat conftest.$ac_ext >&5
3752 cat > conftest.$ac_ext <<EOF
3753 #line 3754 "configure"
3754 #include "confdefs.h"
3757 void foo(char* fmt, ...)
3758 {va_list args; va_start(args, fmt);
3759 vsscanf(fmt, "%i", args);}
3764 if { (eval echo configure:3765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3767 echo "configure: failed program was:" >&5
3768 cat conftest.$ac_ext >&5
3773 echo "$ac_t""$ac_c99_stdio" 1>&6
3775 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3777 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3778 echo "configure:3779: checking for lldiv_t declaration" >&5
3779 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3780 echo $ac_n "(cached) $ac_c" 1>&6
3783 cat > conftest.$ac_ext <<EOF
3784 #line 3785 "configure"
3785 #include "confdefs.h"
3791 if { (eval echo configure:3792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3795 echo "configure: failed program was:" >&5
3796 cat conftest.$ac_ext >&5
3804 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3806 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3807 echo "configure:3808: checking for ISO C99 support in <stdlib.h>" >&5
3808 cat > conftest.$ac_ext <<EOF
3809 #line 3810 "configure"
3810 #include "confdefs.h"
3813 char* tmp; strtof("gnu", &tmp);
3816 if { (eval echo configure:3817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3819 echo "configure: failed program was:" >&5
3820 cat conftest.$ac_ext >&5
3825 cat > conftest.$ac_ext <<EOF
3826 #line 3827 "configure"
3827 #include "confdefs.h"
3830 char* tmp; strtold("gnu", &tmp);
3833 if { (eval echo configure:3834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3836 echo "configure: failed program was:" >&5
3837 cat conftest.$ac_ext >&5
3842 cat > conftest.$ac_ext <<EOF
3843 #line 3844 "configure"
3844 #include "confdefs.h"
3850 if { (eval echo configure:3851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3853 echo "configure: failed program was:" >&5
3854 cat conftest.$ac_ext >&5
3859 cat > conftest.$ac_ext <<EOF
3860 #line 3861 "configure"
3861 #include "confdefs.h"
3867 if { (eval echo configure:3868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3870 echo "configure: failed program was:" >&5
3871 cat conftest.$ac_ext >&5
3876 cat > conftest.$ac_ext <<EOF
3877 #line 3878 "configure"
3878 #include "confdefs.h"
3884 if { (eval echo configure:3885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3887 echo "configure: failed program was:" >&5
3888 cat conftest.$ac_ext >&5
3893 cat > conftest.$ac_ext <<EOF
3894 #line 3895 "configure"
3895 #include "confdefs.h"
3901 if { (eval echo configure:3902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3904 echo "configure: failed program was:" >&5
3905 cat conftest.$ac_ext >&5
3910 if test x"$ac_c99_lldiv_t" = x"no"; then
3913 echo "$ac_t""$ac_c99_stdlib" 1>&6
3915 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3916 # XXX the wchar.h checks should be rolled into the general C99 bits.
3918 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3919 echo "configure:3920: checking for additional ISO C99 support in <wchar.h>" >&5
3920 cat > conftest.$ac_ext <<EOF
3921 #line 3922 "configure"
3922 #include "confdefs.h"
3925 wcstold(L"10.0", NULL);
3928 if { (eval echo configure:3929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3931 echo "configure: failed program was:" >&5
3932 cat conftest.$ac_ext >&5
3937 cat > conftest.$ac_ext <<EOF
3938 #line 3939 "configure"
3939 #include "confdefs.h"
3942 wcstoll(L"10", NULL, 10);
3945 if { (eval echo configure:3946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3948 echo "configure: failed program was:" >&5
3949 cat conftest.$ac_ext >&5
3954 cat > conftest.$ac_ext <<EOF
3955 #line 3956 "configure"
3956 #include "confdefs.h"
3959 wcstoull(L"10", NULL, 10);
3962 if { (eval echo configure:3963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3965 echo "configure: failed program was:" >&5
3966 cat conftest.$ac_ext >&5
3971 echo "$ac_t""$ac_c99_wchar" 1>&6
3973 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3974 echo "configure:3975: checking for enabled ISO C99 support" >&5
3975 if test x"$ac_c99_math" = x"no" ||
3976 test x"$ac_c99_stdio" = x"no" ||
3977 test x"$ac_c99_stdlib" = x"no" ||
3978 test x"$ac_c99_wchar" = x"no"; then
3981 echo "$ac_t""$enable_c99" 1>&6
3983 # Option parsed, now set things appropriately
3984 if test x"$enable_c99" = x"yes"; then
3985 cat >> confdefs.h <<\EOF
3986 #define _GLIBCPP_USE_C99 1
3992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3993 ac_cpp='$CPP $CPPFLAGS'
3994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3996 cross_compiling=$ac_cv_prog_cc_cross
4000 # Check whether --enable-long-long or --disable-long-long was given.
4001 if test "${enable_long_long+set}" = set; then
4002 enableval="$enable_long_long"
4003 case "$enableval" in
4004 yes) enable_long_long=yes ;;
4005 no) enable_long_long=no ;;
4006 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
4009 enable_long_long=yes
4014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4015 ac_cpp='$CXXCPP $CPPFLAGS'
4016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4018 cross_compiling=$ac_cv_prog_cxx_cross
4021 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
4022 echo "configure:4023: checking for enabled long long I/O support" >&5
4023 # iostreams require strtoll, strtoull to compile
4024 cat > conftest.$ac_ext <<EOF
4025 #line 4026 "configure"
4026 #include "confdefs.h"
4029 char* tmp; strtoll("gnu", &tmp, 10);
4032 if { (eval echo configure:4033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4035 echo "configure: failed program was:" >&5
4036 cat conftest.$ac_ext >&5
4041 cat > conftest.$ac_ext <<EOF
4042 #line 4043 "configure"
4043 #include "confdefs.h"
4046 char* tmp; strtoull("gnu", &tmp, 10);
4049 if { (eval echo configure:4050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4052 echo "configure: failed program was:" >&5
4053 cat conftest.$ac_ext >&5
4059 # Option parsed, now set things appropriately
4060 if test x"$enable_long_long" = xyes; then
4061 cat >> confdefs.h <<\EOF
4062 #define _GLIBCPP_USE_LONG_LONG 1
4066 echo "$ac_t""$enable_long_long" 1>&6
4069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4070 ac_cpp='$CPP $CPPFLAGS'
4071 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4072 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4073 cross_compiling=$ac_cv_prog_cc_cross
4077 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
4078 echo "configure:4079: checking for thread model used by GCC" >&5
4079 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4080 echo "$ac_t""$target_thread_file" 1>&6
4082 if test $target_thread_file != single; then
4083 cat >> confdefs.h <<\EOF
4084 #define HAVE_GTHR_DEFAULT 1
4087 cat >> confdefs.h <<\EOF
4088 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
4093 glibcpp_thread_h=gthr-$target_thread_file.h
4096 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4097 if test "${enable_concept_checks+set}" = set; then
4098 enableval="$enable_concept_checks"
4099 case "$enableval" in
4100 yes) enable_concept_checks=yes ;;
4101 no) enable_concept_checks=no ;;
4102 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4105 enable_concept_checks=no
4107 if test x"$enable_concept_checks" = xyes; then
4108 cat >> confdefs.h <<\EOF
4109 #define _GLIBCPP_CONCEPT_CHECKS 1
4114 echo $ac_n "checking for extra compiler flags for building""... $ac_c" 1>&6
4115 echo "configure:4116: checking for extra compiler flags for building" >&5
4116 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4117 if test "${enable_cxx_flags+set}" = set; then
4118 enableval="$enable_cxx_flags"
4119 case "x$enable_cxx_flags" in
4121 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
4123 enable_cxx_flags='' ;;
4125 enable_cxx_flags="$enableval" ;;
4132 if test -n "$enable_cxx_flags"; then
4133 for f in $enable_cxx_flags; do
4137 *) # and we're trying to pass /what/ exactly?
4138 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
4142 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4143 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4146 # Check whether --enable-debug or --disable-debug was given.
4147 if test "${enable_debug+set}" = set; then
4148 enableval="$enable_debug"
4149 case "${enableval}" in
4150 yes) enable_debug=yes ;;
4151 no) enable_debug=no ;;
4152 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
4157 echo $ac_n "checking for additional debug build""... $ac_c" 1>&6
4158 echo "configure:4159: checking for additional debug build" >&5
4159 echo "$ac_t""$enable_debug" 1>&6
4162 if test "$enable_debug" = yes; then
4163 GLIBCPP_BUILD_DEBUG_TRUE=
4164 GLIBCPP_BUILD_DEBUG_FALSE='#'
4166 GLIBCPP_BUILD_DEBUG_TRUE='#'
4167 GLIBCPP_BUILD_DEBUG_FALSE=
4170 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4171 if test "${enable_debug_flags+set}" = set; then
4172 enableval="$enable_debug_flags"
4173 case "${enableval}" in
4175 -*) enable_debug_flags="${enableval}" ;;
4176 *) { echo "configure: error: Unknown argument to extra debugging flags" 1>&2; exit 1; } ;;
4179 enable_debug_flags=none
4182 case x"$enable_debug" in
4184 case "$enable_debug_flags" in
4186 DEBUG_FLAGS="-g3 -O0";;
4188 DEBUG_FLAGS="${enableval}"
4197 echo $ac_n "checking for debug build flags""... $ac_c" 1>&6
4198 echo "configure:4199: checking for debug build flags" >&5
4199 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4202 # No surprises, no surprises...
4203 if test $ATOMICITYH = cpu/generic ; then
4204 echo "configure: warning: No native atomic operations are provided for this platform." 1>&2
4205 if test $target_thread_file = single; then
4206 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4207 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4209 echo "configure: warning: They will be faked using a mutex." 1>&2
4210 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4215 if test x"$build" != x"$host"; then
4217 # We are being configured with some form of cross compiler.
4218 GLIBCPP_IS_CROSS_COMPILING=true
4220 # This lets us hard-code the functionality we know we'll have in the cross
4221 # target environment. "Let" is a sugar-coated word placed on an especially
4222 # dull and tedious hack, actually.
4224 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4225 # that involve linking, can't be used:
4226 # "cannot open sim-crt0.o"
4227 # "cannot open crt0.o"
4228 # etc. All this is because there currently exists no unified, consistent
4229 # way for top level CC information to be passed down to target directories:
4230 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4231 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4232 # crosses can be removed.
4234 # If Canadian cross, then don't pick up tools from the build directory.
4235 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4236 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host" \
4237 && test x"$build" != x"$target"; then
4243 # Construct crosses by hand, eliminating bits that need ld...
4244 # GLIBCPP_CHECK_COMPILER_FEATURES
4245 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4246 # GLIBCPP_CHECK_MATH_SUPPORT
4250 os_include_dir="os/bsd/freebsd"
4251 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4252 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4253 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
4256 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4257 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4258 echo "configure:4259: checking for $ac_hdr" >&5
4259 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4260 echo $ac_n "(cached) $ac_c" 1>&6
4262 cat > conftest.$ac_ext <<EOF
4263 #line 4264 "configure"
4264 #include "confdefs.h"
4267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4268 { (eval echo configure:4269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4270 if test -z "$ac_err"; then
4272 eval "ac_cv_header_$ac_safe=yes"
4275 echo "configure: failed program was:" >&5
4276 cat conftest.$ac_ext >&5
4278 eval "ac_cv_header_$ac_safe=no"
4282 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4283 echo "$ac_t""yes" 1>&6
4284 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4285 cat >> confdefs.h <<EOF
4286 #define $ac_tr_hdr 1
4290 echo "$ac_t""no" 1>&6
4294 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4297 # If we're not using GNU ld, then there's no point in even trying these
4298 # tests. Check for that first. We should have already tested for gld
4299 # by now (in libtool), but require it now just to be safe...
4300 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4301 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4304 # The name set by libtool depends on the version of libtool. Shame on us
4305 # for depending on an impl detail, but c'est la vie. Older versions used
4306 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4307 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4308 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4309 # set (hence we're using an older libtool), then set it.
4310 if test x${with_gnu_ld+set} != xset; then
4311 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4312 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4315 with_gnu_ld=$ac_cv_prog_gnu_ld
4319 # Start by getting the version number. I think the libtool test already
4320 # does some of this, but throws away the result.
4322 ldver=`$LD --version 2>/dev/null | head -1 | \
4323 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4325 glibcpp_gnu_ld_version=`echo $ldver | \
4326 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4328 # Set --gc-sections.
4329 if test "$with_gnu_ld" = "notbroken"; then
4330 # GNU ld it is! Joy and bunny rabbits!
4332 # All these tests are for C++; save the language and the compiler flags.
4333 # Need to do this so that g++ won't try to link in libstdc++
4334 ac_test_CFLAGS="${CFLAGS+set}"
4335 ac_save_CFLAGS="$CFLAGS"
4336 CFLAGS='-x c++ -Wl,--gc-sections'
4338 # Check for -Wl,--gc-sections
4339 # XXX This test is broken at the moment, as symbols required for
4340 # linking are now in libsupc++ (not built yet.....). In addition,
4341 # this test has cored on solaris in the past. In addition,
4342 # --gc-sections doesn't really work at the moment (keeps on discarding
4343 # used sections, first .eh_frame and now some of the glibc sections for
4344 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4345 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4346 echo "configure:4347: checking for ld that supports -Wl,--gc-sections" >&5
4347 if test "$cross_compiling" = yes; then
4348 ac_sectionLDflags=yes
4350 cat > conftest.$ac_ext <<EOF
4351 #line 4352 "configure"
4352 #include "confdefs.h"
4362 if { (eval echo configure:4363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4364 ac_sectionLDflags=yes
4366 echo "configure: failed program was:" >&5
4367 cat conftest.$ac_ext >&5
4369 ac_sectionLDflags=no
4374 if test "$ac_test_CFLAGS" = set; then
4375 CFLAGS="$ac_save_CFLAGS"
4377 # this is the suspicious part
4380 if test "$ac_sectionLDflags" = "yes"; then
4381 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4383 echo "$ac_t""$ac_sectionLDflags" 1>&6
4386 # Set linker optimization flags.
4387 if test x"$with_gnu_ld" = x"yes"; then
4388 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4395 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4396 echo "configure:4397: checking for main in -lm" >&5
4397 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4398 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4399 echo $ac_n "(cached) $ac_c" 1>&6
4401 ac_save_LIBS="$LIBS"
4403 cat > conftest.$ac_ext <<EOF
4404 #line 4405 "configure"
4405 #include "confdefs.h"
4411 if { (eval echo configure:4412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4413 eval "ac_cv_lib_$ac_lib_var=yes"
4415 echo "configure: failed program was:" >&5
4416 cat conftest.$ac_ext >&5
4418 eval "ac_cv_lib_$ac_lib_var=no"
4421 LIBS="$ac_save_LIBS"
4424 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4425 echo "$ac_t""yes" 1>&6
4426 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4427 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4428 cat >> confdefs.h <<EOF
4429 #define $ac_tr_lib 1
4435 echo "$ac_t""no" 1>&6
4438 for ac_func in nan copysignf
4440 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4441 echo "configure:4442: checking for $ac_func" >&5
4442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4443 echo $ac_n "(cached) $ac_c" 1>&6
4445 cat > conftest.$ac_ext <<EOF
4446 #line 4447 "configure"
4447 #include "confdefs.h"
4448 /* System header to define __stub macros and hopefully few prototypes,
4449 which can conflict with char $ac_func(); below. */
4451 /* Override any gcc2 internal prototype to avoid an error. */
4452 /* We use char because int might match the return type of a gcc2
4453 builtin and then its argument prototype would still apply. */
4458 /* The GNU C library defines this for functions which it implements
4459 to always fail with ENOSYS. Some functions are actually named
4460 something starting with __ and the normal name is an alias. */
4461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4469 if { (eval echo configure:4470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4471 eval "ac_cv_func_$ac_func=yes"
4473 echo "configure: failed program was:" >&5
4474 cat conftest.$ac_ext >&5
4476 eval "ac_cv_func_$ac_func=no"
4481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4482 echo "$ac_t""yes" 1>&6
4483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4484 cat >> confdefs.h <<EOF
4485 #define $ac_tr_func 1
4489 echo "$ac_t""no" 1>&6
4490 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4495 for ac_func in __signbit
4497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4498 echo "configure:4499: checking for $ac_func" >&5
4499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4500 echo $ac_n "(cached) $ac_c" 1>&6
4502 cat > conftest.$ac_ext <<EOF
4503 #line 4504 "configure"
4504 #include "confdefs.h"
4505 /* System header to define __stub macros and hopefully few prototypes,
4506 which can conflict with char $ac_func(); below. */
4508 /* Override any gcc2 internal prototype to avoid an error. */
4509 /* We use char because int might match the return type of a gcc2
4510 builtin and then its argument prototype would still apply. */
4515 /* The GNU C library defines this for functions which it implements
4516 to always fail with ENOSYS. Some functions are actually named
4517 something starting with __ and the normal name is an alias. */
4518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4526 if { (eval echo configure:4527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4528 eval "ac_cv_func_$ac_func=yes"
4530 echo "configure: failed program was:" >&5
4531 cat conftest.$ac_ext >&5
4533 eval "ac_cv_func_$ac_func=no"
4538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4539 echo "$ac_t""yes" 1>&6
4540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4541 cat >> confdefs.h <<EOF
4542 #define $ac_tr_func 1
4546 echo "$ac_t""no" 1>&6
4547 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4551 for ac_func in __signbitf
4553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4554 echo "configure:4555: checking for $ac_func" >&5
4555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4556 echo $ac_n "(cached) $ac_c" 1>&6
4558 cat > conftest.$ac_ext <<EOF
4559 #line 4560 "configure"
4560 #include "confdefs.h"
4561 /* System header to define __stub macros and hopefully few prototypes,
4562 which can conflict with char $ac_func(); below. */
4564 /* Override any gcc2 internal prototype to avoid an error. */
4565 /* We use char because int might match the return type of a gcc2
4566 builtin and then its argument prototype would still apply. */
4571 /* The GNU C library defines this for functions which it implements
4572 to always fail with ENOSYS. Some functions are actually named
4573 something starting with __ and the normal name is an alias. */
4574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4582 if { (eval echo configure:4583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4584 eval "ac_cv_func_$ac_func=yes"
4586 echo "configure: failed program was:" >&5
4587 cat conftest.$ac_ext >&5
4589 eval "ac_cv_func_$ac_func=no"
4594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4595 echo "$ac_t""yes" 1>&6
4596 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4597 cat >> confdefs.h <<EOF
4598 #define $ac_tr_func 1
4602 echo "$ac_t""no" 1>&6
4603 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4608 if test x$ac_cv_func_copysignl = x"yes"; then
4609 for ac_func in __signbitl
4611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4612 echo "configure:4613: checking for $ac_func" >&5
4613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4614 echo $ac_n "(cached) $ac_c" 1>&6
4616 cat > conftest.$ac_ext <<EOF
4617 #line 4618 "configure"
4618 #include "confdefs.h"
4619 /* System header to define __stub macros and hopefully few prototypes,
4620 which can conflict with char $ac_func(); below. */
4622 /* Override any gcc2 internal prototype to avoid an error. */
4623 /* We use char because int might match the return type of a gcc2
4624 builtin and then its argument prototype would still apply. */
4629 /* The GNU C library defines this for functions which it implements
4630 to always fail with ENOSYS. Some functions are actually named
4631 something starting with __ and the normal name is an alias. */
4632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4640 if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4642 eval "ac_cv_func_$ac_func=yes"
4644 echo "configure: failed program was:" >&5
4645 cat conftest.$ac_ext >&5
4647 eval "ac_cv_func_$ac_func=no"
4652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4653 echo "$ac_t""yes" 1>&6
4654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4655 cat >> confdefs.h <<EOF
4656 #define $ac_tr_func 1
4660 echo "$ac_t""no" 1>&6
4661 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4667 if test -n "$LIBMATHOBJS"; then
4674 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4675 echo "configure:4676: checking for mbstate_t" >&5
4676 cat > conftest.$ac_ext <<EOF
4677 #line 4678 "configure"
4678 #include "confdefs.h"
4681 mbstate_t teststate;
4684 if { (eval echo configure:4685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4688 echo "configure: failed program was:" >&5
4689 cat conftest.$ac_ext >&5
4694 echo "$ac_t""$have_mbstate_t" 1>&6
4695 if test x"$have_mbstate_t" = xyes; then
4696 cat >> confdefs.h <<\EOF
4697 #define HAVE_MBSTATE_T 1
4702 for ac_hdr in wchar.h
4704 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4705 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4706 echo "configure:4707: checking for $ac_hdr" >&5
4707 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4708 echo $ac_n "(cached) $ac_c" 1>&6
4710 cat > conftest.$ac_ext <<EOF
4711 #line 4712 "configure"
4712 #include "confdefs.h"
4715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4716 { (eval echo configure:4717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4718 if test -z "$ac_err"; then
4720 eval "ac_cv_header_$ac_safe=yes"
4723 echo "configure: failed program was:" >&5
4724 cat conftest.$ac_ext >&5
4726 eval "ac_cv_header_$ac_safe=no"
4730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4731 echo "$ac_t""yes" 1>&6
4732 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4733 cat >> confdefs.h <<EOF
4734 #define $ac_tr_hdr 1
4738 echo "$ac_t""no" 1>&6
4743 for ac_hdr in wctype.h
4745 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4746 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4747 echo "configure:4748: checking for $ac_hdr" >&5
4748 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4749 echo $ac_n "(cached) $ac_c" 1>&6
4751 cat > conftest.$ac_ext <<EOF
4752 #line 4753 "configure"
4753 #include "confdefs.h"
4756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4757 { (eval echo configure:4758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4759 if test -z "$ac_err"; then
4761 eval "ac_cv_header_$ac_safe=yes"
4764 echo "configure: failed program was:" >&5
4765 cat conftest.$ac_ext >&5
4767 eval "ac_cv_header_$ac_safe=no"
4771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4772 echo "$ac_t""yes" 1>&6
4773 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4774 cat >> confdefs.h <<EOF
4775 #define $ac_tr_hdr 1
4779 echo "$ac_t""no" 1>&6
4785 if test x"$ac_has_wchar_h" = xyes &&
4786 test x"$ac_has_wctype_h" = xyes &&
4787 test x"$enable_c_mbchar" != xno; then
4789 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4790 echo "configure:4791: checking for WCHAR_MIN and WCHAR_MAX" >&5
4791 cat > conftest.$ac_ext <<EOF
4792 #line 4793 "configure"
4793 #include "confdefs.h"
4796 int i = WCHAR_MIN; int j = WCHAR_MAX;
4799 if { (eval echo configure:4800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4801 has_wchar_minmax=yes
4803 echo "configure: failed program was:" >&5
4804 cat conftest.$ac_ext >&5
4809 echo "$ac_t""$has_wchar_minmax" 1>&6
4811 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4812 echo "configure:4813: checking for WEOF" >&5
4813 cat > conftest.$ac_ext <<EOF
4814 #line 4815 "configure"
4815 #include "confdefs.h"
4823 if { (eval echo configure:4824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4827 echo "configure: failed program was:" >&5
4828 cat conftest.$ac_ext >&5
4833 echo "$ac_t""$has_weof" 1>&6
4836 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4839 echo "configure:4840: checking for $ac_func" >&5
4840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4841 echo $ac_n "(cached) $ac_c" 1>&6
4843 cat > conftest.$ac_ext <<EOF
4844 #line 4845 "configure"
4845 #include "confdefs.h"
4846 /* System header to define __stub macros and hopefully few prototypes,
4847 which can conflict with char $ac_func(); below. */
4849 /* Override any gcc2 internal prototype to avoid an error. */
4850 /* We use char because int might match the return type of a gcc2
4851 builtin and then its argument prototype would still apply. */
4856 /* The GNU C library defines this for functions which it implements
4857 to always fail with ENOSYS. Some functions are actually named
4858 something starting with __ and the normal name is an alias. */
4859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4867 if { (eval echo configure:4868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4869 eval "ac_cv_func_$ac_func=yes"
4871 echo "configure: failed program was:" >&5
4872 cat conftest.$ac_ext >&5
4874 eval "ac_cv_func_$ac_func=no"
4879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4880 echo "$ac_t""yes" 1>&6
4881 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4882 cat >> confdefs.h <<EOF
4883 #define $ac_tr_func 1
4887 echo "$ac_t""no" 1>&6
4894 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4895 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4896 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4897 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4898 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4899 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4902 echo "configure:4903: checking for $ac_func" >&5
4903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4904 echo $ac_n "(cached) $ac_c" 1>&6
4906 cat > conftest.$ac_ext <<EOF
4907 #line 4908 "configure"
4908 #include "confdefs.h"
4909 /* System header to define __stub macros and hopefully few prototypes,
4910 which can conflict with char $ac_func(); below. */
4912 /* Override any gcc2 internal prototype to avoid an error. */
4913 /* We use char because int might match the return type of a gcc2
4914 builtin and then its argument prototype would still apply. */
4919 /* The GNU C library defines this for functions which it implements
4920 to always fail with ENOSYS. Some functions are actually named
4921 something starting with __ and the normal name is an alias. */
4922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4932 eval "ac_cv_func_$ac_func=yes"
4934 echo "configure: failed program was:" >&5
4935 cat conftest.$ac_ext >&5
4937 eval "ac_cv_func_$ac_func=no"
4942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4943 echo "$ac_t""yes" 1>&6
4944 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4945 cat >> confdefs.h <<EOF
4946 #define $ac_tr_func 1
4950 echo "$ac_t""no" 1>&6
4957 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4958 echo "configure:4959: checking for ISO C99 wchar_t support" >&5
4959 if test x"$has_weof" = xyes &&
4960 test x"$has_wchar_minmax" = xyes &&
4961 test x"$ac_wfuncs" = xyes; then
4962 ac_isoC99_wchar_t=yes
4964 ac_isoC99_wchar_t=no
4966 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4968 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4969 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4970 echo "configure:4971: checking for iconv.h" >&5
4971 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4972 echo $ac_n "(cached) $ac_c" 1>&6
4974 cat > conftest.$ac_ext <<EOF
4975 #line 4976 "configure"
4976 #include "confdefs.h"
4979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4980 { (eval echo configure:4981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4982 if test -z "$ac_err"; then
4984 eval "ac_cv_header_$ac_safe=yes"
4987 echo "configure: failed program was:" >&5
4988 cat conftest.$ac_ext >&5
4990 eval "ac_cv_header_$ac_safe=no"
4994 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4995 echo "$ac_t""yes" 1>&6
4998 echo "$ac_t""no" 1>&6
5002 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5003 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5004 echo "configure:5005: checking for langinfo.h" >&5
5005 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5006 echo $ac_n "(cached) $ac_c" 1>&6
5008 cat > conftest.$ac_ext <<EOF
5009 #line 5010 "configure"
5010 #include "confdefs.h"
5011 #include <langinfo.h>
5013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5014 { (eval echo configure:5015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5016 if test -z "$ac_err"; then
5018 eval "ac_cv_header_$ac_safe=yes"
5021 echo "configure: failed program was:" >&5
5022 cat conftest.$ac_ext >&5
5024 eval "ac_cv_header_$ac_safe=no"
5028 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5029 echo "$ac_t""yes" 1>&6
5030 ac_has_langinfo_h=yes
5032 echo "$ac_t""no" 1>&6
5033 ac_has_langinfo_h=no
5037 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5038 echo "configure:5039: checking for iconv in -liconv" >&5
5039 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5040 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5041 echo $ac_n "(cached) $ac_c" 1>&6
5043 ac_save_LIBS="$LIBS"
5044 LIBS="-liconv $LIBS"
5045 cat > conftest.$ac_ext <<EOF
5046 #line 5047 "configure"
5047 #include "confdefs.h"
5048 /* Override any gcc2 internal prototype to avoid an error. */
5049 /* We use char because int might match the return type of a gcc2
5050 builtin and then its argument prototype would still apply. */
5057 if { (eval echo configure:5058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5059 eval "ac_cv_lib_$ac_lib_var=yes"
5061 echo "configure: failed program was:" >&5
5062 cat conftest.$ac_ext >&5
5064 eval "ac_cv_lib_$ac_lib_var=no"
5067 LIBS="$ac_save_LIBS"
5070 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5071 echo "$ac_t""yes" 1>&6
5074 echo "$ac_t""no" 1>&6
5077 ac_save_LIBS="$LIBS"
5078 LIBS="$LIBS $libiconv"
5080 for ac_func in iconv_open iconv_close iconv nl_langinfo
5082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5083 echo "configure:5084: checking for $ac_func" >&5
5084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5085 echo $ac_n "(cached) $ac_c" 1>&6
5087 cat > conftest.$ac_ext <<EOF
5088 #line 5089 "configure"
5089 #include "confdefs.h"
5090 /* System header to define __stub macros and hopefully few prototypes,
5091 which can conflict with char $ac_func(); below. */
5093 /* Override any gcc2 internal prototype to avoid an error. */
5094 /* We use char because int might match the return type of a gcc2
5095 builtin and then its argument prototype would still apply. */
5100 /* The GNU C library defines this for functions which it implements
5101 to always fail with ENOSYS. Some functions are actually named
5102 something starting with __ and the normal name is an alias. */
5103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5111 if { (eval echo configure:5112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5113 eval "ac_cv_func_$ac_func=yes"
5115 echo "configure: failed program was:" >&5
5116 cat conftest.$ac_ext >&5
5118 eval "ac_cv_func_$ac_func=no"
5123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5124 echo "$ac_t""yes" 1>&6
5125 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5126 cat >> confdefs.h <<EOF
5127 #define $ac_tr_func 1
5132 echo "$ac_t""no" 1>&6
5138 LIBS="$ac_save_LIBS"
5140 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5141 echo "configure:5142: checking for XPG2 wchar_t support" >&5
5142 if test x"$ac_has_iconv_h" = xyes &&
5143 test x"$ac_has_langinfo_h" = xyes &&
5144 test x"$ac_XPG2funcs" = xyes; then
5149 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5151 if test x"$ac_isoC99_wchar_t" = xyes &&
5152 test x"$ac_XPG2_wchar_t" = xyes; then
5153 cat >> confdefs.h <<\EOF
5154 #define _GLIBCPP_USE_WCHAR_T 1
5160 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5161 echo "configure:5162: checking for enabled wchar_t specializations" >&5
5162 echo "$ac_t""$enable_wchar_t" 1>&6
5164 cat >> confdefs.h <<\EOF
5165 #define HAVE_LC_MESSAGES 1
5168 cat >> confdefs.h <<\EOF
5169 #define HAVE_DRAND48 1
5172 cat >> confdefs.h <<\EOF
5173 #define HAVE_GETPAGESIZE 1
5176 cat >> confdefs.h <<\EOF
5177 #define HAVE_SETENV 1
5180 cat >> confdefs.h <<\EOF
5181 #define HAVE_SIGSETJMP 1
5184 cat >> confdefs.h <<\EOF
5185 #define HAVE_COPYSIGN 1
5188 cat >> confdefs.h <<\EOF
5189 #define HAVE_COPYSIGNF 1
5192 cat >> confdefs.h <<\EOF
5193 #define HAVE_FINITEF 1
5196 cat >> confdefs.h <<\EOF
5197 #define HAVE_FINITE 1
5200 cat >> confdefs.h <<\EOF
5201 #define HAVE_FREXPF 1
5204 cat >> confdefs.h <<\EOF
5205 #define HAVE_HYPOT 1
5208 cat >> confdefs.h <<\EOF
5209 #define HAVE_HYPOTF 1
5212 cat >> confdefs.h <<\EOF
5213 #define HAVE_ISINF 1
5216 cat >> confdefs.h <<\EOF
5217 #define HAVE_ISNAN 1
5220 cat >> confdefs.h <<\EOF
5221 #define HAVE_ISNANF 1
5225 cat >> confdefs.h <<\EOF
5229 cat >> confdefs.h <<\EOF
5230 #define HAVE_ACOSF 1
5233 cat >> confdefs.h <<\EOF
5234 #define HAVE_ASINF 1
5237 cat >> confdefs.h <<\EOF
5238 #define HAVE_ATAN2F 1
5241 cat >> confdefs.h <<\EOF
5242 #define HAVE_ATANF 1
5245 cat >> confdefs.h <<\EOF
5246 #define HAVE_CEILF 1
5249 cat >> confdefs.h <<\EOF
5250 #define HAVE_COPYSIGN 1
5253 cat >> confdefs.h <<\EOF
5254 #define HAVE_COPYSIGNF 1
5257 cat >> confdefs.h <<\EOF
5261 cat >> confdefs.h <<\EOF
5262 #define HAVE_COSHF 1
5265 cat >> confdefs.h <<\EOF
5269 cat >> confdefs.h <<\EOF
5270 #define HAVE_FABSF 1
5273 cat >> confdefs.h <<\EOF
5274 #define HAVE_FLOORF 1
5277 cat >> confdefs.h <<\EOF
5278 #define HAVE_FMODF 1
5281 cat >> confdefs.h <<\EOF
5282 #define HAVE_FREXPF 1
5285 cat >> confdefs.h <<\EOF
5286 #define HAVE_LDEXPF 1
5289 cat >> confdefs.h <<\EOF
5290 #define HAVE_LOG10F 1
5293 cat >> confdefs.h <<\EOF
5297 cat >> confdefs.h <<\EOF
5298 #define HAVE_MODFF 1
5301 cat >> confdefs.h <<\EOF
5305 cat >> confdefs.h <<\EOF
5309 cat >> confdefs.h <<\EOF
5310 #define HAVE_SINHF 1
5313 cat >> confdefs.h <<\EOF
5314 #define HAVE_SQRTF 1
5317 cat >> confdefs.h <<\EOF
5321 cat >> confdefs.h <<\EOF
5322 #define HAVE_TANHF 1
5325 if test x"long_double_math_on_this_cpu" = x"yes"; then
5326 cat >> confdefs.h <<\EOF
5327 #define HAVE_FINITEL 1
5330 cat >> confdefs.h <<\EOF
5331 #define HAVE_ISINFL 1
5334 cat >> confdefs.h <<\EOF
5335 #define HAVE_ISNANL 1
5341 os_include_dir="os/hpux"
5342 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5343 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5344 fp.h locale.h float.h inttypes.h
5346 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5347 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5348 echo "configure:5349: checking for $ac_hdr" >&5
5349 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5350 echo $ac_n "(cached) $ac_c" 1>&6
5352 cat > conftest.$ac_ext <<EOF
5353 #line 5354 "configure"
5354 #include "confdefs.h"
5357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5358 { (eval echo configure:5359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5360 if test -z "$ac_err"; then
5362 eval "ac_cv_header_$ac_safe=yes"
5365 echo "configure: failed program was:" >&5
5366 cat conftest.$ac_ext >&5
5368 eval "ac_cv_header_$ac_safe=no"
5372 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5373 echo "$ac_t""yes" 1>&6
5374 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5375 cat >> confdefs.h <<EOF
5376 #define $ac_tr_hdr 1
5380 echo "$ac_t""no" 1>&6
5384 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5387 # If we're not using GNU ld, then there's no point in even trying these
5388 # tests. Check for that first. We should have already tested for gld
5389 # by now (in libtool), but require it now just to be safe...
5390 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5391 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5394 # The name set by libtool depends on the version of libtool. Shame on us
5395 # for depending on an impl detail, but c'est la vie. Older versions used
5396 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5397 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5398 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5399 # set (hence we're using an older libtool), then set it.
5400 if test x${with_gnu_ld+set} != xset; then
5401 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5402 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5405 with_gnu_ld=$ac_cv_prog_gnu_ld
5409 # Start by getting the version number. I think the libtool test already
5410 # does some of this, but throws away the result.
5412 ldver=`$LD --version 2>/dev/null | head -1 | \
5413 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5415 glibcpp_gnu_ld_version=`echo $ldver | \
5416 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5418 # Set --gc-sections.
5419 if test "$with_gnu_ld" = "notbroken"; then
5420 # GNU ld it is! Joy and bunny rabbits!
5422 # All these tests are for C++; save the language and the compiler flags.
5423 # Need to do this so that g++ won't try to link in libstdc++
5424 ac_test_CFLAGS="${CFLAGS+set}"
5425 ac_save_CFLAGS="$CFLAGS"
5426 CFLAGS='-x c++ -Wl,--gc-sections'
5428 # Check for -Wl,--gc-sections
5429 # XXX This test is broken at the moment, as symbols required for
5430 # linking are now in libsupc++ (not built yet.....). In addition,
5431 # this test has cored on solaris in the past. In addition,
5432 # --gc-sections doesn't really work at the moment (keeps on discarding
5433 # used sections, first .eh_frame and now some of the glibc sections for
5434 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5435 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5436 echo "configure:5437: checking for ld that supports -Wl,--gc-sections" >&5
5437 if test "$cross_compiling" = yes; then
5438 ac_sectionLDflags=yes
5440 cat > conftest.$ac_ext <<EOF
5441 #line 5442 "configure"
5442 #include "confdefs.h"
5452 if { (eval echo configure:5453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5454 ac_sectionLDflags=yes
5456 echo "configure: failed program was:" >&5
5457 cat conftest.$ac_ext >&5
5459 ac_sectionLDflags=no
5464 if test "$ac_test_CFLAGS" = set; then
5465 CFLAGS="$ac_save_CFLAGS"
5467 # this is the suspicious part
5470 if test "$ac_sectionLDflags" = "yes"; then
5471 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5473 echo "$ac_t""$ac_sectionLDflags" 1>&6
5476 # Set linker optimization flags.
5477 if test x"$with_gnu_ld" = x"yes"; then
5478 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5485 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5486 echo "configure:5487: checking for main in -lm" >&5
5487 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5488 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5489 echo $ac_n "(cached) $ac_c" 1>&6
5491 ac_save_LIBS="$LIBS"
5493 cat > conftest.$ac_ext <<EOF
5494 #line 5495 "configure"
5495 #include "confdefs.h"
5501 if { (eval echo configure:5502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5503 eval "ac_cv_lib_$ac_lib_var=yes"
5505 echo "configure: failed program was:" >&5
5506 cat conftest.$ac_ext >&5
5508 eval "ac_cv_lib_$ac_lib_var=no"
5511 LIBS="$ac_save_LIBS"
5514 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5515 echo "$ac_t""yes" 1>&6
5516 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5517 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5518 cat >> confdefs.h <<EOF
5519 #define $ac_tr_lib 1
5525 echo "$ac_t""no" 1>&6
5528 for ac_func in nan copysignf
5530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5531 echo "configure:5532: checking for $ac_func" >&5
5532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5533 echo $ac_n "(cached) $ac_c" 1>&6
5535 cat > conftest.$ac_ext <<EOF
5536 #line 5537 "configure"
5537 #include "confdefs.h"
5538 /* System header to define __stub macros and hopefully few prototypes,
5539 which can conflict with char $ac_func(); below. */
5541 /* Override any gcc2 internal prototype to avoid an error. */
5542 /* We use char because int might match the return type of a gcc2
5543 builtin and then its argument prototype would still apply. */
5548 /* The GNU C library defines this for functions which it implements
5549 to always fail with ENOSYS. Some functions are actually named
5550 something starting with __ and the normal name is an alias. */
5551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5559 if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5561 eval "ac_cv_func_$ac_func=yes"
5563 echo "configure: failed program was:" >&5
5564 cat conftest.$ac_ext >&5
5566 eval "ac_cv_func_$ac_func=no"
5571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5572 echo "$ac_t""yes" 1>&6
5573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5574 cat >> confdefs.h <<EOF
5575 #define $ac_tr_func 1
5579 echo "$ac_t""no" 1>&6
5580 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5585 for ac_func in __signbit
5587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5588 echo "configure:5589: checking for $ac_func" >&5
5589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5590 echo $ac_n "(cached) $ac_c" 1>&6
5592 cat > conftest.$ac_ext <<EOF
5593 #line 5594 "configure"
5594 #include "confdefs.h"
5595 /* System header to define __stub macros and hopefully few prototypes,
5596 which can conflict with char $ac_func(); below. */
5598 /* Override any gcc2 internal prototype to avoid an error. */
5599 /* We use char because int might match the return type of a gcc2
5600 builtin and then its argument prototype would still apply. */
5605 /* The GNU C library defines this for functions which it implements
5606 to always fail with ENOSYS. Some functions are actually named
5607 something starting with __ and the normal name is an alias. */
5608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5616 if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5618 eval "ac_cv_func_$ac_func=yes"
5620 echo "configure: failed program was:" >&5
5621 cat conftest.$ac_ext >&5
5623 eval "ac_cv_func_$ac_func=no"
5628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5629 echo "$ac_t""yes" 1>&6
5630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5631 cat >> confdefs.h <<EOF
5632 #define $ac_tr_func 1
5636 echo "$ac_t""no" 1>&6
5637 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5641 for ac_func in __signbitf
5643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5644 echo "configure:5645: checking for $ac_func" >&5
5645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5646 echo $ac_n "(cached) $ac_c" 1>&6
5648 cat > conftest.$ac_ext <<EOF
5649 #line 5650 "configure"
5650 #include "confdefs.h"
5651 /* System header to define __stub macros and hopefully few prototypes,
5652 which can conflict with char $ac_func(); below. */
5654 /* Override any gcc2 internal prototype to avoid an error. */
5655 /* We use char because int might match the return type of a gcc2
5656 builtin and then its argument prototype would still apply. */
5661 /* The GNU C library defines this for functions which it implements
5662 to always fail with ENOSYS. Some functions are actually named
5663 something starting with __ and the normal name is an alias. */
5664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5672 if { (eval echo configure:5673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5674 eval "ac_cv_func_$ac_func=yes"
5676 echo "configure: failed program was:" >&5
5677 cat conftest.$ac_ext >&5
5679 eval "ac_cv_func_$ac_func=no"
5684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5685 echo "$ac_t""yes" 1>&6
5686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5687 cat >> confdefs.h <<EOF
5688 #define $ac_tr_func 1
5692 echo "$ac_t""no" 1>&6
5693 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5698 if test x$ac_cv_func_copysignl = x"yes"; then
5699 for ac_func in __signbitl
5701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5702 echo "configure:5703: checking for $ac_func" >&5
5703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5704 echo $ac_n "(cached) $ac_c" 1>&6
5706 cat > conftest.$ac_ext <<EOF
5707 #line 5708 "configure"
5708 #include "confdefs.h"
5709 /* System header to define __stub macros and hopefully few prototypes,
5710 which can conflict with char $ac_func(); below. */
5712 /* Override any gcc2 internal prototype to avoid an error. */
5713 /* We use char because int might match the return type of a gcc2
5714 builtin and then its argument prototype would still apply. */
5719 /* The GNU C library defines this for functions which it implements
5720 to always fail with ENOSYS. Some functions are actually named
5721 something starting with __ and the normal name is an alias. */
5722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5730 if { (eval echo configure:5731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5732 eval "ac_cv_func_$ac_func=yes"
5734 echo "configure: failed program was:" >&5
5735 cat conftest.$ac_ext >&5
5737 eval "ac_cv_func_$ac_func=no"
5742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5743 echo "$ac_t""yes" 1>&6
5744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5745 cat >> confdefs.h <<EOF
5746 #define $ac_tr_func 1
5750 echo "$ac_t""no" 1>&6
5751 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5757 if test -n "$LIBMATHOBJS"; then
5764 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5765 echo "configure:5766: checking for mbstate_t" >&5
5766 cat > conftest.$ac_ext <<EOF
5767 #line 5768 "configure"
5768 #include "confdefs.h"
5771 mbstate_t teststate;
5774 if { (eval echo configure:5775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5778 echo "configure: failed program was:" >&5
5779 cat conftest.$ac_ext >&5
5784 echo "$ac_t""$have_mbstate_t" 1>&6
5785 if test x"$have_mbstate_t" = xyes; then
5786 cat >> confdefs.h <<\EOF
5787 #define HAVE_MBSTATE_T 1
5792 for ac_hdr in wchar.h
5794 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5795 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5796 echo "configure:5797: checking for $ac_hdr" >&5
5797 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5798 echo $ac_n "(cached) $ac_c" 1>&6
5800 cat > conftest.$ac_ext <<EOF
5801 #line 5802 "configure"
5802 #include "confdefs.h"
5805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5806 { (eval echo configure:5807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5808 if test -z "$ac_err"; then
5810 eval "ac_cv_header_$ac_safe=yes"
5813 echo "configure: failed program was:" >&5
5814 cat conftest.$ac_ext >&5
5816 eval "ac_cv_header_$ac_safe=no"
5820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5821 echo "$ac_t""yes" 1>&6
5822 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5823 cat >> confdefs.h <<EOF
5824 #define $ac_tr_hdr 1
5828 echo "$ac_t""no" 1>&6
5833 for ac_hdr in wctype.h
5835 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5836 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5837 echo "configure:5838: checking for $ac_hdr" >&5
5838 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5839 echo $ac_n "(cached) $ac_c" 1>&6
5841 cat > conftest.$ac_ext <<EOF
5842 #line 5843 "configure"
5843 #include "confdefs.h"
5846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5847 { (eval echo configure:5848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5849 if test -z "$ac_err"; then
5851 eval "ac_cv_header_$ac_safe=yes"
5854 echo "configure: failed program was:" >&5
5855 cat conftest.$ac_ext >&5
5857 eval "ac_cv_header_$ac_safe=no"
5861 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5862 echo "$ac_t""yes" 1>&6
5863 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5864 cat >> confdefs.h <<EOF
5865 #define $ac_tr_hdr 1
5869 echo "$ac_t""no" 1>&6
5875 if test x"$ac_has_wchar_h" = xyes &&
5876 test x"$ac_has_wctype_h" = xyes &&
5877 test x"$enable_c_mbchar" != xno; then
5879 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5880 echo "configure:5881: checking for WCHAR_MIN and WCHAR_MAX" >&5
5881 cat > conftest.$ac_ext <<EOF
5882 #line 5883 "configure"
5883 #include "confdefs.h"
5886 int i = WCHAR_MIN; int j = WCHAR_MAX;
5889 if { (eval echo configure:5890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5891 has_wchar_minmax=yes
5893 echo "configure: failed program was:" >&5
5894 cat conftest.$ac_ext >&5
5899 echo "$ac_t""$has_wchar_minmax" 1>&6
5901 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5902 echo "configure:5903: checking for WEOF" >&5
5903 cat > conftest.$ac_ext <<EOF
5904 #line 5905 "configure"
5905 #include "confdefs.h"
5913 if { (eval echo configure:5914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5917 echo "configure: failed program was:" >&5
5918 cat conftest.$ac_ext >&5
5923 echo "$ac_t""$has_weof" 1>&6
5926 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5929 echo "configure:5930: checking for $ac_func" >&5
5930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5931 echo $ac_n "(cached) $ac_c" 1>&6
5933 cat > conftest.$ac_ext <<EOF
5934 #line 5935 "configure"
5935 #include "confdefs.h"
5936 /* System header to define __stub macros and hopefully few prototypes,
5937 which can conflict with char $ac_func(); below. */
5939 /* Override any gcc2 internal prototype to avoid an error. */
5940 /* We use char because int might match the return type of a gcc2
5941 builtin and then its argument prototype would still apply. */
5946 /* The GNU C library defines this for functions which it implements
5947 to always fail with ENOSYS. Some functions are actually named
5948 something starting with __ and the normal name is an alias. */
5949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5957 if { (eval echo configure:5958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5959 eval "ac_cv_func_$ac_func=yes"
5961 echo "configure: failed program was:" >&5
5962 cat conftest.$ac_ext >&5
5964 eval "ac_cv_func_$ac_func=no"
5969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5970 echo "$ac_t""yes" 1>&6
5971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5972 cat >> confdefs.h <<EOF
5973 #define $ac_tr_func 1
5977 echo "$ac_t""no" 1>&6
5984 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5985 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5986 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5987 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5988 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5989 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5992 echo "configure:5993: checking for $ac_func" >&5
5993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5994 echo $ac_n "(cached) $ac_c" 1>&6
5996 cat > conftest.$ac_ext <<EOF
5997 #line 5998 "configure"
5998 #include "confdefs.h"
5999 /* System header to define __stub macros and hopefully few prototypes,
6000 which can conflict with char $ac_func(); below. */
6002 /* Override any gcc2 internal prototype to avoid an error. */
6003 /* We use char because int might match the return type of a gcc2
6004 builtin and then its argument prototype would still apply. */
6009 /* The GNU C library defines this for functions which it implements
6010 to always fail with ENOSYS. Some functions are actually named
6011 something starting with __ and the normal name is an alias. */
6012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6020 if { (eval echo configure:6021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6022 eval "ac_cv_func_$ac_func=yes"
6024 echo "configure: failed program was:" >&5
6025 cat conftest.$ac_ext >&5
6027 eval "ac_cv_func_$ac_func=no"
6032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6033 echo "$ac_t""yes" 1>&6
6034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6035 cat >> confdefs.h <<EOF
6036 #define $ac_tr_func 1
6040 echo "$ac_t""no" 1>&6
6047 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6048 echo "configure:6049: checking for ISO C99 wchar_t support" >&5
6049 if test x"$has_weof" = xyes &&
6050 test x"$has_wchar_minmax" = xyes &&
6051 test x"$ac_wfuncs" = xyes; then
6052 ac_isoC99_wchar_t=yes
6054 ac_isoC99_wchar_t=no
6056 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6058 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6059 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6060 echo "configure:6061: checking for iconv.h" >&5
6061 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6062 echo $ac_n "(cached) $ac_c" 1>&6
6064 cat > conftest.$ac_ext <<EOF
6065 #line 6066 "configure"
6066 #include "confdefs.h"
6069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6070 { (eval echo configure:6071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6072 if test -z "$ac_err"; then
6074 eval "ac_cv_header_$ac_safe=yes"
6077 echo "configure: failed program was:" >&5
6078 cat conftest.$ac_ext >&5
6080 eval "ac_cv_header_$ac_safe=no"
6084 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6085 echo "$ac_t""yes" 1>&6
6088 echo "$ac_t""no" 1>&6
6092 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6093 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6094 echo "configure:6095: checking for langinfo.h" >&5
6095 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6096 echo $ac_n "(cached) $ac_c" 1>&6
6098 cat > conftest.$ac_ext <<EOF
6099 #line 6100 "configure"
6100 #include "confdefs.h"
6101 #include <langinfo.h>
6103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6104 { (eval echo configure:6105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6106 if test -z "$ac_err"; then
6108 eval "ac_cv_header_$ac_safe=yes"
6111 echo "configure: failed program was:" >&5
6112 cat conftest.$ac_ext >&5
6114 eval "ac_cv_header_$ac_safe=no"
6118 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6119 echo "$ac_t""yes" 1>&6
6120 ac_has_langinfo_h=yes
6122 echo "$ac_t""no" 1>&6
6123 ac_has_langinfo_h=no
6127 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6128 echo "configure:6129: checking for iconv in -liconv" >&5
6129 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6130 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6131 echo $ac_n "(cached) $ac_c" 1>&6
6133 ac_save_LIBS="$LIBS"
6134 LIBS="-liconv $LIBS"
6135 cat > conftest.$ac_ext <<EOF
6136 #line 6137 "configure"
6137 #include "confdefs.h"
6138 /* Override any gcc2 internal prototype to avoid an error. */
6139 /* We use char because int might match the return type of a gcc2
6140 builtin and then its argument prototype would still apply. */
6147 if { (eval echo configure:6148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6149 eval "ac_cv_lib_$ac_lib_var=yes"
6151 echo "configure: failed program was:" >&5
6152 cat conftest.$ac_ext >&5
6154 eval "ac_cv_lib_$ac_lib_var=no"
6157 LIBS="$ac_save_LIBS"
6160 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6161 echo "$ac_t""yes" 1>&6
6164 echo "$ac_t""no" 1>&6
6167 ac_save_LIBS="$LIBS"
6168 LIBS="$LIBS $libiconv"
6170 for ac_func in iconv_open iconv_close iconv nl_langinfo
6172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6173 echo "configure:6174: checking for $ac_func" >&5
6174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6175 echo $ac_n "(cached) $ac_c" 1>&6
6177 cat > conftest.$ac_ext <<EOF
6178 #line 6179 "configure"
6179 #include "confdefs.h"
6180 /* System header to define __stub macros and hopefully few prototypes,
6181 which can conflict with char $ac_func(); below. */
6183 /* Override any gcc2 internal prototype to avoid an error. */
6184 /* We use char because int might match the return type of a gcc2
6185 builtin and then its argument prototype would still apply. */
6190 /* The GNU C library defines this for functions which it implements
6191 to always fail with ENOSYS. Some functions are actually named
6192 something starting with __ and the normal name is an alias. */
6193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6203 eval "ac_cv_func_$ac_func=yes"
6205 echo "configure: failed program was:" >&5
6206 cat conftest.$ac_ext >&5
6208 eval "ac_cv_func_$ac_func=no"
6213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6214 echo "$ac_t""yes" 1>&6
6215 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6216 cat >> confdefs.h <<EOF
6217 #define $ac_tr_func 1
6222 echo "$ac_t""no" 1>&6
6228 LIBS="$ac_save_LIBS"
6230 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6231 echo "configure:6232: checking for XPG2 wchar_t support" >&5
6232 if test x"$ac_has_iconv_h" = xyes &&
6233 test x"$ac_has_langinfo_h" = xyes &&
6234 test x"$ac_XPG2funcs" = xyes; then
6239 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6241 if test x"$ac_isoC99_wchar_t" = xyes &&
6242 test x"$ac_XPG2_wchar_t" = xyes; then
6243 cat >> confdefs.h <<\EOF
6244 #define _GLIBCPP_USE_WCHAR_T 1
6250 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6251 echo "configure:6252: checking for enabled wchar_t specializations" >&5
6252 echo "$ac_t""$enable_wchar_t" 1>&6
6254 cat >> confdefs.h <<\EOF
6255 #define HAVE_COPYSIGN 1
6258 cat >> confdefs.h <<\EOF
6259 #define HAVE_COPYSIGNF 1
6262 cat >> confdefs.h <<\EOF
6263 #define HAVE_FREXPF 1
6266 cat >> confdefs.h <<\EOF
6267 #define HAVE_HYPOT 1
6272 cat >> confdefs.h <<\EOF
6273 #define HAVE_FINITE 1
6276 cat >> confdefs.h <<\EOF
6277 #define HAVE_FINITEF 1
6280 cat >> confdefs.h <<\EOF
6281 #define HAVE_ISINF 1
6284 cat >> confdefs.h <<\EOF
6285 #define HAVE_ISINFF 1
6288 cat >> confdefs.h <<\EOF
6289 #define HAVE_ISNAN 1
6292 cat >> confdefs.h <<\EOF
6293 #define HAVE_ISNANF 1
6300 os_include_dir="os/gnu-linux"
6301 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6302 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6303 fp.h locale.h float.h inttypes.h
6305 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6306 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6307 echo "configure:6308: checking for $ac_hdr" >&5
6308 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6309 echo $ac_n "(cached) $ac_c" 1>&6
6311 cat > conftest.$ac_ext <<EOF
6312 #line 6313 "configure"
6313 #include "confdefs.h"
6316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6317 { (eval echo configure:6318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6319 if test -z "$ac_err"; then
6321 eval "ac_cv_header_$ac_safe=yes"
6324 echo "configure: failed program was:" >&5
6325 cat conftest.$ac_ext >&5
6327 eval "ac_cv_header_$ac_safe=no"
6331 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6332 echo "$ac_t""yes" 1>&6
6333 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6334 cat >> confdefs.h <<EOF
6335 #define $ac_tr_hdr 1
6339 echo "$ac_t""no" 1>&6
6343 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6346 # If we're not using GNU ld, then there's no point in even trying these
6347 # tests. Check for that first. We should have already tested for gld
6348 # by now (in libtool), but require it now just to be safe...
6349 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6350 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6353 # The name set by libtool depends on the version of libtool. Shame on us
6354 # for depending on an impl detail, but c'est la vie. Older versions used
6355 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6356 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6357 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6358 # set (hence we're using an older libtool), then set it.
6359 if test x${with_gnu_ld+set} != xset; then
6360 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6361 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6364 with_gnu_ld=$ac_cv_prog_gnu_ld
6368 # Start by getting the version number. I think the libtool test already
6369 # does some of this, but throws away the result.
6371 ldver=`$LD --version 2>/dev/null | head -1 | \
6372 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6374 glibcpp_gnu_ld_version=`echo $ldver | \
6375 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6377 # Set --gc-sections.
6378 if test "$with_gnu_ld" = "notbroken"; then
6379 # GNU ld it is! Joy and bunny rabbits!
6381 # All these tests are for C++; save the language and the compiler flags.
6382 # Need to do this so that g++ won't try to link in libstdc++
6383 ac_test_CFLAGS="${CFLAGS+set}"
6384 ac_save_CFLAGS="$CFLAGS"
6385 CFLAGS='-x c++ -Wl,--gc-sections'
6387 # Check for -Wl,--gc-sections
6388 # XXX This test is broken at the moment, as symbols required for
6389 # linking are now in libsupc++ (not built yet.....). In addition,
6390 # this test has cored on solaris in the past. In addition,
6391 # --gc-sections doesn't really work at the moment (keeps on discarding
6392 # used sections, first .eh_frame and now some of the glibc sections for
6393 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6394 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6395 echo "configure:6396: checking for ld that supports -Wl,--gc-sections" >&5
6396 if test "$cross_compiling" = yes; then
6397 ac_sectionLDflags=yes
6399 cat > conftest.$ac_ext <<EOF
6400 #line 6401 "configure"
6401 #include "confdefs.h"
6411 if { (eval echo configure:6412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6413 ac_sectionLDflags=yes
6415 echo "configure: failed program was:" >&5
6416 cat conftest.$ac_ext >&5
6418 ac_sectionLDflags=no
6423 if test "$ac_test_CFLAGS" = set; then
6424 CFLAGS="$ac_save_CFLAGS"
6426 # this is the suspicious part
6429 if test "$ac_sectionLDflags" = "yes"; then
6430 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6432 echo "$ac_t""$ac_sectionLDflags" 1>&6
6435 # Set linker optimization flags.
6436 if test x"$with_gnu_ld" = x"yes"; then
6437 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6444 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6445 echo "configure:6446: checking for main in -lm" >&5
6446 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6447 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6448 echo $ac_n "(cached) $ac_c" 1>&6
6450 ac_save_LIBS="$LIBS"
6452 cat > conftest.$ac_ext <<EOF
6453 #line 6454 "configure"
6454 #include "confdefs.h"
6460 if { (eval echo configure:6461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6462 eval "ac_cv_lib_$ac_lib_var=yes"
6464 echo "configure: failed program was:" >&5
6465 cat conftest.$ac_ext >&5
6467 eval "ac_cv_lib_$ac_lib_var=no"
6470 LIBS="$ac_save_LIBS"
6473 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6474 echo "$ac_t""yes" 1>&6
6475 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6476 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6477 cat >> confdefs.h <<EOF
6478 #define $ac_tr_lib 1
6484 echo "$ac_t""no" 1>&6
6487 for ac_func in nan copysignf
6489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6490 echo "configure:6491: checking for $ac_func" >&5
6491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6492 echo $ac_n "(cached) $ac_c" 1>&6
6494 cat > conftest.$ac_ext <<EOF
6495 #line 6496 "configure"
6496 #include "confdefs.h"
6497 /* System header to define __stub macros and hopefully few prototypes,
6498 which can conflict with char $ac_func(); below. */
6500 /* Override any gcc2 internal prototype to avoid an error. */
6501 /* We use char because int might match the return type of a gcc2
6502 builtin and then its argument prototype would still apply. */
6507 /* The GNU C library defines this for functions which it implements
6508 to always fail with ENOSYS. Some functions are actually named
6509 something starting with __ and the normal name is an alias. */
6510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6518 if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6520 eval "ac_cv_func_$ac_func=yes"
6522 echo "configure: failed program was:" >&5
6523 cat conftest.$ac_ext >&5
6525 eval "ac_cv_func_$ac_func=no"
6530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6531 echo "$ac_t""yes" 1>&6
6532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6533 cat >> confdefs.h <<EOF
6534 #define $ac_tr_func 1
6538 echo "$ac_t""no" 1>&6
6539 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6544 for ac_func in __signbit
6546 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6547 echo "configure:6548: checking for $ac_func" >&5
6548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6549 echo $ac_n "(cached) $ac_c" 1>&6
6551 cat > conftest.$ac_ext <<EOF
6552 #line 6553 "configure"
6553 #include "confdefs.h"
6554 /* System header to define __stub macros and hopefully few prototypes,
6555 which can conflict with char $ac_func(); below. */
6557 /* Override any gcc2 internal prototype to avoid an error. */
6558 /* We use char because int might match the return type of a gcc2
6559 builtin and then its argument prototype would still apply. */
6564 /* The GNU C library defines this for functions which it implements
6565 to always fail with ENOSYS. Some functions are actually named
6566 something starting with __ and the normal name is an alias. */
6567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6575 if { (eval echo configure:6576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6577 eval "ac_cv_func_$ac_func=yes"
6579 echo "configure: failed program was:" >&5
6580 cat conftest.$ac_ext >&5
6582 eval "ac_cv_func_$ac_func=no"
6587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6588 echo "$ac_t""yes" 1>&6
6589 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6590 cat >> confdefs.h <<EOF
6591 #define $ac_tr_func 1
6595 echo "$ac_t""no" 1>&6
6596 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6600 for ac_func in __signbitf
6602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6603 echo "configure:6604: checking for $ac_func" >&5
6604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6605 echo $ac_n "(cached) $ac_c" 1>&6
6607 cat > conftest.$ac_ext <<EOF
6608 #line 6609 "configure"
6609 #include "confdefs.h"
6610 /* System header to define __stub macros and hopefully few prototypes,
6611 which can conflict with char $ac_func(); below. */
6613 /* Override any gcc2 internal prototype to avoid an error. */
6614 /* We use char because int might match the return type of a gcc2
6615 builtin and then its argument prototype would still apply. */
6620 /* The GNU C library defines this for functions which it implements
6621 to always fail with ENOSYS. Some functions are actually named
6622 something starting with __ and the normal name is an alias. */
6623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6631 if { (eval echo configure:6632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6633 eval "ac_cv_func_$ac_func=yes"
6635 echo "configure: failed program was:" >&5
6636 cat conftest.$ac_ext >&5
6638 eval "ac_cv_func_$ac_func=no"
6643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6644 echo "$ac_t""yes" 1>&6
6645 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6646 cat >> confdefs.h <<EOF
6647 #define $ac_tr_func 1
6651 echo "$ac_t""no" 1>&6
6652 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6657 if test x$ac_cv_func_copysignl = x"yes"; then
6658 for ac_func in __signbitl
6660 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6661 echo "configure:6662: checking for $ac_func" >&5
6662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6663 echo $ac_n "(cached) $ac_c" 1>&6
6665 cat > conftest.$ac_ext <<EOF
6666 #line 6667 "configure"
6667 #include "confdefs.h"
6668 /* System header to define __stub macros and hopefully few prototypes,
6669 which can conflict with char $ac_func(); below. */
6671 /* Override any gcc2 internal prototype to avoid an error. */
6672 /* We use char because int might match the return type of a gcc2
6673 builtin and then its argument prototype would still apply. */
6678 /* The GNU C library defines this for functions which it implements
6679 to always fail with ENOSYS. Some functions are actually named
6680 something starting with __ and the normal name is an alias. */
6681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6689 if { (eval echo configure:6690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6691 eval "ac_cv_func_$ac_func=yes"
6693 echo "configure: failed program was:" >&5
6694 cat conftest.$ac_ext >&5
6696 eval "ac_cv_func_$ac_func=no"
6701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6702 echo "$ac_t""yes" 1>&6
6703 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6704 cat >> confdefs.h <<EOF
6705 #define $ac_tr_func 1
6709 echo "$ac_t""no" 1>&6
6710 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6716 if test -n "$LIBMATHOBJS"; then
6723 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6724 echo "configure:6725: checking for mbstate_t" >&5
6725 cat > conftest.$ac_ext <<EOF
6726 #line 6727 "configure"
6727 #include "confdefs.h"
6730 mbstate_t teststate;
6733 if { (eval echo configure:6734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6737 echo "configure: failed program was:" >&5
6738 cat conftest.$ac_ext >&5
6743 echo "$ac_t""$have_mbstate_t" 1>&6
6744 if test x"$have_mbstate_t" = xyes; then
6745 cat >> confdefs.h <<\EOF
6746 #define HAVE_MBSTATE_T 1
6751 for ac_hdr in wchar.h
6753 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6754 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6755 echo "configure:6756: checking for $ac_hdr" >&5
6756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6757 echo $ac_n "(cached) $ac_c" 1>&6
6759 cat > conftest.$ac_ext <<EOF
6760 #line 6761 "configure"
6761 #include "confdefs.h"
6764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6765 { (eval echo configure:6766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6767 if test -z "$ac_err"; then
6769 eval "ac_cv_header_$ac_safe=yes"
6772 echo "configure: failed program was:" >&5
6773 cat conftest.$ac_ext >&5
6775 eval "ac_cv_header_$ac_safe=no"
6779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6780 echo "$ac_t""yes" 1>&6
6781 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6782 cat >> confdefs.h <<EOF
6783 #define $ac_tr_hdr 1
6787 echo "$ac_t""no" 1>&6
6792 for ac_hdr in wctype.h
6794 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6795 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6796 echo "configure:6797: checking for $ac_hdr" >&5
6797 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6798 echo $ac_n "(cached) $ac_c" 1>&6
6800 cat > conftest.$ac_ext <<EOF
6801 #line 6802 "configure"
6802 #include "confdefs.h"
6805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6806 { (eval echo configure:6807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6808 if test -z "$ac_err"; then
6810 eval "ac_cv_header_$ac_safe=yes"
6813 echo "configure: failed program was:" >&5
6814 cat conftest.$ac_ext >&5
6816 eval "ac_cv_header_$ac_safe=no"
6820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6821 echo "$ac_t""yes" 1>&6
6822 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6823 cat >> confdefs.h <<EOF
6824 #define $ac_tr_hdr 1
6828 echo "$ac_t""no" 1>&6
6834 if test x"$ac_has_wchar_h" = xyes &&
6835 test x"$ac_has_wctype_h" = xyes &&
6836 test x"$enable_c_mbchar" != xno; then
6838 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6839 echo "configure:6840: checking for WCHAR_MIN and WCHAR_MAX" >&5
6840 cat > conftest.$ac_ext <<EOF
6841 #line 6842 "configure"
6842 #include "confdefs.h"
6845 int i = WCHAR_MIN; int j = WCHAR_MAX;
6848 if { (eval echo configure:6849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6850 has_wchar_minmax=yes
6852 echo "configure: failed program was:" >&5
6853 cat conftest.$ac_ext >&5
6858 echo "$ac_t""$has_wchar_minmax" 1>&6
6860 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6861 echo "configure:6862: checking for WEOF" >&5
6862 cat > conftest.$ac_ext <<EOF
6863 #line 6864 "configure"
6864 #include "confdefs.h"
6872 if { (eval echo configure:6873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6876 echo "configure: failed program was:" >&5
6877 cat conftest.$ac_ext >&5
6882 echo "$ac_t""$has_weof" 1>&6
6885 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6888 echo "configure:6889: checking for $ac_func" >&5
6889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6890 echo $ac_n "(cached) $ac_c" 1>&6
6892 cat > conftest.$ac_ext <<EOF
6893 #line 6894 "configure"
6894 #include "confdefs.h"
6895 /* System header to define __stub macros and hopefully few prototypes,
6896 which can conflict with char $ac_func(); below. */
6898 /* Override any gcc2 internal prototype to avoid an error. */
6899 /* We use char because int might match the return type of a gcc2
6900 builtin and then its argument prototype would still apply. */
6905 /* The GNU C library defines this for functions which it implements
6906 to always fail with ENOSYS. Some functions are actually named
6907 something starting with __ and the normal name is an alias. */
6908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6916 if { (eval echo configure:6917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6918 eval "ac_cv_func_$ac_func=yes"
6920 echo "configure: failed program was:" >&5
6921 cat conftest.$ac_ext >&5
6923 eval "ac_cv_func_$ac_func=no"
6928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6929 echo "$ac_t""yes" 1>&6
6930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6931 cat >> confdefs.h <<EOF
6932 #define $ac_tr_func 1
6936 echo "$ac_t""no" 1>&6
6943 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6944 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6945 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6946 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6947 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6948 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6951 echo "configure:6952: checking for $ac_func" >&5
6952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6953 echo $ac_n "(cached) $ac_c" 1>&6
6955 cat > conftest.$ac_ext <<EOF
6956 #line 6957 "configure"
6957 #include "confdefs.h"
6958 /* System header to define __stub macros and hopefully few prototypes,
6959 which can conflict with char $ac_func(); below. */
6961 /* Override any gcc2 internal prototype to avoid an error. */
6962 /* We use char because int might match the return type of a gcc2
6963 builtin and then its argument prototype would still apply. */
6968 /* The GNU C library defines this for functions which it implements
6969 to always fail with ENOSYS. Some functions are actually named
6970 something starting with __ and the normal name is an alias. */
6971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6979 if { (eval echo configure:6980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6981 eval "ac_cv_func_$ac_func=yes"
6983 echo "configure: failed program was:" >&5
6984 cat conftest.$ac_ext >&5
6986 eval "ac_cv_func_$ac_func=no"
6991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6992 echo "$ac_t""yes" 1>&6
6993 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6994 cat >> confdefs.h <<EOF
6995 #define $ac_tr_func 1
6999 echo "$ac_t""no" 1>&6
7006 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7007 echo "configure:7008: checking for ISO C99 wchar_t support" >&5
7008 if test x"$has_weof" = xyes &&
7009 test x"$has_wchar_minmax" = xyes &&
7010 test x"$ac_wfuncs" = xyes; then
7011 ac_isoC99_wchar_t=yes
7013 ac_isoC99_wchar_t=no
7015 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7017 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7018 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7019 echo "configure:7020: checking for iconv.h" >&5
7020 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7021 echo $ac_n "(cached) $ac_c" 1>&6
7023 cat > conftest.$ac_ext <<EOF
7024 #line 7025 "configure"
7025 #include "confdefs.h"
7028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7029 { (eval echo configure:7030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7031 if test -z "$ac_err"; then
7033 eval "ac_cv_header_$ac_safe=yes"
7036 echo "configure: failed program was:" >&5
7037 cat conftest.$ac_ext >&5
7039 eval "ac_cv_header_$ac_safe=no"
7043 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7044 echo "$ac_t""yes" 1>&6
7047 echo "$ac_t""no" 1>&6
7051 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7052 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7053 echo "configure:7054: checking for langinfo.h" >&5
7054 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7055 echo $ac_n "(cached) $ac_c" 1>&6
7057 cat > conftest.$ac_ext <<EOF
7058 #line 7059 "configure"
7059 #include "confdefs.h"
7060 #include <langinfo.h>
7062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7063 { (eval echo configure:7064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7065 if test -z "$ac_err"; then
7067 eval "ac_cv_header_$ac_safe=yes"
7070 echo "configure: failed program was:" >&5
7071 cat conftest.$ac_ext >&5
7073 eval "ac_cv_header_$ac_safe=no"
7077 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7078 echo "$ac_t""yes" 1>&6
7079 ac_has_langinfo_h=yes
7081 echo "$ac_t""no" 1>&6
7082 ac_has_langinfo_h=no
7086 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7087 echo "configure:7088: checking for iconv in -liconv" >&5
7088 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7089 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7090 echo $ac_n "(cached) $ac_c" 1>&6
7092 ac_save_LIBS="$LIBS"
7093 LIBS="-liconv $LIBS"
7094 cat > conftest.$ac_ext <<EOF
7095 #line 7096 "configure"
7096 #include "confdefs.h"
7097 /* Override any gcc2 internal prototype to avoid an error. */
7098 /* We use char because int might match the return type of a gcc2
7099 builtin and then its argument prototype would still apply. */
7106 if { (eval echo configure:7107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7108 eval "ac_cv_lib_$ac_lib_var=yes"
7110 echo "configure: failed program was:" >&5
7111 cat conftest.$ac_ext >&5
7113 eval "ac_cv_lib_$ac_lib_var=no"
7116 LIBS="$ac_save_LIBS"
7119 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7120 echo "$ac_t""yes" 1>&6
7123 echo "$ac_t""no" 1>&6
7126 ac_save_LIBS="$LIBS"
7127 LIBS="$LIBS $libiconv"
7129 for ac_func in iconv_open iconv_close iconv nl_langinfo
7131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7132 echo "configure:7133: checking for $ac_func" >&5
7133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7134 echo $ac_n "(cached) $ac_c" 1>&6
7136 cat > conftest.$ac_ext <<EOF
7137 #line 7138 "configure"
7138 #include "confdefs.h"
7139 /* System header to define __stub macros and hopefully few prototypes,
7140 which can conflict with char $ac_func(); below. */
7142 /* Override any gcc2 internal prototype to avoid an error. */
7143 /* We use char because int might match the return type of a gcc2
7144 builtin and then its argument prototype would still apply. */
7149 /* The GNU C library defines this for functions which it implements
7150 to always fail with ENOSYS. Some functions are actually named
7151 something starting with __ and the normal name is an alias. */
7152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7160 if { (eval echo configure:7161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7162 eval "ac_cv_func_$ac_func=yes"
7164 echo "configure: failed program was:" >&5
7165 cat conftest.$ac_ext >&5
7167 eval "ac_cv_func_$ac_func=no"
7172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7173 echo "$ac_t""yes" 1>&6
7174 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7175 cat >> confdefs.h <<EOF
7176 #define $ac_tr_func 1
7181 echo "$ac_t""no" 1>&6
7187 LIBS="$ac_save_LIBS"
7189 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7190 echo "configure:7191: checking for XPG2 wchar_t support" >&5
7191 if test x"$ac_has_iconv_h" = xyes &&
7192 test x"$ac_has_langinfo_h" = xyes &&
7193 test x"$ac_XPG2funcs" = xyes; then
7198 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7200 if test x"$ac_isoC99_wchar_t" = xyes &&
7201 test x"$ac_XPG2_wchar_t" = xyes; then
7202 cat >> confdefs.h <<\EOF
7203 #define _GLIBCPP_USE_WCHAR_T 1
7209 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7210 echo "configure:7211: checking for enabled wchar_t specializations" >&5
7211 echo "$ac_t""$enable_wchar_t" 1>&6
7213 cat >> confdefs.h <<\EOF
7214 #define HAVE_COPYSIGN 1
7217 cat >> confdefs.h <<\EOF
7218 #define HAVE_COPYSIGNF 1
7221 cat >> confdefs.h <<\EOF
7222 #define HAVE_FINITE 1
7225 cat >> confdefs.h <<\EOF
7226 #define HAVE_FINITEF 1
7229 cat >> confdefs.h <<\EOF
7230 #define HAVE_FREXPF 1
7233 cat >> confdefs.h <<\EOF
7234 #define HAVE_HYPOTF 1
7237 cat >> confdefs.h <<\EOF
7238 #define HAVE_ISINF 1
7241 cat >> confdefs.h <<\EOF
7242 #define HAVE_ISINFF 1
7245 cat >> confdefs.h <<\EOF
7246 #define HAVE_ISNAN 1
7249 cat >> confdefs.h <<\EOF
7250 #define HAVE_ISNANF 1
7253 cat >> confdefs.h <<\EOF
7254 #define HAVE_SINCOS 1
7257 cat >> confdefs.h <<\EOF
7258 #define HAVE_SINCOSF 1
7261 if test x"long_double_math_on_this_cpu" = x"yes"; then
7262 cat >> confdefs.h <<\EOF
7263 #define HAVE_FINITEL 1
7266 cat >> confdefs.h <<\EOF
7267 #define HAVE_HYPOTL 1
7270 cat >> confdefs.h <<\EOF
7271 #define HAVE_ISINFL 1
7274 cat >> confdefs.h <<\EOF
7275 #define HAVE_ISNANL 1
7281 os_include_dir="os/mingw32"
7282 for ac_hdr in sys/types.h locale.h float.h
7284 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7285 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7286 echo "configure:7287: checking for $ac_hdr" >&5
7287 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7288 echo $ac_n "(cached) $ac_c" 1>&6
7290 cat > conftest.$ac_ext <<EOF
7291 #line 7292 "configure"
7292 #include "confdefs.h"
7295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7296 { (eval echo configure:7297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7298 if test -z "$ac_err"; then
7300 eval "ac_cv_header_$ac_safe=yes"
7303 echo "configure: failed program was:" >&5
7304 cat conftest.$ac_ext >&5
7306 eval "ac_cv_header_$ac_safe=no"
7310 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7311 echo "$ac_t""yes" 1>&6
7312 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7313 cat >> confdefs.h <<EOF
7314 #define $ac_tr_hdr 1
7318 echo "$ac_t""no" 1>&6
7323 # If we're not using GNU ld, then there's no point in even trying these
7324 # tests. Check for that first. We should have already tested for gld
7325 # by now (in libtool), but require it now just to be safe...
7326 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7327 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7330 # The name set by libtool depends on the version of libtool. Shame on us
7331 # for depending on an impl detail, but c'est la vie. Older versions used
7332 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7333 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7334 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7335 # set (hence we're using an older libtool), then set it.
7336 if test x${with_gnu_ld+set} != xset; then
7337 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7338 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7341 with_gnu_ld=$ac_cv_prog_gnu_ld
7345 # Start by getting the version number. I think the libtool test already
7346 # does some of this, but throws away the result.
7348 ldver=`$LD --version 2>/dev/null | head -1 | \
7349 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7351 glibcpp_gnu_ld_version=`echo $ldver | \
7352 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7354 # Set --gc-sections.
7355 if test "$with_gnu_ld" = "notbroken"; then
7356 # GNU ld it is! Joy and bunny rabbits!
7358 # All these tests are for C++; save the language and the compiler flags.
7359 # Need to do this so that g++ won't try to link in libstdc++
7360 ac_test_CFLAGS="${CFLAGS+set}"
7361 ac_save_CFLAGS="$CFLAGS"
7362 CFLAGS='-x c++ -Wl,--gc-sections'
7364 # Check for -Wl,--gc-sections
7365 # XXX This test is broken at the moment, as symbols required for
7366 # linking are now in libsupc++ (not built yet.....). In addition,
7367 # this test has cored on solaris in the past. In addition,
7368 # --gc-sections doesn't really work at the moment (keeps on discarding
7369 # used sections, first .eh_frame and now some of the glibc sections for
7370 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7371 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7372 echo "configure:7373: checking for ld that supports -Wl,--gc-sections" >&5
7373 if test "$cross_compiling" = yes; then
7374 ac_sectionLDflags=yes
7376 cat > conftest.$ac_ext <<EOF
7377 #line 7378 "configure"
7378 #include "confdefs.h"
7388 if { (eval echo configure:7389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7390 ac_sectionLDflags=yes
7392 echo "configure: failed program was:" >&5
7393 cat conftest.$ac_ext >&5
7395 ac_sectionLDflags=no
7400 if test "$ac_test_CFLAGS" = set; then
7401 CFLAGS="$ac_save_CFLAGS"
7403 # this is the suspicious part
7406 if test "$ac_sectionLDflags" = "yes"; then
7407 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7409 echo "$ac_t""$ac_sectionLDflags" 1>&6
7412 # Set linker optimization flags.
7413 if test x"$with_gnu_ld" = x"yes"; then
7414 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7421 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7422 echo "configure:7423: checking for main in -lm" >&5
7423 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7424 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7425 echo $ac_n "(cached) $ac_c" 1>&6
7427 ac_save_LIBS="$LIBS"
7429 cat > conftest.$ac_ext <<EOF
7430 #line 7431 "configure"
7431 #include "confdefs.h"
7437 if { (eval echo configure:7438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7439 eval "ac_cv_lib_$ac_lib_var=yes"
7441 echo "configure: failed program was:" >&5
7442 cat conftest.$ac_ext >&5
7444 eval "ac_cv_lib_$ac_lib_var=no"
7447 LIBS="$ac_save_LIBS"
7450 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7451 echo "$ac_t""yes" 1>&6
7452 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7453 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7454 cat >> confdefs.h <<EOF
7455 #define $ac_tr_lib 1
7461 echo "$ac_t""no" 1>&6
7464 for ac_func in nan copysignf
7466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7467 echo "configure:7468: checking for $ac_func" >&5
7468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7469 echo $ac_n "(cached) $ac_c" 1>&6
7471 cat > conftest.$ac_ext <<EOF
7472 #line 7473 "configure"
7473 #include "confdefs.h"
7474 /* System header to define __stub macros and hopefully few prototypes,
7475 which can conflict with char $ac_func(); below. */
7477 /* Override any gcc2 internal prototype to avoid an error. */
7478 /* We use char because int might match the return type of a gcc2
7479 builtin and then its argument prototype would still apply. */
7484 /* The GNU C library defines this for functions which it implements
7485 to always fail with ENOSYS. Some functions are actually named
7486 something starting with __ and the normal name is an alias. */
7487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7495 if { (eval echo configure:7496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7497 eval "ac_cv_func_$ac_func=yes"
7499 echo "configure: failed program was:" >&5
7500 cat conftest.$ac_ext >&5
7502 eval "ac_cv_func_$ac_func=no"
7507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7508 echo "$ac_t""yes" 1>&6
7509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7510 cat >> confdefs.h <<EOF
7511 #define $ac_tr_func 1
7515 echo "$ac_t""no" 1>&6
7516 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7521 for ac_func in __signbit
7523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7524 echo "configure:7525: checking for $ac_func" >&5
7525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7526 echo $ac_n "(cached) $ac_c" 1>&6
7528 cat > conftest.$ac_ext <<EOF
7529 #line 7530 "configure"
7530 #include "confdefs.h"
7531 /* System header to define __stub macros and hopefully few prototypes,
7532 which can conflict with char $ac_func(); below. */
7534 /* Override any gcc2 internal prototype to avoid an error. */
7535 /* We use char because int might match the return type of a gcc2
7536 builtin and then its argument prototype would still apply. */
7541 /* The GNU C library defines this for functions which it implements
7542 to always fail with ENOSYS. Some functions are actually named
7543 something starting with __ and the normal name is an alias. */
7544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7552 if { (eval echo configure:7553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7554 eval "ac_cv_func_$ac_func=yes"
7556 echo "configure: failed program was:" >&5
7557 cat conftest.$ac_ext >&5
7559 eval "ac_cv_func_$ac_func=no"
7564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7565 echo "$ac_t""yes" 1>&6
7566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7567 cat >> confdefs.h <<EOF
7568 #define $ac_tr_func 1
7572 echo "$ac_t""no" 1>&6
7573 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7577 for ac_func in __signbitf
7579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7580 echo "configure:7581: checking for $ac_func" >&5
7581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7582 echo $ac_n "(cached) $ac_c" 1>&6
7584 cat > conftest.$ac_ext <<EOF
7585 #line 7586 "configure"
7586 #include "confdefs.h"
7587 /* System header to define __stub macros and hopefully few prototypes,
7588 which can conflict with char $ac_func(); below. */
7590 /* Override any gcc2 internal prototype to avoid an error. */
7591 /* We use char because int might match the return type of a gcc2
7592 builtin and then its argument prototype would still apply. */
7597 /* The GNU C library defines this for functions which it implements
7598 to always fail with ENOSYS. Some functions are actually named
7599 something starting with __ and the normal name is an alias. */
7600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7608 if { (eval echo configure:7609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7610 eval "ac_cv_func_$ac_func=yes"
7612 echo "configure: failed program was:" >&5
7613 cat conftest.$ac_ext >&5
7615 eval "ac_cv_func_$ac_func=no"
7620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7621 echo "$ac_t""yes" 1>&6
7622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7623 cat >> confdefs.h <<EOF
7624 #define $ac_tr_func 1
7628 echo "$ac_t""no" 1>&6
7629 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7634 if test x$ac_cv_func_copysignl = x"yes"; then
7635 for ac_func in __signbitl
7637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7638 echo "configure:7639: checking for $ac_func" >&5
7639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7640 echo $ac_n "(cached) $ac_c" 1>&6
7642 cat > conftest.$ac_ext <<EOF
7643 #line 7644 "configure"
7644 #include "confdefs.h"
7645 /* System header to define __stub macros and hopefully few prototypes,
7646 which can conflict with char $ac_func(); below. */
7648 /* Override any gcc2 internal prototype to avoid an error. */
7649 /* We use char because int might match the return type of a gcc2
7650 builtin and then its argument prototype would still apply. */
7655 /* The GNU C library defines this for functions which it implements
7656 to always fail with ENOSYS. Some functions are actually named
7657 something starting with __ and the normal name is an alias. */
7658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7666 if { (eval echo configure:7667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7668 eval "ac_cv_func_$ac_func=yes"
7670 echo "configure: failed program was:" >&5
7671 cat conftest.$ac_ext >&5
7673 eval "ac_cv_func_$ac_func=no"
7678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7679 echo "$ac_t""yes" 1>&6
7680 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7681 cat >> confdefs.h <<EOF
7682 #define $ac_tr_func 1
7686 echo "$ac_t""no" 1>&6
7687 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7693 if test -n "$LIBMATHOBJS"; then
7700 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7701 echo "configure:7702: checking for mbstate_t" >&5
7702 cat > conftest.$ac_ext <<EOF
7703 #line 7704 "configure"
7704 #include "confdefs.h"
7707 mbstate_t teststate;
7710 if { (eval echo configure:7711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7714 echo "configure: failed program was:" >&5
7715 cat conftest.$ac_ext >&5
7720 echo "$ac_t""$have_mbstate_t" 1>&6
7721 if test x"$have_mbstate_t" = xyes; then
7722 cat >> confdefs.h <<\EOF
7723 #define HAVE_MBSTATE_T 1
7728 for ac_hdr in wchar.h
7730 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7731 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7732 echo "configure:7733: checking for $ac_hdr" >&5
7733 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7734 echo $ac_n "(cached) $ac_c" 1>&6
7736 cat > conftest.$ac_ext <<EOF
7737 #line 7738 "configure"
7738 #include "confdefs.h"
7741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7742 { (eval echo configure:7743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7743 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7744 if test -z "$ac_err"; then
7746 eval "ac_cv_header_$ac_safe=yes"
7749 echo "configure: failed program was:" >&5
7750 cat conftest.$ac_ext >&5
7752 eval "ac_cv_header_$ac_safe=no"
7756 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7757 echo "$ac_t""yes" 1>&6
7758 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7759 cat >> confdefs.h <<EOF
7760 #define $ac_tr_hdr 1
7764 echo "$ac_t""no" 1>&6
7769 for ac_hdr in wctype.h
7771 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7772 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7773 echo "configure:7774: checking for $ac_hdr" >&5
7774 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7775 echo $ac_n "(cached) $ac_c" 1>&6
7777 cat > conftest.$ac_ext <<EOF
7778 #line 7779 "configure"
7779 #include "confdefs.h"
7782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7783 { (eval echo configure:7784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7785 if test -z "$ac_err"; then
7787 eval "ac_cv_header_$ac_safe=yes"
7790 echo "configure: failed program was:" >&5
7791 cat conftest.$ac_ext >&5
7793 eval "ac_cv_header_$ac_safe=no"
7797 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7798 echo "$ac_t""yes" 1>&6
7799 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7800 cat >> confdefs.h <<EOF
7801 #define $ac_tr_hdr 1
7805 echo "$ac_t""no" 1>&6
7811 if test x"$ac_has_wchar_h" = xyes &&
7812 test x"$ac_has_wctype_h" = xyes &&
7813 test x"$enable_c_mbchar" != xno; then
7815 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7816 echo "configure:7817: checking for WCHAR_MIN and WCHAR_MAX" >&5
7817 cat > conftest.$ac_ext <<EOF
7818 #line 7819 "configure"
7819 #include "confdefs.h"
7822 int i = WCHAR_MIN; int j = WCHAR_MAX;
7825 if { (eval echo configure:7826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7827 has_wchar_minmax=yes
7829 echo "configure: failed program was:" >&5
7830 cat conftest.$ac_ext >&5
7835 echo "$ac_t""$has_wchar_minmax" 1>&6
7837 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7838 echo "configure:7839: checking for WEOF" >&5
7839 cat > conftest.$ac_ext <<EOF
7840 #line 7841 "configure"
7841 #include "confdefs.h"
7849 if { (eval echo configure:7850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7853 echo "configure: failed program was:" >&5
7854 cat conftest.$ac_ext >&5
7859 echo "$ac_t""$has_weof" 1>&6
7862 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7865 echo "configure:7866: checking for $ac_func" >&5
7866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7867 echo $ac_n "(cached) $ac_c" 1>&6
7869 cat > conftest.$ac_ext <<EOF
7870 #line 7871 "configure"
7871 #include "confdefs.h"
7872 /* System header to define __stub macros and hopefully few prototypes,
7873 which can conflict with char $ac_func(); below. */
7875 /* Override any gcc2 internal prototype to avoid an error. */
7876 /* We use char because int might match the return type of a gcc2
7877 builtin and then its argument prototype would still apply. */
7882 /* The GNU C library defines this for functions which it implements
7883 to always fail with ENOSYS. Some functions are actually named
7884 something starting with __ and the normal name is an alias. */
7885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7893 if { (eval echo configure:7894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7895 eval "ac_cv_func_$ac_func=yes"
7897 echo "configure: failed program was:" >&5
7898 cat conftest.$ac_ext >&5
7900 eval "ac_cv_func_$ac_func=no"
7905 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7906 echo "$ac_t""yes" 1>&6
7907 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7908 cat >> confdefs.h <<EOF
7909 #define $ac_tr_func 1
7913 echo "$ac_t""no" 1>&6
7920 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7921 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7922 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7923 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7924 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7925 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7928 echo "configure:7929: checking for $ac_func" >&5
7929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7930 echo $ac_n "(cached) $ac_c" 1>&6
7932 cat > conftest.$ac_ext <<EOF
7933 #line 7934 "configure"
7934 #include "confdefs.h"
7935 /* System header to define __stub macros and hopefully few prototypes,
7936 which can conflict with char $ac_func(); below. */
7938 /* Override any gcc2 internal prototype to avoid an error. */
7939 /* We use char because int might match the return type of a gcc2
7940 builtin and then its argument prototype would still apply. */
7945 /* The GNU C library defines this for functions which it implements
7946 to always fail with ENOSYS. Some functions are actually named
7947 something starting with __ and the normal name is an alias. */
7948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7956 if { (eval echo configure:7957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7958 eval "ac_cv_func_$ac_func=yes"
7960 echo "configure: failed program was:" >&5
7961 cat conftest.$ac_ext >&5
7963 eval "ac_cv_func_$ac_func=no"
7968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7969 echo "$ac_t""yes" 1>&6
7970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7971 cat >> confdefs.h <<EOF
7972 #define $ac_tr_func 1
7976 echo "$ac_t""no" 1>&6
7983 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7984 echo "configure:7985: checking for ISO C99 wchar_t support" >&5
7985 if test x"$has_weof" = xyes &&
7986 test x"$has_wchar_minmax" = xyes &&
7987 test x"$ac_wfuncs" = xyes; then
7988 ac_isoC99_wchar_t=yes
7990 ac_isoC99_wchar_t=no
7992 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7994 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7995 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7996 echo "configure:7997: checking for iconv.h" >&5
7997 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7998 echo $ac_n "(cached) $ac_c" 1>&6
8000 cat > conftest.$ac_ext <<EOF
8001 #line 8002 "configure"
8002 #include "confdefs.h"
8005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8006 { (eval echo configure:8007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8007 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8008 if test -z "$ac_err"; then
8010 eval "ac_cv_header_$ac_safe=yes"
8013 echo "configure: failed program was:" >&5
8014 cat conftest.$ac_ext >&5
8016 eval "ac_cv_header_$ac_safe=no"
8020 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8021 echo "$ac_t""yes" 1>&6
8024 echo "$ac_t""no" 1>&6
8028 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8029 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8030 echo "configure:8031: checking for langinfo.h" >&5
8031 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8032 echo $ac_n "(cached) $ac_c" 1>&6
8034 cat > conftest.$ac_ext <<EOF
8035 #line 8036 "configure"
8036 #include "confdefs.h"
8037 #include <langinfo.h>
8039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8040 { (eval echo configure:8041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8042 if test -z "$ac_err"; then
8044 eval "ac_cv_header_$ac_safe=yes"
8047 echo "configure: failed program was:" >&5
8048 cat conftest.$ac_ext >&5
8050 eval "ac_cv_header_$ac_safe=no"
8054 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8055 echo "$ac_t""yes" 1>&6
8056 ac_has_langinfo_h=yes
8058 echo "$ac_t""no" 1>&6
8059 ac_has_langinfo_h=no
8063 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8064 echo "configure:8065: checking for iconv in -liconv" >&5
8065 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8067 echo $ac_n "(cached) $ac_c" 1>&6
8069 ac_save_LIBS="$LIBS"
8070 LIBS="-liconv $LIBS"
8071 cat > conftest.$ac_ext <<EOF
8072 #line 8073 "configure"
8073 #include "confdefs.h"
8074 /* Override any gcc2 internal prototype to avoid an error. */
8075 /* We use char because int might match the return type of a gcc2
8076 builtin and then its argument prototype would still apply. */
8083 if { (eval echo configure:8084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8085 eval "ac_cv_lib_$ac_lib_var=yes"
8087 echo "configure: failed program was:" >&5
8088 cat conftest.$ac_ext >&5
8090 eval "ac_cv_lib_$ac_lib_var=no"
8093 LIBS="$ac_save_LIBS"
8096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8097 echo "$ac_t""yes" 1>&6
8100 echo "$ac_t""no" 1>&6
8103 ac_save_LIBS="$LIBS"
8104 LIBS="$LIBS $libiconv"
8106 for ac_func in iconv_open iconv_close iconv nl_langinfo
8108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8109 echo "configure:8110: checking for $ac_func" >&5
8110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8111 echo $ac_n "(cached) $ac_c" 1>&6
8113 cat > conftest.$ac_ext <<EOF
8114 #line 8115 "configure"
8115 #include "confdefs.h"
8116 /* System header to define __stub macros and hopefully few prototypes,
8117 which can conflict with char $ac_func(); below. */
8119 /* Override any gcc2 internal prototype to avoid an error. */
8120 /* We use char because int might match the return type of a gcc2
8121 builtin and then its argument prototype would still apply. */
8126 /* The GNU C library defines this for functions which it implements
8127 to always fail with ENOSYS. Some functions are actually named
8128 something starting with __ and the normal name is an alias. */
8129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8137 if { (eval echo configure:8138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8139 eval "ac_cv_func_$ac_func=yes"
8141 echo "configure: failed program was:" >&5
8142 cat conftest.$ac_ext >&5
8144 eval "ac_cv_func_$ac_func=no"
8149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8150 echo "$ac_t""yes" 1>&6
8151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8152 cat >> confdefs.h <<EOF
8153 #define $ac_tr_func 1
8158 echo "$ac_t""no" 1>&6
8164 LIBS="$ac_save_LIBS"
8166 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8167 echo "configure:8168: checking for XPG2 wchar_t support" >&5
8168 if test x"$ac_has_iconv_h" = xyes &&
8169 test x"$ac_has_langinfo_h" = xyes &&
8170 test x"$ac_XPG2funcs" = xyes; then
8175 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8177 if test x"$ac_isoC99_wchar_t" = xyes &&
8178 test x"$ac_XPG2_wchar_t" = xyes; then
8179 cat >> confdefs.h <<\EOF
8180 #define _GLIBCPP_USE_WCHAR_T 1
8186 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8187 echo "configure:8188: checking for enabled wchar_t specializations" >&5
8188 echo "$ac_t""$enable_wchar_t" 1>&6
8192 os_include_dir="os/bsd/netbsd"
8193 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
8194 machine/endian.h machine/param.h sys/machine.h sys/types.h \
8195 fp.h locale.h float.h inttypes.h
8197 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8198 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8199 echo "configure:8200: checking for $ac_hdr" >&5
8200 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8201 echo $ac_n "(cached) $ac_c" 1>&6
8203 cat > conftest.$ac_ext <<EOF
8204 #line 8205 "configure"
8205 #include "confdefs.h"
8208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8209 { (eval echo configure:8210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8211 if test -z "$ac_err"; then
8213 eval "ac_cv_header_$ac_safe=yes"
8216 echo "configure: failed program was:" >&5
8217 cat conftest.$ac_ext >&5
8219 eval "ac_cv_header_$ac_safe=no"
8223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8224 echo "$ac_t""yes" 1>&6
8225 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8226 cat >> confdefs.h <<EOF
8227 #define $ac_tr_hdr 1
8231 echo "$ac_t""no" 1>&6
8235 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8238 # If we're not using GNU ld, then there's no point in even trying these
8239 # tests. Check for that first. We should have already tested for gld
8240 # by now (in libtool), but require it now just to be safe...
8241 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8242 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8245 # The name set by libtool depends on the version of libtool. Shame on us
8246 # for depending on an impl detail, but c'est la vie. Older versions used
8247 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8248 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8249 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8250 # set (hence we're using an older libtool), then set it.
8251 if test x${with_gnu_ld+set} != xset; then
8252 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8253 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8256 with_gnu_ld=$ac_cv_prog_gnu_ld
8260 # Start by getting the version number. I think the libtool test already
8261 # does some of this, but throws away the result.
8263 ldver=`$LD --version 2>/dev/null | head -1 | \
8264 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8266 glibcpp_gnu_ld_version=`echo $ldver | \
8267 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8269 # Set --gc-sections.
8270 if test "$with_gnu_ld" = "notbroken"; then
8271 # GNU ld it is! Joy and bunny rabbits!
8273 # All these tests are for C++; save the language and the compiler flags.
8274 # Need to do this so that g++ won't try to link in libstdc++
8275 ac_test_CFLAGS="${CFLAGS+set}"
8276 ac_save_CFLAGS="$CFLAGS"
8277 CFLAGS='-x c++ -Wl,--gc-sections'
8279 # Check for -Wl,--gc-sections
8280 # XXX This test is broken at the moment, as symbols required for
8281 # linking are now in libsupc++ (not built yet.....). In addition,
8282 # this test has cored on solaris in the past. In addition,
8283 # --gc-sections doesn't really work at the moment (keeps on discarding
8284 # used sections, first .eh_frame and now some of the glibc sections for
8285 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8286 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8287 echo "configure:8288: checking for ld that supports -Wl,--gc-sections" >&5
8288 if test "$cross_compiling" = yes; then
8289 ac_sectionLDflags=yes
8291 cat > conftest.$ac_ext <<EOF
8292 #line 8293 "configure"
8293 #include "confdefs.h"
8303 if { (eval echo configure:8304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8305 ac_sectionLDflags=yes
8307 echo "configure: failed program was:" >&5
8308 cat conftest.$ac_ext >&5
8310 ac_sectionLDflags=no
8315 if test "$ac_test_CFLAGS" = set; then
8316 CFLAGS="$ac_save_CFLAGS"
8318 # this is the suspicious part
8321 if test "$ac_sectionLDflags" = "yes"; then
8322 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8324 echo "$ac_t""$ac_sectionLDflags" 1>&6
8327 # Set linker optimization flags.
8328 if test x"$with_gnu_ld" = x"yes"; then
8329 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8336 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8337 echo "configure:8338: checking for main in -lm" >&5
8338 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8339 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8340 echo $ac_n "(cached) $ac_c" 1>&6
8342 ac_save_LIBS="$LIBS"
8344 cat > conftest.$ac_ext <<EOF
8345 #line 8346 "configure"
8346 #include "confdefs.h"
8352 if { (eval echo configure:8353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8354 eval "ac_cv_lib_$ac_lib_var=yes"
8356 echo "configure: failed program was:" >&5
8357 cat conftest.$ac_ext >&5
8359 eval "ac_cv_lib_$ac_lib_var=no"
8362 LIBS="$ac_save_LIBS"
8365 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8366 echo "$ac_t""yes" 1>&6
8367 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8368 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8369 cat >> confdefs.h <<EOF
8370 #define $ac_tr_lib 1
8376 echo "$ac_t""no" 1>&6
8379 for ac_func in nan copysignf
8381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8382 echo "configure:8383: checking for $ac_func" >&5
8383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8384 echo $ac_n "(cached) $ac_c" 1>&6
8386 cat > conftest.$ac_ext <<EOF
8387 #line 8388 "configure"
8388 #include "confdefs.h"
8389 /* System header to define __stub macros and hopefully few prototypes,
8390 which can conflict with char $ac_func(); below. */
8392 /* Override any gcc2 internal prototype to avoid an error. */
8393 /* We use char because int might match the return type of a gcc2
8394 builtin and then its argument prototype would still apply. */
8399 /* The GNU C library defines this for functions which it implements
8400 to always fail with ENOSYS. Some functions are actually named
8401 something starting with __ and the normal name is an alias. */
8402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8410 if { (eval echo configure:8411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8412 eval "ac_cv_func_$ac_func=yes"
8414 echo "configure: failed program was:" >&5
8415 cat conftest.$ac_ext >&5
8417 eval "ac_cv_func_$ac_func=no"
8422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8423 echo "$ac_t""yes" 1>&6
8424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8425 cat >> confdefs.h <<EOF
8426 #define $ac_tr_func 1
8430 echo "$ac_t""no" 1>&6
8431 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8436 for ac_func in __signbit
8438 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8439 echo "configure:8440: checking for $ac_func" >&5
8440 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8441 echo $ac_n "(cached) $ac_c" 1>&6
8443 cat > conftest.$ac_ext <<EOF
8444 #line 8445 "configure"
8445 #include "confdefs.h"
8446 /* System header to define __stub macros and hopefully few prototypes,
8447 which can conflict with char $ac_func(); below. */
8449 /* Override any gcc2 internal prototype to avoid an error. */
8450 /* We use char because int might match the return type of a gcc2
8451 builtin and then its argument prototype would still apply. */
8456 /* The GNU C library defines this for functions which it implements
8457 to always fail with ENOSYS. Some functions are actually named
8458 something starting with __ and the normal name is an alias. */
8459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8467 if { (eval echo configure:8468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8469 eval "ac_cv_func_$ac_func=yes"
8471 echo "configure: failed program was:" >&5
8472 cat conftest.$ac_ext >&5
8474 eval "ac_cv_func_$ac_func=no"
8479 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8480 echo "$ac_t""yes" 1>&6
8481 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8482 cat >> confdefs.h <<EOF
8483 #define $ac_tr_func 1
8487 echo "$ac_t""no" 1>&6
8488 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8492 for ac_func in __signbitf
8494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8495 echo "configure:8496: checking for $ac_func" >&5
8496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8497 echo $ac_n "(cached) $ac_c" 1>&6
8499 cat > conftest.$ac_ext <<EOF
8500 #line 8501 "configure"
8501 #include "confdefs.h"
8502 /* System header to define __stub macros and hopefully few prototypes,
8503 which can conflict with char $ac_func(); below. */
8505 /* Override any gcc2 internal prototype to avoid an error. */
8506 /* We use char because int might match the return type of a gcc2
8507 builtin and then its argument prototype would still apply. */
8512 /* The GNU C library defines this for functions which it implements
8513 to always fail with ENOSYS. Some functions are actually named
8514 something starting with __ and the normal name is an alias. */
8515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8523 if { (eval echo configure:8524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8525 eval "ac_cv_func_$ac_func=yes"
8527 echo "configure: failed program was:" >&5
8528 cat conftest.$ac_ext >&5
8530 eval "ac_cv_func_$ac_func=no"
8535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8536 echo "$ac_t""yes" 1>&6
8537 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8538 cat >> confdefs.h <<EOF
8539 #define $ac_tr_func 1
8543 echo "$ac_t""no" 1>&6
8544 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8549 if test x$ac_cv_func_copysignl = x"yes"; then
8550 for ac_func in __signbitl
8552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8553 echo "configure:8554: checking for $ac_func" >&5
8554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8555 echo $ac_n "(cached) $ac_c" 1>&6
8557 cat > conftest.$ac_ext <<EOF
8558 #line 8559 "configure"
8559 #include "confdefs.h"
8560 /* System header to define __stub macros and hopefully few prototypes,
8561 which can conflict with char $ac_func(); below. */
8563 /* Override any gcc2 internal prototype to avoid an error. */
8564 /* We use char because int might match the return type of a gcc2
8565 builtin and then its argument prototype would still apply. */
8570 /* The GNU C library defines this for functions which it implements
8571 to always fail with ENOSYS. Some functions are actually named
8572 something starting with __ and the normal name is an alias. */
8573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8581 if { (eval echo configure:8582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8583 eval "ac_cv_func_$ac_func=yes"
8585 echo "configure: failed program was:" >&5
8586 cat conftest.$ac_ext >&5
8588 eval "ac_cv_func_$ac_func=no"
8593 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8594 echo "$ac_t""yes" 1>&6
8595 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8596 cat >> confdefs.h <<EOF
8597 #define $ac_tr_func 1
8601 echo "$ac_t""no" 1>&6
8602 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8608 if test -n "$LIBMATHOBJS"; then
8615 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8616 echo "configure:8617: checking for mbstate_t" >&5
8617 cat > conftest.$ac_ext <<EOF
8618 #line 8619 "configure"
8619 #include "confdefs.h"
8622 mbstate_t teststate;
8625 if { (eval echo configure:8626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8629 echo "configure: failed program was:" >&5
8630 cat conftest.$ac_ext >&5
8635 echo "$ac_t""$have_mbstate_t" 1>&6
8636 if test x"$have_mbstate_t" = xyes; then
8637 cat >> confdefs.h <<\EOF
8638 #define HAVE_MBSTATE_T 1
8643 for ac_hdr in wchar.h
8645 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8646 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8647 echo "configure:8648: checking for $ac_hdr" >&5
8648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8649 echo $ac_n "(cached) $ac_c" 1>&6
8651 cat > conftest.$ac_ext <<EOF
8652 #line 8653 "configure"
8653 #include "confdefs.h"
8656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8657 { (eval echo configure:8658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8659 if test -z "$ac_err"; then
8661 eval "ac_cv_header_$ac_safe=yes"
8664 echo "configure: failed program was:" >&5
8665 cat conftest.$ac_ext >&5
8667 eval "ac_cv_header_$ac_safe=no"
8671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8672 echo "$ac_t""yes" 1>&6
8673 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8674 cat >> confdefs.h <<EOF
8675 #define $ac_tr_hdr 1
8679 echo "$ac_t""no" 1>&6
8684 for ac_hdr in wctype.h
8686 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8687 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8688 echo "configure:8689: checking for $ac_hdr" >&5
8689 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8690 echo $ac_n "(cached) $ac_c" 1>&6
8692 cat > conftest.$ac_ext <<EOF
8693 #line 8694 "configure"
8694 #include "confdefs.h"
8697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8698 { (eval echo configure:8699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8700 if test -z "$ac_err"; then
8702 eval "ac_cv_header_$ac_safe=yes"
8705 echo "configure: failed program was:" >&5
8706 cat conftest.$ac_ext >&5
8708 eval "ac_cv_header_$ac_safe=no"
8712 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8713 echo "$ac_t""yes" 1>&6
8714 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8715 cat >> confdefs.h <<EOF
8716 #define $ac_tr_hdr 1
8720 echo "$ac_t""no" 1>&6
8726 if test x"$ac_has_wchar_h" = xyes &&
8727 test x"$ac_has_wctype_h" = xyes &&
8728 test x"$enable_c_mbchar" != xno; then
8730 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8731 echo "configure:8732: checking for WCHAR_MIN and WCHAR_MAX" >&5
8732 cat > conftest.$ac_ext <<EOF
8733 #line 8734 "configure"
8734 #include "confdefs.h"
8737 int i = WCHAR_MIN; int j = WCHAR_MAX;
8740 if { (eval echo configure:8741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8742 has_wchar_minmax=yes
8744 echo "configure: failed program was:" >&5
8745 cat conftest.$ac_ext >&5
8750 echo "$ac_t""$has_wchar_minmax" 1>&6
8752 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8753 echo "configure:8754: checking for WEOF" >&5
8754 cat > conftest.$ac_ext <<EOF
8755 #line 8756 "configure"
8756 #include "confdefs.h"
8764 if { (eval echo configure:8765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8768 echo "configure: failed program was:" >&5
8769 cat conftest.$ac_ext >&5
8774 echo "$ac_t""$has_weof" 1>&6
8777 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8780 echo "configure:8781: checking for $ac_func" >&5
8781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8782 echo $ac_n "(cached) $ac_c" 1>&6
8784 cat > conftest.$ac_ext <<EOF
8785 #line 8786 "configure"
8786 #include "confdefs.h"
8787 /* System header to define __stub macros and hopefully few prototypes,
8788 which can conflict with char $ac_func(); below. */
8790 /* Override any gcc2 internal prototype to avoid an error. */
8791 /* We use char because int might match the return type of a gcc2
8792 builtin and then its argument prototype would still apply. */
8797 /* The GNU C library defines this for functions which it implements
8798 to always fail with ENOSYS. Some functions are actually named
8799 something starting with __ and the normal name is an alias. */
8800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8808 if { (eval echo configure:8809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8810 eval "ac_cv_func_$ac_func=yes"
8812 echo "configure: failed program was:" >&5
8813 cat conftest.$ac_ext >&5
8815 eval "ac_cv_func_$ac_func=no"
8820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8821 echo "$ac_t""yes" 1>&6
8822 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8823 cat >> confdefs.h <<EOF
8824 #define $ac_tr_func 1
8828 echo "$ac_t""no" 1>&6
8835 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8836 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8837 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8838 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8839 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8840 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8843 echo "configure:8844: checking for $ac_func" >&5
8844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8845 echo $ac_n "(cached) $ac_c" 1>&6
8847 cat > conftest.$ac_ext <<EOF
8848 #line 8849 "configure"
8849 #include "confdefs.h"
8850 /* System header to define __stub macros and hopefully few prototypes,
8851 which can conflict with char $ac_func(); below. */
8853 /* Override any gcc2 internal prototype to avoid an error. */
8854 /* We use char because int might match the return type of a gcc2
8855 builtin and then its argument prototype would still apply. */
8860 /* The GNU C library defines this for functions which it implements
8861 to always fail with ENOSYS. Some functions are actually named
8862 something starting with __ and the normal name is an alias. */
8863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8871 if { (eval echo configure:8872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8873 eval "ac_cv_func_$ac_func=yes"
8875 echo "configure: failed program was:" >&5
8876 cat conftest.$ac_ext >&5
8878 eval "ac_cv_func_$ac_func=no"
8883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8884 echo "$ac_t""yes" 1>&6
8885 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8886 cat >> confdefs.h <<EOF
8887 #define $ac_tr_func 1
8891 echo "$ac_t""no" 1>&6
8898 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8899 echo "configure:8900: checking for ISO C99 wchar_t support" >&5
8900 if test x"$has_weof" = xyes &&
8901 test x"$has_wchar_minmax" = xyes &&
8902 test x"$ac_wfuncs" = xyes; then
8903 ac_isoC99_wchar_t=yes
8905 ac_isoC99_wchar_t=no
8907 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8909 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8910 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8911 echo "configure:8912: checking for iconv.h" >&5
8912 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8913 echo $ac_n "(cached) $ac_c" 1>&6
8915 cat > conftest.$ac_ext <<EOF
8916 #line 8917 "configure"
8917 #include "confdefs.h"
8920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8921 { (eval echo configure:8922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8922 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8923 if test -z "$ac_err"; then
8925 eval "ac_cv_header_$ac_safe=yes"
8928 echo "configure: failed program was:" >&5
8929 cat conftest.$ac_ext >&5
8931 eval "ac_cv_header_$ac_safe=no"
8935 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8936 echo "$ac_t""yes" 1>&6
8939 echo "$ac_t""no" 1>&6
8943 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8944 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8945 echo "configure:8946: checking for langinfo.h" >&5
8946 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8947 echo $ac_n "(cached) $ac_c" 1>&6
8949 cat > conftest.$ac_ext <<EOF
8950 #line 8951 "configure"
8951 #include "confdefs.h"
8952 #include <langinfo.h>
8954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8955 { (eval echo configure:8956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8957 if test -z "$ac_err"; then
8959 eval "ac_cv_header_$ac_safe=yes"
8962 echo "configure: failed program was:" >&5
8963 cat conftest.$ac_ext >&5
8965 eval "ac_cv_header_$ac_safe=no"
8969 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8970 echo "$ac_t""yes" 1>&6
8971 ac_has_langinfo_h=yes
8973 echo "$ac_t""no" 1>&6
8974 ac_has_langinfo_h=no
8978 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8979 echo "configure:8980: checking for iconv in -liconv" >&5
8980 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8981 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8982 echo $ac_n "(cached) $ac_c" 1>&6
8984 ac_save_LIBS="$LIBS"
8985 LIBS="-liconv $LIBS"
8986 cat > conftest.$ac_ext <<EOF
8987 #line 8988 "configure"
8988 #include "confdefs.h"
8989 /* Override any gcc2 internal prototype to avoid an error. */
8990 /* We use char because int might match the return type of a gcc2
8991 builtin and then its argument prototype would still apply. */
8998 if { (eval echo configure:8999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9000 eval "ac_cv_lib_$ac_lib_var=yes"
9002 echo "configure: failed program was:" >&5
9003 cat conftest.$ac_ext >&5
9005 eval "ac_cv_lib_$ac_lib_var=no"
9008 LIBS="$ac_save_LIBS"
9011 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9012 echo "$ac_t""yes" 1>&6
9015 echo "$ac_t""no" 1>&6
9018 ac_save_LIBS="$LIBS"
9019 LIBS="$LIBS $libiconv"
9021 for ac_func in iconv_open iconv_close iconv nl_langinfo
9023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9024 echo "configure:9025: checking for $ac_func" >&5
9025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9026 echo $ac_n "(cached) $ac_c" 1>&6
9028 cat > conftest.$ac_ext <<EOF
9029 #line 9030 "configure"
9030 #include "confdefs.h"
9031 /* System header to define __stub macros and hopefully few prototypes,
9032 which can conflict with char $ac_func(); below. */
9034 /* Override any gcc2 internal prototype to avoid an error. */
9035 /* We use char because int might match the return type of a gcc2
9036 builtin and then its argument prototype would still apply. */
9041 /* The GNU C library defines this for functions which it implements
9042 to always fail with ENOSYS. Some functions are actually named
9043 something starting with __ and the normal name is an alias. */
9044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9052 if { (eval echo configure:9053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9054 eval "ac_cv_func_$ac_func=yes"
9056 echo "configure: failed program was:" >&5
9057 cat conftest.$ac_ext >&5
9059 eval "ac_cv_func_$ac_func=no"
9064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9065 echo "$ac_t""yes" 1>&6
9066 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9067 cat >> confdefs.h <<EOF
9068 #define $ac_tr_func 1
9073 echo "$ac_t""no" 1>&6
9079 LIBS="$ac_save_LIBS"
9081 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9082 echo "configure:9083: checking for XPG2 wchar_t support" >&5
9083 if test x"$ac_has_iconv_h" = xyes &&
9084 test x"$ac_has_langinfo_h" = xyes &&
9085 test x"$ac_XPG2funcs" = xyes; then
9090 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9092 if test x"$ac_isoC99_wchar_t" = xyes &&
9093 test x"$ac_XPG2_wchar_t" = xyes; then
9094 cat >> confdefs.h <<\EOF
9095 #define _GLIBCPP_USE_WCHAR_T 1
9101 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9102 echo "configure:9103: checking for enabled wchar_t specializations" >&5
9103 echo "$ac_t""$enable_wchar_t" 1>&6
9105 cat >> confdefs.h <<\EOF
9106 #define HAVE_COPYSIGN 1
9109 cat >> confdefs.h <<\EOF
9110 #define HAVE_COPYSIGNF 1
9113 cat >> confdefs.h <<\EOF
9114 #define HAVE_FINITEF 1
9117 cat >> confdefs.h <<\EOF
9118 #define HAVE_FINITE 1
9121 cat >> confdefs.h <<\EOF
9122 #define HAVE_FREXPF 1
9125 cat >> confdefs.h <<\EOF
9126 #define HAVE_HYPOTF 1
9129 cat >> confdefs.h <<\EOF
9130 #define HAVE_ISINF 1
9133 cat >> confdefs.h <<\EOF
9134 #define HAVE_ISINFF 1
9137 cat >> confdefs.h <<\EOF
9138 #define HAVE_ISNAN 1
9141 cat >> confdefs.h <<\EOF
9142 #define HAVE_ISNANF 1
9145 if test x"long_double_math_on_this_cpu" = x"yes"; then
9146 cat >> confdefs.h <<\EOF
9147 #define HAVE_FINITEL 1
9150 cat >> confdefs.h <<\EOF
9151 #define HAVE_ISINFL 1
9154 cat >> confdefs.h <<\EOF
9155 #define HAVE_ISNANL 1
9160 *-qnx6.1* | *-qnx6.2*)
9161 os_include_dir="os/qnx/qnx6.1"
9162 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9165 # If we're not using GNU ld, then there's no point in even trying these
9166 # tests. Check for that first. We should have already tested for gld
9167 # by now (in libtool), but require it now just to be safe...
9168 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9169 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9172 # The name set by libtool depends on the version of libtool. Shame on us
9173 # for depending on an impl detail, but c'est la vie. Older versions used
9174 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9175 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9176 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9177 # set (hence we're using an older libtool), then set it.
9178 if test x${with_gnu_ld+set} != xset; then
9179 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9180 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9183 with_gnu_ld=$ac_cv_prog_gnu_ld
9187 # Start by getting the version number. I think the libtool test already
9188 # does some of this, but throws away the result.
9190 ldver=`$LD --version 2>/dev/null | head -1 | \
9191 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9193 glibcpp_gnu_ld_version=`echo $ldver | \
9194 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9196 # Set --gc-sections.
9197 if test "$with_gnu_ld" = "notbroken"; then
9198 # GNU ld it is! Joy and bunny rabbits!
9200 # All these tests are for C++; save the language and the compiler flags.
9201 # Need to do this so that g++ won't try to link in libstdc++
9202 ac_test_CFLAGS="${CFLAGS+set}"
9203 ac_save_CFLAGS="$CFLAGS"
9204 CFLAGS='-x c++ -Wl,--gc-sections'
9206 # Check for -Wl,--gc-sections
9207 # XXX This test is broken at the moment, as symbols required for
9208 # linking are now in libsupc++ (not built yet.....). In addition,
9209 # this test has cored on solaris in the past. In addition,
9210 # --gc-sections doesn't really work at the moment (keeps on discarding
9211 # used sections, first .eh_frame and now some of the glibc sections for
9212 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9213 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9214 echo "configure:9215: checking for ld that supports -Wl,--gc-sections" >&5
9215 if test "$cross_compiling" = yes; then
9216 ac_sectionLDflags=yes
9218 cat > conftest.$ac_ext <<EOF
9219 #line 9220 "configure"
9220 #include "confdefs.h"
9230 if { (eval echo configure:9231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9232 ac_sectionLDflags=yes
9234 echo "configure: failed program was:" >&5
9235 cat conftest.$ac_ext >&5
9237 ac_sectionLDflags=no
9242 if test "$ac_test_CFLAGS" = set; then
9243 CFLAGS="$ac_save_CFLAGS"
9245 # this is the suspicious part
9248 if test "$ac_sectionLDflags" = "yes"; then
9249 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9251 echo "$ac_t""$ac_sectionLDflags" 1>&6
9254 # Set linker optimization flags.
9255 if test x"$with_gnu_ld" = x"yes"; then
9256 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9263 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9264 echo "configure:9265: checking for main in -lm" >&5
9265 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9267 echo $ac_n "(cached) $ac_c" 1>&6
9269 ac_save_LIBS="$LIBS"
9271 cat > conftest.$ac_ext <<EOF
9272 #line 9273 "configure"
9273 #include "confdefs.h"
9279 if { (eval echo configure:9280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9281 eval "ac_cv_lib_$ac_lib_var=yes"
9283 echo "configure: failed program was:" >&5
9284 cat conftest.$ac_ext >&5
9286 eval "ac_cv_lib_$ac_lib_var=no"
9289 LIBS="$ac_save_LIBS"
9292 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9293 echo "$ac_t""yes" 1>&6
9294 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9295 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9296 cat >> confdefs.h <<EOF
9297 #define $ac_tr_lib 1
9303 echo "$ac_t""no" 1>&6
9306 for ac_func in nan copysignf
9308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9309 echo "configure:9310: checking for $ac_func" >&5
9310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9311 echo $ac_n "(cached) $ac_c" 1>&6
9313 cat > conftest.$ac_ext <<EOF
9314 #line 9315 "configure"
9315 #include "confdefs.h"
9316 /* System header to define __stub macros and hopefully few prototypes,
9317 which can conflict with char $ac_func(); below. */
9319 /* Override any gcc2 internal prototype to avoid an error. */
9320 /* We use char because int might match the return type of a gcc2
9321 builtin and then its argument prototype would still apply. */
9326 /* The GNU C library defines this for functions which it implements
9327 to always fail with ENOSYS. Some functions are actually named
9328 something starting with __ and the normal name is an alias. */
9329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9337 if { (eval echo configure:9338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9339 eval "ac_cv_func_$ac_func=yes"
9341 echo "configure: failed program was:" >&5
9342 cat conftest.$ac_ext >&5
9344 eval "ac_cv_func_$ac_func=no"
9349 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9350 echo "$ac_t""yes" 1>&6
9351 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9352 cat >> confdefs.h <<EOF
9353 #define $ac_tr_func 1
9357 echo "$ac_t""no" 1>&6
9358 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9363 for ac_func in __signbit
9365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9366 echo "configure:9367: checking for $ac_func" >&5
9367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9368 echo $ac_n "(cached) $ac_c" 1>&6
9370 cat > conftest.$ac_ext <<EOF
9371 #line 9372 "configure"
9372 #include "confdefs.h"
9373 /* System header to define __stub macros and hopefully few prototypes,
9374 which can conflict with char $ac_func(); below. */
9376 /* Override any gcc2 internal prototype to avoid an error. */
9377 /* We use char because int might match the return type of a gcc2
9378 builtin and then its argument prototype would still apply. */
9383 /* The GNU C library defines this for functions which it implements
9384 to always fail with ENOSYS. Some functions are actually named
9385 something starting with __ and the normal name is an alias. */
9386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9394 if { (eval echo configure:9395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9396 eval "ac_cv_func_$ac_func=yes"
9398 echo "configure: failed program was:" >&5
9399 cat conftest.$ac_ext >&5
9401 eval "ac_cv_func_$ac_func=no"
9406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9407 echo "$ac_t""yes" 1>&6
9408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9409 cat >> confdefs.h <<EOF
9410 #define $ac_tr_func 1
9414 echo "$ac_t""no" 1>&6
9415 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9419 for ac_func in __signbitf
9421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9422 echo "configure:9423: checking for $ac_func" >&5
9423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9424 echo $ac_n "(cached) $ac_c" 1>&6
9426 cat > conftest.$ac_ext <<EOF
9427 #line 9428 "configure"
9428 #include "confdefs.h"
9429 /* System header to define __stub macros and hopefully few prototypes,
9430 which can conflict with char $ac_func(); below. */
9432 /* Override any gcc2 internal prototype to avoid an error. */
9433 /* We use char because int might match the return type of a gcc2
9434 builtin and then its argument prototype would still apply. */
9439 /* The GNU C library defines this for functions which it implements
9440 to always fail with ENOSYS. Some functions are actually named
9441 something starting with __ and the normal name is an alias. */
9442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9452 eval "ac_cv_func_$ac_func=yes"
9454 echo "configure: failed program was:" >&5
9455 cat conftest.$ac_ext >&5
9457 eval "ac_cv_func_$ac_func=no"
9462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9463 echo "$ac_t""yes" 1>&6
9464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9465 cat >> confdefs.h <<EOF
9466 #define $ac_tr_func 1
9470 echo "$ac_t""no" 1>&6
9471 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9476 if test x$ac_cv_func_copysignl = x"yes"; then
9477 for ac_func in __signbitl
9479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9480 echo "configure:9481: checking for $ac_func" >&5
9481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9482 echo $ac_n "(cached) $ac_c" 1>&6
9484 cat > conftest.$ac_ext <<EOF
9485 #line 9486 "configure"
9486 #include "confdefs.h"
9487 /* System header to define __stub macros and hopefully few prototypes,
9488 which can conflict with char $ac_func(); below. */
9490 /* Override any gcc2 internal prototype to avoid an error. */
9491 /* We use char because int might match the return type of a gcc2
9492 builtin and then its argument prototype would still apply. */
9497 /* The GNU C library defines this for functions which it implements
9498 to always fail with ENOSYS. Some functions are actually named
9499 something starting with __ and the normal name is an alias. */
9500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9508 if { (eval echo configure:9509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9510 eval "ac_cv_func_$ac_func=yes"
9512 echo "configure: failed program was:" >&5
9513 cat conftest.$ac_ext >&5
9515 eval "ac_cv_func_$ac_func=no"
9520 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9521 echo "$ac_t""yes" 1>&6
9522 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9523 cat >> confdefs.h <<EOF
9524 #define $ac_tr_func 1
9528 echo "$ac_t""no" 1>&6
9529 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9535 if test -n "$LIBMATHOBJS"; then
9542 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9543 echo "configure:9544: checking for mbstate_t" >&5
9544 cat > conftest.$ac_ext <<EOF
9545 #line 9546 "configure"
9546 #include "confdefs.h"
9549 mbstate_t teststate;
9552 if { (eval echo configure:9553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9556 echo "configure: failed program was:" >&5
9557 cat conftest.$ac_ext >&5
9562 echo "$ac_t""$have_mbstate_t" 1>&6
9563 if test x"$have_mbstate_t" = xyes; then
9564 cat >> confdefs.h <<\EOF
9565 #define HAVE_MBSTATE_T 1
9570 for ac_hdr in wchar.h
9572 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9573 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9574 echo "configure:9575: checking for $ac_hdr" >&5
9575 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9576 echo $ac_n "(cached) $ac_c" 1>&6
9578 cat > conftest.$ac_ext <<EOF
9579 #line 9580 "configure"
9580 #include "confdefs.h"
9583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9584 { (eval echo configure:9585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9586 if test -z "$ac_err"; then
9588 eval "ac_cv_header_$ac_safe=yes"
9591 echo "configure: failed program was:" >&5
9592 cat conftest.$ac_ext >&5
9594 eval "ac_cv_header_$ac_safe=no"
9598 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9599 echo "$ac_t""yes" 1>&6
9600 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9601 cat >> confdefs.h <<EOF
9602 #define $ac_tr_hdr 1
9606 echo "$ac_t""no" 1>&6
9611 for ac_hdr in wctype.h
9613 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9614 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9615 echo "configure:9616: checking for $ac_hdr" >&5
9616 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9617 echo $ac_n "(cached) $ac_c" 1>&6
9619 cat > conftest.$ac_ext <<EOF
9620 #line 9621 "configure"
9621 #include "confdefs.h"
9624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9625 { (eval echo configure:9626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9627 if test -z "$ac_err"; then
9629 eval "ac_cv_header_$ac_safe=yes"
9632 echo "configure: failed program was:" >&5
9633 cat conftest.$ac_ext >&5
9635 eval "ac_cv_header_$ac_safe=no"
9639 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9640 echo "$ac_t""yes" 1>&6
9641 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9642 cat >> confdefs.h <<EOF
9643 #define $ac_tr_hdr 1
9647 echo "$ac_t""no" 1>&6
9653 if test x"$ac_has_wchar_h" = xyes &&
9654 test x"$ac_has_wctype_h" = xyes &&
9655 test x"$enable_c_mbchar" != xno; then
9657 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9658 echo "configure:9659: checking for WCHAR_MIN and WCHAR_MAX" >&5
9659 cat > conftest.$ac_ext <<EOF
9660 #line 9661 "configure"
9661 #include "confdefs.h"
9664 int i = WCHAR_MIN; int j = WCHAR_MAX;
9667 if { (eval echo configure:9668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9669 has_wchar_minmax=yes
9671 echo "configure: failed program was:" >&5
9672 cat conftest.$ac_ext >&5
9677 echo "$ac_t""$has_wchar_minmax" 1>&6
9679 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9680 echo "configure:9681: checking for WEOF" >&5
9681 cat > conftest.$ac_ext <<EOF
9682 #line 9683 "configure"
9683 #include "confdefs.h"
9691 if { (eval echo configure:9692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9695 echo "configure: failed program was:" >&5
9696 cat conftest.$ac_ext >&5
9701 echo "$ac_t""$has_weof" 1>&6
9704 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9707 echo "configure:9708: checking for $ac_func" >&5
9708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9709 echo $ac_n "(cached) $ac_c" 1>&6
9711 cat > conftest.$ac_ext <<EOF
9712 #line 9713 "configure"
9713 #include "confdefs.h"
9714 /* System header to define __stub macros and hopefully few prototypes,
9715 which can conflict with char $ac_func(); below. */
9717 /* Override any gcc2 internal prototype to avoid an error. */
9718 /* We use char because int might match the return type of a gcc2
9719 builtin and then its argument prototype would still apply. */
9724 /* The GNU C library defines this for functions which it implements
9725 to always fail with ENOSYS. Some functions are actually named
9726 something starting with __ and the normal name is an alias. */
9727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9735 if { (eval echo configure:9736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9737 eval "ac_cv_func_$ac_func=yes"
9739 echo "configure: failed program was:" >&5
9740 cat conftest.$ac_ext >&5
9742 eval "ac_cv_func_$ac_func=no"
9747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9748 echo "$ac_t""yes" 1>&6
9749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9750 cat >> confdefs.h <<EOF
9751 #define $ac_tr_func 1
9755 echo "$ac_t""no" 1>&6
9762 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9763 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9764 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9765 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9766 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9767 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9770 echo "configure:9771: checking for $ac_func" >&5
9771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9772 echo $ac_n "(cached) $ac_c" 1>&6
9774 cat > conftest.$ac_ext <<EOF
9775 #line 9776 "configure"
9776 #include "confdefs.h"
9777 /* System header to define __stub macros and hopefully few prototypes,
9778 which can conflict with char $ac_func(); below. */
9780 /* Override any gcc2 internal prototype to avoid an error. */
9781 /* We use char because int might match the return type of a gcc2
9782 builtin and then its argument prototype would still apply. */
9787 /* The GNU C library defines this for functions which it implements
9788 to always fail with ENOSYS. Some functions are actually named
9789 something starting with __ and the normal name is an alias. */
9790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9798 if { (eval echo configure:9799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9800 eval "ac_cv_func_$ac_func=yes"
9802 echo "configure: failed program was:" >&5
9803 cat conftest.$ac_ext >&5
9805 eval "ac_cv_func_$ac_func=no"
9810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9811 echo "$ac_t""yes" 1>&6
9812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9813 cat >> confdefs.h <<EOF
9814 #define $ac_tr_func 1
9818 echo "$ac_t""no" 1>&6
9825 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9826 echo "configure:9827: checking for ISO C99 wchar_t support" >&5
9827 if test x"$has_weof" = xyes &&
9828 test x"$has_wchar_minmax" = xyes &&
9829 test x"$ac_wfuncs" = xyes; then
9830 ac_isoC99_wchar_t=yes
9832 ac_isoC99_wchar_t=no
9834 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9836 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9837 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9838 echo "configure:9839: checking for iconv.h" >&5
9839 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9840 echo $ac_n "(cached) $ac_c" 1>&6
9842 cat > conftest.$ac_ext <<EOF
9843 #line 9844 "configure"
9844 #include "confdefs.h"
9847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9848 { (eval echo configure:9849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9850 if test -z "$ac_err"; then
9852 eval "ac_cv_header_$ac_safe=yes"
9855 echo "configure: failed program was:" >&5
9856 cat conftest.$ac_ext >&5
9858 eval "ac_cv_header_$ac_safe=no"
9862 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9863 echo "$ac_t""yes" 1>&6
9866 echo "$ac_t""no" 1>&6
9870 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9871 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9872 echo "configure:9873: checking for langinfo.h" >&5
9873 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9874 echo $ac_n "(cached) $ac_c" 1>&6
9876 cat > conftest.$ac_ext <<EOF
9877 #line 9878 "configure"
9878 #include "confdefs.h"
9879 #include <langinfo.h>
9881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9882 { (eval echo configure:9883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9884 if test -z "$ac_err"; then
9886 eval "ac_cv_header_$ac_safe=yes"
9889 echo "configure: failed program was:" >&5
9890 cat conftest.$ac_ext >&5
9892 eval "ac_cv_header_$ac_safe=no"
9896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9897 echo "$ac_t""yes" 1>&6
9898 ac_has_langinfo_h=yes
9900 echo "$ac_t""no" 1>&6
9901 ac_has_langinfo_h=no
9905 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9906 echo "configure:9907: checking for iconv in -liconv" >&5
9907 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9908 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9909 echo $ac_n "(cached) $ac_c" 1>&6
9911 ac_save_LIBS="$LIBS"
9912 LIBS="-liconv $LIBS"
9913 cat > conftest.$ac_ext <<EOF
9914 #line 9915 "configure"
9915 #include "confdefs.h"
9916 /* Override any gcc2 internal prototype to avoid an error. */
9917 /* We use char because int might match the return type of a gcc2
9918 builtin and then its argument prototype would still apply. */
9925 if { (eval echo configure:9926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9927 eval "ac_cv_lib_$ac_lib_var=yes"
9929 echo "configure: failed program was:" >&5
9930 cat conftest.$ac_ext >&5
9932 eval "ac_cv_lib_$ac_lib_var=no"
9935 LIBS="$ac_save_LIBS"
9938 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9939 echo "$ac_t""yes" 1>&6
9942 echo "$ac_t""no" 1>&6
9945 ac_save_LIBS="$LIBS"
9946 LIBS="$LIBS $libiconv"
9948 for ac_func in iconv_open iconv_close iconv nl_langinfo
9950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9951 echo "configure:9952: checking for $ac_func" >&5
9952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9953 echo $ac_n "(cached) $ac_c" 1>&6
9955 cat > conftest.$ac_ext <<EOF
9956 #line 9957 "configure"
9957 #include "confdefs.h"
9958 /* System header to define __stub macros and hopefully few prototypes,
9959 which can conflict with char $ac_func(); below. */
9961 /* Override any gcc2 internal prototype to avoid an error. */
9962 /* We use char because int might match the return type of a gcc2
9963 builtin and then its argument prototype would still apply. */
9968 /* The GNU C library defines this for functions which it implements
9969 to always fail with ENOSYS. Some functions are actually named
9970 something starting with __ and the normal name is an alias. */
9971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9979 if { (eval echo configure:9980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9981 eval "ac_cv_func_$ac_func=yes"
9983 echo "configure: failed program was:" >&5
9984 cat conftest.$ac_ext >&5
9986 eval "ac_cv_func_$ac_func=no"
9991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9992 echo "$ac_t""yes" 1>&6
9993 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9994 cat >> confdefs.h <<EOF
9995 #define $ac_tr_func 1
10000 echo "$ac_t""no" 1>&6
10006 LIBS="$ac_save_LIBS"
10008 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
10009 echo "configure:10010: checking for XPG2 wchar_t support" >&5
10010 if test x"$ac_has_iconv_h" = xyes &&
10011 test x"$ac_has_langinfo_h" = xyes &&
10012 test x"$ac_XPG2funcs" = xyes; then
10013 ac_XPG2_wchar_t=yes
10017 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10019 if test x"$ac_isoC99_wchar_t" = xyes &&
10020 test x"$ac_XPG2_wchar_t" = xyes; then
10021 cat >> confdefs.h <<\EOF
10022 #define _GLIBCPP_USE_WCHAR_T 1
10028 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
10029 echo "configure:10030: checking for enabled wchar_t specializations" >&5
10030 echo "$ac_t""$enable_wchar_t" 1>&6
10032 cat >> confdefs.h <<\EOF
10033 #define HAVE_COSF 1
10036 cat >> confdefs.h <<\EOF
10037 #define HAVE_COSL 1
10040 cat >> confdefs.h <<\EOF
10041 #define HAVE_COSHF 1
10044 cat >> confdefs.h <<\EOF
10045 #define HAVE_COSHL 1
10048 cat >> confdefs.h <<\EOF
10049 #define HAVE_LOGF 1
10052 cat >> confdefs.h <<\EOF
10053 #define HAVE_LOGL 1
10056 cat >> confdefs.h <<\EOF
10057 #define HAVE_LOG10F 1
10060 cat >> confdefs.h <<\EOF
10061 #define HAVE_LOG10L 1
10064 cat >> confdefs.h <<\EOF
10065 #define HAVE_SINF 1
10068 cat >> confdefs.h <<\EOF
10069 #define HAVE_SINL 1
10072 cat >> confdefs.h <<\EOF
10073 #define HAVE_SINHF 1
10076 cat >> confdefs.h <<\EOF
10077 #define HAVE_SINHL 1
10084 os_include_dir="os/solaris/solaris2.5"
10087 os_include_dir="os/solaris/solaris2.6"
10089 *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
10090 os_include_dir="os/solaris/solaris2.7"
10093 cat >> confdefs.h <<\EOF
10094 #define HAVE_STRTOF 1
10097 cat >> confdefs.h <<\EOF
10098 #define HAVE_STRTOLD 1
10101 cat >> confdefs.h <<\EOF
10102 #define HAVE_MMAP 1
10105 cat >> confdefs.h <<\EOF
10106 #define HAVE_COPYSIGN 1
10109 cat >> confdefs.h <<\EOF
10110 #define HAVE_ISNAN 1
10113 cat >> confdefs.h <<\EOF
10114 #define HAVE_ISNANF 1
10117 cat >> confdefs.h <<\EOF
10118 #define HAVE_MODFF 1
10121 cat >> confdefs.h <<\EOF
10122 #define HAVE_HYPOT 1
10127 os_include_dir="os/windiss"
10128 cat >> confdefs.h <<\EOF
10129 #define HAVE_ACOSF 1
10132 cat >> confdefs.h <<\EOF
10133 #define HAVE_ASINF 1
10136 cat >> confdefs.h <<\EOF
10137 #define HAVE_ATAN2F 1
10140 cat >> confdefs.h <<\EOF
10141 #define HAVE_ATANF 1
10144 cat >> confdefs.h <<\EOF
10145 #define HAVE_CEILF 1
10148 cat >> confdefs.h <<\EOF
10149 #define HAVE_COPYSIGN 1
10152 cat >> confdefs.h <<\EOF
10153 #define HAVE_COPYSIGNF 1
10156 cat >> confdefs.h <<\EOF
10157 #define HAVE_COSF 1
10160 cat >> confdefs.h <<\EOF
10161 #define HAVE_COSHF 1
10164 cat >> confdefs.h <<\EOF
10165 #define HAVE_EXPF 1
10168 cat >> confdefs.h <<\EOF
10169 #define HAVE_FABSF 1
10172 cat >> confdefs.h <<\EOF
10173 #define HAVE_FLOORF 1
10176 cat >> confdefs.h <<\EOF
10177 #define HAVE_FMODF 1
10180 cat >> confdefs.h <<\EOF
10181 #define HAVE_FREXPF 1
10184 cat >> confdefs.h <<\EOF
10185 #define HAVE_LDEXPF 1
10188 cat >> confdefs.h <<\EOF
10189 #define HAVE_LOG10F 1
10192 cat >> confdefs.h <<\EOF
10193 #define HAVE_LOGF 1
10196 cat >> confdefs.h <<\EOF
10197 #define HAVE_MODFF 1
10200 cat >> confdefs.h <<\EOF
10201 #define HAVE_POWF 1
10204 cat >> confdefs.h <<\EOF
10205 #define HAVE_SINF 1
10208 cat >> confdefs.h <<\EOF
10209 #define HAVE_SINHF 1
10212 cat >> confdefs.h <<\EOF
10213 #define HAVE_SQRTF 1
10216 cat >> confdefs.h <<\EOF
10217 #define HAVE_TANF 1
10220 cat >> confdefs.h <<\EOF
10221 #define HAVE_TANHF 1
10226 if test "x${with_newlib}" = "xyes"; then
10227 os_include_dir="os/newlib"
10228 cat >> confdefs.h <<\EOF
10229 #define HAVE_HYPOT 1
10233 # GLIBCPP_CHECK_STDLIB_SUPPORT
10234 cat >> confdefs.h <<\EOF
10235 #define HAVE_STRTOF 1
10238 cat >> confdefs.h <<\EOF
10239 #define HAVE_STRTOLD 1
10243 cat >> confdefs.h <<\EOF
10244 #define HAVE_MMAP 1
10248 cat >> confdefs.h <<\EOF
10249 #define HAVE_ACOSF 1
10252 cat >> confdefs.h <<\EOF
10253 #define HAVE_ASINF 1
10256 cat >> confdefs.h <<\EOF
10257 #define HAVE_ATAN2F 1
10260 cat >> confdefs.h <<\EOF
10261 #define HAVE_ATANF 1
10264 cat >> confdefs.h <<\EOF
10265 #define HAVE_CEILF 1
10268 cat >> confdefs.h <<\EOF
10269 #define HAVE_COPYSIGN 1
10272 cat >> confdefs.h <<\EOF
10273 #define HAVE_COPYSIGNF 1
10276 cat >> confdefs.h <<\EOF
10277 #define HAVE_COSF 1
10280 cat >> confdefs.h <<\EOF
10281 #define HAVE_COSHF 1
10284 cat >> confdefs.h <<\EOF
10285 #define HAVE_EXPF 1
10288 cat >> confdefs.h <<\EOF
10289 #define HAVE_FABSF 1
10292 cat >> confdefs.h <<\EOF
10293 #define HAVE_FLOORF 1
10296 cat >> confdefs.h <<\EOF
10297 #define HAVE_FMODF 1
10300 cat >> confdefs.h <<\EOF
10301 #define HAVE_FREXPF 1
10304 cat >> confdefs.h <<\EOF
10305 #define HAVE_LDEXPF 1
10308 cat >> confdefs.h <<\EOF
10309 #define HAVE_LOG10F 1
10312 cat >> confdefs.h <<\EOF
10313 #define HAVE_LOGF 1
10316 cat >> confdefs.h <<\EOF
10317 #define HAVE_MODFF 1
10320 cat >> confdefs.h <<\EOF
10321 #define HAVE_POWF 1
10324 cat >> confdefs.h <<\EOF
10325 #define HAVE_SINF 1
10328 cat >> confdefs.h <<\EOF
10329 #define HAVE_SINHF 1
10332 cat >> confdefs.h <<\EOF
10333 #define HAVE_SQRTF 1
10336 cat >> confdefs.h <<\EOF
10337 #define HAVE_TANF 1
10340 cat >> confdefs.h <<\EOF
10341 #define HAVE_TANHF 1
10345 { echo "configure: error: No support for this host/target combination." 1>&2; exit 1; }
10350 # At some point, we should differentiate between architectures
10351 # like x86, which have long double versions, and alpha/powerpc/etc.,
10352 # which don't. For the time being, punt.
10353 if test x"long_double_math_on_this_cpu" = x"yes"; then
10354 cat >> confdefs.h <<\EOF
10355 #define HAVE_ACOSL 1
10358 cat >> confdefs.h <<\EOF
10359 #define HAVE_ASINL 1
10362 cat >> confdefs.h <<\EOF
10363 #define HAVE_ATAN2L 1
10366 cat >> confdefs.h <<\EOF
10367 #define HAVE_ATANL 1
10370 cat >> confdefs.h <<\EOF
10371 #define HAVE_CEILL 1
10374 cat >> confdefs.h <<\EOF
10375 #define HAVE_COPYSIGNL 1
10378 cat >> confdefs.h <<\EOF
10379 #define HAVE_COSL 1
10382 cat >> confdefs.h <<\EOF
10383 #define HAVE_COSHL 1
10386 cat >> confdefs.h <<\EOF
10387 #define HAVE_EXPL 1
10390 cat >> confdefs.h <<\EOF
10391 #define HAVE_FABSL 1
10394 cat >> confdefs.h <<\EOF
10395 #define HAVE_FLOORL 1
10398 cat >> confdefs.h <<\EOF
10399 #define HAVE_FMODL 1
10402 cat >> confdefs.h <<\EOF
10403 #define HAVE_FREXPL 1
10406 cat >> confdefs.h <<\EOF
10407 #define HAVE_LDEXPL 1
10410 cat >> confdefs.h <<\EOF
10411 #define HAVE_LOG10L 1
10414 cat >> confdefs.h <<\EOF
10415 #define HAVE_LOGL 1
10418 cat >> confdefs.h <<\EOF
10419 #define HAVE_MODFL 1
10422 cat >> confdefs.h <<\EOF
10423 #define HAVE_POWL 1
10426 cat >> confdefs.h <<\EOF
10427 #define HAVE_SINCOSL 1
10430 cat >> confdefs.h <<\EOF
10431 #define HAVE_SINL 1
10434 cat >> confdefs.h <<\EOF
10435 #define HAVE_SINHL 1
10438 cat >> confdefs.h <<\EOF
10439 #define HAVE_SQRTL 1
10442 cat >> confdefs.h <<\EOF
10443 #define HAVE_TANL 1
10446 cat >> confdefs.h <<\EOF
10447 #define HAVE_TANHL 1
10454 # We are being configured natively. We can do more elaborate tests
10455 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10457 GLIBCPP_IS_CROSS_COMPILING=false
10460 # Check for available headers.
10461 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10462 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10465 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10466 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10467 echo "configure:10468: checking for $ac_hdr" >&5
10468 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10469 echo $ac_n "(cached) $ac_c" 1>&6
10471 cat > conftest.$ac_ext <<EOF
10472 #line 10473 "configure"
10473 #include "confdefs.h"
10476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10477 { (eval echo configure:10478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10479 if test -z "$ac_err"; then
10481 eval "ac_cv_header_$ac_safe=yes"
10484 echo "configure: failed program was:" >&5
10485 cat conftest.$ac_ext >&5
10487 eval "ac_cv_header_$ac_safe=no"
10491 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10492 echo "$ac_t""yes" 1>&6
10493 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10494 cat >> confdefs.h <<EOF
10495 #define $ac_tr_hdr 1
10499 echo "$ac_t""no" 1>&6
10505 # All these tests are for C++; save the language and the compiler flags.
10506 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10507 # found in GLIBCPP_CONFIGURE.
10510 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10511 ac_cpp='$CXXCPP $CPPFLAGS'
10512 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10513 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10514 cross_compiling=$ac_cv_prog_cxx_cross
10516 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10517 ac_save_CXXFLAGS="$CXXFLAGS"
10519 # Check for maintainer-mode bits.
10520 if test x"$USE_MAINTAINER_MODE" = xno; then
10526 # Check for -ffunction-sections -fdata-sections
10527 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10528 echo "configure:10529: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10529 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10530 cat > conftest.$ac_ext <<EOF
10531 #line 10532 "configure"
10532 #include "confdefs.h"
10539 if { (eval echo configure:10540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10543 echo "configure: failed program was:" >&5
10544 cat conftest.$ac_ext >&5
10549 if test "$ac_test_CXXFLAGS" = set; then
10550 CXXFLAGS="$ac_save_CXXFLAGS"
10552 # this is the suspicious part
10555 if test x"$ac_fdsections" = x"yes"; then
10556 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10558 echo "$ac_t""$ac_fdsections" 1>&6
10561 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10562 ac_cpp='$CPP $CPPFLAGS'
10563 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10564 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10565 cross_compiling=$ac_cv_prog_cc_cross
10571 # If we're not using GNU ld, then there's no point in even trying these
10572 # tests. Check for that first. We should have already tested for gld
10573 # by now (in libtool), but require it now just to be safe...
10574 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10575 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10578 # The name set by libtool depends on the version of libtool. Shame on us
10579 # for depending on an impl detail, but c'est la vie. Older versions used
10580 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10581 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10582 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10583 # set (hence we're using an older libtool), then set it.
10584 if test x${with_gnu_ld+set} != xset; then
10585 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10586 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10589 with_gnu_ld=$ac_cv_prog_gnu_ld
10593 # Start by getting the version number. I think the libtool test already
10594 # does some of this, but throws away the result.
10596 ldver=`$LD --version 2>/dev/null | head -1 | \
10597 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10599 glibcpp_gnu_ld_version=`echo $ldver | \
10600 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10602 # Set --gc-sections.
10603 if test "$with_gnu_ld" = "notbroken"; then
10604 # GNU ld it is! Joy and bunny rabbits!
10606 # All these tests are for C++; save the language and the compiler flags.
10607 # Need to do this so that g++ won't try to link in libstdc++
10608 ac_test_CFLAGS="${CFLAGS+set}"
10609 ac_save_CFLAGS="$CFLAGS"
10610 CFLAGS='-x c++ -Wl,--gc-sections'
10612 # Check for -Wl,--gc-sections
10613 # XXX This test is broken at the moment, as symbols required for
10614 # linking are now in libsupc++ (not built yet.....). In addition,
10615 # this test has cored on solaris in the past. In addition,
10616 # --gc-sections doesn't really work at the moment (keeps on discarding
10617 # used sections, first .eh_frame and now some of the glibc sections for
10618 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10619 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10620 echo "configure:10621: checking for ld that supports -Wl,--gc-sections" >&5
10621 if test "$cross_compiling" = yes; then
10622 ac_sectionLDflags=yes
10624 cat > conftest.$ac_ext <<EOF
10625 #line 10626 "configure"
10626 #include "confdefs.h"
10636 if { (eval echo configure:10637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10638 ac_sectionLDflags=yes
10640 echo "configure: failed program was:" >&5
10641 cat conftest.$ac_ext >&5
10643 ac_sectionLDflags=no
10648 if test "$ac_test_CFLAGS" = set; then
10649 CFLAGS="$ac_save_CFLAGS"
10651 # this is the suspicious part
10654 if test "$ac_sectionLDflags" = "yes"; then
10655 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10657 echo "$ac_t""$ac_sectionLDflags" 1>&6
10660 # Set linker optimization flags.
10661 if test x"$with_gnu_ld" = x"yes"; then
10662 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10669 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10670 ac_save_CXXFLAGS="$CXXFLAGS"
10671 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10673 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10674 echo "configure:10675: checking for sin in -lm" >&5
10675 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10676 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10677 echo $ac_n "(cached) $ac_c" 1>&6
10679 ac_save_LIBS="$LIBS"
10681 cat > conftest.$ac_ext <<EOF
10682 #line 10683 "configure"
10683 #include "confdefs.h"
10684 /* Override any gcc2 internal prototype to avoid an error. */
10685 /* We use char because int might match the return type of a gcc2
10686 builtin and then its argument prototype would still apply. */
10693 if { (eval echo configure:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10695 eval "ac_cv_lib_$ac_lib_var=yes"
10697 echo "configure: failed program was:" >&5
10698 cat conftest.$ac_ext >&5
10700 eval "ac_cv_lib_$ac_lib_var=no"
10703 LIBS="$ac_save_LIBS"
10706 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10707 echo "$ac_t""yes" 1>&6
10710 echo "$ac_t""no" 1>&6
10713 ac_save_LIBS="$LIBS"
10718 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10719 echo "configure:10720: checking for isinf declaration" >&5
10720 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10721 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10722 echo $ac_n "(cached) $ac_c" 1>&6
10727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10728 ac_cpp='$CXXCPP $CPPFLAGS'
10729 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10730 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10731 cross_compiling=$ac_cv_prog_cxx_cross
10733 cat > conftest.$ac_ext <<EOF
10734 #line 10735 "configure"
10735 #include "confdefs.h"
10737 #ifdef HAVE_IEEEFP_H
10738 #include <ieeefp.h>
10745 if { (eval echo configure:10746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10747 glibcpp_cv_func_isinf_use=yes
10749 echo "configure: failed program was:" >&5
10750 cat conftest.$ac_ext >&5
10752 glibcpp_cv_func_isinf_use=no
10756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10757 ac_cpp='$CPP $CPPFLAGS'
10758 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10759 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10760 cross_compiling=$ac_cv_prog_cc_cross
10766 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10768 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10769 for ac_func in isinf
10771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10772 echo "configure:10773: checking for $ac_func" >&5
10773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10774 echo $ac_n "(cached) $ac_c" 1>&6
10776 cat > conftest.$ac_ext <<EOF
10777 #line 10778 "configure"
10778 #include "confdefs.h"
10779 /* System header to define __stub macros and hopefully few prototypes,
10780 which can conflict with char $ac_func(); below. */
10781 #include <assert.h>
10782 /* Override any gcc2 internal prototype to avoid an error. */
10783 /* We use char because int might match the return type of a gcc2
10784 builtin and then its argument prototype would still apply. */
10789 /* The GNU C library defines this for functions which it implements
10790 to always fail with ENOSYS. Some functions are actually named
10791 something starting with __ and the normal name is an alias. */
10792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10800 if { (eval echo configure:10801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10802 eval "ac_cv_func_$ac_func=yes"
10804 echo "configure: failed program was:" >&5
10805 cat conftest.$ac_ext >&5
10807 eval "ac_cv_func_$ac_func=no"
10812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10813 echo "$ac_t""yes" 1>&6
10814 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10815 cat >> confdefs.h <<EOF
10816 #define $ac_tr_func 1
10820 echo "$ac_t""no" 1>&6
10826 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10827 echo "configure:10828: checking for _isinf declaration" >&5
10828 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10829 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10830 echo $ac_n "(cached) $ac_c" 1>&6
10835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10836 ac_cpp='$CXXCPP $CPPFLAGS'
10837 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10838 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10839 cross_compiling=$ac_cv_prog_cxx_cross
10841 cat > conftest.$ac_ext <<EOF
10842 #line 10843 "configure"
10843 #include "confdefs.h"
10845 #ifdef HAVE_IEEEFP_H
10846 #include <ieeefp.h>
10853 if { (eval echo configure:10854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10855 glibcpp_cv_func__isinf_use=yes
10857 echo "configure: failed program was:" >&5
10858 cat conftest.$ac_ext >&5
10860 glibcpp_cv_func__isinf_use=no
10864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10865 ac_cpp='$CPP $CPPFLAGS'
10866 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10867 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10868 cross_compiling=$ac_cv_prog_cc_cross
10874 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10876 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10877 for ac_func in _isinf
10879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10880 echo "configure:10881: checking for $ac_func" >&5
10881 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10882 echo $ac_n "(cached) $ac_c" 1>&6
10884 cat > conftest.$ac_ext <<EOF
10885 #line 10886 "configure"
10886 #include "confdefs.h"
10887 /* System header to define __stub macros and hopefully few prototypes,
10888 which can conflict with char $ac_func(); below. */
10889 #include <assert.h>
10890 /* Override any gcc2 internal prototype to avoid an error. */
10891 /* We use char because int might match the return type of a gcc2
10892 builtin and then its argument prototype would still apply. */
10897 /* The GNU C library defines this for functions which it implements
10898 to always fail with ENOSYS. Some functions are actually named
10899 something starting with __ and the normal name is an alias. */
10900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10908 if { (eval echo configure:10909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10910 eval "ac_cv_func_$ac_func=yes"
10912 echo "configure: failed program was:" >&5
10913 cat conftest.$ac_ext >&5
10915 eval "ac_cv_func_$ac_func=no"
10920 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10921 echo "$ac_t""yes" 1>&6
10922 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10923 cat >> confdefs.h <<EOF
10924 #define $ac_tr_func 1
10928 echo "$ac_t""no" 1>&6
10937 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10938 echo "configure:10939: checking for isnan declaration" >&5
10939 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10940 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10941 echo $ac_n "(cached) $ac_c" 1>&6
10946 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10947 ac_cpp='$CXXCPP $CPPFLAGS'
10948 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10949 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10950 cross_compiling=$ac_cv_prog_cxx_cross
10952 cat > conftest.$ac_ext <<EOF
10953 #line 10954 "configure"
10954 #include "confdefs.h"
10956 #ifdef HAVE_IEEEFP_H
10957 #include <ieeefp.h>
10964 if { (eval echo configure:10965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10966 glibcpp_cv_func_isnan_use=yes
10968 echo "configure: failed program was:" >&5
10969 cat conftest.$ac_ext >&5
10971 glibcpp_cv_func_isnan_use=no
10975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10976 ac_cpp='$CPP $CPPFLAGS'
10977 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10978 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10979 cross_compiling=$ac_cv_prog_cc_cross
10985 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10987 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10988 for ac_func in isnan
10990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10991 echo "configure:10992: checking for $ac_func" >&5
10992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10993 echo $ac_n "(cached) $ac_c" 1>&6
10995 cat > conftest.$ac_ext <<EOF
10996 #line 10997 "configure"
10997 #include "confdefs.h"
10998 /* System header to define __stub macros and hopefully few prototypes,
10999 which can conflict with char $ac_func(); below. */
11000 #include <assert.h>
11001 /* Override any gcc2 internal prototype to avoid an error. */
11002 /* We use char because int might match the return type of a gcc2
11003 builtin and then its argument prototype would still apply. */
11008 /* The GNU C library defines this for functions which it implements
11009 to always fail with ENOSYS. Some functions are actually named
11010 something starting with __ and the normal name is an alias. */
11011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11019 if { (eval echo configure:11020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11021 eval "ac_cv_func_$ac_func=yes"
11023 echo "configure: failed program was:" >&5
11024 cat conftest.$ac_ext >&5
11026 eval "ac_cv_func_$ac_func=no"
11031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11032 echo "$ac_t""yes" 1>&6
11033 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11034 cat >> confdefs.h <<EOF
11035 #define $ac_tr_func 1
11039 echo "$ac_t""no" 1>&6
11045 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11046 echo "configure:11047: checking for _isnan declaration" >&5
11047 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11048 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11049 echo $ac_n "(cached) $ac_c" 1>&6
11054 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11055 ac_cpp='$CXXCPP $CPPFLAGS'
11056 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11057 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11058 cross_compiling=$ac_cv_prog_cxx_cross
11060 cat > conftest.$ac_ext <<EOF
11061 #line 11062 "configure"
11062 #include "confdefs.h"
11064 #ifdef HAVE_IEEEFP_H
11065 #include <ieeefp.h>
11072 if { (eval echo configure:11073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11074 glibcpp_cv_func__isnan_use=yes
11076 echo "configure: failed program was:" >&5
11077 cat conftest.$ac_ext >&5
11079 glibcpp_cv_func__isnan_use=no
11083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11084 ac_cpp='$CPP $CPPFLAGS'
11085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11087 cross_compiling=$ac_cv_prog_cc_cross
11093 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11095 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11096 for ac_func in _isnan
11098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11099 echo "configure:11100: checking for $ac_func" >&5
11100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11101 echo $ac_n "(cached) $ac_c" 1>&6
11103 cat > conftest.$ac_ext <<EOF
11104 #line 11105 "configure"
11105 #include "confdefs.h"
11106 /* System header to define __stub macros and hopefully few prototypes,
11107 which can conflict with char $ac_func(); below. */
11108 #include <assert.h>
11109 /* Override any gcc2 internal prototype to avoid an error. */
11110 /* We use char because int might match the return type of a gcc2
11111 builtin and then its argument prototype would still apply. */
11116 /* The GNU C library defines this for functions which it implements
11117 to always fail with ENOSYS. Some functions are actually named
11118 something starting with __ and the normal name is an alias. */
11119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11127 if { (eval echo configure:11128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11129 eval "ac_cv_func_$ac_func=yes"
11131 echo "configure: failed program was:" >&5
11132 cat conftest.$ac_ext >&5
11134 eval "ac_cv_func_$ac_func=no"
11139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11140 echo "$ac_t""yes" 1>&6
11141 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11142 cat >> confdefs.h <<EOF
11143 #define $ac_tr_func 1
11147 echo "$ac_t""no" 1>&6
11156 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11157 echo "configure:11158: checking for finite declaration" >&5
11158 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11159 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11160 echo $ac_n "(cached) $ac_c" 1>&6
11165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11166 ac_cpp='$CXXCPP $CPPFLAGS'
11167 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11168 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11169 cross_compiling=$ac_cv_prog_cxx_cross
11171 cat > conftest.$ac_ext <<EOF
11172 #line 11173 "configure"
11173 #include "confdefs.h"
11175 #ifdef HAVE_IEEEFP_H
11176 #include <ieeefp.h>
11183 if { (eval echo configure:11184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11185 glibcpp_cv_func_finite_use=yes
11187 echo "configure: failed program was:" >&5
11188 cat conftest.$ac_ext >&5
11190 glibcpp_cv_func_finite_use=no
11194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11195 ac_cpp='$CPP $CPPFLAGS'
11196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11198 cross_compiling=$ac_cv_prog_cc_cross
11204 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11206 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11207 for ac_func in finite
11209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11210 echo "configure:11211: checking for $ac_func" >&5
11211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11212 echo $ac_n "(cached) $ac_c" 1>&6
11214 cat > conftest.$ac_ext <<EOF
11215 #line 11216 "configure"
11216 #include "confdefs.h"
11217 /* System header to define __stub macros and hopefully few prototypes,
11218 which can conflict with char $ac_func(); below. */
11219 #include <assert.h>
11220 /* Override any gcc2 internal prototype to avoid an error. */
11221 /* We use char because int might match the return type of a gcc2
11222 builtin and then its argument prototype would still apply. */
11227 /* The GNU C library defines this for functions which it implements
11228 to always fail with ENOSYS. Some functions are actually named
11229 something starting with __ and the normal name is an alias. */
11230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11238 if { (eval echo configure:11239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11240 eval "ac_cv_func_$ac_func=yes"
11242 echo "configure: failed program was:" >&5
11243 cat conftest.$ac_ext >&5
11245 eval "ac_cv_func_$ac_func=no"
11250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11251 echo "$ac_t""yes" 1>&6
11252 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11253 cat >> confdefs.h <<EOF
11254 #define $ac_tr_func 1
11258 echo "$ac_t""no" 1>&6
11264 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11265 echo "configure:11266: checking for _finite declaration" >&5
11266 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11267 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11268 echo $ac_n "(cached) $ac_c" 1>&6
11273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11274 ac_cpp='$CXXCPP $CPPFLAGS'
11275 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11276 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11277 cross_compiling=$ac_cv_prog_cxx_cross
11279 cat > conftest.$ac_ext <<EOF
11280 #line 11281 "configure"
11281 #include "confdefs.h"
11283 #ifdef HAVE_IEEEFP_H
11284 #include <ieeefp.h>
11291 if { (eval echo configure:11292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11293 glibcpp_cv_func__finite_use=yes
11295 echo "configure: failed program was:" >&5
11296 cat conftest.$ac_ext >&5
11298 glibcpp_cv_func__finite_use=no
11302 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11303 ac_cpp='$CPP $CPPFLAGS'
11304 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11305 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11306 cross_compiling=$ac_cv_prog_cc_cross
11312 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11314 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11315 for ac_func in _finite
11317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11318 echo "configure:11319: checking for $ac_func" >&5
11319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11320 echo $ac_n "(cached) $ac_c" 1>&6
11322 cat > conftest.$ac_ext <<EOF
11323 #line 11324 "configure"
11324 #include "confdefs.h"
11325 /* System header to define __stub macros and hopefully few prototypes,
11326 which can conflict with char $ac_func(); below. */
11327 #include <assert.h>
11328 /* Override any gcc2 internal prototype to avoid an error. */
11329 /* We use char because int might match the return type of a gcc2
11330 builtin and then its argument prototype would still apply. */
11335 /* The GNU C library defines this for functions which it implements
11336 to always fail with ENOSYS. Some functions are actually named
11337 something starting with __ and the normal name is an alias. */
11338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11346 if { (eval echo configure:11347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11348 eval "ac_cv_func_$ac_func=yes"
11350 echo "configure: failed program was:" >&5
11351 cat conftest.$ac_ext >&5
11353 eval "ac_cv_func_$ac_func=no"
11358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11359 echo "$ac_t""yes" 1>&6
11360 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11361 cat >> confdefs.h <<EOF
11362 #define $ac_tr_func 1
11366 echo "$ac_t""no" 1>&6
11375 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11376 echo "configure:11377: checking for copysign declaration" >&5
11377 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11378 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11379 echo $ac_n "(cached) $ac_c" 1>&6
11384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11385 ac_cpp='$CXXCPP $CPPFLAGS'
11386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11388 cross_compiling=$ac_cv_prog_cxx_cross
11390 cat > conftest.$ac_ext <<EOF
11391 #line 11392 "configure"
11392 #include "confdefs.h"
11398 if { (eval echo configure:11399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11400 glibcpp_cv_func_copysign_use=yes
11402 echo "configure: failed program was:" >&5
11403 cat conftest.$ac_ext >&5
11405 glibcpp_cv_func_copysign_use=no
11409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11410 ac_cpp='$CPP $CPPFLAGS'
11411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11413 cross_compiling=$ac_cv_prog_cc_cross
11419 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11421 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11422 for ac_func in copysign
11424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11425 echo "configure:11426: checking for $ac_func" >&5
11426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11427 echo $ac_n "(cached) $ac_c" 1>&6
11429 cat > conftest.$ac_ext <<EOF
11430 #line 11431 "configure"
11431 #include "confdefs.h"
11432 /* System header to define __stub macros and hopefully few prototypes,
11433 which can conflict with char $ac_func(); below. */
11434 #include <assert.h>
11435 /* Override any gcc2 internal prototype to avoid an error. */
11436 /* We use char because int might match the return type of a gcc2
11437 builtin and then its argument prototype would still apply. */
11442 /* The GNU C library defines this for functions which it implements
11443 to always fail with ENOSYS. Some functions are actually named
11444 something starting with __ and the normal name is an alias. */
11445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11453 if { (eval echo configure:11454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11455 eval "ac_cv_func_$ac_func=yes"
11457 echo "configure: failed program was:" >&5
11458 cat conftest.$ac_ext >&5
11460 eval "ac_cv_func_$ac_func=no"
11465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11466 echo "$ac_t""yes" 1>&6
11467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11468 cat >> confdefs.h <<EOF
11469 #define $ac_tr_func 1
11473 echo "$ac_t""no" 1>&6
11479 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11480 echo "configure:11481: checking for _copysign declaration" >&5
11481 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11482 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11483 echo $ac_n "(cached) $ac_c" 1>&6
11488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11489 ac_cpp='$CXXCPP $CPPFLAGS'
11490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11492 cross_compiling=$ac_cv_prog_cxx_cross
11494 cat > conftest.$ac_ext <<EOF
11495 #line 11496 "configure"
11496 #include "confdefs.h"
11502 if { (eval echo configure:11503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11504 glibcpp_cv_func__copysign_use=yes
11506 echo "configure: failed program was:" >&5
11507 cat conftest.$ac_ext >&5
11509 glibcpp_cv_func__copysign_use=no
11513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11514 ac_cpp='$CPP $CPPFLAGS'
11515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11517 cross_compiling=$ac_cv_prog_cc_cross
11523 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11525 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11526 for ac_func in _copysign
11528 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11529 echo "configure:11530: checking for $ac_func" >&5
11530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11531 echo $ac_n "(cached) $ac_c" 1>&6
11533 cat > conftest.$ac_ext <<EOF
11534 #line 11535 "configure"
11535 #include "confdefs.h"
11536 /* System header to define __stub macros and hopefully few prototypes,
11537 which can conflict with char $ac_func(); below. */
11538 #include <assert.h>
11539 /* Override any gcc2 internal prototype to avoid an error. */
11540 /* We use char because int might match the return type of a gcc2
11541 builtin and then its argument prototype would still apply. */
11546 /* The GNU C library defines this for functions which it implements
11547 to always fail with ENOSYS. Some functions are actually named
11548 something starting with __ and the normal name is an alias. */
11549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11557 if { (eval echo configure:11558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11559 eval "ac_cv_func_$ac_func=yes"
11561 echo "configure: failed program was:" >&5
11562 cat conftest.$ac_ext >&5
11564 eval "ac_cv_func_$ac_func=no"
11569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11570 echo "$ac_t""yes" 1>&6
11571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11572 cat >> confdefs.h <<EOF
11573 #define $ac_tr_func 1
11577 echo "$ac_t""no" 1>&6
11586 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11587 echo "configure:11588: checking for sincos declaration" >&5
11588 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11589 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11590 echo $ac_n "(cached) $ac_c" 1>&6
11595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11596 ac_cpp='$CXXCPP $CPPFLAGS'
11597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11599 cross_compiling=$ac_cv_prog_cxx_cross
11601 cat > conftest.$ac_ext <<EOF
11602 #line 11603 "configure"
11603 #include "confdefs.h"
11609 if { (eval echo configure:11610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11611 glibcpp_cv_func_sincos_use=yes
11613 echo "configure: failed program was:" >&5
11614 cat conftest.$ac_ext >&5
11616 glibcpp_cv_func_sincos_use=no
11620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11621 ac_cpp='$CPP $CPPFLAGS'
11622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11624 cross_compiling=$ac_cv_prog_cc_cross
11630 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11632 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11633 for ac_func in sincos
11635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11636 echo "configure:11637: checking for $ac_func" >&5
11637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11638 echo $ac_n "(cached) $ac_c" 1>&6
11640 cat > conftest.$ac_ext <<EOF
11641 #line 11642 "configure"
11642 #include "confdefs.h"
11643 /* System header to define __stub macros and hopefully few prototypes,
11644 which can conflict with char $ac_func(); below. */
11645 #include <assert.h>
11646 /* Override any gcc2 internal prototype to avoid an error. */
11647 /* We use char because int might match the return type of a gcc2
11648 builtin and then its argument prototype would still apply. */
11653 /* The GNU C library defines this for functions which it implements
11654 to always fail with ENOSYS. Some functions are actually named
11655 something starting with __ and the normal name is an alias. */
11656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11664 if { (eval echo configure:11665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11666 eval "ac_cv_func_$ac_func=yes"
11668 echo "configure: failed program was:" >&5
11669 cat conftest.$ac_ext >&5
11671 eval "ac_cv_func_$ac_func=no"
11676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11677 echo "$ac_t""yes" 1>&6
11678 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11679 cat >> confdefs.h <<EOF
11680 #define $ac_tr_func 1
11684 echo "$ac_t""no" 1>&6
11690 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11691 echo "configure:11692: checking for _sincos declaration" >&5
11692 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11693 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11694 echo $ac_n "(cached) $ac_c" 1>&6
11699 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11700 ac_cpp='$CXXCPP $CPPFLAGS'
11701 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11702 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11703 cross_compiling=$ac_cv_prog_cxx_cross
11705 cat > conftest.$ac_ext <<EOF
11706 #line 11707 "configure"
11707 #include "confdefs.h"
11713 if { (eval echo configure:11714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11715 glibcpp_cv_func__sincos_use=yes
11717 echo "configure: failed program was:" >&5
11718 cat conftest.$ac_ext >&5
11720 glibcpp_cv_func__sincos_use=no
11724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11725 ac_cpp='$CPP $CPPFLAGS'
11726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11728 cross_compiling=$ac_cv_prog_cc_cross
11734 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11736 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11737 for ac_func in _sincos
11739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11740 echo "configure:11741: checking for $ac_func" >&5
11741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11742 echo $ac_n "(cached) $ac_c" 1>&6
11744 cat > conftest.$ac_ext <<EOF
11745 #line 11746 "configure"
11746 #include "confdefs.h"
11747 /* System header to define __stub macros and hopefully few prototypes,
11748 which can conflict with char $ac_func(); below. */
11749 #include <assert.h>
11750 /* Override any gcc2 internal prototype to avoid an error. */
11751 /* We use char because int might match the return type of a gcc2
11752 builtin and then its argument prototype would still apply. */
11757 /* The GNU C library defines this for functions which it implements
11758 to always fail with ENOSYS. Some functions are actually named
11759 something starting with __ and the normal name is an alias. */
11760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11768 if { (eval echo configure:11769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11770 eval "ac_cv_func_$ac_func=yes"
11772 echo "configure: failed program was:" >&5
11773 cat conftest.$ac_ext >&5
11775 eval "ac_cv_func_$ac_func=no"
11780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11781 echo "$ac_t""yes" 1>&6
11782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11783 cat >> confdefs.h <<EOF
11784 #define $ac_tr_func 1
11788 echo "$ac_t""no" 1>&6
11797 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11798 echo "configure:11799: checking for fpclass declaration" >&5
11799 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11800 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11801 echo $ac_n "(cached) $ac_c" 1>&6
11806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11807 ac_cpp='$CXXCPP $CPPFLAGS'
11808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11810 cross_compiling=$ac_cv_prog_cxx_cross
11812 cat > conftest.$ac_ext <<EOF
11813 #line 11814 "configure"
11814 #include "confdefs.h"
11816 #ifdef HAVE_IEEEFP_H
11817 #include <ieeefp.h>
11824 if { (eval echo configure:11825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11826 glibcpp_cv_func_fpclass_use=yes
11828 echo "configure: failed program was:" >&5
11829 cat conftest.$ac_ext >&5
11831 glibcpp_cv_func_fpclass_use=no
11835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11836 ac_cpp='$CPP $CPPFLAGS'
11837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11839 cross_compiling=$ac_cv_prog_cc_cross
11845 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11847 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11848 for ac_func in fpclass
11850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11851 echo "configure:11852: checking for $ac_func" >&5
11852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11853 echo $ac_n "(cached) $ac_c" 1>&6
11855 cat > conftest.$ac_ext <<EOF
11856 #line 11857 "configure"
11857 #include "confdefs.h"
11858 /* System header to define __stub macros and hopefully few prototypes,
11859 which can conflict with char $ac_func(); below. */
11860 #include <assert.h>
11861 /* Override any gcc2 internal prototype to avoid an error. */
11862 /* We use char because int might match the return type of a gcc2
11863 builtin and then its argument prototype would still apply. */
11868 /* The GNU C library defines this for functions which it implements
11869 to always fail with ENOSYS. Some functions are actually named
11870 something starting with __ and the normal name is an alias. */
11871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11879 if { (eval echo configure:11880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11881 eval "ac_cv_func_$ac_func=yes"
11883 echo "configure: failed program was:" >&5
11884 cat conftest.$ac_ext >&5
11886 eval "ac_cv_func_$ac_func=no"
11891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11892 echo "$ac_t""yes" 1>&6
11893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11894 cat >> confdefs.h <<EOF
11895 #define $ac_tr_func 1
11899 echo "$ac_t""no" 1>&6
11905 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11906 echo "configure:11907: checking for _fpclass declaration" >&5
11907 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11908 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11909 echo $ac_n "(cached) $ac_c" 1>&6
11914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11915 ac_cpp='$CXXCPP $CPPFLAGS'
11916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11918 cross_compiling=$ac_cv_prog_cxx_cross
11920 cat > conftest.$ac_ext <<EOF
11921 #line 11922 "configure"
11922 #include "confdefs.h"
11924 #ifdef HAVE_IEEEFP_H
11925 #include <ieeefp.h>
11932 if { (eval echo configure:11933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11934 glibcpp_cv_func__fpclass_use=yes
11936 echo "configure: failed program was:" >&5
11937 cat conftest.$ac_ext >&5
11939 glibcpp_cv_func__fpclass_use=no
11943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11944 ac_cpp='$CPP $CPPFLAGS'
11945 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11946 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11947 cross_compiling=$ac_cv_prog_cc_cross
11953 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11955 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11956 for ac_func in _fpclass
11958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11959 echo "configure:11960: checking for $ac_func" >&5
11960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11961 echo $ac_n "(cached) $ac_c" 1>&6
11963 cat > conftest.$ac_ext <<EOF
11964 #line 11965 "configure"
11965 #include "confdefs.h"
11966 /* System header to define __stub macros and hopefully few prototypes,
11967 which can conflict with char $ac_func(); below. */
11968 #include <assert.h>
11969 /* Override any gcc2 internal prototype to avoid an error. */
11970 /* We use char because int might match the return type of a gcc2
11971 builtin and then its argument prototype would still apply. */
11976 /* The GNU C library defines this for functions which it implements
11977 to always fail with ENOSYS. Some functions are actually named
11978 something starting with __ and the normal name is an alias. */
11979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11987 if { (eval echo configure:11988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11989 eval "ac_cv_func_$ac_func=yes"
11991 echo "configure: failed program was:" >&5
11992 cat conftest.$ac_ext >&5
11994 eval "ac_cv_func_$ac_func=no"
11999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12000 echo "$ac_t""yes" 1>&6
12001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12002 cat >> confdefs.h <<EOF
12003 #define $ac_tr_func 1
12007 echo "$ac_t""no" 1>&6
12016 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12017 echo "configure:12018: checking for qfpclass declaration" >&5
12018 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12019 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12020 echo $ac_n "(cached) $ac_c" 1>&6
12025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12026 ac_cpp='$CXXCPP $CPPFLAGS'
12027 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12028 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12029 cross_compiling=$ac_cv_prog_cxx_cross
12031 cat > conftest.$ac_ext <<EOF
12032 #line 12033 "configure"
12033 #include "confdefs.h"
12035 #ifdef HAVE_IEEEFP_H
12036 #include <ieeefp.h>
12043 if { (eval echo configure:12044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12045 glibcpp_cv_func_qfpclass_use=yes
12047 echo "configure: failed program was:" >&5
12048 cat conftest.$ac_ext >&5
12050 glibcpp_cv_func_qfpclass_use=no
12054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12055 ac_cpp='$CPP $CPPFLAGS'
12056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12058 cross_compiling=$ac_cv_prog_cc_cross
12064 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12066 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12067 for ac_func in qfpclass
12069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12070 echo "configure:12071: checking for $ac_func" >&5
12071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12072 echo $ac_n "(cached) $ac_c" 1>&6
12074 cat > conftest.$ac_ext <<EOF
12075 #line 12076 "configure"
12076 #include "confdefs.h"
12077 /* System header to define __stub macros and hopefully few prototypes,
12078 which can conflict with char $ac_func(); below. */
12079 #include <assert.h>
12080 /* Override any gcc2 internal prototype to avoid an error. */
12081 /* We use char because int might match the return type of a gcc2
12082 builtin and then its argument prototype would still apply. */
12087 /* The GNU C library defines this for functions which it implements
12088 to always fail with ENOSYS. Some functions are actually named
12089 something starting with __ and the normal name is an alias. */
12090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12098 if { (eval echo configure:12099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12100 eval "ac_cv_func_$ac_func=yes"
12102 echo "configure: failed program was:" >&5
12103 cat conftest.$ac_ext >&5
12105 eval "ac_cv_func_$ac_func=no"
12110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12111 echo "$ac_t""yes" 1>&6
12112 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12113 cat >> confdefs.h <<EOF
12114 #define $ac_tr_func 1
12118 echo "$ac_t""no" 1>&6
12124 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12125 echo "configure:12126: checking for _qfpclass declaration" >&5
12126 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12127 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12128 echo $ac_n "(cached) $ac_c" 1>&6
12133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12134 ac_cpp='$CXXCPP $CPPFLAGS'
12135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12137 cross_compiling=$ac_cv_prog_cxx_cross
12139 cat > conftest.$ac_ext <<EOF
12140 #line 12141 "configure"
12141 #include "confdefs.h"
12143 #ifdef HAVE_IEEEFP_H
12144 #include <ieeefp.h>
12151 if { (eval echo configure:12152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12153 glibcpp_cv_func__qfpclass_use=yes
12155 echo "configure: failed program was:" >&5
12156 cat conftest.$ac_ext >&5
12158 glibcpp_cv_func__qfpclass_use=no
12162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12163 ac_cpp='$CPP $CPPFLAGS'
12164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12166 cross_compiling=$ac_cv_prog_cc_cross
12172 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12174 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12175 for ac_func in _qfpclass
12177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12178 echo "configure:12179: checking for $ac_func" >&5
12179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12180 echo $ac_n "(cached) $ac_c" 1>&6
12182 cat > conftest.$ac_ext <<EOF
12183 #line 12184 "configure"
12184 #include "confdefs.h"
12185 /* System header to define __stub macros and hopefully few prototypes,
12186 which can conflict with char $ac_func(); below. */
12187 #include <assert.h>
12188 /* Override any gcc2 internal prototype to avoid an error. */
12189 /* We use char because int might match the return type of a gcc2
12190 builtin and then its argument prototype would still apply. */
12195 /* The GNU C library defines this for functions which it implements
12196 to always fail with ENOSYS. Some functions are actually named
12197 something starting with __ and the normal name is an alias. */
12198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12206 if { (eval echo configure:12207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12208 eval "ac_cv_func_$ac_func=yes"
12210 echo "configure: failed program was:" >&5
12211 cat conftest.$ac_ext >&5
12213 eval "ac_cv_func_$ac_func=no"
12218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12219 echo "$ac_t""yes" 1>&6
12220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12221 cat >> confdefs.h <<EOF
12222 #define $ac_tr_func 1
12226 echo "$ac_t""no" 1>&6
12235 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12236 echo "configure:12237: checking for hypot declaration" >&5
12237 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12238 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12239 echo $ac_n "(cached) $ac_c" 1>&6
12244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12245 ac_cpp='$CXXCPP $CPPFLAGS'
12246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12248 cross_compiling=$ac_cv_prog_cxx_cross
12250 cat > conftest.$ac_ext <<EOF
12251 #line 12252 "configure"
12252 #include "confdefs.h"
12258 if { (eval echo configure:12259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12260 glibcpp_cv_func_hypot_use=yes
12262 echo "configure: failed program was:" >&5
12263 cat conftest.$ac_ext >&5
12265 glibcpp_cv_func_hypot_use=no
12269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12270 ac_cpp='$CPP $CPPFLAGS'
12271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12273 cross_compiling=$ac_cv_prog_cc_cross
12279 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12281 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12282 for ac_func in hypot
12284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12285 echo "configure:12286: checking for $ac_func" >&5
12286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12287 echo $ac_n "(cached) $ac_c" 1>&6
12289 cat > conftest.$ac_ext <<EOF
12290 #line 12291 "configure"
12291 #include "confdefs.h"
12292 /* System header to define __stub macros and hopefully few prototypes,
12293 which can conflict with char $ac_func(); below. */
12294 #include <assert.h>
12295 /* Override any gcc2 internal prototype to avoid an error. */
12296 /* We use char because int might match the return type of a gcc2
12297 builtin and then its argument prototype would still apply. */
12302 /* The GNU C library defines this for functions which it implements
12303 to always fail with ENOSYS. Some functions are actually named
12304 something starting with __ and the normal name is an alias. */
12305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12313 if { (eval echo configure:12314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12315 eval "ac_cv_func_$ac_func=yes"
12317 echo "configure: failed program was:" >&5
12318 cat conftest.$ac_ext >&5
12320 eval "ac_cv_func_$ac_func=no"
12325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12326 echo "$ac_t""yes" 1>&6
12327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12328 cat >> confdefs.h <<EOF
12329 #define $ac_tr_func 1
12333 echo "$ac_t""no" 1>&6
12339 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12340 echo "configure:12341: checking for _hypot declaration" >&5
12341 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12342 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12343 echo $ac_n "(cached) $ac_c" 1>&6
12348 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12349 ac_cpp='$CXXCPP $CPPFLAGS'
12350 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12351 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12352 cross_compiling=$ac_cv_prog_cxx_cross
12354 cat > conftest.$ac_ext <<EOF
12355 #line 12356 "configure"
12356 #include "confdefs.h"
12362 if { (eval echo configure:12363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12364 glibcpp_cv_func__hypot_use=yes
12366 echo "configure: failed program was:" >&5
12367 cat conftest.$ac_ext >&5
12369 glibcpp_cv_func__hypot_use=no
12373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12374 ac_cpp='$CPP $CPPFLAGS'
12375 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12376 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12377 cross_compiling=$ac_cv_prog_cc_cross
12383 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12385 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12386 for ac_func in _hypot
12388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12389 echo "configure:12390: checking for $ac_func" >&5
12390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12391 echo $ac_n "(cached) $ac_c" 1>&6
12393 cat > conftest.$ac_ext <<EOF
12394 #line 12395 "configure"
12395 #include "confdefs.h"
12396 /* System header to define __stub macros and hopefully few prototypes,
12397 which can conflict with char $ac_func(); below. */
12398 #include <assert.h>
12399 /* Override any gcc2 internal prototype to avoid an error. */
12400 /* We use char because int might match the return type of a gcc2
12401 builtin and then its argument prototype would still apply. */
12406 /* The GNU C library defines this for functions which it implements
12407 to always fail with ENOSYS. Some functions are actually named
12408 something starting with __ and the normal name is an alias. */
12409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12417 if { (eval echo configure:12418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12419 eval "ac_cv_func_$ac_func=yes"
12421 echo "configure: failed program was:" >&5
12422 cat conftest.$ac_ext >&5
12424 eval "ac_cv_func_$ac_func=no"
12429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12430 echo "$ac_t""yes" 1>&6
12431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12432 cat >> confdefs.h <<EOF
12433 #define $ac_tr_func 1
12437 echo "$ac_t""no" 1>&6
12446 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12447 echo "configure:12448: checking for float trig functions" >&5
12448 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12449 echo $ac_n "(cached) $ac_c" 1>&6
12454 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12455 ac_cpp='$CXXCPP $CPPFLAGS'
12456 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12457 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12458 cross_compiling=$ac_cv_prog_cxx_cross
12460 cat > conftest.$ac_ext <<EOF
12461 #line 12462 "configure"
12462 #include "confdefs.h"
12465 `for x in acosf asinf atanf \
12467 coshf sinhf tanhf; do echo "$x (0);"; done`
12470 if { (eval echo configure:12471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12472 glibcpp_cv_func_float_trig_use=yes
12474 echo "configure: failed program was:" >&5
12475 cat conftest.$ac_ext >&5
12477 glibcpp_cv_func_float_trig_use=no
12481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12482 ac_cpp='$CPP $CPPFLAGS'
12483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12485 cross_compiling=$ac_cv_prog_cc_cross
12489 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12490 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12491 for ac_func in acosf asinf atanf \
12495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12496 echo "configure:12497: checking for $ac_func" >&5
12497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12498 echo $ac_n "(cached) $ac_c" 1>&6
12500 cat > conftest.$ac_ext <<EOF
12501 #line 12502 "configure"
12502 #include "confdefs.h"
12503 /* System header to define __stub macros and hopefully few prototypes,
12504 which can conflict with char $ac_func(); below. */
12505 #include <assert.h>
12506 /* Override any gcc2 internal prototype to avoid an error. */
12507 /* We use char because int might match the return type of a gcc2
12508 builtin and then its argument prototype would still apply. */
12513 /* The GNU C library defines this for functions which it implements
12514 to always fail with ENOSYS. Some functions are actually named
12515 something starting with __ and the normal name is an alias. */
12516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12524 if { (eval echo configure:12525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12526 eval "ac_cv_func_$ac_func=yes"
12528 echo "configure: failed program was:" >&5
12529 cat conftest.$ac_ext >&5
12531 eval "ac_cv_func_$ac_func=no"
12536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12537 echo "$ac_t""yes" 1>&6
12538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12539 cat >> confdefs.h <<EOF
12540 #define $ac_tr_func 1
12544 echo "$ac_t""no" 1>&6
12551 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12552 echo "configure:12553: checking for float round functions" >&5
12553 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12554 echo $ac_n "(cached) $ac_c" 1>&6
12559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12560 ac_cpp='$CXXCPP $CPPFLAGS'
12561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12563 cross_compiling=$ac_cv_prog_cxx_cross
12565 cat > conftest.$ac_ext <<EOF
12566 #line 12567 "configure"
12567 #include "confdefs.h"
12570 `for x in ceilf floorf; do echo "$x (0);"; done`
12573 if { (eval echo configure:12574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12575 glibcpp_cv_func_float_round_use=yes
12577 echo "configure: failed program was:" >&5
12578 cat conftest.$ac_ext >&5
12580 glibcpp_cv_func_float_round_use=no
12584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12585 ac_cpp='$CPP $CPPFLAGS'
12586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12588 cross_compiling=$ac_cv_prog_cc_cross
12592 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12593 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12594 for ac_func in ceilf floorf
12596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12597 echo "configure:12598: checking for $ac_func" >&5
12598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12599 echo $ac_n "(cached) $ac_c" 1>&6
12601 cat > conftest.$ac_ext <<EOF
12602 #line 12603 "configure"
12603 #include "confdefs.h"
12604 /* System header to define __stub macros and hopefully few prototypes,
12605 which can conflict with char $ac_func(); below. */
12606 #include <assert.h>
12607 /* Override any gcc2 internal prototype to avoid an error. */
12608 /* We use char because int might match the return type of a gcc2
12609 builtin and then its argument prototype would still apply. */
12614 /* The GNU C library defines this for functions which it implements
12615 to always fail with ENOSYS. Some functions are actually named
12616 something starting with __ and the normal name is an alias. */
12617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12625 if { (eval echo configure:12626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12627 eval "ac_cv_func_$ac_func=yes"
12629 echo "configure: failed program was:" >&5
12630 cat conftest.$ac_ext >&5
12632 eval "ac_cv_func_$ac_func=no"
12637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12638 echo "$ac_t""yes" 1>&6
12639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12640 cat >> confdefs.h <<EOF
12641 #define $ac_tr_func 1
12645 echo "$ac_t""no" 1>&6
12653 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12654 echo "configure:12655: checking for expf declaration" >&5
12655 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12656 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12657 echo $ac_n "(cached) $ac_c" 1>&6
12662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12663 ac_cpp='$CXXCPP $CPPFLAGS'
12664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12666 cross_compiling=$ac_cv_prog_cxx_cross
12668 cat > conftest.$ac_ext <<EOF
12669 #line 12670 "configure"
12670 #include "confdefs.h"
12672 #ifdef HAVE_IEEEFP_H
12673 #include <ieeefp.h>
12680 if { (eval echo configure:12681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12682 glibcpp_cv_func_expf_use=yes
12684 echo "configure: failed program was:" >&5
12685 cat conftest.$ac_ext >&5
12687 glibcpp_cv_func_expf_use=no
12691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12692 ac_cpp='$CPP $CPPFLAGS'
12693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12695 cross_compiling=$ac_cv_prog_cc_cross
12701 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12703 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12704 for ac_func in expf
12706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12707 echo "configure:12708: checking for $ac_func" >&5
12708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12709 echo $ac_n "(cached) $ac_c" 1>&6
12711 cat > conftest.$ac_ext <<EOF
12712 #line 12713 "configure"
12713 #include "confdefs.h"
12714 /* System header to define __stub macros and hopefully few prototypes,
12715 which can conflict with char $ac_func(); below. */
12716 #include <assert.h>
12717 /* Override any gcc2 internal prototype to avoid an error. */
12718 /* We use char because int might match the return type of a gcc2
12719 builtin and then its argument prototype would still apply. */
12724 /* The GNU C library defines this for functions which it implements
12725 to always fail with ENOSYS. Some functions are actually named
12726 something starting with __ and the normal name is an alias. */
12727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12735 if { (eval echo configure:12736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12737 eval "ac_cv_func_$ac_func=yes"
12739 echo "configure: failed program was:" >&5
12740 cat conftest.$ac_ext >&5
12742 eval "ac_cv_func_$ac_func=no"
12747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12748 echo "$ac_t""yes" 1>&6
12749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12750 cat >> confdefs.h <<EOF
12751 #define $ac_tr_func 1
12755 echo "$ac_t""no" 1>&6
12761 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12762 echo "configure:12763: checking for _expf declaration" >&5
12763 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12764 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12765 echo $ac_n "(cached) $ac_c" 1>&6
12770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12771 ac_cpp='$CXXCPP $CPPFLAGS'
12772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12774 cross_compiling=$ac_cv_prog_cxx_cross
12776 cat > conftest.$ac_ext <<EOF
12777 #line 12778 "configure"
12778 #include "confdefs.h"
12780 #ifdef HAVE_IEEEFP_H
12781 #include <ieeefp.h>
12788 if { (eval echo configure:12789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12790 glibcpp_cv_func__expf_use=yes
12792 echo "configure: failed program was:" >&5
12793 cat conftest.$ac_ext >&5
12795 glibcpp_cv_func__expf_use=no
12799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12800 ac_cpp='$CPP $CPPFLAGS'
12801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12803 cross_compiling=$ac_cv_prog_cc_cross
12809 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12811 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12812 for ac_func in _expf
12814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12815 echo "configure:12816: checking for $ac_func" >&5
12816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12817 echo $ac_n "(cached) $ac_c" 1>&6
12819 cat > conftest.$ac_ext <<EOF
12820 #line 12821 "configure"
12821 #include "confdefs.h"
12822 /* System header to define __stub macros and hopefully few prototypes,
12823 which can conflict with char $ac_func(); below. */
12824 #include <assert.h>
12825 /* Override any gcc2 internal prototype to avoid an error. */
12826 /* We use char because int might match the return type of a gcc2
12827 builtin and then its argument prototype would still apply. */
12832 /* The GNU C library defines this for functions which it implements
12833 to always fail with ENOSYS. Some functions are actually named
12834 something starting with __ and the normal name is an alias. */
12835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12843 if { (eval echo configure:12844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12845 eval "ac_cv_func_$ac_func=yes"
12847 echo "configure: failed program was:" >&5
12848 cat conftest.$ac_ext >&5
12850 eval "ac_cv_func_$ac_func=no"
12855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12856 echo "$ac_t""yes" 1>&6
12857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12858 cat >> confdefs.h <<EOF
12859 #define $ac_tr_func 1
12863 echo "$ac_t""no" 1>&6
12872 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12873 echo "configure:12874: checking for isnanf declaration" >&5
12874 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12875 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12876 echo $ac_n "(cached) $ac_c" 1>&6
12881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12882 ac_cpp='$CXXCPP $CPPFLAGS'
12883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12885 cross_compiling=$ac_cv_prog_cxx_cross
12887 cat > conftest.$ac_ext <<EOF
12888 #line 12889 "configure"
12889 #include "confdefs.h"
12891 #ifdef HAVE_IEEEFP_H
12892 #include <ieeefp.h>
12899 if { (eval echo configure:12900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12901 glibcpp_cv_func_isnanf_use=yes
12903 echo "configure: failed program was:" >&5
12904 cat conftest.$ac_ext >&5
12906 glibcpp_cv_func_isnanf_use=no
12910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12911 ac_cpp='$CPP $CPPFLAGS'
12912 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12913 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12914 cross_compiling=$ac_cv_prog_cc_cross
12920 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12922 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12923 for ac_func in isnanf
12925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12926 echo "configure:12927: checking for $ac_func" >&5
12927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12928 echo $ac_n "(cached) $ac_c" 1>&6
12930 cat > conftest.$ac_ext <<EOF
12931 #line 12932 "configure"
12932 #include "confdefs.h"
12933 /* System header to define __stub macros and hopefully few prototypes,
12934 which can conflict with char $ac_func(); below. */
12935 #include <assert.h>
12936 /* Override any gcc2 internal prototype to avoid an error. */
12937 /* We use char because int might match the return type of a gcc2
12938 builtin and then its argument prototype would still apply. */
12943 /* The GNU C library defines this for functions which it implements
12944 to always fail with ENOSYS. Some functions are actually named
12945 something starting with __ and the normal name is an alias. */
12946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12954 if { (eval echo configure:12955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12956 eval "ac_cv_func_$ac_func=yes"
12958 echo "configure: failed program was:" >&5
12959 cat conftest.$ac_ext >&5
12961 eval "ac_cv_func_$ac_func=no"
12966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12967 echo "$ac_t""yes" 1>&6
12968 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12969 cat >> confdefs.h <<EOF
12970 #define $ac_tr_func 1
12974 echo "$ac_t""no" 1>&6
12980 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12981 echo "configure:12982: checking for _isnanf declaration" >&5
12982 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12983 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12984 echo $ac_n "(cached) $ac_c" 1>&6
12989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12990 ac_cpp='$CXXCPP $CPPFLAGS'
12991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12993 cross_compiling=$ac_cv_prog_cxx_cross
12995 cat > conftest.$ac_ext <<EOF
12996 #line 12997 "configure"
12997 #include "confdefs.h"
12999 #ifdef HAVE_IEEEFP_H
13000 #include <ieeefp.h>
13007 if { (eval echo configure:13008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13009 glibcpp_cv_func__isnanf_use=yes
13011 echo "configure: failed program was:" >&5
13012 cat conftest.$ac_ext >&5
13014 glibcpp_cv_func__isnanf_use=no
13018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13019 ac_cpp='$CPP $CPPFLAGS'
13020 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13021 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13022 cross_compiling=$ac_cv_prog_cc_cross
13028 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13030 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13031 for ac_func in _isnanf
13033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13034 echo "configure:13035: checking for $ac_func" >&5
13035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13036 echo $ac_n "(cached) $ac_c" 1>&6
13038 cat > conftest.$ac_ext <<EOF
13039 #line 13040 "configure"
13040 #include "confdefs.h"
13041 /* System header to define __stub macros and hopefully few prototypes,
13042 which can conflict with char $ac_func(); below. */
13043 #include <assert.h>
13044 /* Override any gcc2 internal prototype to avoid an error. */
13045 /* We use char because int might match the return type of a gcc2
13046 builtin and then its argument prototype would still apply. */
13051 /* The GNU C library defines this for functions which it implements
13052 to always fail with ENOSYS. Some functions are actually named
13053 something starting with __ and the normal name is an alias. */
13054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13062 if { (eval echo configure:13063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13064 eval "ac_cv_func_$ac_func=yes"
13066 echo "configure: failed program was:" >&5
13067 cat conftest.$ac_ext >&5
13069 eval "ac_cv_func_$ac_func=no"
13074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13075 echo "$ac_t""yes" 1>&6
13076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13077 cat >> confdefs.h <<EOF
13078 #define $ac_tr_func 1
13082 echo "$ac_t""no" 1>&6
13091 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13092 echo "configure:13093: checking for isinff declaration" >&5
13093 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13094 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13095 echo $ac_n "(cached) $ac_c" 1>&6
13100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13101 ac_cpp='$CXXCPP $CPPFLAGS'
13102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13104 cross_compiling=$ac_cv_prog_cxx_cross
13106 cat > conftest.$ac_ext <<EOF
13107 #line 13108 "configure"
13108 #include "confdefs.h"
13110 #ifdef HAVE_IEEEFP_H
13111 #include <ieeefp.h>
13118 if { (eval echo configure:13119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13120 glibcpp_cv_func_isinff_use=yes
13122 echo "configure: failed program was:" >&5
13123 cat conftest.$ac_ext >&5
13125 glibcpp_cv_func_isinff_use=no
13129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13130 ac_cpp='$CPP $CPPFLAGS'
13131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13133 cross_compiling=$ac_cv_prog_cc_cross
13139 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13141 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13142 for ac_func in isinff
13144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13145 echo "configure:13146: checking for $ac_func" >&5
13146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13147 echo $ac_n "(cached) $ac_c" 1>&6
13149 cat > conftest.$ac_ext <<EOF
13150 #line 13151 "configure"
13151 #include "confdefs.h"
13152 /* System header to define __stub macros and hopefully few prototypes,
13153 which can conflict with char $ac_func(); below. */
13154 #include <assert.h>
13155 /* Override any gcc2 internal prototype to avoid an error. */
13156 /* We use char because int might match the return type of a gcc2
13157 builtin and then its argument prototype would still apply. */
13162 /* The GNU C library defines this for functions which it implements
13163 to always fail with ENOSYS. Some functions are actually named
13164 something starting with __ and the normal name is an alias. */
13165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13173 if { (eval echo configure:13174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13175 eval "ac_cv_func_$ac_func=yes"
13177 echo "configure: failed program was:" >&5
13178 cat conftest.$ac_ext >&5
13180 eval "ac_cv_func_$ac_func=no"
13185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13186 echo "$ac_t""yes" 1>&6
13187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13188 cat >> confdefs.h <<EOF
13189 #define $ac_tr_func 1
13193 echo "$ac_t""no" 1>&6
13199 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13200 echo "configure:13201: checking for _isinff declaration" >&5
13201 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13202 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13203 echo $ac_n "(cached) $ac_c" 1>&6
13208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13209 ac_cpp='$CXXCPP $CPPFLAGS'
13210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13212 cross_compiling=$ac_cv_prog_cxx_cross
13214 cat > conftest.$ac_ext <<EOF
13215 #line 13216 "configure"
13216 #include "confdefs.h"
13218 #ifdef HAVE_IEEEFP_H
13219 #include <ieeefp.h>
13226 if { (eval echo configure:13227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13228 glibcpp_cv_func__isinff_use=yes
13230 echo "configure: failed program was:" >&5
13231 cat conftest.$ac_ext >&5
13233 glibcpp_cv_func__isinff_use=no
13237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13238 ac_cpp='$CPP $CPPFLAGS'
13239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13241 cross_compiling=$ac_cv_prog_cc_cross
13247 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13249 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13250 for ac_func in _isinff
13252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13253 echo "configure:13254: checking for $ac_func" >&5
13254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13255 echo $ac_n "(cached) $ac_c" 1>&6
13257 cat > conftest.$ac_ext <<EOF
13258 #line 13259 "configure"
13259 #include "confdefs.h"
13260 /* System header to define __stub macros and hopefully few prototypes,
13261 which can conflict with char $ac_func(); below. */
13262 #include <assert.h>
13263 /* Override any gcc2 internal prototype to avoid an error. */
13264 /* We use char because int might match the return type of a gcc2
13265 builtin and then its argument prototype would still apply. */
13270 /* The GNU C library defines this for functions which it implements
13271 to always fail with ENOSYS. Some functions are actually named
13272 something starting with __ and the normal name is an alias. */
13273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13281 if { (eval echo configure:13282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13283 eval "ac_cv_func_$ac_func=yes"
13285 echo "configure: failed program was:" >&5
13286 cat conftest.$ac_ext >&5
13288 eval "ac_cv_func_$ac_func=no"
13293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13294 echo "$ac_t""yes" 1>&6
13295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13296 cat >> confdefs.h <<EOF
13297 #define $ac_tr_func 1
13301 echo "$ac_t""no" 1>&6
13310 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13311 echo "configure:13312: checking for atan2f declaration" >&5
13312 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13313 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13314 echo $ac_n "(cached) $ac_c" 1>&6
13319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13320 ac_cpp='$CXXCPP $CPPFLAGS'
13321 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13322 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13323 cross_compiling=$ac_cv_prog_cxx_cross
13325 cat > conftest.$ac_ext <<EOF
13326 #line 13327 "configure"
13327 #include "confdefs.h"
13333 if { (eval echo configure:13334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13335 glibcpp_cv_func_atan2f_use=yes
13337 echo "configure: failed program was:" >&5
13338 cat conftest.$ac_ext >&5
13340 glibcpp_cv_func_atan2f_use=no
13344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13345 ac_cpp='$CPP $CPPFLAGS'
13346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13348 cross_compiling=$ac_cv_prog_cc_cross
13354 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13356 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13357 for ac_func in atan2f
13359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13360 echo "configure:13361: checking for $ac_func" >&5
13361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13362 echo $ac_n "(cached) $ac_c" 1>&6
13364 cat > conftest.$ac_ext <<EOF
13365 #line 13366 "configure"
13366 #include "confdefs.h"
13367 /* System header to define __stub macros and hopefully few prototypes,
13368 which can conflict with char $ac_func(); below. */
13369 #include <assert.h>
13370 /* Override any gcc2 internal prototype to avoid an error. */
13371 /* We use char because int might match the return type of a gcc2
13372 builtin and then its argument prototype would still apply. */
13377 /* The GNU C library defines this for functions which it implements
13378 to always fail with ENOSYS. Some functions are actually named
13379 something starting with __ and the normal name is an alias. */
13380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13388 if { (eval echo configure:13389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13390 eval "ac_cv_func_$ac_func=yes"
13392 echo "configure: failed program was:" >&5
13393 cat conftest.$ac_ext >&5
13395 eval "ac_cv_func_$ac_func=no"
13400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13401 echo "$ac_t""yes" 1>&6
13402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13403 cat >> confdefs.h <<EOF
13404 #define $ac_tr_func 1
13408 echo "$ac_t""no" 1>&6
13414 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13415 echo "configure:13416: checking for _atan2f declaration" >&5
13416 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13417 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13418 echo $ac_n "(cached) $ac_c" 1>&6
13423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13424 ac_cpp='$CXXCPP $CPPFLAGS'
13425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13427 cross_compiling=$ac_cv_prog_cxx_cross
13429 cat > conftest.$ac_ext <<EOF
13430 #line 13431 "configure"
13431 #include "confdefs.h"
13437 if { (eval echo configure:13438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13439 glibcpp_cv_func__atan2f_use=yes
13441 echo "configure: failed program was:" >&5
13442 cat conftest.$ac_ext >&5
13444 glibcpp_cv_func__atan2f_use=no
13448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13449 ac_cpp='$CPP $CPPFLAGS'
13450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13452 cross_compiling=$ac_cv_prog_cc_cross
13458 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13460 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13461 for ac_func in _atan2f
13463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13464 echo "configure:13465: checking for $ac_func" >&5
13465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13466 echo $ac_n "(cached) $ac_c" 1>&6
13468 cat > conftest.$ac_ext <<EOF
13469 #line 13470 "configure"
13470 #include "confdefs.h"
13471 /* System header to define __stub macros and hopefully few prototypes,
13472 which can conflict with char $ac_func(); below. */
13473 #include <assert.h>
13474 /* Override any gcc2 internal prototype to avoid an error. */
13475 /* We use char because int might match the return type of a gcc2
13476 builtin and then its argument prototype would still apply. */
13481 /* The GNU C library defines this for functions which it implements
13482 to always fail with ENOSYS. Some functions are actually named
13483 something starting with __ and the normal name is an alias. */
13484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13492 if { (eval echo configure:13493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13494 eval "ac_cv_func_$ac_func=yes"
13496 echo "configure: failed program was:" >&5
13497 cat conftest.$ac_ext >&5
13499 eval "ac_cv_func_$ac_func=no"
13504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13505 echo "$ac_t""yes" 1>&6
13506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13507 cat >> confdefs.h <<EOF
13508 #define $ac_tr_func 1
13512 echo "$ac_t""no" 1>&6
13521 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13522 echo "configure:13523: checking for fabsf declaration" >&5
13523 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13524 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13525 echo $ac_n "(cached) $ac_c" 1>&6
13530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13531 ac_cpp='$CXXCPP $CPPFLAGS'
13532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13534 cross_compiling=$ac_cv_prog_cxx_cross
13536 cat > conftest.$ac_ext <<EOF
13537 #line 13538 "configure"
13538 #include "confdefs.h"
13540 #ifdef HAVE_IEEEFP_H
13541 #include <ieeefp.h>
13548 if { (eval echo configure:13549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13550 glibcpp_cv_func_fabsf_use=yes
13552 echo "configure: failed program was:" >&5
13553 cat conftest.$ac_ext >&5
13555 glibcpp_cv_func_fabsf_use=no
13559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13560 ac_cpp='$CPP $CPPFLAGS'
13561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13563 cross_compiling=$ac_cv_prog_cc_cross
13569 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13571 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13572 for ac_func in fabsf
13574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13575 echo "configure:13576: checking for $ac_func" >&5
13576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13577 echo $ac_n "(cached) $ac_c" 1>&6
13579 cat > conftest.$ac_ext <<EOF
13580 #line 13581 "configure"
13581 #include "confdefs.h"
13582 /* System header to define __stub macros and hopefully few prototypes,
13583 which can conflict with char $ac_func(); below. */
13584 #include <assert.h>
13585 /* Override any gcc2 internal prototype to avoid an error. */
13586 /* We use char because int might match the return type of a gcc2
13587 builtin and then its argument prototype would still apply. */
13592 /* The GNU C library defines this for functions which it implements
13593 to always fail with ENOSYS. Some functions are actually named
13594 something starting with __ and the normal name is an alias. */
13595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13603 if { (eval echo configure:13604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13605 eval "ac_cv_func_$ac_func=yes"
13607 echo "configure: failed program was:" >&5
13608 cat conftest.$ac_ext >&5
13610 eval "ac_cv_func_$ac_func=no"
13615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13616 echo "$ac_t""yes" 1>&6
13617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13618 cat >> confdefs.h <<EOF
13619 #define $ac_tr_func 1
13623 echo "$ac_t""no" 1>&6
13629 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13630 echo "configure:13631: checking for _fabsf declaration" >&5
13631 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13632 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13633 echo $ac_n "(cached) $ac_c" 1>&6
13638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13639 ac_cpp='$CXXCPP $CPPFLAGS'
13640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13642 cross_compiling=$ac_cv_prog_cxx_cross
13644 cat > conftest.$ac_ext <<EOF
13645 #line 13646 "configure"
13646 #include "confdefs.h"
13648 #ifdef HAVE_IEEEFP_H
13649 #include <ieeefp.h>
13656 if { (eval echo configure:13657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13658 glibcpp_cv_func__fabsf_use=yes
13660 echo "configure: failed program was:" >&5
13661 cat conftest.$ac_ext >&5
13663 glibcpp_cv_func__fabsf_use=no
13667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13668 ac_cpp='$CPP $CPPFLAGS'
13669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13671 cross_compiling=$ac_cv_prog_cc_cross
13677 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13679 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13680 for ac_func in _fabsf
13682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13683 echo "configure:13684: checking for $ac_func" >&5
13684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13685 echo $ac_n "(cached) $ac_c" 1>&6
13687 cat > conftest.$ac_ext <<EOF
13688 #line 13689 "configure"
13689 #include "confdefs.h"
13690 /* System header to define __stub macros and hopefully few prototypes,
13691 which can conflict with char $ac_func(); below. */
13692 #include <assert.h>
13693 /* Override any gcc2 internal prototype to avoid an error. */
13694 /* We use char because int might match the return type of a gcc2
13695 builtin and then its argument prototype would still apply. */
13700 /* The GNU C library defines this for functions which it implements
13701 to always fail with ENOSYS. Some functions are actually named
13702 something starting with __ and the normal name is an alias. */
13703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13711 if { (eval echo configure:13712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13713 eval "ac_cv_func_$ac_func=yes"
13715 echo "configure: failed program was:" >&5
13716 cat conftest.$ac_ext >&5
13718 eval "ac_cv_func_$ac_func=no"
13723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13724 echo "$ac_t""yes" 1>&6
13725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13726 cat >> confdefs.h <<EOF
13727 #define $ac_tr_func 1
13731 echo "$ac_t""no" 1>&6
13740 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13741 echo "configure:13742: checking for fmodf declaration" >&5
13742 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13743 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13744 echo $ac_n "(cached) $ac_c" 1>&6
13749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13750 ac_cpp='$CXXCPP $CPPFLAGS'
13751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13753 cross_compiling=$ac_cv_prog_cxx_cross
13755 cat > conftest.$ac_ext <<EOF
13756 #line 13757 "configure"
13757 #include "confdefs.h"
13763 if { (eval echo configure:13764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13765 glibcpp_cv_func_fmodf_use=yes
13767 echo "configure: failed program was:" >&5
13768 cat conftest.$ac_ext >&5
13770 glibcpp_cv_func_fmodf_use=no
13774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13775 ac_cpp='$CPP $CPPFLAGS'
13776 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13777 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13778 cross_compiling=$ac_cv_prog_cc_cross
13784 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13786 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13787 for ac_func in fmodf
13789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13790 echo "configure:13791: checking for $ac_func" >&5
13791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13792 echo $ac_n "(cached) $ac_c" 1>&6
13794 cat > conftest.$ac_ext <<EOF
13795 #line 13796 "configure"
13796 #include "confdefs.h"
13797 /* System header to define __stub macros and hopefully few prototypes,
13798 which can conflict with char $ac_func(); below. */
13799 #include <assert.h>
13800 /* Override any gcc2 internal prototype to avoid an error. */
13801 /* We use char because int might match the return type of a gcc2
13802 builtin and then its argument prototype would still apply. */
13807 /* The GNU C library defines this for functions which it implements
13808 to always fail with ENOSYS. Some functions are actually named
13809 something starting with __ and the normal name is an alias. */
13810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13818 if { (eval echo configure:13819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13820 eval "ac_cv_func_$ac_func=yes"
13822 echo "configure: failed program was:" >&5
13823 cat conftest.$ac_ext >&5
13825 eval "ac_cv_func_$ac_func=no"
13830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13831 echo "$ac_t""yes" 1>&6
13832 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13833 cat >> confdefs.h <<EOF
13834 #define $ac_tr_func 1
13838 echo "$ac_t""no" 1>&6
13844 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13845 echo "configure:13846: checking for _fmodf declaration" >&5
13846 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13847 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13848 echo $ac_n "(cached) $ac_c" 1>&6
13853 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13854 ac_cpp='$CXXCPP $CPPFLAGS'
13855 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13856 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13857 cross_compiling=$ac_cv_prog_cxx_cross
13859 cat > conftest.$ac_ext <<EOF
13860 #line 13861 "configure"
13861 #include "confdefs.h"
13867 if { (eval echo configure:13868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13869 glibcpp_cv_func__fmodf_use=yes
13871 echo "configure: failed program was:" >&5
13872 cat conftest.$ac_ext >&5
13874 glibcpp_cv_func__fmodf_use=no
13878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13882 cross_compiling=$ac_cv_prog_cc_cross
13888 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13890 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13891 for ac_func in _fmodf
13893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13894 echo "configure:13895: checking for $ac_func" >&5
13895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13896 echo $ac_n "(cached) $ac_c" 1>&6
13898 cat > conftest.$ac_ext <<EOF
13899 #line 13900 "configure"
13900 #include "confdefs.h"
13901 /* System header to define __stub macros and hopefully few prototypes,
13902 which can conflict with char $ac_func(); below. */
13903 #include <assert.h>
13904 /* Override any gcc2 internal prototype to avoid an error. */
13905 /* We use char because int might match the return type of a gcc2
13906 builtin and then its argument prototype would still apply. */
13911 /* The GNU C library defines this for functions which it implements
13912 to always fail with ENOSYS. Some functions are actually named
13913 something starting with __ and the normal name is an alias. */
13914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13922 if { (eval echo configure:13923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13924 eval "ac_cv_func_$ac_func=yes"
13926 echo "configure: failed program was:" >&5
13927 cat conftest.$ac_ext >&5
13929 eval "ac_cv_func_$ac_func=no"
13934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13935 echo "$ac_t""yes" 1>&6
13936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13937 cat >> confdefs.h <<EOF
13938 #define $ac_tr_func 1
13942 echo "$ac_t""no" 1>&6
13951 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13952 echo "configure:13953: checking for frexpf declaration" >&5
13953 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13954 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13955 echo $ac_n "(cached) $ac_c" 1>&6
13960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13961 ac_cpp='$CXXCPP $CPPFLAGS'
13962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13964 cross_compiling=$ac_cv_prog_cxx_cross
13966 cat > conftest.$ac_ext <<EOF
13967 #line 13968 "configure"
13968 #include "confdefs.h"
13974 if { (eval echo configure:13975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13976 glibcpp_cv_func_frexpf_use=yes
13978 echo "configure: failed program was:" >&5
13979 cat conftest.$ac_ext >&5
13981 glibcpp_cv_func_frexpf_use=no
13985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13986 ac_cpp='$CPP $CPPFLAGS'
13987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13989 cross_compiling=$ac_cv_prog_cc_cross
13995 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13997 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13998 for ac_func in frexpf
14000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14001 echo "configure:14002: checking for $ac_func" >&5
14002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14003 echo $ac_n "(cached) $ac_c" 1>&6
14005 cat > conftest.$ac_ext <<EOF
14006 #line 14007 "configure"
14007 #include "confdefs.h"
14008 /* System header to define __stub macros and hopefully few prototypes,
14009 which can conflict with char $ac_func(); below. */
14010 #include <assert.h>
14011 /* Override any gcc2 internal prototype to avoid an error. */
14012 /* We use char because int might match the return type of a gcc2
14013 builtin and then its argument prototype would still apply. */
14018 /* The GNU C library defines this for functions which it implements
14019 to always fail with ENOSYS. Some functions are actually named
14020 something starting with __ and the normal name is an alias. */
14021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14029 if { (eval echo configure:14030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14031 eval "ac_cv_func_$ac_func=yes"
14033 echo "configure: failed program was:" >&5
14034 cat conftest.$ac_ext >&5
14036 eval "ac_cv_func_$ac_func=no"
14041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14042 echo "$ac_t""yes" 1>&6
14043 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14044 cat >> confdefs.h <<EOF
14045 #define $ac_tr_func 1
14049 echo "$ac_t""no" 1>&6
14055 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14056 echo "configure:14057: checking for _frexpf declaration" >&5
14057 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14058 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14059 echo $ac_n "(cached) $ac_c" 1>&6
14064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14065 ac_cpp='$CXXCPP $CPPFLAGS'
14066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14068 cross_compiling=$ac_cv_prog_cxx_cross
14070 cat > conftest.$ac_ext <<EOF
14071 #line 14072 "configure"
14072 #include "confdefs.h"
14078 if { (eval echo configure:14079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14080 glibcpp_cv_func__frexpf_use=yes
14082 echo "configure: failed program was:" >&5
14083 cat conftest.$ac_ext >&5
14085 glibcpp_cv_func__frexpf_use=no
14089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14090 ac_cpp='$CPP $CPPFLAGS'
14091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14093 cross_compiling=$ac_cv_prog_cc_cross
14099 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14101 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14102 for ac_func in _frexpf
14104 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14105 echo "configure:14106: checking for $ac_func" >&5
14106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14107 echo $ac_n "(cached) $ac_c" 1>&6
14109 cat > conftest.$ac_ext <<EOF
14110 #line 14111 "configure"
14111 #include "confdefs.h"
14112 /* System header to define __stub macros and hopefully few prototypes,
14113 which can conflict with char $ac_func(); below. */
14114 #include <assert.h>
14115 /* Override any gcc2 internal prototype to avoid an error. */
14116 /* We use char because int might match the return type of a gcc2
14117 builtin and then its argument prototype would still apply. */
14122 /* The GNU C library defines this for functions which it implements
14123 to always fail with ENOSYS. Some functions are actually named
14124 something starting with __ and the normal name is an alias. */
14125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14133 if { (eval echo configure:14134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14135 eval "ac_cv_func_$ac_func=yes"
14137 echo "configure: failed program was:" >&5
14138 cat conftest.$ac_ext >&5
14140 eval "ac_cv_func_$ac_func=no"
14145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14146 echo "$ac_t""yes" 1>&6
14147 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14148 cat >> confdefs.h <<EOF
14149 #define $ac_tr_func 1
14153 echo "$ac_t""no" 1>&6
14162 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14163 echo "configure:14164: checking for hypotf declaration" >&5
14164 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14165 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14166 echo $ac_n "(cached) $ac_c" 1>&6
14171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14172 ac_cpp='$CXXCPP $CPPFLAGS'
14173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14175 cross_compiling=$ac_cv_prog_cxx_cross
14177 cat > conftest.$ac_ext <<EOF
14178 #line 14179 "configure"
14179 #include "confdefs.h"
14185 if { (eval echo configure:14186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14187 glibcpp_cv_func_hypotf_use=yes
14189 echo "configure: failed program was:" >&5
14190 cat conftest.$ac_ext >&5
14192 glibcpp_cv_func_hypotf_use=no
14196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14197 ac_cpp='$CPP $CPPFLAGS'
14198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14200 cross_compiling=$ac_cv_prog_cc_cross
14206 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14208 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14209 for ac_func in hypotf
14211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14212 echo "configure:14213: checking for $ac_func" >&5
14213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14214 echo $ac_n "(cached) $ac_c" 1>&6
14216 cat > conftest.$ac_ext <<EOF
14217 #line 14218 "configure"
14218 #include "confdefs.h"
14219 /* System header to define __stub macros and hopefully few prototypes,
14220 which can conflict with char $ac_func(); below. */
14221 #include <assert.h>
14222 /* Override any gcc2 internal prototype to avoid an error. */
14223 /* We use char because int might match the return type of a gcc2
14224 builtin and then its argument prototype would still apply. */
14229 /* The GNU C library defines this for functions which it implements
14230 to always fail with ENOSYS. Some functions are actually named
14231 something starting with __ and the normal name is an alias. */
14232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14240 if { (eval echo configure:14241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14242 eval "ac_cv_func_$ac_func=yes"
14244 echo "configure: failed program was:" >&5
14245 cat conftest.$ac_ext >&5
14247 eval "ac_cv_func_$ac_func=no"
14252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14253 echo "$ac_t""yes" 1>&6
14254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14255 cat >> confdefs.h <<EOF
14256 #define $ac_tr_func 1
14260 echo "$ac_t""no" 1>&6
14266 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14267 echo "configure:14268: checking for _hypotf declaration" >&5
14268 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14269 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14270 echo $ac_n "(cached) $ac_c" 1>&6
14275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14276 ac_cpp='$CXXCPP $CPPFLAGS'
14277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14279 cross_compiling=$ac_cv_prog_cxx_cross
14281 cat > conftest.$ac_ext <<EOF
14282 #line 14283 "configure"
14283 #include "confdefs.h"
14289 if { (eval echo configure:14290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14291 glibcpp_cv_func__hypotf_use=yes
14293 echo "configure: failed program was:" >&5
14294 cat conftest.$ac_ext >&5
14296 glibcpp_cv_func__hypotf_use=no
14300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14301 ac_cpp='$CPP $CPPFLAGS'
14302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14304 cross_compiling=$ac_cv_prog_cc_cross
14310 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14312 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14313 for ac_func in _hypotf
14315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14316 echo "configure:14317: checking for $ac_func" >&5
14317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14318 echo $ac_n "(cached) $ac_c" 1>&6
14320 cat > conftest.$ac_ext <<EOF
14321 #line 14322 "configure"
14322 #include "confdefs.h"
14323 /* System header to define __stub macros and hopefully few prototypes,
14324 which can conflict with char $ac_func(); below. */
14325 #include <assert.h>
14326 /* Override any gcc2 internal prototype to avoid an error. */
14327 /* We use char because int might match the return type of a gcc2
14328 builtin and then its argument prototype would still apply. */
14333 /* The GNU C library defines this for functions which it implements
14334 to always fail with ENOSYS. Some functions are actually named
14335 something starting with __ and the normal name is an alias. */
14336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14344 if { (eval echo configure:14345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14346 eval "ac_cv_func_$ac_func=yes"
14348 echo "configure: failed program was:" >&5
14349 cat conftest.$ac_ext >&5
14351 eval "ac_cv_func_$ac_func=no"
14356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14357 echo "$ac_t""yes" 1>&6
14358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14359 cat >> confdefs.h <<EOF
14360 #define $ac_tr_func 1
14364 echo "$ac_t""no" 1>&6
14373 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14374 echo "configure:14375: checking for ldexpf declaration" >&5
14375 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14376 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14377 echo $ac_n "(cached) $ac_c" 1>&6
14382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14383 ac_cpp='$CXXCPP $CPPFLAGS'
14384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14386 cross_compiling=$ac_cv_prog_cxx_cross
14388 cat > conftest.$ac_ext <<EOF
14389 #line 14390 "configure"
14390 #include "confdefs.h"
14396 if { (eval echo configure:14397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14398 glibcpp_cv_func_ldexpf_use=yes
14400 echo "configure: failed program was:" >&5
14401 cat conftest.$ac_ext >&5
14403 glibcpp_cv_func_ldexpf_use=no
14407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14408 ac_cpp='$CPP $CPPFLAGS'
14409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14411 cross_compiling=$ac_cv_prog_cc_cross
14417 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14419 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14420 for ac_func in ldexpf
14422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14423 echo "configure:14424: checking for $ac_func" >&5
14424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14425 echo $ac_n "(cached) $ac_c" 1>&6
14427 cat > conftest.$ac_ext <<EOF
14428 #line 14429 "configure"
14429 #include "confdefs.h"
14430 /* System header to define __stub macros and hopefully few prototypes,
14431 which can conflict with char $ac_func(); below. */
14432 #include <assert.h>
14433 /* Override any gcc2 internal prototype to avoid an error. */
14434 /* We use char because int might match the return type of a gcc2
14435 builtin and then its argument prototype would still apply. */
14440 /* The GNU C library defines this for functions which it implements
14441 to always fail with ENOSYS. Some functions are actually named
14442 something starting with __ and the normal name is an alias. */
14443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14451 if { (eval echo configure:14452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14453 eval "ac_cv_func_$ac_func=yes"
14455 echo "configure: failed program was:" >&5
14456 cat conftest.$ac_ext >&5
14458 eval "ac_cv_func_$ac_func=no"
14463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14464 echo "$ac_t""yes" 1>&6
14465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14466 cat >> confdefs.h <<EOF
14467 #define $ac_tr_func 1
14471 echo "$ac_t""no" 1>&6
14477 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14478 echo "configure:14479: checking for _ldexpf declaration" >&5
14479 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14480 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14481 echo $ac_n "(cached) $ac_c" 1>&6
14486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14487 ac_cpp='$CXXCPP $CPPFLAGS'
14488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14490 cross_compiling=$ac_cv_prog_cxx_cross
14492 cat > conftest.$ac_ext <<EOF
14493 #line 14494 "configure"
14494 #include "confdefs.h"
14500 if { (eval echo configure:14501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14502 glibcpp_cv_func__ldexpf_use=yes
14504 echo "configure: failed program was:" >&5
14505 cat conftest.$ac_ext >&5
14507 glibcpp_cv_func__ldexpf_use=no
14511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14512 ac_cpp='$CPP $CPPFLAGS'
14513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14515 cross_compiling=$ac_cv_prog_cc_cross
14521 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14523 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14524 for ac_func in _ldexpf
14526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14527 echo "configure:14528: checking for $ac_func" >&5
14528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14529 echo $ac_n "(cached) $ac_c" 1>&6
14531 cat > conftest.$ac_ext <<EOF
14532 #line 14533 "configure"
14533 #include "confdefs.h"
14534 /* System header to define __stub macros and hopefully few prototypes,
14535 which can conflict with char $ac_func(); below. */
14536 #include <assert.h>
14537 /* Override any gcc2 internal prototype to avoid an error. */
14538 /* We use char because int might match the return type of a gcc2
14539 builtin and then its argument prototype would still apply. */
14544 /* The GNU C library defines this for functions which it implements
14545 to always fail with ENOSYS. Some functions are actually named
14546 something starting with __ and the normal name is an alias. */
14547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14555 if { (eval echo configure:14556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14557 eval "ac_cv_func_$ac_func=yes"
14559 echo "configure: failed program was:" >&5
14560 cat conftest.$ac_ext >&5
14562 eval "ac_cv_func_$ac_func=no"
14567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14568 echo "$ac_t""yes" 1>&6
14569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14570 cat >> confdefs.h <<EOF
14571 #define $ac_tr_func 1
14575 echo "$ac_t""no" 1>&6
14584 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14585 echo "configure:14586: checking for logf declaration" >&5
14586 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14587 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14588 echo $ac_n "(cached) $ac_c" 1>&6
14593 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14594 ac_cpp='$CXXCPP $CPPFLAGS'
14595 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14596 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14597 cross_compiling=$ac_cv_prog_cxx_cross
14599 cat > conftest.$ac_ext <<EOF
14600 #line 14601 "configure"
14601 #include "confdefs.h"
14603 #ifdef HAVE_IEEEFP_H
14604 #include <ieeefp.h>
14611 if { (eval echo configure:14612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14613 glibcpp_cv_func_logf_use=yes
14615 echo "configure: failed program was:" >&5
14616 cat conftest.$ac_ext >&5
14618 glibcpp_cv_func_logf_use=no
14622 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14623 ac_cpp='$CPP $CPPFLAGS'
14624 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14625 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14626 cross_compiling=$ac_cv_prog_cc_cross
14632 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14634 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14635 for ac_func in logf
14637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14638 echo "configure:14639: checking for $ac_func" >&5
14639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14640 echo $ac_n "(cached) $ac_c" 1>&6
14642 cat > conftest.$ac_ext <<EOF
14643 #line 14644 "configure"
14644 #include "confdefs.h"
14645 /* System header to define __stub macros and hopefully few prototypes,
14646 which can conflict with char $ac_func(); below. */
14647 #include <assert.h>
14648 /* Override any gcc2 internal prototype to avoid an error. */
14649 /* We use char because int might match the return type of a gcc2
14650 builtin and then its argument prototype would still apply. */
14655 /* The GNU C library defines this for functions which it implements
14656 to always fail with ENOSYS. Some functions are actually named
14657 something starting with __ and the normal name is an alias. */
14658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14666 if { (eval echo configure:14667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14668 eval "ac_cv_func_$ac_func=yes"
14670 echo "configure: failed program was:" >&5
14671 cat conftest.$ac_ext >&5
14673 eval "ac_cv_func_$ac_func=no"
14678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14679 echo "$ac_t""yes" 1>&6
14680 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14681 cat >> confdefs.h <<EOF
14682 #define $ac_tr_func 1
14686 echo "$ac_t""no" 1>&6
14692 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14693 echo "configure:14694: checking for _logf declaration" >&5
14694 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14695 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14696 echo $ac_n "(cached) $ac_c" 1>&6
14701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14702 ac_cpp='$CXXCPP $CPPFLAGS'
14703 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14704 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14705 cross_compiling=$ac_cv_prog_cxx_cross
14707 cat > conftest.$ac_ext <<EOF
14708 #line 14709 "configure"
14709 #include "confdefs.h"
14711 #ifdef HAVE_IEEEFP_H
14712 #include <ieeefp.h>
14719 if { (eval echo configure:14720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14721 glibcpp_cv_func__logf_use=yes
14723 echo "configure: failed program was:" >&5
14724 cat conftest.$ac_ext >&5
14726 glibcpp_cv_func__logf_use=no
14730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14731 ac_cpp='$CPP $CPPFLAGS'
14732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14734 cross_compiling=$ac_cv_prog_cc_cross
14740 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14742 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14743 for ac_func in _logf
14745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14746 echo "configure:14747: checking for $ac_func" >&5
14747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14748 echo $ac_n "(cached) $ac_c" 1>&6
14750 cat > conftest.$ac_ext <<EOF
14751 #line 14752 "configure"
14752 #include "confdefs.h"
14753 /* System header to define __stub macros and hopefully few prototypes,
14754 which can conflict with char $ac_func(); below. */
14755 #include <assert.h>
14756 /* Override any gcc2 internal prototype to avoid an error. */
14757 /* We use char because int might match the return type of a gcc2
14758 builtin and then its argument prototype would still apply. */
14763 /* The GNU C library defines this for functions which it implements
14764 to always fail with ENOSYS. Some functions are actually named
14765 something starting with __ and the normal name is an alias. */
14766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14774 if { (eval echo configure:14775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14776 eval "ac_cv_func_$ac_func=yes"
14778 echo "configure: failed program was:" >&5
14779 cat conftest.$ac_ext >&5
14781 eval "ac_cv_func_$ac_func=no"
14786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14787 echo "$ac_t""yes" 1>&6
14788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14789 cat >> confdefs.h <<EOF
14790 #define $ac_tr_func 1
14794 echo "$ac_t""no" 1>&6
14803 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14804 echo "configure:14805: checking for log10f declaration" >&5
14805 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14806 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14807 echo $ac_n "(cached) $ac_c" 1>&6
14812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14813 ac_cpp='$CXXCPP $CPPFLAGS'
14814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14816 cross_compiling=$ac_cv_prog_cxx_cross
14818 cat > conftest.$ac_ext <<EOF
14819 #line 14820 "configure"
14820 #include "confdefs.h"
14822 #ifdef HAVE_IEEEFP_H
14823 #include <ieeefp.h>
14830 if { (eval echo configure:14831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14832 glibcpp_cv_func_log10f_use=yes
14834 echo "configure: failed program was:" >&5
14835 cat conftest.$ac_ext >&5
14837 glibcpp_cv_func_log10f_use=no
14841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14842 ac_cpp='$CPP $CPPFLAGS'
14843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14845 cross_compiling=$ac_cv_prog_cc_cross
14851 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14853 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14854 for ac_func in log10f
14856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14857 echo "configure:14858: checking for $ac_func" >&5
14858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14859 echo $ac_n "(cached) $ac_c" 1>&6
14861 cat > conftest.$ac_ext <<EOF
14862 #line 14863 "configure"
14863 #include "confdefs.h"
14864 /* System header to define __stub macros and hopefully few prototypes,
14865 which can conflict with char $ac_func(); below. */
14866 #include <assert.h>
14867 /* Override any gcc2 internal prototype to avoid an error. */
14868 /* We use char because int might match the return type of a gcc2
14869 builtin and then its argument prototype would still apply. */
14874 /* The GNU C library defines this for functions which it implements
14875 to always fail with ENOSYS. Some functions are actually named
14876 something starting with __ and the normal name is an alias. */
14877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14885 if { (eval echo configure:14886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14887 eval "ac_cv_func_$ac_func=yes"
14889 echo "configure: failed program was:" >&5
14890 cat conftest.$ac_ext >&5
14892 eval "ac_cv_func_$ac_func=no"
14897 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14898 echo "$ac_t""yes" 1>&6
14899 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14900 cat >> confdefs.h <<EOF
14901 #define $ac_tr_func 1
14905 echo "$ac_t""no" 1>&6
14911 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14912 echo "configure:14913: checking for _log10f declaration" >&5
14913 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14914 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14915 echo $ac_n "(cached) $ac_c" 1>&6
14920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14921 ac_cpp='$CXXCPP $CPPFLAGS'
14922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14924 cross_compiling=$ac_cv_prog_cxx_cross
14926 cat > conftest.$ac_ext <<EOF
14927 #line 14928 "configure"
14928 #include "confdefs.h"
14930 #ifdef HAVE_IEEEFP_H
14931 #include <ieeefp.h>
14938 if { (eval echo configure:14939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14940 glibcpp_cv_func__log10f_use=yes
14942 echo "configure: failed program was:" >&5
14943 cat conftest.$ac_ext >&5
14945 glibcpp_cv_func__log10f_use=no
14949 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14950 ac_cpp='$CPP $CPPFLAGS'
14951 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14952 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14953 cross_compiling=$ac_cv_prog_cc_cross
14959 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14961 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14962 for ac_func in _log10f
14964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14965 echo "configure:14966: checking for $ac_func" >&5
14966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14967 echo $ac_n "(cached) $ac_c" 1>&6
14969 cat > conftest.$ac_ext <<EOF
14970 #line 14971 "configure"
14971 #include "confdefs.h"
14972 /* System header to define __stub macros and hopefully few prototypes,
14973 which can conflict with char $ac_func(); below. */
14974 #include <assert.h>
14975 /* Override any gcc2 internal prototype to avoid an error. */
14976 /* We use char because int might match the return type of a gcc2
14977 builtin and then its argument prototype would still apply. */
14982 /* The GNU C library defines this for functions which it implements
14983 to always fail with ENOSYS. Some functions are actually named
14984 something starting with __ and the normal name is an alias. */
14985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14993 if { (eval echo configure:14994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14995 eval "ac_cv_func_$ac_func=yes"
14997 echo "configure: failed program was:" >&5
14998 cat conftest.$ac_ext >&5
15000 eval "ac_cv_func_$ac_func=no"
15005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15006 echo "$ac_t""yes" 1>&6
15007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15008 cat >> confdefs.h <<EOF
15009 #define $ac_tr_func 1
15013 echo "$ac_t""no" 1>&6
15022 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15023 echo "configure:15024: checking for modff declaration" >&5
15024 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15025 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15026 echo $ac_n "(cached) $ac_c" 1>&6
15031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15032 ac_cpp='$CXXCPP $CPPFLAGS'
15033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15035 cross_compiling=$ac_cv_prog_cxx_cross
15037 cat > conftest.$ac_ext <<EOF
15038 #line 15039 "configure"
15039 #include "confdefs.h"
15045 if { (eval echo configure:15046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15047 glibcpp_cv_func_modff_use=yes
15049 echo "configure: failed program was:" >&5
15050 cat conftest.$ac_ext >&5
15052 glibcpp_cv_func_modff_use=no
15056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15057 ac_cpp='$CPP $CPPFLAGS'
15058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15060 cross_compiling=$ac_cv_prog_cc_cross
15066 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15068 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15069 for ac_func in modff
15071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15072 echo "configure:15073: checking for $ac_func" >&5
15073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15074 echo $ac_n "(cached) $ac_c" 1>&6
15076 cat > conftest.$ac_ext <<EOF
15077 #line 15078 "configure"
15078 #include "confdefs.h"
15079 /* System header to define __stub macros and hopefully few prototypes,
15080 which can conflict with char $ac_func(); below. */
15081 #include <assert.h>
15082 /* Override any gcc2 internal prototype to avoid an error. */
15083 /* We use char because int might match the return type of a gcc2
15084 builtin and then its argument prototype would still apply. */
15089 /* The GNU C library defines this for functions which it implements
15090 to always fail with ENOSYS. Some functions are actually named
15091 something starting with __ and the normal name is an alias. */
15092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15100 if { (eval echo configure:15101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15102 eval "ac_cv_func_$ac_func=yes"
15104 echo "configure: failed program was:" >&5
15105 cat conftest.$ac_ext >&5
15107 eval "ac_cv_func_$ac_func=no"
15112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15113 echo "$ac_t""yes" 1>&6
15114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15115 cat >> confdefs.h <<EOF
15116 #define $ac_tr_func 1
15120 echo "$ac_t""no" 1>&6
15126 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15127 echo "configure:15128: checking for _modff declaration" >&5
15128 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15129 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15130 echo $ac_n "(cached) $ac_c" 1>&6
15135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15136 ac_cpp='$CXXCPP $CPPFLAGS'
15137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15139 cross_compiling=$ac_cv_prog_cxx_cross
15141 cat > conftest.$ac_ext <<EOF
15142 #line 15143 "configure"
15143 #include "confdefs.h"
15149 if { (eval echo configure:15150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15151 glibcpp_cv_func__modff_use=yes
15153 echo "configure: failed program was:" >&5
15154 cat conftest.$ac_ext >&5
15156 glibcpp_cv_func__modff_use=no
15160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15161 ac_cpp='$CPP $CPPFLAGS'
15162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15164 cross_compiling=$ac_cv_prog_cc_cross
15170 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15172 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15173 for ac_func in _modff
15175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15176 echo "configure:15177: checking for $ac_func" >&5
15177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15178 echo $ac_n "(cached) $ac_c" 1>&6
15180 cat > conftest.$ac_ext <<EOF
15181 #line 15182 "configure"
15182 #include "confdefs.h"
15183 /* System header to define __stub macros and hopefully few prototypes,
15184 which can conflict with char $ac_func(); below. */
15185 #include <assert.h>
15186 /* Override any gcc2 internal prototype to avoid an error. */
15187 /* We use char because int might match the return type of a gcc2
15188 builtin and then its argument prototype would still apply. */
15193 /* The GNU C library defines this for functions which it implements
15194 to always fail with ENOSYS. Some functions are actually named
15195 something starting with __ and the normal name is an alias. */
15196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15204 if { (eval echo configure:15205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15206 eval "ac_cv_func_$ac_func=yes"
15208 echo "configure: failed program was:" >&5
15209 cat conftest.$ac_ext >&5
15211 eval "ac_cv_func_$ac_func=no"
15216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15217 echo "$ac_t""yes" 1>&6
15218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15219 cat >> confdefs.h <<EOF
15220 #define $ac_tr_func 1
15224 echo "$ac_t""no" 1>&6
15233 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15234 echo "configure:15235: checking for powf declaration" >&5
15235 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15236 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15237 echo $ac_n "(cached) $ac_c" 1>&6
15242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15243 ac_cpp='$CXXCPP $CPPFLAGS'
15244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15246 cross_compiling=$ac_cv_prog_cxx_cross
15248 cat > conftest.$ac_ext <<EOF
15249 #line 15250 "configure"
15250 #include "confdefs.h"
15256 if { (eval echo configure:15257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15258 glibcpp_cv_func_powf_use=yes
15260 echo "configure: failed program was:" >&5
15261 cat conftest.$ac_ext >&5
15263 glibcpp_cv_func_powf_use=no
15267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15268 ac_cpp='$CPP $CPPFLAGS'
15269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15271 cross_compiling=$ac_cv_prog_cc_cross
15277 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15279 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15280 for ac_func in powf
15282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15283 echo "configure:15284: checking for $ac_func" >&5
15284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15285 echo $ac_n "(cached) $ac_c" 1>&6
15287 cat > conftest.$ac_ext <<EOF
15288 #line 15289 "configure"
15289 #include "confdefs.h"
15290 /* System header to define __stub macros and hopefully few prototypes,
15291 which can conflict with char $ac_func(); below. */
15292 #include <assert.h>
15293 /* Override any gcc2 internal prototype to avoid an error. */
15294 /* We use char because int might match the return type of a gcc2
15295 builtin and then its argument prototype would still apply. */
15300 /* The GNU C library defines this for functions which it implements
15301 to always fail with ENOSYS. Some functions are actually named
15302 something starting with __ and the normal name is an alias. */
15303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15311 if { (eval echo configure:15312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15313 eval "ac_cv_func_$ac_func=yes"
15315 echo "configure: failed program was:" >&5
15316 cat conftest.$ac_ext >&5
15318 eval "ac_cv_func_$ac_func=no"
15323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15324 echo "$ac_t""yes" 1>&6
15325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15326 cat >> confdefs.h <<EOF
15327 #define $ac_tr_func 1
15331 echo "$ac_t""no" 1>&6
15337 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15338 echo "configure:15339: checking for _powf declaration" >&5
15339 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15340 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15341 echo $ac_n "(cached) $ac_c" 1>&6
15346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15347 ac_cpp='$CXXCPP $CPPFLAGS'
15348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15350 cross_compiling=$ac_cv_prog_cxx_cross
15352 cat > conftest.$ac_ext <<EOF
15353 #line 15354 "configure"
15354 #include "confdefs.h"
15360 if { (eval echo configure:15361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15362 glibcpp_cv_func__powf_use=yes
15364 echo "configure: failed program was:" >&5
15365 cat conftest.$ac_ext >&5
15367 glibcpp_cv_func__powf_use=no
15371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15372 ac_cpp='$CPP $CPPFLAGS'
15373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15375 cross_compiling=$ac_cv_prog_cc_cross
15381 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15383 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15384 for ac_func in _powf
15386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15387 echo "configure:15388: checking for $ac_func" >&5
15388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15389 echo $ac_n "(cached) $ac_c" 1>&6
15391 cat > conftest.$ac_ext <<EOF
15392 #line 15393 "configure"
15393 #include "confdefs.h"
15394 /* System header to define __stub macros and hopefully few prototypes,
15395 which can conflict with char $ac_func(); below. */
15396 #include <assert.h>
15397 /* Override any gcc2 internal prototype to avoid an error. */
15398 /* We use char because int might match the return type of a gcc2
15399 builtin and then its argument prototype would still apply. */
15404 /* The GNU C library defines this for functions which it implements
15405 to always fail with ENOSYS. Some functions are actually named
15406 something starting with __ and the normal name is an alias. */
15407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15415 if { (eval echo configure:15416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15417 eval "ac_cv_func_$ac_func=yes"
15419 echo "configure: failed program was:" >&5
15420 cat conftest.$ac_ext >&5
15422 eval "ac_cv_func_$ac_func=no"
15427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15428 echo "$ac_t""yes" 1>&6
15429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15430 cat >> confdefs.h <<EOF
15431 #define $ac_tr_func 1
15435 echo "$ac_t""no" 1>&6
15444 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15445 echo "configure:15446: checking for sqrtf declaration" >&5
15446 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15447 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15448 echo $ac_n "(cached) $ac_c" 1>&6
15453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15454 ac_cpp='$CXXCPP $CPPFLAGS'
15455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15457 cross_compiling=$ac_cv_prog_cxx_cross
15459 cat > conftest.$ac_ext <<EOF
15460 #line 15461 "configure"
15461 #include "confdefs.h"
15463 #ifdef HAVE_IEEEFP_H
15464 #include <ieeefp.h>
15471 if { (eval echo configure:15472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15473 glibcpp_cv_func_sqrtf_use=yes
15475 echo "configure: failed program was:" >&5
15476 cat conftest.$ac_ext >&5
15478 glibcpp_cv_func_sqrtf_use=no
15482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15483 ac_cpp='$CPP $CPPFLAGS'
15484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15486 cross_compiling=$ac_cv_prog_cc_cross
15492 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15494 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15495 for ac_func in sqrtf
15497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15498 echo "configure:15499: checking for $ac_func" >&5
15499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15500 echo $ac_n "(cached) $ac_c" 1>&6
15502 cat > conftest.$ac_ext <<EOF
15503 #line 15504 "configure"
15504 #include "confdefs.h"
15505 /* System header to define __stub macros and hopefully few prototypes,
15506 which can conflict with char $ac_func(); below. */
15507 #include <assert.h>
15508 /* Override any gcc2 internal prototype to avoid an error. */
15509 /* We use char because int might match the return type of a gcc2
15510 builtin and then its argument prototype would still apply. */
15515 /* The GNU C library defines this for functions which it implements
15516 to always fail with ENOSYS. Some functions are actually named
15517 something starting with __ and the normal name is an alias. */
15518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15526 if { (eval echo configure:15527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15528 eval "ac_cv_func_$ac_func=yes"
15530 echo "configure: failed program was:" >&5
15531 cat conftest.$ac_ext >&5
15533 eval "ac_cv_func_$ac_func=no"
15538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15539 echo "$ac_t""yes" 1>&6
15540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15541 cat >> confdefs.h <<EOF
15542 #define $ac_tr_func 1
15546 echo "$ac_t""no" 1>&6
15552 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15553 echo "configure:15554: checking for _sqrtf declaration" >&5
15554 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15555 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15556 echo $ac_n "(cached) $ac_c" 1>&6
15561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15562 ac_cpp='$CXXCPP $CPPFLAGS'
15563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15565 cross_compiling=$ac_cv_prog_cxx_cross
15567 cat > conftest.$ac_ext <<EOF
15568 #line 15569 "configure"
15569 #include "confdefs.h"
15571 #ifdef HAVE_IEEEFP_H
15572 #include <ieeefp.h>
15579 if { (eval echo configure:15580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15581 glibcpp_cv_func__sqrtf_use=yes
15583 echo "configure: failed program was:" >&5
15584 cat conftest.$ac_ext >&5
15586 glibcpp_cv_func__sqrtf_use=no
15590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15591 ac_cpp='$CPP $CPPFLAGS'
15592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15594 cross_compiling=$ac_cv_prog_cc_cross
15600 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15602 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15603 for ac_func in _sqrtf
15605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15606 echo "configure:15607: checking for $ac_func" >&5
15607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15608 echo $ac_n "(cached) $ac_c" 1>&6
15610 cat > conftest.$ac_ext <<EOF
15611 #line 15612 "configure"
15612 #include "confdefs.h"
15613 /* System header to define __stub macros and hopefully few prototypes,
15614 which can conflict with char $ac_func(); below. */
15615 #include <assert.h>
15616 /* Override any gcc2 internal prototype to avoid an error. */
15617 /* We use char because int might match the return type of a gcc2
15618 builtin and then its argument prototype would still apply. */
15623 /* The GNU C library defines this for functions which it implements
15624 to always fail with ENOSYS. Some functions are actually named
15625 something starting with __ and the normal name is an alias. */
15626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15634 if { (eval echo configure:15635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15636 eval "ac_cv_func_$ac_func=yes"
15638 echo "configure: failed program was:" >&5
15639 cat conftest.$ac_ext >&5
15641 eval "ac_cv_func_$ac_func=no"
15646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15647 echo "$ac_t""yes" 1>&6
15648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15649 cat >> confdefs.h <<EOF
15650 #define $ac_tr_func 1
15654 echo "$ac_t""no" 1>&6
15663 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15664 echo "configure:15665: checking for sincosf declaration" >&5
15665 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15666 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15667 echo $ac_n "(cached) $ac_c" 1>&6
15672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15673 ac_cpp='$CXXCPP $CPPFLAGS'
15674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15676 cross_compiling=$ac_cv_prog_cxx_cross
15678 cat > conftest.$ac_ext <<EOF
15679 #line 15680 "configure"
15680 #include "confdefs.h"
15686 if { (eval echo configure:15687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15688 glibcpp_cv_func_sincosf_use=yes
15690 echo "configure: failed program was:" >&5
15691 cat conftest.$ac_ext >&5
15693 glibcpp_cv_func_sincosf_use=no
15697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15698 ac_cpp='$CPP $CPPFLAGS'
15699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15701 cross_compiling=$ac_cv_prog_cc_cross
15707 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15709 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15710 for ac_func in sincosf
15712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15713 echo "configure:15714: checking for $ac_func" >&5
15714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15715 echo $ac_n "(cached) $ac_c" 1>&6
15717 cat > conftest.$ac_ext <<EOF
15718 #line 15719 "configure"
15719 #include "confdefs.h"
15720 /* System header to define __stub macros and hopefully few prototypes,
15721 which can conflict with char $ac_func(); below. */
15722 #include <assert.h>
15723 /* Override any gcc2 internal prototype to avoid an error. */
15724 /* We use char because int might match the return type of a gcc2
15725 builtin and then its argument prototype would still apply. */
15730 /* The GNU C library defines this for functions which it implements
15731 to always fail with ENOSYS. Some functions are actually named
15732 something starting with __ and the normal name is an alias. */
15733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15741 if { (eval echo configure:15742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15743 eval "ac_cv_func_$ac_func=yes"
15745 echo "configure: failed program was:" >&5
15746 cat conftest.$ac_ext >&5
15748 eval "ac_cv_func_$ac_func=no"
15753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15754 echo "$ac_t""yes" 1>&6
15755 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15756 cat >> confdefs.h <<EOF
15757 #define $ac_tr_func 1
15761 echo "$ac_t""no" 1>&6
15767 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15768 echo "configure:15769: checking for _sincosf declaration" >&5
15769 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15770 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15771 echo $ac_n "(cached) $ac_c" 1>&6
15776 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15777 ac_cpp='$CXXCPP $CPPFLAGS'
15778 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15779 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15780 cross_compiling=$ac_cv_prog_cxx_cross
15782 cat > conftest.$ac_ext <<EOF
15783 #line 15784 "configure"
15784 #include "confdefs.h"
15790 if { (eval echo configure:15791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15792 glibcpp_cv_func__sincosf_use=yes
15794 echo "configure: failed program was:" >&5
15795 cat conftest.$ac_ext >&5
15797 glibcpp_cv_func__sincosf_use=no
15801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15802 ac_cpp='$CPP $CPPFLAGS'
15803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15805 cross_compiling=$ac_cv_prog_cc_cross
15811 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15813 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15814 for ac_func in _sincosf
15816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15817 echo "configure:15818: checking for $ac_func" >&5
15818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15819 echo $ac_n "(cached) $ac_c" 1>&6
15821 cat > conftest.$ac_ext <<EOF
15822 #line 15823 "configure"
15823 #include "confdefs.h"
15824 /* System header to define __stub macros and hopefully few prototypes,
15825 which can conflict with char $ac_func(); below. */
15826 #include <assert.h>
15827 /* Override any gcc2 internal prototype to avoid an error. */
15828 /* We use char because int might match the return type of a gcc2
15829 builtin and then its argument prototype would still apply. */
15834 /* The GNU C library defines this for functions which it implements
15835 to always fail with ENOSYS. Some functions are actually named
15836 something starting with __ and the normal name is an alias. */
15837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15845 if { (eval echo configure:15846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15847 eval "ac_cv_func_$ac_func=yes"
15849 echo "configure: failed program was:" >&5
15850 cat conftest.$ac_ext >&5
15852 eval "ac_cv_func_$ac_func=no"
15857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15858 echo "$ac_t""yes" 1>&6
15859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15860 cat >> confdefs.h <<EOF
15861 #define $ac_tr_func 1
15865 echo "$ac_t""no" 1>&6
15874 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15875 echo "configure:15876: checking for finitef declaration" >&5
15876 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15877 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15878 echo $ac_n "(cached) $ac_c" 1>&6
15883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15884 ac_cpp='$CXXCPP $CPPFLAGS'
15885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15887 cross_compiling=$ac_cv_prog_cxx_cross
15889 cat > conftest.$ac_ext <<EOF
15890 #line 15891 "configure"
15891 #include "confdefs.h"
15893 #ifdef HAVE_IEEEFP_H
15894 #include <ieeefp.h>
15901 if { (eval echo configure:15902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15903 glibcpp_cv_func_finitef_use=yes
15905 echo "configure: failed program was:" >&5
15906 cat conftest.$ac_ext >&5
15908 glibcpp_cv_func_finitef_use=no
15912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15913 ac_cpp='$CPP $CPPFLAGS'
15914 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15915 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15916 cross_compiling=$ac_cv_prog_cc_cross
15922 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15924 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15925 for ac_func in finitef
15927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15928 echo "configure:15929: checking for $ac_func" >&5
15929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15930 echo $ac_n "(cached) $ac_c" 1>&6
15932 cat > conftest.$ac_ext <<EOF
15933 #line 15934 "configure"
15934 #include "confdefs.h"
15935 /* System header to define __stub macros and hopefully few prototypes,
15936 which can conflict with char $ac_func(); below. */
15937 #include <assert.h>
15938 /* Override any gcc2 internal prototype to avoid an error. */
15939 /* We use char because int might match the return type of a gcc2
15940 builtin and then its argument prototype would still apply. */
15945 /* The GNU C library defines this for functions which it implements
15946 to always fail with ENOSYS. Some functions are actually named
15947 something starting with __ and the normal name is an alias. */
15948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15956 if { (eval echo configure:15957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15958 eval "ac_cv_func_$ac_func=yes"
15960 echo "configure: failed program was:" >&5
15961 cat conftest.$ac_ext >&5
15963 eval "ac_cv_func_$ac_func=no"
15968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15969 echo "$ac_t""yes" 1>&6
15970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15971 cat >> confdefs.h <<EOF
15972 #define $ac_tr_func 1
15976 echo "$ac_t""no" 1>&6
15982 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15983 echo "configure:15984: checking for _finitef declaration" >&5
15984 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15985 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15986 echo $ac_n "(cached) $ac_c" 1>&6
15991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15992 ac_cpp='$CXXCPP $CPPFLAGS'
15993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15995 cross_compiling=$ac_cv_prog_cxx_cross
15997 cat > conftest.$ac_ext <<EOF
15998 #line 15999 "configure"
15999 #include "confdefs.h"
16001 #ifdef HAVE_IEEEFP_H
16002 #include <ieeefp.h>
16009 if { (eval echo configure:16010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16011 glibcpp_cv_func__finitef_use=yes
16013 echo "configure: failed program was:" >&5
16014 cat conftest.$ac_ext >&5
16016 glibcpp_cv_func__finitef_use=no
16020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16021 ac_cpp='$CPP $CPPFLAGS'
16022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16024 cross_compiling=$ac_cv_prog_cc_cross
16030 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16032 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16033 for ac_func in _finitef
16035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16036 echo "configure:16037: checking for $ac_func" >&5
16037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16038 echo $ac_n "(cached) $ac_c" 1>&6
16040 cat > conftest.$ac_ext <<EOF
16041 #line 16042 "configure"
16042 #include "confdefs.h"
16043 /* System header to define __stub macros and hopefully few prototypes,
16044 which can conflict with char $ac_func(); below. */
16045 #include <assert.h>
16046 /* Override any gcc2 internal prototype to avoid an error. */
16047 /* We use char because int might match the return type of a gcc2
16048 builtin and then its argument prototype would still apply. */
16053 /* The GNU C library defines this for functions which it implements
16054 to always fail with ENOSYS. Some functions are actually named
16055 something starting with __ and the normal name is an alias. */
16056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16064 if { (eval echo configure:16065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16066 eval "ac_cv_func_$ac_func=yes"
16068 echo "configure: failed program was:" >&5
16069 cat conftest.$ac_ext >&5
16071 eval "ac_cv_func_$ac_func=no"
16076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16077 echo "$ac_t""yes" 1>&6
16078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16079 cat >> confdefs.h <<EOF
16080 #define $ac_tr_func 1
16084 echo "$ac_t""no" 1>&6
16093 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16094 echo "configure:16095: checking for long double trig functions" >&5
16095 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16096 echo $ac_n "(cached) $ac_c" 1>&6
16101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16102 ac_cpp='$CXXCPP $CPPFLAGS'
16103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16105 cross_compiling=$ac_cv_prog_cxx_cross
16107 cat > conftest.$ac_ext <<EOF
16108 #line 16109 "configure"
16109 #include "confdefs.h"
16112 `for x in acosl asinl atanl \
16114 coshl sinhl tanhl; do echo "$x (0);"; done`
16117 if { (eval echo configure:16118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16119 glibcpp_cv_func_long_double_trig_use=yes
16121 echo "configure: failed program was:" >&5
16122 cat conftest.$ac_ext >&5
16124 glibcpp_cv_func_long_double_trig_use=no
16128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16129 ac_cpp='$CPP $CPPFLAGS'
16130 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16131 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16132 cross_compiling=$ac_cv_prog_cc_cross
16136 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16137 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16138 for ac_func in acosl asinl atanl \
16142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16143 echo "configure:16144: checking for $ac_func" >&5
16144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16145 echo $ac_n "(cached) $ac_c" 1>&6
16147 cat > conftest.$ac_ext <<EOF
16148 #line 16149 "configure"
16149 #include "confdefs.h"
16150 /* System header to define __stub macros and hopefully few prototypes,
16151 which can conflict with char $ac_func(); below. */
16152 #include <assert.h>
16153 /* Override any gcc2 internal prototype to avoid an error. */
16154 /* We use char because int might match the return type of a gcc2
16155 builtin and then its argument prototype would still apply. */
16160 /* The GNU C library defines this for functions which it implements
16161 to always fail with ENOSYS. Some functions are actually named
16162 something starting with __ and the normal name is an alias. */
16163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16171 if { (eval echo configure:16172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16173 eval "ac_cv_func_$ac_func=yes"
16175 echo "configure: failed program was:" >&5
16176 cat conftest.$ac_ext >&5
16178 eval "ac_cv_func_$ac_func=no"
16183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16184 echo "$ac_t""yes" 1>&6
16185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16186 cat >> confdefs.h <<EOF
16187 #define $ac_tr_func 1
16191 echo "$ac_t""no" 1>&6
16198 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16199 echo "configure:16200: checking for long double round functions" >&5
16200 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16201 echo $ac_n "(cached) $ac_c" 1>&6
16206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16207 ac_cpp='$CXXCPP $CPPFLAGS'
16208 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16209 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16210 cross_compiling=$ac_cv_prog_cxx_cross
16212 cat > conftest.$ac_ext <<EOF
16213 #line 16214 "configure"
16214 #include "confdefs.h"
16217 `for x in ceill floorl; do echo "$x (0);"; done`
16220 if { (eval echo configure:16221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16222 glibcpp_cv_func_long_double_round_use=yes
16224 echo "configure: failed program was:" >&5
16225 cat conftest.$ac_ext >&5
16227 glibcpp_cv_func_long_double_round_use=no
16231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16232 ac_cpp='$CPP $CPPFLAGS'
16233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16235 cross_compiling=$ac_cv_prog_cc_cross
16239 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16240 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16241 for ac_func in ceill floorl
16243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16244 echo "configure:16245: checking for $ac_func" >&5
16245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16246 echo $ac_n "(cached) $ac_c" 1>&6
16248 cat > conftest.$ac_ext <<EOF
16249 #line 16250 "configure"
16250 #include "confdefs.h"
16251 /* System header to define __stub macros and hopefully few prototypes,
16252 which can conflict with char $ac_func(); below. */
16253 #include <assert.h>
16254 /* Override any gcc2 internal prototype to avoid an error. */
16255 /* We use char because int might match the return type of a gcc2
16256 builtin and then its argument prototype would still apply. */
16261 /* The GNU C library defines this for functions which it implements
16262 to always fail with ENOSYS. Some functions are actually named
16263 something starting with __ and the normal name is an alias. */
16264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16272 if { (eval echo configure:16273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16274 eval "ac_cv_func_$ac_func=yes"
16276 echo "configure: failed program was:" >&5
16277 cat conftest.$ac_ext >&5
16279 eval "ac_cv_func_$ac_func=no"
16284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16285 echo "$ac_t""yes" 1>&6
16286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16287 cat >> confdefs.h <<EOF
16288 #define $ac_tr_func 1
16292 echo "$ac_t""no" 1>&6
16300 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16301 echo "configure:16302: checking for isnanl declaration" >&5
16302 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16303 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16304 echo $ac_n "(cached) $ac_c" 1>&6
16309 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16310 ac_cpp='$CXXCPP $CPPFLAGS'
16311 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16312 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16313 cross_compiling=$ac_cv_prog_cxx_cross
16315 cat > conftest.$ac_ext <<EOF
16316 #line 16317 "configure"
16317 #include "confdefs.h"
16319 #ifdef HAVE_IEEEFP_H
16320 #include <ieeefp.h>
16327 if { (eval echo configure:16328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16329 glibcpp_cv_func_isnanl_use=yes
16331 echo "configure: failed program was:" >&5
16332 cat conftest.$ac_ext >&5
16334 glibcpp_cv_func_isnanl_use=no
16338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16339 ac_cpp='$CPP $CPPFLAGS'
16340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16342 cross_compiling=$ac_cv_prog_cc_cross
16348 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16350 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16351 for ac_func in isnanl
16353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16354 echo "configure:16355: checking for $ac_func" >&5
16355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16356 echo $ac_n "(cached) $ac_c" 1>&6
16358 cat > conftest.$ac_ext <<EOF
16359 #line 16360 "configure"
16360 #include "confdefs.h"
16361 /* System header to define __stub macros and hopefully few prototypes,
16362 which can conflict with char $ac_func(); below. */
16363 #include <assert.h>
16364 /* Override any gcc2 internal prototype to avoid an error. */
16365 /* We use char because int might match the return type of a gcc2
16366 builtin and then its argument prototype would still apply. */
16371 /* The GNU C library defines this for functions which it implements
16372 to always fail with ENOSYS. Some functions are actually named
16373 something starting with __ and the normal name is an alias. */
16374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16382 if { (eval echo configure:16383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16384 eval "ac_cv_func_$ac_func=yes"
16386 echo "configure: failed program was:" >&5
16387 cat conftest.$ac_ext >&5
16389 eval "ac_cv_func_$ac_func=no"
16394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16395 echo "$ac_t""yes" 1>&6
16396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16397 cat >> confdefs.h <<EOF
16398 #define $ac_tr_func 1
16402 echo "$ac_t""no" 1>&6
16408 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16409 echo "configure:16410: checking for _isnanl declaration" >&5
16410 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16411 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16412 echo $ac_n "(cached) $ac_c" 1>&6
16417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16421 cross_compiling=$ac_cv_prog_cxx_cross
16423 cat > conftest.$ac_ext <<EOF
16424 #line 16425 "configure"
16425 #include "confdefs.h"
16427 #ifdef HAVE_IEEEFP_H
16428 #include <ieeefp.h>
16435 if { (eval echo configure:16436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16437 glibcpp_cv_func__isnanl_use=yes
16439 echo "configure: failed program was:" >&5
16440 cat conftest.$ac_ext >&5
16442 glibcpp_cv_func__isnanl_use=no
16446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16447 ac_cpp='$CPP $CPPFLAGS'
16448 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16449 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16450 cross_compiling=$ac_cv_prog_cc_cross
16456 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16458 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16459 for ac_func in _isnanl
16461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16462 echo "configure:16463: checking for $ac_func" >&5
16463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16464 echo $ac_n "(cached) $ac_c" 1>&6
16466 cat > conftest.$ac_ext <<EOF
16467 #line 16468 "configure"
16468 #include "confdefs.h"
16469 /* System header to define __stub macros and hopefully few prototypes,
16470 which can conflict with char $ac_func(); below. */
16471 #include <assert.h>
16472 /* Override any gcc2 internal prototype to avoid an error. */
16473 /* We use char because int might match the return type of a gcc2
16474 builtin and then its argument prototype would still apply. */
16479 /* The GNU C library defines this for functions which it implements
16480 to always fail with ENOSYS. Some functions are actually named
16481 something starting with __ and the normal name is an alias. */
16482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16490 if { (eval echo configure:16491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16492 eval "ac_cv_func_$ac_func=yes"
16494 echo "configure: failed program was:" >&5
16495 cat conftest.$ac_ext >&5
16497 eval "ac_cv_func_$ac_func=no"
16502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16503 echo "$ac_t""yes" 1>&6
16504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16505 cat >> confdefs.h <<EOF
16506 #define $ac_tr_func 1
16510 echo "$ac_t""no" 1>&6
16519 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16520 echo "configure:16521: checking for isinfl declaration" >&5
16521 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16522 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16523 echo $ac_n "(cached) $ac_c" 1>&6
16528 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16529 ac_cpp='$CXXCPP $CPPFLAGS'
16530 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16531 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16532 cross_compiling=$ac_cv_prog_cxx_cross
16534 cat > conftest.$ac_ext <<EOF
16535 #line 16536 "configure"
16536 #include "confdefs.h"
16538 #ifdef HAVE_IEEEFP_H
16539 #include <ieeefp.h>
16546 if { (eval echo configure:16547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16548 glibcpp_cv_func_isinfl_use=yes
16550 echo "configure: failed program was:" >&5
16551 cat conftest.$ac_ext >&5
16553 glibcpp_cv_func_isinfl_use=no
16557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16558 ac_cpp='$CPP $CPPFLAGS'
16559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16561 cross_compiling=$ac_cv_prog_cc_cross
16567 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16569 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16570 for ac_func in isinfl
16572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16573 echo "configure:16574: checking for $ac_func" >&5
16574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16575 echo $ac_n "(cached) $ac_c" 1>&6
16577 cat > conftest.$ac_ext <<EOF
16578 #line 16579 "configure"
16579 #include "confdefs.h"
16580 /* System header to define __stub macros and hopefully few prototypes,
16581 which can conflict with char $ac_func(); below. */
16582 #include <assert.h>
16583 /* Override any gcc2 internal prototype to avoid an error. */
16584 /* We use char because int might match the return type of a gcc2
16585 builtin and then its argument prototype would still apply. */
16590 /* The GNU C library defines this for functions which it implements
16591 to always fail with ENOSYS. Some functions are actually named
16592 something starting with __ and the normal name is an alias. */
16593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16601 if { (eval echo configure:16602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16603 eval "ac_cv_func_$ac_func=yes"
16605 echo "configure: failed program was:" >&5
16606 cat conftest.$ac_ext >&5
16608 eval "ac_cv_func_$ac_func=no"
16613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16614 echo "$ac_t""yes" 1>&6
16615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16616 cat >> confdefs.h <<EOF
16617 #define $ac_tr_func 1
16621 echo "$ac_t""no" 1>&6
16627 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16628 echo "configure:16629: checking for _isinfl declaration" >&5
16629 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16630 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16631 echo $ac_n "(cached) $ac_c" 1>&6
16636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16637 ac_cpp='$CXXCPP $CPPFLAGS'
16638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16640 cross_compiling=$ac_cv_prog_cxx_cross
16642 cat > conftest.$ac_ext <<EOF
16643 #line 16644 "configure"
16644 #include "confdefs.h"
16646 #ifdef HAVE_IEEEFP_H
16647 #include <ieeefp.h>
16654 if { (eval echo configure:16655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16656 glibcpp_cv_func__isinfl_use=yes
16658 echo "configure: failed program was:" >&5
16659 cat conftest.$ac_ext >&5
16661 glibcpp_cv_func__isinfl_use=no
16665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16666 ac_cpp='$CPP $CPPFLAGS'
16667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16669 cross_compiling=$ac_cv_prog_cc_cross
16675 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16677 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16678 for ac_func in _isinfl
16680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16681 echo "configure:16682: checking for $ac_func" >&5
16682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16683 echo $ac_n "(cached) $ac_c" 1>&6
16685 cat > conftest.$ac_ext <<EOF
16686 #line 16687 "configure"
16687 #include "confdefs.h"
16688 /* System header to define __stub macros and hopefully few prototypes,
16689 which can conflict with char $ac_func(); below. */
16690 #include <assert.h>
16691 /* Override any gcc2 internal prototype to avoid an error. */
16692 /* We use char because int might match the return type of a gcc2
16693 builtin and then its argument prototype would still apply. */
16698 /* The GNU C library defines this for functions which it implements
16699 to always fail with ENOSYS. Some functions are actually named
16700 something starting with __ and the normal name is an alias. */
16701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16709 if { (eval echo configure:16710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16711 eval "ac_cv_func_$ac_func=yes"
16713 echo "configure: failed program was:" >&5
16714 cat conftest.$ac_ext >&5
16716 eval "ac_cv_func_$ac_func=no"
16721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16722 echo "$ac_t""yes" 1>&6
16723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16724 cat >> confdefs.h <<EOF
16725 #define $ac_tr_func 1
16729 echo "$ac_t""no" 1>&6
16738 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16739 echo "configure:16740: checking for copysignl declaration" >&5
16740 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16741 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16742 echo $ac_n "(cached) $ac_c" 1>&6
16747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16748 ac_cpp='$CXXCPP $CPPFLAGS'
16749 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16750 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16751 cross_compiling=$ac_cv_prog_cxx_cross
16753 cat > conftest.$ac_ext <<EOF
16754 #line 16755 "configure"
16755 #include "confdefs.h"
16761 if { (eval echo configure:16762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16763 glibcpp_cv_func_copysignl_use=yes
16765 echo "configure: failed program was:" >&5
16766 cat conftest.$ac_ext >&5
16768 glibcpp_cv_func_copysignl_use=no
16772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16773 ac_cpp='$CPP $CPPFLAGS'
16774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16776 cross_compiling=$ac_cv_prog_cc_cross
16782 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16784 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16785 for ac_func in copysignl
16787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16788 echo "configure:16789: checking for $ac_func" >&5
16789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16790 echo $ac_n "(cached) $ac_c" 1>&6
16792 cat > conftest.$ac_ext <<EOF
16793 #line 16794 "configure"
16794 #include "confdefs.h"
16795 /* System header to define __stub macros and hopefully few prototypes,
16796 which can conflict with char $ac_func(); below. */
16797 #include <assert.h>
16798 /* Override any gcc2 internal prototype to avoid an error. */
16799 /* We use char because int might match the return type of a gcc2
16800 builtin and then its argument prototype would still apply. */
16805 /* The GNU C library defines this for functions which it implements
16806 to always fail with ENOSYS. Some functions are actually named
16807 something starting with __ and the normal name is an alias. */
16808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16816 if { (eval echo configure:16817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16818 eval "ac_cv_func_$ac_func=yes"
16820 echo "configure: failed program was:" >&5
16821 cat conftest.$ac_ext >&5
16823 eval "ac_cv_func_$ac_func=no"
16828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16829 echo "$ac_t""yes" 1>&6
16830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16831 cat >> confdefs.h <<EOF
16832 #define $ac_tr_func 1
16836 echo "$ac_t""no" 1>&6
16842 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16843 echo "configure:16844: checking for _copysignl declaration" >&5
16844 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16845 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16846 echo $ac_n "(cached) $ac_c" 1>&6
16851 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16852 ac_cpp='$CXXCPP $CPPFLAGS'
16853 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16854 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16855 cross_compiling=$ac_cv_prog_cxx_cross
16857 cat > conftest.$ac_ext <<EOF
16858 #line 16859 "configure"
16859 #include "confdefs.h"
16865 if { (eval echo configure:16866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16867 glibcpp_cv_func__copysignl_use=yes
16869 echo "configure: failed program was:" >&5
16870 cat conftest.$ac_ext >&5
16872 glibcpp_cv_func__copysignl_use=no
16876 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16877 ac_cpp='$CPP $CPPFLAGS'
16878 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16879 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16880 cross_compiling=$ac_cv_prog_cc_cross
16886 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16888 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16889 for ac_func in _copysignl
16891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16892 echo "configure:16893: checking for $ac_func" >&5
16893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16894 echo $ac_n "(cached) $ac_c" 1>&6
16896 cat > conftest.$ac_ext <<EOF
16897 #line 16898 "configure"
16898 #include "confdefs.h"
16899 /* System header to define __stub macros and hopefully few prototypes,
16900 which can conflict with char $ac_func(); below. */
16901 #include <assert.h>
16902 /* Override any gcc2 internal prototype to avoid an error. */
16903 /* We use char because int might match the return type of a gcc2
16904 builtin and then its argument prototype would still apply. */
16909 /* The GNU C library defines this for functions which it implements
16910 to always fail with ENOSYS. Some functions are actually named
16911 something starting with __ and the normal name is an alias. */
16912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16920 if { (eval echo configure:16921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16922 eval "ac_cv_func_$ac_func=yes"
16924 echo "configure: failed program was:" >&5
16925 cat conftest.$ac_ext >&5
16927 eval "ac_cv_func_$ac_func=no"
16932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16933 echo "$ac_t""yes" 1>&6
16934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16935 cat >> confdefs.h <<EOF
16936 #define $ac_tr_func 1
16940 echo "$ac_t""no" 1>&6
16949 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16950 echo "configure:16951: checking for atan2l declaration" >&5
16951 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16952 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16953 echo $ac_n "(cached) $ac_c" 1>&6
16958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16959 ac_cpp='$CXXCPP $CPPFLAGS'
16960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16962 cross_compiling=$ac_cv_prog_cxx_cross
16964 cat > conftest.$ac_ext <<EOF
16965 #line 16966 "configure"
16966 #include "confdefs.h"
16972 if { (eval echo configure:16973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16974 glibcpp_cv_func_atan2l_use=yes
16976 echo "configure: failed program was:" >&5
16977 cat conftest.$ac_ext >&5
16979 glibcpp_cv_func_atan2l_use=no
16983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16984 ac_cpp='$CPP $CPPFLAGS'
16985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16987 cross_compiling=$ac_cv_prog_cc_cross
16993 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16995 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16996 for ac_func in atan2l
16998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16999 echo "configure:17000: checking for $ac_func" >&5
17000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17001 echo $ac_n "(cached) $ac_c" 1>&6
17003 cat > conftest.$ac_ext <<EOF
17004 #line 17005 "configure"
17005 #include "confdefs.h"
17006 /* System header to define __stub macros and hopefully few prototypes,
17007 which can conflict with char $ac_func(); below. */
17008 #include <assert.h>
17009 /* Override any gcc2 internal prototype to avoid an error. */
17010 /* We use char because int might match the return type of a gcc2
17011 builtin and then its argument prototype would still apply. */
17016 /* The GNU C library defines this for functions which it implements
17017 to always fail with ENOSYS. Some functions are actually named
17018 something starting with __ and the normal name is an alias. */
17019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17027 if { (eval echo configure:17028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17029 eval "ac_cv_func_$ac_func=yes"
17031 echo "configure: failed program was:" >&5
17032 cat conftest.$ac_ext >&5
17034 eval "ac_cv_func_$ac_func=no"
17039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17040 echo "$ac_t""yes" 1>&6
17041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17042 cat >> confdefs.h <<EOF
17043 #define $ac_tr_func 1
17047 echo "$ac_t""no" 1>&6
17053 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17054 echo "configure:17055: checking for _atan2l declaration" >&5
17055 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17056 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17057 echo $ac_n "(cached) $ac_c" 1>&6
17062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17063 ac_cpp='$CXXCPP $CPPFLAGS'
17064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17066 cross_compiling=$ac_cv_prog_cxx_cross
17068 cat > conftest.$ac_ext <<EOF
17069 #line 17070 "configure"
17070 #include "confdefs.h"
17076 if { (eval echo configure:17077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17078 glibcpp_cv_func__atan2l_use=yes
17080 echo "configure: failed program was:" >&5
17081 cat conftest.$ac_ext >&5
17083 glibcpp_cv_func__atan2l_use=no
17087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17088 ac_cpp='$CPP $CPPFLAGS'
17089 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17090 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17091 cross_compiling=$ac_cv_prog_cc_cross
17097 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17099 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17100 for ac_func in _atan2l
17102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17103 echo "configure:17104: checking for $ac_func" >&5
17104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17105 echo $ac_n "(cached) $ac_c" 1>&6
17107 cat > conftest.$ac_ext <<EOF
17108 #line 17109 "configure"
17109 #include "confdefs.h"
17110 /* System header to define __stub macros and hopefully few prototypes,
17111 which can conflict with char $ac_func(); below. */
17112 #include <assert.h>
17113 /* Override any gcc2 internal prototype to avoid an error. */
17114 /* We use char because int might match the return type of a gcc2
17115 builtin and then its argument prototype would still apply. */
17120 /* The GNU C library defines this for functions which it implements
17121 to always fail with ENOSYS. Some functions are actually named
17122 something starting with __ and the normal name is an alias. */
17123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17131 if { (eval echo configure:17132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17133 eval "ac_cv_func_$ac_func=yes"
17135 echo "configure: failed program was:" >&5
17136 cat conftest.$ac_ext >&5
17138 eval "ac_cv_func_$ac_func=no"
17143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17144 echo "$ac_t""yes" 1>&6
17145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17146 cat >> confdefs.h <<EOF
17147 #define $ac_tr_func 1
17151 echo "$ac_t""no" 1>&6
17160 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17161 echo "configure:17162: checking for expl declaration" >&5
17162 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17163 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17164 echo $ac_n "(cached) $ac_c" 1>&6
17169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17170 ac_cpp='$CXXCPP $CPPFLAGS'
17171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17173 cross_compiling=$ac_cv_prog_cxx_cross
17175 cat > conftest.$ac_ext <<EOF
17176 #line 17177 "configure"
17177 #include "confdefs.h"
17179 #ifdef HAVE_IEEEFP_H
17180 #include <ieeefp.h>
17187 if { (eval echo configure:17188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17189 glibcpp_cv_func_expl_use=yes
17191 echo "configure: failed program was:" >&5
17192 cat conftest.$ac_ext >&5
17194 glibcpp_cv_func_expl_use=no
17198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17199 ac_cpp='$CPP $CPPFLAGS'
17200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17202 cross_compiling=$ac_cv_prog_cc_cross
17208 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17210 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17211 for ac_func in expl
17213 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17214 echo "configure:17215: checking for $ac_func" >&5
17215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17216 echo $ac_n "(cached) $ac_c" 1>&6
17218 cat > conftest.$ac_ext <<EOF
17219 #line 17220 "configure"
17220 #include "confdefs.h"
17221 /* System header to define __stub macros and hopefully few prototypes,
17222 which can conflict with char $ac_func(); below. */
17223 #include <assert.h>
17224 /* Override any gcc2 internal prototype to avoid an error. */
17225 /* We use char because int might match the return type of a gcc2
17226 builtin and then its argument prototype would still apply. */
17231 /* The GNU C library defines this for functions which it implements
17232 to always fail with ENOSYS. Some functions are actually named
17233 something starting with __ and the normal name is an alias. */
17234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17242 if { (eval echo configure:17243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17244 eval "ac_cv_func_$ac_func=yes"
17246 echo "configure: failed program was:" >&5
17247 cat conftest.$ac_ext >&5
17249 eval "ac_cv_func_$ac_func=no"
17254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17255 echo "$ac_t""yes" 1>&6
17256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17257 cat >> confdefs.h <<EOF
17258 #define $ac_tr_func 1
17262 echo "$ac_t""no" 1>&6
17268 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17269 echo "configure:17270: checking for _expl declaration" >&5
17270 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17271 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17272 echo $ac_n "(cached) $ac_c" 1>&6
17277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17278 ac_cpp='$CXXCPP $CPPFLAGS'
17279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17281 cross_compiling=$ac_cv_prog_cxx_cross
17283 cat > conftest.$ac_ext <<EOF
17284 #line 17285 "configure"
17285 #include "confdefs.h"
17287 #ifdef HAVE_IEEEFP_H
17288 #include <ieeefp.h>
17295 if { (eval echo configure:17296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17297 glibcpp_cv_func__expl_use=yes
17299 echo "configure: failed program was:" >&5
17300 cat conftest.$ac_ext >&5
17302 glibcpp_cv_func__expl_use=no
17306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17307 ac_cpp='$CPP $CPPFLAGS'
17308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17310 cross_compiling=$ac_cv_prog_cc_cross
17316 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17318 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17319 for ac_func in _expl
17321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17322 echo "configure:17323: checking for $ac_func" >&5
17323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17324 echo $ac_n "(cached) $ac_c" 1>&6
17326 cat > conftest.$ac_ext <<EOF
17327 #line 17328 "configure"
17328 #include "confdefs.h"
17329 /* System header to define __stub macros and hopefully few prototypes,
17330 which can conflict with char $ac_func(); below. */
17331 #include <assert.h>
17332 /* Override any gcc2 internal prototype to avoid an error. */
17333 /* We use char because int might match the return type of a gcc2
17334 builtin and then its argument prototype would still apply. */
17339 /* The GNU C library defines this for functions which it implements
17340 to always fail with ENOSYS. Some functions are actually named
17341 something starting with __ and the normal name is an alias. */
17342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17350 if { (eval echo configure:17351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17352 eval "ac_cv_func_$ac_func=yes"
17354 echo "configure: failed program was:" >&5
17355 cat conftest.$ac_ext >&5
17357 eval "ac_cv_func_$ac_func=no"
17362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17363 echo "$ac_t""yes" 1>&6
17364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17365 cat >> confdefs.h <<EOF
17366 #define $ac_tr_func 1
17370 echo "$ac_t""no" 1>&6
17379 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17380 echo "configure:17381: checking for fabsl declaration" >&5
17381 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17382 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17383 echo $ac_n "(cached) $ac_c" 1>&6
17388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17389 ac_cpp='$CXXCPP $CPPFLAGS'
17390 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17391 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17392 cross_compiling=$ac_cv_prog_cxx_cross
17394 cat > conftest.$ac_ext <<EOF
17395 #line 17396 "configure"
17396 #include "confdefs.h"
17398 #ifdef HAVE_IEEEFP_H
17399 #include <ieeefp.h>
17406 if { (eval echo configure:17407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17408 glibcpp_cv_func_fabsl_use=yes
17410 echo "configure: failed program was:" >&5
17411 cat conftest.$ac_ext >&5
17413 glibcpp_cv_func_fabsl_use=no
17417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17418 ac_cpp='$CPP $CPPFLAGS'
17419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17421 cross_compiling=$ac_cv_prog_cc_cross
17427 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17429 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17430 for ac_func in fabsl
17432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17433 echo "configure:17434: checking for $ac_func" >&5
17434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17435 echo $ac_n "(cached) $ac_c" 1>&6
17437 cat > conftest.$ac_ext <<EOF
17438 #line 17439 "configure"
17439 #include "confdefs.h"
17440 /* System header to define __stub macros and hopefully few prototypes,
17441 which can conflict with char $ac_func(); below. */
17442 #include <assert.h>
17443 /* Override any gcc2 internal prototype to avoid an error. */
17444 /* We use char because int might match the return type of a gcc2
17445 builtin and then its argument prototype would still apply. */
17450 /* The GNU C library defines this for functions which it implements
17451 to always fail with ENOSYS. Some functions are actually named
17452 something starting with __ and the normal name is an alias. */
17453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17461 if { (eval echo configure:17462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17463 eval "ac_cv_func_$ac_func=yes"
17465 echo "configure: failed program was:" >&5
17466 cat conftest.$ac_ext >&5
17468 eval "ac_cv_func_$ac_func=no"
17473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17474 echo "$ac_t""yes" 1>&6
17475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17476 cat >> confdefs.h <<EOF
17477 #define $ac_tr_func 1
17481 echo "$ac_t""no" 1>&6
17487 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17488 echo "configure:17489: checking for _fabsl declaration" >&5
17489 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17490 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17491 echo $ac_n "(cached) $ac_c" 1>&6
17496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17497 ac_cpp='$CXXCPP $CPPFLAGS'
17498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17500 cross_compiling=$ac_cv_prog_cxx_cross
17502 cat > conftest.$ac_ext <<EOF
17503 #line 17504 "configure"
17504 #include "confdefs.h"
17506 #ifdef HAVE_IEEEFP_H
17507 #include <ieeefp.h>
17514 if { (eval echo configure:17515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17516 glibcpp_cv_func__fabsl_use=yes
17518 echo "configure: failed program was:" >&5
17519 cat conftest.$ac_ext >&5
17521 glibcpp_cv_func__fabsl_use=no
17525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17526 ac_cpp='$CPP $CPPFLAGS'
17527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17529 cross_compiling=$ac_cv_prog_cc_cross
17535 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17537 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17538 for ac_func in _fabsl
17540 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17541 echo "configure:17542: checking for $ac_func" >&5
17542 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17543 echo $ac_n "(cached) $ac_c" 1>&6
17545 cat > conftest.$ac_ext <<EOF
17546 #line 17547 "configure"
17547 #include "confdefs.h"
17548 /* System header to define __stub macros and hopefully few prototypes,
17549 which can conflict with char $ac_func(); below. */
17550 #include <assert.h>
17551 /* Override any gcc2 internal prototype to avoid an error. */
17552 /* We use char because int might match the return type of a gcc2
17553 builtin and then its argument prototype would still apply. */
17558 /* The GNU C library defines this for functions which it implements
17559 to always fail with ENOSYS. Some functions are actually named
17560 something starting with __ and the normal name is an alias. */
17561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17569 if { (eval echo configure:17570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17571 eval "ac_cv_func_$ac_func=yes"
17573 echo "configure: failed program was:" >&5
17574 cat conftest.$ac_ext >&5
17576 eval "ac_cv_func_$ac_func=no"
17581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17582 echo "$ac_t""yes" 1>&6
17583 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17584 cat >> confdefs.h <<EOF
17585 #define $ac_tr_func 1
17589 echo "$ac_t""no" 1>&6
17598 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17599 echo "configure:17600: checking for fmodl declaration" >&5
17600 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17601 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17602 echo $ac_n "(cached) $ac_c" 1>&6
17607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17608 ac_cpp='$CXXCPP $CPPFLAGS'
17609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17611 cross_compiling=$ac_cv_prog_cxx_cross
17613 cat > conftest.$ac_ext <<EOF
17614 #line 17615 "configure"
17615 #include "confdefs.h"
17621 if { (eval echo configure:17622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17623 glibcpp_cv_func_fmodl_use=yes
17625 echo "configure: failed program was:" >&5
17626 cat conftest.$ac_ext >&5
17628 glibcpp_cv_func_fmodl_use=no
17632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17633 ac_cpp='$CPP $CPPFLAGS'
17634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17636 cross_compiling=$ac_cv_prog_cc_cross
17642 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17644 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17645 for ac_func in fmodl
17647 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17648 echo "configure:17649: checking for $ac_func" >&5
17649 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17650 echo $ac_n "(cached) $ac_c" 1>&6
17652 cat > conftest.$ac_ext <<EOF
17653 #line 17654 "configure"
17654 #include "confdefs.h"
17655 /* System header to define __stub macros and hopefully few prototypes,
17656 which can conflict with char $ac_func(); below. */
17657 #include <assert.h>
17658 /* Override any gcc2 internal prototype to avoid an error. */
17659 /* We use char because int might match the return type of a gcc2
17660 builtin and then its argument prototype would still apply. */
17665 /* The GNU C library defines this for functions which it implements
17666 to always fail with ENOSYS. Some functions are actually named
17667 something starting with __ and the normal name is an alias. */
17668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17676 if { (eval echo configure:17677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17678 eval "ac_cv_func_$ac_func=yes"
17680 echo "configure: failed program was:" >&5
17681 cat conftest.$ac_ext >&5
17683 eval "ac_cv_func_$ac_func=no"
17688 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17689 echo "$ac_t""yes" 1>&6
17690 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17691 cat >> confdefs.h <<EOF
17692 #define $ac_tr_func 1
17696 echo "$ac_t""no" 1>&6
17702 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17703 echo "configure:17704: checking for _fmodl declaration" >&5
17704 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17705 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17706 echo $ac_n "(cached) $ac_c" 1>&6
17711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17712 ac_cpp='$CXXCPP $CPPFLAGS'
17713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17715 cross_compiling=$ac_cv_prog_cxx_cross
17717 cat > conftest.$ac_ext <<EOF
17718 #line 17719 "configure"
17719 #include "confdefs.h"
17725 if { (eval echo configure:17726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17727 glibcpp_cv_func__fmodl_use=yes
17729 echo "configure: failed program was:" >&5
17730 cat conftest.$ac_ext >&5
17732 glibcpp_cv_func__fmodl_use=no
17736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17737 ac_cpp='$CPP $CPPFLAGS'
17738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17740 cross_compiling=$ac_cv_prog_cc_cross
17746 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17748 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17749 for ac_func in _fmodl
17751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17752 echo "configure:17753: checking for $ac_func" >&5
17753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17754 echo $ac_n "(cached) $ac_c" 1>&6
17756 cat > conftest.$ac_ext <<EOF
17757 #line 17758 "configure"
17758 #include "confdefs.h"
17759 /* System header to define __stub macros and hopefully few prototypes,
17760 which can conflict with char $ac_func(); below. */
17761 #include <assert.h>
17762 /* Override any gcc2 internal prototype to avoid an error. */
17763 /* We use char because int might match the return type of a gcc2
17764 builtin and then its argument prototype would still apply. */
17769 /* The GNU C library defines this for functions which it implements
17770 to always fail with ENOSYS. Some functions are actually named
17771 something starting with __ and the normal name is an alias. */
17772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17780 if { (eval echo configure:17781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17782 eval "ac_cv_func_$ac_func=yes"
17784 echo "configure: failed program was:" >&5
17785 cat conftest.$ac_ext >&5
17787 eval "ac_cv_func_$ac_func=no"
17792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17793 echo "$ac_t""yes" 1>&6
17794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17795 cat >> confdefs.h <<EOF
17796 #define $ac_tr_func 1
17800 echo "$ac_t""no" 1>&6
17809 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17810 echo "configure:17811: checking for frexpl declaration" >&5
17811 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17812 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17813 echo $ac_n "(cached) $ac_c" 1>&6
17818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17819 ac_cpp='$CXXCPP $CPPFLAGS'
17820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17822 cross_compiling=$ac_cv_prog_cxx_cross
17824 cat > conftest.$ac_ext <<EOF
17825 #line 17826 "configure"
17826 #include "confdefs.h"
17832 if { (eval echo configure:17833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17834 glibcpp_cv_func_frexpl_use=yes
17836 echo "configure: failed program was:" >&5
17837 cat conftest.$ac_ext >&5
17839 glibcpp_cv_func_frexpl_use=no
17843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17844 ac_cpp='$CPP $CPPFLAGS'
17845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17847 cross_compiling=$ac_cv_prog_cc_cross
17853 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17855 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17856 for ac_func in frexpl
17858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17859 echo "configure:17860: checking for $ac_func" >&5
17860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17861 echo $ac_n "(cached) $ac_c" 1>&6
17863 cat > conftest.$ac_ext <<EOF
17864 #line 17865 "configure"
17865 #include "confdefs.h"
17866 /* System header to define __stub macros and hopefully few prototypes,
17867 which can conflict with char $ac_func(); below. */
17868 #include <assert.h>
17869 /* Override any gcc2 internal prototype to avoid an error. */
17870 /* We use char because int might match the return type of a gcc2
17871 builtin and then its argument prototype would still apply. */
17876 /* The GNU C library defines this for functions which it implements
17877 to always fail with ENOSYS. Some functions are actually named
17878 something starting with __ and the normal name is an alias. */
17879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17887 if { (eval echo configure:17888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17889 eval "ac_cv_func_$ac_func=yes"
17891 echo "configure: failed program was:" >&5
17892 cat conftest.$ac_ext >&5
17894 eval "ac_cv_func_$ac_func=no"
17899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17900 echo "$ac_t""yes" 1>&6
17901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17902 cat >> confdefs.h <<EOF
17903 #define $ac_tr_func 1
17907 echo "$ac_t""no" 1>&6
17913 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17914 echo "configure:17915: checking for _frexpl declaration" >&5
17915 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17916 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17917 echo $ac_n "(cached) $ac_c" 1>&6
17922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17923 ac_cpp='$CXXCPP $CPPFLAGS'
17924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17926 cross_compiling=$ac_cv_prog_cxx_cross
17928 cat > conftest.$ac_ext <<EOF
17929 #line 17930 "configure"
17930 #include "confdefs.h"
17936 if { (eval echo configure:17937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17938 glibcpp_cv_func__frexpl_use=yes
17940 echo "configure: failed program was:" >&5
17941 cat conftest.$ac_ext >&5
17943 glibcpp_cv_func__frexpl_use=no
17947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17948 ac_cpp='$CPP $CPPFLAGS'
17949 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17950 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17951 cross_compiling=$ac_cv_prog_cc_cross
17957 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17959 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17960 for ac_func in _frexpl
17962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17963 echo "configure:17964: checking for $ac_func" >&5
17964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17965 echo $ac_n "(cached) $ac_c" 1>&6
17967 cat > conftest.$ac_ext <<EOF
17968 #line 17969 "configure"
17969 #include "confdefs.h"
17970 /* System header to define __stub macros and hopefully few prototypes,
17971 which can conflict with char $ac_func(); below. */
17972 #include <assert.h>
17973 /* Override any gcc2 internal prototype to avoid an error. */
17974 /* We use char because int might match the return type of a gcc2
17975 builtin and then its argument prototype would still apply. */
17980 /* The GNU C library defines this for functions which it implements
17981 to always fail with ENOSYS. Some functions are actually named
17982 something starting with __ and the normal name is an alias. */
17983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17991 if { (eval echo configure:17992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17993 eval "ac_cv_func_$ac_func=yes"
17995 echo "configure: failed program was:" >&5
17996 cat conftest.$ac_ext >&5
17998 eval "ac_cv_func_$ac_func=no"
18003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18004 echo "$ac_t""yes" 1>&6
18005 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18006 cat >> confdefs.h <<EOF
18007 #define $ac_tr_func 1
18011 echo "$ac_t""no" 1>&6
18020 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18021 echo "configure:18022: checking for hypotl declaration" >&5
18022 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18023 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18024 echo $ac_n "(cached) $ac_c" 1>&6
18029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18030 ac_cpp='$CXXCPP $CPPFLAGS'
18031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18033 cross_compiling=$ac_cv_prog_cxx_cross
18035 cat > conftest.$ac_ext <<EOF
18036 #line 18037 "configure"
18037 #include "confdefs.h"
18043 if { (eval echo configure:18044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18045 glibcpp_cv_func_hypotl_use=yes
18047 echo "configure: failed program was:" >&5
18048 cat conftest.$ac_ext >&5
18050 glibcpp_cv_func_hypotl_use=no
18054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18055 ac_cpp='$CPP $CPPFLAGS'
18056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18058 cross_compiling=$ac_cv_prog_cc_cross
18064 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18066 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18067 for ac_func in hypotl
18069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18070 echo "configure:18071: checking for $ac_func" >&5
18071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18072 echo $ac_n "(cached) $ac_c" 1>&6
18074 cat > conftest.$ac_ext <<EOF
18075 #line 18076 "configure"
18076 #include "confdefs.h"
18077 /* System header to define __stub macros and hopefully few prototypes,
18078 which can conflict with char $ac_func(); below. */
18079 #include <assert.h>
18080 /* Override any gcc2 internal prototype to avoid an error. */
18081 /* We use char because int might match the return type of a gcc2
18082 builtin and then its argument prototype would still apply. */
18087 /* The GNU C library defines this for functions which it implements
18088 to always fail with ENOSYS. Some functions are actually named
18089 something starting with __ and the normal name is an alias. */
18090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18098 if { (eval echo configure:18099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18100 eval "ac_cv_func_$ac_func=yes"
18102 echo "configure: failed program was:" >&5
18103 cat conftest.$ac_ext >&5
18105 eval "ac_cv_func_$ac_func=no"
18110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18111 echo "$ac_t""yes" 1>&6
18112 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18113 cat >> confdefs.h <<EOF
18114 #define $ac_tr_func 1
18118 echo "$ac_t""no" 1>&6
18124 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18125 echo "configure:18126: checking for _hypotl declaration" >&5
18126 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18127 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18128 echo $ac_n "(cached) $ac_c" 1>&6
18133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18134 ac_cpp='$CXXCPP $CPPFLAGS'
18135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18137 cross_compiling=$ac_cv_prog_cxx_cross
18139 cat > conftest.$ac_ext <<EOF
18140 #line 18141 "configure"
18141 #include "confdefs.h"
18147 if { (eval echo configure:18148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18149 glibcpp_cv_func__hypotl_use=yes
18151 echo "configure: failed program was:" >&5
18152 cat conftest.$ac_ext >&5
18154 glibcpp_cv_func__hypotl_use=no
18158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18159 ac_cpp='$CPP $CPPFLAGS'
18160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18162 cross_compiling=$ac_cv_prog_cc_cross
18168 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18170 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18171 for ac_func in _hypotl
18173 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18174 echo "configure:18175: checking for $ac_func" >&5
18175 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18176 echo $ac_n "(cached) $ac_c" 1>&6
18178 cat > conftest.$ac_ext <<EOF
18179 #line 18180 "configure"
18180 #include "confdefs.h"
18181 /* System header to define __stub macros and hopefully few prototypes,
18182 which can conflict with char $ac_func(); below. */
18183 #include <assert.h>
18184 /* Override any gcc2 internal prototype to avoid an error. */
18185 /* We use char because int might match the return type of a gcc2
18186 builtin and then its argument prototype would still apply. */
18191 /* The GNU C library defines this for functions which it implements
18192 to always fail with ENOSYS. Some functions are actually named
18193 something starting with __ and the normal name is an alias. */
18194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18202 if { (eval echo configure:18203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18204 eval "ac_cv_func_$ac_func=yes"
18206 echo "configure: failed program was:" >&5
18207 cat conftest.$ac_ext >&5
18209 eval "ac_cv_func_$ac_func=no"
18214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18215 echo "$ac_t""yes" 1>&6
18216 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18217 cat >> confdefs.h <<EOF
18218 #define $ac_tr_func 1
18222 echo "$ac_t""no" 1>&6
18231 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18232 echo "configure:18233: checking for ldexpl declaration" >&5
18233 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18234 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18235 echo $ac_n "(cached) $ac_c" 1>&6
18240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18241 ac_cpp='$CXXCPP $CPPFLAGS'
18242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18244 cross_compiling=$ac_cv_prog_cxx_cross
18246 cat > conftest.$ac_ext <<EOF
18247 #line 18248 "configure"
18248 #include "confdefs.h"
18254 if { (eval echo configure:18255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18256 glibcpp_cv_func_ldexpl_use=yes
18258 echo "configure: failed program was:" >&5
18259 cat conftest.$ac_ext >&5
18261 glibcpp_cv_func_ldexpl_use=no
18265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18266 ac_cpp='$CPP $CPPFLAGS'
18267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18269 cross_compiling=$ac_cv_prog_cc_cross
18275 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18277 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18278 for ac_func in ldexpl
18280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18281 echo "configure:18282: checking for $ac_func" >&5
18282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18283 echo $ac_n "(cached) $ac_c" 1>&6
18285 cat > conftest.$ac_ext <<EOF
18286 #line 18287 "configure"
18287 #include "confdefs.h"
18288 /* System header to define __stub macros and hopefully few prototypes,
18289 which can conflict with char $ac_func(); below. */
18290 #include <assert.h>
18291 /* Override any gcc2 internal prototype to avoid an error. */
18292 /* We use char because int might match the return type of a gcc2
18293 builtin and then its argument prototype would still apply. */
18298 /* The GNU C library defines this for functions which it implements
18299 to always fail with ENOSYS. Some functions are actually named
18300 something starting with __ and the normal name is an alias. */
18301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18309 if { (eval echo configure:18310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18311 eval "ac_cv_func_$ac_func=yes"
18313 echo "configure: failed program was:" >&5
18314 cat conftest.$ac_ext >&5
18316 eval "ac_cv_func_$ac_func=no"
18321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18322 echo "$ac_t""yes" 1>&6
18323 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18324 cat >> confdefs.h <<EOF
18325 #define $ac_tr_func 1
18329 echo "$ac_t""no" 1>&6
18335 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18336 echo "configure:18337: checking for _ldexpl declaration" >&5
18337 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18338 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18339 echo $ac_n "(cached) $ac_c" 1>&6
18344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18345 ac_cpp='$CXXCPP $CPPFLAGS'
18346 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18347 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18348 cross_compiling=$ac_cv_prog_cxx_cross
18350 cat > conftest.$ac_ext <<EOF
18351 #line 18352 "configure"
18352 #include "confdefs.h"
18358 if { (eval echo configure:18359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18360 glibcpp_cv_func__ldexpl_use=yes
18362 echo "configure: failed program was:" >&5
18363 cat conftest.$ac_ext >&5
18365 glibcpp_cv_func__ldexpl_use=no
18369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18370 ac_cpp='$CPP $CPPFLAGS'
18371 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18372 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18373 cross_compiling=$ac_cv_prog_cc_cross
18379 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18381 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18382 for ac_func in _ldexpl
18384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18385 echo "configure:18386: checking for $ac_func" >&5
18386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18387 echo $ac_n "(cached) $ac_c" 1>&6
18389 cat > conftest.$ac_ext <<EOF
18390 #line 18391 "configure"
18391 #include "confdefs.h"
18392 /* System header to define __stub macros and hopefully few prototypes,
18393 which can conflict with char $ac_func(); below. */
18394 #include <assert.h>
18395 /* Override any gcc2 internal prototype to avoid an error. */
18396 /* We use char because int might match the return type of a gcc2
18397 builtin and then its argument prototype would still apply. */
18402 /* The GNU C library defines this for functions which it implements
18403 to always fail with ENOSYS. Some functions are actually named
18404 something starting with __ and the normal name is an alias. */
18405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18413 if { (eval echo configure:18414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18415 eval "ac_cv_func_$ac_func=yes"
18417 echo "configure: failed program was:" >&5
18418 cat conftest.$ac_ext >&5
18420 eval "ac_cv_func_$ac_func=no"
18425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18426 echo "$ac_t""yes" 1>&6
18427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18428 cat >> confdefs.h <<EOF
18429 #define $ac_tr_func 1
18433 echo "$ac_t""no" 1>&6
18442 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18443 echo "configure:18444: checking for logl declaration" >&5
18444 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18445 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18446 echo $ac_n "(cached) $ac_c" 1>&6
18451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18452 ac_cpp='$CXXCPP $CPPFLAGS'
18453 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18454 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18455 cross_compiling=$ac_cv_prog_cxx_cross
18457 cat > conftest.$ac_ext <<EOF
18458 #line 18459 "configure"
18459 #include "confdefs.h"
18461 #ifdef HAVE_IEEEFP_H
18462 #include <ieeefp.h>
18469 if { (eval echo configure:18470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18471 glibcpp_cv_func_logl_use=yes
18473 echo "configure: failed program was:" >&5
18474 cat conftest.$ac_ext >&5
18476 glibcpp_cv_func_logl_use=no
18480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18481 ac_cpp='$CPP $CPPFLAGS'
18482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18484 cross_compiling=$ac_cv_prog_cc_cross
18490 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18492 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18493 for ac_func in logl
18495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18496 echo "configure:18497: checking for $ac_func" >&5
18497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18498 echo $ac_n "(cached) $ac_c" 1>&6
18500 cat > conftest.$ac_ext <<EOF
18501 #line 18502 "configure"
18502 #include "confdefs.h"
18503 /* System header to define __stub macros and hopefully few prototypes,
18504 which can conflict with char $ac_func(); below. */
18505 #include <assert.h>
18506 /* Override any gcc2 internal prototype to avoid an error. */
18507 /* We use char because int might match the return type of a gcc2
18508 builtin and then its argument prototype would still apply. */
18513 /* The GNU C library defines this for functions which it implements
18514 to always fail with ENOSYS. Some functions are actually named
18515 something starting with __ and the normal name is an alias. */
18516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18524 if { (eval echo configure:18525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18526 eval "ac_cv_func_$ac_func=yes"
18528 echo "configure: failed program was:" >&5
18529 cat conftest.$ac_ext >&5
18531 eval "ac_cv_func_$ac_func=no"
18536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18537 echo "$ac_t""yes" 1>&6
18538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18539 cat >> confdefs.h <<EOF
18540 #define $ac_tr_func 1
18544 echo "$ac_t""no" 1>&6
18550 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18551 echo "configure:18552: checking for _logl declaration" >&5
18552 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18553 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18554 echo $ac_n "(cached) $ac_c" 1>&6
18559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18560 ac_cpp='$CXXCPP $CPPFLAGS'
18561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18563 cross_compiling=$ac_cv_prog_cxx_cross
18565 cat > conftest.$ac_ext <<EOF
18566 #line 18567 "configure"
18567 #include "confdefs.h"
18569 #ifdef HAVE_IEEEFP_H
18570 #include <ieeefp.h>
18577 if { (eval echo configure:18578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18579 glibcpp_cv_func__logl_use=yes
18581 echo "configure: failed program was:" >&5
18582 cat conftest.$ac_ext >&5
18584 glibcpp_cv_func__logl_use=no
18588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18589 ac_cpp='$CPP $CPPFLAGS'
18590 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18591 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18592 cross_compiling=$ac_cv_prog_cc_cross
18598 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18600 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18601 for ac_func in _logl
18603 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18604 echo "configure:18605: checking for $ac_func" >&5
18605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18606 echo $ac_n "(cached) $ac_c" 1>&6
18608 cat > conftest.$ac_ext <<EOF
18609 #line 18610 "configure"
18610 #include "confdefs.h"
18611 /* System header to define __stub macros and hopefully few prototypes,
18612 which can conflict with char $ac_func(); below. */
18613 #include <assert.h>
18614 /* Override any gcc2 internal prototype to avoid an error. */
18615 /* We use char because int might match the return type of a gcc2
18616 builtin and then its argument prototype would still apply. */
18621 /* The GNU C library defines this for functions which it implements
18622 to always fail with ENOSYS. Some functions are actually named
18623 something starting with __ and the normal name is an alias. */
18624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18632 if { (eval echo configure:18633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18634 eval "ac_cv_func_$ac_func=yes"
18636 echo "configure: failed program was:" >&5
18637 cat conftest.$ac_ext >&5
18639 eval "ac_cv_func_$ac_func=no"
18644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18645 echo "$ac_t""yes" 1>&6
18646 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18647 cat >> confdefs.h <<EOF
18648 #define $ac_tr_func 1
18652 echo "$ac_t""no" 1>&6
18661 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18662 echo "configure:18663: checking for log10l declaration" >&5
18663 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18664 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18665 echo $ac_n "(cached) $ac_c" 1>&6
18670 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18671 ac_cpp='$CXXCPP $CPPFLAGS'
18672 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18673 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18674 cross_compiling=$ac_cv_prog_cxx_cross
18676 cat > conftest.$ac_ext <<EOF
18677 #line 18678 "configure"
18678 #include "confdefs.h"
18680 #ifdef HAVE_IEEEFP_H
18681 #include <ieeefp.h>
18688 if { (eval echo configure:18689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18690 glibcpp_cv_func_log10l_use=yes
18692 echo "configure: failed program was:" >&5
18693 cat conftest.$ac_ext >&5
18695 glibcpp_cv_func_log10l_use=no
18699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18700 ac_cpp='$CPP $CPPFLAGS'
18701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18703 cross_compiling=$ac_cv_prog_cc_cross
18709 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18711 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18712 for ac_func in log10l
18714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18715 echo "configure:18716: checking for $ac_func" >&5
18716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18717 echo $ac_n "(cached) $ac_c" 1>&6
18719 cat > conftest.$ac_ext <<EOF
18720 #line 18721 "configure"
18721 #include "confdefs.h"
18722 /* System header to define __stub macros and hopefully few prototypes,
18723 which can conflict with char $ac_func(); below. */
18724 #include <assert.h>
18725 /* Override any gcc2 internal prototype to avoid an error. */
18726 /* We use char because int might match the return type of a gcc2
18727 builtin and then its argument prototype would still apply. */
18732 /* The GNU C library defines this for functions which it implements
18733 to always fail with ENOSYS. Some functions are actually named
18734 something starting with __ and the normal name is an alias. */
18735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18743 if { (eval echo configure:18744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18745 eval "ac_cv_func_$ac_func=yes"
18747 echo "configure: failed program was:" >&5
18748 cat conftest.$ac_ext >&5
18750 eval "ac_cv_func_$ac_func=no"
18755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18756 echo "$ac_t""yes" 1>&6
18757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18758 cat >> confdefs.h <<EOF
18759 #define $ac_tr_func 1
18763 echo "$ac_t""no" 1>&6
18769 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18770 echo "configure:18771: checking for _log10l declaration" >&5
18771 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18772 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18773 echo $ac_n "(cached) $ac_c" 1>&6
18778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18779 ac_cpp='$CXXCPP $CPPFLAGS'
18780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18782 cross_compiling=$ac_cv_prog_cxx_cross
18784 cat > conftest.$ac_ext <<EOF
18785 #line 18786 "configure"
18786 #include "confdefs.h"
18788 #ifdef HAVE_IEEEFP_H
18789 #include <ieeefp.h>
18796 if { (eval echo configure:18797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18798 glibcpp_cv_func__log10l_use=yes
18800 echo "configure: failed program was:" >&5
18801 cat conftest.$ac_ext >&5
18803 glibcpp_cv_func__log10l_use=no
18807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18808 ac_cpp='$CPP $CPPFLAGS'
18809 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18810 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18811 cross_compiling=$ac_cv_prog_cc_cross
18817 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18819 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18820 for ac_func in _log10l
18822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18823 echo "configure:18824: checking for $ac_func" >&5
18824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18825 echo $ac_n "(cached) $ac_c" 1>&6
18827 cat > conftest.$ac_ext <<EOF
18828 #line 18829 "configure"
18829 #include "confdefs.h"
18830 /* System header to define __stub macros and hopefully few prototypes,
18831 which can conflict with char $ac_func(); below. */
18832 #include <assert.h>
18833 /* Override any gcc2 internal prototype to avoid an error. */
18834 /* We use char because int might match the return type of a gcc2
18835 builtin and then its argument prototype would still apply. */
18840 /* The GNU C library defines this for functions which it implements
18841 to always fail with ENOSYS. Some functions are actually named
18842 something starting with __ and the normal name is an alias. */
18843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18851 if { (eval echo configure:18852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18853 eval "ac_cv_func_$ac_func=yes"
18855 echo "configure: failed program was:" >&5
18856 cat conftest.$ac_ext >&5
18858 eval "ac_cv_func_$ac_func=no"
18863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18864 echo "$ac_t""yes" 1>&6
18865 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18866 cat >> confdefs.h <<EOF
18867 #define $ac_tr_func 1
18871 echo "$ac_t""no" 1>&6
18880 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18881 echo "configure:18882: checking for modfl declaration" >&5
18882 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18883 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18884 echo $ac_n "(cached) $ac_c" 1>&6
18889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18890 ac_cpp='$CXXCPP $CPPFLAGS'
18891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18893 cross_compiling=$ac_cv_prog_cxx_cross
18895 cat > conftest.$ac_ext <<EOF
18896 #line 18897 "configure"
18897 #include "confdefs.h"
18903 if { (eval echo configure:18904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18905 glibcpp_cv_func_modfl_use=yes
18907 echo "configure: failed program was:" >&5
18908 cat conftest.$ac_ext >&5
18910 glibcpp_cv_func_modfl_use=no
18914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18915 ac_cpp='$CPP $CPPFLAGS'
18916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18918 cross_compiling=$ac_cv_prog_cc_cross
18924 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18926 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18927 for ac_func in modfl
18929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18930 echo "configure:18931: checking for $ac_func" >&5
18931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18932 echo $ac_n "(cached) $ac_c" 1>&6
18934 cat > conftest.$ac_ext <<EOF
18935 #line 18936 "configure"
18936 #include "confdefs.h"
18937 /* System header to define __stub macros and hopefully few prototypes,
18938 which can conflict with char $ac_func(); below. */
18939 #include <assert.h>
18940 /* Override any gcc2 internal prototype to avoid an error. */
18941 /* We use char because int might match the return type of a gcc2
18942 builtin and then its argument prototype would still apply. */
18947 /* The GNU C library defines this for functions which it implements
18948 to always fail with ENOSYS. Some functions are actually named
18949 something starting with __ and the normal name is an alias. */
18950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18958 if { (eval echo configure:18959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18960 eval "ac_cv_func_$ac_func=yes"
18962 echo "configure: failed program was:" >&5
18963 cat conftest.$ac_ext >&5
18965 eval "ac_cv_func_$ac_func=no"
18970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18971 echo "$ac_t""yes" 1>&6
18972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18973 cat >> confdefs.h <<EOF
18974 #define $ac_tr_func 1
18978 echo "$ac_t""no" 1>&6
18984 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18985 echo "configure:18986: checking for _modfl declaration" >&5
18986 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18987 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18988 echo $ac_n "(cached) $ac_c" 1>&6
18993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18994 ac_cpp='$CXXCPP $CPPFLAGS'
18995 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18996 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18997 cross_compiling=$ac_cv_prog_cxx_cross
18999 cat > conftest.$ac_ext <<EOF
19000 #line 19001 "configure"
19001 #include "confdefs.h"
19007 if { (eval echo configure:19008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19009 glibcpp_cv_func__modfl_use=yes
19011 echo "configure: failed program was:" >&5
19012 cat conftest.$ac_ext >&5
19014 glibcpp_cv_func__modfl_use=no
19018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19019 ac_cpp='$CPP $CPPFLAGS'
19020 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19021 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19022 cross_compiling=$ac_cv_prog_cc_cross
19028 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19030 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19031 for ac_func in _modfl
19033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19034 echo "configure:19035: checking for $ac_func" >&5
19035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19036 echo $ac_n "(cached) $ac_c" 1>&6
19038 cat > conftest.$ac_ext <<EOF
19039 #line 19040 "configure"
19040 #include "confdefs.h"
19041 /* System header to define __stub macros and hopefully few prototypes,
19042 which can conflict with char $ac_func(); below. */
19043 #include <assert.h>
19044 /* Override any gcc2 internal prototype to avoid an error. */
19045 /* We use char because int might match the return type of a gcc2
19046 builtin and then its argument prototype would still apply. */
19051 /* The GNU C library defines this for functions which it implements
19052 to always fail with ENOSYS. Some functions are actually named
19053 something starting with __ and the normal name is an alias. */
19054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19062 if { (eval echo configure:19063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19064 eval "ac_cv_func_$ac_func=yes"
19066 echo "configure: failed program was:" >&5
19067 cat conftest.$ac_ext >&5
19069 eval "ac_cv_func_$ac_func=no"
19074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19075 echo "$ac_t""yes" 1>&6
19076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19077 cat >> confdefs.h <<EOF
19078 #define $ac_tr_func 1
19082 echo "$ac_t""no" 1>&6
19091 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19092 echo "configure:19093: checking for powl declaration" >&5
19093 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19094 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19095 echo $ac_n "(cached) $ac_c" 1>&6
19100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19101 ac_cpp='$CXXCPP $CPPFLAGS'
19102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19104 cross_compiling=$ac_cv_prog_cxx_cross
19106 cat > conftest.$ac_ext <<EOF
19107 #line 19108 "configure"
19108 #include "confdefs.h"
19114 if { (eval echo configure:19115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19116 glibcpp_cv_func_powl_use=yes
19118 echo "configure: failed program was:" >&5
19119 cat conftest.$ac_ext >&5
19121 glibcpp_cv_func_powl_use=no
19125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19126 ac_cpp='$CPP $CPPFLAGS'
19127 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19128 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19129 cross_compiling=$ac_cv_prog_cc_cross
19135 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19137 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19138 for ac_func in powl
19140 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19141 echo "configure:19142: checking for $ac_func" >&5
19142 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19143 echo $ac_n "(cached) $ac_c" 1>&6
19145 cat > conftest.$ac_ext <<EOF
19146 #line 19147 "configure"
19147 #include "confdefs.h"
19148 /* System header to define __stub macros and hopefully few prototypes,
19149 which can conflict with char $ac_func(); below. */
19150 #include <assert.h>
19151 /* Override any gcc2 internal prototype to avoid an error. */
19152 /* We use char because int might match the return type of a gcc2
19153 builtin and then its argument prototype would still apply. */
19158 /* The GNU C library defines this for functions which it implements
19159 to always fail with ENOSYS. Some functions are actually named
19160 something starting with __ and the normal name is an alias. */
19161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19169 if { (eval echo configure:19170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19171 eval "ac_cv_func_$ac_func=yes"
19173 echo "configure: failed program was:" >&5
19174 cat conftest.$ac_ext >&5
19176 eval "ac_cv_func_$ac_func=no"
19181 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19182 echo "$ac_t""yes" 1>&6
19183 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19184 cat >> confdefs.h <<EOF
19185 #define $ac_tr_func 1
19189 echo "$ac_t""no" 1>&6
19195 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19196 echo "configure:19197: checking for _powl declaration" >&5
19197 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19198 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19199 echo $ac_n "(cached) $ac_c" 1>&6
19204 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19205 ac_cpp='$CXXCPP $CPPFLAGS'
19206 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19207 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19208 cross_compiling=$ac_cv_prog_cxx_cross
19210 cat > conftest.$ac_ext <<EOF
19211 #line 19212 "configure"
19212 #include "confdefs.h"
19218 if { (eval echo configure:19219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19220 glibcpp_cv_func__powl_use=yes
19222 echo "configure: failed program was:" >&5
19223 cat conftest.$ac_ext >&5
19225 glibcpp_cv_func__powl_use=no
19229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19230 ac_cpp='$CPP $CPPFLAGS'
19231 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19232 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19233 cross_compiling=$ac_cv_prog_cc_cross
19239 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19241 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19242 for ac_func in _powl
19244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19245 echo "configure:19246: checking for $ac_func" >&5
19246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19247 echo $ac_n "(cached) $ac_c" 1>&6
19249 cat > conftest.$ac_ext <<EOF
19250 #line 19251 "configure"
19251 #include "confdefs.h"
19252 /* System header to define __stub macros and hopefully few prototypes,
19253 which can conflict with char $ac_func(); below. */
19254 #include <assert.h>
19255 /* Override any gcc2 internal prototype to avoid an error. */
19256 /* We use char because int might match the return type of a gcc2
19257 builtin and then its argument prototype would still apply. */
19262 /* The GNU C library defines this for functions which it implements
19263 to always fail with ENOSYS. Some functions are actually named
19264 something starting with __ and the normal name is an alias. */
19265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19273 if { (eval echo configure:19274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19275 eval "ac_cv_func_$ac_func=yes"
19277 echo "configure: failed program was:" >&5
19278 cat conftest.$ac_ext >&5
19280 eval "ac_cv_func_$ac_func=no"
19285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19286 echo "$ac_t""yes" 1>&6
19287 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19288 cat >> confdefs.h <<EOF
19289 #define $ac_tr_func 1
19293 echo "$ac_t""no" 1>&6
19302 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19303 echo "configure:19304: checking for sqrtl declaration" >&5
19304 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19305 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19306 echo $ac_n "(cached) $ac_c" 1>&6
19311 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19312 ac_cpp='$CXXCPP $CPPFLAGS'
19313 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19314 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19315 cross_compiling=$ac_cv_prog_cxx_cross
19317 cat > conftest.$ac_ext <<EOF
19318 #line 19319 "configure"
19319 #include "confdefs.h"
19321 #ifdef HAVE_IEEEFP_H
19322 #include <ieeefp.h>
19329 if { (eval echo configure:19330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19331 glibcpp_cv_func_sqrtl_use=yes
19333 echo "configure: failed program was:" >&5
19334 cat conftest.$ac_ext >&5
19336 glibcpp_cv_func_sqrtl_use=no
19340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19341 ac_cpp='$CPP $CPPFLAGS'
19342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19344 cross_compiling=$ac_cv_prog_cc_cross
19350 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19352 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19353 for ac_func in sqrtl
19355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19356 echo "configure:19357: checking for $ac_func" >&5
19357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19358 echo $ac_n "(cached) $ac_c" 1>&6
19360 cat > conftest.$ac_ext <<EOF
19361 #line 19362 "configure"
19362 #include "confdefs.h"
19363 /* System header to define __stub macros and hopefully few prototypes,
19364 which can conflict with char $ac_func(); below. */
19365 #include <assert.h>
19366 /* Override any gcc2 internal prototype to avoid an error. */
19367 /* We use char because int might match the return type of a gcc2
19368 builtin and then its argument prototype would still apply. */
19373 /* The GNU C library defines this for functions which it implements
19374 to always fail with ENOSYS. Some functions are actually named
19375 something starting with __ and the normal name is an alias. */
19376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19384 if { (eval echo configure:19385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19386 eval "ac_cv_func_$ac_func=yes"
19388 echo "configure: failed program was:" >&5
19389 cat conftest.$ac_ext >&5
19391 eval "ac_cv_func_$ac_func=no"
19396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19397 echo "$ac_t""yes" 1>&6
19398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19399 cat >> confdefs.h <<EOF
19400 #define $ac_tr_func 1
19404 echo "$ac_t""no" 1>&6
19410 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19411 echo "configure:19412: checking for _sqrtl declaration" >&5
19412 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19413 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19414 echo $ac_n "(cached) $ac_c" 1>&6
19419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19420 ac_cpp='$CXXCPP $CPPFLAGS'
19421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19423 cross_compiling=$ac_cv_prog_cxx_cross
19425 cat > conftest.$ac_ext <<EOF
19426 #line 19427 "configure"
19427 #include "confdefs.h"
19429 #ifdef HAVE_IEEEFP_H
19430 #include <ieeefp.h>
19437 if { (eval echo configure:19438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19439 glibcpp_cv_func__sqrtl_use=yes
19441 echo "configure: failed program was:" >&5
19442 cat conftest.$ac_ext >&5
19444 glibcpp_cv_func__sqrtl_use=no
19448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19449 ac_cpp='$CPP $CPPFLAGS'
19450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19452 cross_compiling=$ac_cv_prog_cc_cross
19458 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19460 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19461 for ac_func in _sqrtl
19463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19464 echo "configure:19465: checking for $ac_func" >&5
19465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19466 echo $ac_n "(cached) $ac_c" 1>&6
19468 cat > conftest.$ac_ext <<EOF
19469 #line 19470 "configure"
19470 #include "confdefs.h"
19471 /* System header to define __stub macros and hopefully few prototypes,
19472 which can conflict with char $ac_func(); below. */
19473 #include <assert.h>
19474 /* Override any gcc2 internal prototype to avoid an error. */
19475 /* We use char because int might match the return type of a gcc2
19476 builtin and then its argument prototype would still apply. */
19481 /* The GNU C library defines this for functions which it implements
19482 to always fail with ENOSYS. Some functions are actually named
19483 something starting with __ and the normal name is an alias. */
19484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19492 if { (eval echo configure:19493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19494 eval "ac_cv_func_$ac_func=yes"
19496 echo "configure: failed program was:" >&5
19497 cat conftest.$ac_ext >&5
19499 eval "ac_cv_func_$ac_func=no"
19504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19505 echo "$ac_t""yes" 1>&6
19506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19507 cat >> confdefs.h <<EOF
19508 #define $ac_tr_func 1
19512 echo "$ac_t""no" 1>&6
19521 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19522 echo "configure:19523: checking for sincosl declaration" >&5
19523 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19524 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19525 echo $ac_n "(cached) $ac_c" 1>&6
19530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19531 ac_cpp='$CXXCPP $CPPFLAGS'
19532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19534 cross_compiling=$ac_cv_prog_cxx_cross
19536 cat > conftest.$ac_ext <<EOF
19537 #line 19538 "configure"
19538 #include "confdefs.h"
19544 if { (eval echo configure:19545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19546 glibcpp_cv_func_sincosl_use=yes
19548 echo "configure: failed program was:" >&5
19549 cat conftest.$ac_ext >&5
19551 glibcpp_cv_func_sincosl_use=no
19555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19556 ac_cpp='$CPP $CPPFLAGS'
19557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19559 cross_compiling=$ac_cv_prog_cc_cross
19565 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19567 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19568 for ac_func in sincosl
19570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19571 echo "configure:19572: checking for $ac_func" >&5
19572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19573 echo $ac_n "(cached) $ac_c" 1>&6
19575 cat > conftest.$ac_ext <<EOF
19576 #line 19577 "configure"
19577 #include "confdefs.h"
19578 /* System header to define __stub macros and hopefully few prototypes,
19579 which can conflict with char $ac_func(); below. */
19580 #include <assert.h>
19581 /* Override any gcc2 internal prototype to avoid an error. */
19582 /* We use char because int might match the return type of a gcc2
19583 builtin and then its argument prototype would still apply. */
19588 /* The GNU C library defines this for functions which it implements
19589 to always fail with ENOSYS. Some functions are actually named
19590 something starting with __ and the normal name is an alias. */
19591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19599 if { (eval echo configure:19600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19601 eval "ac_cv_func_$ac_func=yes"
19603 echo "configure: failed program was:" >&5
19604 cat conftest.$ac_ext >&5
19606 eval "ac_cv_func_$ac_func=no"
19611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19612 echo "$ac_t""yes" 1>&6
19613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19614 cat >> confdefs.h <<EOF
19615 #define $ac_tr_func 1
19619 echo "$ac_t""no" 1>&6
19625 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19626 echo "configure:19627: checking for _sincosl declaration" >&5
19627 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19628 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19629 echo $ac_n "(cached) $ac_c" 1>&6
19634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19635 ac_cpp='$CXXCPP $CPPFLAGS'
19636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19638 cross_compiling=$ac_cv_prog_cxx_cross
19640 cat > conftest.$ac_ext <<EOF
19641 #line 19642 "configure"
19642 #include "confdefs.h"
19648 if { (eval echo configure:19649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19650 glibcpp_cv_func__sincosl_use=yes
19652 echo "configure: failed program was:" >&5
19653 cat conftest.$ac_ext >&5
19655 glibcpp_cv_func__sincosl_use=no
19659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19660 ac_cpp='$CPP $CPPFLAGS'
19661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19663 cross_compiling=$ac_cv_prog_cc_cross
19669 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19671 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19672 for ac_func in _sincosl
19674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19675 echo "configure:19676: checking for $ac_func" >&5
19676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19677 echo $ac_n "(cached) $ac_c" 1>&6
19679 cat > conftest.$ac_ext <<EOF
19680 #line 19681 "configure"
19681 #include "confdefs.h"
19682 /* System header to define __stub macros and hopefully few prototypes,
19683 which can conflict with char $ac_func(); below. */
19684 #include <assert.h>
19685 /* Override any gcc2 internal prototype to avoid an error. */
19686 /* We use char because int might match the return type of a gcc2
19687 builtin and then its argument prototype would still apply. */
19692 /* The GNU C library defines this for functions which it implements
19693 to always fail with ENOSYS. Some functions are actually named
19694 something starting with __ and the normal name is an alias. */
19695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19703 if { (eval echo configure:19704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19705 eval "ac_cv_func_$ac_func=yes"
19707 echo "configure: failed program was:" >&5
19708 cat conftest.$ac_ext >&5
19710 eval "ac_cv_func_$ac_func=no"
19715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19716 echo "$ac_t""yes" 1>&6
19717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19718 cat >> confdefs.h <<EOF
19719 #define $ac_tr_func 1
19723 echo "$ac_t""no" 1>&6
19732 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19733 echo "configure:19734: checking for finitel declaration" >&5
19734 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19735 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19736 echo $ac_n "(cached) $ac_c" 1>&6
19741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19742 ac_cpp='$CXXCPP $CPPFLAGS'
19743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19745 cross_compiling=$ac_cv_prog_cxx_cross
19747 cat > conftest.$ac_ext <<EOF
19748 #line 19749 "configure"
19749 #include "confdefs.h"
19751 #ifdef HAVE_IEEEFP_H
19752 #include <ieeefp.h>
19759 if { (eval echo configure:19760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19761 glibcpp_cv_func_finitel_use=yes
19763 echo "configure: failed program was:" >&5
19764 cat conftest.$ac_ext >&5
19766 glibcpp_cv_func_finitel_use=no
19770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19771 ac_cpp='$CPP $CPPFLAGS'
19772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19774 cross_compiling=$ac_cv_prog_cc_cross
19780 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19782 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19783 for ac_func in finitel
19785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19786 echo "configure:19787: checking for $ac_func" >&5
19787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19788 echo $ac_n "(cached) $ac_c" 1>&6
19790 cat > conftest.$ac_ext <<EOF
19791 #line 19792 "configure"
19792 #include "confdefs.h"
19793 /* System header to define __stub macros and hopefully few prototypes,
19794 which can conflict with char $ac_func(); below. */
19795 #include <assert.h>
19796 /* Override any gcc2 internal prototype to avoid an error. */
19797 /* We use char because int might match the return type of a gcc2
19798 builtin and then its argument prototype would still apply. */
19803 /* The GNU C library defines this for functions which it implements
19804 to always fail with ENOSYS. Some functions are actually named
19805 something starting with __ and the normal name is an alias. */
19806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19814 if { (eval echo configure:19815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19816 eval "ac_cv_func_$ac_func=yes"
19818 echo "configure: failed program was:" >&5
19819 cat conftest.$ac_ext >&5
19821 eval "ac_cv_func_$ac_func=no"
19826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19827 echo "$ac_t""yes" 1>&6
19828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19829 cat >> confdefs.h <<EOF
19830 #define $ac_tr_func 1
19834 echo "$ac_t""no" 1>&6
19840 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19841 echo "configure:19842: checking for _finitel declaration" >&5
19842 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19843 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19844 echo $ac_n "(cached) $ac_c" 1>&6
19849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19850 ac_cpp='$CXXCPP $CPPFLAGS'
19851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19853 cross_compiling=$ac_cv_prog_cxx_cross
19855 cat > conftest.$ac_ext <<EOF
19856 #line 19857 "configure"
19857 #include "confdefs.h"
19859 #ifdef HAVE_IEEEFP_H
19860 #include <ieeefp.h>
19867 if { (eval echo configure:19868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19869 glibcpp_cv_func__finitel_use=yes
19871 echo "configure: failed program was:" >&5
19872 cat conftest.$ac_ext >&5
19874 glibcpp_cv_func__finitel_use=no
19878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19879 ac_cpp='$CPP $CPPFLAGS'
19880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19882 cross_compiling=$ac_cv_prog_cc_cross
19888 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19890 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19891 for ac_func in _finitel
19893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19894 echo "configure:19895: checking for $ac_func" >&5
19895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19896 echo $ac_n "(cached) $ac_c" 1>&6
19898 cat > conftest.$ac_ext <<EOF
19899 #line 19900 "configure"
19900 #include "confdefs.h"
19901 /* System header to define __stub macros and hopefully few prototypes,
19902 which can conflict with char $ac_func(); below. */
19903 #include <assert.h>
19904 /* Override any gcc2 internal prototype to avoid an error. */
19905 /* We use char because int might match the return type of a gcc2
19906 builtin and then its argument prototype would still apply. */
19911 /* The GNU C library defines this for functions which it implements
19912 to always fail with ENOSYS. Some functions are actually named
19913 something starting with __ and the normal name is an alias. */
19914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19922 if { (eval echo configure:19923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19924 eval "ac_cv_func_$ac_func=yes"
19926 echo "configure: failed program was:" >&5
19927 cat conftest.$ac_ext >&5
19929 eval "ac_cv_func_$ac_func=no"
19934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19935 echo "$ac_t""yes" 1>&6
19936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19937 cat >> confdefs.h <<EOF
19938 #define $ac_tr_func 1
19942 echo "$ac_t""no" 1>&6
19952 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19953 echo "configure:19954: checking for _float trig functions" >&5
19954 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19955 echo $ac_n "(cached) $ac_c" 1>&6
19960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19961 ac_cpp='$CXXCPP $CPPFLAGS'
19962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19964 cross_compiling=$ac_cv_prog_cxx_cross
19966 cat > conftest.$ac_ext <<EOF
19967 #line 19968 "configure"
19968 #include "confdefs.h"
19971 `for x in _acosf _asinf _atanf \
19972 _cosf _sinf _tanf \
19973 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19976 if { (eval echo configure:19977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19978 glibcpp_cv_func__float_trig_use=yes
19980 echo "configure: failed program was:" >&5
19981 cat conftest.$ac_ext >&5
19983 glibcpp_cv_func__float_trig_use=no
19987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19988 ac_cpp='$CPP $CPPFLAGS'
19989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19991 cross_compiling=$ac_cv_prog_cc_cross
19995 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19996 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19997 for ac_func in _acosf _asinf _atanf \
19998 _cosf _sinf _tanf \
19999 _coshf _sinhf _tanhf
20001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20002 echo "configure:20003: checking for $ac_func" >&5
20003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20004 echo $ac_n "(cached) $ac_c" 1>&6
20006 cat > conftest.$ac_ext <<EOF
20007 #line 20008 "configure"
20008 #include "confdefs.h"
20009 /* System header to define __stub macros and hopefully few prototypes,
20010 which can conflict with char $ac_func(); below. */
20011 #include <assert.h>
20012 /* Override any gcc2 internal prototype to avoid an error. */
20013 /* We use char because int might match the return type of a gcc2
20014 builtin and then its argument prototype would still apply. */
20019 /* The GNU C library defines this for functions which it implements
20020 to always fail with ENOSYS. Some functions are actually named
20021 something starting with __ and the normal name is an alias. */
20022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20030 if { (eval echo configure:20031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20032 eval "ac_cv_func_$ac_func=yes"
20034 echo "configure: failed program was:" >&5
20035 cat conftest.$ac_ext >&5
20037 eval "ac_cv_func_$ac_func=no"
20042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20043 echo "$ac_t""yes" 1>&6
20044 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20045 cat >> confdefs.h <<EOF
20046 #define $ac_tr_func 1
20050 echo "$ac_t""no" 1>&6
20057 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20058 echo "configure:20059: checking for _float round functions" >&5
20059 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20060 echo $ac_n "(cached) $ac_c" 1>&6
20065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20066 ac_cpp='$CXXCPP $CPPFLAGS'
20067 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20068 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20069 cross_compiling=$ac_cv_prog_cxx_cross
20071 cat > conftest.$ac_ext <<EOF
20072 #line 20073 "configure"
20073 #include "confdefs.h"
20076 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20079 if { (eval echo configure:20080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20081 glibcpp_cv_func__float_round_use=yes
20083 echo "configure: failed program was:" >&5
20084 cat conftest.$ac_ext >&5
20086 glibcpp_cv_func__float_round_use=no
20090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20091 ac_cpp='$CPP $CPPFLAGS'
20092 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20093 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20094 cross_compiling=$ac_cv_prog_cc_cross
20098 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20099 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20100 for ac_func in _ceilf _floorf
20102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20103 echo "configure:20104: checking for $ac_func" >&5
20104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20105 echo $ac_n "(cached) $ac_c" 1>&6
20107 cat > conftest.$ac_ext <<EOF
20108 #line 20109 "configure"
20109 #include "confdefs.h"
20110 /* System header to define __stub macros and hopefully few prototypes,
20111 which can conflict with char $ac_func(); below. */
20112 #include <assert.h>
20113 /* Override any gcc2 internal prototype to avoid an error. */
20114 /* We use char because int might match the return type of a gcc2
20115 builtin and then its argument prototype would still apply. */
20120 /* The GNU C library defines this for functions which it implements
20121 to always fail with ENOSYS. Some functions are actually named
20122 something starting with __ and the normal name is an alias. */
20123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20131 if { (eval echo configure:20132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20133 eval "ac_cv_func_$ac_func=yes"
20135 echo "configure: failed program was:" >&5
20136 cat conftest.$ac_ext >&5
20138 eval "ac_cv_func_$ac_func=no"
20143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20144 echo "$ac_t""yes" 1>&6
20145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20146 cat >> confdefs.h <<EOF
20147 #define $ac_tr_func 1
20151 echo "$ac_t""no" 1>&6
20159 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20160 echo "configure:20161: checking for _long double trig functions" >&5
20161 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20162 echo $ac_n "(cached) $ac_c" 1>&6
20167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20168 ac_cpp='$CXXCPP $CPPFLAGS'
20169 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20170 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20171 cross_compiling=$ac_cv_prog_cxx_cross
20173 cat > conftest.$ac_ext <<EOF
20174 #line 20175 "configure"
20175 #include "confdefs.h"
20178 `for x in _acosl _asinl _atanl \
20179 _cosl _sinl _tanl \
20180 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20183 if { (eval echo configure:20184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20185 glibcpp_cv_func__long_double_trig_use=yes
20187 echo "configure: failed program was:" >&5
20188 cat conftest.$ac_ext >&5
20190 glibcpp_cv_func__long_double_trig_use=no
20194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20195 ac_cpp='$CPP $CPPFLAGS'
20196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20198 cross_compiling=$ac_cv_prog_cc_cross
20202 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20203 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20204 for ac_func in _acosl _asinl _atanl \
20205 _cosl _sinl _tanl \
20206 _coshl _sinhl _tanhl
20208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20209 echo "configure:20210: checking for $ac_func" >&5
20210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20211 echo $ac_n "(cached) $ac_c" 1>&6
20213 cat > conftest.$ac_ext <<EOF
20214 #line 20215 "configure"
20215 #include "confdefs.h"
20216 /* System header to define __stub macros and hopefully few prototypes,
20217 which can conflict with char $ac_func(); below. */
20218 #include <assert.h>
20219 /* Override any gcc2 internal prototype to avoid an error. */
20220 /* We use char because int might match the return type of a gcc2
20221 builtin and then its argument prototype would still apply. */
20226 /* The GNU C library defines this for functions which it implements
20227 to always fail with ENOSYS. Some functions are actually named
20228 something starting with __ and the normal name is an alias. */
20229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20237 if { (eval echo configure:20238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20239 eval "ac_cv_func_$ac_func=yes"
20241 echo "configure: failed program was:" >&5
20242 cat conftest.$ac_ext >&5
20244 eval "ac_cv_func_$ac_func=no"
20249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20250 echo "$ac_t""yes" 1>&6
20251 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20252 cat >> confdefs.h <<EOF
20253 #define $ac_tr_func 1
20257 echo "$ac_t""no" 1>&6
20264 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20265 echo "configure:20266: checking for _long double round functions" >&5
20266 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20267 echo $ac_n "(cached) $ac_c" 1>&6
20272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20273 ac_cpp='$CXXCPP $CPPFLAGS'
20274 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20275 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20276 cross_compiling=$ac_cv_prog_cxx_cross
20278 cat > conftest.$ac_ext <<EOF
20279 #line 20280 "configure"
20280 #include "confdefs.h"
20283 `for x in _ceill _floorl; do echo "$x (0);"; done`
20286 if { (eval echo configure:20287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20288 glibcpp_cv_func__long_double_round_use=yes
20290 echo "configure: failed program was:" >&5
20291 cat conftest.$ac_ext >&5
20293 glibcpp_cv_func__long_double_round_use=no
20297 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20298 ac_cpp='$CPP $CPPFLAGS'
20299 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20300 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20301 cross_compiling=$ac_cv_prog_cc_cross
20305 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20306 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20307 for ac_func in _ceill _floorl
20309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20310 echo "configure:20311: checking for $ac_func" >&5
20311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20312 echo $ac_n "(cached) $ac_c" 1>&6
20314 cat > conftest.$ac_ext <<EOF
20315 #line 20316 "configure"
20316 #include "confdefs.h"
20317 /* System header to define __stub macros and hopefully few prototypes,
20318 which can conflict with char $ac_func(); below. */
20319 #include <assert.h>
20320 /* Override any gcc2 internal prototype to avoid an error. */
20321 /* We use char because int might match the return type of a gcc2
20322 builtin and then its argument prototype would still apply. */
20327 /* The GNU C library defines this for functions which it implements
20328 to always fail with ENOSYS. Some functions are actually named
20329 something starting with __ and the normal name is an alias. */
20330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20338 if { (eval echo configure:20339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20340 eval "ac_cv_func_$ac_func=yes"
20342 echo "configure: failed program was:" >&5
20343 cat conftest.$ac_ext >&5
20345 eval "ac_cv_func_$ac_func=no"
20350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20351 echo "$ac_t""yes" 1>&6
20352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20353 cat >> confdefs.h <<EOF
20354 #define $ac_tr_func 1
20358 echo "$ac_t""no" 1>&6
20365 LIBS="$ac_save_LIBS"
20366 CXXFLAGS="$ac_save_CXXFLAGS"
20370 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
20371 echo "configure:20372: checking for __builtin_abs declaration" >&5
20372 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20373 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20374 echo $ac_n "(cached) $ac_c" 1>&6
20379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20380 ac_cpp='$CXXCPP $CPPFLAGS'
20381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20383 cross_compiling=$ac_cv_prog_cxx_cross
20385 cat > conftest.$ac_ext <<EOF
20386 #line 20387 "configure"
20387 #include "confdefs.h"
20393 if { (eval echo configure:20394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20395 glibcpp_cv_func___builtin_abs_use=yes
20397 echo "configure: failed program was:" >&5
20398 cat conftest.$ac_ext >&5
20400 glibcpp_cv_func___builtin_abs_use=no
20404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20405 ac_cpp='$CPP $CPPFLAGS'
20406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20408 cross_compiling=$ac_cv_prog_cc_cross
20414 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20415 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20416 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
20417 echo "configure:20418: checking for __builtin_abs linkage" >&5
20418 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20419 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20420 echo $ac_n "(cached) $ac_c" 1>&6
20423 cat > conftest.$ac_ext <<EOF
20424 #line 20425 "configure"
20425 #include "confdefs.h"
20431 if { (eval echo configure:20432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20433 glibcpp_cv_func___builtin_abs_link=yes
20435 echo "configure: failed program was:" >&5
20436 cat conftest.$ac_ext >&5
20438 glibcpp_cv_func___builtin_abs_link=no
20445 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20446 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20447 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20448 cat >> confdefs.h <<EOF
20449 #define ${ac_tr_func} 1
20456 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
20457 echo "configure:20458: checking for __builtin_fabsf declaration" >&5
20458 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20459 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20460 echo $ac_n "(cached) $ac_c" 1>&6
20465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20466 ac_cpp='$CXXCPP $CPPFLAGS'
20467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20469 cross_compiling=$ac_cv_prog_cxx_cross
20471 cat > conftest.$ac_ext <<EOF
20472 #line 20473 "configure"
20473 #include "confdefs.h"
20476 __builtin_fabsf(0);
20479 if { (eval echo configure:20480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20481 glibcpp_cv_func___builtin_fabsf_use=yes
20483 echo "configure: failed program was:" >&5
20484 cat conftest.$ac_ext >&5
20486 glibcpp_cv_func___builtin_fabsf_use=no
20490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20491 ac_cpp='$CPP $CPPFLAGS'
20492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20494 cross_compiling=$ac_cv_prog_cc_cross
20500 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20501 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20502 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
20503 echo "configure:20504: checking for __builtin_fabsf linkage" >&5
20504 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20505 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20506 echo $ac_n "(cached) $ac_c" 1>&6
20509 cat > conftest.$ac_ext <<EOF
20510 #line 20511 "configure"
20511 #include "confdefs.h"
20514 __builtin_fabsf(0);
20517 if { (eval echo configure:20518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20519 glibcpp_cv_func___builtin_fabsf_link=yes
20521 echo "configure: failed program was:" >&5
20522 cat conftest.$ac_ext >&5
20524 glibcpp_cv_func___builtin_fabsf_link=no
20531 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20532 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20533 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20534 cat >> confdefs.h <<EOF
20535 #define ${ac_tr_func} 1
20542 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
20543 echo "configure:20544: checking for __builtin_fabs declaration" >&5
20544 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20545 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20546 echo $ac_n "(cached) $ac_c" 1>&6
20551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20552 ac_cpp='$CXXCPP $CPPFLAGS'
20553 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20554 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20555 cross_compiling=$ac_cv_prog_cxx_cross
20557 cat > conftest.$ac_ext <<EOF
20558 #line 20559 "configure"
20559 #include "confdefs.h"
20565 if { (eval echo configure:20566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20567 glibcpp_cv_func___builtin_fabs_use=yes
20569 echo "configure: failed program was:" >&5
20570 cat conftest.$ac_ext >&5
20572 glibcpp_cv_func___builtin_fabs_use=no
20576 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20577 ac_cpp='$CPP $CPPFLAGS'
20578 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20579 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20580 cross_compiling=$ac_cv_prog_cc_cross
20586 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20587 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20588 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
20589 echo "configure:20590: checking for __builtin_fabs linkage" >&5
20590 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20591 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20592 echo $ac_n "(cached) $ac_c" 1>&6
20595 cat > conftest.$ac_ext <<EOF
20596 #line 20597 "configure"
20597 #include "confdefs.h"
20603 if { (eval echo configure:20604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20605 glibcpp_cv_func___builtin_fabs_link=yes
20607 echo "configure: failed program was:" >&5
20608 cat conftest.$ac_ext >&5
20610 glibcpp_cv_func___builtin_fabs_link=no
20617 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20618 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20619 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20620 cat >> confdefs.h <<EOF
20621 #define ${ac_tr_func} 1
20628 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
20629 echo "configure:20630: checking for __builtin_fabsl declaration" >&5
20630 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20631 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20632 echo $ac_n "(cached) $ac_c" 1>&6
20637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20638 ac_cpp='$CXXCPP $CPPFLAGS'
20639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20641 cross_compiling=$ac_cv_prog_cxx_cross
20643 cat > conftest.$ac_ext <<EOF
20644 #line 20645 "configure"
20645 #include "confdefs.h"
20648 __builtin_fabsl(0);
20651 if { (eval echo configure:20652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20653 glibcpp_cv_func___builtin_fabsl_use=yes
20655 echo "configure: failed program was:" >&5
20656 cat conftest.$ac_ext >&5
20658 glibcpp_cv_func___builtin_fabsl_use=no
20662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20663 ac_cpp='$CPP $CPPFLAGS'
20664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20666 cross_compiling=$ac_cv_prog_cc_cross
20672 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20673 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20674 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
20675 echo "configure:20676: checking for __builtin_fabsl linkage" >&5
20676 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20677 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20678 echo $ac_n "(cached) $ac_c" 1>&6
20681 cat > conftest.$ac_ext <<EOF
20682 #line 20683 "configure"
20683 #include "confdefs.h"
20686 __builtin_fabsl(0);
20689 if { (eval echo configure:20690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20691 glibcpp_cv_func___builtin_fabsl_link=yes
20693 echo "configure: failed program was:" >&5
20694 cat conftest.$ac_ext >&5
20696 glibcpp_cv_func___builtin_fabsl_link=no
20703 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20704 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20705 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20706 cat >> confdefs.h <<EOF
20707 #define ${ac_tr_func} 1
20714 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
20715 echo "configure:20716: checking for __builtin_labs declaration" >&5
20716 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20717 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20718 echo $ac_n "(cached) $ac_c" 1>&6
20723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20724 ac_cpp='$CXXCPP $CPPFLAGS'
20725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20727 cross_compiling=$ac_cv_prog_cxx_cross
20729 cat > conftest.$ac_ext <<EOF
20730 #line 20731 "configure"
20731 #include "confdefs.h"
20737 if { (eval echo configure:20738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20739 glibcpp_cv_func___builtin_labs_use=yes
20741 echo "configure: failed program was:" >&5
20742 cat conftest.$ac_ext >&5
20744 glibcpp_cv_func___builtin_labs_use=no
20748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20749 ac_cpp='$CPP $CPPFLAGS'
20750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20752 cross_compiling=$ac_cv_prog_cc_cross
20758 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20759 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20760 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
20761 echo "configure:20762: checking for __builtin_labs linkage" >&5
20762 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20763 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20764 echo $ac_n "(cached) $ac_c" 1>&6
20767 cat > conftest.$ac_ext <<EOF
20768 #line 20769 "configure"
20769 #include "confdefs.h"
20775 if { (eval echo configure:20776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20777 glibcpp_cv_func___builtin_labs_link=yes
20779 echo "configure: failed program was:" >&5
20780 cat conftest.$ac_ext >&5
20782 glibcpp_cv_func___builtin_labs_link=no
20789 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
20790 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
20791 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20792 cat >> confdefs.h <<EOF
20793 #define ${ac_tr_func} 1
20801 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
20802 echo "configure:20803: checking for __builtin_sqrtf declaration" >&5
20803 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
20804 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20805 echo $ac_n "(cached) $ac_c" 1>&6
20810 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20811 ac_cpp='$CXXCPP $CPPFLAGS'
20812 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20813 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20814 cross_compiling=$ac_cv_prog_cxx_cross
20816 cat > conftest.$ac_ext <<EOF
20817 #line 20818 "configure"
20818 #include "confdefs.h"
20821 __builtin_sqrtf(0);
20824 if { (eval echo configure:20825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20826 glibcpp_cv_func___builtin_sqrtf_use=yes
20828 echo "configure: failed program was:" >&5
20829 cat conftest.$ac_ext >&5
20831 glibcpp_cv_func___builtin_sqrtf_use=no
20835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20836 ac_cpp='$CPP $CPPFLAGS'
20837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20839 cross_compiling=$ac_cv_prog_cc_cross
20845 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
20846 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
20847 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
20848 echo "configure:20849: checking for __builtin_sqrtf linkage" >&5
20849 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
20850 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
20851 echo $ac_n "(cached) $ac_c" 1>&6
20854 cat > conftest.$ac_ext <<EOF
20855 #line 20856 "configure"
20856 #include "confdefs.h"
20859 __builtin_sqrtf(0);
20862 if { (eval echo configure:20863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20864 glibcpp_cv_func___builtin_sqrtf_link=yes
20866 echo "configure: failed program was:" >&5
20867 cat conftest.$ac_ext >&5
20869 glibcpp_cv_func___builtin_sqrtf_link=no
20876 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
20877 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
20878 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20879 cat >> confdefs.h <<EOF
20880 #define ${ac_tr_func} 1
20887 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
20888 echo "configure:20889: checking for __builtin_sqrt declaration" >&5
20889 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
20890 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
20891 echo $ac_n "(cached) $ac_c" 1>&6
20896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20897 ac_cpp='$CXXCPP $CPPFLAGS'
20898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20900 cross_compiling=$ac_cv_prog_cxx_cross
20902 cat > conftest.$ac_ext <<EOF
20903 #line 20904 "configure"
20904 #include "confdefs.h"
20910 if { (eval echo configure:20911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20912 glibcpp_cv_func___builtin_sqrt_use=yes
20914 echo "configure: failed program was:" >&5
20915 cat conftest.$ac_ext >&5
20917 glibcpp_cv_func___builtin_sqrt_use=no
20921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20922 ac_cpp='$CPP $CPPFLAGS'
20923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20925 cross_compiling=$ac_cv_prog_cc_cross
20931 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
20932 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
20933 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
20934 echo "configure:20935: checking for __builtin_sqrt linkage" >&5
20935 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
20936 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
20937 echo $ac_n "(cached) $ac_c" 1>&6
20940 cat > conftest.$ac_ext <<EOF
20941 #line 20942 "configure"
20942 #include "confdefs.h"
20948 if { (eval echo configure:20949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20950 glibcpp_cv_func___builtin_sqrt_link=yes
20952 echo "configure: failed program was:" >&5
20953 cat conftest.$ac_ext >&5
20955 glibcpp_cv_func___builtin_sqrt_link=no
20962 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
20963 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
20964 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20965 cat >> confdefs.h <<EOF
20966 #define ${ac_tr_func} 1
20973 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
20974 echo "configure:20975: checking for __builtin_sqrtl declaration" >&5
20975 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
20976 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
20977 echo $ac_n "(cached) $ac_c" 1>&6
20982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20983 ac_cpp='$CXXCPP $CPPFLAGS'
20984 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20985 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20986 cross_compiling=$ac_cv_prog_cxx_cross
20988 cat > conftest.$ac_ext <<EOF
20989 #line 20990 "configure"
20990 #include "confdefs.h"
20993 __builtin_sqrtl(0);
20996 if { (eval echo configure:20997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20998 glibcpp_cv_func___builtin_sqrtl_use=yes
21000 echo "configure: failed program was:" >&5
21001 cat conftest.$ac_ext >&5
21003 glibcpp_cv_func___builtin_sqrtl_use=no
21007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21008 ac_cpp='$CPP $CPPFLAGS'
21009 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21010 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21011 cross_compiling=$ac_cv_prog_cc_cross
21017 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
21018 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
21019 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
21020 echo "configure:21021: checking for __builtin_sqrtl linkage" >&5
21021 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
21022 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21023 echo $ac_n "(cached) $ac_c" 1>&6
21026 cat > conftest.$ac_ext <<EOF
21027 #line 21028 "configure"
21028 #include "confdefs.h"
21031 __builtin_sqrtl(0);
21034 if { (eval echo configure:21035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21036 glibcpp_cv_func___builtin_sqrtl_link=yes
21038 echo "configure: failed program was:" >&5
21039 cat conftest.$ac_ext >&5
21041 glibcpp_cv_func___builtin_sqrtl_link=no
21048 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21049 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21050 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21051 cat >> confdefs.h <<EOF
21052 #define ${ac_tr_func} 1
21060 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
21061 echo "configure:21062: checking for __builtin_sinf declaration" >&5
21062 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21063 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21064 echo $ac_n "(cached) $ac_c" 1>&6
21069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21070 ac_cpp='$CXXCPP $CPPFLAGS'
21071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21073 cross_compiling=$ac_cv_prog_cxx_cross
21075 cat > conftest.$ac_ext <<EOF
21076 #line 21077 "configure"
21077 #include "confdefs.h"
21083 if { (eval echo configure:21084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21085 glibcpp_cv_func___builtin_sinf_use=yes
21087 echo "configure: failed program was:" >&5
21088 cat conftest.$ac_ext >&5
21090 glibcpp_cv_func___builtin_sinf_use=no
21094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21095 ac_cpp='$CPP $CPPFLAGS'
21096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21098 cross_compiling=$ac_cv_prog_cc_cross
21104 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21105 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21106 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
21107 echo "configure:21108: checking for __builtin_sinf linkage" >&5
21108 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21109 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21110 echo $ac_n "(cached) $ac_c" 1>&6
21113 cat > conftest.$ac_ext <<EOF
21114 #line 21115 "configure"
21115 #include "confdefs.h"
21121 if { (eval echo configure:21122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21123 glibcpp_cv_func___builtin_sinf_link=yes
21125 echo "configure: failed program was:" >&5
21126 cat conftest.$ac_ext >&5
21128 glibcpp_cv_func___builtin_sinf_link=no
21135 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21136 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21137 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21138 cat >> confdefs.h <<EOF
21139 #define ${ac_tr_func} 1
21146 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
21147 echo "configure:21148: checking for __builtin_sin declaration" >&5
21148 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21149 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21150 echo $ac_n "(cached) $ac_c" 1>&6
21155 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21156 ac_cpp='$CXXCPP $CPPFLAGS'
21157 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21158 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21159 cross_compiling=$ac_cv_prog_cxx_cross
21161 cat > conftest.$ac_ext <<EOF
21162 #line 21163 "configure"
21163 #include "confdefs.h"
21169 if { (eval echo configure:21170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21171 glibcpp_cv_func___builtin_sin_use=yes
21173 echo "configure: failed program was:" >&5
21174 cat conftest.$ac_ext >&5
21176 glibcpp_cv_func___builtin_sin_use=no
21180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21183 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21184 cross_compiling=$ac_cv_prog_cc_cross
21190 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21191 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21192 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
21193 echo "configure:21194: checking for __builtin_sin linkage" >&5
21194 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21195 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21196 echo $ac_n "(cached) $ac_c" 1>&6
21199 cat > conftest.$ac_ext <<EOF
21200 #line 21201 "configure"
21201 #include "confdefs.h"
21207 if { (eval echo configure:21208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21209 glibcpp_cv_func___builtin_sin_link=yes
21211 echo "configure: failed program was:" >&5
21212 cat conftest.$ac_ext >&5
21214 glibcpp_cv_func___builtin_sin_link=no
21221 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21222 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21223 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21224 cat >> confdefs.h <<EOF
21225 #define ${ac_tr_func} 1
21232 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
21233 echo "configure:21234: checking for __builtin_sinl declaration" >&5
21234 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21235 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21236 echo $ac_n "(cached) $ac_c" 1>&6
21241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21242 ac_cpp='$CXXCPP $CPPFLAGS'
21243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21245 cross_compiling=$ac_cv_prog_cxx_cross
21247 cat > conftest.$ac_ext <<EOF
21248 #line 21249 "configure"
21249 #include "confdefs.h"
21255 if { (eval echo configure:21256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21257 glibcpp_cv_func___builtin_sinl_use=yes
21259 echo "configure: failed program was:" >&5
21260 cat conftest.$ac_ext >&5
21262 glibcpp_cv_func___builtin_sinl_use=no
21266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21267 ac_cpp='$CPP $CPPFLAGS'
21268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21270 cross_compiling=$ac_cv_prog_cc_cross
21276 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21277 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21278 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
21279 echo "configure:21280: checking for __builtin_sinl linkage" >&5
21280 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21281 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21282 echo $ac_n "(cached) $ac_c" 1>&6
21285 cat > conftest.$ac_ext <<EOF
21286 #line 21287 "configure"
21287 #include "confdefs.h"
21293 if { (eval echo configure:21294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21295 glibcpp_cv_func___builtin_sinl_link=yes
21297 echo "configure: failed program was:" >&5
21298 cat conftest.$ac_ext >&5
21300 glibcpp_cv_func___builtin_sinl_link=no
21307 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21308 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21309 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21310 cat >> confdefs.h <<EOF
21311 #define ${ac_tr_func} 1
21319 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
21320 echo "configure:21321: checking for __builtin_cosf declaration" >&5
21321 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21322 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21323 echo $ac_n "(cached) $ac_c" 1>&6
21328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21329 ac_cpp='$CXXCPP $CPPFLAGS'
21330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21332 cross_compiling=$ac_cv_prog_cxx_cross
21334 cat > conftest.$ac_ext <<EOF
21335 #line 21336 "configure"
21336 #include "confdefs.h"
21342 if { (eval echo configure:21343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21344 glibcpp_cv_func___builtin_cosf_use=yes
21346 echo "configure: failed program was:" >&5
21347 cat conftest.$ac_ext >&5
21349 glibcpp_cv_func___builtin_cosf_use=no
21353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21354 ac_cpp='$CPP $CPPFLAGS'
21355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21357 cross_compiling=$ac_cv_prog_cc_cross
21363 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21364 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21365 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
21366 echo "configure:21367: checking for __builtin_cosf linkage" >&5
21367 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21368 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21369 echo $ac_n "(cached) $ac_c" 1>&6
21372 cat > conftest.$ac_ext <<EOF
21373 #line 21374 "configure"
21374 #include "confdefs.h"
21380 if { (eval echo configure:21381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21382 glibcpp_cv_func___builtin_cosf_link=yes
21384 echo "configure: failed program was:" >&5
21385 cat conftest.$ac_ext >&5
21387 glibcpp_cv_func___builtin_cosf_link=no
21394 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21395 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21396 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21397 cat >> confdefs.h <<EOF
21398 #define ${ac_tr_func} 1
21405 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
21406 echo "configure:21407: checking for __builtin_cos declaration" >&5
21407 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21408 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21409 echo $ac_n "(cached) $ac_c" 1>&6
21414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21415 ac_cpp='$CXXCPP $CPPFLAGS'
21416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21418 cross_compiling=$ac_cv_prog_cxx_cross
21420 cat > conftest.$ac_ext <<EOF
21421 #line 21422 "configure"
21422 #include "confdefs.h"
21428 if { (eval echo configure:21429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21430 glibcpp_cv_func___builtin_cos_use=yes
21432 echo "configure: failed program was:" >&5
21433 cat conftest.$ac_ext >&5
21435 glibcpp_cv_func___builtin_cos_use=no
21439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21440 ac_cpp='$CPP $CPPFLAGS'
21441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21443 cross_compiling=$ac_cv_prog_cc_cross
21449 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21450 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21451 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
21452 echo "configure:21453: checking for __builtin_cos linkage" >&5
21453 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21454 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21455 echo $ac_n "(cached) $ac_c" 1>&6
21458 cat > conftest.$ac_ext <<EOF
21459 #line 21460 "configure"
21460 #include "confdefs.h"
21466 if { (eval echo configure:21467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21468 glibcpp_cv_func___builtin_cos_link=yes
21470 echo "configure: failed program was:" >&5
21471 cat conftest.$ac_ext >&5
21473 glibcpp_cv_func___builtin_cos_link=no
21480 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21481 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21482 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21483 cat >> confdefs.h <<EOF
21484 #define ${ac_tr_func} 1
21491 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
21492 echo "configure:21493: checking for __builtin_cosl declaration" >&5
21493 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21494 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21495 echo $ac_n "(cached) $ac_c" 1>&6
21500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21501 ac_cpp='$CXXCPP $CPPFLAGS'
21502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21504 cross_compiling=$ac_cv_prog_cxx_cross
21506 cat > conftest.$ac_ext <<EOF
21507 #line 21508 "configure"
21508 #include "confdefs.h"
21514 if { (eval echo configure:21515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21516 glibcpp_cv_func___builtin_cosl_use=yes
21518 echo "configure: failed program was:" >&5
21519 cat conftest.$ac_ext >&5
21521 glibcpp_cv_func___builtin_cosl_use=no
21525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21526 ac_cpp='$CPP $CPPFLAGS'
21527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21529 cross_compiling=$ac_cv_prog_cc_cross
21535 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21536 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21537 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
21538 echo "configure:21539: checking for __builtin_cosl linkage" >&5
21539 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21540 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21541 echo $ac_n "(cached) $ac_c" 1>&6
21544 cat > conftest.$ac_ext <<EOF
21545 #line 21546 "configure"
21546 #include "confdefs.h"
21552 if { (eval echo configure:21553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21554 glibcpp_cv_func___builtin_cosl_link=yes
21556 echo "configure: failed program was:" >&5
21557 cat conftest.$ac_ext >&5
21559 glibcpp_cv_func___builtin_cosl_link=no
21566 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21567 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21568 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21569 cat >> confdefs.h <<EOF
21570 #define ${ac_tr_func} 1
21578 if test x$dummyvar = x"yes"; then
21579 cat >> confdefs.h <<\EOF
21580 #define HAVE___BUILTIN_ABS 1
21583 cat >> confdefs.h <<\EOF
21584 #define HAVE___BUILTIN_LABS 1
21587 cat >> confdefs.h <<\EOF
21588 #define HAVE___BUILTIN_COS 1
21591 cat >> confdefs.h <<\EOF
21592 #define HAVE___BUILTIN_COSF 1
21595 cat >> confdefs.h <<\EOF
21596 #define HAVE___BUILTIN_COSL 1
21599 cat >> confdefs.h <<\EOF
21600 #define HAVE___BUILTIN_FABS 1
21603 cat >> confdefs.h <<\EOF
21604 #define HAVE___BUILTIN_FABSF 1
21607 cat >> confdefs.h <<\EOF
21608 #define HAVE___BUILTIN_FABSL 1
21611 cat >> confdefs.h <<\EOF
21612 #define HAVE___BUILTIN_SIN 1
21615 cat >> confdefs.h <<\EOF
21616 #define HAVE___BUILTIN_SINF 1
21619 cat >> confdefs.h <<\EOF
21620 #define HAVE___BUILTIN_SINL 1
21623 cat >> confdefs.h <<\EOF
21624 #define HAVE___BUILTIN_SQRT 1
21627 cat >> confdefs.h <<\EOF
21628 #define HAVE___BUILTIN_SQRTF 1
21631 cat >> confdefs.h <<\EOF
21632 #define HAVE___BUILTIN_SQRTL 1
21638 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21639 echo "configure:21640: checking for main in -lm" >&5
21640 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21642 echo $ac_n "(cached) $ac_c" 1>&6
21644 ac_save_LIBS="$LIBS"
21646 cat > conftest.$ac_ext <<EOF
21647 #line 21648 "configure"
21648 #include "confdefs.h"
21654 if { (eval echo configure:21655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21656 eval "ac_cv_lib_$ac_lib_var=yes"
21658 echo "configure: failed program was:" >&5
21659 cat conftest.$ac_ext >&5
21661 eval "ac_cv_lib_$ac_lib_var=no"
21664 LIBS="$ac_save_LIBS"
21667 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21668 echo "$ac_t""yes" 1>&6
21669 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21670 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21671 cat >> confdefs.h <<EOF
21672 #define $ac_tr_lib 1
21678 echo "$ac_t""no" 1>&6
21681 for ac_func in nan copysignf
21683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21684 echo "configure:21685: checking for $ac_func" >&5
21685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21686 echo $ac_n "(cached) $ac_c" 1>&6
21688 cat > conftest.$ac_ext <<EOF
21689 #line 21690 "configure"
21690 #include "confdefs.h"
21691 /* System header to define __stub macros and hopefully few prototypes,
21692 which can conflict with char $ac_func(); below. */
21693 #include <assert.h>
21694 /* Override any gcc2 internal prototype to avoid an error. */
21695 /* We use char because int might match the return type of a gcc2
21696 builtin and then its argument prototype would still apply. */
21701 /* The GNU C library defines this for functions which it implements
21702 to always fail with ENOSYS. Some functions are actually named
21703 something starting with __ and the normal name is an alias. */
21704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21712 if { (eval echo configure:21713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21714 eval "ac_cv_func_$ac_func=yes"
21716 echo "configure: failed program was:" >&5
21717 cat conftest.$ac_ext >&5
21719 eval "ac_cv_func_$ac_func=no"
21724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21725 echo "$ac_t""yes" 1>&6
21726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21727 cat >> confdefs.h <<EOF
21728 #define $ac_tr_func 1
21732 echo "$ac_t""no" 1>&6
21733 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21738 for ac_func in __signbit
21740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21741 echo "configure:21742: checking for $ac_func" >&5
21742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21743 echo $ac_n "(cached) $ac_c" 1>&6
21745 cat > conftest.$ac_ext <<EOF
21746 #line 21747 "configure"
21747 #include "confdefs.h"
21748 /* System header to define __stub macros and hopefully few prototypes,
21749 which can conflict with char $ac_func(); below. */
21750 #include <assert.h>
21751 /* Override any gcc2 internal prototype to avoid an error. */
21752 /* We use char because int might match the return type of a gcc2
21753 builtin and then its argument prototype would still apply. */
21758 /* The GNU C library defines this for functions which it implements
21759 to always fail with ENOSYS. Some functions are actually named
21760 something starting with __ and the normal name is an alias. */
21761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21769 if { (eval echo configure:21770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21771 eval "ac_cv_func_$ac_func=yes"
21773 echo "configure: failed program was:" >&5
21774 cat conftest.$ac_ext >&5
21776 eval "ac_cv_func_$ac_func=no"
21781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21782 echo "$ac_t""yes" 1>&6
21783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21784 cat >> confdefs.h <<EOF
21785 #define $ac_tr_func 1
21789 echo "$ac_t""no" 1>&6
21790 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21794 for ac_func in __signbitf
21796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21797 echo "configure:21798: checking for $ac_func" >&5
21798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21799 echo $ac_n "(cached) $ac_c" 1>&6
21801 cat > conftest.$ac_ext <<EOF
21802 #line 21803 "configure"
21803 #include "confdefs.h"
21804 /* System header to define __stub macros and hopefully few prototypes,
21805 which can conflict with char $ac_func(); below. */
21806 #include <assert.h>
21807 /* Override any gcc2 internal prototype to avoid an error. */
21808 /* We use char because int might match the return type of a gcc2
21809 builtin and then its argument prototype would still apply. */
21814 /* The GNU C library defines this for functions which it implements
21815 to always fail with ENOSYS. Some functions are actually named
21816 something starting with __ and the normal name is an alias. */
21817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21825 if { (eval echo configure:21826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21827 eval "ac_cv_func_$ac_func=yes"
21829 echo "configure: failed program was:" >&5
21830 cat conftest.$ac_ext >&5
21832 eval "ac_cv_func_$ac_func=no"
21837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21838 echo "$ac_t""yes" 1>&6
21839 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21840 cat >> confdefs.h <<EOF
21841 #define $ac_tr_func 1
21845 echo "$ac_t""no" 1>&6
21846 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21851 if test x$ac_cv_func_copysignl = x"yes"; then
21852 for ac_func in __signbitl
21854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21855 echo "configure:21856: checking for $ac_func" >&5
21856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21857 echo $ac_n "(cached) $ac_c" 1>&6
21859 cat > conftest.$ac_ext <<EOF
21860 #line 21861 "configure"
21861 #include "confdefs.h"
21862 /* System header to define __stub macros and hopefully few prototypes,
21863 which can conflict with char $ac_func(); below. */
21864 #include <assert.h>
21865 /* Override any gcc2 internal prototype to avoid an error. */
21866 /* We use char because int might match the return type of a gcc2
21867 builtin and then its argument prototype would still apply. */
21872 /* The GNU C library defines this for functions which it implements
21873 to always fail with ENOSYS. Some functions are actually named
21874 something starting with __ and the normal name is an alias. */
21875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21883 if { (eval echo configure:21884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21885 eval "ac_cv_func_$ac_func=yes"
21887 echo "configure: failed program was:" >&5
21888 cat conftest.$ac_ext >&5
21890 eval "ac_cv_func_$ac_func=no"
21895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21896 echo "$ac_t""yes" 1>&6
21897 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21898 cat >> confdefs.h <<EOF
21899 #define $ac_tr_func 1
21903 echo "$ac_t""no" 1>&6
21904 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21910 if test -n "$LIBMATHOBJS"; then
21917 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21918 echo "configure:21919: checking for mbstate_t" >&5
21919 cat > conftest.$ac_ext <<EOF
21920 #line 21921 "configure"
21921 #include "confdefs.h"
21924 mbstate_t teststate;
21927 if { (eval echo configure:21928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21931 echo "configure: failed program was:" >&5
21932 cat conftest.$ac_ext >&5
21937 echo "$ac_t""$have_mbstate_t" 1>&6
21938 if test x"$have_mbstate_t" = xyes; then
21939 cat >> confdefs.h <<\EOF
21940 #define HAVE_MBSTATE_T 1
21945 for ac_hdr in wchar.h
21947 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21948 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21949 echo "configure:21950: checking for $ac_hdr" >&5
21950 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21951 echo $ac_n "(cached) $ac_c" 1>&6
21953 cat > conftest.$ac_ext <<EOF
21954 #line 21955 "configure"
21955 #include "confdefs.h"
21958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21959 { (eval echo configure:21960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21961 if test -z "$ac_err"; then
21963 eval "ac_cv_header_$ac_safe=yes"
21966 echo "configure: failed program was:" >&5
21967 cat conftest.$ac_ext >&5
21969 eval "ac_cv_header_$ac_safe=no"
21973 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21974 echo "$ac_t""yes" 1>&6
21975 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21976 cat >> confdefs.h <<EOF
21977 #define $ac_tr_hdr 1
21981 echo "$ac_t""no" 1>&6
21986 for ac_hdr in wctype.h
21988 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21989 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21990 echo "configure:21991: checking for $ac_hdr" >&5
21991 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21992 echo $ac_n "(cached) $ac_c" 1>&6
21994 cat > conftest.$ac_ext <<EOF
21995 #line 21996 "configure"
21996 #include "confdefs.h"
21999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22000 { (eval echo configure:22001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22002 if test -z "$ac_err"; then
22004 eval "ac_cv_header_$ac_safe=yes"
22007 echo "configure: failed program was:" >&5
22008 cat conftest.$ac_ext >&5
22010 eval "ac_cv_header_$ac_safe=no"
22014 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22015 echo "$ac_t""yes" 1>&6
22016 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22017 cat >> confdefs.h <<EOF
22018 #define $ac_tr_hdr 1
22020 ac_has_wctype_h=yes
22022 echo "$ac_t""no" 1>&6
22028 if test x"$ac_has_wchar_h" = xyes &&
22029 test x"$ac_has_wctype_h" = xyes &&
22030 test x"$enable_c_mbchar" != xno; then
22032 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22033 echo "configure:22034: checking for WCHAR_MIN and WCHAR_MAX" >&5
22034 cat > conftest.$ac_ext <<EOF
22035 #line 22036 "configure"
22036 #include "confdefs.h"
22039 int i = WCHAR_MIN; int j = WCHAR_MAX;
22042 if { (eval echo configure:22043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22044 has_wchar_minmax=yes
22046 echo "configure: failed program was:" >&5
22047 cat conftest.$ac_ext >&5
22049 has_wchar_minmax=no
22052 echo "$ac_t""$has_wchar_minmax" 1>&6
22054 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22055 echo "configure:22056: checking for WEOF" >&5
22056 cat > conftest.$ac_ext <<EOF
22057 #line 22058 "configure"
22058 #include "confdefs.h"
22061 #include <stddef.h>
22066 if { (eval echo configure:22067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22070 echo "configure: failed program was:" >&5
22071 cat conftest.$ac_ext >&5
22076 echo "$ac_t""$has_weof" 1>&6
22079 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22082 echo "configure:22083: checking for $ac_func" >&5
22083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22084 echo $ac_n "(cached) $ac_c" 1>&6
22086 cat > conftest.$ac_ext <<EOF
22087 #line 22088 "configure"
22088 #include "confdefs.h"
22089 /* System header to define __stub macros and hopefully few prototypes,
22090 which can conflict with char $ac_func(); below. */
22091 #include <assert.h>
22092 /* Override any gcc2 internal prototype to avoid an error. */
22093 /* We use char because int might match the return type of a gcc2
22094 builtin and then its argument prototype would still apply. */
22099 /* The GNU C library defines this for functions which it implements
22100 to always fail with ENOSYS. Some functions are actually named
22101 something starting with __ and the normal name is an alias. */
22102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22110 if { (eval echo configure:22111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22112 eval "ac_cv_func_$ac_func=yes"
22114 echo "configure: failed program was:" >&5
22115 cat conftest.$ac_ext >&5
22117 eval "ac_cv_func_$ac_func=no"
22122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22123 echo "$ac_t""yes" 1>&6
22124 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22125 cat >> confdefs.h <<EOF
22126 #define $ac_tr_func 1
22130 echo "$ac_t""no" 1>&6
22137 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22138 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22139 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22140 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22141 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22142 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22145 echo "configure:22146: checking for $ac_func" >&5
22146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22147 echo $ac_n "(cached) $ac_c" 1>&6
22149 cat > conftest.$ac_ext <<EOF
22150 #line 22151 "configure"
22151 #include "confdefs.h"
22152 /* System header to define __stub macros and hopefully few prototypes,
22153 which can conflict with char $ac_func(); below. */
22154 #include <assert.h>
22155 /* Override any gcc2 internal prototype to avoid an error. */
22156 /* We use char because int might match the return type of a gcc2
22157 builtin and then its argument prototype would still apply. */
22162 /* The GNU C library defines this for functions which it implements
22163 to always fail with ENOSYS. Some functions are actually named
22164 something starting with __ and the normal name is an alias. */
22165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22173 if { (eval echo configure:22174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22175 eval "ac_cv_func_$ac_func=yes"
22177 echo "configure: failed program was:" >&5
22178 cat conftest.$ac_ext >&5
22180 eval "ac_cv_func_$ac_func=no"
22185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22186 echo "$ac_t""yes" 1>&6
22187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22188 cat >> confdefs.h <<EOF
22189 #define $ac_tr_func 1
22193 echo "$ac_t""no" 1>&6
22200 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22201 echo "configure:22202: checking for ISO C99 wchar_t support" >&5
22202 if test x"$has_weof" = xyes &&
22203 test x"$has_wchar_minmax" = xyes &&
22204 test x"$ac_wfuncs" = xyes; then
22205 ac_isoC99_wchar_t=yes
22207 ac_isoC99_wchar_t=no
22209 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22211 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22212 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22213 echo "configure:22214: checking for iconv.h" >&5
22214 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22215 echo $ac_n "(cached) $ac_c" 1>&6
22217 cat > conftest.$ac_ext <<EOF
22218 #line 22219 "configure"
22219 #include "confdefs.h"
22222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22223 { (eval echo configure:22224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22225 if test -z "$ac_err"; then
22227 eval "ac_cv_header_$ac_safe=yes"
22230 echo "configure: failed program was:" >&5
22231 cat conftest.$ac_ext >&5
22233 eval "ac_cv_header_$ac_safe=no"
22237 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22238 echo "$ac_t""yes" 1>&6
22241 echo "$ac_t""no" 1>&6
22245 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22246 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22247 echo "configure:22248: checking for langinfo.h" >&5
22248 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22249 echo $ac_n "(cached) $ac_c" 1>&6
22251 cat > conftest.$ac_ext <<EOF
22252 #line 22253 "configure"
22253 #include "confdefs.h"
22254 #include <langinfo.h>
22256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22257 { (eval echo configure:22258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22259 if test -z "$ac_err"; then
22261 eval "ac_cv_header_$ac_safe=yes"
22264 echo "configure: failed program was:" >&5
22265 cat conftest.$ac_ext >&5
22267 eval "ac_cv_header_$ac_safe=no"
22271 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22272 echo "$ac_t""yes" 1>&6
22273 ac_has_langinfo_h=yes
22275 echo "$ac_t""no" 1>&6
22276 ac_has_langinfo_h=no
22280 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22281 echo "configure:22282: checking for iconv in -liconv" >&5
22282 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22284 echo $ac_n "(cached) $ac_c" 1>&6
22286 ac_save_LIBS="$LIBS"
22287 LIBS="-liconv $LIBS"
22288 cat > conftest.$ac_ext <<EOF
22289 #line 22290 "configure"
22290 #include "confdefs.h"
22291 /* Override any gcc2 internal prototype to avoid an error. */
22292 /* We use char because int might match the return type of a gcc2
22293 builtin and then its argument prototype would still apply. */
22300 if { (eval echo configure:22301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22302 eval "ac_cv_lib_$ac_lib_var=yes"
22304 echo "configure: failed program was:" >&5
22305 cat conftest.$ac_ext >&5
22307 eval "ac_cv_lib_$ac_lib_var=no"
22310 LIBS="$ac_save_LIBS"
22313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22314 echo "$ac_t""yes" 1>&6
22317 echo "$ac_t""no" 1>&6
22320 ac_save_LIBS="$LIBS"
22321 LIBS="$LIBS $libiconv"
22323 for ac_func in iconv_open iconv_close iconv nl_langinfo
22325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22326 echo "configure:22327: checking for $ac_func" >&5
22327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22328 echo $ac_n "(cached) $ac_c" 1>&6
22330 cat > conftest.$ac_ext <<EOF
22331 #line 22332 "configure"
22332 #include "confdefs.h"
22333 /* System header to define __stub macros and hopefully few prototypes,
22334 which can conflict with char $ac_func(); below. */
22335 #include <assert.h>
22336 /* Override any gcc2 internal prototype to avoid an error. */
22337 /* We use char because int might match the return type of a gcc2
22338 builtin and then its argument prototype would still apply. */
22343 /* The GNU C library defines this for functions which it implements
22344 to always fail with ENOSYS. Some functions are actually named
22345 something starting with __ and the normal name is an alias. */
22346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22354 if { (eval echo configure:22355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22356 eval "ac_cv_func_$ac_func=yes"
22358 echo "configure: failed program was:" >&5
22359 cat conftest.$ac_ext >&5
22361 eval "ac_cv_func_$ac_func=no"
22366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22367 echo "$ac_t""yes" 1>&6
22368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22369 cat >> confdefs.h <<EOF
22370 #define $ac_tr_func 1
22375 echo "$ac_t""no" 1>&6
22381 LIBS="$ac_save_LIBS"
22383 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22384 echo "configure:22385: checking for XPG2 wchar_t support" >&5
22385 if test x"$ac_has_iconv_h" = xyes &&
22386 test x"$ac_has_langinfo_h" = xyes &&
22387 test x"$ac_XPG2funcs" = xyes; then
22388 ac_XPG2_wchar_t=yes
22392 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22394 if test x"$ac_isoC99_wchar_t" = xyes &&
22395 test x"$ac_XPG2_wchar_t" = xyes; then
22396 cat >> confdefs.h <<\EOF
22397 #define _GLIBCPP_USE_WCHAR_T 1
22403 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22404 echo "configure:22405: checking for enabled wchar_t specializations" >&5
22405 echo "$ac_t""$enable_wchar_t" 1>&6
22408 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22409 ac_save_CXXFLAGS="$CXXFLAGS"
22410 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22413 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22414 echo "configure:22415: checking for strtold declaration" >&5
22415 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22416 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22417 echo $ac_n "(cached) $ac_c" 1>&6
22422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22423 ac_cpp='$CXXCPP $CPPFLAGS'
22424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22426 cross_compiling=$ac_cv_prog_cxx_cross
22428 cat > conftest.$ac_ext <<EOF
22429 #line 22430 "configure"
22430 #include "confdefs.h"
22431 #include <stdlib.h>
22436 if { (eval echo configure:22437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22438 glibcpp_cv_func_strtold_use=yes
22440 echo "configure: failed program was:" >&5
22441 cat conftest.$ac_ext >&5
22443 glibcpp_cv_func_strtold_use=no
22447 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22450 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22451 cross_compiling=$ac_cv_prog_cc_cross
22457 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22458 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22459 for ac_func in strtold
22461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22462 echo "configure:22463: checking for $ac_func" >&5
22463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22464 echo $ac_n "(cached) $ac_c" 1>&6
22466 cat > conftest.$ac_ext <<EOF
22467 #line 22468 "configure"
22468 #include "confdefs.h"
22469 /* System header to define __stub macros and hopefully few prototypes,
22470 which can conflict with char $ac_func(); below. */
22471 #include <assert.h>
22472 /* Override any gcc2 internal prototype to avoid an error. */
22473 /* We use char because int might match the return type of a gcc2
22474 builtin and then its argument prototype would still apply. */
22479 /* The GNU C library defines this for functions which it implements
22480 to always fail with ENOSYS. Some functions are actually named
22481 something starting with __ and the normal name is an alias. */
22482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22490 if { (eval echo configure:22491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22492 eval "ac_cv_func_$ac_func=yes"
22494 echo "configure: failed program was:" >&5
22495 cat conftest.$ac_ext >&5
22497 eval "ac_cv_func_$ac_func=no"
22502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22503 echo "$ac_t""yes" 1>&6
22504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22505 cat >> confdefs.h <<EOF
22506 #define $ac_tr_func 1
22510 echo "$ac_t""no" 1>&6
22517 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22518 echo "configure:22519: checking for strtof declaration" >&5
22519 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22520 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22521 echo $ac_n "(cached) $ac_c" 1>&6
22526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22527 ac_cpp='$CXXCPP $CPPFLAGS'
22528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22530 cross_compiling=$ac_cv_prog_cxx_cross
22532 cat > conftest.$ac_ext <<EOF
22533 #line 22534 "configure"
22534 #include "confdefs.h"
22535 #include <stdlib.h>
22540 if { (eval echo configure:22541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22542 glibcpp_cv_func_strtof_use=yes
22544 echo "configure: failed program was:" >&5
22545 cat conftest.$ac_ext >&5
22547 glibcpp_cv_func_strtof_use=no
22551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22555 cross_compiling=$ac_cv_prog_cc_cross
22561 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22562 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22563 for ac_func in strtof
22565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22566 echo "configure:22567: checking for $ac_func" >&5
22567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22568 echo $ac_n "(cached) $ac_c" 1>&6
22570 cat > conftest.$ac_ext <<EOF
22571 #line 22572 "configure"
22572 #include "confdefs.h"
22573 /* System header to define __stub macros and hopefully few prototypes,
22574 which can conflict with char $ac_func(); below. */
22575 #include <assert.h>
22576 /* Override any gcc2 internal prototype to avoid an error. */
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22583 /* The GNU C library defines this for functions which it implements
22584 to always fail with ENOSYS. Some functions are actually named
22585 something starting with __ and the normal name is an alias. */
22586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22594 if { (eval echo configure:22595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22596 eval "ac_cv_func_$ac_func=yes"
22598 echo "configure: failed program was:" >&5
22599 cat conftest.$ac_ext >&5
22601 eval "ac_cv_func_$ac_func=no"
22606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22607 echo "$ac_t""yes" 1>&6
22608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22609 cat >> confdefs.h <<EOF
22610 #define $ac_tr_func 1
22614 echo "$ac_t""no" 1>&6
22620 for ac_func in drand48
22622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22623 echo "configure:22624: checking for $ac_func" >&5
22624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22625 echo $ac_n "(cached) $ac_c" 1>&6
22627 cat > conftest.$ac_ext <<EOF
22628 #line 22629 "configure"
22629 #include "confdefs.h"
22630 /* System header to define __stub macros and hopefully few prototypes,
22631 which can conflict with char $ac_func(); below. */
22632 #include <assert.h>
22633 /* Override any gcc2 internal prototype to avoid an error. */
22634 /* We use char because int might match the return type of a gcc2
22635 builtin and then its argument prototype would still apply. */
22640 /* The GNU C library defines this for functions which it implements
22641 to always fail with ENOSYS. Some functions are actually named
22642 something starting with __ and the normal name is an alias. */
22643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22651 if { (eval echo configure:22652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22653 eval "ac_cv_func_$ac_func=yes"
22655 echo "configure: failed program was:" >&5
22656 cat conftest.$ac_ext >&5
22658 eval "ac_cv_func_$ac_func=no"
22663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22664 echo "$ac_t""yes" 1>&6
22665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22666 cat >> confdefs.h <<EOF
22667 #define $ac_tr_func 1
22671 echo "$ac_t""no" 1>&6
22676 CXXFLAGS="$ac_save_CXXFLAGS"
22679 # For showmanyc_helper().
22680 for ac_hdr in sys/ioctl.h sys/filio.h
22682 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22683 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22684 echo "configure:22685: checking for $ac_hdr" >&5
22685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22686 echo $ac_n "(cached) $ac_c" 1>&6
22688 cat > conftest.$ac_ext <<EOF
22689 #line 22690 "configure"
22690 #include "confdefs.h"
22693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22694 { (eval echo configure:22695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22696 if test -z "$ac_err"; then
22698 eval "ac_cv_header_$ac_safe=yes"
22701 echo "configure: failed program was:" >&5
22702 cat conftest.$ac_ext >&5
22704 eval "ac_cv_header_$ac_safe=no"
22708 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22709 echo "$ac_t""yes" 1>&6
22710 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22711 cat >> confdefs.h <<EOF
22712 #define $ac_tr_hdr 1
22716 echo "$ac_t""no" 1>&6
22721 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22722 echo $ac_n "(cached) $ac_c" 1>&6
22725 cat > conftest.$ac_ext <<EOF
22726 #line 22727 "configure"
22727 #include "confdefs.h"
22730 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22733 if { (eval echo configure:22734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22735 glibcpp_cv_POLL=yes
22737 echo "configure: failed program was:" >&5
22738 cat conftest.$ac_ext >&5
22746 if test x$glibcpp_cv_POLL = xyes; then
22747 cat >> confdefs.h <<\EOF
22748 #define HAVE_POLL 1
22754 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22755 echo $ac_n "(cached) $ac_c" 1>&6
22758 cat > conftest.$ac_ext <<EOF
22759 #line 22760 "configure"
22760 #include "confdefs.h"
22761 #include <sys/stat.h>
22763 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22766 if { (eval echo configure:22767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22768 glibcpp_cv_S_ISREG=yes
22770 echo "configure: failed program was:" >&5
22771 cat conftest.$ac_ext >&5
22773 glibcpp_cv_S_ISREG=no
22779 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
22780 echo $ac_n "(cached) $ac_c" 1>&6
22783 cat > conftest.$ac_ext <<EOF
22784 #line 22785 "configure"
22785 #include "confdefs.h"
22786 #include <sys/stat.h>
22788 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22791 if { (eval echo configure:22792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22793 glibcpp_cv_S_IFREG=yes
22795 echo "configure: failed program was:" >&5
22796 cat conftest.$ac_ext >&5
22798 glibcpp_cv_S_IFREG=no
22804 if test x$glibcpp_cv_S_ISREG = xyes; then
22805 cat >> confdefs.h <<\EOF
22806 #define HAVE_S_ISREG 1
22809 elif test x$glibcpp_cv_S_IFREG = xyes; then
22810 cat >> confdefs.h <<\EOF
22811 #define HAVE_S_IFREG 1
22818 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22819 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22820 echo "configure:22821: checking for locale.h" >&5
22821 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22822 echo $ac_n "(cached) $ac_c" 1>&6
22824 cat > conftest.$ac_ext <<EOF
22825 #line 22826 "configure"
22826 #include "confdefs.h"
22827 #include <locale.h>
22829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22830 { (eval echo configure:22831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22832 if test -z "$ac_err"; then
22834 eval "ac_cv_header_$ac_safe=yes"
22837 echo "configure: failed program was:" >&5
22838 cat conftest.$ac_ext >&5
22840 eval "ac_cv_header_$ac_safe=no"
22844 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22845 echo "$ac_t""yes" 1>&6
22847 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22848 echo "configure:22849: checking for LC_MESSAGES" >&5
22849 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22850 echo $ac_n "(cached) $ac_c" 1>&6
22852 cat > conftest.$ac_ext <<EOF
22853 #line 22854 "configure"
22854 #include "confdefs.h"
22855 #include <locale.h>
22860 if { (eval echo configure:22861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22862 ac_cv_val_LC_MESSAGES=yes
22864 echo "configure: failed program was:" >&5
22865 cat conftest.$ac_ext >&5
22867 ac_cv_val_LC_MESSAGES=no
22872 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22873 if test $ac_cv_val_LC_MESSAGES = yes; then
22874 cat >> confdefs.h <<\EOF
22875 #define HAVE_LC_MESSAGES 1
22881 echo "$ac_t""no" 1>&6
22886 cat > conftest.$ac_ext <<EOF
22887 #line 22888 "configure"
22888 #include "confdefs.h"
22890 #include <setjmp.h>
22893 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22896 if { (eval echo configure:22897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22898 cat >> confdefs.h <<\EOF
22899 #define HAVE_SIGSETJMP 1
22904 echo "configure: failed program was:" >&5
22905 cat conftest.$ac_ext >&5
22909 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22911 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22912 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22913 echo "configure:22914: checking for $ac_hdr" >&5
22914 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22915 echo $ac_n "(cached) $ac_c" 1>&6
22917 cat > conftest.$ac_ext <<EOF
22918 #line 22919 "configure"
22919 #include "confdefs.h"
22922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22923 { (eval echo configure:22924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22924 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22925 if test -z "$ac_err"; then
22927 eval "ac_cv_header_$ac_safe=yes"
22930 echo "configure: failed program was:" >&5
22931 cat conftest.$ac_ext >&5
22933 eval "ac_cv_header_$ac_safe=no"
22937 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22938 echo "$ac_t""yes" 1>&6
22939 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22940 cat >> confdefs.h <<EOF
22941 #define $ac_tr_hdr 1
22945 echo "$ac_t""no" 1>&6
22949 for ac_func in getpagesize
22951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22952 echo "configure:22953: checking for $ac_func" >&5
22953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22954 echo $ac_n "(cached) $ac_c" 1>&6
22956 cat > conftest.$ac_ext <<EOF
22957 #line 22958 "configure"
22958 #include "confdefs.h"
22959 /* System header to define __stub macros and hopefully few prototypes,
22960 which can conflict with char $ac_func(); below. */
22961 #include <assert.h>
22962 /* Override any gcc2 internal prototype to avoid an error. */
22963 /* We use char because int might match the return type of a gcc2
22964 builtin and then its argument prototype would still apply. */
22969 /* The GNU C library defines this for functions which it implements
22970 to always fail with ENOSYS. Some functions are actually named
22971 something starting with __ and the normal name is an alias. */
22972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22980 if { (eval echo configure:22981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22982 eval "ac_cv_func_$ac_func=yes"
22984 echo "configure: failed program was:" >&5
22985 cat conftest.$ac_ext >&5
22987 eval "ac_cv_func_$ac_func=no"
22992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22993 echo "$ac_t""yes" 1>&6
22994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22995 cat >> confdefs.h <<EOF
22996 #define $ac_tr_func 1
23000 echo "$ac_t""no" 1>&6
23004 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
23005 echo "configure:23006: checking for working mmap" >&5
23006 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23007 echo $ac_n "(cached) $ac_c" 1>&6
23009 if test "$cross_compiling" = yes; then
23010 ac_cv_func_mmap_fixed_mapped=no
23012 cat > conftest.$ac_ext <<EOF
23013 #line 23014 "configure"
23014 #include "confdefs.h"
23016 /* Thanks to Mike Haertel and Jim Avera for this test.
23017 Here is a matrix of mmap possibilities:
23018 mmap private not fixed
23019 mmap private fixed at somewhere currently unmapped
23020 mmap private fixed at somewhere already mapped
23021 mmap shared not fixed
23022 mmap shared fixed at somewhere currently unmapped
23023 mmap shared fixed at somewhere already mapped
23024 For private mappings, we should verify that changes cannot be read()
23025 back from the file, nor mmap's back from the file at a different
23026 address. (There have been systems where private was not correctly
23027 implemented like the infamous i386 svr4.0, and systems where the
23028 VM page cache was not coherent with the filesystem buffer cache
23029 like early versions of FreeBSD and possibly contemporary NetBSD.)
23030 For shared mappings, we should conversely verify that changes get
23031 propogated back to all the places they're supposed to be.
23033 Grep wants private fixed already mapped.
23034 The main things grep needs to know about mmap are:
23035 * does it exist and is it safe to write into the mmap'd area
23036 * how to use it (BSD variants) */
23037 #include <sys/types.h>
23039 #include <sys/mman.h>
23041 #if HAVE_SYS_TYPES_H
23042 # include <sys/types.h>
23046 # include <stdlib.h>
23049 #if HAVE_SYS_STAT_H
23050 # include <sys/stat.h>
23054 # include <unistd.h>
23057 /* This mess was copied from the GNU getpagesize.h. */
23058 #ifndef HAVE_GETPAGESIZE
23060 /* Assume that all systems that can run configure have sys/param.h. */
23061 # ifndef HAVE_SYS_PARAM_H
23062 # define HAVE_SYS_PARAM_H 1
23065 # ifdef _SC_PAGESIZE
23066 # define getpagesize() sysconf(_SC_PAGESIZE)
23067 # else /* no _SC_PAGESIZE */
23068 # ifdef HAVE_SYS_PARAM_H
23069 # include <sys/param.h>
23070 # ifdef EXEC_PAGESIZE
23071 # define getpagesize() EXEC_PAGESIZE
23072 # else /* no EXEC_PAGESIZE */
23074 # define getpagesize() NBPG * CLSIZE
23077 # endif /* no CLSIZE */
23078 # else /* no NBPG */
23080 # define getpagesize() NBPC
23081 # else /* no NBPC */
23083 # define getpagesize() PAGESIZE
23084 # endif /* PAGESIZE */
23085 # endif /* no NBPC */
23086 # endif /* no NBPG */
23087 # endif /* no EXEC_PAGESIZE */
23088 # else /* no HAVE_SYS_PARAM_H */
23089 # define getpagesize() 8192 /* punt totally */
23090 # endif /* no HAVE_SYS_PARAM_H */
23091 # endif /* no _SC_PAGESIZE */
23093 #endif /* no HAVE_GETPAGESIZE */
23096 extern "C" { void *malloc(unsigned); }
23104 char *data, *data2, *data3;
23108 pagesize = getpagesize();
23111 * First, make a file with some known garbage in it.
23113 data = malloc(pagesize);
23116 for (i = 0; i < pagesize; ++i)
23117 *(data + i) = rand();
23119 fd = creat("conftestmmap", 0600);
23122 if (write(fd, data, pagesize) != pagesize)
23127 * Next, try to mmap the file at a fixed address which
23128 * already has something else allocated at it. If we can,
23129 * also make sure that we see the same garbage.
23131 fd = open("conftestmmap", O_RDWR);
23134 data2 = malloc(2 * pagesize);
23137 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23138 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23139 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23141 for (i = 0; i < pagesize; ++i)
23142 if (*(data + i) != *(data2 + i))
23146 * Finally, make sure that changes to the mapped area
23147 * do not percolate back to the file as seen by read().
23148 * (This is a bug on some variants of i386 svr4.0.)
23150 for (i = 0; i < pagesize; ++i)
23151 *(data2 + i) = *(data2 + i) + 1;
23152 data3 = malloc(pagesize);
23155 if (read(fd, data3, pagesize) != pagesize)
23157 for (i = 0; i < pagesize; ++i)
23158 if (*(data + i) != *(data3 + i))
23161 unlink("conftestmmap");
23166 if { (eval echo configure:23167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23168 ac_cv_func_mmap_fixed_mapped=yes
23170 echo "configure: failed program was:" >&5
23171 cat conftest.$ac_ext >&5
23173 ac_cv_func_mmap_fixed_mapped=no
23180 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23181 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23182 cat >> confdefs.h <<\EOF
23183 #define HAVE_MMAP 1
23190 # This depends on GLIBCPP_CHECK_LINKER_FEATURES, but without it assumes no.
23191 # Check whether --enable-symvers or --disable-symvers was given.
23192 if test "${enable_symvers+set}" = set; then
23193 enableval="$enable_symvers"
23194 case "$enableval" in
23195 yes) enable_symvers=yes ;;
23196 no) enable_symvers=no ;;
23197 # other names here, just as sanity checks
23198 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23199 gnu) enable_symvers=$enableval ;;
23200 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23206 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23207 # don't know enough about $LD to do tricks...
23208 if test x$enable_shared = xno ||
23210 test x$glibcpp_gnu_ld_version = x; then
23214 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23215 if test $enable_symvers != no; then
23216 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23217 echo "configure:23218: checking for shared libgcc" >&5
23218 ac_save_CFLAGS="$CFLAGS"
23220 cat > conftest.$ac_ext <<EOF
23221 #line 23222 "configure"
23222 #include "confdefs.h"
23228 if { (eval echo configure:23229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23230 glibcpp_shared_libgcc=yes
23232 echo "configure: failed program was:" >&5
23233 cat conftest.$ac_ext >&5
23235 glibcpp_shared_libgcc=no
23238 CFLAGS="$ac_save_CFLAGS"
23239 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23242 # For GNU ld, we need at least this version. It's 2.12 in the same format
23243 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23244 glibcpp_min_gnu_ld_version=21200
23246 # Check to see if unspecified "yes" value can win, given results
23248 if test $enable_symvers = yes ; then
23249 if test $with_gnu_ld = yes &&
23250 test $glibcpp_shared_libgcc = yes ;
23252 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23255 ac_test_CFLAGS="${CFLAGS+set}"
23256 ac_save_CFLAGS="$CFLAGS"
23257 CFLAGS='-shared -Wl,--version-script,conftest.map'
23260 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23262 cat > conftest.$ac_ext <<EOF
23263 #line 23264 "configure"
23264 #include "confdefs.h"
23270 if { (eval echo configure:23271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23274 echo "configure: failed program was:" >&5
23275 cat conftest.$ac_ext >&5
23278 if test "$ac_test_CFLAGS" = set; then
23279 CFLAGS="$ac_save_CFLAGS"
23281 # this is the suspicious part
23287 # just fail for now
23292 case $enable_symvers in
23294 SYMVER_MAP=config/linker-map.dummy
23297 SYMVER_MAP=config/linker-map.gnu
23298 cat >> confdefs.h <<\EOF
23299 #define _GLIBCPP_SYMVER 1
23308 if test $enable_symvers != no; then
23309 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23310 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23312 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23313 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23315 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23316 echo "configure:23317: checking versioning on shared library symbols" >&5
23317 echo "$ac_t""$enable_symvers" 1>&6
23320 # This depends on GLIBCPP_ENABLE_SYMVERS and GLIBCPP_IS_CROSS_COMPILING.
23323 if test x"$GLIBCPP_IS_CROSS_COMPILING" = xfalse; then
23324 # Do checks for memory limit functions.
23326 setrlimit_have_headers=yes
23327 for ac_hdr in unistd.h sys/time.h sys/resource.h
23329 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23330 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23331 echo "configure:23332: checking for $ac_hdr" >&5
23332 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23333 echo $ac_n "(cached) $ac_c" 1>&6
23335 cat > conftest.$ac_ext <<EOF
23336 #line 23337 "configure"
23337 #include "confdefs.h"
23340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23341 { (eval echo configure:23342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23343 if test -z "$ac_err"; then
23345 eval "ac_cv_header_$ac_safe=yes"
23348 echo "configure: failed program was:" >&5
23349 cat conftest.$ac_ext >&5
23351 eval "ac_cv_header_$ac_safe=no"
23355 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23356 echo "$ac_t""yes" 1>&6
23357 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23358 cat >> confdefs.h <<EOF
23359 #define $ac_tr_hdr 1
23363 echo "$ac_t""no" 1>&6
23364 setrlimit_have_headers=no
23368 # If don't have the headers, then we can't run the tests now, and we
23369 # won't be seeing any of these during testsuite compilation.
23370 if test $setrlimit_have_headers = yes; then
23371 # Can't do these in a loop, else the resulting syntax is wrong.
23373 cat > conftest.$ac_ext <<EOF
23374 #line 23375 "configure"
23375 #include "confdefs.h"
23376 #include <unistd.h>
23377 #include <sys/time.h>
23378 #include <sys/resource.h>
23381 int f = RLIMIT_DATA ;
23384 if { (eval echo configure:23385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23388 echo "configure: failed program was:" >&5
23389 cat conftest.$ac_ext >&5
23394 cat >> confdefs.h <<EOF
23395 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23400 cat > conftest.$ac_ext <<EOF
23401 #line 23402 "configure"
23402 #include "confdefs.h"
23403 #include <unistd.h>
23404 #include <sys/time.h>
23405 #include <sys/resource.h>
23408 int f = RLIMIT_RSS ;
23411 if { (eval echo configure:23412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23415 echo "configure: failed program was:" >&5
23416 cat conftest.$ac_ext >&5
23421 cat >> confdefs.h <<EOF
23422 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23427 cat > conftest.$ac_ext <<EOF
23428 #line 23429 "configure"
23429 #include "confdefs.h"
23430 #include <unistd.h>
23431 #include <sys/time.h>
23432 #include <sys/resource.h>
23435 int f = RLIMIT_VMEM ;
23438 if { (eval echo configure:23439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23442 echo "configure: failed program was:" >&5
23443 cat conftest.$ac_ext >&5
23448 cat >> confdefs.h <<EOF
23449 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23454 cat > conftest.$ac_ext <<EOF
23455 #line 23456 "configure"
23456 #include "confdefs.h"
23457 #include <unistd.h>
23458 #include <sys/time.h>
23459 #include <sys/resource.h>
23462 int f = RLIMIT_AS ;
23465 if { (eval echo configure:23466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23469 echo "configure: failed program was:" >&5
23470 cat conftest.$ac_ext >&5
23475 cat >> confdefs.h <<EOF
23476 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23481 # Check for rlimit, setrlimit.
23482 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23483 echo $ac_n "(cached) $ac_c" 1>&6
23486 cat > conftest.$ac_ext <<EOF
23487 #line 23488 "configure"
23488 #include "confdefs.h"
23489 #include <unistd.h>
23490 #include <sys/time.h>
23491 #include <sys/resource.h>
23494 struct rlimit r; setrlimit(0, &r);
23497 if { (eval echo configure:23498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23501 echo "configure: failed program was:" >&5
23502 cat conftest.$ac_ext >&5
23512 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23513 echo "configure:23514: checking for testsuite memory limit support" >&5
23514 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23516 cat >> confdefs.h <<\EOF
23517 #define _GLIBCPP_MEM_LIMITS 1
23523 echo "$ac_t""$ac_mem_limits" 1>&6
23526 # Look for setenv, so that extended locale tests can be performed.
23528 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23529 echo "configure:23530: checking for setenv declaration" >&5
23530 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23531 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23532 echo $ac_n "(cached) $ac_c" 1>&6
23537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23538 ac_cpp='$CXXCPP $CPPFLAGS'
23539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23541 cross_compiling=$ac_cv_prog_cxx_cross
23543 cat > conftest.$ac_ext <<EOF
23544 #line 23545 "configure"
23545 #include "confdefs.h"
23546 #include <stdlib.h>
23551 if { (eval echo configure:23552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23553 glibcpp_cv_func_setenv_use=yes
23555 echo "configure: failed program was:" >&5
23556 cat conftest.$ac_ext >&5
23558 glibcpp_cv_func_setenv_use=no
23562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23563 ac_cpp='$CPP $CPPFLAGS'
23564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23566 cross_compiling=$ac_cv_prog_cc_cross
23572 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23573 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23574 for ac_func in setenv
23576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23577 echo "configure:23578: checking for $ac_func" >&5
23578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23579 echo $ac_n "(cached) $ac_c" 1>&6
23581 cat > conftest.$ac_ext <<EOF
23582 #line 23583 "configure"
23583 #include "confdefs.h"
23584 /* System header to define __stub macros and hopefully few prototypes,
23585 which can conflict with char $ac_func(); below. */
23586 #include <assert.h>
23587 /* Override any gcc2 internal prototype to avoid an error. */
23588 /* We use char because int might match the return type of a gcc2
23589 builtin and then its argument prototype would still apply. */
23594 /* The GNU C library defines this for functions which it implements
23595 to always fail with ENOSYS. Some functions are actually named
23596 something starting with __ and the normal name is an alias. */
23597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23605 if { (eval echo configure:23606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23607 eval "ac_cv_func_$ac_func=yes"
23609 echo "configure: failed program was:" >&5
23610 cat conftest.$ac_ext >&5
23612 eval "ac_cv_func_$ac_func=no"
23617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23618 echo "$ac_t""yes" 1>&6
23619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23620 cat >> confdefs.h <<EOF
23621 #define $ac_tr_func 1
23625 echo "$ac_t""no" 1>&6
23633 # Export file names for ABI checking.
23634 baseline_dir="${glibcpp_srcdir}/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
23637 # Determine if checking the ABI is desirable.
23638 if test x$enable_symvers = xno; then
23639 enable_abi_check=no
23643 enable_abi_check=no ;;
23645 enable_abi_check=yes ;;
23651 if test "$enable_wchar_t" = yes; then
23652 GLIBCPP_TEST_WCHAR_T_TRUE=
23653 GLIBCPP_TEST_WCHAR_T_FALSE='#'
23655 GLIBCPP_TEST_WCHAR_T_TRUE='#'
23656 GLIBCPP_TEST_WCHAR_T_FALSE=
23660 if test "$enable_abi_check" = yes; then
23661 GLIBCPP_TEST_ABI_TRUE=
23662 GLIBCPP_TEST_ABI_FALSE='#'
23664 GLIBCPP_TEST_ABI_TRUE='#'
23665 GLIBCPP_TEST_ABI_FALSE=
23669 # Propagate the target-specific source directories through the build chain.
23670 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23671 # uses it, and it only gets used in this file.)
23672 OS_INC_SRCDIR=config/${os_include_dir}
23673 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23677 # Determine cross-compile flags and all AM_CONDITIONALs.
23681 if test "$CANADIAN" = yes; then
23690 if test "$need_libmath" = yes; then
23691 GLIBCPP_BUILD_LIBMATH_TRUE=
23692 GLIBCPP_BUILD_LIBMATH_FALSE='#'
23694 GLIBCPP_BUILD_LIBMATH_TRUE='#'
23695 GLIBCPP_BUILD_LIBMATH_FALSE=
23698 cat > confcache <<\EOF
23699 # This file is a shell script that caches the results of configure
23700 # tests run on this system so they can be shared between configure
23701 # scripts and configure runs. It is not useful on other systems.
23702 # If it contains results you don't want to keep, you may remove or edit it.
23704 # By default, configure uses ./config.cache as the cache file,
23705 # creating it if it does not exist already. You can give configure
23706 # the --cache-file=FILE option to use a different cache file; that is
23707 # what configure does when it calls configure scripts in
23708 # subdirectories, so they share the cache.
23709 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23710 # config.status only pays attention to the cache file if you give it the
23711 # --recheck option to rerun configure.
23714 # The following way of writing the cache mishandles newlines in values,
23715 # but we know of no workaround that is simple, portable, and efficient.
23716 # So, don't put newlines in cache variables' values.
23717 # Ultrix sh set writes to stderr and can't be redirected directly,
23718 # and sets the high bit in the cache file unless we assign to the vars.
23720 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23722 # `set' does not quote correctly, so add quotes (double-quote substitution
23723 # turns \\\\ into \\, and sed turns \\ into \).
23725 -e "s/'/'\\\\''/g" \
23726 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23729 # `set' quotes correctly as required by POSIX, so do not add quotes.
23730 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23733 if cmp -s $cache_file confcache; then
23736 if test -w $cache_file; then
23737 echo "updating cache $cache_file"
23738 cat confcache > $cache_file
23740 echo "not updating unwritable cache $cache_file"
23746 if test "${multilib}" = "yes"; then
23747 multilib_arg="--enable-multilib"
23752 # Export all the install information
23754 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23755 # exported correctly in GLIBCPP_CONFIGURE.
23756 glibcpp_toolexecdir=no
23757 glibcpp_toolexeclibdir=no
23758 glibcpp_prefixdir=${prefix}
23760 # Process the option --with-gxx-include-dir=<path to include-files directory>
23761 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23762 echo "configure:23763: checking for --with-gxx-include-dir" >&5
23763 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23764 if test "${with_gxx_include_dir+set}" = set; then
23765 withval="$with_gxx_include_dir"
23766 case "${withval}" in
23768 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23775 gxx_include_dir=${withval}
23782 echo "$ac_t""$gxx_include_dir" 1>&6
23784 # Process the option "--enable-version-specific-runtime-libs"
23785 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23786 echo "configure:23787: checking for --enable-version-specific-runtime-libs" >&5
23787 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23788 if test "${enable_version_specific_runtime_libs+set}" = set; then
23789 enableval="$enable_version_specific_runtime_libs"
23790 case "$enableval" in
23791 yes) version_specific_libs=yes ;;
23792 no) version_specific_libs=no ;;
23793 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23796 version_specific_libs=no
23798 # Option set, now we can test it.
23799 echo "$ac_t""$version_specific_libs" 1>&6
23801 # Default case for install directory for include files.
23802 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23803 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23806 # Version-specific runtime libs processing.
23807 if test $version_specific_libs = yes; then
23808 # Need the gcc compiler version to know where to install libraries
23809 # and header files if --enable-version-specific-runtime-libs option
23811 if test x"$gxx_include_dir" = x"no"; then
23812 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23814 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23815 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23818 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23819 # Install a library built with a cross compiler in tooldir, not libdir.
23820 if test x"$glibcpp_toolexecdir" = x"no"; then
23821 if test -n "$with_cross_host" &&
23822 test x"$with_cross_host" != x"no"; then
23823 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23824 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23826 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23827 glibcpp_toolexeclibdir='$(libdir)'
23829 multi_os_directory=`$CC -print-multi-os-directory`
23830 case $multi_os_directory in
23831 .) ;; # Avoid trailing /.
23832 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
23836 echo $ac_n "checking for install location""... $ac_c" 1>&6
23837 echo "configure:23838: checking for install location" >&5
23838 echo "$ac_t""$gxx_include_dir" 1>&6
23846 # Export all the include and flag information to Makefiles.
23848 # Root level of the build directory include sources.
23849 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23851 # Passed down for canadian crosses.
23852 if test x"$CANADIAN" = xyes; then
23853 TOPLEVEL_INCLUDES='-I$(includedir)'
23856 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23858 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23860 # Now, export this to all the little Makefiles....
23867 # Optimization flags that are probably a good idea for thrill-seekers. Just
23868 # uncomment the lines below and make, everything else is ready to go...
23869 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23873 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
23877 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23878 grep "enable shared" > /dev/null; then
23879 LIBSUPCXX_PICFLAGS=-prefer-pic
23881 LIBSUPCXX_PICFLAGS=
23885 # Generate the various Makefiles, include files, and scripts.
23886 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am,
23887 # libsupc++/Makefile.am and testsuite/Makefile.am so that multilib installs
23888 # will end up installed in the correct place. To work around this not being
23889 # passed # down from config-ml.in -> top_srcdir/Makefile.am ->
23890 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23892 cat > confcache <<\EOF
23893 # This file is a shell script that caches the results of configure
23894 # tests run on this system so they can be shared between configure
23895 # scripts and configure runs. It is not useful on other systems.
23896 # If it contains results you don't want to keep, you may remove or edit it.
23898 # By default, configure uses ./config.cache as the cache file,
23899 # creating it if it does not exist already. You can give configure
23900 # the --cache-file=FILE option to use a different cache file; that is
23901 # what configure does when it calls configure scripts in
23902 # subdirectories, so they share the cache.
23903 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23904 # config.status only pays attention to the cache file if you give it the
23905 # --recheck option to rerun configure.
23908 # The following way of writing the cache mishandles newlines in values,
23909 # but we know of no workaround that is simple, portable, and efficient.
23910 # So, don't put newlines in cache variables' values.
23911 # Ultrix sh set writes to stderr and can't be redirected directly,
23912 # and sets the high bit in the cache file unless we assign to the vars.
23914 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23916 # `set' does not quote correctly, so add quotes (double-quote substitution
23917 # turns \\\\ into \\, and sed turns \\ into \).
23919 -e "s/'/'\\\\''/g" \
23920 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23923 # `set' quotes correctly as required by POSIX, so do not add quotes.
23924 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23927 if cmp -s $cache_file confcache; then
23930 if test -w $cache_file; then
23931 echo "updating cache $cache_file"
23932 cat confcache > $cache_file
23934 echo "not updating unwritable cache $cache_file"
23939 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23941 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23942 # Let make expand exec_prefix.
23943 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23945 # Any assignment to VPATH causes Sun make to only execute
23946 # the first set of double-colon rules, so remove it if not needed.
23947 # If there is a colon in the path, we need to keep it.
23948 if test "x$srcdir" = x.; then
23949 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23952 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23954 DEFS=-DHAVE_CONFIG_H
23956 # Without the "./", some shells look in PATH for config.status.
23957 : ${CONFIG_STATUS=./config.status}
23959 echo creating $CONFIG_STATUS
23960 rm -f $CONFIG_STATUS
23961 cat > $CONFIG_STATUS <<EOF
23963 # Generated automatically by configure.
23964 # Run this file to recreate the current configuration.
23965 # This directory was configured as follows,
23966 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23968 # $0 $ac_configure_args
23970 # Compiler output produced by configure, useful for debugging
23971 # configure, is in ./config.log if it exists.
23973 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23976 case "\$ac_option" in
23977 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23978 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23979 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23980 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23981 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23983 -help | --help | --hel | --he | --h)
23984 echo "\$ac_cs_usage"; exit 0 ;;
23985 *) echo "\$ac_cs_usage"; exit 1 ;;
23989 ac_given_srcdir=$srcdir
23990 ac_given_INSTALL="$INSTALL"
23992 trap 'rm -fr `echo "Makefile \
23993 include/Makefile src/Makefile \
23994 libmath/Makefile libsupc++/Makefile \
23995 po/Makefile testsuite/Makefile scripts/check_survey scripts/testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23997 cat >> $CONFIG_STATUS <<EOF
23999 # Protect against being on the right side of a sed subst in config.status.
24000 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24001 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24005 s%@CFLAGS@%$CFLAGS%g
24006 s%@CPPFLAGS@%$CPPFLAGS%g
24007 s%@CXXFLAGS@%$CXXFLAGS%g
24008 s%@FFLAGS@%$FFLAGS%g
24010 s%@LDFLAGS@%$LDFLAGS%g
24012 s%@exec_prefix@%$exec_prefix%g
24013 s%@prefix@%$prefix%g
24014 s%@program_transform_name@%$program_transform_name%g
24015 s%@bindir@%$bindir%g
24016 s%@sbindir@%$sbindir%g
24017 s%@libexecdir@%$libexecdir%g
24018 s%@datadir@%$datadir%g
24019 s%@sysconfdir@%$sysconfdir%g
24020 s%@sharedstatedir@%$sharedstatedir%g
24021 s%@localstatedir@%$localstatedir%g
24022 s%@libdir@%$libdir%g
24023 s%@includedir@%$includedir%g
24024 s%@oldincludedir@%$oldincludedir%g
24025 s%@infodir@%$infodir%g
24026 s%@mandir@%$mandir%g
24027 s%@PACKAGE@%$PACKAGE%g
24028 s%@libtool_VERSION@%$libtool_VERSION%g
24029 s%@toplevel_srcdir@%$toplevel_srcdir%g
24031 s%@host_alias@%$host_alias%g
24032 s%@host_cpu@%$host_cpu%g
24033 s%@host_vendor@%$host_vendor%g
24034 s%@host_os@%$host_os%g
24035 s%@target@%$target%g
24036 s%@target_alias@%$target_alias%g
24037 s%@target_cpu@%$target_cpu%g
24038 s%@target_vendor@%$target_vendor%g
24039 s%@target_os@%$target_os%g
24041 s%@build_alias@%$build_alias%g
24042 s%@build_cpu@%$build_cpu%g
24043 s%@build_vendor@%$build_vendor%g
24044 s%@build_os@%$build_os%g
24045 s%@glibcpp_builddir@%$glibcpp_builddir%g
24046 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24049 s%@glibcpp_basedir@%$glibcpp_basedir%g
24051 s%@glibcpp_CXX@%$glibcpp_CXX%g
24054 s%@RANLIB@%$RANLIB%g
24055 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24056 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24057 s%@INSTALL_DATA@%$INSTALL_DATA%g
24058 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24059 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24061 s%@EXEEXT@%$EXEEXT%g
24062 s%@VERSION@%$VERSION%g
24063 s%@ACLOCAL@%$ACLOCAL%g
24064 s%@AUTOCONF@%$AUTOCONF%g
24065 s%@AUTOMAKE@%$AUTOMAKE%g
24066 s%@AUTOHEADER@%$AUTOHEADER%g
24067 s%@MAKEINFO@%$MAKEINFO%g
24068 s%@SET_MAKE@%$SET_MAKE%g
24069 s%@OBJEXT@%$OBJEXT%g
24071 s%@LIBTOOL@%$LIBTOOL%g
24072 s%@CXXCPP@%$CXXCPP%g
24073 s%@enable_shared@%$enable_shared%g
24074 s%@enable_static@%$enable_static%g
24075 s%@ifGNUmake@%$ifGNUmake%g
24076 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24077 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24078 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24079 s%@glibcpp_PCHFLAGS@%$glibcpp_PCHFLAGS%g
24080 s%@CSTDIO_H@%$CSTDIO_H%g
24081 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24082 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24084 s%@check_msgfmt@%$check_msgfmt%g
24085 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24086 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24087 s%@glibcpp_localedir@%$glibcpp_localedir%g
24088 s%@USE_NLS@%$USE_NLS%g
24089 s%@CLOCALE_H@%$CLOCALE_H%g
24090 s%@CCODECVT_H@%$CCODECVT_H%g
24091 s%@CMESSAGES_H@%$CMESSAGES_H%g
24092 s%@CCODECVT_CC@%$CCODECVT_CC%g
24093 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24094 s%@CCTYPE_CC@%$CCTYPE_CC%g
24095 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24096 s%@CMONEY_CC@%$CMONEY_CC%g
24097 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24098 s%@CTIME_H@%$CTIME_H%g
24099 s%@CTIME_CC@%$CTIME_CC%g
24100 s%@CLOCALE_CC@%$CLOCALE_CC%g
24101 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24102 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24103 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24104 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24105 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24106 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24107 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24108 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24109 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24110 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24111 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24112 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24113 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24114 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24115 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24116 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24117 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24118 s%@WERROR@%$WERROR%g
24119 s%@SYMVER_MAP@%$SYMVER_MAP%g
24120 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24121 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24122 s%@baseline_dir@%$baseline_dir%g
24123 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24124 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24125 s%@GLIBCPP_TEST_ABI_TRUE@%$GLIBCPP_TEST_ABI_TRUE%g
24126 s%@GLIBCPP_TEST_ABI_FALSE@%$GLIBCPP_TEST_ABI_FALSE%g
24127 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24128 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24129 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24130 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24131 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24132 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24133 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24134 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24135 s%@gxx_include_dir@%$gxx_include_dir%g
24136 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24137 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24138 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24139 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24140 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24141 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24142 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24143 s%@WARN_FLAGS@%$WARN_FLAGS%g
24144 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24149 cat >> $CONFIG_STATUS <<\EOF
24151 # Split the substitutions into bite-sized pieces for seds with
24152 # small command number limits, like on Digital OSF/1 and HP-UX.
24153 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24154 ac_file=1 # Number of current file.
24155 ac_beg=1 # First line for current file.
24156 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24159 while $ac_more_lines; do
24160 if test $ac_beg -gt 1; then
24161 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24163 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24165 if test ! -s conftest.s$ac_file; then
24166 ac_more_lines=false
24167 rm -f conftest.s$ac_file
24169 if test -z "$ac_sed_cmds"; then
24170 ac_sed_cmds="sed -f conftest.s$ac_file"
24172 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24174 ac_file=`expr $ac_file + 1`
24176 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24179 if test -z "$ac_sed_cmds"; then
24184 cat >> $CONFIG_STATUS <<EOF
24186 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24187 include/Makefile src/Makefile \
24188 libmath/Makefile libsupc++/Makefile \
24189 po/Makefile testsuite/Makefile scripts/check_survey scripts/testsuite_flags"}
24191 cat >> $CONFIG_STATUS <<\EOF
24192 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24193 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24195 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24196 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24197 *) ac_file_in="${ac_file}.in" ;;
24200 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24202 # Remove last slash and all that follows it. Not all systems have dirname.
24203 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24204 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24205 # The file is in a subdirectory.
24206 test ! -d "$ac_dir" && mkdir "$ac_dir"
24207 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24208 # A "../" for each directory in $ac_dir_suffix.
24209 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24211 ac_dir_suffix= ac_dots=
24214 case "$ac_given_srcdir" in
24216 if test -z "$ac_dots"; then top_srcdir=.
24217 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24218 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24219 *) # Relative path.
24220 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24221 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24224 case "$ac_given_INSTALL" in
24225 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24226 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24229 echo creating "$ac_file"
24231 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24233 *Makefile*) ac_comsub="1i\\
24234 # $configure_input" ;;
24238 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24240 s%@configure_input@%$configure_input%g
24241 s%@srcdir@%$srcdir%g
24242 s%@top_srcdir@%$top_srcdir%g
24243 s%@INSTALL@%$INSTALL%g
24244 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24248 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24249 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24251 # ac_d sets the value in "#define NAME VALUE" lines.
24252 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24253 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24256 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24257 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24258 ac_uB='\([ ]\)%\1#\2define\3'
24261 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24262 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24263 ac_eB='$%\1#\2define\3'
24267 if test "${CONFIG_HEADERS+set}" != set; then
24269 cat >> $CONFIG_STATUS <<EOF
24270 CONFIG_HEADERS="config.h"
24272 cat >> $CONFIG_STATUS <<\EOF
24274 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24275 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24277 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24278 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24279 *) ac_file_in="${ac_file}.in" ;;
24282 echo creating $ac_file
24284 rm -f conftest.frag conftest.in conftest.out
24285 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24286 cat $ac_file_inputs > conftest.in
24290 # Transform confdefs.h into a sed script conftest.vals that substitutes
24291 # the proper values into config.h.in to produce config.h. And first:
24292 # Protect against being on the right side of a sed subst in config.status.
24293 # Protect against being in an unquoted here document in config.status.
24294 rm -f conftest.vals
24295 cat > conftest.hdr <<\EOF
24298 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24302 sed -n -f conftest.hdr confdefs.h > conftest.vals
24305 # This sed command replaces #undef with comments. This is necessary, for
24306 # example, in the case of _POSIX_SOURCE, which is predefined and required
24307 # on some systems where configure will not decide to define it.
24308 cat >> conftest.vals <<\EOF
24309 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24312 # Break up conftest.vals because some shells have a limit on
24313 # the size of here documents, and old seds have small limits too.
24315 rm -f conftest.tail
24318 ac_lines=`grep -c . conftest.vals`
24319 # grep -c gives empty output for an empty file on some AIX systems.
24320 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24321 # Write a limited-size here document to conftest.frag.
24322 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24323 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24325 sed -f conftest.frag conftest.in > conftest.out
24327 mv conftest.out conftest.in
24328 ' >> $CONFIG_STATUS
24329 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24330 rm -f conftest.vals
24331 mv conftest.tail conftest.vals
24333 rm -f conftest.vals
24335 cat >> $CONFIG_STATUS <<\EOF
24336 rm -f conftest.frag conftest.h
24337 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24338 cat conftest.in >> conftest.h
24340 if cmp -s $ac_file conftest.h 2>/dev/null; then
24341 echo "$ac_file is unchanged"
24344 # Remove last slash and all that follows it. Not all systems have dirname.
24345 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24346 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24347 # The file is in a subdirectory.
24348 test ! -d "$ac_dir" && mkdir "$ac_dir"
24351 mv conftest.h $ac_file
24356 cat >> $CONFIG_STATUS <<EOF
24361 with_target_subdir=${with_target_subdir}
24362 with_build_subdir=${with_build_subdir}
24363 with_multisubdir=${with_multisubdir}
24364 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24365 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24366 glibcpp_basedir=${glibcpp_basedir}
24369 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24372 cat >> $CONFIG_STATUS <<\EOF
24373 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24374 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24375 if test -n "$CONFIG_FILES"; then
24376 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24377 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24378 # Ony modify Makefiles that are just being created.
24379 case " $CONFIG_FILES" in
24381 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24384 case $CONFIG_FILES in
24386 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24389 case $CONFIG_FILES in
24390 *libsupc++/Makefile*)
24391 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24394 case $CONFIG_FILES in
24395 *testsuite/Makefile*)
24396 grep '^MULTISUBDIR =' Makefile >> testsuite/Makefile
24401 chmod +x scripts/check_survey
24402 chmod +x scripts/testsuite_flags
24405 chmod +x $CONFIG_STATUS
24406 rm -fr confdefs* $ac_clean_files
24407 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24411 # Sanity checking & User-visible messages.
24412 # Checks down here, otherwise they get scrolled off before
24413 # the user will notice.
24415 # Trying to get more people to read documentation. Possibly remove
24416 # check and warn all the time. There is no "informational" AC_MSG_
24417 # macro, so these are going to be printed even when --quiet/--silent
24419 if test ! -f stamp-sanity-warned; then
24420 touch stamp-sanity-warned
24422 echo "Please make certain that you read the installation information here:"
24423 echo " faster => ${srcdir}/docs/html/install.html"
24424 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24426 echo "and the configuration information here:"
24427 echo " faster => ${srcdir}/docs/html/configopts.html"
24428 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24430 echo "before proceeding with ${_cv_gnu_make_command}."