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-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-nls use Native Language Support (default)"
49 --enable-cheaders=MODEL construct "C" header files for g++ [default=c_std]"
51 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
53 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
55 --enable-long-long turns on 'long long' [default=yes]"
57 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
59 --enable-libunwind-exceptions force use of libunwind for exceptions"
61 --enable-concept-checks use Boost-derived template checks [default=no]"
63 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
66 --enable-debug build extra debug library [default=no]"
68 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
69 library;[default=none]"
71 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
73 --with-gxx-include-dir the installation directory for include files"
75 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
77 # Initialize some variables set by options.
78 # The variables have the same names as the options, with
79 # dashes changed to underlines.
81 cache_file=./config.cache
90 program_transform_name=s,x,x,
98 bindir='${exec_prefix}/bin'
99 sbindir='${exec_prefix}/sbin'
100 libexecdir='${exec_prefix}/libexec'
101 datadir='${prefix}/share'
102 sysconfdir='${prefix}/etc'
103 sharedstatedir='${prefix}/com'
104 localstatedir='${prefix}/var'
105 libdir='${exec_prefix}/lib'
106 includedir='${prefix}/include'
107 oldincludedir='/usr/include'
108 infodir='${prefix}/info'
109 mandir='${prefix}/man'
111 # Initialize some other variables.
114 SHELL=${CONFIG_SHELL-/bin/sh}
115 # Maximum number of lines to put in a shell here document.
122 # If the previous option needs an argument, assign it.
123 if test -n "$ac_prev"; then
124 eval "$ac_prev=\$ac_option"
130 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
134 # Accept the important Cygnus configure options, so we can diagnose typos.
138 -bindir | --bindir | --bindi | --bind | --bin | --bi)
140 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
141 bindir="$ac_optarg" ;;
143 -build | --build | --buil | --bui | --bu)
145 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
146 build="$ac_optarg" ;;
148 -cache-file | --cache-file | --cache-fil | --cache-fi \
149 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
150 ac_prev=cache_file ;;
151 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
152 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
153 cache_file="$ac_optarg" ;;
155 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
157 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
159 datadir="$ac_optarg" ;;
161 -disable-* | --disable-*)
162 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
163 # Reject names that are not valid shell variable names.
164 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
165 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
167 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
168 eval "enable_${ac_feature}=no" ;;
170 -enable-* | --enable-*)
171 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
172 # Reject names that are not valid shell variable names.
173 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
174 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
176 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
181 eval "enable_${ac_feature}='$ac_optarg'" ;;
183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
185 | --exec | --exe | --ex)
186 ac_prev=exec_prefix ;;
187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
189 | --exec=* | --exe=* | --ex=*)
190 exec_prefix="$ac_optarg" ;;
192 -gas | --gas | --ga | --g)
193 # Obsolete; use --with-gas.
196 -help | --help | --hel | --he)
197 # Omit some internal or obsolete options to make the list less imposing.
198 # This message is too long to be a string in the A/UX 3.1 sh.
200 Usage: configure [options] [host]
201 Options: [defaults in brackets after descriptions]
203 --cache-file=FILE cache test results in FILE
204 --help print this message
205 --no-create do not create output files
206 --quiet, --silent do not print \`checking...' messages
207 --version print the version of autoconf that created configure
208 Directory and file names:
209 --prefix=PREFIX install architecture-independent files in PREFIX
211 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
213 --bindir=DIR user executables in DIR [EPREFIX/bin]
214 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
215 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
216 --datadir=DIR read-only architecture-independent data in DIR
218 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
219 --sharedstatedir=DIR modifiable architecture-independent data in DIR
221 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
222 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
223 --includedir=DIR C header files in DIR [PREFIX/include]
224 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
225 --infodir=DIR info documentation in DIR [PREFIX/info]
226 --mandir=DIR man documentation in DIR [PREFIX/man]
227 --srcdir=DIR find the sources in DIR [configure dir or ..]
228 --program-prefix=PREFIX prepend PREFIX to installed program names
229 --program-suffix=SUFFIX append SUFFIX to installed program names
230 --program-transform-name=PROGRAM
231 run sed PROGRAM on installed program names
235 --build=BUILD configure for building on BUILD [BUILD=HOST]
236 --host=HOST configure for HOST [guessed]
237 --target=TARGET configure for TARGET [TARGET=HOST]
238 Features and packages:
239 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
240 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
241 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
242 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
243 --x-includes=DIR X include files are in DIR
244 --x-libraries=DIR X library files are in DIR
246 if test -n "$ac_help"; then
247 echo "--enable and --with options recognized:$ac_help"
251 -host | --host | --hos | --ho)
253 -host=* | --host=* | --hos=* | --ho=*)
256 -includedir | --includedir | --includedi | --included | --include \
257 | --includ | --inclu | --incl | --inc)
258 ac_prev=includedir ;;
259 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
260 | --includ=* | --inclu=* | --incl=* | --inc=*)
261 includedir="$ac_optarg" ;;
263 -infodir | --infodir | --infodi | --infod | --info | --inf)
265 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
266 infodir="$ac_optarg" ;;
268 -libdir | --libdir | --libdi | --libd)
270 -libdir=* | --libdir=* | --libdi=* | --libd=*)
271 libdir="$ac_optarg" ;;
273 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
274 | --libexe | --libex | --libe)
275 ac_prev=libexecdir ;;
276 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
277 | --libexe=* | --libex=* | --libe=*)
278 libexecdir="$ac_optarg" ;;
280 -localstatedir | --localstatedir | --localstatedi | --localstated \
281 | --localstate | --localstat | --localsta | --localst \
282 | --locals | --local | --loca | --loc | --lo)
283 ac_prev=localstatedir ;;
284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
285 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
286 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
287 localstatedir="$ac_optarg" ;;
289 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
291 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
292 mandir="$ac_optarg" ;;
295 # Obsolete; use --without-fp.
298 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
302 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
303 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
306 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
307 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
308 | --oldin | --oldi | --old | --ol | --o)
309 ac_prev=oldincludedir ;;
310 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
311 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
312 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
313 oldincludedir="$ac_optarg" ;;
315 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
317 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
318 prefix="$ac_optarg" ;;
320 -program-prefix | --program-prefix | --program-prefi | --program-pref \
321 | --program-pre | --program-pr | --program-p)
322 ac_prev=program_prefix ;;
323 -program-prefix=* | --program-prefix=* | --program-prefi=* \
324 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
325 program_prefix="$ac_optarg" ;;
327 -program-suffix | --program-suffix | --program-suffi | --program-suff \
328 | --program-suf | --program-su | --program-s)
329 ac_prev=program_suffix ;;
330 -program-suffix=* | --program-suffix=* | --program-suffi=* \
331 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
332 program_suffix="$ac_optarg" ;;
334 -program-transform-name | --program-transform-name \
335 | --program-transform-nam | --program-transform-na \
336 | --program-transform-n | --program-transform- \
337 | --program-transform | --program-transfor \
338 | --program-transfo | --program-transf \
339 | --program-trans | --program-tran \
340 | --progr-tra | --program-tr | --program-t)
341 ac_prev=program_transform_name ;;
342 -program-transform-name=* | --program-transform-name=* \
343 | --program-transform-nam=* | --program-transform-na=* \
344 | --program-transform-n=* | --program-transform-=* \
345 | --program-transform=* | --program-transfor=* \
346 | --program-transfo=* | --program-transf=* \
347 | --program-trans=* | --program-tran=* \
348 | --progr-tra=* | --program-tr=* | --program-t=*)
349 program_transform_name="$ac_optarg" ;;
351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
352 | -silent | --silent | --silen | --sile | --sil)
355 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
357 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
359 sbindir="$ac_optarg" ;;
361 -sharedstatedir | --sharedstatedir | --sharedstatedi \
362 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
363 | --sharedst | --shareds | --shared | --share | --shar \
365 ac_prev=sharedstatedir ;;
366 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
367 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
368 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
370 sharedstatedir="$ac_optarg" ;;
372 -site | --site | --sit)
374 -site=* | --site=* | --sit=*)
377 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
379 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
380 srcdir="$ac_optarg" ;;
382 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
383 | --syscon | --sysco | --sysc | --sys | --sy)
384 ac_prev=sysconfdir ;;
385 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
386 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
387 sysconfdir="$ac_optarg" ;;
389 -target | --target | --targe | --targ | --tar | --ta | --t)
391 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
392 target="$ac_optarg" ;;
394 -v | -verbose | --verbose | --verbos | --verbo | --verb)
397 -version | --version | --versio | --versi | --vers)
398 echo "configure generated by autoconf version 2.13"
402 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
403 # Reject names that are not valid shell variable names.
404 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
405 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
407 ac_package=`echo $ac_package| sed 's/-/_/g'`
412 eval "with_${ac_package}='$ac_optarg'" ;;
414 -without-* | --without-*)
415 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
416 # Reject names that are not valid shell variable names.
417 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
418 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
420 ac_package=`echo $ac_package| sed 's/-/_/g'`
421 eval "with_${ac_package}=no" ;;
424 # Obsolete; use --with-x.
427 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
428 | --x-incl | --x-inc | --x-in | --x-i)
429 ac_prev=x_includes ;;
430 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
431 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
432 x_includes="$ac_optarg" ;;
434 -x-libraries | --x-libraries | --x-librarie | --x-librari \
435 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
436 ac_prev=x_libraries ;;
437 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
438 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
439 x_libraries="$ac_optarg" ;;
441 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
445 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
446 echo "configure: warning: $ac_option: invalid host type" 1>&2
448 if test "x$nonopt" != xNONE; then
449 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
457 if test -n "$ac_prev"; then
458 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
461 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
463 # File descriptor usage:
466 # 2 errors and warnings
467 # 3 some systems may open it to /dev/tty
468 # 4 used on the Kubota Titan
469 # 6 checking for... messages and results
470 # 5 compiler messages saved in config.log
471 if test "$silent" = yes; then
479 This file contains any messages produced by compilers while
480 running configure, to aid debugging if configure makes a mistake.
483 # Strip out --no-create and --no-recursion so they do not pile up.
484 # Also quote any args containing shell metacharacters.
489 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
490 | --no-cr | --no-c) ;;
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
493 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
494 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
495 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
500 # Only set these to C if already set. These must not be set unconditionally
501 # because not all systems understand e.g. LANG=C (notably SCO).
502 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
503 # Non-C LC_CTYPE values break the ctype check.
504 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
505 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
506 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
507 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
509 # confdefs.h avoids OS command line length limits that DEFS can exceed.
510 rm -rf conftest* confdefs.h
511 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
514 # A filename unique to this package, relative to the directory that
515 # configure is in, which we can look for to find out if srcdir is correct.
516 ac_unique_file=src/ios.cc
518 # Find the source files, if location was not specified.
519 if test -z "$srcdir"; then
520 ac_srcdir_defaulted=yes
521 # Try the directory containing this script, then its parent.
523 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
524 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
526 if test ! -r $srcdir/$ac_unique_file; then
530 ac_srcdir_defaulted=no
532 if test ! -r $srcdir/$ac_unique_file; then
533 if test "$ac_srcdir_defaulted" = yes; then
534 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
536 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
539 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
541 # Prefer explicitly selected file to automatically selected ones.
542 if test -z "$CONFIG_SITE"; then
543 if test "x$prefix" != xNONE; then
544 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
546 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
549 for ac_site_file in $CONFIG_SITE; do
550 if test -r "$ac_site_file"; then
551 echo "loading site script $ac_site_file"
556 if test -r "$cache_file"; then
557 echo "loading cache $cache_file"
560 echo "creating cache $cache_file"
565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
566 ac_cpp='$CPP $CPPFLAGS'
567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
568 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
569 cross_compiling=$ac_cv_prog_cc_cross
573 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
574 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
575 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
582 ac_n= ac_c='\c' ac_t=
587 # This works around the fact that libtool configuration may change LD
588 # for this particular configuration, but some shells, instead of
589 # keeping the changes in LD private, export them just because LD is
590 # exported. Only used at the end of this file.
591 ORIGINAL_LD_FOR_MULTILIBS=$LD
595 # For libtool versioning info, format is CURRENT:REVISION:AGE
596 libtool_VERSION=6:0:0
600 # Check whether --enable-multilib or --disable-multilib was given.
601 if test "${enable_multilib+set}" = set; then
602 enableval="$enable_multilib"
603 case "${enableval}" in
606 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
612 # When building with srcdir == objdir, links to the source files will
613 # be created in directories within the target_subdir. We have to
614 # adjust toplevel_srcdir accordingly, so that configure finds
615 # install-sh and other auxiliary files that live in the top-level
617 if test "${srcdir}" = "."; then
618 if test -z "${with_target_subdir}"; then
621 if test "${with_target_subdir}" != "."; then
622 toprel="${with_multisrctop}../.."
624 toprel="${with_multisrctop}.."
631 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
632 if test -f $ac_dir/install-sh; then
634 ac_install_sh="$ac_aux_dir/install-sh -c"
636 elif test -f $ac_dir/install.sh; then
638 ac_install_sh="$ac_aux_dir/install.sh -c"
642 if test -z "$ac_aux_dir"; then
643 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
645 ac_config_guess=$ac_aux_dir/config.guess
646 ac_config_sub=$ac_aux_dir/config.sub
647 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
649 toplevel_srcdir=\${top_srcdir}/$toprel
653 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
655 # You will slowly go insane if you do not grok the following fact: when
656 # building v3 as part of the compiler, the top-level /target/ becomes the
657 # library's /host/. `configure' then causes --target to default to --host,
658 # exactly like any other package using autoconf. Therefore, 'target' and
659 # 'host' will always be the same. This makes sense both for native and
660 # cross compilers, just think about it for a little while. :-)
662 # Also, if v3 is being configured as part of a cross compiler, the top-level
663 # configure script will pass the "real" host as $with_cross_host.
665 # In AC 2.13 AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
667 # Do some error checking and defaulting for the host and target type.
669 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
672 # 1. You are not allowed to specify --host, --target, and nonopt at the
674 # 2. Host defaults to nonopt.
675 # 3. If nonopt is not specified, then host defaults to the current host,
676 # as determined by config.guess.
677 # 4. Target and build default to nonopt.
678 # 5. If nonopt is not specified, then target and build default to host.
680 # The aliases save the names the user supplied, while $host etc.
681 # will get canonicalized.
682 case $host---$target---$nonopt in
683 NONE---*---* | *---NONE---* | *---*---NONE) ;;
684 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
688 # Make sure we can run config.sub.
689 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
690 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
693 echo $ac_n "checking host system type""... $ac_c" 1>&6
694 echo "configure:695: checking host system type" >&5
697 case "$host_alias" in
701 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
702 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
704 *) host_alias=$nonopt ;;
708 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
709 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$host" 1>&6
714 echo $ac_n "checking target system type""... $ac_c" 1>&6
715 echo "configure:716: checking target system type" >&5
718 case "$target_alias" in
721 NONE) target_alias=$host_alias ;;
722 *) target_alias=$nonopt ;;
726 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
727 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$target" 1>&6
732 echo $ac_n "checking build system type""... $ac_c" 1>&6
733 echo "configure:734: checking build system type" >&5
736 case "$build_alias" in
739 NONE) build_alias=$host_alias ;;
740 *) build_alias=$nonopt ;;
744 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
745 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
746 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
747 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
748 echo "$ac_t""$build" 1>&6
750 test "$host_alias" != "$target_alias" &&
751 test "$program_prefix$program_suffix$program_transform_name" = \
753 program_prefix=${target_alias}-
756 # Runs configure.host, finds CC, CXX and assorted other critical bits.
757 # Must run this before the GLIBCPP_ENABLE_* macros below.
758 if test $host != $build; then
759 ac_tool_prefix=${host_alias}-
764 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
765 echo "configure:766: checking for Cygwin environment" >&5
766 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
767 echo $ac_n "(cached) $ac_c" 1>&6
769 cat > conftest.$ac_ext <<EOF
770 #line 771 "configure"
771 #include "confdefs.h"
776 #define __CYGWIN__ __CYGWIN32__
781 if { (eval echo configure:782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
785 echo "configure: failed program was:" >&5
786 cat conftest.$ac_ext >&5
794 echo "$ac_t""$ac_cv_cygwin" 1>&6
796 test "$ac_cv_cygwin" = yes && CYGWIN=yes
797 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
798 echo "configure:799: checking for mingw32 environment" >&5
799 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
800 echo $ac_n "(cached) $ac_c" 1>&6
802 cat > conftest.$ac_ext <<EOF
803 #line 804 "configure"
804 #include "confdefs.h"
810 if { (eval echo configure:811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
814 echo "configure: failed program was:" >&5
815 cat conftest.$ac_ext >&5
823 echo "$ac_t""$ac_cv_mingw32" 1>&6
825 test "$ac_cv_mingw32" = yes && MINGW32=yes
827 # Export build and source directories.
828 # These need to be absolute paths, yet at the same time need to
829 # canonicalize only relative paths, because then amd will not unmount
830 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
831 glibcpp_builddir=`${PWDCMD-pwd}`
833 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
834 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
841 for ac_prog in gawk mawk nawk awk
843 # Extract the first word of "$ac_prog", so it can be a program name with args.
844 set dummy $ac_prog; ac_word=$2
845 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
846 echo "configure:847: checking for $ac_word" >&5
847 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
848 echo $ac_n "(cached) $ac_c" 1>&6
850 if test -n "$AWK"; then
851 ac_cv_prog_AWK="$AWK" # Let the user override the test.
853 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
855 for ac_dir in $ac_dummy; do
856 test -z "$ac_dir" && ac_dir=.
857 if test -f $ac_dir/$ac_word; then
858 ac_cv_prog_AWK="$ac_prog"
865 AWK="$ac_cv_prog_AWK"
866 if test -n "$AWK"; then
867 echo "$ac_t""$AWK" 1>&6
869 echo "$ac_t""no" 1>&6
872 test -n "$AWK" && break
875 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
876 # be 'cp -p' if linking isn't available. Uncomment the next line to
877 # force a particular method.
878 #ac_cv_prog_LN_S='cp -p'
879 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
880 echo "configure:881: checking whether ln -s works" >&5
881 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
882 echo $ac_n "(cached) $ac_c" 1>&6
885 if ln -s X conftestdata 2>/dev/null
888 ac_cv_prog_LN_S="ln -s"
893 LN_S="$ac_cv_prog_LN_S"
894 if test "$ac_cv_prog_LN_S" = "ln -s"; then
895 echo "$ac_t""yes" 1>&6
897 echo "$ac_t""no" 1>&6
901 # We use these options to decide which functions to include.
902 # Check whether --with-target-subdir or --without-target-subdir was given.
903 if test "${with_target_subdir+set}" = set; then
904 withval="$with_target_subdir"
908 # Check whether --with-cross-host or --without-cross-host was given.
909 if test "${with_cross_host+set}" = set; then
910 withval="$with_cross_host"
915 # Check whether --with-newlib or --without-newlib was given.
916 if test "${with_newlib+set}" = set; then
917 withval="$with_newlib"
922 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
925 # Never versions of autoconf add an underscore to these functions.
926 # Prevent future problems ...
933 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
934 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
935 # are probably using a cross compiler, which will not be able to fully
936 # link an executable. This is addressed in later versions of autoconf.
941 # Extract the first word of "gcc", so it can be a program name with args.
942 set dummy gcc; ac_word=$2
943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
944 echo "configure:945: checking for $ac_word" >&5
945 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
946 echo $ac_n "(cached) $ac_c" 1>&6
948 if test -n "$CC"; then
949 ac_cv_prog_CC="$CC" # Let the user override the test.
951 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
953 for ac_dir in $ac_dummy; do
954 test -z "$ac_dir" && ac_dir=.
955 if test -f $ac_dir/$ac_word; then
964 if test -n "$CC"; then
965 echo "$ac_t""$CC" 1>&6
967 echo "$ac_t""no" 1>&6
970 if test -z "$CC"; then
971 # Extract the first word of "cc", so it can be a program name with args.
972 set dummy cc; ac_word=$2
973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
974 echo "configure:975: checking for $ac_word" >&5
975 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
976 echo $ac_n "(cached) $ac_c" 1>&6
978 if test -n "$CC"; then
979 ac_cv_prog_CC="$CC" # Let the user override the test.
981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
984 for ac_dir in $ac_dummy; do
985 test -z "$ac_dir" && ac_dir=.
986 if test -f $ac_dir/$ac_word; then
987 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
996 if test $ac_prog_rejected = yes; then
997 # We found a bogon in the path, so make sure we never use it.
998 set dummy $ac_cv_prog_CC
1000 if test $# -gt 0; then
1001 # We chose a different compiler from the bogus one.
1002 # However, it has the same basename, so the bogon will be chosen
1003 # first if we set CC to just the basename; use the full file name.
1005 set dummy "$ac_dir/$ac_word" "$@"
1013 if test -n "$CC"; then
1014 echo "$ac_t""$CC" 1>&6
1016 echo "$ac_t""no" 1>&6
1019 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1022 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1023 echo "configure:1024: checking whether we are using GNU C" >&5
1024 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1025 echo $ac_n "(cached) $ac_c" 1>&6
1027 cat > conftest.c <<EOF
1032 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1039 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1041 if test $ac_cv_prog_gcc = yes; then
1043 ac_test_CFLAGS="${CFLAGS+set}"
1044 ac_save_CFLAGS="$CFLAGS"
1046 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1047 echo "configure:1048: checking whether ${CC-cc} accepts -g" >&5
1048 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1049 echo $ac_n "(cached) $ac_c" 1>&6
1051 echo 'void f(){}' > conftest.c
1052 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1061 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1062 if test "$ac_test_CFLAGS" = set; then
1063 CFLAGS="$ac_save_CFLAGS"
1064 elif test $ac_cv_prog_cc_g = yes; then
1071 test "${CFLAGS+set}" = set || CFLAGS="-g"
1075 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1076 # will try to link in libstdc++.
1080 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1081 # flags that come in CXX while configuring libstdc++. They're different
1082 # from those used for all other target libraries. If CXX is set in
1083 # the environment, respect that here.
1085 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1087 # Extract the first word of "$ac_prog", so it can be a program name with args.
1088 set dummy $ac_prog; ac_word=$2
1089 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1090 echo "configure:1091: checking for $ac_word" >&5
1091 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1092 echo $ac_n "(cached) $ac_c" 1>&6
1094 if test -n "$glibcpp_CXX"; then
1095 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1097 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1099 for ac_dir in $ac_dummy; do
1100 test -z "$ac_dir" && ac_dir=.
1101 if test -f $ac_dir/$ac_word; then
1102 ac_cv_prog_glibcpp_CXX="$ac_prog"
1109 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1110 if test -n "$glibcpp_CXX"; then
1111 echo "$ac_t""$glibcpp_CXX" 1>&6
1113 echo "$ac_t""no" 1>&6
1116 test -n "$glibcpp_CXX" && break
1118 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1122 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1124 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1125 echo "configure:1126: checking whether we are using GNU C++" >&5
1126 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1127 echo $ac_n "(cached) $ac_c" 1>&6
1129 cat > conftest.C <<EOF
1134 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1141 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1143 if test $ac_cv_prog_gxx = yes; then
1145 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1146 ac_save_CXXFLAGS="$CXXFLAGS"
1148 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1149 echo "configure:1150: checking whether ${CXX-g++} accepts -g" >&5
1150 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1151 echo $ac_n "(cached) $ac_c" 1>&6
1153 echo 'void f(){}' > conftest.cc
1154 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1155 ac_cv_prog_cxx_g=yes
1163 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1164 if test "$ac_test_CXXFLAGS" = set; then
1165 CXXFLAGS="$ac_save_CXXFLAGS"
1166 elif test $ac_cv_prog_cxx_g = yes; then
1173 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1177 # For directory versioning (e.g., headers) and other variables.
1178 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1179 echo "configure:1180: checking for GCC version number" >&5
1180 gcc_version=`$glibcpp_CXX -dumpversion`
1181 echo "$ac_t""$gcc_version" 1>&6
1183 # For some reason, gettext needs this.
1185 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1186 echo "configure:1187: checking for strerror in -lcposix" >&5
1187 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1189 echo $ac_n "(cached) $ac_c" 1>&6
1191 ac_save_LIBS="$LIBS"
1192 LIBS="-lcposix $LIBS"
1193 cat > conftest.$ac_ext <<EOF
1194 #line 1195 "configure"
1195 #include "confdefs.h"
1196 /* Override any gcc2 internal prototype to avoid an error. */
1197 /* We use char because int might match the return type of a gcc2
1198 builtin and then its argument prototype would still apply. */
1205 if { (eval echo configure:1206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1207 eval "ac_cv_lib_$ac_lib_var=yes"
1209 echo "configure: failed program was:" >&5
1210 cat conftest.$ac_ext >&5
1212 eval "ac_cv_lib_$ac_lib_var=no"
1215 LIBS="$ac_save_LIBS"
1218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1219 echo "$ac_t""yes" 1>&6
1220 LIBS="$LIBS -lcposix"
1222 echo "$ac_t""no" 1>&6
1228 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1229 set dummy ${ac_tool_prefix}as; ac_word=$2
1230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1231 echo "configure:1232: checking for $ac_word" >&5
1232 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1233 echo $ac_n "(cached) $ac_c" 1>&6
1235 if test -n "$AS"; then
1236 ac_cv_prog_AS="$AS" # Let the user override the test.
1238 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1240 for ac_dir in $ac_dummy; do
1241 test -z "$ac_dir" && ac_dir=.
1242 if test -f $ac_dir/$ac_word; then
1243 ac_cv_prog_AS="${ac_tool_prefix}as"
1248 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1252 if test -n "$AS"; then
1253 echo "$ac_t""$AS" 1>&6
1255 echo "$ac_t""no" 1>&6
1260 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1261 set dummy ${ac_tool_prefix}ar; ac_word=$2
1262 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1263 echo "configure:1264: checking for $ac_word" >&5
1264 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1265 echo $ac_n "(cached) $ac_c" 1>&6
1267 if test -n "$AR"; then
1268 ac_cv_prog_AR="$AR" # Let the user override the test.
1270 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1272 for ac_dir in $ac_dummy; do
1273 test -z "$ac_dir" && ac_dir=.
1274 if test -f $ac_dir/$ac_word; then
1275 ac_cv_prog_AR="${ac_tool_prefix}ar"
1280 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1284 if test -n "$AR"; then
1285 echo "$ac_t""$AR" 1>&6
1287 echo "$ac_t""no" 1>&6
1292 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1293 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1295 echo "configure:1296: checking for $ac_word" >&5
1296 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1297 echo $ac_n "(cached) $ac_c" 1>&6
1299 if test -n "$RANLIB"; then
1300 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1302 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1304 for ac_dir in $ac_dummy; do
1305 test -z "$ac_dir" && ac_dir=.
1306 if test -f $ac_dir/$ac_word; then
1307 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1314 RANLIB="$ac_cv_prog_RANLIB"
1315 if test -n "$RANLIB"; then
1316 echo "$ac_t""$RANLIB" 1>&6
1318 echo "$ac_t""no" 1>&6
1322 if test -z "$ac_cv_prog_RANLIB"; then
1323 if test -n "$ac_tool_prefix"; then
1324 # Extract the first word of "ranlib", so it can be a program name with args.
1325 set dummy ranlib; ac_word=$2
1326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1327 echo "configure:1328: checking for $ac_word" >&5
1328 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1329 echo $ac_n "(cached) $ac_c" 1>&6
1331 if test -n "$RANLIB"; then
1332 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1334 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1336 for ac_dir in $ac_dummy; do
1337 test -z "$ac_dir" && ac_dir=.
1338 if test -f $ac_dir/$ac_word; then
1339 ac_cv_prog_RANLIB="ranlib"
1344 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1347 RANLIB="$ac_cv_prog_RANLIB"
1348 if test -n "$RANLIB"; then
1349 echo "$ac_t""$RANLIB" 1>&6
1351 echo "$ac_t""no" 1>&6
1355 RANLIB="ranlib-not-found-in-path-error"
1359 # Find a good install program. We prefer a C program (faster),
1360 # so one script is as good as another. But avoid the broken or
1361 # incompatible versions:
1362 # SysV /etc/install, /usr/sbin/install
1363 # SunOS /usr/etc/install
1364 # IRIX /sbin/install
1366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1369 # ./install, which can be erroneously created by make from ./install.sh.
1370 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1371 echo "configure:1372: checking for a BSD compatible install" >&5
1372 if test -z "$INSTALL"; then
1373 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1374 echo $ac_n "(cached) $ac_c" 1>&6
1376 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1377 for ac_dir in $PATH; do
1378 # Account for people who put trailing slashes in PATH elements.
1380 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1382 # OSF1 and SCO ODT 3.0 have their own names for install.
1383 # Don't use installbsd from OSF since it installs stuff as root
1385 for ac_prog in ginstall scoinst install; do
1386 if test -f $ac_dir/$ac_prog; then
1387 if test $ac_prog = install &&
1388 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1389 # AIX install. It has an incompatible calling convention.
1392 ac_cv_path_install="$ac_dir/$ac_prog -c"
1403 if test "${ac_cv_path_install+set}" = set; then
1404 INSTALL="$ac_cv_path_install"
1406 # As a last resort, use the slow shell script. We don't cache a
1407 # path for INSTALL within a source directory, because that will
1408 # break other packages using the cache if that directory is
1409 # removed, or if the path is relative.
1410 INSTALL="$ac_install_sh"
1413 echo "$ac_t""$INSTALL" 1>&6
1415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1416 # It thinks the first close brace ends the variable substitution.
1417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1424 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1425 echo "configure:1426: checking whether to enable maintainer-specific portions of Makefiles" >&5
1426 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1427 if test "${enable_maintainer_mode+set}" = set; then
1428 enableval="$enable_maintainer_mode"
1429 USE_MAINTAINER_MODE=$enableval
1431 USE_MAINTAINER_MODE=no
1434 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1437 if test $USE_MAINTAINER_MODE = yes; then
1438 MAINTAINER_MODE_TRUE=
1439 MAINTAINER_MODE_FALSE='#'
1441 MAINTAINER_MODE_TRUE='#'
1442 MAINTAINER_MODE_FALSE=
1444 MAINT=$MAINTAINER_MODE_TRUE
1448 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1449 # at least currently, we never actually build a program, so we never
1450 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1451 # fails, because we are probably configuring with a cross compiler
1452 # which can't create executables. So we include AC_EXEEXT to keep
1453 # automake happy, but we don't execute it, since we don't care about
1456 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1457 # to nothing, so nothing would remain between `then' and `fi' if it
1458 # were not for the `:' below.
1462 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1463 echo "configure:1464: checking for executable suffix" >&5
1464 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1465 echo $ac_n "(cached) $ac_c" 1>&6
1467 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1471 echo 'int main () { return 0; }' > conftest.$ac_ext
1473 if { (eval echo configure:1474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1474 for file in conftest.*; do
1476 *.c | *.o | *.obj) ;;
1477 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1481 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1484 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1489 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1490 echo "$ac_t""${ac_cv_exeext}" 1>&6
1495 case ${glibcpp_basedir} in
1496 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1497 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1500 # Find platform-specific directories containing configuration info. In
1501 # addition to possibly modifying the same flags, it also sets up symlinks.
1503 . ${glibcpp_basedir}/configure.host
1504 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1505 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1509 am__api_version="1.4"
1510 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1511 echo "configure:1512: checking whether build environment is sane" >&5
1514 echo timestamp > conftestfile
1515 # Do `set' in a subshell so we don't clobber the current shell's
1516 # arguments. Must try -L first in case configure is actually a
1517 # symlink; some systems play weird games with the mod time of symlinks
1518 # (eg FreeBSD returns the mod time of the symlink's containing
1521 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1522 if test "$*" = "X"; then
1524 set X `ls -t $srcdir/configure conftestfile`
1526 if test "$*" != "X $srcdir/configure conftestfile" \
1527 && test "$*" != "X conftestfile $srcdir/configure"; then
1529 # If neither matched, then we have a broken ls. This can happen
1530 # if, for instance, CONFIG_SHELL is bash and it inherits a
1531 # broken ls alias from the environment. This has actually
1532 # happened. Such a system could not be considered "sane".
1533 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1534 alias in your environment" 1>&2; exit 1; }
1537 test "$2" = conftestfile
1543 { echo "configure: error: newly created file is older than distributed files!
1544 Check your system clock" 1>&2; exit 1; }
1547 echo "$ac_t""yes" 1>&6
1548 if test "$program_transform_name" = s,x,x,; then
1549 program_transform_name=
1551 # Double any \ or $. echo might interpret backslashes.
1552 cat <<\EOF_SED > conftestsed
1553 s,\\,\\\\,g; s,\$,$$,g
1555 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1558 test "$program_prefix" != NONE &&
1559 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1560 # Use a double $ so make ignores it.
1561 test "$program_suffix" != NONE &&
1562 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1564 # sed with no file args requires a program.
1565 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1567 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1568 echo "configure:1569: checking whether ${MAKE-make} sets \${MAKE}" >&5
1569 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1570 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1571 echo $ac_n "(cached) $ac_c" 1>&6
1573 cat > conftestmake <<\EOF
1575 @echo 'ac_maketemp="${MAKE}"'
1577 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1578 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1579 if test -n "$ac_maketemp"; then
1580 eval ac_cv_prog_make_${ac_make}_set=yes
1582 eval ac_cv_prog_make_${ac_make}_set=no
1586 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1587 echo "$ac_t""yes" 1>&6
1590 echo "$ac_t""no" 1>&6
1591 SET_MAKE="MAKE=${MAKE-make}"
1597 VERSION=$gcc_version
1599 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1600 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1602 cat >> confdefs.h <<EOF
1603 #define PACKAGE "$PACKAGE"
1606 cat >> confdefs.h <<EOF
1607 #define VERSION "$VERSION"
1612 missing_dir=`cd $ac_aux_dir && pwd`
1613 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1614 echo "configure:1615: checking for working aclocal-${am__api_version}" >&5
1615 # Run test in a subshell; some versions of sh will print an error if
1616 # an executable is not found, even if stderr is redirected.
1617 # Redirect stdin to placate older versions of autoconf. Sigh.
1618 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1619 ACLOCAL=aclocal-${am__api_version}
1620 echo "$ac_t""found" 1>&6
1622 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1623 echo "$ac_t""missing" 1>&6
1626 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1627 echo "configure:1628: checking for working autoconf" >&5
1628 # Run test in a subshell; some versions of sh will print an error if
1629 # an executable is not found, even if stderr is redirected.
1630 # Redirect stdin to placate older versions of autoconf. Sigh.
1631 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1633 echo "$ac_t""found" 1>&6
1635 AUTOCONF="$missing_dir/missing autoconf"
1636 echo "$ac_t""missing" 1>&6
1639 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1640 echo "configure:1641: checking for working automake-${am__api_version}" >&5
1641 # Run test in a subshell; some versions of sh will print an error if
1642 # an executable is not found, even if stderr is redirected.
1643 # Redirect stdin to placate older versions of autoconf. Sigh.
1644 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1645 AUTOMAKE=automake-${am__api_version}
1646 echo "$ac_t""found" 1>&6
1648 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1649 echo "$ac_t""missing" 1>&6
1652 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1653 echo "configure:1654: checking for working autoheader" >&5
1654 # Run test in a subshell; some versions of sh will print an error if
1655 # an executable is not found, even if stderr is redirected.
1656 # Redirect stdin to placate older versions of autoconf. Sigh.
1657 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1658 AUTOHEADER=autoheader
1659 echo "$ac_t""found" 1>&6
1661 AUTOHEADER="$missing_dir/missing autoheader"
1662 echo "$ac_t""missing" 1>&6
1665 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1666 echo "configure:1667: checking for working makeinfo" >&5
1667 # Run test in a subshell; some versions of sh will print an error if
1668 # an executable is not found, even if stderr is redirected.
1669 # Redirect stdin to placate older versions of autoconf. Sigh.
1670 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1672 echo "$ac_t""found" 1>&6
1674 MAKEINFO="$missing_dir/missing makeinfo"
1675 echo "$ac_t""missing" 1>&6
1684 # Check whether --enable-shared or --disable-shared was given.
1685 if test "${enable_shared+set}" = set; then
1686 enableval="$enable_shared"
1687 p=${PACKAGE-default}
1689 yes) enable_shared=yes ;;
1690 no) enable_shared=no ;;
1693 # Look at the argument we got. We use all the common list separators.
1694 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1695 for pkg in $enableval; do
1696 if test "X$pkg" = "X$p"; then
1707 # Check whether --enable-static or --disable-static was given.
1708 if test "${enable_static+set}" = set; then
1709 enableval="$enable_static"
1710 p=${PACKAGE-default}
1712 yes) enable_static=yes ;;
1713 no) enable_static=no ;;
1716 # Look at the argument we got. We use all the common list separators.
1717 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1718 for pkg in $enableval; do
1719 if test "X$pkg" = "X$p"; then
1730 # Check whether --enable-fast-install or --disable-fast-install was given.
1731 if test "${enable_fast_install+set}" = set; then
1732 enableval="$enable_fast_install"
1733 p=${PACKAGE-default}
1735 yes) enable_fast_install=yes ;;
1736 no) enable_fast_install=no ;;
1738 enable_fast_install=no
1739 # Look at the argument we got. We use all the common list separators.
1740 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1741 for pkg in $enableval; do
1742 if test "X$pkg" = "X$p"; then
1743 enable_fast_install=yes
1750 enable_fast_install=yes
1753 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1754 if test "${with_gnu_ld+set}" = set; then
1755 withval="$with_gnu_ld"
1756 test "$withval" = no || with_gnu_ld=yes
1762 if test "$GCC" = yes; then
1763 # Check if gcc -print-prog-name=ld gives a path.
1764 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1765 echo "configure:1766: checking for ld used by GCC" >&5
1768 # gcc leaves a trailing carriage return which upsets mingw
1769 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1771 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1774 # Accept absolute paths.
1775 [\\/]* | [A-Za-z]:[\\/]*)
1776 re_direlt='/[^/][^/]*/\.\./'
1777 # Canonicalize the path of ld
1778 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1779 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1780 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1782 test -z "$LD" && LD="$ac_prog"
1785 # If it fails, then pretend we aren't using GCC.
1789 # If it is relative, then search for the first ld in PATH.
1793 elif test "$with_gnu_ld" = yes; then
1794 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1795 echo "configure:1796: checking for GNU ld" >&5
1797 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1798 echo "configure:1799: checking for non-GNU ld" >&5
1800 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1801 echo $ac_n "(cached) $ac_c" 1>&6
1803 if test -z "$LD"; then
1804 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1805 for ac_dir in $PATH; do
1806 test -z "$ac_dir" && ac_dir=.
1807 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1808 lt_cv_path_LD="$ac_dir/$ac_prog"
1809 # Check to see if the program is GNU ld. I'd rather use --version,
1810 # but apparently some GNU ld's only accept -v.
1811 # Break only if it was the GNU/non-GNU ld that we prefer.
1812 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1813 test "$with_gnu_ld" != no && break
1815 test "$with_gnu_ld" != yes && break
1821 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1826 if test -n "$LD"; then
1827 echo "$ac_t""$LD" 1>&6
1829 echo "$ac_t""no" 1>&6
1831 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1832 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1833 echo "configure:1834: checking if the linker ($LD) is GNU ld" >&5
1834 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1835 echo $ac_n "(cached) $ac_c" 1>&6
1837 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1838 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1839 lt_cv_prog_gnu_ld=yes
1841 lt_cv_prog_gnu_ld=no
1845 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1846 with_gnu_ld=$lt_cv_prog_gnu_ld
1849 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1850 echo "configure:1851: checking for $LD option to reload object files" >&5
1851 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1852 echo $ac_n "(cached) $ac_c" 1>&6
1854 lt_cv_ld_reload_flag='-r'
1857 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1858 reload_flag=$lt_cv_ld_reload_flag
1859 test -n "$reload_flag" && reload_flag=" $reload_flag"
1861 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1862 echo "configure:1863: checking for BSD-compatible nm" >&5
1863 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1864 echo $ac_n "(cached) $ac_c" 1>&6
1866 if test -n "$NM"; then
1867 # Let the user override the test.
1870 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1871 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1872 test -z "$ac_dir" && ac_dir=.
1873 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1874 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1875 # Check to see if the nm accepts a BSD-compat flag.
1876 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1877 # nm: unknown option "B" ignored
1878 # Tru64's nm complains that /dev/null is an invalid object file
1879 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1880 lt_cv_path_NM="$tmp_nm -B"
1882 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1883 lt_cv_path_NM="$tmp_nm -p"
1886 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1887 continue # so that we can try to find one that supports BSD flags
1892 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1897 echo "$ac_t""$NM" 1>&6
1899 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1900 echo "configure:1901: checking how to recognise dependant libraries" >&5
1901 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1902 echo $ac_n "(cached) $ac_c" 1>&6
1904 lt_cv_file_magic_cmd='$MAGIC_CMD'
1905 lt_cv_file_magic_test_file=
1906 lt_cv_deplibs_check_method='unknown'
1907 # Need to set the preceding variable on all platforms that support
1908 # interlibrary dependencies.
1909 # 'none' -- dependencies not supported.
1910 # `unknown' -- same as none, but documents that we really don't know.
1911 # 'pass_all' -- all dependencies passed with no checks.
1912 # 'test_compile' -- check by making test program.
1913 # 'file_magic [regex]' -- check by looking for files in library path
1914 # which responds to the $file_magic_cmd with a given egrep regex.
1915 # If you have `file' or equivalent on your system and you're not sure
1916 # whether `pass_all' will *always* work, you probably want this one.
1920 lt_cv_deplibs_check_method=pass_all
1924 lt_cv_deplibs_check_method=pass_all
1928 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1929 lt_cv_file_magic_cmd='/usr/bin/file -L'
1930 lt_cv_file_magic_test_file=/shlib/libc.so
1933 cygwin* | mingw* |pw32*)
1934 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1935 lt_cv_file_magic_cmd='$OBJDUMP -f'
1938 darwin* | rhapsody*)
1939 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1940 lt_cv_file_magic_cmd='/usr/bin/file -L'
1942 rhapsody* | darwin1.012)
1943 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1946 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1952 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1955 # Not sure whether the presence of OpenBSD here was a mistake.
1956 # Let's accept both of them until this is cleared up.
1957 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1958 lt_cv_file_magic_cmd=/usr/bin/file
1959 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1963 lt_cv_deplibs_check_method=pass_all
1968 lt_cv_deplibs_check_method=pass_all
1974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1975 lt_cv_file_magic_cmd=/usr/bin/file
1976 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1979 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1980 lt_cv_file_magic_cmd=/usr/bin/file
1981 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1989 # this will be overridden with pass_all, but let us keep it just in case
1990 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1994 *-32|*"-32 ") libmagic=32-bit;;
1995 *-n32|*"-n32 ") libmagic=N32;;
1996 *-64|*"-64 ") libmagic=64-bit;;
1997 *) libmagic=never-match;;
1999 # this will be overridden with pass_all, but let us keep it just in case
2000 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2003 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2004 lt_cv_deplibs_check_method=pass_all
2007 # This must be Linux ELF.
2010 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2011 lt_cv_deplibs_check_method=pass_all ;;
2013 # glibc up to 2.1.1 does not perform some relocations on ARM
2014 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2016 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2020 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2021 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2023 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2028 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2029 lt_cv_file_magic_cmd=/usr/bin/file
2030 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2033 osf3* | osf4* | osf5*)
2034 # this will be overridden with pass_all, but let us keep it just in case
2035 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2036 lt_cv_file_magic_test_file=/shlib/libc.so
2037 lt_cv_deplibs_check_method=pass_all
2041 lt_cv_deplibs_check_method=pass_all
2045 lt_cv_deplibs_check_method=pass_all
2046 lt_cv_file_magic_test_file=/lib/libc.so
2049 sysv5uw[78]* | sysv4*uw2*)
2050 lt_cv_deplibs_check_method=pass_all
2053 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2054 case $host_vendor in
2056 lt_cv_deplibs_check_method=pass_all
2059 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]'
2060 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2068 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2069 file_magic_cmd=$lt_cv_file_magic_cmd
2070 deplibs_check_method=$lt_cv_deplibs_check_method
2072 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2073 echo "configure:2074: checking for object suffix" >&5
2074 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2075 echo $ac_n "(cached) $ac_c" 1>&6
2078 echo 'int i = 1;' > conftest.$ac_ext
2079 if { (eval echo configure:2080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2080 for ac_file in conftest.*; do
2083 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2087 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2092 echo "$ac_t""$ac_cv_objext" 1>&6
2093 OBJEXT=$ac_cv_objext
2094 ac_objext=$ac_cv_objext
2096 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2098 # Only perform the check for file, if the check method requires it
2099 case $deplibs_check_method in
2101 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2102 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2103 echo "configure:2104: checking for ${ac_tool_prefix}file" >&5
2104 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2105 echo $ac_n "(cached) $ac_c" 1>&6
2109 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2112 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2115 ac_save_MAGIC_CMD="$MAGIC_CMD"
2116 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2117 ac_dummy="/usr/bin:$PATH"
2118 for ac_dir in $ac_dummy; do
2119 test -z "$ac_dir" && ac_dir=.
2120 if test -f $ac_dir/${ac_tool_prefix}file; then
2121 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2122 if test -n "$file_magic_test_file"; then
2123 case $deplibs_check_method in
2125 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2126 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2127 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2128 egrep "$file_magic_regex" > /dev/null; then
2133 *** Warning: the command libtool uses to detect shared libraries,
2134 *** $file_magic_cmd, produces output that libtool cannot recognize.
2135 *** The result is that libtool may fail to recognize shared libraries
2136 *** as such. This will affect the creation of libtool libraries that
2137 *** depend on shared libraries, but programs linked with such libtool
2138 *** libraries will work regardless of this problem. Nevertheless, you
2139 *** may want to report the problem to your system manager and/or to
2140 *** bug-libtool@gnu.org
2150 MAGIC_CMD="$ac_save_MAGIC_CMD"
2155 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2156 if test -n "$MAGIC_CMD"; then
2157 echo "$ac_t""$MAGIC_CMD" 1>&6
2159 echo "$ac_t""no" 1>&6
2162 if test -z "$lt_cv_path_MAGIC_CMD"; then
2163 if test -n "$ac_tool_prefix"; then
2164 echo $ac_n "checking for file""... $ac_c" 1>&6
2165 echo "configure:2166: checking for file" >&5
2166 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2167 echo $ac_n "(cached) $ac_c" 1>&6
2171 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2174 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2177 ac_save_MAGIC_CMD="$MAGIC_CMD"
2178 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2179 ac_dummy="/usr/bin:$PATH"
2180 for ac_dir in $ac_dummy; do
2181 test -z "$ac_dir" && ac_dir=.
2182 if test -f $ac_dir/file; then
2183 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2184 if test -n "$file_magic_test_file"; then
2185 case $deplibs_check_method in
2187 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2188 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2189 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2190 egrep "$file_magic_regex" > /dev/null; then
2195 *** Warning: the command libtool uses to detect shared libraries,
2196 *** $file_magic_cmd, produces output that libtool cannot recognize.
2197 *** The result is that libtool may fail to recognize shared libraries
2198 *** as such. This will affect the creation of libtool libraries that
2199 *** depend on shared libraries, but programs linked with such libtool
2200 *** libraries will work regardless of this problem. Nevertheless, you
2201 *** may want to report the problem to your system manager and/or to
2202 *** bug-libtool@gnu.org
2212 MAGIC_CMD="$ac_save_MAGIC_CMD"
2217 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2218 if test -n "$MAGIC_CMD"; then
2219 echo "$ac_t""$MAGIC_CMD" 1>&6
2221 echo "$ac_t""no" 1>&6
2233 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2234 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2235 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2236 echo "configure:2237: checking for $ac_word" >&5
2237 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2238 echo $ac_n "(cached) $ac_c" 1>&6
2240 if test -n "$RANLIB"; then
2241 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2243 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2245 for ac_dir in $ac_dummy; do
2246 test -z "$ac_dir" && ac_dir=.
2247 if test -f $ac_dir/$ac_word; then
2248 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2255 RANLIB="$ac_cv_prog_RANLIB"
2256 if test -n "$RANLIB"; then
2257 echo "$ac_t""$RANLIB" 1>&6
2259 echo "$ac_t""no" 1>&6
2263 if test -z "$ac_cv_prog_RANLIB"; then
2264 if test -n "$ac_tool_prefix"; then
2265 # Extract the first word of "ranlib", so it can be a program name with args.
2266 set dummy ranlib; ac_word=$2
2267 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2268 echo "configure:2269: checking for $ac_word" >&5
2269 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2270 echo $ac_n "(cached) $ac_c" 1>&6
2272 if test -n "$RANLIB"; then
2273 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2275 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2277 for ac_dir in $ac_dummy; do
2278 test -z "$ac_dir" && ac_dir=.
2279 if test -f $ac_dir/$ac_word; then
2280 ac_cv_prog_RANLIB="ranlib"
2285 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2288 RANLIB="$ac_cv_prog_RANLIB"
2289 if test -n "$RANLIB"; then
2290 echo "$ac_t""$RANLIB" 1>&6
2292 echo "$ac_t""no" 1>&6
2300 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2301 set dummy ${ac_tool_prefix}strip; ac_word=$2
2302 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2303 echo "configure:2304: checking for $ac_word" >&5
2304 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2305 echo $ac_n "(cached) $ac_c" 1>&6
2307 if test -n "$STRIP"; then
2308 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2312 for ac_dir in $ac_dummy; do
2313 test -z "$ac_dir" && ac_dir=.
2314 if test -f $ac_dir/$ac_word; then
2315 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2322 STRIP="$ac_cv_prog_STRIP"
2323 if test -n "$STRIP"; then
2324 echo "$ac_t""$STRIP" 1>&6
2326 echo "$ac_t""no" 1>&6
2330 if test -z "$ac_cv_prog_STRIP"; then
2331 if test -n "$ac_tool_prefix"; then
2332 # Extract the first word of "strip", so it can be a program name with args.
2333 set dummy strip; ac_word=$2
2334 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2335 echo "configure:2336: checking for $ac_word" >&5
2336 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2337 echo $ac_n "(cached) $ac_c" 1>&6
2339 if test -n "$STRIP"; then
2340 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2342 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2344 for ac_dir in $ac_dummy; do
2345 test -z "$ac_dir" && ac_dir=.
2346 if test -f $ac_dir/$ac_word; then
2347 ac_cv_prog_STRIP="strip"
2352 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2355 STRIP="$ac_cv_prog_STRIP"
2356 if test -n "$STRIP"; then
2357 echo "$ac_t""$STRIP" 1>&6
2359 echo "$ac_t""no" 1>&6
2368 # Check for any special flags to pass to ltconfig.
2369 libtool_flags="--cache-file=$cache_file"
2370 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2371 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2372 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2373 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2374 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2375 libtool_flags="$libtool_flags --enable-dlopen"
2377 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2378 if test "${enable_libtool_lock+set}" = set; then
2379 enableval="$enable_libtool_lock"
2383 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2384 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2386 # Check whether --with-pic or --without-pic was given.
2387 if test "${with_pic+set}" = set; then
2394 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2395 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2397 # Some flags need to be propagated to the compiler or linker for good
2401 # Find out which ABI we are using.
2402 echo '#line 2403 "configure"' > conftest.$ac_ext
2403 if { (eval echo configure:2404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2404 if test "$lt_cv_prog_gnu_ld" = yes; then
2405 case `/usr/bin/file conftest.$ac_objext` in
2407 LD="${LD-ld} -melf32bsmip"
2410 LD="${LD-ld} -melf32bmipn32"
2413 LD="${LD-ld} -melf64bmip"
2417 case `/usr/bin/file conftest.$ac_objext` in
2434 # Find out which ABI we are using.
2435 echo 'int i;' > conftest.$ac_ext
2436 if { (eval echo configure:2437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2437 case "`/usr/bin/file conftest.o`" in
2449 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2450 # Find out which ABI we are using.
2451 echo 'int i;' > conftest.$ac_ext
2452 if { (eval echo configure:2453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2453 case "`/usr/bin/file conftest.o`" in
2457 LD="${LD-ld} -m elf_i386"
2460 LD="${LD-ld} -m elf32ppclinux"
2463 LD="${LD-ld} -m elf_s390"
2466 LD="${LD-ld} -m elf32_sparc"
2473 LD="${LD-ld} -m elf_x86_64"
2475 ppc*-*linux*|powerpc*-*linux*)
2476 LD="${LD-ld} -m elf64ppc"
2479 LD="${LD-ld} -m elf64_s390"
2482 LD="${LD-ld} -m elf64_sparc"
2492 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2493 SAVE_CFLAGS="$CFLAGS"
2494 CFLAGS="$CFLAGS -belf"
2495 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2496 echo "configure:2497: checking whether the C compiler needs -belf" >&5
2497 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2498 echo $ac_n "(cached) $ac_c" 1>&6
2502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2503 ac_cpp='$CPP $CPPFLAGS'
2504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2506 cross_compiling=$ac_cv_prog_cc_cross
2508 cat > conftest.$ac_ext <<EOF
2509 #line 2510 "configure"
2510 #include "confdefs.h"
2516 if { (eval echo configure:2517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2518 lt_cv_cc_needs_belf=yes
2520 echo "configure: failed program was:" >&5
2521 cat conftest.$ac_ext >&5
2523 lt_cv_cc_needs_belf=no
2527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2528 ac_cpp='$CPP $CPPFLAGS'
2529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2531 cross_compiling=$ac_cv_prog_cc_cross
2535 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2536 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2537 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2538 CFLAGS="$SAVE_CFLAGS"
2545 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2546 echo "configure:2547: checking how to run the C++ preprocessor" >&5
2547 if test -z "$CXXCPP"; then
2548 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2549 echo $ac_n "(cached) $ac_c" 1>&6
2552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2553 ac_cpp='$CXXCPP $CPPFLAGS'
2554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2556 cross_compiling=$ac_cv_prog_cxx_cross
2557 CXXCPP="${CXX-g++} -E"
2558 cat > conftest.$ac_ext <<EOF
2559 #line 2560 "configure"
2560 #include "confdefs.h"
2563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2564 { (eval echo configure:2565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2566 if test -z "$ac_err"; then
2570 echo "configure: failed program was:" >&5
2571 cat conftest.$ac_ext >&5
2576 ac_cv_prog_CXXCPP="$CXXCPP"
2578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2579 ac_cpp='$CPP $CPPFLAGS'
2580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2582 cross_compiling=$ac_cv_prog_cc_cross
2585 CXXCPP="$ac_cv_prog_CXXCPP"
2586 echo "$ac_t""$CXXCPP" 1>&6
2589 # Save cache, so that ltconfig can load it
2590 cat > confcache <<\EOF
2591 # This file is a shell script that caches the results of configure
2592 # tests run on this system so they can be shared between configure
2593 # scripts and configure runs. It is not useful on other systems.
2594 # If it contains results you don't want to keep, you may remove or edit it.
2596 # By default, configure uses ./config.cache as the cache file,
2597 # creating it if it does not exist already. You can give configure
2598 # the --cache-file=FILE option to use a different cache file; that is
2599 # what configure does when it calls configure scripts in
2600 # subdirectories, so they share the cache.
2601 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2602 # config.status only pays attention to the cache file if you give it the
2603 # --recheck option to rerun configure.
2606 # The following way of writing the cache mishandles newlines in values,
2607 # but we know of no workaround that is simple, portable, and efficient.
2608 # So, don't put newlines in cache variables' values.
2609 # Ultrix sh set writes to stderr and can't be redirected directly,
2610 # and sets the high bit in the cache file unless we assign to the vars.
2612 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2614 # `set' does not quote correctly, so add quotes (double-quote substitution
2615 # turns \\\\ into \\, and sed turns \\ into \).
2617 -e "s/'/'\\\\''/g" \
2618 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2621 # `set' quotes correctly as required by POSIX, so do not add quotes.
2622 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2625 if cmp -s $cache_file confcache; then
2628 if test -w $cache_file; then
2629 echo "updating cache $cache_file"
2630 cat confcache > $cache_file
2632 echo "not updating unwritable cache $cache_file"
2638 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2639 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2640 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2641 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2642 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2643 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2644 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2645 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2646 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2647 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2649 # Reload cache, that may have been modified by ltconfig
2650 if test -r "$cache_file"; then
2651 echo "loading cache $cache_file"
2654 echo "creating cache $cache_file"
2659 # This can be used to rebuild libtool when needed
2660 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2662 # Always use our own libtool.
2663 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2665 # Redirect the config.log output again, so that the ltconfig log is not
2666 # clobbered by the next message.
2667 exec 5>>./config.log
2671 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2673 lt_save_CFLAGS="$CFLAGS"
2674 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2675 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2676 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2677 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2678 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2679 deplibs_check_method="$deplibs_check_method" \
2680 file_magic_cmd="$file_magic_cmd" \
2681 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2682 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2683 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2685 CFLAGS="$lt_save_CFLAGS"
2687 # Redirect the config.log output again, so that the ltconfig log is not
2688 # clobbered by the next message.
2689 exec 5>>./config.log
2699 # Check for c++ or library specific bits that don't require linking.
2700 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2701 echo "configure:2702: checking for GNU make" >&5
2702 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2703 echo $ac_n "(cached) $ac_c" 1>&6
2705 _cv_gnu_make_command='' ;
2706 for a in "${MAKE-make}" make gmake gnumake ; do
2707 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2709 _cv_gnu_make_command=$a ;
2716 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2717 if test "x$_cv_gnu_make_command" != "x" ; then
2724 #GLIBCPP_CHECK_COMPILER_VERSION
2726 ac_test_CXXFLAGS="${CXXFLAGS+set}"
2727 ac_save_CXXFLAGS="$CXXFLAGS"
2728 CXXFLAGS='-Werror -Winvalid-pch -Wno-deprecated -x c++-header'
2730 echo $ac_n "checking for compiler that seems to compile .gch files""... $ac_c" 1>&6
2731 echo "configure:2732: checking for compiler that seems to compile .gch files" >&5
2732 if test x${glibcpp_pch_comp+set} != xset; then
2733 if eval "test \"`echo '$''{'glibcpp_pch_comp'+set}'`\" = set"; then
2734 echo $ac_n "(cached) $ac_c" 1>&6
2739 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2740 ac_cpp='$CXXCPP $CPPFLAGS'
2741 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2742 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2743 cross_compiling=$ac_cv_prog_cxx_cross
2745 cat > conftest.$ac_ext <<EOF
2746 #line 2747 "configure"
2747 #include "confdefs.h"
2754 if { (eval echo configure:2755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2756 glibcpp_pch_comp=yes
2758 echo "configure: failed program was:" >&5
2759 cat conftest.$ac_ext >&5
2765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2766 ac_cpp='$CPP $CPPFLAGS'
2767 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2768 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2769 cross_compiling=$ac_cv_prog_cc_cross
2775 echo "$ac_t""$glibcpp_pch_comp" 1>&6
2777 CXXFLAGS="$ac_save_CXXFLAGS"
2780 if test "$glibcpp_pch_comp" = yes; then
2781 GLIBCPP_BUILD_PCH_TRUE=
2782 GLIBCPP_BUILD_PCH_FALSE='#'
2784 GLIBCPP_BUILD_PCH_TRUE='#'
2785 GLIBCPP_BUILD_PCH_FALSE=
2789 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2790 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2791 echo "configure:2792: checking how to run the C preprocessor" >&5
2792 # On Suns, sometimes $CPP names a directory.
2793 if test -n "$CPP" && test -d "$CPP"; then
2796 if test -z "$CPP"; then
2797 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2798 echo $ac_n "(cached) $ac_c" 1>&6
2800 # This must be in double quotes, not single quotes, because CPP may get
2801 # substituted into the Makefile and "${CC-cc}" will confuse make.
2803 # On the NeXT, cc -E runs the code through the compiler's parser,
2804 # not just through cpp.
2805 cat > conftest.$ac_ext <<EOF
2806 #line 2807 "configure"
2807 #include "confdefs.h"
2811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2812 { (eval echo configure:2813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2814 if test -z "$ac_err"; then
2818 echo "configure: failed program was:" >&5
2819 cat conftest.$ac_ext >&5
2821 CPP="${CC-cc} -E -traditional-cpp"
2822 cat > conftest.$ac_ext <<EOF
2823 #line 2824 "configure"
2824 #include "confdefs.h"
2828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2829 { (eval echo configure:2830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2830 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2831 if test -z "$ac_err"; then
2835 echo "configure: failed program was:" >&5
2836 cat conftest.$ac_ext >&5
2838 CPP="${CC-cc} -nologo -E"
2839 cat > conftest.$ac_ext <<EOF
2840 #line 2841 "configure"
2841 #include "confdefs.h"
2845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2846 { (eval echo configure:2847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2848 if test -z "$ac_err"; then
2852 echo "configure: failed program was:" >&5
2853 cat conftest.$ac_ext >&5
2862 ac_cv_prog_CPP="$CPP"
2864 CPP="$ac_cv_prog_CPP"
2866 ac_cv_prog_CPP="$CPP"
2868 echo "$ac_t""$CPP" 1>&6
2871 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2872 echo "configure:2873: checking for cstdio to use" >&5
2873 # Check whether --enable-cstdio or --disable-cstdio was given.
2874 if test "${enable_cstdio+set}" = set; then
2875 enableval="$enable_cstdio"
2876 if test x$enable_cstdio = xno; then
2884 enable_cstdio_flag=$enable_cstdio
2886 case x${enable_cstdio_flag} in
2888 CSTDIO_H=config/io/c_io_libio.h
2889 BASIC_FILE_H=config/io/basic_file_libio.h
2890 BASIC_FILE_CC=config/io/basic_file_libio.cc
2891 echo "$ac_t""libio" 1>&6
2893 # see if we are on a system with libio native (ie, linux)
2894 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2895 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2896 echo "configure:2897: checking for libio.h" >&5
2897 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2898 echo $ac_n "(cached) $ac_c" 1>&6
2900 cat > conftest.$ac_ext <<EOF
2901 #line 2902 "configure"
2902 #include "confdefs.h"
2905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2906 { (eval echo configure:2907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2908 if test -z "$ac_err"; then
2910 eval "ac_cv_header_$ac_safe=yes"
2913 echo "configure: failed program was:" >&5
2914 cat conftest.$ac_ext >&5
2916 eval "ac_cv_header_$ac_safe=no"
2920 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2921 echo "$ac_t""yes" 1>&6
2924 echo "$ac_t""no" 1>&6
2929 # Need to check and see what version of glibc is being used. If
2930 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2931 # compile most of libio for linux systems.
2932 if test x$has_libio = x"yes"; then
2935 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2936 echo "configure:2937: checking for glibc version >= 2.2" >&5
2937 cat > conftest.$ac_ext <<EOF
2938 #line 2939 "configure"
2939 #include "confdefs.h"
2941 #include <features.h>
2942 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2948 egrep "ok" >/dev/null 2>&1; then
2950 glibc_satisfactory=yes
2953 glibc_satisfactory=no
2957 echo "$ac_t""$glibc_satisfactory" 1>&6
2961 # XXX at the moment, admit defeat and force the recompilation
2962 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2963 glibc_satisfactory=no
2965 if test x$glibc_satisfactory = x"yes"; then
2970 # bkoz XXX need to add checks to enable this
2971 # pme XXX here's a first pass at such a check
2972 if test x$enable_c_mbchar != xno; then
2980 # Using libio, but <libio.h> doesn't exist on the target system. . .
2982 # bkoz XXX need to add checks to enable this
2983 # pme XXX here's a first pass at such a check
2984 if test x$enable_c_mbchar != xno; then
2991 xstdio | x | xno | xnone | xyes)
2993 CSTDIO_H=config/io/c_io_stdio.h
2994 BASIC_FILE_H=config/io/basic_file_stdio.h
2995 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2996 echo "$ac_t""stdio" 1>&6
2998 # We're not using stdio.
3003 echo "$enable_cstdio is an unknown io package" 1>&2
3011 # 2000-08-04 bkoz hack
3012 CCODECVT_C=config/io/c_io_libio_codecvt.c
3014 # 2000-08-04 bkoz hack
3018 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3019 GLIBCPP_BUILD_LIBIO_TRUE=
3020 GLIBCPP_BUILD_LIBIO_FALSE='#'
3022 GLIBCPP_BUILD_LIBIO_TRUE='#'
3023 GLIBCPP_BUILD_LIBIO_FALSE=
3027 if test "$need_libio" = yes; then
3028 GLIBCPP_NEED_LIBIO_TRUE=
3029 GLIBCPP_NEED_LIBIO_FALSE='#'
3031 GLIBCPP_NEED_LIBIO_TRUE='#'
3032 GLIBCPP_NEED_LIBIO_FALSE=
3036 if test "$need_wlibio" = yes; then
3037 GLIBCPP_NEED_WLIBIO_TRUE=
3038 GLIBCPP_NEED_WLIBIO_FALSE='#'
3040 GLIBCPP_NEED_WLIBIO_TRUE='#'
3041 GLIBCPP_NEED_WLIBIO_FALSE=
3043 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3044 libio_la=../libio/libio.la
3051 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
3052 echo "configure:3053: checking for clocale to use" >&5
3053 # Check whether --enable-clocale or --disable-clocale was given.
3054 if test "${enable_clocale+set}" = set; then
3055 enableval="$enable_clocale"
3056 if test x$enable_clocale = xno; then
3064 enable_clocale_flag=$enable_clocale
3066 if test x$enable_clocale_flag = xno; then
3067 case x${target_os} in
3069 cat > conftest.$ac_ext <<EOF
3070 #line 3071 "configure"
3071 #include "confdefs.h"
3073 #include <features.h>
3074 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3080 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3082 enable_clocale_flag=gnu
3085 enable_clocale_flag=generic
3090 # Test for bugs early in glibc-2.2.x series
3091 if test x$enable_clocale_flag = xgnu; then
3092 if test "$cross_compiling" = yes; then
3093 enable_clocale_flag=generic
3095 cat > conftest.$ac_ext <<EOF
3096 #line 3097 "configure"
3097 #include "confdefs.h"
3099 #define _GNU_SOURCE 1
3102 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3103 extern __typeof(newlocale) __newlocale;
3104 extern __typeof(duplocale) __duplocale;
3105 extern __typeof(strcoll_l) __strcoll_l;
3109 const char __one[] = "Äuglein Augmen";
3110 const char __two[] = "Äuglein";
3115 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3116 loc_dup = __duplocale(loc);
3117 i = __strcoll_l(__one, __two, loc);
3118 j = __strcoll_l(__one, __two, loc_dup);
3123 if { (eval echo configure:3124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3125 enable_clocale_flag=gnu
3127 echo "configure: failed program was:" >&5
3128 cat conftest.$ac_ext >&5
3130 enable_clocale_flag=generic
3137 # ... at some point put __strxfrm_l tests in as well.
3140 enable_clocale_flag=generic
3145 # Check whether --enable-nls or --disable-nls was given.
3146 if test "${enable_nls+set}" = set; then
3147 enableval="$enable_nls"
3155 case x${enable_clocale_flag} in
3157 echo "$ac_t""generic" 1>&6
3159 CLOCALE_H=config/locale/generic/c_locale.h
3160 CLOCALE_CC=config/locale/generic/c_locale.cc
3161 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3162 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3163 CCOLLATE_CC=config/locale/generic/collate_members.cc
3164 CCTYPE_CC=config/locale/generic/ctype_members.cc
3165 CMESSAGES_H=config/locale/generic/messages_members.h
3166 CMESSAGES_CC=config/locale/generic/messages_members.cc
3167 CMONEY_CC=config/locale/generic/monetary_members.cc
3168 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3169 CTIME_H=config/locale/generic/time_members.h
3170 CTIME_CC=config/locale/generic/time_members.cc
3171 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3174 echo "$ac_t""gnu" 1>&6
3176 # Declare intention to use gettext, and add support for specific
3178 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3181 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3182 # Extract the first word of "msgfmt", so it can be a program name with args.
3183 set dummy msgfmt; ac_word=$2
3184 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3185 echo "configure:3186: checking for $ac_word" >&5
3186 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3187 echo $ac_n "(cached) $ac_c" 1>&6
3189 if test -n "$check_msgfmt"; then
3190 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3192 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3194 for ac_dir in $ac_dummy; do
3195 test -z "$ac_dir" && ac_dir=.
3196 if test -f $ac_dir/$ac_word; then
3197 ac_cv_prog_check_msgfmt="yes"
3202 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3205 check_msgfmt="$ac_cv_prog_check_msgfmt"
3206 if test -n "$check_msgfmt"; then
3207 echo "$ac_t""$check_msgfmt" 1>&6
3209 echo "$ac_t""no" 1>&6
3212 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3215 # Export the build objects.
3216 for ling in $ALL_LINGUAS; do \
3217 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3218 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3223 CLOCALE_H=config/locale/gnu/c_locale.h
3224 CLOCALE_CC=config/locale/gnu/c_locale.cc
3225 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3226 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3227 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3228 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3229 CMESSAGES_H=config/locale/gnu/messages_members.h
3230 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3231 CMONEY_CC=config/locale/gnu/monetary_members.cc
3232 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3233 CTIME_H=config/locale/gnu/time_members.h
3234 CTIME_CC=config/locale/gnu/time_members.cc
3235 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3238 echo "$ac_t""IEEE 1003.1" 1>&6
3240 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3241 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3242 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3243 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3244 CCOLLATE_CC=config/locale/generic/collate_members.cc
3245 CCTYPE_CC=config/locale/generic/ctype_members.cc
3246 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3247 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3248 CMONEY_CC=config/locale/generic/monetary_members.cc
3249 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3250 CTIME_H=config/locale/generic/time_members.h
3251 CTIME_CC=config/locale/generic/time_members.cc
3252 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3255 echo "$enable_clocale is an unknown locale package" 1>&2
3260 # This is where the testsuite looks for locale catalogs, using the
3261 # -DLOCALEDIR define during testsuite compilation.
3262 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3265 # A standalone libintl (e.g., GNU libintl) may be in use.
3266 if test $USE_NLS = yes; then
3267 for ac_hdr in libintl.h
3269 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3270 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3271 echo "configure:3272: checking for $ac_hdr" >&5
3272 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3273 echo $ac_n "(cached) $ac_c" 1>&6
3275 cat > conftest.$ac_ext <<EOF
3276 #line 3277 "configure"
3277 #include "confdefs.h"
3280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3281 { (eval echo configure:3282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3282 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3283 if test -z "$ac_err"; then
3285 eval "ac_cv_header_$ac_safe=yes"
3288 echo "configure: failed program was:" >&5
3289 cat conftest.$ac_ext >&5
3291 eval "ac_cv_header_$ac_safe=no"
3295 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3296 echo "$ac_t""yes" 1>&6
3297 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3298 cat >> confdefs.h <<EOF
3299 #define $ac_tr_hdr 1
3303 echo "$ac_t""no" 1>&6
3309 echo $ac_n "checking for library containing gettext""... $ac_c" 1>&6
3310 echo "configure:3311: checking for library containing gettext" >&5
3311 if eval "test \"`echo '$''{'ac_cv_search_gettext'+set}'`\" = set"; then
3312 echo $ac_n "(cached) $ac_c" 1>&6
3314 ac_func_search_save_LIBS="$LIBS"
3315 ac_cv_search_gettext="no"
3316 cat > conftest.$ac_ext <<EOF
3317 #line 3318 "configure"
3318 #include "confdefs.h"
3319 /* Override any gcc2 internal prototype to avoid an error. */
3320 /* We use char because int might match the return type of a gcc2
3321 builtin and then its argument prototype would still apply. */
3328 if { (eval echo configure:3329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3330 ac_cv_search_gettext="none required"
3332 echo "configure: failed program was:" >&5
3333 cat conftest.$ac_ext >&5
3336 test "$ac_cv_search_gettext" = "no" && for i in intl; do
3337 LIBS="-l$i $ac_func_search_save_LIBS"
3338 cat > conftest.$ac_ext <<EOF
3339 #line 3340 "configure"
3340 #include "confdefs.h"
3341 /* Override any gcc2 internal prototype to avoid an error. */
3342 /* We use char because int might match the return type of a gcc2
3343 builtin and then its argument prototype would still apply. */
3350 if { (eval echo configure:3351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3352 ac_cv_search_gettext="-l$i"
3355 echo "configure: failed program was:" >&5
3356 cat conftest.$ac_ext >&5
3360 LIBS="$ac_func_search_save_LIBS"
3363 echo "$ac_t""$ac_cv_search_gettext" 1>&6
3364 if test "$ac_cv_search_gettext" != "no"; then
3365 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
3371 if test $USE_NLS = yes; then
3372 cat >> confdefs.h <<\EOF
3373 #define _GLIBCPP_USE_NLS 1
3393 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3394 echo "configure:3395: checking for c header strategy to use" >&5
3395 # Check whether --enable-cheaders or --disable-cheaders was given.
3396 if test "${enable_cheaders+set}" = set; then
3397 enableval="$enable_cheaders"
3399 case "$enableval" in
3404 enable_cheaders=c_std
3406 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3410 enable_cheaders=c_std
3413 echo "$ac_t""$enable_cheaders" 1>&6
3415 case "$enable_cheaders" in
3417 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3420 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3427 if test "$enable_cheaders" = c; then
3428 GLIBCPP_C_HEADERS_C_TRUE=
3429 GLIBCPP_C_HEADERS_C_FALSE='#'
3431 GLIBCPP_C_HEADERS_C_TRUE='#'
3432 GLIBCPP_C_HEADERS_C_FALSE=
3436 if test "$enable_cheaders" = c_std; then
3437 GLIBCPP_C_HEADERS_C_STD_TRUE=
3438 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3440 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3441 GLIBCPP_C_HEADERS_C_STD_FALSE=
3445 if test "$c_compatibility" = yes; then
3446 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3447 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3449 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3450 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3453 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3454 if test "${enable_c_mbchar+set}" = set; then
3455 enableval="$enable_c_mbchar"
3456 case "$enableval" in
3457 yes) enable_c_mbchar=yes ;;
3458 no) enable_c_mbchar=no ;;
3459 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3466 # Check whether --enable-c99 or --disable-c99 was given.
3467 if test "${enable_c99+set}" = set; then
3468 enableval="$enable_c99"
3469 case "$enableval" in
3470 yes) enable_c99=yes ;;
3471 no) enable_c99=no ;;
3472 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3481 ac_cpp='$CXXCPP $CPPFLAGS'
3482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3484 cross_compiling=$ac_cv_prog_cxx_cross
3487 # Check for the existence of <math.h> functions used if C99 is enabled.
3489 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3490 echo "configure:3491: checking for ISO C99 support in <math.h>" >&5
3491 cat > conftest.$ac_ext <<EOF
3492 #line 3493 "configure"
3493 #include "confdefs.h"
3499 if { (eval echo configure:3500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3502 echo "configure: failed program was:" >&5
3503 cat conftest.$ac_ext >&5
3508 cat > conftest.$ac_ext <<EOF
3509 #line 3510 "configure"
3510 #include "confdefs.h"
3516 if { (eval echo configure:3517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3519 echo "configure: failed program was:" >&5
3520 cat conftest.$ac_ext >&5
3525 cat > conftest.$ac_ext <<EOF
3526 #line 3527 "configure"
3527 #include "confdefs.h"
3533 if { (eval echo configure:3534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3536 echo "configure: failed program was:" >&5
3537 cat conftest.$ac_ext >&5
3542 cat > conftest.$ac_ext <<EOF
3543 #line 3544 "configure"
3544 #include "confdefs.h"
3550 if { (eval echo configure:3551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3553 echo "configure: failed program was:" >&5
3554 cat conftest.$ac_ext >&5
3559 cat > conftest.$ac_ext <<EOF
3560 #line 3561 "configure"
3561 #include "confdefs.h"
3567 if { (eval echo configure:3568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3570 echo "configure: failed program was:" >&5
3571 cat conftest.$ac_ext >&5
3576 cat > conftest.$ac_ext <<EOF
3577 #line 3578 "configure"
3578 #include "confdefs.h"
3584 if { (eval echo configure:3585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3587 echo "configure: failed program was:" >&5
3588 cat conftest.$ac_ext >&5
3593 cat > conftest.$ac_ext <<EOF
3594 #line 3595 "configure"
3595 #include "confdefs.h"
3601 if { (eval echo configure:3602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3604 echo "configure: failed program was:" >&5
3605 cat conftest.$ac_ext >&5
3610 cat > conftest.$ac_ext <<EOF
3611 #line 3612 "configure"
3612 #include "confdefs.h"
3615 isgreaterequal(0.0,0.0);
3618 if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3621 echo "configure: failed program was:" >&5
3622 cat conftest.$ac_ext >&5
3627 cat > conftest.$ac_ext <<EOF
3628 #line 3629 "configure"
3629 #include "confdefs.h"
3635 if { (eval echo configure:3636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3638 echo "configure: failed program was:" >&5
3639 cat conftest.$ac_ext >&5
3644 cat > conftest.$ac_ext <<EOF
3645 #line 3646 "configure"
3646 #include "confdefs.h"
3649 islessequal(0.0,0.0);
3652 if { (eval echo configure:3653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3655 echo "configure: failed program was:" >&5
3656 cat conftest.$ac_ext >&5
3661 cat > conftest.$ac_ext <<EOF
3662 #line 3663 "configure"
3663 #include "confdefs.h"
3666 islessgreater(0.0,0.0);
3669 if { (eval echo configure:3670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3672 echo "configure: failed program was:" >&5
3673 cat conftest.$ac_ext >&5
3678 cat > conftest.$ac_ext <<EOF
3679 #line 3680 "configure"
3680 #include "confdefs.h"
3683 isunordered(0.0,0.0);
3686 if { (eval echo configure:3687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3689 echo "configure: failed program was:" >&5
3690 cat conftest.$ac_ext >&5
3695 echo "$ac_t""$ac_c99_math" 1>&6
3697 # Check for the existence in <stdio.h> of vscanf, et. al.
3699 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3700 echo "configure:3701: checking for ISO C99 support in <stdio.h>" >&5
3701 cat > conftest.$ac_ext <<EOF
3702 #line 3703 "configure"
3703 #include "confdefs.h"
3706 snprintf("12", 0, "%i");
3709 if { (eval echo configure:3710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3712 echo "configure: failed program was:" >&5
3713 cat conftest.$ac_ext >&5
3718 cat > conftest.$ac_ext <<EOF
3719 #line 3720 "configure"
3720 #include "confdefs.h"
3723 void foo(char* fmt, ...)
3724 {va_list args; va_start(args, fmt);
3725 vfscanf(stderr, "%i", args);}
3730 if { (eval echo configure:3731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3733 echo "configure: failed program was:" >&5
3734 cat conftest.$ac_ext >&5
3739 cat > conftest.$ac_ext <<EOF
3740 #line 3741 "configure"
3741 #include "confdefs.h"
3744 void foo(char* fmt, ...)
3745 {va_list args; va_start(args, fmt);
3746 vscanf("%i", args);}
3751 if { (eval echo configure:3752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3754 echo "configure: failed program was:" >&5
3755 cat conftest.$ac_ext >&5
3760 cat > conftest.$ac_ext <<EOF
3761 #line 3762 "configure"
3762 #include "confdefs.h"
3765 void foo(char* fmt, ...)
3766 {va_list args; va_start(args, fmt);
3767 vsnprintf(fmt, 0, "%i", args);}
3772 if { (eval echo configure:3773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3775 echo "configure: failed program was:" >&5
3776 cat conftest.$ac_ext >&5
3781 cat > conftest.$ac_ext <<EOF
3782 #line 3783 "configure"
3783 #include "confdefs.h"
3786 void foo(char* fmt, ...)
3787 {va_list args; va_start(args, fmt);
3788 vsscanf(fmt, "%i", args);}
3793 if { (eval echo configure:3794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3796 echo "configure: failed program was:" >&5
3797 cat conftest.$ac_ext >&5
3802 echo "$ac_t""$ac_c99_stdio" 1>&6
3804 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3806 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3807 echo "configure:3808: checking for lldiv_t declaration" >&5
3808 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3809 echo $ac_n "(cached) $ac_c" 1>&6
3812 cat > conftest.$ac_ext <<EOF
3813 #line 3814 "configure"
3814 #include "confdefs.h"
3820 if { (eval echo configure:3821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3824 echo "configure: failed program was:" >&5
3825 cat conftest.$ac_ext >&5
3833 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3835 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3836 echo "configure:3837: checking for ISO C99 support in <stdlib.h>" >&5
3837 cat > conftest.$ac_ext <<EOF
3838 #line 3839 "configure"
3839 #include "confdefs.h"
3842 char* tmp; strtof("gnu", &tmp);
3845 if { (eval echo configure:3846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3848 echo "configure: failed program was:" >&5
3849 cat conftest.$ac_ext >&5
3854 cat > conftest.$ac_ext <<EOF
3855 #line 3856 "configure"
3856 #include "confdefs.h"
3859 char* tmp; strtold("gnu", &tmp);
3862 if { (eval echo configure:3863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3865 echo "configure: failed program was:" >&5
3866 cat conftest.$ac_ext >&5
3871 cat > conftest.$ac_ext <<EOF
3872 #line 3873 "configure"
3873 #include "confdefs.h"
3879 if { (eval echo configure:3880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3882 echo "configure: failed program was:" >&5
3883 cat conftest.$ac_ext >&5
3888 cat > conftest.$ac_ext <<EOF
3889 #line 3890 "configure"
3890 #include "confdefs.h"
3896 if { (eval echo configure:3897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3899 echo "configure: failed program was:" >&5
3900 cat conftest.$ac_ext >&5
3905 cat > conftest.$ac_ext <<EOF
3906 #line 3907 "configure"
3907 #include "confdefs.h"
3913 if { (eval echo configure:3914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3916 echo "configure: failed program was:" >&5
3917 cat conftest.$ac_ext >&5
3922 cat > conftest.$ac_ext <<EOF
3923 #line 3924 "configure"
3924 #include "confdefs.h"
3930 if { (eval echo configure:3931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3933 echo "configure: failed program was:" >&5
3934 cat conftest.$ac_ext >&5
3939 if test x"$ac_c99_lldiv_t" = x"no"; then
3942 echo "$ac_t""$ac_c99_stdlib" 1>&6
3944 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3945 # XXX the wchar.h checks should be rolled into the general C99 bits.
3947 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3948 echo "configure:3949: checking for additional ISO C99 support in <wchar.h>" >&5
3949 cat > conftest.$ac_ext <<EOF
3950 #line 3951 "configure"
3951 #include "confdefs.h"
3954 wcstold(L"10.0", NULL);
3957 if { (eval echo configure:3958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3960 echo "configure: failed program was:" >&5
3961 cat conftest.$ac_ext >&5
3966 cat > conftest.$ac_ext <<EOF
3967 #line 3968 "configure"
3968 #include "confdefs.h"
3971 wcstoll(L"10", NULL, 10);
3974 if { (eval echo configure:3975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3977 echo "configure: failed program was:" >&5
3978 cat conftest.$ac_ext >&5
3983 cat > conftest.$ac_ext <<EOF
3984 #line 3985 "configure"
3985 #include "confdefs.h"
3988 wcstoull(L"10", NULL, 10);
3991 if { (eval echo configure:3992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3994 echo "configure: failed program was:" >&5
3995 cat conftest.$ac_ext >&5
4000 echo "$ac_t""$ac_c99_wchar" 1>&6
4002 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
4003 echo "configure:4004: checking for enabled ISO C99 support" >&5
4004 if test x"$ac_c99_math" = x"no" ||
4005 test x"$ac_c99_stdio" = x"no" ||
4006 test x"$ac_c99_stdlib" = x"no" ||
4007 test x"$ac_c99_wchar" = x"no"; then
4010 echo "$ac_t""$enable_c99" 1>&6
4012 # Option parsed, now set things appropriately
4013 if test x"$enable_c99" = x"yes"; then
4014 cat >> confdefs.h <<\EOF
4015 #define _GLIBCPP_USE_C99 1
4021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4022 ac_cpp='$CPP $CPPFLAGS'
4023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4025 cross_compiling=$ac_cv_prog_cc_cross
4029 # Check whether --enable-long-long or --disable-long-long was given.
4030 if test "${enable_long_long+set}" = set; then
4031 enableval="$enable_long_long"
4032 case "$enableval" in
4033 yes) enable_long_long=yes ;;
4034 no) enable_long_long=no ;;
4035 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
4038 enable_long_long=yes
4043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4044 ac_cpp='$CXXCPP $CPPFLAGS'
4045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4047 cross_compiling=$ac_cv_prog_cxx_cross
4050 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
4051 echo "configure:4052: checking for enabled long long I/O support" >&5
4052 # iostreams require strtoll, strtoull to compile
4053 cat > conftest.$ac_ext <<EOF
4054 #line 4055 "configure"
4055 #include "confdefs.h"
4058 char* tmp; strtoll("gnu", &tmp, 10);
4061 if { (eval echo configure:4062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4064 echo "configure: failed program was:" >&5
4065 cat conftest.$ac_ext >&5
4070 cat > conftest.$ac_ext <<EOF
4071 #line 4072 "configure"
4072 #include "confdefs.h"
4075 char* tmp; strtoull("gnu", &tmp, 10);
4078 if { (eval echo configure:4079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4081 echo "configure: failed program was:" >&5
4082 cat conftest.$ac_ext >&5
4088 # Option parsed, now set things appropriately
4089 if test x"$enable_long_long" = xyes; then
4090 cat >> confdefs.h <<\EOF
4091 #define _GLIBCPP_USE_LONG_LONG 1
4095 echo "$ac_t""$enable_long_long" 1>&6
4098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4099 ac_cpp='$CPP $CPPFLAGS'
4100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4102 cross_compiling=$ac_cv_prog_cc_cross
4106 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
4107 echo "configure:4108: checking for thread model used by GCC" >&5
4108 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4109 echo "$ac_t""$target_thread_file" 1>&6
4111 if test $target_thread_file != single; then
4112 cat >> confdefs.h <<\EOF
4113 #define HAVE_GTHR_DEFAULT 1
4116 cat >> confdefs.h <<\EOF
4117 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
4122 glibcpp_thread_h=gthr-$target_thread_file.h
4126 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
4127 echo "configure:4128: checking for exception model to use" >&5
4130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4131 ac_cpp='$CXXCPP $CPPFLAGS'
4132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4134 cross_compiling=$ac_cv_prog_cxx_cross
4136 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4137 if test "${enable_sjlj_exceptions+set}" = set; then
4138 enableval="$enable_sjlj_exceptions"
4141 cat > conftest.$ac_ext << EOF
4142 #line 4143 "configure"
4151 old_CXXFLAGS="$CXXFLAGS"
4153 if { (eval echo configure:4154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4154 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4155 enable_sjlj_exceptions=yes
4156 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4157 enable_sjlj_exceptions=no
4160 CXXFLAGS="$old_CXXFLAGS"
4164 if test x$enable_sjlj_exceptions = xyes; then
4165 cat >> confdefs.h <<\EOF
4166 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4169 ac_exception_model_name=sjlj
4170 elif test x$enable_sjlj_exceptions = xno; then
4171 ac_exception_model_name="call frame"
4173 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4177 ac_cpp='$CPP $CPPFLAGS'
4178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4180 cross_compiling=$ac_cv_prog_cc_cross
4182 echo "$ac_t""$ac_exception_model_name" 1>&6
4185 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4186 echo "configure:4187: checking for use of libunwind" >&5
4187 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4188 if test "${enable_libunwind_exceptions+set}" = set; then
4189 enableval="$enable_libunwind_exceptions"
4190 use_libunwind_exceptions=$enableval
4192 use_libunwind_exceptions=no
4195 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4196 if test x"$use_libunwind_exceptions" = xyes; then
4197 LIBUNWIND_FLAG="-lunwind"
4203 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4204 if test "${enable_concept_checks+set}" = set; then
4205 enableval="$enable_concept_checks"
4206 case "$enableval" in
4207 yes) enable_concept_checks=yes ;;
4208 no) enable_concept_checks=no ;;
4209 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4212 enable_concept_checks=no
4214 if test x"$enable_concept_checks" = xyes; then
4215 cat >> confdefs.h <<\EOF
4216 #define _GLIBCPP_CONCEPT_CHECKS 1
4221 echo $ac_n "checking for extra compiler flags for building""... $ac_c" 1>&6
4222 echo "configure:4223: checking for extra compiler flags for building" >&5
4223 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4224 if test "${enable_cxx_flags+set}" = set; then
4225 enableval="$enable_cxx_flags"
4226 case "x$enable_cxx_flags" in
4228 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
4230 enable_cxx_flags='' ;;
4232 enable_cxx_flags="$enableval" ;;
4239 if test -n "$enable_cxx_flags"; then
4240 for f in $enable_cxx_flags; do
4244 *) # and we're trying to pass /what/ exactly?
4245 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
4249 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4250 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4253 # Check whether --enable-debug or --disable-debug was given.
4254 if test "${enable_debug+set}" = set; then
4255 enableval="$enable_debug"
4256 case "${enableval}" in
4257 yes) enable_debug=yes ;;
4258 no) enable_debug=no ;;
4259 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
4264 echo $ac_n "checking for additional debug build""... $ac_c" 1>&6
4265 echo "configure:4266: checking for additional debug build" >&5
4266 echo "$ac_t""$enable_debug" 1>&6
4269 if test "$enable_debug" = yes; then
4270 GLIBCPP_BUILD_DEBUG_TRUE=
4271 GLIBCPP_BUILD_DEBUG_FALSE='#'
4273 GLIBCPP_BUILD_DEBUG_TRUE='#'
4274 GLIBCPP_BUILD_DEBUG_FALSE=
4277 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4278 if test "${enable_debug_flags+set}" = set; then
4279 enableval="$enable_debug_flags"
4280 case "${enableval}" in
4282 -*) enable_debug_flags="${enableval}" ;;
4283 *) { echo "configure: error: Unknown argument to extra debugging flags" 1>&2; exit 1; } ;;
4286 enable_debug_flags=none
4289 case x"$enable_debug" in
4291 case "$enable_debug_flags" in
4293 DEBUG_FLAGS="-g3 -O0";;
4295 DEBUG_FLAGS="${enableval}"
4304 echo $ac_n "checking for debug build flags""... $ac_c" 1>&6
4305 echo "configure:4306: checking for debug build flags" >&5
4306 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4309 # No surprises, no surprises...
4310 if test $ATOMICITYH = cpu/generic ; then
4311 echo "configure: warning: No native atomic operations are provided for this platform." 1>&2
4312 if test $target_thread_file = single; then
4313 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4314 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4316 echo "configure: warning: They will be faked using a mutex." 1>&2
4317 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4322 if test x"$build" != x"$host"; then
4324 # We are being configured with some form of cross compiler.
4325 GLIBCPP_IS_CROSS_COMPILING=1
4327 # This lets us hard-code the functionality we know we'll have in the cross
4328 # target environment. "Let" is a sugar-coated word placed on an especially
4329 # dull and tedious hack, actually.
4331 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4332 # that involve linking, can't be used:
4333 # "cannot open sim-crt0.o"
4334 # "cannot open crt0.o"
4335 # etc. All this is because there currently exists no unified, consistent
4336 # way for top level CC information to be passed down to target directories:
4337 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4338 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4339 # crosses can be removed.
4341 # If Canadian cross, then don't pick up tools from the build directory.
4342 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4343 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host" \
4344 && test x"$build" != x"$target"; then
4350 # Construct crosses by hand, eliminating bits that need ld...
4351 # GLIBCPP_CHECK_COMPILER_FEATURES
4352 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4353 # GLIBCPP_CHECK_MATH_SUPPORT
4357 os_include_dir="os/bsd/freebsd"
4358 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4359 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4360 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
4363 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4365 echo "configure:4366: checking for $ac_hdr" >&5
4366 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4367 echo $ac_n "(cached) $ac_c" 1>&6
4369 cat > conftest.$ac_ext <<EOF
4370 #line 4371 "configure"
4371 #include "confdefs.h"
4374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4375 { (eval echo configure:4376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4377 if test -z "$ac_err"; then
4379 eval "ac_cv_header_$ac_safe=yes"
4382 echo "configure: failed program was:" >&5
4383 cat conftest.$ac_ext >&5
4385 eval "ac_cv_header_$ac_safe=no"
4389 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4390 echo "$ac_t""yes" 1>&6
4391 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4392 cat >> confdefs.h <<EOF
4393 #define $ac_tr_hdr 1
4397 echo "$ac_t""no" 1>&6
4401 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4404 # If we're not using GNU ld, then there's no point in even trying these
4405 # tests. Check for that first. We should have already tested for gld
4406 # by now (in libtool), but require it now just to be safe...
4407 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4408 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4411 # The name set by libtool depends on the version of libtool. Shame on us
4412 # for depending on an impl detail, but c'est la vie. Older versions used
4413 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4414 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4415 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4416 # set (hence we're using an older libtool), then set it.
4417 if test x${with_gnu_ld+set} != xset; then
4418 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4419 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4422 with_gnu_ld=$ac_cv_prog_gnu_ld
4426 # Start by getting the version number. I think the libtool test already
4427 # does some of this, but throws away the result.
4429 ldver=`$LD --version 2>/dev/null | head -1 | \
4430 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4432 glibcpp_gnu_ld_version=`echo $ldver | \
4433 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4435 # Set --gc-sections.
4436 if test "$with_gnu_ld" = "notbroken"; then
4437 # GNU ld it is! Joy and bunny rabbits!
4439 # All these tests are for C++; save the language and the compiler flags.
4440 # Need to do this so that g++ won't try to link in libstdc++
4441 ac_test_CFLAGS="${CFLAGS+set}"
4442 ac_save_CFLAGS="$CFLAGS"
4443 CFLAGS='-x c++ -Wl,--gc-sections'
4445 # Check for -Wl,--gc-sections
4446 # XXX This test is broken at the moment, as symbols required for
4447 # linking are now in libsupc++ (not built yet.....). In addition,
4448 # this test has cored on solaris in the past. In addition,
4449 # --gc-sections doesn't really work at the moment (keeps on discarding
4450 # used sections, first .eh_frame and now some of the glibc sections for
4451 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4452 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4453 echo "configure:4454: checking for ld that supports -Wl,--gc-sections" >&5
4454 if test "$cross_compiling" = yes; then
4455 ac_sectionLDflags=yes
4457 cat > conftest.$ac_ext <<EOF
4458 #line 4459 "configure"
4459 #include "confdefs.h"
4469 if { (eval echo configure:4470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4471 ac_sectionLDflags=yes
4473 echo "configure: failed program was:" >&5
4474 cat conftest.$ac_ext >&5
4476 ac_sectionLDflags=no
4481 if test "$ac_test_CFLAGS" = set; then
4482 CFLAGS="$ac_save_CFLAGS"
4484 # this is the suspicious part
4487 if test "$ac_sectionLDflags" = "yes"; then
4488 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4490 echo "$ac_t""$ac_sectionLDflags" 1>&6
4493 # Set linker optimization flags.
4494 if test x"$with_gnu_ld" = x"yes"; then
4495 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4502 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4503 echo "configure:4504: checking for main in -lm" >&5
4504 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4505 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4506 echo $ac_n "(cached) $ac_c" 1>&6
4508 ac_save_LIBS="$LIBS"
4510 cat > conftest.$ac_ext <<EOF
4511 #line 4512 "configure"
4512 #include "confdefs.h"
4518 if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4520 eval "ac_cv_lib_$ac_lib_var=yes"
4522 echo "configure: failed program was:" >&5
4523 cat conftest.$ac_ext >&5
4525 eval "ac_cv_lib_$ac_lib_var=no"
4528 LIBS="$ac_save_LIBS"
4531 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4532 echo "$ac_t""yes" 1>&6
4533 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4534 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4535 cat >> confdefs.h <<EOF
4536 #define $ac_tr_lib 1
4542 echo "$ac_t""no" 1>&6
4545 for ac_func in nan copysignf
4547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4548 echo "configure:4549: checking for $ac_func" >&5
4549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4550 echo $ac_n "(cached) $ac_c" 1>&6
4552 cat > conftest.$ac_ext <<EOF
4553 #line 4554 "configure"
4554 #include "confdefs.h"
4555 /* System header to define __stub macros and hopefully few prototypes,
4556 which can conflict with char $ac_func(); below. */
4558 /* Override any gcc2 internal prototype to avoid an error. */
4559 /* We use char because int might match the return type of a gcc2
4560 builtin and then its argument prototype would still apply. */
4565 /* The GNU C library defines this for functions which it implements
4566 to always fail with ENOSYS. Some functions are actually named
4567 something starting with __ and the normal name is an alias. */
4568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4576 if { (eval echo configure:4577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4578 eval "ac_cv_func_$ac_func=yes"
4580 echo "configure: failed program was:" >&5
4581 cat conftest.$ac_ext >&5
4583 eval "ac_cv_func_$ac_func=no"
4588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4589 echo "$ac_t""yes" 1>&6
4590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4591 cat >> confdefs.h <<EOF
4592 #define $ac_tr_func 1
4596 echo "$ac_t""no" 1>&6
4597 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4602 for ac_func in __signbit
4604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4605 echo "configure:4606: checking for $ac_func" >&5
4606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4607 echo $ac_n "(cached) $ac_c" 1>&6
4609 cat > conftest.$ac_ext <<EOF
4610 #line 4611 "configure"
4611 #include "confdefs.h"
4612 /* System header to define __stub macros and hopefully few prototypes,
4613 which can conflict with char $ac_func(); below. */
4615 /* Override any gcc2 internal prototype to avoid an error. */
4616 /* We use char because int might match the return type of a gcc2
4617 builtin and then its argument prototype would still apply. */
4622 /* The GNU C library defines this for functions which it implements
4623 to always fail with ENOSYS. Some functions are actually named
4624 something starting with __ and the normal name is an alias. */
4625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4633 if { (eval echo configure:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4635 eval "ac_cv_func_$ac_func=yes"
4637 echo "configure: failed program was:" >&5
4638 cat conftest.$ac_ext >&5
4640 eval "ac_cv_func_$ac_func=no"
4645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4646 echo "$ac_t""yes" 1>&6
4647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4648 cat >> confdefs.h <<EOF
4649 #define $ac_tr_func 1
4653 echo "$ac_t""no" 1>&6
4654 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4658 for ac_func in __signbitf
4660 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4661 echo "configure:4662: checking for $ac_func" >&5
4662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4663 echo $ac_n "(cached) $ac_c" 1>&6
4665 cat > conftest.$ac_ext <<EOF
4666 #line 4667 "configure"
4667 #include "confdefs.h"
4668 /* System header to define __stub macros and hopefully few prototypes,
4669 which can conflict with char $ac_func(); below. */
4671 /* Override any gcc2 internal prototype to avoid an error. */
4672 /* We use char because int might match the return type of a gcc2
4673 builtin and then its argument prototype would still apply. */
4678 /* The GNU C library defines this for functions which it implements
4679 to always fail with ENOSYS. Some functions are actually named
4680 something starting with __ and the normal name is an alias. */
4681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4691 eval "ac_cv_func_$ac_func=yes"
4693 echo "configure: failed program was:" >&5
4694 cat conftest.$ac_ext >&5
4696 eval "ac_cv_func_$ac_func=no"
4701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4702 echo "$ac_t""yes" 1>&6
4703 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4704 cat >> confdefs.h <<EOF
4705 #define $ac_tr_func 1
4709 echo "$ac_t""no" 1>&6
4710 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4715 if test x$ac_cv_func_copysignl = x"yes"; then
4716 for ac_func in __signbitl
4718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4719 echo "configure:4720: checking for $ac_func" >&5
4720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4721 echo $ac_n "(cached) $ac_c" 1>&6
4723 cat > conftest.$ac_ext <<EOF
4724 #line 4725 "configure"
4725 #include "confdefs.h"
4726 /* System header to define __stub macros and hopefully few prototypes,
4727 which can conflict with char $ac_func(); below. */
4729 /* Override any gcc2 internal prototype to avoid an error. */
4730 /* We use char because int might match the return type of a gcc2
4731 builtin and then its argument prototype would still apply. */
4736 /* The GNU C library defines this for functions which it implements
4737 to always fail with ENOSYS. Some functions are actually named
4738 something starting with __ and the normal name is an alias. */
4739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4747 if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4749 eval "ac_cv_func_$ac_func=yes"
4751 echo "configure: failed program was:" >&5
4752 cat conftest.$ac_ext >&5
4754 eval "ac_cv_func_$ac_func=no"
4759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4760 echo "$ac_t""yes" 1>&6
4761 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4762 cat >> confdefs.h <<EOF
4763 #define $ac_tr_func 1
4767 echo "$ac_t""no" 1>&6
4768 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4774 if test -n "$LIBMATHOBJS"; then
4780 if test "$need_libmath" = yes; then
4781 GLIBCPP_BUILD_LIBMATH_TRUE=
4782 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4784 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4785 GLIBCPP_BUILD_LIBMATH_FALSE=
4791 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4792 echo "configure:4793: checking for mbstate_t" >&5
4793 cat > conftest.$ac_ext <<EOF
4794 #line 4795 "configure"
4795 #include "confdefs.h"
4798 mbstate_t teststate;
4801 if { (eval echo configure:4802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4805 echo "configure: failed program was:" >&5
4806 cat conftest.$ac_ext >&5
4811 echo "$ac_t""$have_mbstate_t" 1>&6
4812 if test x"$have_mbstate_t" = xyes; then
4813 cat >> confdefs.h <<\EOF
4814 #define HAVE_MBSTATE_T 1
4819 for ac_hdr in wchar.h
4821 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4822 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4823 echo "configure:4824: checking for $ac_hdr" >&5
4824 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4825 echo $ac_n "(cached) $ac_c" 1>&6
4827 cat > conftest.$ac_ext <<EOF
4828 #line 4829 "configure"
4829 #include "confdefs.h"
4832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4833 { (eval echo configure:4834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4835 if test -z "$ac_err"; then
4837 eval "ac_cv_header_$ac_safe=yes"
4840 echo "configure: failed program was:" >&5
4841 cat conftest.$ac_ext >&5
4843 eval "ac_cv_header_$ac_safe=no"
4847 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4848 echo "$ac_t""yes" 1>&6
4849 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4850 cat >> confdefs.h <<EOF
4851 #define $ac_tr_hdr 1
4855 echo "$ac_t""no" 1>&6
4860 for ac_hdr in wctype.h
4862 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4863 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4864 echo "configure:4865: checking for $ac_hdr" >&5
4865 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4866 echo $ac_n "(cached) $ac_c" 1>&6
4868 cat > conftest.$ac_ext <<EOF
4869 #line 4870 "configure"
4870 #include "confdefs.h"
4873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4874 { (eval echo configure:4875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4875 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4876 if test -z "$ac_err"; then
4878 eval "ac_cv_header_$ac_safe=yes"
4881 echo "configure: failed program was:" >&5
4882 cat conftest.$ac_ext >&5
4884 eval "ac_cv_header_$ac_safe=no"
4888 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4889 echo "$ac_t""yes" 1>&6
4890 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4891 cat >> confdefs.h <<EOF
4892 #define $ac_tr_hdr 1
4896 echo "$ac_t""no" 1>&6
4902 if test x"$ac_has_wchar_h" = xyes &&
4903 test x"$ac_has_wctype_h" = xyes &&
4904 test x"$enable_c_mbchar" != xno; then
4906 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4907 echo "configure:4908: checking for WCHAR_MIN and WCHAR_MAX" >&5
4908 cat > conftest.$ac_ext <<EOF
4909 #line 4910 "configure"
4910 #include "confdefs.h"
4913 int i = WCHAR_MIN; int j = WCHAR_MAX;
4916 if { (eval echo configure:4917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4918 has_wchar_minmax=yes
4920 echo "configure: failed program was:" >&5
4921 cat conftest.$ac_ext >&5
4926 echo "$ac_t""$has_wchar_minmax" 1>&6
4928 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4929 echo "configure:4930: checking for WEOF" >&5
4930 cat > conftest.$ac_ext <<EOF
4931 #line 4932 "configure"
4932 #include "confdefs.h"
4940 if { (eval echo configure:4941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4944 echo "configure: failed program was:" >&5
4945 cat conftest.$ac_ext >&5
4950 echo "$ac_t""$has_weof" 1>&6
4953 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4956 echo "configure:4957: checking for $ac_func" >&5
4957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4958 echo $ac_n "(cached) $ac_c" 1>&6
4960 cat > conftest.$ac_ext <<EOF
4961 #line 4962 "configure"
4962 #include "confdefs.h"
4963 /* System header to define __stub macros and hopefully few prototypes,
4964 which can conflict with char $ac_func(); below. */
4966 /* Override any gcc2 internal prototype to avoid an error. */
4967 /* We use char because int might match the return type of a gcc2
4968 builtin and then its argument prototype would still apply. */
4973 /* The GNU C library defines this for functions which it implements
4974 to always fail with ENOSYS. Some functions are actually named
4975 something starting with __ and the normal name is an alias. */
4976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4984 if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4986 eval "ac_cv_func_$ac_func=yes"
4988 echo "configure: failed program was:" >&5
4989 cat conftest.$ac_ext >&5
4991 eval "ac_cv_func_$ac_func=no"
4996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4997 echo "$ac_t""yes" 1>&6
4998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4999 cat >> confdefs.h <<EOF
5000 #define $ac_tr_func 1
5004 echo "$ac_t""no" 1>&6
5011 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5012 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5013 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5014 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5015 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5016 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5019 echo "configure:5020: checking for $ac_func" >&5
5020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5021 echo $ac_n "(cached) $ac_c" 1>&6
5023 cat > conftest.$ac_ext <<EOF
5024 #line 5025 "configure"
5025 #include "confdefs.h"
5026 /* System header to define __stub macros and hopefully few prototypes,
5027 which can conflict with char $ac_func(); below. */
5029 /* Override any gcc2 internal prototype to avoid an error. */
5030 /* We use char because int might match the return type of a gcc2
5031 builtin and then its argument prototype would still apply. */
5036 /* The GNU C library defines this for functions which it implements
5037 to always fail with ENOSYS. Some functions are actually named
5038 something starting with __ and the normal name is an alias. */
5039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5047 if { (eval echo configure:5048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5049 eval "ac_cv_func_$ac_func=yes"
5051 echo "configure: failed program was:" >&5
5052 cat conftest.$ac_ext >&5
5054 eval "ac_cv_func_$ac_func=no"
5059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5060 echo "$ac_t""yes" 1>&6
5061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5062 cat >> confdefs.h <<EOF
5063 #define $ac_tr_func 1
5067 echo "$ac_t""no" 1>&6
5074 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5075 echo "configure:5076: checking for ISO C99 wchar_t support" >&5
5076 if test x"$has_weof" = xyes &&
5077 test x"$has_wchar_minmax" = xyes &&
5078 test x"$ac_wfuncs" = xyes; then
5079 ac_isoC99_wchar_t=yes
5081 ac_isoC99_wchar_t=no
5083 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5085 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5086 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5087 echo "configure:5088: checking for iconv.h" >&5
5088 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5089 echo $ac_n "(cached) $ac_c" 1>&6
5091 cat > conftest.$ac_ext <<EOF
5092 #line 5093 "configure"
5093 #include "confdefs.h"
5096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5097 { (eval echo configure:5098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5099 if test -z "$ac_err"; then
5101 eval "ac_cv_header_$ac_safe=yes"
5104 echo "configure: failed program was:" >&5
5105 cat conftest.$ac_ext >&5
5107 eval "ac_cv_header_$ac_safe=no"
5111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5112 echo "$ac_t""yes" 1>&6
5115 echo "$ac_t""no" 1>&6
5119 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5120 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5121 echo "configure:5122: checking for langinfo.h" >&5
5122 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5123 echo $ac_n "(cached) $ac_c" 1>&6
5125 cat > conftest.$ac_ext <<EOF
5126 #line 5127 "configure"
5127 #include "confdefs.h"
5128 #include <langinfo.h>
5130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5131 { (eval echo configure:5132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5133 if test -z "$ac_err"; then
5135 eval "ac_cv_header_$ac_safe=yes"
5138 echo "configure: failed program was:" >&5
5139 cat conftest.$ac_ext >&5
5141 eval "ac_cv_header_$ac_safe=no"
5145 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5146 echo "$ac_t""yes" 1>&6
5147 ac_has_langinfo_h=yes
5149 echo "$ac_t""no" 1>&6
5150 ac_has_langinfo_h=no
5154 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5155 echo "configure:5156: checking for iconv in -liconv" >&5
5156 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5157 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5158 echo $ac_n "(cached) $ac_c" 1>&6
5160 ac_save_LIBS="$LIBS"
5161 LIBS="-liconv $LIBS"
5162 cat > conftest.$ac_ext <<EOF
5163 #line 5164 "configure"
5164 #include "confdefs.h"
5165 /* Override any gcc2 internal prototype to avoid an error. */
5166 /* We use char because int might match the return type of a gcc2
5167 builtin and then its argument prototype would still apply. */
5174 if { (eval echo configure:5175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5176 eval "ac_cv_lib_$ac_lib_var=yes"
5178 echo "configure: failed program was:" >&5
5179 cat conftest.$ac_ext >&5
5181 eval "ac_cv_lib_$ac_lib_var=no"
5184 LIBS="$ac_save_LIBS"
5187 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5188 echo "$ac_t""yes" 1>&6
5191 echo "$ac_t""no" 1>&6
5194 ac_save_LIBS="$LIBS"
5195 LIBS="$LIBS $libiconv"
5197 for ac_func in iconv_open iconv_close iconv nl_langinfo
5199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5200 echo "configure:5201: checking for $ac_func" >&5
5201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5202 echo $ac_n "(cached) $ac_c" 1>&6
5204 cat > conftest.$ac_ext <<EOF
5205 #line 5206 "configure"
5206 #include "confdefs.h"
5207 /* System header to define __stub macros and hopefully few prototypes,
5208 which can conflict with char $ac_func(); below. */
5210 /* Override any gcc2 internal prototype to avoid an error. */
5211 /* We use char because int might match the return type of a gcc2
5212 builtin and then its argument prototype would still apply. */
5217 /* The GNU C library defines this for functions which it implements
5218 to always fail with ENOSYS. Some functions are actually named
5219 something starting with __ and the normal name is an alias. */
5220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5228 if { (eval echo configure:5229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5230 eval "ac_cv_func_$ac_func=yes"
5232 echo "configure: failed program was:" >&5
5233 cat conftest.$ac_ext >&5
5235 eval "ac_cv_func_$ac_func=no"
5240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5241 echo "$ac_t""yes" 1>&6
5242 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5243 cat >> confdefs.h <<EOF
5244 #define $ac_tr_func 1
5249 echo "$ac_t""no" 1>&6
5255 LIBS="$ac_save_LIBS"
5257 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5258 echo "configure:5259: checking for XPG2 wchar_t support" >&5
5259 if test x"$ac_has_iconv_h" = xyes &&
5260 test x"$ac_has_langinfo_h" = xyes &&
5261 test x"$ac_XPG2funcs" = xyes; then
5266 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5268 if test x"$ac_isoC99_wchar_t" = xyes &&
5269 test x"$ac_XPG2_wchar_t" = xyes; then
5270 cat >> confdefs.h <<\EOF
5271 #define _GLIBCPP_USE_WCHAR_T 1
5277 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5278 echo "configure:5279: checking for enabled wchar_t specializations" >&5
5279 echo "$ac_t""$enable_wchar_t" 1>&6
5282 if test "$enable_wchar_t" = yes; then
5283 GLIBCPP_TEST_WCHAR_T_TRUE=
5284 GLIBCPP_TEST_WCHAR_T_FALSE='#'
5286 GLIBCPP_TEST_WCHAR_T_TRUE='#'
5287 GLIBCPP_TEST_WCHAR_T_FALSE=
5290 cat >> confdefs.h <<\EOF
5291 #define HAVE_LC_MESSAGES 1
5294 cat >> confdefs.h <<\EOF
5295 #define HAVE_DRAND48 1
5298 cat >> confdefs.h <<\EOF
5299 #define HAVE_GETPAGESIZE 1
5302 cat >> confdefs.h <<\EOF
5303 #define HAVE_SETENV 1
5306 cat >> confdefs.h <<\EOF
5307 #define HAVE_SIGSETJMP 1
5310 cat >> confdefs.h <<\EOF
5311 #define HAVE_COPYSIGN 1
5314 cat >> confdefs.h <<\EOF
5315 #define HAVE_COPYSIGNF 1
5318 cat >> confdefs.h <<\EOF
5319 #define HAVE_FINITEF 1
5322 cat >> confdefs.h <<\EOF
5323 #define HAVE_FINITE 1
5326 cat >> confdefs.h <<\EOF
5327 #define HAVE_FREXPF 1
5330 cat >> confdefs.h <<\EOF
5331 #define HAVE_HYPOT 1
5334 cat >> confdefs.h <<\EOF
5335 #define HAVE_HYPOTF 1
5338 cat >> confdefs.h <<\EOF
5339 #define HAVE_ISINF 1
5342 cat >> confdefs.h <<\EOF
5343 #define HAVE_ISNAN 1
5346 cat >> confdefs.h <<\EOF
5347 #define HAVE_ISNANF 1
5351 cat >> confdefs.h <<\EOF
5355 cat >> confdefs.h <<\EOF
5356 #define HAVE_ACOSF 1
5359 cat >> confdefs.h <<\EOF
5360 #define HAVE_ASINF 1
5363 cat >> confdefs.h <<\EOF
5364 #define HAVE_ATAN2F 1
5367 cat >> confdefs.h <<\EOF
5368 #define HAVE_ATANF 1
5371 cat >> confdefs.h <<\EOF
5372 #define HAVE_CEILF 1
5375 cat >> confdefs.h <<\EOF
5376 #define HAVE_COPYSIGN 1
5379 cat >> confdefs.h <<\EOF
5380 #define HAVE_COPYSIGNF 1
5383 cat >> confdefs.h <<\EOF
5387 cat >> confdefs.h <<\EOF
5388 #define HAVE_COSHF 1
5391 cat >> confdefs.h <<\EOF
5395 cat >> confdefs.h <<\EOF
5396 #define HAVE_FABSF 1
5399 cat >> confdefs.h <<\EOF
5400 #define HAVE_FLOORF 1
5403 cat >> confdefs.h <<\EOF
5404 #define HAVE_FMODF 1
5407 cat >> confdefs.h <<\EOF
5408 #define HAVE_FREXPF 1
5411 cat >> confdefs.h <<\EOF
5412 #define HAVE_LDEXPF 1
5415 cat >> confdefs.h <<\EOF
5416 #define HAVE_LOG10F 1
5419 cat >> confdefs.h <<\EOF
5423 cat >> confdefs.h <<\EOF
5424 #define HAVE_MODFF 1
5427 cat >> confdefs.h <<\EOF
5431 cat >> confdefs.h <<\EOF
5435 cat >> confdefs.h <<\EOF
5436 #define HAVE_SINHF 1
5439 cat >> confdefs.h <<\EOF
5440 #define HAVE_SQRTF 1
5443 cat >> confdefs.h <<\EOF
5447 cat >> confdefs.h <<\EOF
5448 #define HAVE_TANHF 1
5451 if test x"long_double_math_on_this_cpu" = x"yes"; then
5452 cat >> confdefs.h <<\EOF
5453 #define HAVE_FINITEL 1
5456 cat >> confdefs.h <<\EOF
5457 #define HAVE_ISINFL 1
5460 cat >> confdefs.h <<\EOF
5461 #define HAVE_ISNANL 1
5467 os_include_dir="os/hpux"
5468 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5469 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5470 fp.h locale.h float.h inttypes.h
5472 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5473 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5474 echo "configure:5475: checking for $ac_hdr" >&5
5475 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5476 echo $ac_n "(cached) $ac_c" 1>&6
5478 cat > conftest.$ac_ext <<EOF
5479 #line 5480 "configure"
5480 #include "confdefs.h"
5483 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5484 { (eval echo configure:5485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5485 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5486 if test -z "$ac_err"; then
5488 eval "ac_cv_header_$ac_safe=yes"
5491 echo "configure: failed program was:" >&5
5492 cat conftest.$ac_ext >&5
5494 eval "ac_cv_header_$ac_safe=no"
5498 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5499 echo "$ac_t""yes" 1>&6
5500 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5501 cat >> confdefs.h <<EOF
5502 #define $ac_tr_hdr 1
5506 echo "$ac_t""no" 1>&6
5510 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5513 # If we're not using GNU ld, then there's no point in even trying these
5514 # tests. Check for that first. We should have already tested for gld
5515 # by now (in libtool), but require it now just to be safe...
5516 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5517 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5520 # The name set by libtool depends on the version of libtool. Shame on us
5521 # for depending on an impl detail, but c'est la vie. Older versions used
5522 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5523 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5524 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5525 # set (hence we're using an older libtool), then set it.
5526 if test x${with_gnu_ld+set} != xset; then
5527 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5528 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5531 with_gnu_ld=$ac_cv_prog_gnu_ld
5535 # Start by getting the version number. I think the libtool test already
5536 # does some of this, but throws away the result.
5538 ldver=`$LD --version 2>/dev/null | head -1 | \
5539 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5541 glibcpp_gnu_ld_version=`echo $ldver | \
5542 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5544 # Set --gc-sections.
5545 if test "$with_gnu_ld" = "notbroken"; then
5546 # GNU ld it is! Joy and bunny rabbits!
5548 # All these tests are for C++; save the language and the compiler flags.
5549 # Need to do this so that g++ won't try to link in libstdc++
5550 ac_test_CFLAGS="${CFLAGS+set}"
5551 ac_save_CFLAGS="$CFLAGS"
5552 CFLAGS='-x c++ -Wl,--gc-sections'
5554 # Check for -Wl,--gc-sections
5555 # XXX This test is broken at the moment, as symbols required for
5556 # linking are now in libsupc++ (not built yet.....). In addition,
5557 # this test has cored on solaris in the past. In addition,
5558 # --gc-sections doesn't really work at the moment (keeps on discarding
5559 # used sections, first .eh_frame and now some of the glibc sections for
5560 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5561 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5562 echo "configure:5563: checking for ld that supports -Wl,--gc-sections" >&5
5563 if test "$cross_compiling" = yes; then
5564 ac_sectionLDflags=yes
5566 cat > conftest.$ac_ext <<EOF
5567 #line 5568 "configure"
5568 #include "confdefs.h"
5578 if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5580 ac_sectionLDflags=yes
5582 echo "configure: failed program was:" >&5
5583 cat conftest.$ac_ext >&5
5585 ac_sectionLDflags=no
5590 if test "$ac_test_CFLAGS" = set; then
5591 CFLAGS="$ac_save_CFLAGS"
5593 # this is the suspicious part
5596 if test "$ac_sectionLDflags" = "yes"; then
5597 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5599 echo "$ac_t""$ac_sectionLDflags" 1>&6
5602 # Set linker optimization flags.
5603 if test x"$with_gnu_ld" = x"yes"; then
5604 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5611 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5612 echo "configure:5613: checking for main in -lm" >&5
5613 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5614 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5615 echo $ac_n "(cached) $ac_c" 1>&6
5617 ac_save_LIBS="$LIBS"
5619 cat > conftest.$ac_ext <<EOF
5620 #line 5621 "configure"
5621 #include "confdefs.h"
5627 if { (eval echo configure:5628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5629 eval "ac_cv_lib_$ac_lib_var=yes"
5631 echo "configure: failed program was:" >&5
5632 cat conftest.$ac_ext >&5
5634 eval "ac_cv_lib_$ac_lib_var=no"
5637 LIBS="$ac_save_LIBS"
5640 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5641 echo "$ac_t""yes" 1>&6
5642 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5643 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5644 cat >> confdefs.h <<EOF
5645 #define $ac_tr_lib 1
5651 echo "$ac_t""no" 1>&6
5654 for ac_func in nan copysignf
5656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5657 echo "configure:5658: checking for $ac_func" >&5
5658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5659 echo $ac_n "(cached) $ac_c" 1>&6
5661 cat > conftest.$ac_ext <<EOF
5662 #line 5663 "configure"
5663 #include "confdefs.h"
5664 /* System header to define __stub macros and hopefully few prototypes,
5665 which can conflict with char $ac_func(); below. */
5667 /* Override any gcc2 internal prototype to avoid an error. */
5668 /* We use char because int might match the return type of a gcc2
5669 builtin and then its argument prototype would still apply. */
5674 /* The GNU C library defines this for functions which it implements
5675 to always fail with ENOSYS. Some functions are actually named
5676 something starting with __ and the normal name is an alias. */
5677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5685 if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5687 eval "ac_cv_func_$ac_func=yes"
5689 echo "configure: failed program was:" >&5
5690 cat conftest.$ac_ext >&5
5692 eval "ac_cv_func_$ac_func=no"
5697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5698 echo "$ac_t""yes" 1>&6
5699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5700 cat >> confdefs.h <<EOF
5701 #define $ac_tr_func 1
5705 echo "$ac_t""no" 1>&6
5706 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5711 for ac_func in __signbit
5713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5714 echo "configure:5715: checking for $ac_func" >&5
5715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5716 echo $ac_n "(cached) $ac_c" 1>&6
5718 cat > conftest.$ac_ext <<EOF
5719 #line 5720 "configure"
5720 #include "confdefs.h"
5721 /* System header to define __stub macros and hopefully few prototypes,
5722 which can conflict with char $ac_func(); below. */
5724 /* Override any gcc2 internal prototype to avoid an error. */
5725 /* We use char because int might match the return type of a gcc2
5726 builtin and then its argument prototype would still apply. */
5731 /* The GNU C library defines this for functions which it implements
5732 to always fail with ENOSYS. Some functions are actually named
5733 something starting with __ and the normal name is an alias. */
5734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5742 if { (eval echo configure:5743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5744 eval "ac_cv_func_$ac_func=yes"
5746 echo "configure: failed program was:" >&5
5747 cat conftest.$ac_ext >&5
5749 eval "ac_cv_func_$ac_func=no"
5754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5755 echo "$ac_t""yes" 1>&6
5756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5757 cat >> confdefs.h <<EOF
5758 #define $ac_tr_func 1
5762 echo "$ac_t""no" 1>&6
5763 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5767 for ac_func in __signbitf
5769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5770 echo "configure:5771: checking for $ac_func" >&5
5771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5772 echo $ac_n "(cached) $ac_c" 1>&6
5774 cat > conftest.$ac_ext <<EOF
5775 #line 5776 "configure"
5776 #include "confdefs.h"
5777 /* System header to define __stub macros and hopefully few prototypes,
5778 which can conflict with char $ac_func(); below. */
5780 /* Override any gcc2 internal prototype to avoid an error. */
5781 /* We use char because int might match the return type of a gcc2
5782 builtin and then its argument prototype would still apply. */
5787 /* The GNU C library defines this for functions which it implements
5788 to always fail with ENOSYS. Some functions are actually named
5789 something starting with __ and the normal name is an alias. */
5790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5798 if { (eval echo configure:5799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5800 eval "ac_cv_func_$ac_func=yes"
5802 echo "configure: failed program was:" >&5
5803 cat conftest.$ac_ext >&5
5805 eval "ac_cv_func_$ac_func=no"
5810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5811 echo "$ac_t""yes" 1>&6
5812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5813 cat >> confdefs.h <<EOF
5814 #define $ac_tr_func 1
5818 echo "$ac_t""no" 1>&6
5819 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5824 if test x$ac_cv_func_copysignl = x"yes"; then
5825 for ac_func in __signbitl
5827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5828 echo "configure:5829: checking for $ac_func" >&5
5829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5830 echo $ac_n "(cached) $ac_c" 1>&6
5832 cat > conftest.$ac_ext <<EOF
5833 #line 5834 "configure"
5834 #include "confdefs.h"
5835 /* System header to define __stub macros and hopefully few prototypes,
5836 which can conflict with char $ac_func(); below. */
5838 /* Override any gcc2 internal prototype to avoid an error. */
5839 /* We use char because int might match the return type of a gcc2
5840 builtin and then its argument prototype would still apply. */
5845 /* The GNU C library defines this for functions which it implements
5846 to always fail with ENOSYS. Some functions are actually named
5847 something starting with __ and the normal name is an alias. */
5848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5856 if { (eval echo configure:5857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5858 eval "ac_cv_func_$ac_func=yes"
5860 echo "configure: failed program was:" >&5
5861 cat conftest.$ac_ext >&5
5863 eval "ac_cv_func_$ac_func=no"
5868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5869 echo "$ac_t""yes" 1>&6
5870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5871 cat >> confdefs.h <<EOF
5872 #define $ac_tr_func 1
5876 echo "$ac_t""no" 1>&6
5877 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5883 if test -n "$LIBMATHOBJS"; then
5889 if test "$need_libmath" = yes; then
5890 GLIBCPP_BUILD_LIBMATH_TRUE=
5891 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5893 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5894 GLIBCPP_BUILD_LIBMATH_FALSE=
5900 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5901 echo "configure:5902: checking for mbstate_t" >&5
5902 cat > conftest.$ac_ext <<EOF
5903 #line 5904 "configure"
5904 #include "confdefs.h"
5907 mbstate_t teststate;
5910 if { (eval echo configure:5911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5914 echo "configure: failed program was:" >&5
5915 cat conftest.$ac_ext >&5
5920 echo "$ac_t""$have_mbstate_t" 1>&6
5921 if test x"$have_mbstate_t" = xyes; then
5922 cat >> confdefs.h <<\EOF
5923 #define HAVE_MBSTATE_T 1
5928 for ac_hdr in wchar.h
5930 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5931 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5932 echo "configure:5933: checking for $ac_hdr" >&5
5933 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5934 echo $ac_n "(cached) $ac_c" 1>&6
5936 cat > conftest.$ac_ext <<EOF
5937 #line 5938 "configure"
5938 #include "confdefs.h"
5941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5942 { (eval echo configure:5943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5944 if test -z "$ac_err"; then
5946 eval "ac_cv_header_$ac_safe=yes"
5949 echo "configure: failed program was:" >&5
5950 cat conftest.$ac_ext >&5
5952 eval "ac_cv_header_$ac_safe=no"
5956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5957 echo "$ac_t""yes" 1>&6
5958 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5959 cat >> confdefs.h <<EOF
5960 #define $ac_tr_hdr 1
5964 echo "$ac_t""no" 1>&6
5969 for ac_hdr in wctype.h
5971 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5972 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5973 echo "configure:5974: checking for $ac_hdr" >&5
5974 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5975 echo $ac_n "(cached) $ac_c" 1>&6
5977 cat > conftest.$ac_ext <<EOF
5978 #line 5979 "configure"
5979 #include "confdefs.h"
5982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5983 { (eval echo configure:5984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5985 if test -z "$ac_err"; then
5987 eval "ac_cv_header_$ac_safe=yes"
5990 echo "configure: failed program was:" >&5
5991 cat conftest.$ac_ext >&5
5993 eval "ac_cv_header_$ac_safe=no"
5997 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5998 echo "$ac_t""yes" 1>&6
5999 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6000 cat >> confdefs.h <<EOF
6001 #define $ac_tr_hdr 1
6005 echo "$ac_t""no" 1>&6
6011 if test x"$ac_has_wchar_h" = xyes &&
6012 test x"$ac_has_wctype_h" = xyes &&
6013 test x"$enable_c_mbchar" != xno; then
6015 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6016 echo "configure:6017: checking for WCHAR_MIN and WCHAR_MAX" >&5
6017 cat > conftest.$ac_ext <<EOF
6018 #line 6019 "configure"
6019 #include "confdefs.h"
6022 int i = WCHAR_MIN; int j = WCHAR_MAX;
6025 if { (eval echo configure:6026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6027 has_wchar_minmax=yes
6029 echo "configure: failed program was:" >&5
6030 cat conftest.$ac_ext >&5
6035 echo "$ac_t""$has_wchar_minmax" 1>&6
6037 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6038 echo "configure:6039: checking for WEOF" >&5
6039 cat > conftest.$ac_ext <<EOF
6040 #line 6041 "configure"
6041 #include "confdefs.h"
6049 if { (eval echo configure:6050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6053 echo "configure: failed program was:" >&5
6054 cat conftest.$ac_ext >&5
6059 echo "$ac_t""$has_weof" 1>&6
6062 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6065 echo "configure:6066: checking for $ac_func" >&5
6066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6067 echo $ac_n "(cached) $ac_c" 1>&6
6069 cat > conftest.$ac_ext <<EOF
6070 #line 6071 "configure"
6071 #include "confdefs.h"
6072 /* System header to define __stub macros and hopefully few prototypes,
6073 which can conflict with char $ac_func(); below. */
6075 /* Override any gcc2 internal prototype to avoid an error. */
6076 /* We use char because int might match the return type of a gcc2
6077 builtin and then its argument prototype would still apply. */
6082 /* The GNU C library defines this for functions which it implements
6083 to always fail with ENOSYS. Some functions are actually named
6084 something starting with __ and the normal name is an alias. */
6085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6093 if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6095 eval "ac_cv_func_$ac_func=yes"
6097 echo "configure: failed program was:" >&5
6098 cat conftest.$ac_ext >&5
6100 eval "ac_cv_func_$ac_func=no"
6105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6106 echo "$ac_t""yes" 1>&6
6107 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6108 cat >> confdefs.h <<EOF
6109 #define $ac_tr_func 1
6113 echo "$ac_t""no" 1>&6
6120 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6121 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6122 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6123 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6124 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6125 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6128 echo "configure:6129: checking for $ac_func" >&5
6129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6130 echo $ac_n "(cached) $ac_c" 1>&6
6132 cat > conftest.$ac_ext <<EOF
6133 #line 6134 "configure"
6134 #include "confdefs.h"
6135 /* System header to define __stub macros and hopefully few prototypes,
6136 which can conflict with char $ac_func(); below. */
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. */
6145 /* The GNU C library defines this for functions which it implements
6146 to always fail with ENOSYS. Some functions are actually named
6147 something starting with __ and the normal name is an alias. */
6148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6158 eval "ac_cv_func_$ac_func=yes"
6160 echo "configure: failed program was:" >&5
6161 cat conftest.$ac_ext >&5
6163 eval "ac_cv_func_$ac_func=no"
6168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6169 echo "$ac_t""yes" 1>&6
6170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6171 cat >> confdefs.h <<EOF
6172 #define $ac_tr_func 1
6176 echo "$ac_t""no" 1>&6
6183 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6184 echo "configure:6185: checking for ISO C99 wchar_t support" >&5
6185 if test x"$has_weof" = xyes &&
6186 test x"$has_wchar_minmax" = xyes &&
6187 test x"$ac_wfuncs" = xyes; then
6188 ac_isoC99_wchar_t=yes
6190 ac_isoC99_wchar_t=no
6192 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6194 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6195 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6196 echo "configure:6197: checking for iconv.h" >&5
6197 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6198 echo $ac_n "(cached) $ac_c" 1>&6
6200 cat > conftest.$ac_ext <<EOF
6201 #line 6202 "configure"
6202 #include "confdefs.h"
6205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6206 { (eval echo configure:6207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6208 if test -z "$ac_err"; then
6210 eval "ac_cv_header_$ac_safe=yes"
6213 echo "configure: failed program was:" >&5
6214 cat conftest.$ac_ext >&5
6216 eval "ac_cv_header_$ac_safe=no"
6220 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6221 echo "$ac_t""yes" 1>&6
6224 echo "$ac_t""no" 1>&6
6228 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6229 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6230 echo "configure:6231: checking for langinfo.h" >&5
6231 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6232 echo $ac_n "(cached) $ac_c" 1>&6
6234 cat > conftest.$ac_ext <<EOF
6235 #line 6236 "configure"
6236 #include "confdefs.h"
6237 #include <langinfo.h>
6239 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6240 { (eval echo configure:6241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6241 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6242 if test -z "$ac_err"; then
6244 eval "ac_cv_header_$ac_safe=yes"
6247 echo "configure: failed program was:" >&5
6248 cat conftest.$ac_ext >&5
6250 eval "ac_cv_header_$ac_safe=no"
6254 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6255 echo "$ac_t""yes" 1>&6
6256 ac_has_langinfo_h=yes
6258 echo "$ac_t""no" 1>&6
6259 ac_has_langinfo_h=no
6263 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6264 echo "configure:6265: checking for iconv in -liconv" >&5
6265 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6267 echo $ac_n "(cached) $ac_c" 1>&6
6269 ac_save_LIBS="$LIBS"
6270 LIBS="-liconv $LIBS"
6271 cat > conftest.$ac_ext <<EOF
6272 #line 6273 "configure"
6273 #include "confdefs.h"
6274 /* Override any gcc2 internal prototype to avoid an error. */
6275 /* We use char because int might match the return type of a gcc2
6276 builtin and then its argument prototype would still apply. */
6283 if { (eval echo configure:6284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6285 eval "ac_cv_lib_$ac_lib_var=yes"
6287 echo "configure: failed program was:" >&5
6288 cat conftest.$ac_ext >&5
6290 eval "ac_cv_lib_$ac_lib_var=no"
6293 LIBS="$ac_save_LIBS"
6296 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6297 echo "$ac_t""yes" 1>&6
6300 echo "$ac_t""no" 1>&6
6303 ac_save_LIBS="$LIBS"
6304 LIBS="$LIBS $libiconv"
6306 for ac_func in iconv_open iconv_close iconv nl_langinfo
6308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6309 echo "configure:6310: checking for $ac_func" >&5
6310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6311 echo $ac_n "(cached) $ac_c" 1>&6
6313 cat > conftest.$ac_ext <<EOF
6314 #line 6315 "configure"
6315 #include "confdefs.h"
6316 /* System header to define __stub macros and hopefully few prototypes,
6317 which can conflict with char $ac_func(); below. */
6319 /* Override any gcc2 internal prototype to avoid an error. */
6320 /* We use char because int might match the return type of a gcc2
6321 builtin and then its argument prototype would still apply. */
6326 /* The GNU C library defines this for functions which it implements
6327 to always fail with ENOSYS. Some functions are actually named
6328 something starting with __ and the normal name is an alias. */
6329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6337 if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6339 eval "ac_cv_func_$ac_func=yes"
6341 echo "configure: failed program was:" >&5
6342 cat conftest.$ac_ext >&5
6344 eval "ac_cv_func_$ac_func=no"
6349 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6350 echo "$ac_t""yes" 1>&6
6351 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6352 cat >> confdefs.h <<EOF
6353 #define $ac_tr_func 1
6358 echo "$ac_t""no" 1>&6
6364 LIBS="$ac_save_LIBS"
6366 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6367 echo "configure:6368: checking for XPG2 wchar_t support" >&5
6368 if test x"$ac_has_iconv_h" = xyes &&
6369 test x"$ac_has_langinfo_h" = xyes &&
6370 test x"$ac_XPG2funcs" = xyes; then
6375 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6377 if test x"$ac_isoC99_wchar_t" = xyes &&
6378 test x"$ac_XPG2_wchar_t" = xyes; then
6379 cat >> confdefs.h <<\EOF
6380 #define _GLIBCPP_USE_WCHAR_T 1
6386 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6387 echo "configure:6388: checking for enabled wchar_t specializations" >&5
6388 echo "$ac_t""$enable_wchar_t" 1>&6
6391 if test "$enable_wchar_t" = yes; then
6392 GLIBCPP_TEST_WCHAR_T_TRUE=
6393 GLIBCPP_TEST_WCHAR_T_FALSE='#'
6395 GLIBCPP_TEST_WCHAR_T_TRUE='#'
6396 GLIBCPP_TEST_WCHAR_T_FALSE=
6399 cat >> confdefs.h <<\EOF
6400 #define HAVE_COPYSIGN 1
6403 cat >> confdefs.h <<\EOF
6404 #define HAVE_COPYSIGNF 1
6407 cat >> confdefs.h <<\EOF
6408 #define HAVE_FREXPF 1
6411 cat >> confdefs.h <<\EOF
6412 #define HAVE_HYPOT 1
6417 cat >> confdefs.h <<\EOF
6418 #define HAVE_FINITE 1
6421 cat >> confdefs.h <<\EOF
6422 #define HAVE_FINITEF 1
6425 cat >> confdefs.h <<\EOF
6426 #define HAVE_ISINF 1
6429 cat >> confdefs.h <<\EOF
6430 #define HAVE_ISINFF 1
6433 cat >> confdefs.h <<\EOF
6434 #define HAVE_ISNAN 1
6437 cat >> confdefs.h <<\EOF
6438 #define HAVE_ISNANF 1
6445 os_include_dir="os/gnu-linux"
6446 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6447 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6448 fp.h locale.h float.h inttypes.h
6450 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6451 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6452 echo "configure:6453: checking for $ac_hdr" >&5
6453 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6454 echo $ac_n "(cached) $ac_c" 1>&6
6456 cat > conftest.$ac_ext <<EOF
6457 #line 6458 "configure"
6458 #include "confdefs.h"
6461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6462 { (eval echo configure:6463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6464 if test -z "$ac_err"; then
6466 eval "ac_cv_header_$ac_safe=yes"
6469 echo "configure: failed program was:" >&5
6470 cat conftest.$ac_ext >&5
6472 eval "ac_cv_header_$ac_safe=no"
6476 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6477 echo "$ac_t""yes" 1>&6
6478 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6479 cat >> confdefs.h <<EOF
6480 #define $ac_tr_hdr 1
6484 echo "$ac_t""no" 1>&6
6488 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6491 # If we're not using GNU ld, then there's no point in even trying these
6492 # tests. Check for that first. We should have already tested for gld
6493 # by now (in libtool), but require it now just to be safe...
6494 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6495 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6498 # The name set by libtool depends on the version of libtool. Shame on us
6499 # for depending on an impl detail, but c'est la vie. Older versions used
6500 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6501 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6502 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6503 # set (hence we're using an older libtool), then set it.
6504 if test x${with_gnu_ld+set} != xset; then
6505 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6506 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6509 with_gnu_ld=$ac_cv_prog_gnu_ld
6513 # Start by getting the version number. I think the libtool test already
6514 # does some of this, but throws away the result.
6516 ldver=`$LD --version 2>/dev/null | head -1 | \
6517 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6519 glibcpp_gnu_ld_version=`echo $ldver | \
6520 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6522 # Set --gc-sections.
6523 if test "$with_gnu_ld" = "notbroken"; then
6524 # GNU ld it is! Joy and bunny rabbits!
6526 # All these tests are for C++; save the language and the compiler flags.
6527 # Need to do this so that g++ won't try to link in libstdc++
6528 ac_test_CFLAGS="${CFLAGS+set}"
6529 ac_save_CFLAGS="$CFLAGS"
6530 CFLAGS='-x c++ -Wl,--gc-sections'
6532 # Check for -Wl,--gc-sections
6533 # XXX This test is broken at the moment, as symbols required for
6534 # linking are now in libsupc++ (not built yet.....). In addition,
6535 # this test has cored on solaris in the past. In addition,
6536 # --gc-sections doesn't really work at the moment (keeps on discarding
6537 # used sections, first .eh_frame and now some of the glibc sections for
6538 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6539 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6540 echo "configure:6541: checking for ld that supports -Wl,--gc-sections" >&5
6541 if test "$cross_compiling" = yes; then
6542 ac_sectionLDflags=yes
6544 cat > conftest.$ac_ext <<EOF
6545 #line 6546 "configure"
6546 #include "confdefs.h"
6556 if { (eval echo configure:6557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6558 ac_sectionLDflags=yes
6560 echo "configure: failed program was:" >&5
6561 cat conftest.$ac_ext >&5
6563 ac_sectionLDflags=no
6568 if test "$ac_test_CFLAGS" = set; then
6569 CFLAGS="$ac_save_CFLAGS"
6571 # this is the suspicious part
6574 if test "$ac_sectionLDflags" = "yes"; then
6575 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6577 echo "$ac_t""$ac_sectionLDflags" 1>&6
6580 # Set linker optimization flags.
6581 if test x"$with_gnu_ld" = x"yes"; then
6582 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6589 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6590 echo "configure:6591: checking for main in -lm" >&5
6591 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6592 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6593 echo $ac_n "(cached) $ac_c" 1>&6
6595 ac_save_LIBS="$LIBS"
6597 cat > conftest.$ac_ext <<EOF
6598 #line 6599 "configure"
6599 #include "confdefs.h"
6605 if { (eval echo configure:6606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6607 eval "ac_cv_lib_$ac_lib_var=yes"
6609 echo "configure: failed program was:" >&5
6610 cat conftest.$ac_ext >&5
6612 eval "ac_cv_lib_$ac_lib_var=no"
6615 LIBS="$ac_save_LIBS"
6618 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6619 echo "$ac_t""yes" 1>&6
6620 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6621 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6622 cat >> confdefs.h <<EOF
6623 #define $ac_tr_lib 1
6629 echo "$ac_t""no" 1>&6
6632 for ac_func in nan copysignf
6634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6635 echo "configure:6636: checking for $ac_func" >&5
6636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6637 echo $ac_n "(cached) $ac_c" 1>&6
6639 cat > conftest.$ac_ext <<EOF
6640 #line 6641 "configure"
6641 #include "confdefs.h"
6642 /* System header to define __stub macros and hopefully few prototypes,
6643 which can conflict with char $ac_func(); below. */
6645 /* Override any gcc2 internal prototype to avoid an error. */
6646 /* We use char because int might match the return type of a gcc2
6647 builtin and then its argument prototype would still apply. */
6652 /* The GNU C library defines this for functions which it implements
6653 to always fail with ENOSYS. Some functions are actually named
6654 something starting with __ and the normal name is an alias. */
6655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6665 eval "ac_cv_func_$ac_func=yes"
6667 echo "configure: failed program was:" >&5
6668 cat conftest.$ac_ext >&5
6670 eval "ac_cv_func_$ac_func=no"
6675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6676 echo "$ac_t""yes" 1>&6
6677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6678 cat >> confdefs.h <<EOF
6679 #define $ac_tr_func 1
6683 echo "$ac_t""no" 1>&6
6684 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6689 for ac_func in __signbit
6691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6692 echo "configure:6693: checking for $ac_func" >&5
6693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6694 echo $ac_n "(cached) $ac_c" 1>&6
6696 cat > conftest.$ac_ext <<EOF
6697 #line 6698 "configure"
6698 #include "confdefs.h"
6699 /* System header to define __stub macros and hopefully few prototypes,
6700 which can conflict with char $ac_func(); below. */
6702 /* Override any gcc2 internal prototype to avoid an error. */
6703 /* We use char because int might match the return type of a gcc2
6704 builtin and then its argument prototype would still apply. */
6709 /* The GNU C library defines this for functions which it implements
6710 to always fail with ENOSYS. Some functions are actually named
6711 something starting with __ and the normal name is an alias. */
6712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6720 if { (eval echo configure:6721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6722 eval "ac_cv_func_$ac_func=yes"
6724 echo "configure: failed program was:" >&5
6725 cat conftest.$ac_ext >&5
6727 eval "ac_cv_func_$ac_func=no"
6732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6733 echo "$ac_t""yes" 1>&6
6734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6735 cat >> confdefs.h <<EOF
6736 #define $ac_tr_func 1
6740 echo "$ac_t""no" 1>&6
6741 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6745 for ac_func in __signbitf
6747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6748 echo "configure:6749: checking for $ac_func" >&5
6749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6750 echo $ac_n "(cached) $ac_c" 1>&6
6752 cat > conftest.$ac_ext <<EOF
6753 #line 6754 "configure"
6754 #include "confdefs.h"
6755 /* System header to define __stub macros and hopefully few prototypes,
6756 which can conflict with char $ac_func(); below. */
6758 /* Override any gcc2 internal prototype to avoid an error. */
6759 /* We use char because int might match the return type of a gcc2
6760 builtin and then its argument prototype would still apply. */
6765 /* The GNU C library defines this for functions which it implements
6766 to always fail with ENOSYS. Some functions are actually named
6767 something starting with __ and the normal name is an alias. */
6768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6776 if { (eval echo configure:6777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6778 eval "ac_cv_func_$ac_func=yes"
6780 echo "configure: failed program was:" >&5
6781 cat conftest.$ac_ext >&5
6783 eval "ac_cv_func_$ac_func=no"
6788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6789 echo "$ac_t""yes" 1>&6
6790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6791 cat >> confdefs.h <<EOF
6792 #define $ac_tr_func 1
6796 echo "$ac_t""no" 1>&6
6797 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6802 if test x$ac_cv_func_copysignl = x"yes"; then
6803 for ac_func in __signbitl
6805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6806 echo "configure:6807: checking for $ac_func" >&5
6807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6808 echo $ac_n "(cached) $ac_c" 1>&6
6810 cat > conftest.$ac_ext <<EOF
6811 #line 6812 "configure"
6812 #include "confdefs.h"
6813 /* System header to define __stub macros and hopefully few prototypes,
6814 which can conflict with char $ac_func(); below. */
6816 /* Override any gcc2 internal prototype to avoid an error. */
6817 /* We use char because int might match the return type of a gcc2
6818 builtin and then its argument prototype would still apply. */
6823 /* The GNU C library defines this for functions which it implements
6824 to always fail with ENOSYS. Some functions are actually named
6825 something starting with __ and the normal name is an alias. */
6826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6834 if { (eval echo configure:6835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6836 eval "ac_cv_func_$ac_func=yes"
6838 echo "configure: failed program was:" >&5
6839 cat conftest.$ac_ext >&5
6841 eval "ac_cv_func_$ac_func=no"
6846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6847 echo "$ac_t""yes" 1>&6
6848 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6849 cat >> confdefs.h <<EOF
6850 #define $ac_tr_func 1
6854 echo "$ac_t""no" 1>&6
6855 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6861 if test -n "$LIBMATHOBJS"; then
6867 if test "$need_libmath" = yes; then
6868 GLIBCPP_BUILD_LIBMATH_TRUE=
6869 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6871 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6872 GLIBCPP_BUILD_LIBMATH_FALSE=
6878 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6879 echo "configure:6880: checking for mbstate_t" >&5
6880 cat > conftest.$ac_ext <<EOF
6881 #line 6882 "configure"
6882 #include "confdefs.h"
6885 mbstate_t teststate;
6888 if { (eval echo configure:6889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6892 echo "configure: failed program was:" >&5
6893 cat conftest.$ac_ext >&5
6898 echo "$ac_t""$have_mbstate_t" 1>&6
6899 if test x"$have_mbstate_t" = xyes; then
6900 cat >> confdefs.h <<\EOF
6901 #define HAVE_MBSTATE_T 1
6906 for ac_hdr in wchar.h
6908 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6909 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6910 echo "configure:6911: checking for $ac_hdr" >&5
6911 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6912 echo $ac_n "(cached) $ac_c" 1>&6
6914 cat > conftest.$ac_ext <<EOF
6915 #line 6916 "configure"
6916 #include "confdefs.h"
6919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6920 { (eval echo configure:6921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6922 if test -z "$ac_err"; then
6924 eval "ac_cv_header_$ac_safe=yes"
6927 echo "configure: failed program was:" >&5
6928 cat conftest.$ac_ext >&5
6930 eval "ac_cv_header_$ac_safe=no"
6934 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6935 echo "$ac_t""yes" 1>&6
6936 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6937 cat >> confdefs.h <<EOF
6938 #define $ac_tr_hdr 1
6942 echo "$ac_t""no" 1>&6
6947 for ac_hdr in wctype.h
6949 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6950 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6951 echo "configure:6952: checking for $ac_hdr" >&5
6952 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
6960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6961 { (eval echo configure:6962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6963 if test -z "$ac_err"; then
6965 eval "ac_cv_header_$ac_safe=yes"
6968 echo "configure: failed program was:" >&5
6969 cat conftest.$ac_ext >&5
6971 eval "ac_cv_header_$ac_safe=no"
6975 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6976 echo "$ac_t""yes" 1>&6
6977 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6978 cat >> confdefs.h <<EOF
6979 #define $ac_tr_hdr 1
6983 echo "$ac_t""no" 1>&6
6989 if test x"$ac_has_wchar_h" = xyes &&
6990 test x"$ac_has_wctype_h" = xyes &&
6991 test x"$enable_c_mbchar" != xno; then
6993 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6994 echo "configure:6995: checking for WCHAR_MIN and WCHAR_MAX" >&5
6995 cat > conftest.$ac_ext <<EOF
6996 #line 6997 "configure"
6997 #include "confdefs.h"
7000 int i = WCHAR_MIN; int j = WCHAR_MAX;
7003 if { (eval echo configure:7004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7005 has_wchar_minmax=yes
7007 echo "configure: failed program was:" >&5
7008 cat conftest.$ac_ext >&5
7013 echo "$ac_t""$has_wchar_minmax" 1>&6
7015 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7016 echo "configure:7017: checking for WEOF" >&5
7017 cat > conftest.$ac_ext <<EOF
7018 #line 7019 "configure"
7019 #include "confdefs.h"
7027 if { (eval echo configure:7028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7031 echo "configure: failed program was:" >&5
7032 cat conftest.$ac_ext >&5
7037 echo "$ac_t""$has_weof" 1>&6
7040 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7043 echo "configure:7044: checking for $ac_func" >&5
7044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7045 echo $ac_n "(cached) $ac_c" 1>&6
7047 cat > conftest.$ac_ext <<EOF
7048 #line 7049 "configure"
7049 #include "confdefs.h"
7050 /* System header to define __stub macros and hopefully few prototypes,
7051 which can conflict with char $ac_func(); below. */
7053 /* Override any gcc2 internal prototype to avoid an error. */
7054 /* We use char because int might match the return type of a gcc2
7055 builtin and then its argument prototype would still apply. */
7060 /* The GNU C library defines this for functions which it implements
7061 to always fail with ENOSYS. Some functions are actually named
7062 something starting with __ and the normal name is an alias. */
7063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7071 if { (eval echo configure:7072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7073 eval "ac_cv_func_$ac_func=yes"
7075 echo "configure: failed program was:" >&5
7076 cat conftest.$ac_ext >&5
7078 eval "ac_cv_func_$ac_func=no"
7083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7084 echo "$ac_t""yes" 1>&6
7085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7086 cat >> confdefs.h <<EOF
7087 #define $ac_tr_func 1
7091 echo "$ac_t""no" 1>&6
7098 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7099 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7100 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7101 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7102 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7103 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7106 echo "configure:7107: checking for $ac_func" >&5
7107 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7108 echo $ac_n "(cached) $ac_c" 1>&6
7110 cat > conftest.$ac_ext <<EOF
7111 #line 7112 "configure"
7112 #include "confdefs.h"
7113 /* System header to define __stub macros and hopefully few prototypes,
7114 which can conflict with char $ac_func(); below. */
7116 /* Override any gcc2 internal prototype to avoid an error. */
7117 /* We use char because int might match the return type of a gcc2
7118 builtin and then its argument prototype would still apply. */
7123 /* The GNU C library defines this for functions which it implements
7124 to always fail with ENOSYS. Some functions are actually named
7125 something starting with __ and the normal name is an alias. */
7126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7134 if { (eval echo configure:7135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7136 eval "ac_cv_func_$ac_func=yes"
7138 echo "configure: failed program was:" >&5
7139 cat conftest.$ac_ext >&5
7141 eval "ac_cv_func_$ac_func=no"
7146 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7147 echo "$ac_t""yes" 1>&6
7148 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7149 cat >> confdefs.h <<EOF
7150 #define $ac_tr_func 1
7154 echo "$ac_t""no" 1>&6
7161 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7162 echo "configure:7163: checking for ISO C99 wchar_t support" >&5
7163 if test x"$has_weof" = xyes &&
7164 test x"$has_wchar_minmax" = xyes &&
7165 test x"$ac_wfuncs" = xyes; then
7166 ac_isoC99_wchar_t=yes
7168 ac_isoC99_wchar_t=no
7170 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7172 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7173 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7174 echo "configure:7175: checking for iconv.h" >&5
7175 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7176 echo $ac_n "(cached) $ac_c" 1>&6
7178 cat > conftest.$ac_ext <<EOF
7179 #line 7180 "configure"
7180 #include "confdefs.h"
7183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7184 { (eval echo configure:7185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7186 if test -z "$ac_err"; then
7188 eval "ac_cv_header_$ac_safe=yes"
7191 echo "configure: failed program was:" >&5
7192 cat conftest.$ac_ext >&5
7194 eval "ac_cv_header_$ac_safe=no"
7198 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7199 echo "$ac_t""yes" 1>&6
7202 echo "$ac_t""no" 1>&6
7206 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7207 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7208 echo "configure:7209: checking for langinfo.h" >&5
7209 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7210 echo $ac_n "(cached) $ac_c" 1>&6
7212 cat > conftest.$ac_ext <<EOF
7213 #line 7214 "configure"
7214 #include "confdefs.h"
7215 #include <langinfo.h>
7217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7218 { (eval echo configure:7219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7220 if test -z "$ac_err"; then
7222 eval "ac_cv_header_$ac_safe=yes"
7225 echo "configure: failed program was:" >&5
7226 cat conftest.$ac_ext >&5
7228 eval "ac_cv_header_$ac_safe=no"
7232 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7233 echo "$ac_t""yes" 1>&6
7234 ac_has_langinfo_h=yes
7236 echo "$ac_t""no" 1>&6
7237 ac_has_langinfo_h=no
7241 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7242 echo "configure:7243: checking for iconv in -liconv" >&5
7243 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7244 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7245 echo $ac_n "(cached) $ac_c" 1>&6
7247 ac_save_LIBS="$LIBS"
7248 LIBS="-liconv $LIBS"
7249 cat > conftest.$ac_ext <<EOF
7250 #line 7251 "configure"
7251 #include "confdefs.h"
7252 /* Override any gcc2 internal prototype to avoid an error. */
7253 /* We use char because int might match the return type of a gcc2
7254 builtin and then its argument prototype would still apply. */
7261 if { (eval echo configure:7262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7263 eval "ac_cv_lib_$ac_lib_var=yes"
7265 echo "configure: failed program was:" >&5
7266 cat conftest.$ac_ext >&5
7268 eval "ac_cv_lib_$ac_lib_var=no"
7271 LIBS="$ac_save_LIBS"
7274 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7275 echo "$ac_t""yes" 1>&6
7278 echo "$ac_t""no" 1>&6
7281 ac_save_LIBS="$LIBS"
7282 LIBS="$LIBS $libiconv"
7284 for ac_func in iconv_open iconv_close iconv nl_langinfo
7286 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7287 echo "configure:7288: checking for $ac_func" >&5
7288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7289 echo $ac_n "(cached) $ac_c" 1>&6
7291 cat > conftest.$ac_ext <<EOF
7292 #line 7293 "configure"
7293 #include "confdefs.h"
7294 /* System header to define __stub macros and hopefully few prototypes,
7295 which can conflict with char $ac_func(); below. */
7297 /* Override any gcc2 internal prototype to avoid an error. */
7298 /* We use char because int might match the return type of a gcc2
7299 builtin and then its argument prototype would still apply. */
7304 /* The GNU C library defines this for functions which it implements
7305 to always fail with ENOSYS. Some functions are actually named
7306 something starting with __ and the normal name is an alias. */
7307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7315 if { (eval echo configure:7316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7317 eval "ac_cv_func_$ac_func=yes"
7319 echo "configure: failed program was:" >&5
7320 cat conftest.$ac_ext >&5
7322 eval "ac_cv_func_$ac_func=no"
7327 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7328 echo "$ac_t""yes" 1>&6
7329 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7330 cat >> confdefs.h <<EOF
7331 #define $ac_tr_func 1
7336 echo "$ac_t""no" 1>&6
7342 LIBS="$ac_save_LIBS"
7344 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7345 echo "configure:7346: checking for XPG2 wchar_t support" >&5
7346 if test x"$ac_has_iconv_h" = xyes &&
7347 test x"$ac_has_langinfo_h" = xyes &&
7348 test x"$ac_XPG2funcs" = xyes; then
7353 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7355 if test x"$ac_isoC99_wchar_t" = xyes &&
7356 test x"$ac_XPG2_wchar_t" = xyes; then
7357 cat >> confdefs.h <<\EOF
7358 #define _GLIBCPP_USE_WCHAR_T 1
7364 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7365 echo "configure:7366: checking for enabled wchar_t specializations" >&5
7366 echo "$ac_t""$enable_wchar_t" 1>&6
7369 if test "$enable_wchar_t" = yes; then
7370 GLIBCPP_TEST_WCHAR_T_TRUE=
7371 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7373 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7374 GLIBCPP_TEST_WCHAR_T_FALSE=
7377 cat >> confdefs.h <<\EOF
7378 #define HAVE_COPYSIGN 1
7381 cat >> confdefs.h <<\EOF
7382 #define HAVE_COPYSIGNF 1
7385 cat >> confdefs.h <<\EOF
7386 #define HAVE_FINITE 1
7389 cat >> confdefs.h <<\EOF
7390 #define HAVE_FINITEF 1
7393 cat >> confdefs.h <<\EOF
7394 #define HAVE_FREXPF 1
7397 cat >> confdefs.h <<\EOF
7398 #define HAVE_HYPOTF 1
7401 cat >> confdefs.h <<\EOF
7402 #define HAVE_ISINF 1
7405 cat >> confdefs.h <<\EOF
7406 #define HAVE_ISINFF 1
7409 cat >> confdefs.h <<\EOF
7410 #define HAVE_ISNAN 1
7413 cat >> confdefs.h <<\EOF
7414 #define HAVE_ISNANF 1
7417 cat >> confdefs.h <<\EOF
7418 #define HAVE_SINCOS 1
7421 cat >> confdefs.h <<\EOF
7422 #define HAVE_SINCOSF 1
7425 if test x"long_double_math_on_this_cpu" = x"yes"; then
7426 cat >> confdefs.h <<\EOF
7427 #define HAVE_FINITEL 1
7430 cat >> confdefs.h <<\EOF
7431 #define HAVE_HYPOTL 1
7434 cat >> confdefs.h <<\EOF
7435 #define HAVE_ISINFL 1
7438 cat >> confdefs.h <<\EOF
7439 #define HAVE_ISNANL 1
7445 os_include_dir="os/mingw32"
7446 for ac_hdr in sys/types.h locale.h float.h
7448 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7449 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7450 echo "configure:7451: checking for $ac_hdr" >&5
7451 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7452 echo $ac_n "(cached) $ac_c" 1>&6
7454 cat > conftest.$ac_ext <<EOF
7455 #line 7456 "configure"
7456 #include "confdefs.h"
7459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7460 { (eval echo configure:7461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7461 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7462 if test -z "$ac_err"; then
7464 eval "ac_cv_header_$ac_safe=yes"
7467 echo "configure: failed program was:" >&5
7468 cat conftest.$ac_ext >&5
7470 eval "ac_cv_header_$ac_safe=no"
7474 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7475 echo "$ac_t""yes" 1>&6
7476 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7477 cat >> confdefs.h <<EOF
7478 #define $ac_tr_hdr 1
7482 echo "$ac_t""no" 1>&6
7487 # If we're not using GNU ld, then there's no point in even trying these
7488 # tests. Check for that first. We should have already tested for gld
7489 # by now (in libtool), but require it now just to be safe...
7490 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7491 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7494 # The name set by libtool depends on the version of libtool. Shame on us
7495 # for depending on an impl detail, but c'est la vie. Older versions used
7496 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7497 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7498 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7499 # set (hence we're using an older libtool), then set it.
7500 if test x${with_gnu_ld+set} != xset; then
7501 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7502 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7505 with_gnu_ld=$ac_cv_prog_gnu_ld
7509 # Start by getting the version number. I think the libtool test already
7510 # does some of this, but throws away the result.
7512 ldver=`$LD --version 2>/dev/null | head -1 | \
7513 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7515 glibcpp_gnu_ld_version=`echo $ldver | \
7516 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7518 # Set --gc-sections.
7519 if test "$with_gnu_ld" = "notbroken"; then
7520 # GNU ld it is! Joy and bunny rabbits!
7522 # All these tests are for C++; save the language and the compiler flags.
7523 # Need to do this so that g++ won't try to link in libstdc++
7524 ac_test_CFLAGS="${CFLAGS+set}"
7525 ac_save_CFLAGS="$CFLAGS"
7526 CFLAGS='-x c++ -Wl,--gc-sections'
7528 # Check for -Wl,--gc-sections
7529 # XXX This test is broken at the moment, as symbols required for
7530 # linking are now in libsupc++ (not built yet.....). In addition,
7531 # this test has cored on solaris in the past. In addition,
7532 # --gc-sections doesn't really work at the moment (keeps on discarding
7533 # used sections, first .eh_frame and now some of the glibc sections for
7534 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7535 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7536 echo "configure:7537: checking for ld that supports -Wl,--gc-sections" >&5
7537 if test "$cross_compiling" = yes; then
7538 ac_sectionLDflags=yes
7540 cat > conftest.$ac_ext <<EOF
7541 #line 7542 "configure"
7542 #include "confdefs.h"
7552 if { (eval echo configure:7553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7554 ac_sectionLDflags=yes
7556 echo "configure: failed program was:" >&5
7557 cat conftest.$ac_ext >&5
7559 ac_sectionLDflags=no
7564 if test "$ac_test_CFLAGS" = set; then
7565 CFLAGS="$ac_save_CFLAGS"
7567 # this is the suspicious part
7570 if test "$ac_sectionLDflags" = "yes"; then
7571 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7573 echo "$ac_t""$ac_sectionLDflags" 1>&6
7576 # Set linker optimization flags.
7577 if test x"$with_gnu_ld" = x"yes"; then
7578 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7585 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7586 echo "configure:7587: checking for main in -lm" >&5
7587 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7588 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7589 echo $ac_n "(cached) $ac_c" 1>&6
7591 ac_save_LIBS="$LIBS"
7593 cat > conftest.$ac_ext <<EOF
7594 #line 7595 "configure"
7595 #include "confdefs.h"
7601 if { (eval echo configure:7602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7603 eval "ac_cv_lib_$ac_lib_var=yes"
7605 echo "configure: failed program was:" >&5
7606 cat conftest.$ac_ext >&5
7608 eval "ac_cv_lib_$ac_lib_var=no"
7611 LIBS="$ac_save_LIBS"
7614 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7615 echo "$ac_t""yes" 1>&6
7616 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7617 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7618 cat >> confdefs.h <<EOF
7619 #define $ac_tr_lib 1
7625 echo "$ac_t""no" 1>&6
7628 for ac_func in nan copysignf
7630 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7631 echo "configure:7632: checking for $ac_func" >&5
7632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7633 echo $ac_n "(cached) $ac_c" 1>&6
7635 cat > conftest.$ac_ext <<EOF
7636 #line 7637 "configure"
7637 #include "confdefs.h"
7638 /* System header to define __stub macros and hopefully few prototypes,
7639 which can conflict with char $ac_func(); below. */
7641 /* Override any gcc2 internal prototype to avoid an error. */
7642 /* We use char because int might match the return type of a gcc2
7643 builtin and then its argument prototype would still apply. */
7648 /* The GNU C library defines this for functions which it implements
7649 to always fail with ENOSYS. Some functions are actually named
7650 something starting with __ and the normal name is an alias. */
7651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7659 if { (eval echo configure:7660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7661 eval "ac_cv_func_$ac_func=yes"
7663 echo "configure: failed program was:" >&5
7664 cat conftest.$ac_ext >&5
7666 eval "ac_cv_func_$ac_func=no"
7671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7672 echo "$ac_t""yes" 1>&6
7673 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7674 cat >> confdefs.h <<EOF
7675 #define $ac_tr_func 1
7679 echo "$ac_t""no" 1>&6
7680 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7685 for ac_func in __signbit
7687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7688 echo "configure:7689: checking for $ac_func" >&5
7689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7690 echo $ac_n "(cached) $ac_c" 1>&6
7692 cat > conftest.$ac_ext <<EOF
7693 #line 7694 "configure"
7694 #include "confdefs.h"
7695 /* System header to define __stub macros and hopefully few prototypes,
7696 which can conflict with char $ac_func(); below. */
7698 /* Override any gcc2 internal prototype to avoid an error. */
7699 /* We use char because int might match the return type of a gcc2
7700 builtin and then its argument prototype would still apply. */
7705 /* The GNU C library defines this for functions which it implements
7706 to always fail with ENOSYS. Some functions are actually named
7707 something starting with __ and the normal name is an alias. */
7708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7716 if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7718 eval "ac_cv_func_$ac_func=yes"
7720 echo "configure: failed program was:" >&5
7721 cat conftest.$ac_ext >&5
7723 eval "ac_cv_func_$ac_func=no"
7728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7729 echo "$ac_t""yes" 1>&6
7730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7731 cat >> confdefs.h <<EOF
7732 #define $ac_tr_func 1
7736 echo "$ac_t""no" 1>&6
7737 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7741 for ac_func in __signbitf
7743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7744 echo "configure:7745: checking for $ac_func" >&5
7745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7746 echo $ac_n "(cached) $ac_c" 1>&6
7748 cat > conftest.$ac_ext <<EOF
7749 #line 7750 "configure"
7750 #include "confdefs.h"
7751 /* System header to define __stub macros and hopefully few prototypes,
7752 which can conflict with char $ac_func(); below. */
7754 /* Override any gcc2 internal prototype to avoid an error. */
7755 /* We use char because int might match the return type of a gcc2
7756 builtin and then its argument prototype would still apply. */
7761 /* The GNU C library defines this for functions which it implements
7762 to always fail with ENOSYS. Some functions are actually named
7763 something starting with __ and the normal name is an alias. */
7764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7772 if { (eval echo configure:7773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7774 eval "ac_cv_func_$ac_func=yes"
7776 echo "configure: failed program was:" >&5
7777 cat conftest.$ac_ext >&5
7779 eval "ac_cv_func_$ac_func=no"
7784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7785 echo "$ac_t""yes" 1>&6
7786 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7787 cat >> confdefs.h <<EOF
7788 #define $ac_tr_func 1
7792 echo "$ac_t""no" 1>&6
7793 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7798 if test x$ac_cv_func_copysignl = x"yes"; then
7799 for ac_func in __signbitl
7801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7802 echo "configure:7803: checking for $ac_func" >&5
7803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7804 echo $ac_n "(cached) $ac_c" 1>&6
7806 cat > conftest.$ac_ext <<EOF
7807 #line 7808 "configure"
7808 #include "confdefs.h"
7809 /* System header to define __stub macros and hopefully few prototypes,
7810 which can conflict with char $ac_func(); below. */
7812 /* Override any gcc2 internal prototype to avoid an error. */
7813 /* We use char because int might match the return type of a gcc2
7814 builtin and then its argument prototype would still apply. */
7819 /* The GNU C library defines this for functions which it implements
7820 to always fail with ENOSYS. Some functions are actually named
7821 something starting with __ and the normal name is an alias. */
7822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7830 if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7832 eval "ac_cv_func_$ac_func=yes"
7834 echo "configure: failed program was:" >&5
7835 cat conftest.$ac_ext >&5
7837 eval "ac_cv_func_$ac_func=no"
7842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7843 echo "$ac_t""yes" 1>&6
7844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7845 cat >> confdefs.h <<EOF
7846 #define $ac_tr_func 1
7850 echo "$ac_t""no" 1>&6
7851 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7857 if test -n "$LIBMATHOBJS"; then
7863 if test "$need_libmath" = yes; then
7864 GLIBCPP_BUILD_LIBMATH_TRUE=
7865 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7867 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7868 GLIBCPP_BUILD_LIBMATH_FALSE=
7874 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7875 echo "configure:7876: checking for mbstate_t" >&5
7876 cat > conftest.$ac_ext <<EOF
7877 #line 7878 "configure"
7878 #include "confdefs.h"
7881 mbstate_t teststate;
7884 if { (eval echo configure:7885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7888 echo "configure: failed program was:" >&5
7889 cat conftest.$ac_ext >&5
7894 echo "$ac_t""$have_mbstate_t" 1>&6
7895 if test x"$have_mbstate_t" = xyes; then
7896 cat >> confdefs.h <<\EOF
7897 #define HAVE_MBSTATE_T 1
7902 for ac_hdr in wchar.h
7904 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7905 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7906 echo "configure:7907: checking for $ac_hdr" >&5
7907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7908 echo $ac_n "(cached) $ac_c" 1>&6
7910 cat > conftest.$ac_ext <<EOF
7911 #line 7912 "configure"
7912 #include "confdefs.h"
7915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7916 { (eval echo configure:7917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7918 if test -z "$ac_err"; then
7920 eval "ac_cv_header_$ac_safe=yes"
7923 echo "configure: failed program was:" >&5
7924 cat conftest.$ac_ext >&5
7926 eval "ac_cv_header_$ac_safe=no"
7930 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7931 echo "$ac_t""yes" 1>&6
7932 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7933 cat >> confdefs.h <<EOF
7934 #define $ac_tr_hdr 1
7938 echo "$ac_t""no" 1>&6
7943 for ac_hdr in wctype.h
7945 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7946 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7947 echo "configure:7948: checking for $ac_hdr" >&5
7948 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7949 echo $ac_n "(cached) $ac_c" 1>&6
7951 cat > conftest.$ac_ext <<EOF
7952 #line 7953 "configure"
7953 #include "confdefs.h"
7956 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7957 { (eval echo configure:7958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7958 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7959 if test -z "$ac_err"; then
7961 eval "ac_cv_header_$ac_safe=yes"
7964 echo "configure: failed program was:" >&5
7965 cat conftest.$ac_ext >&5
7967 eval "ac_cv_header_$ac_safe=no"
7971 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7972 echo "$ac_t""yes" 1>&6
7973 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7974 cat >> confdefs.h <<EOF
7975 #define $ac_tr_hdr 1
7979 echo "$ac_t""no" 1>&6
7985 if test x"$ac_has_wchar_h" = xyes &&
7986 test x"$ac_has_wctype_h" = xyes &&
7987 test x"$enable_c_mbchar" != xno; then
7989 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7990 echo "configure:7991: checking for WCHAR_MIN and WCHAR_MAX" >&5
7991 cat > conftest.$ac_ext <<EOF
7992 #line 7993 "configure"
7993 #include "confdefs.h"
7996 int i = WCHAR_MIN; int j = WCHAR_MAX;
7999 if { (eval echo configure:8000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8001 has_wchar_minmax=yes
8003 echo "configure: failed program was:" >&5
8004 cat conftest.$ac_ext >&5
8009 echo "$ac_t""$has_wchar_minmax" 1>&6
8011 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8012 echo "configure:8013: checking for WEOF" >&5
8013 cat > conftest.$ac_ext <<EOF
8014 #line 8015 "configure"
8015 #include "confdefs.h"
8023 if { (eval echo configure:8024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8027 echo "configure: failed program was:" >&5
8028 cat conftest.$ac_ext >&5
8033 echo "$ac_t""$has_weof" 1>&6
8036 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8039 echo "configure:8040: checking for $ac_func" >&5
8040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8041 echo $ac_n "(cached) $ac_c" 1>&6
8043 cat > conftest.$ac_ext <<EOF
8044 #line 8045 "configure"
8045 #include "confdefs.h"
8046 /* System header to define __stub macros and hopefully few prototypes,
8047 which can conflict with char $ac_func(); below. */
8049 /* Override any gcc2 internal prototype to avoid an error. */
8050 /* We use char because int might match the return type of a gcc2
8051 builtin and then its argument prototype would still apply. */
8056 /* The GNU C library defines this for functions which it implements
8057 to always fail with ENOSYS. Some functions are actually named
8058 something starting with __ and the normal name is an alias. */
8059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8067 if { (eval echo configure:8068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8069 eval "ac_cv_func_$ac_func=yes"
8071 echo "configure: failed program was:" >&5
8072 cat conftest.$ac_ext >&5
8074 eval "ac_cv_func_$ac_func=no"
8079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8080 echo "$ac_t""yes" 1>&6
8081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8082 cat >> confdefs.h <<EOF
8083 #define $ac_tr_func 1
8087 echo "$ac_t""no" 1>&6
8094 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8095 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8096 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8097 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8098 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8099 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8102 echo "configure:8103: checking for $ac_func" >&5
8103 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8104 echo $ac_n "(cached) $ac_c" 1>&6
8106 cat > conftest.$ac_ext <<EOF
8107 #line 8108 "configure"
8108 #include "confdefs.h"
8109 /* System header to define __stub macros and hopefully few prototypes,
8110 which can conflict with char $ac_func(); below. */
8112 /* Override any gcc2 internal prototype to avoid an error. */
8113 /* We use char because int might match the return type of a gcc2
8114 builtin and then its argument prototype would still apply. */
8119 /* The GNU C library defines this for functions which it implements
8120 to always fail with ENOSYS. Some functions are actually named
8121 something starting with __ and the normal name is an alias. */
8122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8130 if { (eval echo configure:8131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8132 eval "ac_cv_func_$ac_func=yes"
8134 echo "configure: failed program was:" >&5
8135 cat conftest.$ac_ext >&5
8137 eval "ac_cv_func_$ac_func=no"
8142 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8143 echo "$ac_t""yes" 1>&6
8144 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8145 cat >> confdefs.h <<EOF
8146 #define $ac_tr_func 1
8150 echo "$ac_t""no" 1>&6
8157 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8158 echo "configure:8159: checking for ISO C99 wchar_t support" >&5
8159 if test x"$has_weof" = xyes &&
8160 test x"$has_wchar_minmax" = xyes &&
8161 test x"$ac_wfuncs" = xyes; then
8162 ac_isoC99_wchar_t=yes
8164 ac_isoC99_wchar_t=no
8166 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8168 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8169 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8170 echo "configure:8171: checking for iconv.h" >&5
8171 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8172 echo $ac_n "(cached) $ac_c" 1>&6
8174 cat > conftest.$ac_ext <<EOF
8175 #line 8176 "configure"
8176 #include "confdefs.h"
8179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8180 { (eval echo configure:8181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8182 if test -z "$ac_err"; then
8184 eval "ac_cv_header_$ac_safe=yes"
8187 echo "configure: failed program was:" >&5
8188 cat conftest.$ac_ext >&5
8190 eval "ac_cv_header_$ac_safe=no"
8194 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8195 echo "$ac_t""yes" 1>&6
8198 echo "$ac_t""no" 1>&6
8202 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8203 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8204 echo "configure:8205: checking for langinfo.h" >&5
8205 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8206 echo $ac_n "(cached) $ac_c" 1>&6
8208 cat > conftest.$ac_ext <<EOF
8209 #line 8210 "configure"
8210 #include "confdefs.h"
8211 #include <langinfo.h>
8213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8214 { (eval echo configure:8215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8216 if test -z "$ac_err"; then
8218 eval "ac_cv_header_$ac_safe=yes"
8221 echo "configure: failed program was:" >&5
8222 cat conftest.$ac_ext >&5
8224 eval "ac_cv_header_$ac_safe=no"
8228 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8229 echo "$ac_t""yes" 1>&6
8230 ac_has_langinfo_h=yes
8232 echo "$ac_t""no" 1>&6
8233 ac_has_langinfo_h=no
8237 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8238 echo "configure:8239: checking for iconv in -liconv" >&5
8239 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8241 echo $ac_n "(cached) $ac_c" 1>&6
8243 ac_save_LIBS="$LIBS"
8244 LIBS="-liconv $LIBS"
8245 cat > conftest.$ac_ext <<EOF
8246 #line 8247 "configure"
8247 #include "confdefs.h"
8248 /* Override any gcc2 internal prototype to avoid an error. */
8249 /* We use char because int might match the return type of a gcc2
8250 builtin and then its argument prototype would still apply. */
8257 if { (eval echo configure:8258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8259 eval "ac_cv_lib_$ac_lib_var=yes"
8261 echo "configure: failed program was:" >&5
8262 cat conftest.$ac_ext >&5
8264 eval "ac_cv_lib_$ac_lib_var=no"
8267 LIBS="$ac_save_LIBS"
8270 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8271 echo "$ac_t""yes" 1>&6
8274 echo "$ac_t""no" 1>&6
8277 ac_save_LIBS="$LIBS"
8278 LIBS="$LIBS $libiconv"
8280 for ac_func in iconv_open iconv_close iconv nl_langinfo
8282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8283 echo "configure:8284: checking for $ac_func" >&5
8284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8285 echo $ac_n "(cached) $ac_c" 1>&6
8287 cat > conftest.$ac_ext <<EOF
8288 #line 8289 "configure"
8289 #include "confdefs.h"
8290 /* System header to define __stub macros and hopefully few prototypes,
8291 which can conflict with char $ac_func(); below. */
8293 /* Override any gcc2 internal prototype to avoid an error. */
8294 /* We use char because int might match the return type of a gcc2
8295 builtin and then its argument prototype would still apply. */
8300 /* The GNU C library defines this for functions which it implements
8301 to always fail with ENOSYS. Some functions are actually named
8302 something starting with __ and the normal name is an alias. */
8303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8311 if { (eval echo configure:8312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8313 eval "ac_cv_func_$ac_func=yes"
8315 echo "configure: failed program was:" >&5
8316 cat conftest.$ac_ext >&5
8318 eval "ac_cv_func_$ac_func=no"
8323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8324 echo "$ac_t""yes" 1>&6
8325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8326 cat >> confdefs.h <<EOF
8327 #define $ac_tr_func 1
8332 echo "$ac_t""no" 1>&6
8338 LIBS="$ac_save_LIBS"
8340 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8341 echo "configure:8342: checking for XPG2 wchar_t support" >&5
8342 if test x"$ac_has_iconv_h" = xyes &&
8343 test x"$ac_has_langinfo_h" = xyes &&
8344 test x"$ac_XPG2funcs" = xyes; then
8349 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8351 if test x"$ac_isoC99_wchar_t" = xyes &&
8352 test x"$ac_XPG2_wchar_t" = xyes; then
8353 cat >> confdefs.h <<\EOF
8354 #define _GLIBCPP_USE_WCHAR_T 1
8360 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8361 echo "configure:8362: checking for enabled wchar_t specializations" >&5
8362 echo "$ac_t""$enable_wchar_t" 1>&6
8365 if test "$enable_wchar_t" = yes; then
8366 GLIBCPP_TEST_WCHAR_T_TRUE=
8367 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8369 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8370 GLIBCPP_TEST_WCHAR_T_FALSE=
8375 os_include_dir="os/bsd/netbsd"
8376 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
8377 machine/endian.h machine/param.h sys/machine.h sys/types.h \
8378 fp.h locale.h float.h inttypes.h
8380 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8381 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8382 echo "configure:8383: checking for $ac_hdr" >&5
8383 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
8391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8392 { (eval echo configure:8393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8394 if test -z "$ac_err"; then
8396 eval "ac_cv_header_$ac_safe=yes"
8399 echo "configure: failed program was:" >&5
8400 cat conftest.$ac_ext >&5
8402 eval "ac_cv_header_$ac_safe=no"
8406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8407 echo "$ac_t""yes" 1>&6
8408 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8409 cat >> confdefs.h <<EOF
8410 #define $ac_tr_hdr 1
8414 echo "$ac_t""no" 1>&6
8418 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8421 # If we're not using GNU ld, then there's no point in even trying these
8422 # tests. Check for that first. We should have already tested for gld
8423 # by now (in libtool), but require it now just to be safe...
8424 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8425 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8428 # The name set by libtool depends on the version of libtool. Shame on us
8429 # for depending on an impl detail, but c'est la vie. Older versions used
8430 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8431 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8432 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8433 # set (hence we're using an older libtool), then set it.
8434 if test x${with_gnu_ld+set} != xset; then
8435 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8436 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8439 with_gnu_ld=$ac_cv_prog_gnu_ld
8443 # Start by getting the version number. I think the libtool test already
8444 # does some of this, but throws away the result.
8446 ldver=`$LD --version 2>/dev/null | head -1 | \
8447 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8449 glibcpp_gnu_ld_version=`echo $ldver | \
8450 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8452 # Set --gc-sections.
8453 if test "$with_gnu_ld" = "notbroken"; then
8454 # GNU ld it is! Joy and bunny rabbits!
8456 # All these tests are for C++; save the language and the compiler flags.
8457 # Need to do this so that g++ won't try to link in libstdc++
8458 ac_test_CFLAGS="${CFLAGS+set}"
8459 ac_save_CFLAGS="$CFLAGS"
8460 CFLAGS='-x c++ -Wl,--gc-sections'
8462 # Check for -Wl,--gc-sections
8463 # XXX This test is broken at the moment, as symbols required for
8464 # linking are now in libsupc++ (not built yet.....). In addition,
8465 # this test has cored on solaris in the past. In addition,
8466 # --gc-sections doesn't really work at the moment (keeps on discarding
8467 # used sections, first .eh_frame and now some of the glibc sections for
8468 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8469 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8470 echo "configure:8471: checking for ld that supports -Wl,--gc-sections" >&5
8471 if test "$cross_compiling" = yes; then
8472 ac_sectionLDflags=yes
8474 cat > conftest.$ac_ext <<EOF
8475 #line 8476 "configure"
8476 #include "confdefs.h"
8486 if { (eval echo configure:8487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8488 ac_sectionLDflags=yes
8490 echo "configure: failed program was:" >&5
8491 cat conftest.$ac_ext >&5
8493 ac_sectionLDflags=no
8498 if test "$ac_test_CFLAGS" = set; then
8499 CFLAGS="$ac_save_CFLAGS"
8501 # this is the suspicious part
8504 if test "$ac_sectionLDflags" = "yes"; then
8505 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8507 echo "$ac_t""$ac_sectionLDflags" 1>&6
8510 # Set linker optimization flags.
8511 if test x"$with_gnu_ld" = x"yes"; then
8512 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8519 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8520 echo "configure:8521: checking for main in -lm" >&5
8521 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8522 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8523 echo $ac_n "(cached) $ac_c" 1>&6
8525 ac_save_LIBS="$LIBS"
8527 cat > conftest.$ac_ext <<EOF
8528 #line 8529 "configure"
8529 #include "confdefs.h"
8535 if { (eval echo configure:8536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8537 eval "ac_cv_lib_$ac_lib_var=yes"
8539 echo "configure: failed program was:" >&5
8540 cat conftest.$ac_ext >&5
8542 eval "ac_cv_lib_$ac_lib_var=no"
8545 LIBS="$ac_save_LIBS"
8548 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8549 echo "$ac_t""yes" 1>&6
8550 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8551 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8552 cat >> confdefs.h <<EOF
8553 #define $ac_tr_lib 1
8559 echo "$ac_t""no" 1>&6
8562 for ac_func in nan copysignf
8564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8565 echo "configure:8566: checking for $ac_func" >&5
8566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8567 echo $ac_n "(cached) $ac_c" 1>&6
8569 cat > conftest.$ac_ext <<EOF
8570 #line 8571 "configure"
8571 #include "confdefs.h"
8572 /* System header to define __stub macros and hopefully few prototypes,
8573 which can conflict with char $ac_func(); below. */
8575 /* Override any gcc2 internal prototype to avoid an error. */
8576 /* We use char because int might match the return type of a gcc2
8577 builtin and then its argument prototype would still apply. */
8582 /* The GNU C library defines this for functions which it implements
8583 to always fail with ENOSYS. Some functions are actually named
8584 something starting with __ and the normal name is an alias. */
8585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8593 if { (eval echo configure:8594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8595 eval "ac_cv_func_$ac_func=yes"
8597 echo "configure: failed program was:" >&5
8598 cat conftest.$ac_ext >&5
8600 eval "ac_cv_func_$ac_func=no"
8605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8606 echo "$ac_t""yes" 1>&6
8607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8608 cat >> confdefs.h <<EOF
8609 #define $ac_tr_func 1
8613 echo "$ac_t""no" 1>&6
8614 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8619 for ac_func in __signbit
8621 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8622 echo "configure:8623: checking for $ac_func" >&5
8623 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8624 echo $ac_n "(cached) $ac_c" 1>&6
8626 cat > conftest.$ac_ext <<EOF
8627 #line 8628 "configure"
8628 #include "confdefs.h"
8629 /* System header to define __stub macros and hopefully few prototypes,
8630 which can conflict with char $ac_func(); below. */
8632 /* Override any gcc2 internal prototype to avoid an error. */
8633 /* We use char because int might match the return type of a gcc2
8634 builtin and then its argument prototype would still apply. */
8639 /* The GNU C library defines this for functions which it implements
8640 to always fail with ENOSYS. Some functions are actually named
8641 something starting with __ and the normal name is an alias. */
8642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8650 if { (eval echo configure:8651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8652 eval "ac_cv_func_$ac_func=yes"
8654 echo "configure: failed program was:" >&5
8655 cat conftest.$ac_ext >&5
8657 eval "ac_cv_func_$ac_func=no"
8662 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8663 echo "$ac_t""yes" 1>&6
8664 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8665 cat >> confdefs.h <<EOF
8666 #define $ac_tr_func 1
8670 echo "$ac_t""no" 1>&6
8671 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8675 for ac_func in __signbitf
8677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8678 echo "configure:8679: checking for $ac_func" >&5
8679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8680 echo $ac_n "(cached) $ac_c" 1>&6
8682 cat > conftest.$ac_ext <<EOF
8683 #line 8684 "configure"
8684 #include "confdefs.h"
8685 /* System header to define __stub macros and hopefully few prototypes,
8686 which can conflict with char $ac_func(); below. */
8688 /* Override any gcc2 internal prototype to avoid an error. */
8689 /* We use char because int might match the return type of a gcc2
8690 builtin and then its argument prototype would still apply. */
8695 /* The GNU C library defines this for functions which it implements
8696 to always fail with ENOSYS. Some functions are actually named
8697 something starting with __ and the normal name is an alias. */
8698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8706 if { (eval echo configure:8707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8708 eval "ac_cv_func_$ac_func=yes"
8710 echo "configure: failed program was:" >&5
8711 cat conftest.$ac_ext >&5
8713 eval "ac_cv_func_$ac_func=no"
8718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8719 echo "$ac_t""yes" 1>&6
8720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8721 cat >> confdefs.h <<EOF
8722 #define $ac_tr_func 1
8726 echo "$ac_t""no" 1>&6
8727 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8732 if test x$ac_cv_func_copysignl = x"yes"; then
8733 for ac_func in __signbitl
8735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8736 echo "configure:8737: checking for $ac_func" >&5
8737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8738 echo $ac_n "(cached) $ac_c" 1>&6
8740 cat > conftest.$ac_ext <<EOF
8741 #line 8742 "configure"
8742 #include "confdefs.h"
8743 /* System header to define __stub macros and hopefully few prototypes,
8744 which can conflict with char $ac_func(); below. */
8746 /* Override any gcc2 internal prototype to avoid an error. */
8747 /* We use char because int might match the return type of a gcc2
8748 builtin and then its argument prototype would still apply. */
8753 /* The GNU C library defines this for functions which it implements
8754 to always fail with ENOSYS. Some functions are actually named
8755 something starting with __ and the normal name is an alias. */
8756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8764 if { (eval echo configure:8765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8766 eval "ac_cv_func_$ac_func=yes"
8768 echo "configure: failed program was:" >&5
8769 cat conftest.$ac_ext >&5
8771 eval "ac_cv_func_$ac_func=no"
8776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8777 echo "$ac_t""yes" 1>&6
8778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8779 cat >> confdefs.h <<EOF
8780 #define $ac_tr_func 1
8784 echo "$ac_t""no" 1>&6
8785 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8791 if test -n "$LIBMATHOBJS"; then
8797 if test "$need_libmath" = yes; then
8798 GLIBCPP_BUILD_LIBMATH_TRUE=
8799 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8801 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8802 GLIBCPP_BUILD_LIBMATH_FALSE=
8808 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8809 echo "configure:8810: checking for mbstate_t" >&5
8810 cat > conftest.$ac_ext <<EOF
8811 #line 8812 "configure"
8812 #include "confdefs.h"
8815 mbstate_t teststate;
8818 if { (eval echo configure:8819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8822 echo "configure: failed program was:" >&5
8823 cat conftest.$ac_ext >&5
8828 echo "$ac_t""$have_mbstate_t" 1>&6
8829 if test x"$have_mbstate_t" = xyes; then
8830 cat >> confdefs.h <<\EOF
8831 #define HAVE_MBSTATE_T 1
8836 for ac_hdr in wchar.h
8838 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8839 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8840 echo "configure:8841: checking for $ac_hdr" >&5
8841 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8842 echo $ac_n "(cached) $ac_c" 1>&6
8844 cat > conftest.$ac_ext <<EOF
8845 #line 8846 "configure"
8846 #include "confdefs.h"
8849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8850 { (eval echo configure:8851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8852 if test -z "$ac_err"; then
8854 eval "ac_cv_header_$ac_safe=yes"
8857 echo "configure: failed program was:" >&5
8858 cat conftest.$ac_ext >&5
8860 eval "ac_cv_header_$ac_safe=no"
8864 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8865 echo "$ac_t""yes" 1>&6
8866 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8867 cat >> confdefs.h <<EOF
8868 #define $ac_tr_hdr 1
8872 echo "$ac_t""no" 1>&6
8877 for ac_hdr in wctype.h
8879 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8880 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8881 echo "configure:8882: checking for $ac_hdr" >&5
8882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8883 echo $ac_n "(cached) $ac_c" 1>&6
8885 cat > conftest.$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8891 { (eval echo configure:8892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8893 if test -z "$ac_err"; then
8895 eval "ac_cv_header_$ac_safe=yes"
8898 echo "configure: failed program was:" >&5
8899 cat conftest.$ac_ext >&5
8901 eval "ac_cv_header_$ac_safe=no"
8905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8906 echo "$ac_t""yes" 1>&6
8907 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8908 cat >> confdefs.h <<EOF
8909 #define $ac_tr_hdr 1
8913 echo "$ac_t""no" 1>&6
8919 if test x"$ac_has_wchar_h" = xyes &&
8920 test x"$ac_has_wctype_h" = xyes &&
8921 test x"$enable_c_mbchar" != xno; then
8923 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8924 echo "configure:8925: checking for WCHAR_MIN and WCHAR_MAX" >&5
8925 cat > conftest.$ac_ext <<EOF
8926 #line 8927 "configure"
8927 #include "confdefs.h"
8930 int i = WCHAR_MIN; int j = WCHAR_MAX;
8933 if { (eval echo configure:8934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8935 has_wchar_minmax=yes
8937 echo "configure: failed program was:" >&5
8938 cat conftest.$ac_ext >&5
8943 echo "$ac_t""$has_wchar_minmax" 1>&6
8945 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8946 echo "configure:8947: checking for WEOF" >&5
8947 cat > conftest.$ac_ext <<EOF
8948 #line 8949 "configure"
8949 #include "confdefs.h"
8957 if { (eval echo configure:8958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8961 echo "configure: failed program was:" >&5
8962 cat conftest.$ac_ext >&5
8967 echo "$ac_t""$has_weof" 1>&6
8970 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8973 echo "configure:8974: checking for $ac_func" >&5
8974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8975 echo $ac_n "(cached) $ac_c" 1>&6
8977 cat > conftest.$ac_ext <<EOF
8978 #line 8979 "configure"
8979 #include "confdefs.h"
8980 /* System header to define __stub macros and hopefully few prototypes,
8981 which can conflict with char $ac_func(); below. */
8983 /* Override any gcc2 internal prototype to avoid an error. */
8984 /* We use char because int might match the return type of a gcc2
8985 builtin and then its argument prototype would still apply. */
8990 /* The GNU C library defines this for functions which it implements
8991 to always fail with ENOSYS. Some functions are actually named
8992 something starting with __ and the normal name is an alias. */
8993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9001 if { (eval echo configure:9002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9003 eval "ac_cv_func_$ac_func=yes"
9005 echo "configure: failed program was:" >&5
9006 cat conftest.$ac_ext >&5
9008 eval "ac_cv_func_$ac_func=no"
9013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9014 echo "$ac_t""yes" 1>&6
9015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9016 cat >> confdefs.h <<EOF
9017 #define $ac_tr_func 1
9021 echo "$ac_t""no" 1>&6
9028 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9029 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9030 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9031 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9032 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9033 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9036 echo "configure:9037: checking for $ac_func" >&5
9037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9038 echo $ac_n "(cached) $ac_c" 1>&6
9040 cat > conftest.$ac_ext <<EOF
9041 #line 9042 "configure"
9042 #include "confdefs.h"
9043 /* System header to define __stub macros and hopefully few prototypes,
9044 which can conflict with char $ac_func(); below. */
9046 /* Override any gcc2 internal prototype to avoid an error. */
9047 /* We use char because int might match the return type of a gcc2
9048 builtin and then its argument prototype would still apply. */
9053 /* The GNU C library defines this for functions which it implements
9054 to always fail with ENOSYS. Some functions are actually named
9055 something starting with __ and the normal name is an alias. */
9056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9064 if { (eval echo configure:9065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9066 eval "ac_cv_func_$ac_func=yes"
9068 echo "configure: failed program was:" >&5
9069 cat conftest.$ac_ext >&5
9071 eval "ac_cv_func_$ac_func=no"
9076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9077 echo "$ac_t""yes" 1>&6
9078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9079 cat >> confdefs.h <<EOF
9080 #define $ac_tr_func 1
9084 echo "$ac_t""no" 1>&6
9091 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9092 echo "configure:9093: checking for ISO C99 wchar_t support" >&5
9093 if test x"$has_weof" = xyes &&
9094 test x"$has_wchar_minmax" = xyes &&
9095 test x"$ac_wfuncs" = xyes; then
9096 ac_isoC99_wchar_t=yes
9098 ac_isoC99_wchar_t=no
9100 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9102 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9103 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9104 echo "configure:9105: checking for iconv.h" >&5
9105 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9106 echo $ac_n "(cached) $ac_c" 1>&6
9108 cat > conftest.$ac_ext <<EOF
9109 #line 9110 "configure"
9110 #include "confdefs.h"
9113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9114 { (eval echo configure:9115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9115 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9116 if test -z "$ac_err"; then
9118 eval "ac_cv_header_$ac_safe=yes"
9121 echo "configure: failed program was:" >&5
9122 cat conftest.$ac_ext >&5
9124 eval "ac_cv_header_$ac_safe=no"
9128 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9129 echo "$ac_t""yes" 1>&6
9132 echo "$ac_t""no" 1>&6
9136 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9137 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9138 echo "configure:9139: checking for langinfo.h" >&5
9139 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9140 echo $ac_n "(cached) $ac_c" 1>&6
9142 cat > conftest.$ac_ext <<EOF
9143 #line 9144 "configure"
9144 #include "confdefs.h"
9145 #include <langinfo.h>
9147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9148 { (eval echo configure:9149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9150 if test -z "$ac_err"; then
9152 eval "ac_cv_header_$ac_safe=yes"
9155 echo "configure: failed program was:" >&5
9156 cat conftest.$ac_ext >&5
9158 eval "ac_cv_header_$ac_safe=no"
9162 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9163 echo "$ac_t""yes" 1>&6
9164 ac_has_langinfo_h=yes
9166 echo "$ac_t""no" 1>&6
9167 ac_has_langinfo_h=no
9171 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9172 echo "configure:9173: checking for iconv in -liconv" >&5
9173 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9174 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9175 echo $ac_n "(cached) $ac_c" 1>&6
9177 ac_save_LIBS="$LIBS"
9178 LIBS="-liconv $LIBS"
9179 cat > conftest.$ac_ext <<EOF
9180 #line 9181 "configure"
9181 #include "confdefs.h"
9182 /* Override any gcc2 internal prototype to avoid an error. */
9183 /* We use char because int might match the return type of a gcc2
9184 builtin and then its argument prototype would still apply. */
9191 if { (eval echo configure:9192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9193 eval "ac_cv_lib_$ac_lib_var=yes"
9195 echo "configure: failed program was:" >&5
9196 cat conftest.$ac_ext >&5
9198 eval "ac_cv_lib_$ac_lib_var=no"
9201 LIBS="$ac_save_LIBS"
9204 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9205 echo "$ac_t""yes" 1>&6
9208 echo "$ac_t""no" 1>&6
9211 ac_save_LIBS="$LIBS"
9212 LIBS="$LIBS $libiconv"
9214 for ac_func in iconv_open iconv_close iconv nl_langinfo
9216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9217 echo "configure:9218: checking for $ac_func" >&5
9218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9219 echo $ac_n "(cached) $ac_c" 1>&6
9221 cat > conftest.$ac_ext <<EOF
9222 #line 9223 "configure"
9223 #include "confdefs.h"
9224 /* System header to define __stub macros and hopefully few prototypes,
9225 which can conflict with char $ac_func(); below. */
9227 /* Override any gcc2 internal prototype to avoid an error. */
9228 /* We use char because int might match the return type of a gcc2
9229 builtin and then its argument prototype would still apply. */
9234 /* The GNU C library defines this for functions which it implements
9235 to always fail with ENOSYS. Some functions are actually named
9236 something starting with __ and the normal name is an alias. */
9237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9245 if { (eval echo configure:9246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9247 eval "ac_cv_func_$ac_func=yes"
9249 echo "configure: failed program was:" >&5
9250 cat conftest.$ac_ext >&5
9252 eval "ac_cv_func_$ac_func=no"
9257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9258 echo "$ac_t""yes" 1>&6
9259 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9260 cat >> confdefs.h <<EOF
9261 #define $ac_tr_func 1
9266 echo "$ac_t""no" 1>&6
9272 LIBS="$ac_save_LIBS"
9274 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9275 echo "configure:9276: checking for XPG2 wchar_t support" >&5
9276 if test x"$ac_has_iconv_h" = xyes &&
9277 test x"$ac_has_langinfo_h" = xyes &&
9278 test x"$ac_XPG2funcs" = xyes; then
9283 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9285 if test x"$ac_isoC99_wchar_t" = xyes &&
9286 test x"$ac_XPG2_wchar_t" = xyes; then
9287 cat >> confdefs.h <<\EOF
9288 #define _GLIBCPP_USE_WCHAR_T 1
9294 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9295 echo "configure:9296: checking for enabled wchar_t specializations" >&5
9296 echo "$ac_t""$enable_wchar_t" 1>&6
9299 if test "$enable_wchar_t" = yes; then
9300 GLIBCPP_TEST_WCHAR_T_TRUE=
9301 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9303 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9304 GLIBCPP_TEST_WCHAR_T_FALSE=
9307 cat >> confdefs.h <<\EOF
9308 #define HAVE_COPYSIGN 1
9311 cat >> confdefs.h <<\EOF
9312 #define HAVE_COPYSIGNF 1
9315 cat >> confdefs.h <<\EOF
9316 #define HAVE_FINITEF 1
9319 cat >> confdefs.h <<\EOF
9320 #define HAVE_FINITE 1
9323 cat >> confdefs.h <<\EOF
9324 #define HAVE_FREXPF 1
9327 cat >> confdefs.h <<\EOF
9328 #define HAVE_HYPOTF 1
9331 cat >> confdefs.h <<\EOF
9332 #define HAVE_ISINF 1
9335 cat >> confdefs.h <<\EOF
9336 #define HAVE_ISINFF 1
9339 cat >> confdefs.h <<\EOF
9340 #define HAVE_ISNAN 1
9343 cat >> confdefs.h <<\EOF
9344 #define HAVE_ISNANF 1
9347 if test x"long_double_math_on_this_cpu" = x"yes"; then
9348 cat >> confdefs.h <<\EOF
9349 #define HAVE_FINITEL 1
9352 cat >> confdefs.h <<\EOF
9353 #define HAVE_ISINFL 1
9356 cat >> confdefs.h <<\EOF
9357 #define HAVE_ISNANL 1
9362 *-qnx6.1* | *-qnx6.2*)
9363 os_include_dir="os/qnx/qnx6.1"
9364 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9367 # If we're not using GNU ld, then there's no point in even trying these
9368 # tests. Check for that first. We should have already tested for gld
9369 # by now (in libtool), but require it now just to be safe...
9370 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9371 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9374 # The name set by libtool depends on the version of libtool. Shame on us
9375 # for depending on an impl detail, but c'est la vie. Older versions used
9376 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9377 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9378 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9379 # set (hence we're using an older libtool), then set it.
9380 if test x${with_gnu_ld+set} != xset; then
9381 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9382 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9385 with_gnu_ld=$ac_cv_prog_gnu_ld
9389 # Start by getting the version number. I think the libtool test already
9390 # does some of this, but throws away the result.
9392 ldver=`$LD --version 2>/dev/null | head -1 | \
9393 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9395 glibcpp_gnu_ld_version=`echo $ldver | \
9396 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9398 # Set --gc-sections.
9399 if test "$with_gnu_ld" = "notbroken"; then
9400 # GNU ld it is! Joy and bunny rabbits!
9402 # All these tests are for C++; save the language and the compiler flags.
9403 # Need to do this so that g++ won't try to link in libstdc++
9404 ac_test_CFLAGS="${CFLAGS+set}"
9405 ac_save_CFLAGS="$CFLAGS"
9406 CFLAGS='-x c++ -Wl,--gc-sections'
9408 # Check for -Wl,--gc-sections
9409 # XXX This test is broken at the moment, as symbols required for
9410 # linking are now in libsupc++ (not built yet.....). In addition,
9411 # this test has cored on solaris in the past. In addition,
9412 # --gc-sections doesn't really work at the moment (keeps on discarding
9413 # used sections, first .eh_frame and now some of the glibc sections for
9414 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9415 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9416 echo "configure:9417: checking for ld that supports -Wl,--gc-sections" >&5
9417 if test "$cross_compiling" = yes; then
9418 ac_sectionLDflags=yes
9420 cat > conftest.$ac_ext <<EOF
9421 #line 9422 "configure"
9422 #include "confdefs.h"
9432 if { (eval echo configure:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9434 ac_sectionLDflags=yes
9436 echo "configure: failed program was:" >&5
9437 cat conftest.$ac_ext >&5
9439 ac_sectionLDflags=no
9444 if test "$ac_test_CFLAGS" = set; then
9445 CFLAGS="$ac_save_CFLAGS"
9447 # this is the suspicious part
9450 if test "$ac_sectionLDflags" = "yes"; then
9451 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9453 echo "$ac_t""$ac_sectionLDflags" 1>&6
9456 # Set linker optimization flags.
9457 if test x"$with_gnu_ld" = x"yes"; then
9458 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9465 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9466 echo "configure:9467: checking for main in -lm" >&5
9467 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9468 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9469 echo $ac_n "(cached) $ac_c" 1>&6
9471 ac_save_LIBS="$LIBS"
9473 cat > conftest.$ac_ext <<EOF
9474 #line 9475 "configure"
9475 #include "confdefs.h"
9481 if { (eval echo configure:9482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9483 eval "ac_cv_lib_$ac_lib_var=yes"
9485 echo "configure: failed program was:" >&5
9486 cat conftest.$ac_ext >&5
9488 eval "ac_cv_lib_$ac_lib_var=no"
9491 LIBS="$ac_save_LIBS"
9494 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9495 echo "$ac_t""yes" 1>&6
9496 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9497 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9498 cat >> confdefs.h <<EOF
9499 #define $ac_tr_lib 1
9505 echo "$ac_t""no" 1>&6
9508 for ac_func in nan copysignf
9510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9511 echo "configure:9512: checking for $ac_func" >&5
9512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9513 echo $ac_n "(cached) $ac_c" 1>&6
9515 cat > conftest.$ac_ext <<EOF
9516 #line 9517 "configure"
9517 #include "confdefs.h"
9518 /* System header to define __stub macros and hopefully few prototypes,
9519 which can conflict with char $ac_func(); below. */
9521 /* Override any gcc2 internal prototype to avoid an error. */
9522 /* We use char because int might match the return type of a gcc2
9523 builtin and then its argument prototype would still apply. */
9528 /* The GNU C library defines this for functions which it implements
9529 to always fail with ENOSYS. Some functions are actually named
9530 something starting with __ and the normal name is an alias. */
9531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9539 if { (eval echo configure:9540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9541 eval "ac_cv_func_$ac_func=yes"
9543 echo "configure: failed program was:" >&5
9544 cat conftest.$ac_ext >&5
9546 eval "ac_cv_func_$ac_func=no"
9551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9552 echo "$ac_t""yes" 1>&6
9553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9554 cat >> confdefs.h <<EOF
9555 #define $ac_tr_func 1
9559 echo "$ac_t""no" 1>&6
9560 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9565 for ac_func in __signbit
9567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9568 echo "configure:9569: checking for $ac_func" >&5
9569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9570 echo $ac_n "(cached) $ac_c" 1>&6
9572 cat > conftest.$ac_ext <<EOF
9573 #line 9574 "configure"
9574 #include "confdefs.h"
9575 /* System header to define __stub macros and hopefully few prototypes,
9576 which can conflict with char $ac_func(); below. */
9578 /* Override any gcc2 internal prototype to avoid an error. */
9579 /* We use char because int might match the return type of a gcc2
9580 builtin and then its argument prototype would still apply. */
9585 /* The GNU C library defines this for functions which it implements
9586 to always fail with ENOSYS. Some functions are actually named
9587 something starting with __ and the normal name is an alias. */
9588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9596 if { (eval echo configure:9597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9598 eval "ac_cv_func_$ac_func=yes"
9600 echo "configure: failed program was:" >&5
9601 cat conftest.$ac_ext >&5
9603 eval "ac_cv_func_$ac_func=no"
9608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9609 echo "$ac_t""yes" 1>&6
9610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9611 cat >> confdefs.h <<EOF
9612 #define $ac_tr_func 1
9616 echo "$ac_t""no" 1>&6
9617 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9621 for ac_func in __signbitf
9623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9624 echo "configure:9625: checking for $ac_func" >&5
9625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9626 echo $ac_n "(cached) $ac_c" 1>&6
9628 cat > conftest.$ac_ext <<EOF
9629 #line 9630 "configure"
9630 #include "confdefs.h"
9631 /* System header to define __stub macros and hopefully few prototypes,
9632 which can conflict with char $ac_func(); below. */
9634 /* Override any gcc2 internal prototype to avoid an error. */
9635 /* We use char because int might match the return type of a gcc2
9636 builtin and then its argument prototype would still apply. */
9641 /* The GNU C library defines this for functions which it implements
9642 to always fail with ENOSYS. Some functions are actually named
9643 something starting with __ and the normal name is an alias. */
9644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9652 if { (eval echo configure:9653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9654 eval "ac_cv_func_$ac_func=yes"
9656 echo "configure: failed program was:" >&5
9657 cat conftest.$ac_ext >&5
9659 eval "ac_cv_func_$ac_func=no"
9664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9665 echo "$ac_t""yes" 1>&6
9666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9667 cat >> confdefs.h <<EOF
9668 #define $ac_tr_func 1
9672 echo "$ac_t""no" 1>&6
9673 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9678 if test x$ac_cv_func_copysignl = x"yes"; then
9679 for ac_func in __signbitl
9681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9682 echo "configure:9683: checking for $ac_func" >&5
9683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9684 echo $ac_n "(cached) $ac_c" 1>&6
9686 cat > conftest.$ac_ext <<EOF
9687 #line 9688 "configure"
9688 #include "confdefs.h"
9689 /* System header to define __stub macros and hopefully few prototypes,
9690 which can conflict with char $ac_func(); below. */
9692 /* Override any gcc2 internal prototype to avoid an error. */
9693 /* We use char because int might match the return type of a gcc2
9694 builtin and then its argument prototype would still apply. */
9699 /* The GNU C library defines this for functions which it implements
9700 to always fail with ENOSYS. Some functions are actually named
9701 something starting with __ and the normal name is an alias. */
9702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9710 if { (eval echo configure:9711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9712 eval "ac_cv_func_$ac_func=yes"
9714 echo "configure: failed program was:" >&5
9715 cat conftest.$ac_ext >&5
9717 eval "ac_cv_func_$ac_func=no"
9722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9723 echo "$ac_t""yes" 1>&6
9724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9725 cat >> confdefs.h <<EOF
9726 #define $ac_tr_func 1
9730 echo "$ac_t""no" 1>&6
9731 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9737 if test -n "$LIBMATHOBJS"; then
9743 if test "$need_libmath" = yes; then
9744 GLIBCPP_BUILD_LIBMATH_TRUE=
9745 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9747 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9748 GLIBCPP_BUILD_LIBMATH_FALSE=
9754 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9755 echo "configure:9756: checking for mbstate_t" >&5
9756 cat > conftest.$ac_ext <<EOF
9757 #line 9758 "configure"
9758 #include "confdefs.h"
9761 mbstate_t teststate;
9764 if { (eval echo configure:9765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9768 echo "configure: failed program was:" >&5
9769 cat conftest.$ac_ext >&5
9774 echo "$ac_t""$have_mbstate_t" 1>&6
9775 if test x"$have_mbstate_t" = xyes; then
9776 cat >> confdefs.h <<\EOF
9777 #define HAVE_MBSTATE_T 1
9782 for ac_hdr in wchar.h
9784 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9785 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9786 echo "configure:9787: checking for $ac_hdr" >&5
9787 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9788 echo $ac_n "(cached) $ac_c" 1>&6
9790 cat > conftest.$ac_ext <<EOF
9791 #line 9792 "configure"
9792 #include "confdefs.h"
9795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9796 { (eval echo configure:9797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9798 if test -z "$ac_err"; then
9800 eval "ac_cv_header_$ac_safe=yes"
9803 echo "configure: failed program was:" >&5
9804 cat conftest.$ac_ext >&5
9806 eval "ac_cv_header_$ac_safe=no"
9810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9811 echo "$ac_t""yes" 1>&6
9812 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9813 cat >> confdefs.h <<EOF
9814 #define $ac_tr_hdr 1
9818 echo "$ac_t""no" 1>&6
9823 for ac_hdr in wctype.h
9825 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9826 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9827 echo "configure:9828: checking for $ac_hdr" >&5
9828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9829 echo $ac_n "(cached) $ac_c" 1>&6
9831 cat > conftest.$ac_ext <<EOF
9832 #line 9833 "configure"
9833 #include "confdefs.h"
9836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9837 { (eval echo configure:9838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9839 if test -z "$ac_err"; then
9841 eval "ac_cv_header_$ac_safe=yes"
9844 echo "configure: failed program was:" >&5
9845 cat conftest.$ac_ext >&5
9847 eval "ac_cv_header_$ac_safe=no"
9851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9852 echo "$ac_t""yes" 1>&6
9853 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9854 cat >> confdefs.h <<EOF
9855 #define $ac_tr_hdr 1
9859 echo "$ac_t""no" 1>&6
9865 if test x"$ac_has_wchar_h" = xyes &&
9866 test x"$ac_has_wctype_h" = xyes &&
9867 test x"$enable_c_mbchar" != xno; then
9869 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9870 echo "configure:9871: checking for WCHAR_MIN and WCHAR_MAX" >&5
9871 cat > conftest.$ac_ext <<EOF
9872 #line 9873 "configure"
9873 #include "confdefs.h"
9876 int i = WCHAR_MIN; int j = WCHAR_MAX;
9879 if { (eval echo configure:9880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9881 has_wchar_minmax=yes
9883 echo "configure: failed program was:" >&5
9884 cat conftest.$ac_ext >&5
9889 echo "$ac_t""$has_wchar_minmax" 1>&6
9891 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9892 echo "configure:9893: checking for WEOF" >&5
9893 cat > conftest.$ac_ext <<EOF
9894 #line 9895 "configure"
9895 #include "confdefs.h"
9903 if { (eval echo configure:9904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9907 echo "configure: failed program was:" >&5
9908 cat conftest.$ac_ext >&5
9913 echo "$ac_t""$has_weof" 1>&6
9916 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9919 echo "configure:9920: checking for $ac_func" >&5
9920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9921 echo $ac_n "(cached) $ac_c" 1>&6
9923 cat > conftest.$ac_ext <<EOF
9924 #line 9925 "configure"
9925 #include "confdefs.h"
9926 /* System header to define __stub macros and hopefully few prototypes,
9927 which can conflict with char $ac_func(); below. */
9929 /* Override any gcc2 internal prototype to avoid an error. */
9930 /* We use char because int might match the return type of a gcc2
9931 builtin and then its argument prototype would still apply. */
9936 /* The GNU C library defines this for functions which it implements
9937 to always fail with ENOSYS. Some functions are actually named
9938 something starting with __ and the normal name is an alias. */
9939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9947 if { (eval echo configure:9948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9949 eval "ac_cv_func_$ac_func=yes"
9951 echo "configure: failed program was:" >&5
9952 cat conftest.$ac_ext >&5
9954 eval "ac_cv_func_$ac_func=no"
9959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9960 echo "$ac_t""yes" 1>&6
9961 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9962 cat >> confdefs.h <<EOF
9963 #define $ac_tr_func 1
9967 echo "$ac_t""no" 1>&6
9974 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9975 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9976 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9977 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9978 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9979 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9982 echo "configure:9983: checking for $ac_func" >&5
9983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9984 echo $ac_n "(cached) $ac_c" 1>&6
9986 cat > conftest.$ac_ext <<EOF
9987 #line 9988 "configure"
9988 #include "confdefs.h"
9989 /* System header to define __stub macros and hopefully few prototypes,
9990 which can conflict with char $ac_func(); below. */
9992 /* Override any gcc2 internal prototype to avoid an error. */
9993 /* We use char because int might match the return type of a gcc2
9994 builtin and then its argument prototype would still apply. */
9999 /* The GNU C library defines this for functions which it implements
10000 to always fail with ENOSYS. Some functions are actually named
10001 something starting with __ and the normal name is an alias. */
10002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10010 if { (eval echo configure:10011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10012 eval "ac_cv_func_$ac_func=yes"
10014 echo "configure: failed program was:" >&5
10015 cat conftest.$ac_ext >&5
10017 eval "ac_cv_func_$ac_func=no"
10022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10023 echo "$ac_t""yes" 1>&6
10024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10025 cat >> confdefs.h <<EOF
10026 #define $ac_tr_func 1
10030 echo "$ac_t""no" 1>&6
10037 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
10038 echo "configure:10039: checking for ISO C99 wchar_t support" >&5
10039 if test x"$has_weof" = xyes &&
10040 test x"$has_wchar_minmax" = xyes &&
10041 test x"$ac_wfuncs" = xyes; then
10042 ac_isoC99_wchar_t=yes
10044 ac_isoC99_wchar_t=no
10046 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
10048 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
10049 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
10050 echo "configure:10051: checking for iconv.h" >&5
10051 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10052 echo $ac_n "(cached) $ac_c" 1>&6
10054 cat > conftest.$ac_ext <<EOF
10055 #line 10056 "configure"
10056 #include "confdefs.h"
10059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10060 { (eval echo configure:10061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10062 if test -z "$ac_err"; then
10064 eval "ac_cv_header_$ac_safe=yes"
10067 echo "configure: failed program was:" >&5
10068 cat conftest.$ac_ext >&5
10070 eval "ac_cv_header_$ac_safe=no"
10074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10075 echo "$ac_t""yes" 1>&6
10078 echo "$ac_t""no" 1>&6
10082 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
10083 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
10084 echo "configure:10085: checking for langinfo.h" >&5
10085 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10086 echo $ac_n "(cached) $ac_c" 1>&6
10088 cat > conftest.$ac_ext <<EOF
10089 #line 10090 "configure"
10090 #include "confdefs.h"
10091 #include <langinfo.h>
10093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10094 { (eval echo configure:10095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10095 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10096 if test -z "$ac_err"; then
10098 eval "ac_cv_header_$ac_safe=yes"
10101 echo "configure: failed program was:" >&5
10102 cat conftest.$ac_ext >&5
10104 eval "ac_cv_header_$ac_safe=no"
10108 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10109 echo "$ac_t""yes" 1>&6
10110 ac_has_langinfo_h=yes
10112 echo "$ac_t""no" 1>&6
10113 ac_has_langinfo_h=no
10117 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
10118 echo "configure:10119: checking for iconv in -liconv" >&5
10119 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
10120 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10121 echo $ac_n "(cached) $ac_c" 1>&6
10123 ac_save_LIBS="$LIBS"
10124 LIBS="-liconv $LIBS"
10125 cat > conftest.$ac_ext <<EOF
10126 #line 10127 "configure"
10127 #include "confdefs.h"
10128 /* Override any gcc2 internal prototype to avoid an error. */
10129 /* We use char because int might match the return type of a gcc2
10130 builtin and then its argument prototype would still apply. */
10137 if { (eval echo configure:10138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10139 eval "ac_cv_lib_$ac_lib_var=yes"
10141 echo "configure: failed program was:" >&5
10142 cat conftest.$ac_ext >&5
10144 eval "ac_cv_lib_$ac_lib_var=no"
10147 LIBS="$ac_save_LIBS"
10150 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10151 echo "$ac_t""yes" 1>&6
10154 echo "$ac_t""no" 1>&6
10157 ac_save_LIBS="$LIBS"
10158 LIBS="$LIBS $libiconv"
10160 for ac_func in iconv_open iconv_close iconv nl_langinfo
10162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10163 echo "configure:10164: checking for $ac_func" >&5
10164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10165 echo $ac_n "(cached) $ac_c" 1>&6
10167 cat > conftest.$ac_ext <<EOF
10168 #line 10169 "configure"
10169 #include "confdefs.h"
10170 /* System header to define __stub macros and hopefully few prototypes,
10171 which can conflict with char $ac_func(); below. */
10172 #include <assert.h>
10173 /* Override any gcc2 internal prototype to avoid an error. */
10174 /* We use char because int might match the return type of a gcc2
10175 builtin and then its argument prototype would still apply. */
10180 /* The GNU C library defines this for functions which it implements
10181 to always fail with ENOSYS. Some functions are actually named
10182 something starting with __ and the normal name is an alias. */
10183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10191 if { (eval echo configure:10192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10193 eval "ac_cv_func_$ac_func=yes"
10195 echo "configure: failed program was:" >&5
10196 cat conftest.$ac_ext >&5
10198 eval "ac_cv_func_$ac_func=no"
10203 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10204 echo "$ac_t""yes" 1>&6
10205 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10206 cat >> confdefs.h <<EOF
10207 #define $ac_tr_func 1
10212 echo "$ac_t""no" 1>&6
10218 LIBS="$ac_save_LIBS"
10220 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
10221 echo "configure:10222: checking for XPG2 wchar_t support" >&5
10222 if test x"$ac_has_iconv_h" = xyes &&
10223 test x"$ac_has_langinfo_h" = xyes &&
10224 test x"$ac_XPG2funcs" = xyes; then
10225 ac_XPG2_wchar_t=yes
10229 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10231 if test x"$ac_isoC99_wchar_t" = xyes &&
10232 test x"$ac_XPG2_wchar_t" = xyes; then
10233 cat >> confdefs.h <<\EOF
10234 #define _GLIBCPP_USE_WCHAR_T 1
10240 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
10241 echo "configure:10242: checking for enabled wchar_t specializations" >&5
10242 echo "$ac_t""$enable_wchar_t" 1>&6
10245 if test "$enable_wchar_t" = yes; then
10246 GLIBCPP_TEST_WCHAR_T_TRUE=
10247 GLIBCPP_TEST_WCHAR_T_FALSE='#'
10249 GLIBCPP_TEST_WCHAR_T_TRUE='#'
10250 GLIBCPP_TEST_WCHAR_T_FALSE=
10253 cat >> confdefs.h <<\EOF
10254 #define HAVE_COSF 1
10257 cat >> confdefs.h <<\EOF
10258 #define HAVE_COSL 1
10261 cat >> confdefs.h <<\EOF
10262 #define HAVE_COSHF 1
10265 cat >> confdefs.h <<\EOF
10266 #define HAVE_COSHL 1
10269 cat >> confdefs.h <<\EOF
10270 #define HAVE_LOGF 1
10273 cat >> confdefs.h <<\EOF
10274 #define HAVE_LOGL 1
10277 cat >> confdefs.h <<\EOF
10278 #define HAVE_LOG10F 1
10281 cat >> confdefs.h <<\EOF
10282 #define HAVE_LOG10L 1
10285 cat >> confdefs.h <<\EOF
10286 #define HAVE_SINF 1
10289 cat >> confdefs.h <<\EOF
10290 #define HAVE_SINL 1
10293 cat >> confdefs.h <<\EOF
10294 #define HAVE_SINHF 1
10297 cat >> confdefs.h <<\EOF
10298 #define HAVE_SINHL 1
10305 os_include_dir="os/solaris/solaris2.5"
10308 os_include_dir="os/solaris/solaris2.6"
10310 *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
10311 os_include_dir="os/solaris/solaris2.7"
10314 cat >> confdefs.h <<\EOF
10315 #define HAVE_STRTOF 1
10318 cat >> confdefs.h <<\EOF
10319 #define HAVE_STRTOLD 1
10322 cat >> confdefs.h <<\EOF
10323 #define HAVE_MMAP 1
10326 cat >> confdefs.h <<\EOF
10327 #define HAVE_COPYSIGN 1
10330 cat >> confdefs.h <<\EOF
10331 #define HAVE_ISNAN 1
10334 cat >> confdefs.h <<\EOF
10335 #define HAVE_ISNANF 1
10338 cat >> confdefs.h <<\EOF
10339 #define HAVE_MODFF 1
10342 cat >> confdefs.h <<\EOF
10343 #define HAVE_HYPOT 1
10348 os_include_dir="os/windiss"
10349 cat >> confdefs.h <<\EOF
10350 #define HAVE_ACOSF 1
10353 cat >> confdefs.h <<\EOF
10354 #define HAVE_ASINF 1
10357 cat >> confdefs.h <<\EOF
10358 #define HAVE_ATAN2F 1
10361 cat >> confdefs.h <<\EOF
10362 #define HAVE_ATANF 1
10365 cat >> confdefs.h <<\EOF
10366 #define HAVE_CEILF 1
10369 cat >> confdefs.h <<\EOF
10370 #define HAVE_COPYSIGN 1
10373 cat >> confdefs.h <<\EOF
10374 #define HAVE_COPYSIGNF 1
10377 cat >> confdefs.h <<\EOF
10378 #define HAVE_COSF 1
10381 cat >> confdefs.h <<\EOF
10382 #define HAVE_COSHF 1
10385 cat >> confdefs.h <<\EOF
10386 #define HAVE_EXPF 1
10389 cat >> confdefs.h <<\EOF
10390 #define HAVE_FABSF 1
10393 cat >> confdefs.h <<\EOF
10394 #define HAVE_FLOORF 1
10397 cat >> confdefs.h <<\EOF
10398 #define HAVE_FMODF 1
10401 cat >> confdefs.h <<\EOF
10402 #define HAVE_FREXPF 1
10405 cat >> confdefs.h <<\EOF
10406 #define HAVE_LDEXPF 1
10409 cat >> confdefs.h <<\EOF
10410 #define HAVE_LOG10F 1
10413 cat >> confdefs.h <<\EOF
10414 #define HAVE_LOGF 1
10417 cat >> confdefs.h <<\EOF
10418 #define HAVE_MODFF 1
10421 cat >> confdefs.h <<\EOF
10422 #define HAVE_POWF 1
10425 cat >> confdefs.h <<\EOF
10426 #define HAVE_SINF 1
10429 cat >> confdefs.h <<\EOF
10430 #define HAVE_SINHF 1
10433 cat >> confdefs.h <<\EOF
10434 #define HAVE_SQRTF 1
10437 cat >> confdefs.h <<\EOF
10438 #define HAVE_TANF 1
10441 cat >> confdefs.h <<\EOF
10442 #define HAVE_TANHF 1
10447 if test "x${with_newlib}" = "xyes"; then
10448 os_include_dir="os/newlib"
10449 cat >> confdefs.h <<\EOF
10450 #define HAVE_HYPOT 1
10454 # GLIBCPP_CHECK_STDLIB_SUPPORT
10455 cat >> confdefs.h <<\EOF
10456 #define HAVE_STRTOF 1
10459 cat >> confdefs.h <<\EOF
10460 #define HAVE_STRTOLD 1
10464 cat >> confdefs.h <<\EOF
10465 #define HAVE_MMAP 1
10469 cat >> confdefs.h <<\EOF
10470 #define HAVE_ACOSF 1
10473 cat >> confdefs.h <<\EOF
10474 #define HAVE_ASINF 1
10477 cat >> confdefs.h <<\EOF
10478 #define HAVE_ATAN2F 1
10481 cat >> confdefs.h <<\EOF
10482 #define HAVE_ATANF 1
10485 cat >> confdefs.h <<\EOF
10486 #define HAVE_CEILF 1
10489 cat >> confdefs.h <<\EOF
10490 #define HAVE_COPYSIGN 1
10493 cat >> confdefs.h <<\EOF
10494 #define HAVE_COPYSIGNF 1
10497 cat >> confdefs.h <<\EOF
10498 #define HAVE_COSF 1
10501 cat >> confdefs.h <<\EOF
10502 #define HAVE_COSHF 1
10505 cat >> confdefs.h <<\EOF
10506 #define HAVE_EXPF 1
10509 cat >> confdefs.h <<\EOF
10510 #define HAVE_FABSF 1
10513 cat >> confdefs.h <<\EOF
10514 #define HAVE_FLOORF 1
10517 cat >> confdefs.h <<\EOF
10518 #define HAVE_FMODF 1
10521 cat >> confdefs.h <<\EOF
10522 #define HAVE_FREXPF 1
10525 cat >> confdefs.h <<\EOF
10526 #define HAVE_LDEXPF 1
10529 cat >> confdefs.h <<\EOF
10530 #define HAVE_LOG10F 1
10533 cat >> confdefs.h <<\EOF
10534 #define HAVE_LOGF 1
10537 cat >> confdefs.h <<\EOF
10538 #define HAVE_MODFF 1
10541 cat >> confdefs.h <<\EOF
10542 #define HAVE_POWF 1
10545 cat >> confdefs.h <<\EOF
10546 #define HAVE_SINF 1
10549 cat >> confdefs.h <<\EOF
10550 #define HAVE_SINHF 1
10553 cat >> confdefs.h <<\EOF
10554 #define HAVE_SQRTF 1
10557 cat >> confdefs.h <<\EOF
10558 #define HAVE_TANF 1
10561 cat >> confdefs.h <<\EOF
10562 #define HAVE_TANHF 1
10566 { echo "configure: error: No support for this host/target combination." 1>&2; exit 1; }
10571 # At some point, we should differentiate between architectures
10572 # like x86, which have long double versions, and alpha/powerpc/etc.,
10573 # which don't. For the time being, punt.
10574 if test x"long_double_math_on_this_cpu" = x"yes"; then
10575 cat >> confdefs.h <<\EOF
10576 #define HAVE_ACOSL 1
10579 cat >> confdefs.h <<\EOF
10580 #define HAVE_ASINL 1
10583 cat >> confdefs.h <<\EOF
10584 #define HAVE_ATAN2L 1
10587 cat >> confdefs.h <<\EOF
10588 #define HAVE_ATANL 1
10591 cat >> confdefs.h <<\EOF
10592 #define HAVE_CEILL 1
10595 cat >> confdefs.h <<\EOF
10596 #define HAVE_COPYSIGNL 1
10599 cat >> confdefs.h <<\EOF
10600 #define HAVE_COSL 1
10603 cat >> confdefs.h <<\EOF
10604 #define HAVE_COSHL 1
10607 cat >> confdefs.h <<\EOF
10608 #define HAVE_EXPL 1
10611 cat >> confdefs.h <<\EOF
10612 #define HAVE_FABSL 1
10615 cat >> confdefs.h <<\EOF
10616 #define HAVE_FLOORL 1
10619 cat >> confdefs.h <<\EOF
10620 #define HAVE_FMODL 1
10623 cat >> confdefs.h <<\EOF
10624 #define HAVE_FREXPL 1
10627 cat >> confdefs.h <<\EOF
10628 #define HAVE_LDEXPL 1
10631 cat >> confdefs.h <<\EOF
10632 #define HAVE_LOG10L 1
10635 cat >> confdefs.h <<\EOF
10636 #define HAVE_LOGL 1
10639 cat >> confdefs.h <<\EOF
10640 #define HAVE_MODFL 1
10643 cat >> confdefs.h <<\EOF
10644 #define HAVE_POWL 1
10647 cat >> confdefs.h <<\EOF
10648 #define HAVE_SINCOSL 1
10651 cat >> confdefs.h <<\EOF
10652 #define HAVE_SINL 1
10655 cat >> confdefs.h <<\EOF
10656 #define HAVE_SINHL 1
10659 cat >> confdefs.h <<\EOF
10660 #define HAVE_SQRTL 1
10663 cat >> confdefs.h <<\EOF
10664 #define HAVE_TANL 1
10667 cat >> confdefs.h <<\EOF
10668 #define HAVE_TANHL 1
10675 # We are being configured natively. We can do more elaborate tests
10676 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10678 GLIBCPP_IS_CROSS_COMPILING=0
10681 # Check for available headers.
10682 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10683 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10686 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10687 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10688 echo "configure:10689: checking for $ac_hdr" >&5
10689 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10690 echo $ac_n "(cached) $ac_c" 1>&6
10692 cat > conftest.$ac_ext <<EOF
10693 #line 10694 "configure"
10694 #include "confdefs.h"
10697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10698 { (eval echo configure:10699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10700 if test -z "$ac_err"; then
10702 eval "ac_cv_header_$ac_safe=yes"
10705 echo "configure: failed program was:" >&5
10706 cat conftest.$ac_ext >&5
10708 eval "ac_cv_header_$ac_safe=no"
10712 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10713 echo "$ac_t""yes" 1>&6
10714 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10715 cat >> confdefs.h <<EOF
10716 #define $ac_tr_hdr 1
10720 echo "$ac_t""no" 1>&6
10726 # All these tests are for C++; save the language and the compiler flags.
10727 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10728 # found in GLIBCPP_CONFIGURE.
10731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10732 ac_cpp='$CXXCPP $CPPFLAGS'
10733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10735 cross_compiling=$ac_cv_prog_cxx_cross
10737 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10738 ac_save_CXXFLAGS="$CXXFLAGS"
10740 # Check for maintainer-mode bits.
10741 if test x"$USE_MAINTAINER_MODE" = xno; then
10747 # Check for -ffunction-sections -fdata-sections
10748 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10749 echo "configure:10750: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10750 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10751 cat > conftest.$ac_ext <<EOF
10752 #line 10753 "configure"
10753 #include "confdefs.h"
10760 if { (eval echo configure:10761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10764 echo "configure: failed program was:" >&5
10765 cat conftest.$ac_ext >&5
10770 if test "$ac_test_CXXFLAGS" = set; then
10771 CXXFLAGS="$ac_save_CXXFLAGS"
10773 # this is the suspicious part
10776 if test x"$ac_fdsections" = x"yes"; then
10777 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10779 echo "$ac_t""$ac_fdsections" 1>&6
10782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10783 ac_cpp='$CPP $CPPFLAGS'
10784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10786 cross_compiling=$ac_cv_prog_cc_cross
10792 # If we're not using GNU ld, then there's no point in even trying these
10793 # tests. Check for that first. We should have already tested for gld
10794 # by now (in libtool), but require it now just to be safe...
10795 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10796 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10799 # The name set by libtool depends on the version of libtool. Shame on us
10800 # for depending on an impl detail, but c'est la vie. Older versions used
10801 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10802 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10803 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10804 # set (hence we're using an older libtool), then set it.
10805 if test x${with_gnu_ld+set} != xset; then
10806 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10807 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10810 with_gnu_ld=$ac_cv_prog_gnu_ld
10814 # Start by getting the version number. I think the libtool test already
10815 # does some of this, but throws away the result.
10817 ldver=`$LD --version 2>/dev/null | head -1 | \
10818 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10820 glibcpp_gnu_ld_version=`echo $ldver | \
10821 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10823 # Set --gc-sections.
10824 if test "$with_gnu_ld" = "notbroken"; then
10825 # GNU ld it is! Joy and bunny rabbits!
10827 # All these tests are for C++; save the language and the compiler flags.
10828 # Need to do this so that g++ won't try to link in libstdc++
10829 ac_test_CFLAGS="${CFLAGS+set}"
10830 ac_save_CFLAGS="$CFLAGS"
10831 CFLAGS='-x c++ -Wl,--gc-sections'
10833 # Check for -Wl,--gc-sections
10834 # XXX This test is broken at the moment, as symbols required for
10835 # linking are now in libsupc++ (not built yet.....). In addition,
10836 # this test has cored on solaris in the past. In addition,
10837 # --gc-sections doesn't really work at the moment (keeps on discarding
10838 # used sections, first .eh_frame and now some of the glibc sections for
10839 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10840 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10841 echo "configure:10842: checking for ld that supports -Wl,--gc-sections" >&5
10842 if test "$cross_compiling" = yes; then
10843 ac_sectionLDflags=yes
10845 cat > conftest.$ac_ext <<EOF
10846 #line 10847 "configure"
10847 #include "confdefs.h"
10857 if { (eval echo configure:10858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10859 ac_sectionLDflags=yes
10861 echo "configure: failed program was:" >&5
10862 cat conftest.$ac_ext >&5
10864 ac_sectionLDflags=no
10869 if test "$ac_test_CFLAGS" = set; then
10870 CFLAGS="$ac_save_CFLAGS"
10872 # this is the suspicious part
10875 if test "$ac_sectionLDflags" = "yes"; then
10876 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10878 echo "$ac_t""$ac_sectionLDflags" 1>&6
10881 # Set linker optimization flags.
10882 if test x"$with_gnu_ld" = x"yes"; then
10883 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10890 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10891 ac_save_CXXFLAGS="$CXXFLAGS"
10892 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10894 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10895 echo "configure:10896: checking for sin in -lm" >&5
10896 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10897 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10898 echo $ac_n "(cached) $ac_c" 1>&6
10900 ac_save_LIBS="$LIBS"
10902 cat > conftest.$ac_ext <<EOF
10903 #line 10904 "configure"
10904 #include "confdefs.h"
10905 /* Override any gcc2 internal prototype to avoid an error. */
10906 /* We use char because int might match the return type of a gcc2
10907 builtin and then its argument prototype would still apply. */
10914 if { (eval echo configure:10915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10916 eval "ac_cv_lib_$ac_lib_var=yes"
10918 echo "configure: failed program was:" >&5
10919 cat conftest.$ac_ext >&5
10921 eval "ac_cv_lib_$ac_lib_var=no"
10924 LIBS="$ac_save_LIBS"
10927 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10928 echo "$ac_t""yes" 1>&6
10931 echo "$ac_t""no" 1>&6
10934 ac_save_LIBS="$LIBS"
10939 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10940 echo "configure:10941: checking for isinf declaration" >&5
10941 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10942 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10943 echo $ac_n "(cached) $ac_c" 1>&6
10948 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10949 ac_cpp='$CXXCPP $CPPFLAGS'
10950 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10951 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10952 cross_compiling=$ac_cv_prog_cxx_cross
10954 cat > conftest.$ac_ext <<EOF
10955 #line 10956 "configure"
10956 #include "confdefs.h"
10958 #ifdef HAVE_IEEEFP_H
10959 #include <ieeefp.h>
10966 if { (eval echo configure:10967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10968 glibcpp_cv_func_isinf_use=yes
10970 echo "configure: failed program was:" >&5
10971 cat conftest.$ac_ext >&5
10973 glibcpp_cv_func_isinf_use=no
10977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10978 ac_cpp='$CPP $CPPFLAGS'
10979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10981 cross_compiling=$ac_cv_prog_cc_cross
10987 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10989 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10990 for ac_func in isinf
10992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10993 echo "configure:10994: checking for $ac_func" >&5
10994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10995 echo $ac_n "(cached) $ac_c" 1>&6
10997 cat > conftest.$ac_ext <<EOF
10998 #line 10999 "configure"
10999 #include "confdefs.h"
11000 /* System header to define __stub macros and hopefully few prototypes,
11001 which can conflict with char $ac_func(); below. */
11002 #include <assert.h>
11003 /* Override any gcc2 internal prototype to avoid an error. */
11004 /* We use char because int might match the return type of a gcc2
11005 builtin and then its argument prototype would still apply. */
11010 /* The GNU C library defines this for functions which it implements
11011 to always fail with ENOSYS. Some functions are actually named
11012 something starting with __ and the normal name is an alias. */
11013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11021 if { (eval echo configure:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11023 eval "ac_cv_func_$ac_func=yes"
11025 echo "configure: failed program was:" >&5
11026 cat conftest.$ac_ext >&5
11028 eval "ac_cv_func_$ac_func=no"
11033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11034 echo "$ac_t""yes" 1>&6
11035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11036 cat >> confdefs.h <<EOF
11037 #define $ac_tr_func 1
11041 echo "$ac_t""no" 1>&6
11047 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
11048 echo "configure:11049: checking for _isinf declaration" >&5
11049 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
11050 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
11051 echo $ac_n "(cached) $ac_c" 1>&6
11056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11057 ac_cpp='$CXXCPP $CPPFLAGS'
11058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11060 cross_compiling=$ac_cv_prog_cxx_cross
11062 cat > conftest.$ac_ext <<EOF
11063 #line 11064 "configure"
11064 #include "confdefs.h"
11066 #ifdef HAVE_IEEEFP_H
11067 #include <ieeefp.h>
11074 if { (eval echo configure:11075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11076 glibcpp_cv_func__isinf_use=yes
11078 echo "configure: failed program was:" >&5
11079 cat conftest.$ac_ext >&5
11081 glibcpp_cv_func__isinf_use=no
11085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11086 ac_cpp='$CPP $CPPFLAGS'
11087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11089 cross_compiling=$ac_cv_prog_cc_cross
11095 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11097 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11098 for ac_func in _isinf
11100 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11101 echo "configure:11102: checking for $ac_func" >&5
11102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11103 echo $ac_n "(cached) $ac_c" 1>&6
11105 cat > conftest.$ac_ext <<EOF
11106 #line 11107 "configure"
11107 #include "confdefs.h"
11108 /* System header to define __stub macros and hopefully few prototypes,
11109 which can conflict with char $ac_func(); below. */
11110 #include <assert.h>
11111 /* Override any gcc2 internal prototype to avoid an error. */
11112 /* We use char because int might match the return type of a gcc2
11113 builtin and then its argument prototype would still apply. */
11118 /* The GNU C library defines this for functions which it implements
11119 to always fail with ENOSYS. Some functions are actually named
11120 something starting with __ and the normal name is an alias. */
11121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11129 if { (eval echo configure:11130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11131 eval "ac_cv_func_$ac_func=yes"
11133 echo "configure: failed program was:" >&5
11134 cat conftest.$ac_ext >&5
11136 eval "ac_cv_func_$ac_func=no"
11141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11142 echo "$ac_t""yes" 1>&6
11143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11144 cat >> confdefs.h <<EOF
11145 #define $ac_tr_func 1
11149 echo "$ac_t""no" 1>&6
11158 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
11159 echo "configure:11160: checking for isnan declaration" >&5
11160 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
11161 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
11162 echo $ac_n "(cached) $ac_c" 1>&6
11167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11168 ac_cpp='$CXXCPP $CPPFLAGS'
11169 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11170 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11171 cross_compiling=$ac_cv_prog_cxx_cross
11173 cat > conftest.$ac_ext <<EOF
11174 #line 11175 "configure"
11175 #include "confdefs.h"
11177 #ifdef HAVE_IEEEFP_H
11178 #include <ieeefp.h>
11185 if { (eval echo configure:11186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11187 glibcpp_cv_func_isnan_use=yes
11189 echo "configure: failed program was:" >&5
11190 cat conftest.$ac_ext >&5
11192 glibcpp_cv_func_isnan_use=no
11196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11197 ac_cpp='$CPP $CPPFLAGS'
11198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11200 cross_compiling=$ac_cv_prog_cc_cross
11206 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11208 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11209 for ac_func in isnan
11211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11212 echo "configure:11213: checking for $ac_func" >&5
11213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11214 echo $ac_n "(cached) $ac_c" 1>&6
11216 cat > conftest.$ac_ext <<EOF
11217 #line 11218 "configure"
11218 #include "confdefs.h"
11219 /* System header to define __stub macros and hopefully few prototypes,
11220 which can conflict with char $ac_func(); below. */
11221 #include <assert.h>
11222 /* Override any gcc2 internal prototype to avoid an error. */
11223 /* We use char because int might match the return type of a gcc2
11224 builtin and then its argument prototype would still apply. */
11229 /* The GNU C library defines this for functions which it implements
11230 to always fail with ENOSYS. Some functions are actually named
11231 something starting with __ and the normal name is an alias. */
11232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11240 if { (eval echo configure:11241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11242 eval "ac_cv_func_$ac_func=yes"
11244 echo "configure: failed program was:" >&5
11245 cat conftest.$ac_ext >&5
11247 eval "ac_cv_func_$ac_func=no"
11252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11253 echo "$ac_t""yes" 1>&6
11254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11255 cat >> confdefs.h <<EOF
11256 #define $ac_tr_func 1
11260 echo "$ac_t""no" 1>&6
11266 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11267 echo "configure:11268: checking for _isnan declaration" >&5
11268 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11269 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11270 echo $ac_n "(cached) $ac_c" 1>&6
11275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11276 ac_cpp='$CXXCPP $CPPFLAGS'
11277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11279 cross_compiling=$ac_cv_prog_cxx_cross
11281 cat > conftest.$ac_ext <<EOF
11282 #line 11283 "configure"
11283 #include "confdefs.h"
11285 #ifdef HAVE_IEEEFP_H
11286 #include <ieeefp.h>
11293 if { (eval echo configure:11294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11295 glibcpp_cv_func__isnan_use=yes
11297 echo "configure: failed program was:" >&5
11298 cat conftest.$ac_ext >&5
11300 glibcpp_cv_func__isnan_use=no
11304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11305 ac_cpp='$CPP $CPPFLAGS'
11306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11308 cross_compiling=$ac_cv_prog_cc_cross
11314 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11316 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11317 for ac_func in _isnan
11319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11320 echo "configure:11321: checking for $ac_func" >&5
11321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11322 echo $ac_n "(cached) $ac_c" 1>&6
11324 cat > conftest.$ac_ext <<EOF
11325 #line 11326 "configure"
11326 #include "confdefs.h"
11327 /* System header to define __stub macros and hopefully few prototypes,
11328 which can conflict with char $ac_func(); below. */
11329 #include <assert.h>
11330 /* Override any gcc2 internal prototype to avoid an error. */
11331 /* We use char because int might match the return type of a gcc2
11332 builtin and then its argument prototype would still apply. */
11337 /* The GNU C library defines this for functions which it implements
11338 to always fail with ENOSYS. Some functions are actually named
11339 something starting with __ and the normal name is an alias. */
11340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11348 if { (eval echo configure:11349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11350 eval "ac_cv_func_$ac_func=yes"
11352 echo "configure: failed program was:" >&5
11353 cat conftest.$ac_ext >&5
11355 eval "ac_cv_func_$ac_func=no"
11360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11361 echo "$ac_t""yes" 1>&6
11362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11363 cat >> confdefs.h <<EOF
11364 #define $ac_tr_func 1
11368 echo "$ac_t""no" 1>&6
11377 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11378 echo "configure:11379: checking for finite declaration" >&5
11379 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11380 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11381 echo $ac_n "(cached) $ac_c" 1>&6
11386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11387 ac_cpp='$CXXCPP $CPPFLAGS'
11388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11390 cross_compiling=$ac_cv_prog_cxx_cross
11392 cat > conftest.$ac_ext <<EOF
11393 #line 11394 "configure"
11394 #include "confdefs.h"
11396 #ifdef HAVE_IEEEFP_H
11397 #include <ieeefp.h>
11404 if { (eval echo configure:11405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11406 glibcpp_cv_func_finite_use=yes
11408 echo "configure: failed program was:" >&5
11409 cat conftest.$ac_ext >&5
11411 glibcpp_cv_func_finite_use=no
11415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11416 ac_cpp='$CPP $CPPFLAGS'
11417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11419 cross_compiling=$ac_cv_prog_cc_cross
11425 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11427 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11428 for ac_func in finite
11430 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11431 echo "configure:11432: checking for $ac_func" >&5
11432 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11433 echo $ac_n "(cached) $ac_c" 1>&6
11435 cat > conftest.$ac_ext <<EOF
11436 #line 11437 "configure"
11437 #include "confdefs.h"
11438 /* System header to define __stub macros and hopefully few prototypes,
11439 which can conflict with char $ac_func(); below. */
11440 #include <assert.h>
11441 /* Override any gcc2 internal prototype to avoid an error. */
11442 /* We use char because int might match the return type of a gcc2
11443 builtin and then its argument prototype would still apply. */
11448 /* The GNU C library defines this for functions which it implements
11449 to always fail with ENOSYS. Some functions are actually named
11450 something starting with __ and the normal name is an alias. */
11451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11459 if { (eval echo configure:11460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11461 eval "ac_cv_func_$ac_func=yes"
11463 echo "configure: failed program was:" >&5
11464 cat conftest.$ac_ext >&5
11466 eval "ac_cv_func_$ac_func=no"
11471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11472 echo "$ac_t""yes" 1>&6
11473 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11474 cat >> confdefs.h <<EOF
11475 #define $ac_tr_func 1
11479 echo "$ac_t""no" 1>&6
11485 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11486 echo "configure:11487: checking for _finite declaration" >&5
11487 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11488 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11489 echo $ac_n "(cached) $ac_c" 1>&6
11494 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11495 ac_cpp='$CXXCPP $CPPFLAGS'
11496 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11497 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11498 cross_compiling=$ac_cv_prog_cxx_cross
11500 cat > conftest.$ac_ext <<EOF
11501 #line 11502 "configure"
11502 #include "confdefs.h"
11504 #ifdef HAVE_IEEEFP_H
11505 #include <ieeefp.h>
11512 if { (eval echo configure:11513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11514 glibcpp_cv_func__finite_use=yes
11516 echo "configure: failed program was:" >&5
11517 cat conftest.$ac_ext >&5
11519 glibcpp_cv_func__finite_use=no
11523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11524 ac_cpp='$CPP $CPPFLAGS'
11525 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11526 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11527 cross_compiling=$ac_cv_prog_cc_cross
11533 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11535 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11536 for ac_func in _finite
11538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11539 echo "configure:11540: checking for $ac_func" >&5
11540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11541 echo $ac_n "(cached) $ac_c" 1>&6
11543 cat > conftest.$ac_ext <<EOF
11544 #line 11545 "configure"
11545 #include "confdefs.h"
11546 /* System header to define __stub macros and hopefully few prototypes,
11547 which can conflict with char $ac_func(); below. */
11548 #include <assert.h>
11549 /* Override any gcc2 internal prototype to avoid an error. */
11550 /* We use char because int might match the return type of a gcc2
11551 builtin and then its argument prototype would still apply. */
11556 /* The GNU C library defines this for functions which it implements
11557 to always fail with ENOSYS. Some functions are actually named
11558 something starting with __ and the normal name is an alias. */
11559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11567 if { (eval echo configure:11568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11569 eval "ac_cv_func_$ac_func=yes"
11571 echo "configure: failed program was:" >&5
11572 cat conftest.$ac_ext >&5
11574 eval "ac_cv_func_$ac_func=no"
11579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11580 echo "$ac_t""yes" 1>&6
11581 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11582 cat >> confdefs.h <<EOF
11583 #define $ac_tr_func 1
11587 echo "$ac_t""no" 1>&6
11596 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11597 echo "configure:11598: checking for copysign declaration" >&5
11598 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11599 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11600 echo $ac_n "(cached) $ac_c" 1>&6
11605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11606 ac_cpp='$CXXCPP $CPPFLAGS'
11607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11609 cross_compiling=$ac_cv_prog_cxx_cross
11611 cat > conftest.$ac_ext <<EOF
11612 #line 11613 "configure"
11613 #include "confdefs.h"
11619 if { (eval echo configure:11620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11621 glibcpp_cv_func_copysign_use=yes
11623 echo "configure: failed program was:" >&5
11624 cat conftest.$ac_ext >&5
11626 glibcpp_cv_func_copysign_use=no
11630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11631 ac_cpp='$CPP $CPPFLAGS'
11632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11634 cross_compiling=$ac_cv_prog_cc_cross
11640 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11642 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11643 for ac_func in copysign
11645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11646 echo "configure:11647: checking for $ac_func" >&5
11647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11648 echo $ac_n "(cached) $ac_c" 1>&6
11650 cat > conftest.$ac_ext <<EOF
11651 #line 11652 "configure"
11652 #include "confdefs.h"
11653 /* System header to define __stub macros and hopefully few prototypes,
11654 which can conflict with char $ac_func(); below. */
11655 #include <assert.h>
11656 /* Override any gcc2 internal prototype to avoid an error. */
11657 /* We use char because int might match the return type of a gcc2
11658 builtin and then its argument prototype would still apply. */
11663 /* The GNU C library defines this for functions which it implements
11664 to always fail with ENOSYS. Some functions are actually named
11665 something starting with __ and the normal name is an alias. */
11666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11674 if { (eval echo configure:11675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11676 eval "ac_cv_func_$ac_func=yes"
11678 echo "configure: failed program was:" >&5
11679 cat conftest.$ac_ext >&5
11681 eval "ac_cv_func_$ac_func=no"
11686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11687 echo "$ac_t""yes" 1>&6
11688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11689 cat >> confdefs.h <<EOF
11690 #define $ac_tr_func 1
11694 echo "$ac_t""no" 1>&6
11700 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11701 echo "configure:11702: checking for _copysign declaration" >&5
11702 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11703 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11704 echo $ac_n "(cached) $ac_c" 1>&6
11709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11710 ac_cpp='$CXXCPP $CPPFLAGS'
11711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11713 cross_compiling=$ac_cv_prog_cxx_cross
11715 cat > conftest.$ac_ext <<EOF
11716 #line 11717 "configure"
11717 #include "confdefs.h"
11723 if { (eval echo configure:11724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11725 glibcpp_cv_func__copysign_use=yes
11727 echo "configure: failed program was:" >&5
11728 cat conftest.$ac_ext >&5
11730 glibcpp_cv_func__copysign_use=no
11734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11735 ac_cpp='$CPP $CPPFLAGS'
11736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11738 cross_compiling=$ac_cv_prog_cc_cross
11744 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11746 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11747 for ac_func in _copysign
11749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11750 echo "configure:11751: checking for $ac_func" >&5
11751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11752 echo $ac_n "(cached) $ac_c" 1>&6
11754 cat > conftest.$ac_ext <<EOF
11755 #line 11756 "configure"
11756 #include "confdefs.h"
11757 /* System header to define __stub macros and hopefully few prototypes,
11758 which can conflict with char $ac_func(); below. */
11759 #include <assert.h>
11760 /* Override any gcc2 internal prototype to avoid an error. */
11761 /* We use char because int might match the return type of a gcc2
11762 builtin and then its argument prototype would still apply. */
11767 /* The GNU C library defines this for functions which it implements
11768 to always fail with ENOSYS. Some functions are actually named
11769 something starting with __ and the normal name is an alias. */
11770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11778 if { (eval echo configure:11779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11780 eval "ac_cv_func_$ac_func=yes"
11782 echo "configure: failed program was:" >&5
11783 cat conftest.$ac_ext >&5
11785 eval "ac_cv_func_$ac_func=no"
11790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11791 echo "$ac_t""yes" 1>&6
11792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11793 cat >> confdefs.h <<EOF
11794 #define $ac_tr_func 1
11798 echo "$ac_t""no" 1>&6
11807 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11808 echo "configure:11809: checking for sincos declaration" >&5
11809 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11810 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11811 echo $ac_n "(cached) $ac_c" 1>&6
11816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11817 ac_cpp='$CXXCPP $CPPFLAGS'
11818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11820 cross_compiling=$ac_cv_prog_cxx_cross
11822 cat > conftest.$ac_ext <<EOF
11823 #line 11824 "configure"
11824 #include "confdefs.h"
11830 if { (eval echo configure:11831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11832 glibcpp_cv_func_sincos_use=yes
11834 echo "configure: failed program was:" >&5
11835 cat conftest.$ac_ext >&5
11837 glibcpp_cv_func_sincos_use=no
11841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11842 ac_cpp='$CPP $CPPFLAGS'
11843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11845 cross_compiling=$ac_cv_prog_cc_cross
11851 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11853 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11854 for ac_func in sincos
11856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11857 echo "configure:11858: checking for $ac_func" >&5
11858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11859 echo $ac_n "(cached) $ac_c" 1>&6
11861 cat > conftest.$ac_ext <<EOF
11862 #line 11863 "configure"
11863 #include "confdefs.h"
11864 /* System header to define __stub macros and hopefully few prototypes,
11865 which can conflict with char $ac_func(); below. */
11866 #include <assert.h>
11867 /* Override any gcc2 internal prototype to avoid an error. */
11868 /* We use char because int might match the return type of a gcc2
11869 builtin and then its argument prototype would still apply. */
11874 /* The GNU C library defines this for functions which it implements
11875 to always fail with ENOSYS. Some functions are actually named
11876 something starting with __ and the normal name is an alias. */
11877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11885 if { (eval echo configure:11886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11887 eval "ac_cv_func_$ac_func=yes"
11889 echo "configure: failed program was:" >&5
11890 cat conftest.$ac_ext >&5
11892 eval "ac_cv_func_$ac_func=no"
11897 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11898 echo "$ac_t""yes" 1>&6
11899 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11900 cat >> confdefs.h <<EOF
11901 #define $ac_tr_func 1
11905 echo "$ac_t""no" 1>&6
11911 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11912 echo "configure:11913: checking for _sincos declaration" >&5
11913 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11914 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11915 echo $ac_n "(cached) $ac_c" 1>&6
11920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11921 ac_cpp='$CXXCPP $CPPFLAGS'
11922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11924 cross_compiling=$ac_cv_prog_cxx_cross
11926 cat > conftest.$ac_ext <<EOF
11927 #line 11928 "configure"
11928 #include "confdefs.h"
11934 if { (eval echo configure:11935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11936 glibcpp_cv_func__sincos_use=yes
11938 echo "configure: failed program was:" >&5
11939 cat conftest.$ac_ext >&5
11941 glibcpp_cv_func__sincos_use=no
11945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11946 ac_cpp='$CPP $CPPFLAGS'
11947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11949 cross_compiling=$ac_cv_prog_cc_cross
11955 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11957 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11958 for ac_func in _sincos
11960 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11961 echo "configure:11962: checking for $ac_func" >&5
11962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11963 echo $ac_n "(cached) $ac_c" 1>&6
11965 cat > conftest.$ac_ext <<EOF
11966 #line 11967 "configure"
11967 #include "confdefs.h"
11968 /* System header to define __stub macros and hopefully few prototypes,
11969 which can conflict with char $ac_func(); below. */
11970 #include <assert.h>
11971 /* Override any gcc2 internal prototype to avoid an error. */
11972 /* We use char because int might match the return type of a gcc2
11973 builtin and then its argument prototype would still apply. */
11978 /* The GNU C library defines this for functions which it implements
11979 to always fail with ENOSYS. Some functions are actually named
11980 something starting with __ and the normal name is an alias. */
11981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11989 if { (eval echo configure:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11991 eval "ac_cv_func_$ac_func=yes"
11993 echo "configure: failed program was:" >&5
11994 cat conftest.$ac_ext >&5
11996 eval "ac_cv_func_$ac_func=no"
12001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12002 echo "$ac_t""yes" 1>&6
12003 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12004 cat >> confdefs.h <<EOF
12005 #define $ac_tr_func 1
12009 echo "$ac_t""no" 1>&6
12018 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
12019 echo "configure:12020: checking for fpclass declaration" >&5
12020 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
12021 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
12022 echo $ac_n "(cached) $ac_c" 1>&6
12027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12028 ac_cpp='$CXXCPP $CPPFLAGS'
12029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12031 cross_compiling=$ac_cv_prog_cxx_cross
12033 cat > conftest.$ac_ext <<EOF
12034 #line 12035 "configure"
12035 #include "confdefs.h"
12037 #ifdef HAVE_IEEEFP_H
12038 #include <ieeefp.h>
12045 if { (eval echo configure:12046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12047 glibcpp_cv_func_fpclass_use=yes
12049 echo "configure: failed program was:" >&5
12050 cat conftest.$ac_ext >&5
12052 glibcpp_cv_func_fpclass_use=no
12056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12057 ac_cpp='$CPP $CPPFLAGS'
12058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12060 cross_compiling=$ac_cv_prog_cc_cross
12066 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
12068 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
12069 for ac_func in fpclass
12071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12072 echo "configure:12073: checking for $ac_func" >&5
12073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12074 echo $ac_n "(cached) $ac_c" 1>&6
12076 cat > conftest.$ac_ext <<EOF
12077 #line 12078 "configure"
12078 #include "confdefs.h"
12079 /* System header to define __stub macros and hopefully few prototypes,
12080 which can conflict with char $ac_func(); below. */
12081 #include <assert.h>
12082 /* Override any gcc2 internal prototype to avoid an error. */
12083 /* We use char because int might match the return type of a gcc2
12084 builtin and then its argument prototype would still apply. */
12089 /* The GNU C library defines this for functions which it implements
12090 to always fail with ENOSYS. Some functions are actually named
12091 something starting with __ and the normal name is an alias. */
12092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12100 if { (eval echo configure:12101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12102 eval "ac_cv_func_$ac_func=yes"
12104 echo "configure: failed program was:" >&5
12105 cat conftest.$ac_ext >&5
12107 eval "ac_cv_func_$ac_func=no"
12112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12113 echo "$ac_t""yes" 1>&6
12114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12115 cat >> confdefs.h <<EOF
12116 #define $ac_tr_func 1
12120 echo "$ac_t""no" 1>&6
12126 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
12127 echo "configure:12128: checking for _fpclass declaration" >&5
12128 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
12129 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
12130 echo $ac_n "(cached) $ac_c" 1>&6
12135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12136 ac_cpp='$CXXCPP $CPPFLAGS'
12137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12139 cross_compiling=$ac_cv_prog_cxx_cross
12141 cat > conftest.$ac_ext <<EOF
12142 #line 12143 "configure"
12143 #include "confdefs.h"
12145 #ifdef HAVE_IEEEFP_H
12146 #include <ieeefp.h>
12153 if { (eval echo configure:12154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12155 glibcpp_cv_func__fpclass_use=yes
12157 echo "configure: failed program was:" >&5
12158 cat conftest.$ac_ext >&5
12160 glibcpp_cv_func__fpclass_use=no
12164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12165 ac_cpp='$CPP $CPPFLAGS'
12166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12168 cross_compiling=$ac_cv_prog_cc_cross
12174 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
12176 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
12177 for ac_func in _fpclass
12179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12180 echo "configure:12181: checking for $ac_func" >&5
12181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12182 echo $ac_n "(cached) $ac_c" 1>&6
12184 cat > conftest.$ac_ext <<EOF
12185 #line 12186 "configure"
12186 #include "confdefs.h"
12187 /* System header to define __stub macros and hopefully few prototypes,
12188 which can conflict with char $ac_func(); below. */
12189 #include <assert.h>
12190 /* Override any gcc2 internal prototype to avoid an error. */
12191 /* We use char because int might match the return type of a gcc2
12192 builtin and then its argument prototype would still apply. */
12197 /* The GNU C library defines this for functions which it implements
12198 to always fail with ENOSYS. Some functions are actually named
12199 something starting with __ and the normal name is an alias. */
12200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12208 if { (eval echo configure:12209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12210 eval "ac_cv_func_$ac_func=yes"
12212 echo "configure: failed program was:" >&5
12213 cat conftest.$ac_ext >&5
12215 eval "ac_cv_func_$ac_func=no"
12220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12221 echo "$ac_t""yes" 1>&6
12222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12223 cat >> confdefs.h <<EOF
12224 #define $ac_tr_func 1
12228 echo "$ac_t""no" 1>&6
12237 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12238 echo "configure:12239: checking for qfpclass declaration" >&5
12239 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12240 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12241 echo $ac_n "(cached) $ac_c" 1>&6
12246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12247 ac_cpp='$CXXCPP $CPPFLAGS'
12248 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12249 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12250 cross_compiling=$ac_cv_prog_cxx_cross
12252 cat > conftest.$ac_ext <<EOF
12253 #line 12254 "configure"
12254 #include "confdefs.h"
12256 #ifdef HAVE_IEEEFP_H
12257 #include <ieeefp.h>
12264 if { (eval echo configure:12265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12266 glibcpp_cv_func_qfpclass_use=yes
12268 echo "configure: failed program was:" >&5
12269 cat conftest.$ac_ext >&5
12271 glibcpp_cv_func_qfpclass_use=no
12275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12276 ac_cpp='$CPP $CPPFLAGS'
12277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12279 cross_compiling=$ac_cv_prog_cc_cross
12285 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12287 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12288 for ac_func in qfpclass
12290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12291 echo "configure:12292: checking for $ac_func" >&5
12292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12293 echo $ac_n "(cached) $ac_c" 1>&6
12295 cat > conftest.$ac_ext <<EOF
12296 #line 12297 "configure"
12297 #include "confdefs.h"
12298 /* System header to define __stub macros and hopefully few prototypes,
12299 which can conflict with char $ac_func(); below. */
12300 #include <assert.h>
12301 /* Override any gcc2 internal prototype to avoid an error. */
12302 /* We use char because int might match the return type of a gcc2
12303 builtin and then its argument prototype would still apply. */
12308 /* The GNU C library defines this for functions which it implements
12309 to always fail with ENOSYS. Some functions are actually named
12310 something starting with __ and the normal name is an alias. */
12311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12319 if { (eval echo configure:12320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12321 eval "ac_cv_func_$ac_func=yes"
12323 echo "configure: failed program was:" >&5
12324 cat conftest.$ac_ext >&5
12326 eval "ac_cv_func_$ac_func=no"
12331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12332 echo "$ac_t""yes" 1>&6
12333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12334 cat >> confdefs.h <<EOF
12335 #define $ac_tr_func 1
12339 echo "$ac_t""no" 1>&6
12345 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12346 echo "configure:12347: checking for _qfpclass declaration" >&5
12347 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12348 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12349 echo $ac_n "(cached) $ac_c" 1>&6
12354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12355 ac_cpp='$CXXCPP $CPPFLAGS'
12356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12358 cross_compiling=$ac_cv_prog_cxx_cross
12360 cat > conftest.$ac_ext <<EOF
12361 #line 12362 "configure"
12362 #include "confdefs.h"
12364 #ifdef HAVE_IEEEFP_H
12365 #include <ieeefp.h>
12372 if { (eval echo configure:12373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12374 glibcpp_cv_func__qfpclass_use=yes
12376 echo "configure: failed program was:" >&5
12377 cat conftest.$ac_ext >&5
12379 glibcpp_cv_func__qfpclass_use=no
12383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12384 ac_cpp='$CPP $CPPFLAGS'
12385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12387 cross_compiling=$ac_cv_prog_cc_cross
12393 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12395 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12396 for ac_func in _qfpclass
12398 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12399 echo "configure:12400: checking for $ac_func" >&5
12400 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12401 echo $ac_n "(cached) $ac_c" 1>&6
12403 cat > conftest.$ac_ext <<EOF
12404 #line 12405 "configure"
12405 #include "confdefs.h"
12406 /* System header to define __stub macros and hopefully few prototypes,
12407 which can conflict with char $ac_func(); below. */
12408 #include <assert.h>
12409 /* Override any gcc2 internal prototype to avoid an error. */
12410 /* We use char because int might match the return type of a gcc2
12411 builtin and then its argument prototype would still apply. */
12416 /* The GNU C library defines this for functions which it implements
12417 to always fail with ENOSYS. Some functions are actually named
12418 something starting with __ and the normal name is an alias. */
12419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12427 if { (eval echo configure:12428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12429 eval "ac_cv_func_$ac_func=yes"
12431 echo "configure: failed program was:" >&5
12432 cat conftest.$ac_ext >&5
12434 eval "ac_cv_func_$ac_func=no"
12439 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12440 echo "$ac_t""yes" 1>&6
12441 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12442 cat >> confdefs.h <<EOF
12443 #define $ac_tr_func 1
12447 echo "$ac_t""no" 1>&6
12456 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12457 echo "configure:12458: checking for hypot declaration" >&5
12458 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12459 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12460 echo $ac_n "(cached) $ac_c" 1>&6
12465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12466 ac_cpp='$CXXCPP $CPPFLAGS'
12467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12469 cross_compiling=$ac_cv_prog_cxx_cross
12471 cat > conftest.$ac_ext <<EOF
12472 #line 12473 "configure"
12473 #include "confdefs.h"
12479 if { (eval echo configure:12480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12481 glibcpp_cv_func_hypot_use=yes
12483 echo "configure: failed program was:" >&5
12484 cat conftest.$ac_ext >&5
12486 glibcpp_cv_func_hypot_use=no
12490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12491 ac_cpp='$CPP $CPPFLAGS'
12492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12494 cross_compiling=$ac_cv_prog_cc_cross
12500 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12502 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12503 for ac_func in hypot
12505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12506 echo "configure:12507: checking for $ac_func" >&5
12507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12508 echo $ac_n "(cached) $ac_c" 1>&6
12510 cat > conftest.$ac_ext <<EOF
12511 #line 12512 "configure"
12512 #include "confdefs.h"
12513 /* System header to define __stub macros and hopefully few prototypes,
12514 which can conflict with char $ac_func(); below. */
12515 #include <assert.h>
12516 /* Override any gcc2 internal prototype to avoid an error. */
12517 /* We use char because int might match the return type of a gcc2
12518 builtin and then its argument prototype would still apply. */
12523 /* The GNU C library defines this for functions which it implements
12524 to always fail with ENOSYS. Some functions are actually named
12525 something starting with __ and the normal name is an alias. */
12526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12534 if { (eval echo configure:12535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12536 eval "ac_cv_func_$ac_func=yes"
12538 echo "configure: failed program was:" >&5
12539 cat conftest.$ac_ext >&5
12541 eval "ac_cv_func_$ac_func=no"
12546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12547 echo "$ac_t""yes" 1>&6
12548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12549 cat >> confdefs.h <<EOF
12550 #define $ac_tr_func 1
12554 echo "$ac_t""no" 1>&6
12560 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12561 echo "configure:12562: checking for _hypot declaration" >&5
12562 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12563 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12564 echo $ac_n "(cached) $ac_c" 1>&6
12569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12570 ac_cpp='$CXXCPP $CPPFLAGS'
12571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12573 cross_compiling=$ac_cv_prog_cxx_cross
12575 cat > conftest.$ac_ext <<EOF
12576 #line 12577 "configure"
12577 #include "confdefs.h"
12583 if { (eval echo configure:12584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12585 glibcpp_cv_func__hypot_use=yes
12587 echo "configure: failed program was:" >&5
12588 cat conftest.$ac_ext >&5
12590 glibcpp_cv_func__hypot_use=no
12594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12595 ac_cpp='$CPP $CPPFLAGS'
12596 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12597 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12598 cross_compiling=$ac_cv_prog_cc_cross
12604 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12606 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12607 for ac_func in _hypot
12609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12610 echo "configure:12611: checking for $ac_func" >&5
12611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12612 echo $ac_n "(cached) $ac_c" 1>&6
12614 cat > conftest.$ac_ext <<EOF
12615 #line 12616 "configure"
12616 #include "confdefs.h"
12617 /* System header to define __stub macros and hopefully few prototypes,
12618 which can conflict with char $ac_func(); below. */
12619 #include <assert.h>
12620 /* Override any gcc2 internal prototype to avoid an error. */
12621 /* We use char because int might match the return type of a gcc2
12622 builtin and then its argument prototype would still apply. */
12627 /* The GNU C library defines this for functions which it implements
12628 to always fail with ENOSYS. Some functions are actually named
12629 something starting with __ and the normal name is an alias. */
12630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12638 if { (eval echo configure:12639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12640 eval "ac_cv_func_$ac_func=yes"
12642 echo "configure: failed program was:" >&5
12643 cat conftest.$ac_ext >&5
12645 eval "ac_cv_func_$ac_func=no"
12650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12651 echo "$ac_t""yes" 1>&6
12652 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12653 cat >> confdefs.h <<EOF
12654 #define $ac_tr_func 1
12658 echo "$ac_t""no" 1>&6
12667 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12668 echo "configure:12669: checking for float trig functions" >&5
12669 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12670 echo $ac_n "(cached) $ac_c" 1>&6
12675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12676 ac_cpp='$CXXCPP $CPPFLAGS'
12677 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12678 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12679 cross_compiling=$ac_cv_prog_cxx_cross
12681 cat > conftest.$ac_ext <<EOF
12682 #line 12683 "configure"
12683 #include "confdefs.h"
12686 `for x in acosf asinf atanf \
12688 coshf sinhf tanhf; do echo "$x (0);"; done`
12691 if { (eval echo configure:12692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12693 glibcpp_cv_func_float_trig_use=yes
12695 echo "configure: failed program was:" >&5
12696 cat conftest.$ac_ext >&5
12698 glibcpp_cv_func_float_trig_use=no
12702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12703 ac_cpp='$CPP $CPPFLAGS'
12704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12706 cross_compiling=$ac_cv_prog_cc_cross
12710 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12711 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12712 for ac_func in acosf asinf atanf \
12716 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12717 echo "configure:12718: checking for $ac_func" >&5
12718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12719 echo $ac_n "(cached) $ac_c" 1>&6
12721 cat > conftest.$ac_ext <<EOF
12722 #line 12723 "configure"
12723 #include "confdefs.h"
12724 /* System header to define __stub macros and hopefully few prototypes,
12725 which can conflict with char $ac_func(); below. */
12726 #include <assert.h>
12727 /* Override any gcc2 internal prototype to avoid an error. */
12728 /* We use char because int might match the return type of a gcc2
12729 builtin and then its argument prototype would still apply. */
12734 /* The GNU C library defines this for functions which it implements
12735 to always fail with ENOSYS. Some functions are actually named
12736 something starting with __ and the normal name is an alias. */
12737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12745 if { (eval echo configure:12746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12747 eval "ac_cv_func_$ac_func=yes"
12749 echo "configure: failed program was:" >&5
12750 cat conftest.$ac_ext >&5
12752 eval "ac_cv_func_$ac_func=no"
12757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12758 echo "$ac_t""yes" 1>&6
12759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12760 cat >> confdefs.h <<EOF
12761 #define $ac_tr_func 1
12765 echo "$ac_t""no" 1>&6
12772 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12773 echo "configure:12774: checking for float round functions" >&5
12774 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12775 echo $ac_n "(cached) $ac_c" 1>&6
12780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12781 ac_cpp='$CXXCPP $CPPFLAGS'
12782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12784 cross_compiling=$ac_cv_prog_cxx_cross
12786 cat > conftest.$ac_ext <<EOF
12787 #line 12788 "configure"
12788 #include "confdefs.h"
12791 `for x in ceilf floorf; do echo "$x (0);"; done`
12794 if { (eval echo configure:12795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12796 glibcpp_cv_func_float_round_use=yes
12798 echo "configure: failed program was:" >&5
12799 cat conftest.$ac_ext >&5
12801 glibcpp_cv_func_float_round_use=no
12805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12806 ac_cpp='$CPP $CPPFLAGS'
12807 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12808 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12809 cross_compiling=$ac_cv_prog_cc_cross
12813 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12814 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12815 for ac_func in ceilf floorf
12817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12818 echo "configure:12819: checking for $ac_func" >&5
12819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12820 echo $ac_n "(cached) $ac_c" 1>&6
12822 cat > conftest.$ac_ext <<EOF
12823 #line 12824 "configure"
12824 #include "confdefs.h"
12825 /* System header to define __stub macros and hopefully few prototypes,
12826 which can conflict with char $ac_func(); below. */
12827 #include <assert.h>
12828 /* Override any gcc2 internal prototype to avoid an error. */
12829 /* We use char because int might match the return type of a gcc2
12830 builtin and then its argument prototype would still apply. */
12835 /* The GNU C library defines this for functions which it implements
12836 to always fail with ENOSYS. Some functions are actually named
12837 something starting with __ and the normal name is an alias. */
12838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12846 if { (eval echo configure:12847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12848 eval "ac_cv_func_$ac_func=yes"
12850 echo "configure: failed program was:" >&5
12851 cat conftest.$ac_ext >&5
12853 eval "ac_cv_func_$ac_func=no"
12858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12859 echo "$ac_t""yes" 1>&6
12860 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12861 cat >> confdefs.h <<EOF
12862 #define $ac_tr_func 1
12866 echo "$ac_t""no" 1>&6
12874 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12875 echo "configure:12876: checking for expf declaration" >&5
12876 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12877 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12878 echo $ac_n "(cached) $ac_c" 1>&6
12883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12884 ac_cpp='$CXXCPP $CPPFLAGS'
12885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12887 cross_compiling=$ac_cv_prog_cxx_cross
12889 cat > conftest.$ac_ext <<EOF
12890 #line 12891 "configure"
12891 #include "confdefs.h"
12893 #ifdef HAVE_IEEEFP_H
12894 #include <ieeefp.h>
12901 if { (eval echo configure:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12903 glibcpp_cv_func_expf_use=yes
12905 echo "configure: failed program was:" >&5
12906 cat conftest.$ac_ext >&5
12908 glibcpp_cv_func_expf_use=no
12912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12913 ac_cpp='$CPP $CPPFLAGS'
12914 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12915 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12916 cross_compiling=$ac_cv_prog_cc_cross
12922 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12924 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12925 for ac_func in expf
12927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12928 echo "configure:12929: checking for $ac_func" >&5
12929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12930 echo $ac_n "(cached) $ac_c" 1>&6
12932 cat > conftest.$ac_ext <<EOF
12933 #line 12934 "configure"
12934 #include "confdefs.h"
12935 /* System header to define __stub macros and hopefully few prototypes,
12936 which can conflict with char $ac_func(); below. */
12937 #include <assert.h>
12938 /* Override any gcc2 internal prototype to avoid an error. */
12939 /* We use char because int might match the return type of a gcc2
12940 builtin and then its argument prototype would still apply. */
12945 /* The GNU C library defines this for functions which it implements
12946 to always fail with ENOSYS. Some functions are actually named
12947 something starting with __ and the normal name is an alias. */
12948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12956 if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12958 eval "ac_cv_func_$ac_func=yes"
12960 echo "configure: failed program was:" >&5
12961 cat conftest.$ac_ext >&5
12963 eval "ac_cv_func_$ac_func=no"
12968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12969 echo "$ac_t""yes" 1>&6
12970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12971 cat >> confdefs.h <<EOF
12972 #define $ac_tr_func 1
12976 echo "$ac_t""no" 1>&6
12982 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12983 echo "configure:12984: checking for _expf declaration" >&5
12984 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12985 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12986 echo $ac_n "(cached) $ac_c" 1>&6
12991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12992 ac_cpp='$CXXCPP $CPPFLAGS'
12993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12995 cross_compiling=$ac_cv_prog_cxx_cross
12997 cat > conftest.$ac_ext <<EOF
12998 #line 12999 "configure"
12999 #include "confdefs.h"
13001 #ifdef HAVE_IEEEFP_H
13002 #include <ieeefp.h>
13009 if { (eval echo configure:13010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13011 glibcpp_cv_func__expf_use=yes
13013 echo "configure: failed program was:" >&5
13014 cat conftest.$ac_ext >&5
13016 glibcpp_cv_func__expf_use=no
13020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13021 ac_cpp='$CPP $CPPFLAGS'
13022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13024 cross_compiling=$ac_cv_prog_cc_cross
13030 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
13032 if test x$glibcpp_cv_func__expf_use = x"yes"; then
13033 for ac_func in _expf
13035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13036 echo "configure:13037: checking for $ac_func" >&5
13037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13038 echo $ac_n "(cached) $ac_c" 1>&6
13040 cat > conftest.$ac_ext <<EOF
13041 #line 13042 "configure"
13042 #include "confdefs.h"
13043 /* System header to define __stub macros and hopefully few prototypes,
13044 which can conflict with char $ac_func(); below. */
13045 #include <assert.h>
13046 /* Override any gcc2 internal prototype to avoid an error. */
13047 /* We use char because int might match the return type of a gcc2
13048 builtin and then its argument prototype would still apply. */
13053 /* The GNU C library defines this for functions which it implements
13054 to always fail with ENOSYS. Some functions are actually named
13055 something starting with __ and the normal name is an alias. */
13056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13064 if { (eval echo configure:13065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13066 eval "ac_cv_func_$ac_func=yes"
13068 echo "configure: failed program was:" >&5
13069 cat conftest.$ac_ext >&5
13071 eval "ac_cv_func_$ac_func=no"
13076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13077 echo "$ac_t""yes" 1>&6
13078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13079 cat >> confdefs.h <<EOF
13080 #define $ac_tr_func 1
13084 echo "$ac_t""no" 1>&6
13093 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
13094 echo "configure:13095: checking for isnanf declaration" >&5
13095 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
13096 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
13097 echo $ac_n "(cached) $ac_c" 1>&6
13102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13103 ac_cpp='$CXXCPP $CPPFLAGS'
13104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13106 cross_compiling=$ac_cv_prog_cxx_cross
13108 cat > conftest.$ac_ext <<EOF
13109 #line 13110 "configure"
13110 #include "confdefs.h"
13112 #ifdef HAVE_IEEEFP_H
13113 #include <ieeefp.h>
13120 if { (eval echo configure:13121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13122 glibcpp_cv_func_isnanf_use=yes
13124 echo "configure: failed program was:" >&5
13125 cat conftest.$ac_ext >&5
13127 glibcpp_cv_func_isnanf_use=no
13131 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13132 ac_cpp='$CPP $CPPFLAGS'
13133 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13134 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13135 cross_compiling=$ac_cv_prog_cc_cross
13141 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
13143 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
13144 for ac_func in isnanf
13146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13147 echo "configure:13148: checking for $ac_func" >&5
13148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13149 echo $ac_n "(cached) $ac_c" 1>&6
13151 cat > conftest.$ac_ext <<EOF
13152 #line 13153 "configure"
13153 #include "confdefs.h"
13154 /* System header to define __stub macros and hopefully few prototypes,
13155 which can conflict with char $ac_func(); below. */
13156 #include <assert.h>
13157 /* Override any gcc2 internal prototype to avoid an error. */
13158 /* We use char because int might match the return type of a gcc2
13159 builtin and then its argument prototype would still apply. */
13164 /* The GNU C library defines this for functions which it implements
13165 to always fail with ENOSYS. Some functions are actually named
13166 something starting with __ and the normal name is an alias. */
13167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13175 if { (eval echo configure:13176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13177 eval "ac_cv_func_$ac_func=yes"
13179 echo "configure: failed program was:" >&5
13180 cat conftest.$ac_ext >&5
13182 eval "ac_cv_func_$ac_func=no"
13187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13188 echo "$ac_t""yes" 1>&6
13189 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13190 cat >> confdefs.h <<EOF
13191 #define $ac_tr_func 1
13195 echo "$ac_t""no" 1>&6
13201 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
13202 echo "configure:13203: checking for _isnanf declaration" >&5
13203 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13204 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13205 echo $ac_n "(cached) $ac_c" 1>&6
13210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13211 ac_cpp='$CXXCPP $CPPFLAGS'
13212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13214 cross_compiling=$ac_cv_prog_cxx_cross
13216 cat > conftest.$ac_ext <<EOF
13217 #line 13218 "configure"
13218 #include "confdefs.h"
13220 #ifdef HAVE_IEEEFP_H
13221 #include <ieeefp.h>
13228 if { (eval echo configure:13229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13230 glibcpp_cv_func__isnanf_use=yes
13232 echo "configure: failed program was:" >&5
13233 cat conftest.$ac_ext >&5
13235 glibcpp_cv_func__isnanf_use=no
13239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13240 ac_cpp='$CPP $CPPFLAGS'
13241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13243 cross_compiling=$ac_cv_prog_cc_cross
13249 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13251 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13252 for ac_func in _isnanf
13254 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13255 echo "configure:13256: checking for $ac_func" >&5
13256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13257 echo $ac_n "(cached) $ac_c" 1>&6
13259 cat > conftest.$ac_ext <<EOF
13260 #line 13261 "configure"
13261 #include "confdefs.h"
13262 /* System header to define __stub macros and hopefully few prototypes,
13263 which can conflict with char $ac_func(); below. */
13264 #include <assert.h>
13265 /* Override any gcc2 internal prototype to avoid an error. */
13266 /* We use char because int might match the return type of a gcc2
13267 builtin and then its argument prototype would still apply. */
13272 /* The GNU C library defines this for functions which it implements
13273 to always fail with ENOSYS. Some functions are actually named
13274 something starting with __ and the normal name is an alias. */
13275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13283 if { (eval echo configure:13284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13285 eval "ac_cv_func_$ac_func=yes"
13287 echo "configure: failed program was:" >&5
13288 cat conftest.$ac_ext >&5
13290 eval "ac_cv_func_$ac_func=no"
13295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13296 echo "$ac_t""yes" 1>&6
13297 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13298 cat >> confdefs.h <<EOF
13299 #define $ac_tr_func 1
13303 echo "$ac_t""no" 1>&6
13312 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13313 echo "configure:13314: checking for isinff declaration" >&5
13314 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13315 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13316 echo $ac_n "(cached) $ac_c" 1>&6
13321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13322 ac_cpp='$CXXCPP $CPPFLAGS'
13323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13325 cross_compiling=$ac_cv_prog_cxx_cross
13327 cat > conftest.$ac_ext <<EOF
13328 #line 13329 "configure"
13329 #include "confdefs.h"
13331 #ifdef HAVE_IEEEFP_H
13332 #include <ieeefp.h>
13339 if { (eval echo configure:13340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13341 glibcpp_cv_func_isinff_use=yes
13343 echo "configure: failed program was:" >&5
13344 cat conftest.$ac_ext >&5
13346 glibcpp_cv_func_isinff_use=no
13350 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13351 ac_cpp='$CPP $CPPFLAGS'
13352 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13353 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13354 cross_compiling=$ac_cv_prog_cc_cross
13360 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13362 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13363 for ac_func in isinff
13365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13366 echo "configure:13367: checking for $ac_func" >&5
13367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13368 echo $ac_n "(cached) $ac_c" 1>&6
13370 cat > conftest.$ac_ext <<EOF
13371 #line 13372 "configure"
13372 #include "confdefs.h"
13373 /* System header to define __stub macros and hopefully few prototypes,
13374 which can conflict with char $ac_func(); below. */
13375 #include <assert.h>
13376 /* Override any gcc2 internal prototype to avoid an error. */
13377 /* We use char because int might match the return type of a gcc2
13378 builtin and then its argument prototype would still apply. */
13383 /* The GNU C library defines this for functions which it implements
13384 to always fail with ENOSYS. Some functions are actually named
13385 something starting with __ and the normal name is an alias. */
13386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13394 if { (eval echo configure:13395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13396 eval "ac_cv_func_$ac_func=yes"
13398 echo "configure: failed program was:" >&5
13399 cat conftest.$ac_ext >&5
13401 eval "ac_cv_func_$ac_func=no"
13406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13407 echo "$ac_t""yes" 1>&6
13408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13409 cat >> confdefs.h <<EOF
13410 #define $ac_tr_func 1
13414 echo "$ac_t""no" 1>&6
13420 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13421 echo "configure:13422: checking for _isinff declaration" >&5
13422 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13423 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13424 echo $ac_n "(cached) $ac_c" 1>&6
13429 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13430 ac_cpp='$CXXCPP $CPPFLAGS'
13431 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13432 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13433 cross_compiling=$ac_cv_prog_cxx_cross
13435 cat > conftest.$ac_ext <<EOF
13436 #line 13437 "configure"
13437 #include "confdefs.h"
13439 #ifdef HAVE_IEEEFP_H
13440 #include <ieeefp.h>
13447 if { (eval echo configure:13448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13449 glibcpp_cv_func__isinff_use=yes
13451 echo "configure: failed program was:" >&5
13452 cat conftest.$ac_ext >&5
13454 glibcpp_cv_func__isinff_use=no
13458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13459 ac_cpp='$CPP $CPPFLAGS'
13460 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13461 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13462 cross_compiling=$ac_cv_prog_cc_cross
13468 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13470 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13471 for ac_func in _isinff
13473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13474 echo "configure:13475: checking for $ac_func" >&5
13475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13476 echo $ac_n "(cached) $ac_c" 1>&6
13478 cat > conftest.$ac_ext <<EOF
13479 #line 13480 "configure"
13480 #include "confdefs.h"
13481 /* System header to define __stub macros and hopefully few prototypes,
13482 which can conflict with char $ac_func(); below. */
13483 #include <assert.h>
13484 /* Override any gcc2 internal prototype to avoid an error. */
13485 /* We use char because int might match the return type of a gcc2
13486 builtin and then its argument prototype would still apply. */
13491 /* The GNU C library defines this for functions which it implements
13492 to always fail with ENOSYS. Some functions are actually named
13493 something starting with __ and the normal name is an alias. */
13494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13502 if { (eval echo configure:13503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13504 eval "ac_cv_func_$ac_func=yes"
13506 echo "configure: failed program was:" >&5
13507 cat conftest.$ac_ext >&5
13509 eval "ac_cv_func_$ac_func=no"
13514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13515 echo "$ac_t""yes" 1>&6
13516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13517 cat >> confdefs.h <<EOF
13518 #define $ac_tr_func 1
13522 echo "$ac_t""no" 1>&6
13531 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13532 echo "configure:13533: checking for atan2f declaration" >&5
13533 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13534 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13535 echo $ac_n "(cached) $ac_c" 1>&6
13540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13541 ac_cpp='$CXXCPP $CPPFLAGS'
13542 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13543 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13544 cross_compiling=$ac_cv_prog_cxx_cross
13546 cat > conftest.$ac_ext <<EOF
13547 #line 13548 "configure"
13548 #include "confdefs.h"
13554 if { (eval echo configure:13555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13556 glibcpp_cv_func_atan2f_use=yes
13558 echo "configure: failed program was:" >&5
13559 cat conftest.$ac_ext >&5
13561 glibcpp_cv_func_atan2f_use=no
13565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13566 ac_cpp='$CPP $CPPFLAGS'
13567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13568 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13569 cross_compiling=$ac_cv_prog_cc_cross
13575 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13577 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13578 for ac_func in atan2f
13580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13581 echo "configure:13582: checking for $ac_func" >&5
13582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13583 echo $ac_n "(cached) $ac_c" 1>&6
13585 cat > conftest.$ac_ext <<EOF
13586 #line 13587 "configure"
13587 #include "confdefs.h"
13588 /* System header to define __stub macros and hopefully few prototypes,
13589 which can conflict with char $ac_func(); below. */
13590 #include <assert.h>
13591 /* Override any gcc2 internal prototype to avoid an error. */
13592 /* We use char because int might match the return type of a gcc2
13593 builtin and then its argument prototype would still apply. */
13598 /* The GNU C library defines this for functions which it implements
13599 to always fail with ENOSYS. Some functions are actually named
13600 something starting with __ and the normal name is an alias. */
13601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13609 if { (eval echo configure:13610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13611 eval "ac_cv_func_$ac_func=yes"
13613 echo "configure: failed program was:" >&5
13614 cat conftest.$ac_ext >&5
13616 eval "ac_cv_func_$ac_func=no"
13621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13622 echo "$ac_t""yes" 1>&6
13623 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13624 cat >> confdefs.h <<EOF
13625 #define $ac_tr_func 1
13629 echo "$ac_t""no" 1>&6
13635 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13636 echo "configure:13637: checking for _atan2f declaration" >&5
13637 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13638 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13639 echo $ac_n "(cached) $ac_c" 1>&6
13644 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13645 ac_cpp='$CXXCPP $CPPFLAGS'
13646 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13647 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13648 cross_compiling=$ac_cv_prog_cxx_cross
13650 cat > conftest.$ac_ext <<EOF
13651 #line 13652 "configure"
13652 #include "confdefs.h"
13658 if { (eval echo configure:13659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13660 glibcpp_cv_func__atan2f_use=yes
13662 echo "configure: failed program was:" >&5
13663 cat conftest.$ac_ext >&5
13665 glibcpp_cv_func__atan2f_use=no
13669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13670 ac_cpp='$CPP $CPPFLAGS'
13671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13673 cross_compiling=$ac_cv_prog_cc_cross
13679 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13681 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13682 for ac_func in _atan2f
13684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13685 echo "configure:13686: checking for $ac_func" >&5
13686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13687 echo $ac_n "(cached) $ac_c" 1>&6
13689 cat > conftest.$ac_ext <<EOF
13690 #line 13691 "configure"
13691 #include "confdefs.h"
13692 /* System header to define __stub macros and hopefully few prototypes,
13693 which can conflict with char $ac_func(); below. */
13694 #include <assert.h>
13695 /* Override any gcc2 internal prototype to avoid an error. */
13696 /* We use char because int might match the return type of a gcc2
13697 builtin and then its argument prototype would still apply. */
13702 /* The GNU C library defines this for functions which it implements
13703 to always fail with ENOSYS. Some functions are actually named
13704 something starting with __ and the normal name is an alias. */
13705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13713 if { (eval echo configure:13714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13715 eval "ac_cv_func_$ac_func=yes"
13717 echo "configure: failed program was:" >&5
13718 cat conftest.$ac_ext >&5
13720 eval "ac_cv_func_$ac_func=no"
13725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13726 echo "$ac_t""yes" 1>&6
13727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13728 cat >> confdefs.h <<EOF
13729 #define $ac_tr_func 1
13733 echo "$ac_t""no" 1>&6
13742 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13743 echo "configure:13744: checking for fabsf declaration" >&5
13744 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13745 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13746 echo $ac_n "(cached) $ac_c" 1>&6
13751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13752 ac_cpp='$CXXCPP $CPPFLAGS'
13753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13755 cross_compiling=$ac_cv_prog_cxx_cross
13757 cat > conftest.$ac_ext <<EOF
13758 #line 13759 "configure"
13759 #include "confdefs.h"
13761 #ifdef HAVE_IEEEFP_H
13762 #include <ieeefp.h>
13769 if { (eval echo configure:13770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13771 glibcpp_cv_func_fabsf_use=yes
13773 echo "configure: failed program was:" >&5
13774 cat conftest.$ac_ext >&5
13776 glibcpp_cv_func_fabsf_use=no
13780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13781 ac_cpp='$CPP $CPPFLAGS'
13782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13784 cross_compiling=$ac_cv_prog_cc_cross
13790 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13792 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13793 for ac_func in fabsf
13795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13796 echo "configure:13797: checking for $ac_func" >&5
13797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13798 echo $ac_n "(cached) $ac_c" 1>&6
13800 cat > conftest.$ac_ext <<EOF
13801 #line 13802 "configure"
13802 #include "confdefs.h"
13803 /* System header to define __stub macros and hopefully few prototypes,
13804 which can conflict with char $ac_func(); below. */
13805 #include <assert.h>
13806 /* Override any gcc2 internal prototype to avoid an error. */
13807 /* We use char because int might match the return type of a gcc2
13808 builtin and then its argument prototype would still apply. */
13813 /* The GNU C library defines this for functions which it implements
13814 to always fail with ENOSYS. Some functions are actually named
13815 something starting with __ and the normal name is an alias. */
13816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13824 if { (eval echo configure:13825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13826 eval "ac_cv_func_$ac_func=yes"
13828 echo "configure: failed program was:" >&5
13829 cat conftest.$ac_ext >&5
13831 eval "ac_cv_func_$ac_func=no"
13836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13837 echo "$ac_t""yes" 1>&6
13838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13839 cat >> confdefs.h <<EOF
13840 #define $ac_tr_func 1
13844 echo "$ac_t""no" 1>&6
13850 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13851 echo "configure:13852: checking for _fabsf declaration" >&5
13852 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13853 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13854 echo $ac_n "(cached) $ac_c" 1>&6
13859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13860 ac_cpp='$CXXCPP $CPPFLAGS'
13861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13863 cross_compiling=$ac_cv_prog_cxx_cross
13865 cat > conftest.$ac_ext <<EOF
13866 #line 13867 "configure"
13867 #include "confdefs.h"
13869 #ifdef HAVE_IEEEFP_H
13870 #include <ieeefp.h>
13877 if { (eval echo configure:13878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13879 glibcpp_cv_func__fabsf_use=yes
13881 echo "configure: failed program was:" >&5
13882 cat conftest.$ac_ext >&5
13884 glibcpp_cv_func__fabsf_use=no
13888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13889 ac_cpp='$CPP $CPPFLAGS'
13890 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13891 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13892 cross_compiling=$ac_cv_prog_cc_cross
13898 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13900 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13901 for ac_func in _fabsf
13903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13904 echo "configure:13905: checking for $ac_func" >&5
13905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13906 echo $ac_n "(cached) $ac_c" 1>&6
13908 cat > conftest.$ac_ext <<EOF
13909 #line 13910 "configure"
13910 #include "confdefs.h"
13911 /* System header to define __stub macros and hopefully few prototypes,
13912 which can conflict with char $ac_func(); below. */
13913 #include <assert.h>
13914 /* Override any gcc2 internal prototype to avoid an error. */
13915 /* We use char because int might match the return type of a gcc2
13916 builtin and then its argument prototype would still apply. */
13921 /* The GNU C library defines this for functions which it implements
13922 to always fail with ENOSYS. Some functions are actually named
13923 something starting with __ and the normal name is an alias. */
13924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13932 if { (eval echo configure:13933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13934 eval "ac_cv_func_$ac_func=yes"
13936 echo "configure: failed program was:" >&5
13937 cat conftest.$ac_ext >&5
13939 eval "ac_cv_func_$ac_func=no"
13944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13945 echo "$ac_t""yes" 1>&6
13946 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13947 cat >> confdefs.h <<EOF
13948 #define $ac_tr_func 1
13952 echo "$ac_t""no" 1>&6
13961 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13962 echo "configure:13963: checking for fmodf declaration" >&5
13963 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13964 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13965 echo $ac_n "(cached) $ac_c" 1>&6
13970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13971 ac_cpp='$CXXCPP $CPPFLAGS'
13972 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13973 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13974 cross_compiling=$ac_cv_prog_cxx_cross
13976 cat > conftest.$ac_ext <<EOF
13977 #line 13978 "configure"
13978 #include "confdefs.h"
13984 if { (eval echo configure:13985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13986 glibcpp_cv_func_fmodf_use=yes
13988 echo "configure: failed program was:" >&5
13989 cat conftest.$ac_ext >&5
13991 glibcpp_cv_func_fmodf_use=no
13995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13996 ac_cpp='$CPP $CPPFLAGS'
13997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13999 cross_compiling=$ac_cv_prog_cc_cross
14005 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
14007 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
14008 for ac_func in fmodf
14010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14011 echo "configure:14012: checking for $ac_func" >&5
14012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14013 echo $ac_n "(cached) $ac_c" 1>&6
14015 cat > conftest.$ac_ext <<EOF
14016 #line 14017 "configure"
14017 #include "confdefs.h"
14018 /* System header to define __stub macros and hopefully few prototypes,
14019 which can conflict with char $ac_func(); below. */
14020 #include <assert.h>
14021 /* Override any gcc2 internal prototype to avoid an error. */
14022 /* We use char because int might match the return type of a gcc2
14023 builtin and then its argument prototype would still apply. */
14028 /* The GNU C library defines this for functions which it implements
14029 to always fail with ENOSYS. Some functions are actually named
14030 something starting with __ and the normal name is an alias. */
14031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14039 if { (eval echo configure:14040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14041 eval "ac_cv_func_$ac_func=yes"
14043 echo "configure: failed program was:" >&5
14044 cat conftest.$ac_ext >&5
14046 eval "ac_cv_func_$ac_func=no"
14051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14052 echo "$ac_t""yes" 1>&6
14053 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14054 cat >> confdefs.h <<EOF
14055 #define $ac_tr_func 1
14059 echo "$ac_t""no" 1>&6
14065 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
14066 echo "configure:14067: checking for _fmodf declaration" >&5
14067 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
14068 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
14069 echo $ac_n "(cached) $ac_c" 1>&6
14074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14075 ac_cpp='$CXXCPP $CPPFLAGS'
14076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14078 cross_compiling=$ac_cv_prog_cxx_cross
14080 cat > conftest.$ac_ext <<EOF
14081 #line 14082 "configure"
14082 #include "confdefs.h"
14088 if { (eval echo configure:14089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14090 glibcpp_cv_func__fmodf_use=yes
14092 echo "configure: failed program was:" >&5
14093 cat conftest.$ac_ext >&5
14095 glibcpp_cv_func__fmodf_use=no
14099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14100 ac_cpp='$CPP $CPPFLAGS'
14101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14103 cross_compiling=$ac_cv_prog_cc_cross
14109 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
14111 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
14112 for ac_func in _fmodf
14114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14115 echo "configure:14116: checking for $ac_func" >&5
14116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14117 echo $ac_n "(cached) $ac_c" 1>&6
14119 cat > conftest.$ac_ext <<EOF
14120 #line 14121 "configure"
14121 #include "confdefs.h"
14122 /* System header to define __stub macros and hopefully few prototypes,
14123 which can conflict with char $ac_func(); below. */
14124 #include <assert.h>
14125 /* Override any gcc2 internal prototype to avoid an error. */
14126 /* We use char because int might match the return type of a gcc2
14127 builtin and then its argument prototype would still apply. */
14132 /* The GNU C library defines this for functions which it implements
14133 to always fail with ENOSYS. Some functions are actually named
14134 something starting with __ and the normal name is an alias. */
14135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14143 if { (eval echo configure:14144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14145 eval "ac_cv_func_$ac_func=yes"
14147 echo "configure: failed program was:" >&5
14148 cat conftest.$ac_ext >&5
14150 eval "ac_cv_func_$ac_func=no"
14155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14156 echo "$ac_t""yes" 1>&6
14157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14158 cat >> confdefs.h <<EOF
14159 #define $ac_tr_func 1
14163 echo "$ac_t""no" 1>&6
14172 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
14173 echo "configure:14174: checking for frexpf declaration" >&5
14174 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
14175 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
14176 echo $ac_n "(cached) $ac_c" 1>&6
14181 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14182 ac_cpp='$CXXCPP $CPPFLAGS'
14183 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14184 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14185 cross_compiling=$ac_cv_prog_cxx_cross
14187 cat > conftest.$ac_ext <<EOF
14188 #line 14189 "configure"
14189 #include "confdefs.h"
14195 if { (eval echo configure:14196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14197 glibcpp_cv_func_frexpf_use=yes
14199 echo "configure: failed program was:" >&5
14200 cat conftest.$ac_ext >&5
14202 glibcpp_cv_func_frexpf_use=no
14206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14207 ac_cpp='$CPP $CPPFLAGS'
14208 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14209 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14210 cross_compiling=$ac_cv_prog_cc_cross
14216 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14218 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14219 for ac_func in frexpf
14221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14222 echo "configure:14223: checking for $ac_func" >&5
14223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14224 echo $ac_n "(cached) $ac_c" 1>&6
14226 cat > conftest.$ac_ext <<EOF
14227 #line 14228 "configure"
14228 #include "confdefs.h"
14229 /* System header to define __stub macros and hopefully few prototypes,
14230 which can conflict with char $ac_func(); below. */
14231 #include <assert.h>
14232 /* Override any gcc2 internal prototype to avoid an error. */
14233 /* We use char because int might match the return type of a gcc2
14234 builtin and then its argument prototype would still apply. */
14239 /* The GNU C library defines this for functions which it implements
14240 to always fail with ENOSYS. Some functions are actually named
14241 something starting with __ and the normal name is an alias. */
14242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14250 if { (eval echo configure:14251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14252 eval "ac_cv_func_$ac_func=yes"
14254 echo "configure: failed program was:" >&5
14255 cat conftest.$ac_ext >&5
14257 eval "ac_cv_func_$ac_func=no"
14262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14263 echo "$ac_t""yes" 1>&6
14264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14265 cat >> confdefs.h <<EOF
14266 #define $ac_tr_func 1
14270 echo "$ac_t""no" 1>&6
14276 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14277 echo "configure:14278: checking for _frexpf declaration" >&5
14278 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14279 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14280 echo $ac_n "(cached) $ac_c" 1>&6
14285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14286 ac_cpp='$CXXCPP $CPPFLAGS'
14287 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14288 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14289 cross_compiling=$ac_cv_prog_cxx_cross
14291 cat > conftest.$ac_ext <<EOF
14292 #line 14293 "configure"
14293 #include "confdefs.h"
14299 if { (eval echo configure:14300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14301 glibcpp_cv_func__frexpf_use=yes
14303 echo "configure: failed program was:" >&5
14304 cat conftest.$ac_ext >&5
14306 glibcpp_cv_func__frexpf_use=no
14310 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14311 ac_cpp='$CPP $CPPFLAGS'
14312 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14313 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14314 cross_compiling=$ac_cv_prog_cc_cross
14320 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14322 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14323 for ac_func in _frexpf
14325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14326 echo "configure:14327: checking for $ac_func" >&5
14327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14328 echo $ac_n "(cached) $ac_c" 1>&6
14330 cat > conftest.$ac_ext <<EOF
14331 #line 14332 "configure"
14332 #include "confdefs.h"
14333 /* System header to define __stub macros and hopefully few prototypes,
14334 which can conflict with char $ac_func(); below. */
14335 #include <assert.h>
14336 /* Override any gcc2 internal prototype to avoid an error. */
14337 /* We use char because int might match the return type of a gcc2
14338 builtin and then its argument prototype would still apply. */
14343 /* The GNU C library defines this for functions which it implements
14344 to always fail with ENOSYS. Some functions are actually named
14345 something starting with __ and the normal name is an alias. */
14346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14354 if { (eval echo configure:14355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14356 eval "ac_cv_func_$ac_func=yes"
14358 echo "configure: failed program was:" >&5
14359 cat conftest.$ac_ext >&5
14361 eval "ac_cv_func_$ac_func=no"
14366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14367 echo "$ac_t""yes" 1>&6
14368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14369 cat >> confdefs.h <<EOF
14370 #define $ac_tr_func 1
14374 echo "$ac_t""no" 1>&6
14383 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14384 echo "configure:14385: checking for hypotf declaration" >&5
14385 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14386 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14387 echo $ac_n "(cached) $ac_c" 1>&6
14392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14393 ac_cpp='$CXXCPP $CPPFLAGS'
14394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14396 cross_compiling=$ac_cv_prog_cxx_cross
14398 cat > conftest.$ac_ext <<EOF
14399 #line 14400 "configure"
14400 #include "confdefs.h"
14406 if { (eval echo configure:14407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14408 glibcpp_cv_func_hypotf_use=yes
14410 echo "configure: failed program was:" >&5
14411 cat conftest.$ac_ext >&5
14413 glibcpp_cv_func_hypotf_use=no
14417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14418 ac_cpp='$CPP $CPPFLAGS'
14419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14421 cross_compiling=$ac_cv_prog_cc_cross
14427 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14429 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14430 for ac_func in hypotf
14432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14433 echo "configure:14434: checking for $ac_func" >&5
14434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14435 echo $ac_n "(cached) $ac_c" 1>&6
14437 cat > conftest.$ac_ext <<EOF
14438 #line 14439 "configure"
14439 #include "confdefs.h"
14440 /* System header to define __stub macros and hopefully few prototypes,
14441 which can conflict with char $ac_func(); below. */
14442 #include <assert.h>
14443 /* Override any gcc2 internal prototype to avoid an error. */
14444 /* We use char because int might match the return type of a gcc2
14445 builtin and then its argument prototype would still apply. */
14450 /* The GNU C library defines this for functions which it implements
14451 to always fail with ENOSYS. Some functions are actually named
14452 something starting with __ and the normal name is an alias. */
14453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14461 if { (eval echo configure:14462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14463 eval "ac_cv_func_$ac_func=yes"
14465 echo "configure: failed program was:" >&5
14466 cat conftest.$ac_ext >&5
14468 eval "ac_cv_func_$ac_func=no"
14473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14474 echo "$ac_t""yes" 1>&6
14475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14476 cat >> confdefs.h <<EOF
14477 #define $ac_tr_func 1
14481 echo "$ac_t""no" 1>&6
14487 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14488 echo "configure:14489: checking for _hypotf declaration" >&5
14489 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14490 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14491 echo $ac_n "(cached) $ac_c" 1>&6
14496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14497 ac_cpp='$CXXCPP $CPPFLAGS'
14498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14500 cross_compiling=$ac_cv_prog_cxx_cross
14502 cat > conftest.$ac_ext <<EOF
14503 #line 14504 "configure"
14504 #include "confdefs.h"
14510 if { (eval echo configure:14511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14512 glibcpp_cv_func__hypotf_use=yes
14514 echo "configure: failed program was:" >&5
14515 cat conftest.$ac_ext >&5
14517 glibcpp_cv_func__hypotf_use=no
14521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14522 ac_cpp='$CPP $CPPFLAGS'
14523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14525 cross_compiling=$ac_cv_prog_cc_cross
14531 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14533 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14534 for ac_func in _hypotf
14536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14537 echo "configure:14538: checking for $ac_func" >&5
14538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14539 echo $ac_n "(cached) $ac_c" 1>&6
14541 cat > conftest.$ac_ext <<EOF
14542 #line 14543 "configure"
14543 #include "confdefs.h"
14544 /* System header to define __stub macros and hopefully few prototypes,
14545 which can conflict with char $ac_func(); below. */
14546 #include <assert.h>
14547 /* Override any gcc2 internal prototype to avoid an error. */
14548 /* We use char because int might match the return type of a gcc2
14549 builtin and then its argument prototype would still apply. */
14554 /* The GNU C library defines this for functions which it implements
14555 to always fail with ENOSYS. Some functions are actually named
14556 something starting with __ and the normal name is an alias. */
14557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14565 if { (eval echo configure:14566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14567 eval "ac_cv_func_$ac_func=yes"
14569 echo "configure: failed program was:" >&5
14570 cat conftest.$ac_ext >&5
14572 eval "ac_cv_func_$ac_func=no"
14577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14578 echo "$ac_t""yes" 1>&6
14579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14580 cat >> confdefs.h <<EOF
14581 #define $ac_tr_func 1
14585 echo "$ac_t""no" 1>&6
14594 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14595 echo "configure:14596: checking for ldexpf declaration" >&5
14596 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14597 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14598 echo $ac_n "(cached) $ac_c" 1>&6
14603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14604 ac_cpp='$CXXCPP $CPPFLAGS'
14605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14607 cross_compiling=$ac_cv_prog_cxx_cross
14609 cat > conftest.$ac_ext <<EOF
14610 #line 14611 "configure"
14611 #include "confdefs.h"
14617 if { (eval echo configure:14618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14619 glibcpp_cv_func_ldexpf_use=yes
14621 echo "configure: failed program was:" >&5
14622 cat conftest.$ac_ext >&5
14624 glibcpp_cv_func_ldexpf_use=no
14628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14629 ac_cpp='$CPP $CPPFLAGS'
14630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14632 cross_compiling=$ac_cv_prog_cc_cross
14638 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14640 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14641 for ac_func in ldexpf
14643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14644 echo "configure:14645: checking for $ac_func" >&5
14645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14646 echo $ac_n "(cached) $ac_c" 1>&6
14648 cat > conftest.$ac_ext <<EOF
14649 #line 14650 "configure"
14650 #include "confdefs.h"
14651 /* System header to define __stub macros and hopefully few prototypes,
14652 which can conflict with char $ac_func(); below. */
14653 #include <assert.h>
14654 /* Override any gcc2 internal prototype to avoid an error. */
14655 /* We use char because int might match the return type of a gcc2
14656 builtin and then its argument prototype would still apply. */
14661 /* The GNU C library defines this for functions which it implements
14662 to always fail with ENOSYS. Some functions are actually named
14663 something starting with __ and the normal name is an alias. */
14664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14672 if { (eval echo configure:14673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14674 eval "ac_cv_func_$ac_func=yes"
14676 echo "configure: failed program was:" >&5
14677 cat conftest.$ac_ext >&5
14679 eval "ac_cv_func_$ac_func=no"
14684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14685 echo "$ac_t""yes" 1>&6
14686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14687 cat >> confdefs.h <<EOF
14688 #define $ac_tr_func 1
14692 echo "$ac_t""no" 1>&6
14698 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14699 echo "configure:14700: checking for _ldexpf declaration" >&5
14700 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14701 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14702 echo $ac_n "(cached) $ac_c" 1>&6
14707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14708 ac_cpp='$CXXCPP $CPPFLAGS'
14709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14711 cross_compiling=$ac_cv_prog_cxx_cross
14713 cat > conftest.$ac_ext <<EOF
14714 #line 14715 "configure"
14715 #include "confdefs.h"
14721 if { (eval echo configure:14722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14723 glibcpp_cv_func__ldexpf_use=yes
14725 echo "configure: failed program was:" >&5
14726 cat conftest.$ac_ext >&5
14728 glibcpp_cv_func__ldexpf_use=no
14732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14733 ac_cpp='$CPP $CPPFLAGS'
14734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14736 cross_compiling=$ac_cv_prog_cc_cross
14742 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14744 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14745 for ac_func in _ldexpf
14747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14748 echo "configure:14749: checking for $ac_func" >&5
14749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14750 echo $ac_n "(cached) $ac_c" 1>&6
14752 cat > conftest.$ac_ext <<EOF
14753 #line 14754 "configure"
14754 #include "confdefs.h"
14755 /* System header to define __stub macros and hopefully few prototypes,
14756 which can conflict with char $ac_func(); below. */
14757 #include <assert.h>
14758 /* Override any gcc2 internal prototype to avoid an error. */
14759 /* We use char because int might match the return type of a gcc2
14760 builtin and then its argument prototype would still apply. */
14765 /* The GNU C library defines this for functions which it implements
14766 to always fail with ENOSYS. Some functions are actually named
14767 something starting with __ and the normal name is an alias. */
14768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14776 if { (eval echo configure:14777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14778 eval "ac_cv_func_$ac_func=yes"
14780 echo "configure: failed program was:" >&5
14781 cat conftest.$ac_ext >&5
14783 eval "ac_cv_func_$ac_func=no"
14788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14789 echo "$ac_t""yes" 1>&6
14790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14791 cat >> confdefs.h <<EOF
14792 #define $ac_tr_func 1
14796 echo "$ac_t""no" 1>&6
14805 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14806 echo "configure:14807: checking for logf declaration" >&5
14807 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14808 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14809 echo $ac_n "(cached) $ac_c" 1>&6
14814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14815 ac_cpp='$CXXCPP $CPPFLAGS'
14816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14818 cross_compiling=$ac_cv_prog_cxx_cross
14820 cat > conftest.$ac_ext <<EOF
14821 #line 14822 "configure"
14822 #include "confdefs.h"
14824 #ifdef HAVE_IEEEFP_H
14825 #include <ieeefp.h>
14832 if { (eval echo configure:14833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14834 glibcpp_cv_func_logf_use=yes
14836 echo "configure: failed program was:" >&5
14837 cat conftest.$ac_ext >&5
14839 glibcpp_cv_func_logf_use=no
14843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14844 ac_cpp='$CPP $CPPFLAGS'
14845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14847 cross_compiling=$ac_cv_prog_cc_cross
14853 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14855 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14856 for ac_func in logf
14858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14859 echo "configure:14860: checking for $ac_func" >&5
14860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14861 echo $ac_n "(cached) $ac_c" 1>&6
14863 cat > conftest.$ac_ext <<EOF
14864 #line 14865 "configure"
14865 #include "confdefs.h"
14866 /* System header to define __stub macros and hopefully few prototypes,
14867 which can conflict with char $ac_func(); below. */
14868 #include <assert.h>
14869 /* Override any gcc2 internal prototype to avoid an error. */
14870 /* We use char because int might match the return type of a gcc2
14871 builtin and then its argument prototype would still apply. */
14876 /* The GNU C library defines this for functions which it implements
14877 to always fail with ENOSYS. Some functions are actually named
14878 something starting with __ and the normal name is an alias. */
14879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14887 if { (eval echo configure:14888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14889 eval "ac_cv_func_$ac_func=yes"
14891 echo "configure: failed program was:" >&5
14892 cat conftest.$ac_ext >&5
14894 eval "ac_cv_func_$ac_func=no"
14899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14900 echo "$ac_t""yes" 1>&6
14901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14902 cat >> confdefs.h <<EOF
14903 #define $ac_tr_func 1
14907 echo "$ac_t""no" 1>&6
14913 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14914 echo "configure:14915: checking for _logf declaration" >&5
14915 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14916 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14917 echo $ac_n "(cached) $ac_c" 1>&6
14922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14923 ac_cpp='$CXXCPP $CPPFLAGS'
14924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14926 cross_compiling=$ac_cv_prog_cxx_cross
14928 cat > conftest.$ac_ext <<EOF
14929 #line 14930 "configure"
14930 #include "confdefs.h"
14932 #ifdef HAVE_IEEEFP_H
14933 #include <ieeefp.h>
14940 if { (eval echo configure:14941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14942 glibcpp_cv_func__logf_use=yes
14944 echo "configure: failed program was:" >&5
14945 cat conftest.$ac_ext >&5
14947 glibcpp_cv_func__logf_use=no
14951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14952 ac_cpp='$CPP $CPPFLAGS'
14953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14955 cross_compiling=$ac_cv_prog_cc_cross
14961 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14963 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14964 for ac_func in _logf
14966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14967 echo "configure:14968: checking for $ac_func" >&5
14968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14969 echo $ac_n "(cached) $ac_c" 1>&6
14971 cat > conftest.$ac_ext <<EOF
14972 #line 14973 "configure"
14973 #include "confdefs.h"
14974 /* System header to define __stub macros and hopefully few prototypes,
14975 which can conflict with char $ac_func(); below. */
14976 #include <assert.h>
14977 /* Override any gcc2 internal prototype to avoid an error. */
14978 /* We use char because int might match the return type of a gcc2
14979 builtin and then its argument prototype would still apply. */
14984 /* The GNU C library defines this for functions which it implements
14985 to always fail with ENOSYS. Some functions are actually named
14986 something starting with __ and the normal name is an alias. */
14987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14995 if { (eval echo configure:14996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14997 eval "ac_cv_func_$ac_func=yes"
14999 echo "configure: failed program was:" >&5
15000 cat conftest.$ac_ext >&5
15002 eval "ac_cv_func_$ac_func=no"
15007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15008 echo "$ac_t""yes" 1>&6
15009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15010 cat >> confdefs.h <<EOF
15011 #define $ac_tr_func 1
15015 echo "$ac_t""no" 1>&6
15024 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
15025 echo "configure:15026: checking for log10f declaration" >&5
15026 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
15027 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
15028 echo $ac_n "(cached) $ac_c" 1>&6
15033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15034 ac_cpp='$CXXCPP $CPPFLAGS'
15035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15037 cross_compiling=$ac_cv_prog_cxx_cross
15039 cat > conftest.$ac_ext <<EOF
15040 #line 15041 "configure"
15041 #include "confdefs.h"
15043 #ifdef HAVE_IEEEFP_H
15044 #include <ieeefp.h>
15051 if { (eval echo configure:15052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15053 glibcpp_cv_func_log10f_use=yes
15055 echo "configure: failed program was:" >&5
15056 cat conftest.$ac_ext >&5
15058 glibcpp_cv_func_log10f_use=no
15062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15063 ac_cpp='$CPP $CPPFLAGS'
15064 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15065 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15066 cross_compiling=$ac_cv_prog_cc_cross
15072 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
15074 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
15075 for ac_func in log10f
15077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15078 echo "configure:15079: checking for $ac_func" >&5
15079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15080 echo $ac_n "(cached) $ac_c" 1>&6
15082 cat > conftest.$ac_ext <<EOF
15083 #line 15084 "configure"
15084 #include "confdefs.h"
15085 /* System header to define __stub macros and hopefully few prototypes,
15086 which can conflict with char $ac_func(); below. */
15087 #include <assert.h>
15088 /* Override any gcc2 internal prototype to avoid an error. */
15089 /* We use char because int might match the return type of a gcc2
15090 builtin and then its argument prototype would still apply. */
15095 /* The GNU C library defines this for functions which it implements
15096 to always fail with ENOSYS. Some functions are actually named
15097 something starting with __ and the normal name is an alias. */
15098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15106 if { (eval echo configure:15107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15108 eval "ac_cv_func_$ac_func=yes"
15110 echo "configure: failed program was:" >&5
15111 cat conftest.$ac_ext >&5
15113 eval "ac_cv_func_$ac_func=no"
15118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15119 echo "$ac_t""yes" 1>&6
15120 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15121 cat >> confdefs.h <<EOF
15122 #define $ac_tr_func 1
15126 echo "$ac_t""no" 1>&6
15132 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
15133 echo "configure:15134: checking for _log10f declaration" >&5
15134 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
15135 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
15136 echo $ac_n "(cached) $ac_c" 1>&6
15141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15142 ac_cpp='$CXXCPP $CPPFLAGS'
15143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15145 cross_compiling=$ac_cv_prog_cxx_cross
15147 cat > conftest.$ac_ext <<EOF
15148 #line 15149 "configure"
15149 #include "confdefs.h"
15151 #ifdef HAVE_IEEEFP_H
15152 #include <ieeefp.h>
15159 if { (eval echo configure:15160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15161 glibcpp_cv_func__log10f_use=yes
15163 echo "configure: failed program was:" >&5
15164 cat conftest.$ac_ext >&5
15166 glibcpp_cv_func__log10f_use=no
15170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15171 ac_cpp='$CPP $CPPFLAGS'
15172 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15173 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15174 cross_compiling=$ac_cv_prog_cc_cross
15180 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
15182 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
15183 for ac_func in _log10f
15185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15186 echo "configure:15187: checking for $ac_func" >&5
15187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15188 echo $ac_n "(cached) $ac_c" 1>&6
15190 cat > conftest.$ac_ext <<EOF
15191 #line 15192 "configure"
15192 #include "confdefs.h"
15193 /* System header to define __stub macros and hopefully few prototypes,
15194 which can conflict with char $ac_func(); below. */
15195 #include <assert.h>
15196 /* Override any gcc2 internal prototype to avoid an error. */
15197 /* We use char because int might match the return type of a gcc2
15198 builtin and then its argument prototype would still apply. */
15203 /* The GNU C library defines this for functions which it implements
15204 to always fail with ENOSYS. Some functions are actually named
15205 something starting with __ and the normal name is an alias. */
15206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15214 if { (eval echo configure:15215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15216 eval "ac_cv_func_$ac_func=yes"
15218 echo "configure: failed program was:" >&5
15219 cat conftest.$ac_ext >&5
15221 eval "ac_cv_func_$ac_func=no"
15226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15227 echo "$ac_t""yes" 1>&6
15228 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15229 cat >> confdefs.h <<EOF
15230 #define $ac_tr_func 1
15234 echo "$ac_t""no" 1>&6
15243 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15244 echo "configure:15245: checking for modff declaration" >&5
15245 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15246 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15247 echo $ac_n "(cached) $ac_c" 1>&6
15252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15253 ac_cpp='$CXXCPP $CPPFLAGS'
15254 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15255 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15256 cross_compiling=$ac_cv_prog_cxx_cross
15258 cat > conftest.$ac_ext <<EOF
15259 #line 15260 "configure"
15260 #include "confdefs.h"
15266 if { (eval echo configure:15267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15268 glibcpp_cv_func_modff_use=yes
15270 echo "configure: failed program was:" >&5
15271 cat conftest.$ac_ext >&5
15273 glibcpp_cv_func_modff_use=no
15277 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15278 ac_cpp='$CPP $CPPFLAGS'
15279 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15280 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15281 cross_compiling=$ac_cv_prog_cc_cross
15287 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15289 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15290 for ac_func in modff
15292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15293 echo "configure:15294: checking for $ac_func" >&5
15294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15295 echo $ac_n "(cached) $ac_c" 1>&6
15297 cat > conftest.$ac_ext <<EOF
15298 #line 15299 "configure"
15299 #include "confdefs.h"
15300 /* System header to define __stub macros and hopefully few prototypes,
15301 which can conflict with char $ac_func(); below. */
15302 #include <assert.h>
15303 /* Override any gcc2 internal prototype to avoid an error. */
15304 /* We use char because int might match the return type of a gcc2
15305 builtin and then its argument prototype would still apply. */
15310 /* The GNU C library defines this for functions which it implements
15311 to always fail with ENOSYS. Some functions are actually named
15312 something starting with __ and the normal name is an alias. */
15313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15321 if { (eval echo configure:15322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15323 eval "ac_cv_func_$ac_func=yes"
15325 echo "configure: failed program was:" >&5
15326 cat conftest.$ac_ext >&5
15328 eval "ac_cv_func_$ac_func=no"
15333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15334 echo "$ac_t""yes" 1>&6
15335 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15336 cat >> confdefs.h <<EOF
15337 #define $ac_tr_func 1
15341 echo "$ac_t""no" 1>&6
15347 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15348 echo "configure:15349: checking for _modff declaration" >&5
15349 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15350 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15351 echo $ac_n "(cached) $ac_c" 1>&6
15356 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15357 ac_cpp='$CXXCPP $CPPFLAGS'
15358 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15359 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15360 cross_compiling=$ac_cv_prog_cxx_cross
15362 cat > conftest.$ac_ext <<EOF
15363 #line 15364 "configure"
15364 #include "confdefs.h"
15370 if { (eval echo configure:15371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15372 glibcpp_cv_func__modff_use=yes
15374 echo "configure: failed program was:" >&5
15375 cat conftest.$ac_ext >&5
15377 glibcpp_cv_func__modff_use=no
15381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15382 ac_cpp='$CPP $CPPFLAGS'
15383 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15384 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15385 cross_compiling=$ac_cv_prog_cc_cross
15391 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15393 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15394 for ac_func in _modff
15396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15397 echo "configure:15398: checking for $ac_func" >&5
15398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15399 echo $ac_n "(cached) $ac_c" 1>&6
15401 cat > conftest.$ac_ext <<EOF
15402 #line 15403 "configure"
15403 #include "confdefs.h"
15404 /* System header to define __stub macros and hopefully few prototypes,
15405 which can conflict with char $ac_func(); below. */
15406 #include <assert.h>
15407 /* Override any gcc2 internal prototype to avoid an error. */
15408 /* We use char because int might match the return type of a gcc2
15409 builtin and then its argument prototype would still apply. */
15414 /* The GNU C library defines this for functions which it implements
15415 to always fail with ENOSYS. Some functions are actually named
15416 something starting with __ and the normal name is an alias. */
15417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15425 if { (eval echo configure:15426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15427 eval "ac_cv_func_$ac_func=yes"
15429 echo "configure: failed program was:" >&5
15430 cat conftest.$ac_ext >&5
15432 eval "ac_cv_func_$ac_func=no"
15437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15438 echo "$ac_t""yes" 1>&6
15439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15440 cat >> confdefs.h <<EOF
15441 #define $ac_tr_func 1
15445 echo "$ac_t""no" 1>&6
15454 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15455 echo "configure:15456: checking for powf declaration" >&5
15456 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15457 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15458 echo $ac_n "(cached) $ac_c" 1>&6
15463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15464 ac_cpp='$CXXCPP $CPPFLAGS'
15465 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15466 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15467 cross_compiling=$ac_cv_prog_cxx_cross
15469 cat > conftest.$ac_ext <<EOF
15470 #line 15471 "configure"
15471 #include "confdefs.h"
15477 if { (eval echo configure:15478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15479 glibcpp_cv_func_powf_use=yes
15481 echo "configure: failed program was:" >&5
15482 cat conftest.$ac_ext >&5
15484 glibcpp_cv_func_powf_use=no
15488 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15489 ac_cpp='$CPP $CPPFLAGS'
15490 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15491 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15492 cross_compiling=$ac_cv_prog_cc_cross
15498 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15500 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15501 for ac_func in powf
15503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15504 echo "configure:15505: checking for $ac_func" >&5
15505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15506 echo $ac_n "(cached) $ac_c" 1>&6
15508 cat > conftest.$ac_ext <<EOF
15509 #line 15510 "configure"
15510 #include "confdefs.h"
15511 /* System header to define __stub macros and hopefully few prototypes,
15512 which can conflict with char $ac_func(); below. */
15513 #include <assert.h>
15514 /* Override any gcc2 internal prototype to avoid an error. */
15515 /* We use char because int might match the return type of a gcc2
15516 builtin and then its argument prototype would still apply. */
15521 /* The GNU C library defines this for functions which it implements
15522 to always fail with ENOSYS. Some functions are actually named
15523 something starting with __ and the normal name is an alias. */
15524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15532 if { (eval echo configure:15533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15534 eval "ac_cv_func_$ac_func=yes"
15536 echo "configure: failed program was:" >&5
15537 cat conftest.$ac_ext >&5
15539 eval "ac_cv_func_$ac_func=no"
15544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15545 echo "$ac_t""yes" 1>&6
15546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15547 cat >> confdefs.h <<EOF
15548 #define $ac_tr_func 1
15552 echo "$ac_t""no" 1>&6
15558 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15559 echo "configure:15560: checking for _powf declaration" >&5
15560 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15561 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15562 echo $ac_n "(cached) $ac_c" 1>&6
15567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15568 ac_cpp='$CXXCPP $CPPFLAGS'
15569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15571 cross_compiling=$ac_cv_prog_cxx_cross
15573 cat > conftest.$ac_ext <<EOF
15574 #line 15575 "configure"
15575 #include "confdefs.h"
15581 if { (eval echo configure:15582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15583 glibcpp_cv_func__powf_use=yes
15585 echo "configure: failed program was:" >&5
15586 cat conftest.$ac_ext >&5
15588 glibcpp_cv_func__powf_use=no
15592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15593 ac_cpp='$CPP $CPPFLAGS'
15594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15596 cross_compiling=$ac_cv_prog_cc_cross
15602 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15604 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15605 for ac_func in _powf
15607 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15608 echo "configure:15609: checking for $ac_func" >&5
15609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15610 echo $ac_n "(cached) $ac_c" 1>&6
15612 cat > conftest.$ac_ext <<EOF
15613 #line 15614 "configure"
15614 #include "confdefs.h"
15615 /* System header to define __stub macros and hopefully few prototypes,
15616 which can conflict with char $ac_func(); below. */
15617 #include <assert.h>
15618 /* Override any gcc2 internal prototype to avoid an error. */
15619 /* We use char because int might match the return type of a gcc2
15620 builtin and then its argument prototype would still apply. */
15625 /* The GNU C library defines this for functions which it implements
15626 to always fail with ENOSYS. Some functions are actually named
15627 something starting with __ and the normal name is an alias. */
15628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15636 if { (eval echo configure:15637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15638 eval "ac_cv_func_$ac_func=yes"
15640 echo "configure: failed program was:" >&5
15641 cat conftest.$ac_ext >&5
15643 eval "ac_cv_func_$ac_func=no"
15648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15649 echo "$ac_t""yes" 1>&6
15650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15651 cat >> confdefs.h <<EOF
15652 #define $ac_tr_func 1
15656 echo "$ac_t""no" 1>&6
15665 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15666 echo "configure:15667: checking for sqrtf declaration" >&5
15667 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15668 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15669 echo $ac_n "(cached) $ac_c" 1>&6
15674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15675 ac_cpp='$CXXCPP $CPPFLAGS'
15676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15678 cross_compiling=$ac_cv_prog_cxx_cross
15680 cat > conftest.$ac_ext <<EOF
15681 #line 15682 "configure"
15682 #include "confdefs.h"
15684 #ifdef HAVE_IEEEFP_H
15685 #include <ieeefp.h>
15692 if { (eval echo configure:15693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15694 glibcpp_cv_func_sqrtf_use=yes
15696 echo "configure: failed program was:" >&5
15697 cat conftest.$ac_ext >&5
15699 glibcpp_cv_func_sqrtf_use=no
15703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15704 ac_cpp='$CPP $CPPFLAGS'
15705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15707 cross_compiling=$ac_cv_prog_cc_cross
15713 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15715 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15716 for ac_func in sqrtf
15718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15719 echo "configure:15720: checking for $ac_func" >&5
15720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15721 echo $ac_n "(cached) $ac_c" 1>&6
15723 cat > conftest.$ac_ext <<EOF
15724 #line 15725 "configure"
15725 #include "confdefs.h"
15726 /* System header to define __stub macros and hopefully few prototypes,
15727 which can conflict with char $ac_func(); below. */
15728 #include <assert.h>
15729 /* Override any gcc2 internal prototype to avoid an error. */
15730 /* We use char because int might match the return type of a gcc2
15731 builtin and then its argument prototype would still apply. */
15736 /* The GNU C library defines this for functions which it implements
15737 to always fail with ENOSYS. Some functions are actually named
15738 something starting with __ and the normal name is an alias. */
15739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15747 if { (eval echo configure:15748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15749 eval "ac_cv_func_$ac_func=yes"
15751 echo "configure: failed program was:" >&5
15752 cat conftest.$ac_ext >&5
15754 eval "ac_cv_func_$ac_func=no"
15759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15760 echo "$ac_t""yes" 1>&6
15761 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15762 cat >> confdefs.h <<EOF
15763 #define $ac_tr_func 1
15767 echo "$ac_t""no" 1>&6
15773 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15774 echo "configure:15775: checking for _sqrtf declaration" >&5
15775 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15776 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15777 echo $ac_n "(cached) $ac_c" 1>&6
15782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15783 ac_cpp='$CXXCPP $CPPFLAGS'
15784 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15785 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15786 cross_compiling=$ac_cv_prog_cxx_cross
15788 cat > conftest.$ac_ext <<EOF
15789 #line 15790 "configure"
15790 #include "confdefs.h"
15792 #ifdef HAVE_IEEEFP_H
15793 #include <ieeefp.h>
15800 if { (eval echo configure:15801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15802 glibcpp_cv_func__sqrtf_use=yes
15804 echo "configure: failed program was:" >&5
15805 cat conftest.$ac_ext >&5
15807 glibcpp_cv_func__sqrtf_use=no
15811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15812 ac_cpp='$CPP $CPPFLAGS'
15813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15815 cross_compiling=$ac_cv_prog_cc_cross
15821 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15823 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15824 for ac_func in _sqrtf
15826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15827 echo "configure:15828: checking for $ac_func" >&5
15828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15829 echo $ac_n "(cached) $ac_c" 1>&6
15831 cat > conftest.$ac_ext <<EOF
15832 #line 15833 "configure"
15833 #include "confdefs.h"
15834 /* System header to define __stub macros and hopefully few prototypes,
15835 which can conflict with char $ac_func(); below. */
15836 #include <assert.h>
15837 /* Override any gcc2 internal prototype to avoid an error. */
15838 /* We use char because int might match the return type of a gcc2
15839 builtin and then its argument prototype would still apply. */
15844 /* The GNU C library defines this for functions which it implements
15845 to always fail with ENOSYS. Some functions are actually named
15846 something starting with __ and the normal name is an alias. */
15847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15855 if { (eval echo configure:15856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15857 eval "ac_cv_func_$ac_func=yes"
15859 echo "configure: failed program was:" >&5
15860 cat conftest.$ac_ext >&5
15862 eval "ac_cv_func_$ac_func=no"
15867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15868 echo "$ac_t""yes" 1>&6
15869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15870 cat >> confdefs.h <<EOF
15871 #define $ac_tr_func 1
15875 echo "$ac_t""no" 1>&6
15884 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15885 echo "configure:15886: checking for sincosf declaration" >&5
15886 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15887 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15888 echo $ac_n "(cached) $ac_c" 1>&6
15893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15894 ac_cpp='$CXXCPP $CPPFLAGS'
15895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15897 cross_compiling=$ac_cv_prog_cxx_cross
15899 cat > conftest.$ac_ext <<EOF
15900 #line 15901 "configure"
15901 #include "confdefs.h"
15907 if { (eval echo configure:15908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15909 glibcpp_cv_func_sincosf_use=yes
15911 echo "configure: failed program was:" >&5
15912 cat conftest.$ac_ext >&5
15914 glibcpp_cv_func_sincosf_use=no
15918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15919 ac_cpp='$CPP $CPPFLAGS'
15920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15922 cross_compiling=$ac_cv_prog_cc_cross
15928 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15930 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15931 for ac_func in sincosf
15933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15934 echo "configure:15935: checking for $ac_func" >&5
15935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15936 echo $ac_n "(cached) $ac_c" 1>&6
15938 cat > conftest.$ac_ext <<EOF
15939 #line 15940 "configure"
15940 #include "confdefs.h"
15941 /* System header to define __stub macros and hopefully few prototypes,
15942 which can conflict with char $ac_func(); below. */
15943 #include <assert.h>
15944 /* Override any gcc2 internal prototype to avoid an error. */
15945 /* We use char because int might match the return type of a gcc2
15946 builtin and then its argument prototype would still apply. */
15951 /* The GNU C library defines this for functions which it implements
15952 to always fail with ENOSYS. Some functions are actually named
15953 something starting with __ and the normal name is an alias. */
15954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15962 if { (eval echo configure:15963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15964 eval "ac_cv_func_$ac_func=yes"
15966 echo "configure: failed program was:" >&5
15967 cat conftest.$ac_ext >&5
15969 eval "ac_cv_func_$ac_func=no"
15974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15975 echo "$ac_t""yes" 1>&6
15976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15977 cat >> confdefs.h <<EOF
15978 #define $ac_tr_func 1
15982 echo "$ac_t""no" 1>&6
15988 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15989 echo "configure:15990: checking for _sincosf declaration" >&5
15990 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15991 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15992 echo $ac_n "(cached) $ac_c" 1>&6
15997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15998 ac_cpp='$CXXCPP $CPPFLAGS'
15999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16001 cross_compiling=$ac_cv_prog_cxx_cross
16003 cat > conftest.$ac_ext <<EOF
16004 #line 16005 "configure"
16005 #include "confdefs.h"
16011 if { (eval echo configure:16012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16013 glibcpp_cv_func__sincosf_use=yes
16015 echo "configure: failed program was:" >&5
16016 cat conftest.$ac_ext >&5
16018 glibcpp_cv_func__sincosf_use=no
16022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16023 ac_cpp='$CPP $CPPFLAGS'
16024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16026 cross_compiling=$ac_cv_prog_cc_cross
16032 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
16034 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
16035 for ac_func in _sincosf
16037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16038 echo "configure:16039: checking for $ac_func" >&5
16039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16040 echo $ac_n "(cached) $ac_c" 1>&6
16042 cat > conftest.$ac_ext <<EOF
16043 #line 16044 "configure"
16044 #include "confdefs.h"
16045 /* System header to define __stub macros and hopefully few prototypes,
16046 which can conflict with char $ac_func(); below. */
16047 #include <assert.h>
16048 /* Override any gcc2 internal prototype to avoid an error. */
16049 /* We use char because int might match the return type of a gcc2
16050 builtin and then its argument prototype would still apply. */
16055 /* The GNU C library defines this for functions which it implements
16056 to always fail with ENOSYS. Some functions are actually named
16057 something starting with __ and the normal name is an alias. */
16058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16066 if { (eval echo configure:16067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16068 eval "ac_cv_func_$ac_func=yes"
16070 echo "configure: failed program was:" >&5
16071 cat conftest.$ac_ext >&5
16073 eval "ac_cv_func_$ac_func=no"
16078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16079 echo "$ac_t""yes" 1>&6
16080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16081 cat >> confdefs.h <<EOF
16082 #define $ac_tr_func 1
16086 echo "$ac_t""no" 1>&6
16095 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
16096 echo "configure:16097: checking for finitef declaration" >&5
16097 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
16098 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
16099 echo $ac_n "(cached) $ac_c" 1>&6
16104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16105 ac_cpp='$CXXCPP $CPPFLAGS'
16106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16108 cross_compiling=$ac_cv_prog_cxx_cross
16110 cat > conftest.$ac_ext <<EOF
16111 #line 16112 "configure"
16112 #include "confdefs.h"
16114 #ifdef HAVE_IEEEFP_H
16115 #include <ieeefp.h>
16122 if { (eval echo configure:16123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16124 glibcpp_cv_func_finitef_use=yes
16126 echo "configure: failed program was:" >&5
16127 cat conftest.$ac_ext >&5
16129 glibcpp_cv_func_finitef_use=no
16133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16134 ac_cpp='$CPP $CPPFLAGS'
16135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16137 cross_compiling=$ac_cv_prog_cc_cross
16143 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
16145 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
16146 for ac_func in finitef
16148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16149 echo "configure:16150: checking for $ac_func" >&5
16150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16151 echo $ac_n "(cached) $ac_c" 1>&6
16153 cat > conftest.$ac_ext <<EOF
16154 #line 16155 "configure"
16155 #include "confdefs.h"
16156 /* System header to define __stub macros and hopefully few prototypes,
16157 which can conflict with char $ac_func(); below. */
16158 #include <assert.h>
16159 /* Override any gcc2 internal prototype to avoid an error. */
16160 /* We use char because int might match the return type of a gcc2
16161 builtin and then its argument prototype would still apply. */
16166 /* The GNU C library defines this for functions which it implements
16167 to always fail with ENOSYS. Some functions are actually named
16168 something starting with __ and the normal name is an alias. */
16169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16177 if { (eval echo configure:16178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16179 eval "ac_cv_func_$ac_func=yes"
16181 echo "configure: failed program was:" >&5
16182 cat conftest.$ac_ext >&5
16184 eval "ac_cv_func_$ac_func=no"
16189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16190 echo "$ac_t""yes" 1>&6
16191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16192 cat >> confdefs.h <<EOF
16193 #define $ac_tr_func 1
16197 echo "$ac_t""no" 1>&6
16203 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
16204 echo "configure:16205: checking for _finitef declaration" >&5
16205 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16206 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16207 echo $ac_n "(cached) $ac_c" 1>&6
16212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16213 ac_cpp='$CXXCPP $CPPFLAGS'
16214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16216 cross_compiling=$ac_cv_prog_cxx_cross
16218 cat > conftest.$ac_ext <<EOF
16219 #line 16220 "configure"
16220 #include "confdefs.h"
16222 #ifdef HAVE_IEEEFP_H
16223 #include <ieeefp.h>
16230 if { (eval echo configure:16231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16232 glibcpp_cv_func__finitef_use=yes
16234 echo "configure: failed program was:" >&5
16235 cat conftest.$ac_ext >&5
16237 glibcpp_cv_func__finitef_use=no
16241 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16244 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16245 cross_compiling=$ac_cv_prog_cc_cross
16251 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16253 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16254 for ac_func in _finitef
16256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16257 echo "configure:16258: checking for $ac_func" >&5
16258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16259 echo $ac_n "(cached) $ac_c" 1>&6
16261 cat > conftest.$ac_ext <<EOF
16262 #line 16263 "configure"
16263 #include "confdefs.h"
16264 /* System header to define __stub macros and hopefully few prototypes,
16265 which can conflict with char $ac_func(); below. */
16266 #include <assert.h>
16267 /* Override any gcc2 internal prototype to avoid an error. */
16268 /* We use char because int might match the return type of a gcc2
16269 builtin and then its argument prototype would still apply. */
16274 /* The GNU C library defines this for functions which it implements
16275 to always fail with ENOSYS. Some functions are actually named
16276 something starting with __ and the normal name is an alias. */
16277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16285 if { (eval echo configure:16286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16287 eval "ac_cv_func_$ac_func=yes"
16289 echo "configure: failed program was:" >&5
16290 cat conftest.$ac_ext >&5
16292 eval "ac_cv_func_$ac_func=no"
16297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16298 echo "$ac_t""yes" 1>&6
16299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16300 cat >> confdefs.h <<EOF
16301 #define $ac_tr_func 1
16305 echo "$ac_t""no" 1>&6
16314 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16315 echo "configure:16316: checking for long double trig functions" >&5
16316 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16317 echo $ac_n "(cached) $ac_c" 1>&6
16322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16323 ac_cpp='$CXXCPP $CPPFLAGS'
16324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16326 cross_compiling=$ac_cv_prog_cxx_cross
16328 cat > conftest.$ac_ext <<EOF
16329 #line 16330 "configure"
16330 #include "confdefs.h"
16333 `for x in acosl asinl atanl \
16335 coshl sinhl tanhl; do echo "$x (0);"; done`
16338 if { (eval echo configure:16339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16340 glibcpp_cv_func_long_double_trig_use=yes
16342 echo "configure: failed program was:" >&5
16343 cat conftest.$ac_ext >&5
16345 glibcpp_cv_func_long_double_trig_use=no
16349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16350 ac_cpp='$CPP $CPPFLAGS'
16351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16353 cross_compiling=$ac_cv_prog_cc_cross
16357 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16358 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16359 for ac_func in acosl asinl atanl \
16363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16364 echo "configure:16365: checking for $ac_func" >&5
16365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16366 echo $ac_n "(cached) $ac_c" 1>&6
16368 cat > conftest.$ac_ext <<EOF
16369 #line 16370 "configure"
16370 #include "confdefs.h"
16371 /* System header to define __stub macros and hopefully few prototypes,
16372 which can conflict with char $ac_func(); below. */
16373 #include <assert.h>
16374 /* Override any gcc2 internal prototype to avoid an error. */
16375 /* We use char because int might match the return type of a gcc2
16376 builtin and then its argument prototype would still apply. */
16381 /* The GNU C library defines this for functions which it implements
16382 to always fail with ENOSYS. Some functions are actually named
16383 something starting with __ and the normal name is an alias. */
16384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16392 if { (eval echo configure:16393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16394 eval "ac_cv_func_$ac_func=yes"
16396 echo "configure: failed program was:" >&5
16397 cat conftest.$ac_ext >&5
16399 eval "ac_cv_func_$ac_func=no"
16404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16405 echo "$ac_t""yes" 1>&6
16406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16407 cat >> confdefs.h <<EOF
16408 #define $ac_tr_func 1
16412 echo "$ac_t""no" 1>&6
16419 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16420 echo "configure:16421: checking for long double round functions" >&5
16421 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16422 echo $ac_n "(cached) $ac_c" 1>&6
16427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16428 ac_cpp='$CXXCPP $CPPFLAGS'
16429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16431 cross_compiling=$ac_cv_prog_cxx_cross
16433 cat > conftest.$ac_ext <<EOF
16434 #line 16435 "configure"
16435 #include "confdefs.h"
16438 `for x in ceill floorl; do echo "$x (0);"; done`
16441 if { (eval echo configure:16442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16443 glibcpp_cv_func_long_double_round_use=yes
16445 echo "configure: failed program was:" >&5
16446 cat conftest.$ac_ext >&5
16448 glibcpp_cv_func_long_double_round_use=no
16452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16453 ac_cpp='$CPP $CPPFLAGS'
16454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16456 cross_compiling=$ac_cv_prog_cc_cross
16460 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16461 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16462 for ac_func in ceill floorl
16464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16465 echo "configure:16466: checking for $ac_func" >&5
16466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16467 echo $ac_n "(cached) $ac_c" 1>&6
16469 cat > conftest.$ac_ext <<EOF
16470 #line 16471 "configure"
16471 #include "confdefs.h"
16472 /* System header to define __stub macros and hopefully few prototypes,
16473 which can conflict with char $ac_func(); below. */
16474 #include <assert.h>
16475 /* Override any gcc2 internal prototype to avoid an error. */
16476 /* We use char because int might match the return type of a gcc2
16477 builtin and then its argument prototype would still apply. */
16482 /* The GNU C library defines this for functions which it implements
16483 to always fail with ENOSYS. Some functions are actually named
16484 something starting with __ and the normal name is an alias. */
16485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16493 if { (eval echo configure:16494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16495 eval "ac_cv_func_$ac_func=yes"
16497 echo "configure: failed program was:" >&5
16498 cat conftest.$ac_ext >&5
16500 eval "ac_cv_func_$ac_func=no"
16505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16506 echo "$ac_t""yes" 1>&6
16507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16508 cat >> confdefs.h <<EOF
16509 #define $ac_tr_func 1
16513 echo "$ac_t""no" 1>&6
16521 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16522 echo "configure:16523: checking for isnanl declaration" >&5
16523 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16524 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16525 echo $ac_n "(cached) $ac_c" 1>&6
16530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16531 ac_cpp='$CXXCPP $CPPFLAGS'
16532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16534 cross_compiling=$ac_cv_prog_cxx_cross
16536 cat > conftest.$ac_ext <<EOF
16537 #line 16538 "configure"
16538 #include "confdefs.h"
16540 #ifdef HAVE_IEEEFP_H
16541 #include <ieeefp.h>
16548 if { (eval echo configure:16549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16550 glibcpp_cv_func_isnanl_use=yes
16552 echo "configure: failed program was:" >&5
16553 cat conftest.$ac_ext >&5
16555 glibcpp_cv_func_isnanl_use=no
16559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16560 ac_cpp='$CPP $CPPFLAGS'
16561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16563 cross_compiling=$ac_cv_prog_cc_cross
16569 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16571 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16572 for ac_func in isnanl
16574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16575 echo "configure:16576: checking for $ac_func" >&5
16576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16577 echo $ac_n "(cached) $ac_c" 1>&6
16579 cat > conftest.$ac_ext <<EOF
16580 #line 16581 "configure"
16581 #include "confdefs.h"
16582 /* System header to define __stub macros and hopefully few prototypes,
16583 which can conflict with char $ac_func(); below. */
16584 #include <assert.h>
16585 /* Override any gcc2 internal prototype to avoid an error. */
16586 /* We use char because int might match the return type of a gcc2
16587 builtin and then its argument prototype would still apply. */
16592 /* The GNU C library defines this for functions which it implements
16593 to always fail with ENOSYS. Some functions are actually named
16594 something starting with __ and the normal name is an alias. */
16595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16603 if { (eval echo configure:16604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16605 eval "ac_cv_func_$ac_func=yes"
16607 echo "configure: failed program was:" >&5
16608 cat conftest.$ac_ext >&5
16610 eval "ac_cv_func_$ac_func=no"
16615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16616 echo "$ac_t""yes" 1>&6
16617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16618 cat >> confdefs.h <<EOF
16619 #define $ac_tr_func 1
16623 echo "$ac_t""no" 1>&6
16629 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16630 echo "configure:16631: checking for _isnanl declaration" >&5
16631 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16632 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16633 echo $ac_n "(cached) $ac_c" 1>&6
16638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16639 ac_cpp='$CXXCPP $CPPFLAGS'
16640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16642 cross_compiling=$ac_cv_prog_cxx_cross
16644 cat > conftest.$ac_ext <<EOF
16645 #line 16646 "configure"
16646 #include "confdefs.h"
16648 #ifdef HAVE_IEEEFP_H
16649 #include <ieeefp.h>
16656 if { (eval echo configure:16657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16658 glibcpp_cv_func__isnanl_use=yes
16660 echo "configure: failed program was:" >&5
16661 cat conftest.$ac_ext >&5
16663 glibcpp_cv_func__isnanl_use=no
16667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16668 ac_cpp='$CPP $CPPFLAGS'
16669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16671 cross_compiling=$ac_cv_prog_cc_cross
16677 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16679 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16680 for ac_func in _isnanl
16682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16683 echo "configure:16684: checking for $ac_func" >&5
16684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16685 echo $ac_n "(cached) $ac_c" 1>&6
16687 cat > conftest.$ac_ext <<EOF
16688 #line 16689 "configure"
16689 #include "confdefs.h"
16690 /* System header to define __stub macros and hopefully few prototypes,
16691 which can conflict with char $ac_func(); below. */
16692 #include <assert.h>
16693 /* Override any gcc2 internal prototype to avoid an error. */
16694 /* We use char because int might match the return type of a gcc2
16695 builtin and then its argument prototype would still apply. */
16700 /* The GNU C library defines this for functions which it implements
16701 to always fail with ENOSYS. Some functions are actually named
16702 something starting with __ and the normal name is an alias. */
16703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16711 if { (eval echo configure:16712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16713 eval "ac_cv_func_$ac_func=yes"
16715 echo "configure: failed program was:" >&5
16716 cat conftest.$ac_ext >&5
16718 eval "ac_cv_func_$ac_func=no"
16723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16724 echo "$ac_t""yes" 1>&6
16725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16726 cat >> confdefs.h <<EOF
16727 #define $ac_tr_func 1
16731 echo "$ac_t""no" 1>&6
16740 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16741 echo "configure:16742: checking for isinfl declaration" >&5
16742 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16743 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16744 echo $ac_n "(cached) $ac_c" 1>&6
16749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16750 ac_cpp='$CXXCPP $CPPFLAGS'
16751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16753 cross_compiling=$ac_cv_prog_cxx_cross
16755 cat > conftest.$ac_ext <<EOF
16756 #line 16757 "configure"
16757 #include "confdefs.h"
16759 #ifdef HAVE_IEEEFP_H
16760 #include <ieeefp.h>
16767 if { (eval echo configure:16768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16769 glibcpp_cv_func_isinfl_use=yes
16771 echo "configure: failed program was:" >&5
16772 cat conftest.$ac_ext >&5
16774 glibcpp_cv_func_isinfl_use=no
16778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16779 ac_cpp='$CPP $CPPFLAGS'
16780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16782 cross_compiling=$ac_cv_prog_cc_cross
16788 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16790 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16791 for ac_func in isinfl
16793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16794 echo "configure:16795: checking for $ac_func" >&5
16795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16796 echo $ac_n "(cached) $ac_c" 1>&6
16798 cat > conftest.$ac_ext <<EOF
16799 #line 16800 "configure"
16800 #include "confdefs.h"
16801 /* System header to define __stub macros and hopefully few prototypes,
16802 which can conflict with char $ac_func(); below. */
16803 #include <assert.h>
16804 /* Override any gcc2 internal prototype to avoid an error. */
16805 /* We use char because int might match the return type of a gcc2
16806 builtin and then its argument prototype would still apply. */
16811 /* The GNU C library defines this for functions which it implements
16812 to always fail with ENOSYS. Some functions are actually named
16813 something starting with __ and the normal name is an alias. */
16814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16822 if { (eval echo configure:16823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16824 eval "ac_cv_func_$ac_func=yes"
16826 echo "configure: failed program was:" >&5
16827 cat conftest.$ac_ext >&5
16829 eval "ac_cv_func_$ac_func=no"
16834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16835 echo "$ac_t""yes" 1>&6
16836 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16837 cat >> confdefs.h <<EOF
16838 #define $ac_tr_func 1
16842 echo "$ac_t""no" 1>&6
16848 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16849 echo "configure:16850: checking for _isinfl declaration" >&5
16850 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16851 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16852 echo $ac_n "(cached) $ac_c" 1>&6
16857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16858 ac_cpp='$CXXCPP $CPPFLAGS'
16859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16861 cross_compiling=$ac_cv_prog_cxx_cross
16863 cat > conftest.$ac_ext <<EOF
16864 #line 16865 "configure"
16865 #include "confdefs.h"
16867 #ifdef HAVE_IEEEFP_H
16868 #include <ieeefp.h>
16875 if { (eval echo configure:16876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16877 glibcpp_cv_func__isinfl_use=yes
16879 echo "configure: failed program was:" >&5
16880 cat conftest.$ac_ext >&5
16882 glibcpp_cv_func__isinfl_use=no
16886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16887 ac_cpp='$CPP $CPPFLAGS'
16888 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16889 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16890 cross_compiling=$ac_cv_prog_cc_cross
16896 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16898 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16899 for ac_func in _isinfl
16901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16902 echo "configure:16903: checking for $ac_func" >&5
16903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16904 echo $ac_n "(cached) $ac_c" 1>&6
16906 cat > conftest.$ac_ext <<EOF
16907 #line 16908 "configure"
16908 #include "confdefs.h"
16909 /* System header to define __stub macros and hopefully few prototypes,
16910 which can conflict with char $ac_func(); below. */
16911 #include <assert.h>
16912 /* Override any gcc2 internal prototype to avoid an error. */
16913 /* We use char because int might match the return type of a gcc2
16914 builtin and then its argument prototype would still apply. */
16919 /* The GNU C library defines this for functions which it implements
16920 to always fail with ENOSYS. Some functions are actually named
16921 something starting with __ and the normal name is an alias. */
16922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16930 if { (eval echo configure:16931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16932 eval "ac_cv_func_$ac_func=yes"
16934 echo "configure: failed program was:" >&5
16935 cat conftest.$ac_ext >&5
16937 eval "ac_cv_func_$ac_func=no"
16942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16943 echo "$ac_t""yes" 1>&6
16944 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16945 cat >> confdefs.h <<EOF
16946 #define $ac_tr_func 1
16950 echo "$ac_t""no" 1>&6
16959 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16960 echo "configure:16961: checking for copysignl declaration" >&5
16961 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16962 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16963 echo $ac_n "(cached) $ac_c" 1>&6
16968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16969 ac_cpp='$CXXCPP $CPPFLAGS'
16970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16972 cross_compiling=$ac_cv_prog_cxx_cross
16974 cat > conftest.$ac_ext <<EOF
16975 #line 16976 "configure"
16976 #include "confdefs.h"
16982 if { (eval echo configure:16983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16984 glibcpp_cv_func_copysignl_use=yes
16986 echo "configure: failed program was:" >&5
16987 cat conftest.$ac_ext >&5
16989 glibcpp_cv_func_copysignl_use=no
16993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16994 ac_cpp='$CPP $CPPFLAGS'
16995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16997 cross_compiling=$ac_cv_prog_cc_cross
17003 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
17005 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
17006 for ac_func in copysignl
17008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17009 echo "configure:17010: checking for $ac_func" >&5
17010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17011 echo $ac_n "(cached) $ac_c" 1>&6
17013 cat > conftest.$ac_ext <<EOF
17014 #line 17015 "configure"
17015 #include "confdefs.h"
17016 /* System header to define __stub macros and hopefully few prototypes,
17017 which can conflict with char $ac_func(); below. */
17018 #include <assert.h>
17019 /* Override any gcc2 internal prototype to avoid an error. */
17020 /* We use char because int might match the return type of a gcc2
17021 builtin and then its argument prototype would still apply. */
17026 /* The GNU C library defines this for functions which it implements
17027 to always fail with ENOSYS. Some functions are actually named
17028 something starting with __ and the normal name is an alias. */
17029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17037 if { (eval echo configure:17038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17039 eval "ac_cv_func_$ac_func=yes"
17041 echo "configure: failed program was:" >&5
17042 cat conftest.$ac_ext >&5
17044 eval "ac_cv_func_$ac_func=no"
17049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17050 echo "$ac_t""yes" 1>&6
17051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17052 cat >> confdefs.h <<EOF
17053 #define $ac_tr_func 1
17057 echo "$ac_t""no" 1>&6
17063 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
17064 echo "configure:17065: checking for _copysignl declaration" >&5
17065 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
17066 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
17067 echo $ac_n "(cached) $ac_c" 1>&6
17072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17073 ac_cpp='$CXXCPP $CPPFLAGS'
17074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17076 cross_compiling=$ac_cv_prog_cxx_cross
17078 cat > conftest.$ac_ext <<EOF
17079 #line 17080 "configure"
17080 #include "confdefs.h"
17086 if { (eval echo configure:17087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17088 glibcpp_cv_func__copysignl_use=yes
17090 echo "configure: failed program was:" >&5
17091 cat conftest.$ac_ext >&5
17093 glibcpp_cv_func__copysignl_use=no
17097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17098 ac_cpp='$CPP $CPPFLAGS'
17099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17101 cross_compiling=$ac_cv_prog_cc_cross
17107 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
17109 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
17110 for ac_func in _copysignl
17112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17113 echo "configure:17114: checking for $ac_func" >&5
17114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17115 echo $ac_n "(cached) $ac_c" 1>&6
17117 cat > conftest.$ac_ext <<EOF
17118 #line 17119 "configure"
17119 #include "confdefs.h"
17120 /* System header to define __stub macros and hopefully few prototypes,
17121 which can conflict with char $ac_func(); below. */
17122 #include <assert.h>
17123 /* Override any gcc2 internal prototype to avoid an error. */
17124 /* We use char because int might match the return type of a gcc2
17125 builtin and then its argument prototype would still apply. */
17130 /* The GNU C library defines this for functions which it implements
17131 to always fail with ENOSYS. Some functions are actually named
17132 something starting with __ and the normal name is an alias. */
17133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17141 if { (eval echo configure:17142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17143 eval "ac_cv_func_$ac_func=yes"
17145 echo "configure: failed program was:" >&5
17146 cat conftest.$ac_ext >&5
17148 eval "ac_cv_func_$ac_func=no"
17153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17154 echo "$ac_t""yes" 1>&6
17155 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17156 cat >> confdefs.h <<EOF
17157 #define $ac_tr_func 1
17161 echo "$ac_t""no" 1>&6
17170 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
17171 echo "configure:17172: checking for atan2l declaration" >&5
17172 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
17173 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
17174 echo $ac_n "(cached) $ac_c" 1>&6
17179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17180 ac_cpp='$CXXCPP $CPPFLAGS'
17181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17183 cross_compiling=$ac_cv_prog_cxx_cross
17185 cat > conftest.$ac_ext <<EOF
17186 #line 17187 "configure"
17187 #include "confdefs.h"
17193 if { (eval echo configure:17194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17195 glibcpp_cv_func_atan2l_use=yes
17197 echo "configure: failed program was:" >&5
17198 cat conftest.$ac_ext >&5
17200 glibcpp_cv_func_atan2l_use=no
17204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17205 ac_cpp='$CPP $CPPFLAGS'
17206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17208 cross_compiling=$ac_cv_prog_cc_cross
17214 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17216 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17217 for ac_func in atan2l
17219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17220 echo "configure:17221: checking for $ac_func" >&5
17221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17222 echo $ac_n "(cached) $ac_c" 1>&6
17224 cat > conftest.$ac_ext <<EOF
17225 #line 17226 "configure"
17226 #include "confdefs.h"
17227 /* System header to define __stub macros and hopefully few prototypes,
17228 which can conflict with char $ac_func(); below. */
17229 #include <assert.h>
17230 /* Override any gcc2 internal prototype to avoid an error. */
17231 /* We use char because int might match the return type of a gcc2
17232 builtin and then its argument prototype would still apply. */
17237 /* The GNU C library defines this for functions which it implements
17238 to always fail with ENOSYS. Some functions are actually named
17239 something starting with __ and the normal name is an alias. */
17240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17248 if { (eval echo configure:17249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17250 eval "ac_cv_func_$ac_func=yes"
17252 echo "configure: failed program was:" >&5
17253 cat conftest.$ac_ext >&5
17255 eval "ac_cv_func_$ac_func=no"
17260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17261 echo "$ac_t""yes" 1>&6
17262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17263 cat >> confdefs.h <<EOF
17264 #define $ac_tr_func 1
17268 echo "$ac_t""no" 1>&6
17274 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17275 echo "configure:17276: checking for _atan2l declaration" >&5
17276 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17277 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17278 echo $ac_n "(cached) $ac_c" 1>&6
17283 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17284 ac_cpp='$CXXCPP $CPPFLAGS'
17285 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17286 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17287 cross_compiling=$ac_cv_prog_cxx_cross
17289 cat > conftest.$ac_ext <<EOF
17290 #line 17291 "configure"
17291 #include "confdefs.h"
17297 if { (eval echo configure:17298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17299 glibcpp_cv_func__atan2l_use=yes
17301 echo "configure: failed program was:" >&5
17302 cat conftest.$ac_ext >&5
17304 glibcpp_cv_func__atan2l_use=no
17308 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17309 ac_cpp='$CPP $CPPFLAGS'
17310 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17311 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17312 cross_compiling=$ac_cv_prog_cc_cross
17318 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17320 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17321 for ac_func in _atan2l
17323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17324 echo "configure:17325: checking for $ac_func" >&5
17325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17326 echo $ac_n "(cached) $ac_c" 1>&6
17328 cat > conftest.$ac_ext <<EOF
17329 #line 17330 "configure"
17330 #include "confdefs.h"
17331 /* System header to define __stub macros and hopefully few prototypes,
17332 which can conflict with char $ac_func(); below. */
17333 #include <assert.h>
17334 /* Override any gcc2 internal prototype to avoid an error. */
17335 /* We use char because int might match the return type of a gcc2
17336 builtin and then its argument prototype would still apply. */
17341 /* The GNU C library defines this for functions which it implements
17342 to always fail with ENOSYS. Some functions are actually named
17343 something starting with __ and the normal name is an alias. */
17344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17352 if { (eval echo configure:17353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17354 eval "ac_cv_func_$ac_func=yes"
17356 echo "configure: failed program was:" >&5
17357 cat conftest.$ac_ext >&5
17359 eval "ac_cv_func_$ac_func=no"
17364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17365 echo "$ac_t""yes" 1>&6
17366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17367 cat >> confdefs.h <<EOF
17368 #define $ac_tr_func 1
17372 echo "$ac_t""no" 1>&6
17381 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17382 echo "configure:17383: checking for expl declaration" >&5
17383 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17384 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17385 echo $ac_n "(cached) $ac_c" 1>&6
17390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17391 ac_cpp='$CXXCPP $CPPFLAGS'
17392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17394 cross_compiling=$ac_cv_prog_cxx_cross
17396 cat > conftest.$ac_ext <<EOF
17397 #line 17398 "configure"
17398 #include "confdefs.h"
17400 #ifdef HAVE_IEEEFP_H
17401 #include <ieeefp.h>
17408 if { (eval echo configure:17409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17410 glibcpp_cv_func_expl_use=yes
17412 echo "configure: failed program was:" >&5
17413 cat conftest.$ac_ext >&5
17415 glibcpp_cv_func_expl_use=no
17419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17420 ac_cpp='$CPP $CPPFLAGS'
17421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17423 cross_compiling=$ac_cv_prog_cc_cross
17429 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17431 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17432 for ac_func in expl
17434 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17435 echo "configure:17436: checking for $ac_func" >&5
17436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17437 echo $ac_n "(cached) $ac_c" 1>&6
17439 cat > conftest.$ac_ext <<EOF
17440 #line 17441 "configure"
17441 #include "confdefs.h"
17442 /* System header to define __stub macros and hopefully few prototypes,
17443 which can conflict with char $ac_func(); below. */
17444 #include <assert.h>
17445 /* Override any gcc2 internal prototype to avoid an error. */
17446 /* We use char because int might match the return type of a gcc2
17447 builtin and then its argument prototype would still apply. */
17452 /* The GNU C library defines this for functions which it implements
17453 to always fail with ENOSYS. Some functions are actually named
17454 something starting with __ and the normal name is an alias. */
17455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17463 if { (eval echo configure:17464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17465 eval "ac_cv_func_$ac_func=yes"
17467 echo "configure: failed program was:" >&5
17468 cat conftest.$ac_ext >&5
17470 eval "ac_cv_func_$ac_func=no"
17475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17476 echo "$ac_t""yes" 1>&6
17477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17478 cat >> confdefs.h <<EOF
17479 #define $ac_tr_func 1
17483 echo "$ac_t""no" 1>&6
17489 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17490 echo "configure:17491: checking for _expl declaration" >&5
17491 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17492 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17493 echo $ac_n "(cached) $ac_c" 1>&6
17498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17499 ac_cpp='$CXXCPP $CPPFLAGS'
17500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17502 cross_compiling=$ac_cv_prog_cxx_cross
17504 cat > conftest.$ac_ext <<EOF
17505 #line 17506 "configure"
17506 #include "confdefs.h"
17508 #ifdef HAVE_IEEEFP_H
17509 #include <ieeefp.h>
17516 if { (eval echo configure:17517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17518 glibcpp_cv_func__expl_use=yes
17520 echo "configure: failed program was:" >&5
17521 cat conftest.$ac_ext >&5
17523 glibcpp_cv_func__expl_use=no
17527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17528 ac_cpp='$CPP $CPPFLAGS'
17529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17531 cross_compiling=$ac_cv_prog_cc_cross
17537 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17539 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17540 for ac_func in _expl
17542 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17543 echo "configure:17544: checking for $ac_func" >&5
17544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17545 echo $ac_n "(cached) $ac_c" 1>&6
17547 cat > conftest.$ac_ext <<EOF
17548 #line 17549 "configure"
17549 #include "confdefs.h"
17550 /* System header to define __stub macros and hopefully few prototypes,
17551 which can conflict with char $ac_func(); below. */
17552 #include <assert.h>
17553 /* Override any gcc2 internal prototype to avoid an error. */
17554 /* We use char because int might match the return type of a gcc2
17555 builtin and then its argument prototype would still apply. */
17560 /* The GNU C library defines this for functions which it implements
17561 to always fail with ENOSYS. Some functions are actually named
17562 something starting with __ and the normal name is an alias. */
17563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17571 if { (eval echo configure:17572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17573 eval "ac_cv_func_$ac_func=yes"
17575 echo "configure: failed program was:" >&5
17576 cat conftest.$ac_ext >&5
17578 eval "ac_cv_func_$ac_func=no"
17583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17584 echo "$ac_t""yes" 1>&6
17585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17586 cat >> confdefs.h <<EOF
17587 #define $ac_tr_func 1
17591 echo "$ac_t""no" 1>&6
17600 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17601 echo "configure:17602: checking for fabsl declaration" >&5
17602 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17603 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17604 echo $ac_n "(cached) $ac_c" 1>&6
17609 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17610 ac_cpp='$CXXCPP $CPPFLAGS'
17611 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17612 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17613 cross_compiling=$ac_cv_prog_cxx_cross
17615 cat > conftest.$ac_ext <<EOF
17616 #line 17617 "configure"
17617 #include "confdefs.h"
17619 #ifdef HAVE_IEEEFP_H
17620 #include <ieeefp.h>
17627 if { (eval echo configure:17628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17629 glibcpp_cv_func_fabsl_use=yes
17631 echo "configure: failed program was:" >&5
17632 cat conftest.$ac_ext >&5
17634 glibcpp_cv_func_fabsl_use=no
17638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17639 ac_cpp='$CPP $CPPFLAGS'
17640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17642 cross_compiling=$ac_cv_prog_cc_cross
17648 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17650 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17651 for ac_func in fabsl
17653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17654 echo "configure:17655: checking for $ac_func" >&5
17655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17656 echo $ac_n "(cached) $ac_c" 1>&6
17658 cat > conftest.$ac_ext <<EOF
17659 #line 17660 "configure"
17660 #include "confdefs.h"
17661 /* System header to define __stub macros and hopefully few prototypes,
17662 which can conflict with char $ac_func(); below. */
17663 #include <assert.h>
17664 /* Override any gcc2 internal prototype to avoid an error. */
17665 /* We use char because int might match the return type of a gcc2
17666 builtin and then its argument prototype would still apply. */
17671 /* The GNU C library defines this for functions which it implements
17672 to always fail with ENOSYS. Some functions are actually named
17673 something starting with __ and the normal name is an alias. */
17674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17682 if { (eval echo configure:17683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17684 eval "ac_cv_func_$ac_func=yes"
17686 echo "configure: failed program was:" >&5
17687 cat conftest.$ac_ext >&5
17689 eval "ac_cv_func_$ac_func=no"
17694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17695 echo "$ac_t""yes" 1>&6
17696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17697 cat >> confdefs.h <<EOF
17698 #define $ac_tr_func 1
17702 echo "$ac_t""no" 1>&6
17708 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17709 echo "configure:17710: checking for _fabsl declaration" >&5
17710 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17711 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17712 echo $ac_n "(cached) $ac_c" 1>&6
17717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17718 ac_cpp='$CXXCPP $CPPFLAGS'
17719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17721 cross_compiling=$ac_cv_prog_cxx_cross
17723 cat > conftest.$ac_ext <<EOF
17724 #line 17725 "configure"
17725 #include "confdefs.h"
17727 #ifdef HAVE_IEEEFP_H
17728 #include <ieeefp.h>
17735 if { (eval echo configure:17736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17737 glibcpp_cv_func__fabsl_use=yes
17739 echo "configure: failed program was:" >&5
17740 cat conftest.$ac_ext >&5
17742 glibcpp_cv_func__fabsl_use=no
17746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17747 ac_cpp='$CPP $CPPFLAGS'
17748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17749 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17750 cross_compiling=$ac_cv_prog_cc_cross
17756 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17758 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17759 for ac_func in _fabsl
17761 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17762 echo "configure:17763: checking for $ac_func" >&5
17763 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17764 echo $ac_n "(cached) $ac_c" 1>&6
17766 cat > conftest.$ac_ext <<EOF
17767 #line 17768 "configure"
17768 #include "confdefs.h"
17769 /* System header to define __stub macros and hopefully few prototypes,
17770 which can conflict with char $ac_func(); below. */
17771 #include <assert.h>
17772 /* Override any gcc2 internal prototype to avoid an error. */
17773 /* We use char because int might match the return type of a gcc2
17774 builtin and then its argument prototype would still apply. */
17779 /* The GNU C library defines this for functions which it implements
17780 to always fail with ENOSYS. Some functions are actually named
17781 something starting with __ and the normal name is an alias. */
17782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17790 if { (eval echo configure:17791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17792 eval "ac_cv_func_$ac_func=yes"
17794 echo "configure: failed program was:" >&5
17795 cat conftest.$ac_ext >&5
17797 eval "ac_cv_func_$ac_func=no"
17802 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17803 echo "$ac_t""yes" 1>&6
17804 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17805 cat >> confdefs.h <<EOF
17806 #define $ac_tr_func 1
17810 echo "$ac_t""no" 1>&6
17819 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17820 echo "configure:17821: checking for fmodl declaration" >&5
17821 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17822 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17823 echo $ac_n "(cached) $ac_c" 1>&6
17828 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17829 ac_cpp='$CXXCPP $CPPFLAGS'
17830 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17831 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17832 cross_compiling=$ac_cv_prog_cxx_cross
17834 cat > conftest.$ac_ext <<EOF
17835 #line 17836 "configure"
17836 #include "confdefs.h"
17842 if { (eval echo configure:17843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17844 glibcpp_cv_func_fmodl_use=yes
17846 echo "configure: failed program was:" >&5
17847 cat conftest.$ac_ext >&5
17849 glibcpp_cv_func_fmodl_use=no
17853 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17854 ac_cpp='$CPP $CPPFLAGS'
17855 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17856 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17857 cross_compiling=$ac_cv_prog_cc_cross
17863 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17865 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17866 for ac_func in fmodl
17868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17869 echo "configure:17870: checking for $ac_func" >&5
17870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17871 echo $ac_n "(cached) $ac_c" 1>&6
17873 cat > conftest.$ac_ext <<EOF
17874 #line 17875 "configure"
17875 #include "confdefs.h"
17876 /* System header to define __stub macros and hopefully few prototypes,
17877 which can conflict with char $ac_func(); below. */
17878 #include <assert.h>
17879 /* Override any gcc2 internal prototype to avoid an error. */
17880 /* We use char because int might match the return type of a gcc2
17881 builtin and then its argument prototype would still apply. */
17886 /* The GNU C library defines this for functions which it implements
17887 to always fail with ENOSYS. Some functions are actually named
17888 something starting with __ and the normal name is an alias. */
17889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17897 if { (eval echo configure:17898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17899 eval "ac_cv_func_$ac_func=yes"
17901 echo "configure: failed program was:" >&5
17902 cat conftest.$ac_ext >&5
17904 eval "ac_cv_func_$ac_func=no"
17909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17910 echo "$ac_t""yes" 1>&6
17911 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17912 cat >> confdefs.h <<EOF
17913 #define $ac_tr_func 1
17917 echo "$ac_t""no" 1>&6
17923 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17924 echo "configure:17925: checking for _fmodl declaration" >&5
17925 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17926 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17927 echo $ac_n "(cached) $ac_c" 1>&6
17932 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17933 ac_cpp='$CXXCPP $CPPFLAGS'
17934 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17935 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17936 cross_compiling=$ac_cv_prog_cxx_cross
17938 cat > conftest.$ac_ext <<EOF
17939 #line 17940 "configure"
17940 #include "confdefs.h"
17946 if { (eval echo configure:17947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17948 glibcpp_cv_func__fmodl_use=yes
17950 echo "configure: failed program was:" >&5
17951 cat conftest.$ac_ext >&5
17953 glibcpp_cv_func__fmodl_use=no
17957 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17958 ac_cpp='$CPP $CPPFLAGS'
17959 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17960 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17961 cross_compiling=$ac_cv_prog_cc_cross
17967 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17969 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17970 for ac_func in _fmodl
17972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17973 echo "configure:17974: checking for $ac_func" >&5
17974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17975 echo $ac_n "(cached) $ac_c" 1>&6
17977 cat > conftest.$ac_ext <<EOF
17978 #line 17979 "configure"
17979 #include "confdefs.h"
17980 /* System header to define __stub macros and hopefully few prototypes,
17981 which can conflict with char $ac_func(); below. */
17982 #include <assert.h>
17983 /* Override any gcc2 internal prototype to avoid an error. */
17984 /* We use char because int might match the return type of a gcc2
17985 builtin and then its argument prototype would still apply. */
17990 /* The GNU C library defines this for functions which it implements
17991 to always fail with ENOSYS. Some functions are actually named
17992 something starting with __ and the normal name is an alias. */
17993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18001 if { (eval echo configure:18002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18003 eval "ac_cv_func_$ac_func=yes"
18005 echo "configure: failed program was:" >&5
18006 cat conftest.$ac_ext >&5
18008 eval "ac_cv_func_$ac_func=no"
18013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18014 echo "$ac_t""yes" 1>&6
18015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18016 cat >> confdefs.h <<EOF
18017 #define $ac_tr_func 1
18021 echo "$ac_t""no" 1>&6
18030 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
18031 echo "configure:18032: checking for frexpl declaration" >&5
18032 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
18033 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
18034 echo $ac_n "(cached) $ac_c" 1>&6
18039 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18040 ac_cpp='$CXXCPP $CPPFLAGS'
18041 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18042 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18043 cross_compiling=$ac_cv_prog_cxx_cross
18045 cat > conftest.$ac_ext <<EOF
18046 #line 18047 "configure"
18047 #include "confdefs.h"
18053 if { (eval echo configure:18054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18055 glibcpp_cv_func_frexpl_use=yes
18057 echo "configure: failed program was:" >&5
18058 cat conftest.$ac_ext >&5
18060 glibcpp_cv_func_frexpl_use=no
18064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18065 ac_cpp='$CPP $CPPFLAGS'
18066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18068 cross_compiling=$ac_cv_prog_cc_cross
18074 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
18076 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
18077 for ac_func in frexpl
18079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18080 echo "configure:18081: checking for $ac_func" >&5
18081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18082 echo $ac_n "(cached) $ac_c" 1>&6
18084 cat > conftest.$ac_ext <<EOF
18085 #line 18086 "configure"
18086 #include "confdefs.h"
18087 /* System header to define __stub macros and hopefully few prototypes,
18088 which can conflict with char $ac_func(); below. */
18089 #include <assert.h>
18090 /* Override any gcc2 internal prototype to avoid an error. */
18091 /* We use char because int might match the return type of a gcc2
18092 builtin and then its argument prototype would still apply. */
18097 /* The GNU C library defines this for functions which it implements
18098 to always fail with ENOSYS. Some functions are actually named
18099 something starting with __ and the normal name is an alias. */
18100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18108 if { (eval echo configure:18109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18110 eval "ac_cv_func_$ac_func=yes"
18112 echo "configure: failed program was:" >&5
18113 cat conftest.$ac_ext >&5
18115 eval "ac_cv_func_$ac_func=no"
18120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18121 echo "$ac_t""yes" 1>&6
18122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18123 cat >> confdefs.h <<EOF
18124 #define $ac_tr_func 1
18128 echo "$ac_t""no" 1>&6
18134 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
18135 echo "configure:18136: checking for _frexpl declaration" >&5
18136 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
18137 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
18138 echo $ac_n "(cached) $ac_c" 1>&6
18143 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18144 ac_cpp='$CXXCPP $CPPFLAGS'
18145 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18146 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18147 cross_compiling=$ac_cv_prog_cxx_cross
18149 cat > conftest.$ac_ext <<EOF
18150 #line 18151 "configure"
18151 #include "confdefs.h"
18157 if { (eval echo configure:18158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18159 glibcpp_cv_func__frexpl_use=yes
18161 echo "configure: failed program was:" >&5
18162 cat conftest.$ac_ext >&5
18164 glibcpp_cv_func__frexpl_use=no
18168 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18169 ac_cpp='$CPP $CPPFLAGS'
18170 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18171 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18172 cross_compiling=$ac_cv_prog_cc_cross
18178 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
18180 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
18181 for ac_func in _frexpl
18183 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18184 echo "configure:18185: checking for $ac_func" >&5
18185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18186 echo $ac_n "(cached) $ac_c" 1>&6
18188 cat > conftest.$ac_ext <<EOF
18189 #line 18190 "configure"
18190 #include "confdefs.h"
18191 /* System header to define __stub macros and hopefully few prototypes,
18192 which can conflict with char $ac_func(); below. */
18193 #include <assert.h>
18194 /* Override any gcc2 internal prototype to avoid an error. */
18195 /* We use char because int might match the return type of a gcc2
18196 builtin and then its argument prototype would still apply. */
18201 /* The GNU C library defines this for functions which it implements
18202 to always fail with ENOSYS. Some functions are actually named
18203 something starting with __ and the normal name is an alias. */
18204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18212 if { (eval echo configure:18213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18214 eval "ac_cv_func_$ac_func=yes"
18216 echo "configure: failed program was:" >&5
18217 cat conftest.$ac_ext >&5
18219 eval "ac_cv_func_$ac_func=no"
18224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18225 echo "$ac_t""yes" 1>&6
18226 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18227 cat >> confdefs.h <<EOF
18228 #define $ac_tr_func 1
18232 echo "$ac_t""no" 1>&6
18241 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18242 echo "configure:18243: checking for hypotl declaration" >&5
18243 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18244 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18245 echo $ac_n "(cached) $ac_c" 1>&6
18250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18251 ac_cpp='$CXXCPP $CPPFLAGS'
18252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18254 cross_compiling=$ac_cv_prog_cxx_cross
18256 cat > conftest.$ac_ext <<EOF
18257 #line 18258 "configure"
18258 #include "confdefs.h"
18264 if { (eval echo configure:18265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18266 glibcpp_cv_func_hypotl_use=yes
18268 echo "configure: failed program was:" >&5
18269 cat conftest.$ac_ext >&5
18271 glibcpp_cv_func_hypotl_use=no
18275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18276 ac_cpp='$CPP $CPPFLAGS'
18277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18279 cross_compiling=$ac_cv_prog_cc_cross
18285 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18287 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18288 for ac_func in hypotl
18290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18291 echo "configure:18292: checking for $ac_func" >&5
18292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18293 echo $ac_n "(cached) $ac_c" 1>&6
18295 cat > conftest.$ac_ext <<EOF
18296 #line 18297 "configure"
18297 #include "confdefs.h"
18298 /* System header to define __stub macros and hopefully few prototypes,
18299 which can conflict with char $ac_func(); below. */
18300 #include <assert.h>
18301 /* Override any gcc2 internal prototype to avoid an error. */
18302 /* We use char because int might match the return type of a gcc2
18303 builtin and then its argument prototype would still apply. */
18308 /* The GNU C library defines this for functions which it implements
18309 to always fail with ENOSYS. Some functions are actually named
18310 something starting with __ and the normal name is an alias. */
18311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18319 if { (eval echo configure:18320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18321 eval "ac_cv_func_$ac_func=yes"
18323 echo "configure: failed program was:" >&5
18324 cat conftest.$ac_ext >&5
18326 eval "ac_cv_func_$ac_func=no"
18331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18332 echo "$ac_t""yes" 1>&6
18333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18334 cat >> confdefs.h <<EOF
18335 #define $ac_tr_func 1
18339 echo "$ac_t""no" 1>&6
18345 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18346 echo "configure:18347: checking for _hypotl declaration" >&5
18347 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18348 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18349 echo $ac_n "(cached) $ac_c" 1>&6
18354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18355 ac_cpp='$CXXCPP $CPPFLAGS'
18356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18358 cross_compiling=$ac_cv_prog_cxx_cross
18360 cat > conftest.$ac_ext <<EOF
18361 #line 18362 "configure"
18362 #include "confdefs.h"
18368 if { (eval echo configure:18369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18370 glibcpp_cv_func__hypotl_use=yes
18372 echo "configure: failed program was:" >&5
18373 cat conftest.$ac_ext >&5
18375 glibcpp_cv_func__hypotl_use=no
18379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18380 ac_cpp='$CPP $CPPFLAGS'
18381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18383 cross_compiling=$ac_cv_prog_cc_cross
18389 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18391 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18392 for ac_func in _hypotl
18394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18395 echo "configure:18396: checking for $ac_func" >&5
18396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18397 echo $ac_n "(cached) $ac_c" 1>&6
18399 cat > conftest.$ac_ext <<EOF
18400 #line 18401 "configure"
18401 #include "confdefs.h"
18402 /* System header to define __stub macros and hopefully few prototypes,
18403 which can conflict with char $ac_func(); below. */
18404 #include <assert.h>
18405 /* Override any gcc2 internal prototype to avoid an error. */
18406 /* We use char because int might match the return type of a gcc2
18407 builtin and then its argument prototype would still apply. */
18412 /* The GNU C library defines this for functions which it implements
18413 to always fail with ENOSYS. Some functions are actually named
18414 something starting with __ and the normal name is an alias. */
18415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18423 if { (eval echo configure:18424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18425 eval "ac_cv_func_$ac_func=yes"
18427 echo "configure: failed program was:" >&5
18428 cat conftest.$ac_ext >&5
18430 eval "ac_cv_func_$ac_func=no"
18435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18436 echo "$ac_t""yes" 1>&6
18437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18438 cat >> confdefs.h <<EOF
18439 #define $ac_tr_func 1
18443 echo "$ac_t""no" 1>&6
18452 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18453 echo "configure:18454: checking for ldexpl declaration" >&5
18454 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18455 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18456 echo $ac_n "(cached) $ac_c" 1>&6
18461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18462 ac_cpp='$CXXCPP $CPPFLAGS'
18463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18465 cross_compiling=$ac_cv_prog_cxx_cross
18467 cat > conftest.$ac_ext <<EOF
18468 #line 18469 "configure"
18469 #include "confdefs.h"
18475 if { (eval echo configure:18476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18477 glibcpp_cv_func_ldexpl_use=yes
18479 echo "configure: failed program was:" >&5
18480 cat conftest.$ac_ext >&5
18482 glibcpp_cv_func_ldexpl_use=no
18486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18487 ac_cpp='$CPP $CPPFLAGS'
18488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18490 cross_compiling=$ac_cv_prog_cc_cross
18496 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18498 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18499 for ac_func in ldexpl
18501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18502 echo "configure:18503: checking for $ac_func" >&5
18503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18504 echo $ac_n "(cached) $ac_c" 1>&6
18506 cat > conftest.$ac_ext <<EOF
18507 #line 18508 "configure"
18508 #include "confdefs.h"
18509 /* System header to define __stub macros and hopefully few prototypes,
18510 which can conflict with char $ac_func(); below. */
18511 #include <assert.h>
18512 /* Override any gcc2 internal prototype to avoid an error. */
18513 /* We use char because int might match the return type of a gcc2
18514 builtin and then its argument prototype would still apply. */
18519 /* The GNU C library defines this for functions which it implements
18520 to always fail with ENOSYS. Some functions are actually named
18521 something starting with __ and the normal name is an alias. */
18522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18530 if { (eval echo configure:18531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18532 eval "ac_cv_func_$ac_func=yes"
18534 echo "configure: failed program was:" >&5
18535 cat conftest.$ac_ext >&5
18537 eval "ac_cv_func_$ac_func=no"
18542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18543 echo "$ac_t""yes" 1>&6
18544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18545 cat >> confdefs.h <<EOF
18546 #define $ac_tr_func 1
18550 echo "$ac_t""no" 1>&6
18556 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18557 echo "configure:18558: checking for _ldexpl declaration" >&5
18558 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18559 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18560 echo $ac_n "(cached) $ac_c" 1>&6
18565 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18566 ac_cpp='$CXXCPP $CPPFLAGS'
18567 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18568 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18569 cross_compiling=$ac_cv_prog_cxx_cross
18571 cat > conftest.$ac_ext <<EOF
18572 #line 18573 "configure"
18573 #include "confdefs.h"
18579 if { (eval echo configure:18580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18581 glibcpp_cv_func__ldexpl_use=yes
18583 echo "configure: failed program was:" >&5
18584 cat conftest.$ac_ext >&5
18586 glibcpp_cv_func__ldexpl_use=no
18590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18591 ac_cpp='$CPP $CPPFLAGS'
18592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18594 cross_compiling=$ac_cv_prog_cc_cross
18600 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18602 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18603 for ac_func in _ldexpl
18605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18606 echo "configure:18607: checking for $ac_func" >&5
18607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18608 echo $ac_n "(cached) $ac_c" 1>&6
18610 cat > conftest.$ac_ext <<EOF
18611 #line 18612 "configure"
18612 #include "confdefs.h"
18613 /* System header to define __stub macros and hopefully few prototypes,
18614 which can conflict with char $ac_func(); below. */
18615 #include <assert.h>
18616 /* Override any gcc2 internal prototype to avoid an error. */
18617 /* We use char because int might match the return type of a gcc2
18618 builtin and then its argument prototype would still apply. */
18623 /* The GNU C library defines this for functions which it implements
18624 to always fail with ENOSYS. Some functions are actually named
18625 something starting with __ and the normal name is an alias. */
18626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18634 if { (eval echo configure:18635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18636 eval "ac_cv_func_$ac_func=yes"
18638 echo "configure: failed program was:" >&5
18639 cat conftest.$ac_ext >&5
18641 eval "ac_cv_func_$ac_func=no"
18646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18647 echo "$ac_t""yes" 1>&6
18648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18649 cat >> confdefs.h <<EOF
18650 #define $ac_tr_func 1
18654 echo "$ac_t""no" 1>&6
18663 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18664 echo "configure:18665: checking for logl declaration" >&5
18665 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18666 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18667 echo $ac_n "(cached) $ac_c" 1>&6
18672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18673 ac_cpp='$CXXCPP $CPPFLAGS'
18674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18676 cross_compiling=$ac_cv_prog_cxx_cross
18678 cat > conftest.$ac_ext <<EOF
18679 #line 18680 "configure"
18680 #include "confdefs.h"
18682 #ifdef HAVE_IEEEFP_H
18683 #include <ieeefp.h>
18690 if { (eval echo configure:18691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18692 glibcpp_cv_func_logl_use=yes
18694 echo "configure: failed program was:" >&5
18695 cat conftest.$ac_ext >&5
18697 glibcpp_cv_func_logl_use=no
18701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18702 ac_cpp='$CPP $CPPFLAGS'
18703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18705 cross_compiling=$ac_cv_prog_cc_cross
18711 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18713 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18714 for ac_func in logl
18716 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18717 echo "configure:18718: checking for $ac_func" >&5
18718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18719 echo $ac_n "(cached) $ac_c" 1>&6
18721 cat > conftest.$ac_ext <<EOF
18722 #line 18723 "configure"
18723 #include "confdefs.h"
18724 /* System header to define __stub macros and hopefully few prototypes,
18725 which can conflict with char $ac_func(); below. */
18726 #include <assert.h>
18727 /* Override any gcc2 internal prototype to avoid an error. */
18728 /* We use char because int might match the return type of a gcc2
18729 builtin and then its argument prototype would still apply. */
18734 /* The GNU C library defines this for functions which it implements
18735 to always fail with ENOSYS. Some functions are actually named
18736 something starting with __ and the normal name is an alias. */
18737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18745 if { (eval echo configure:18746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18747 eval "ac_cv_func_$ac_func=yes"
18749 echo "configure: failed program was:" >&5
18750 cat conftest.$ac_ext >&5
18752 eval "ac_cv_func_$ac_func=no"
18757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18758 echo "$ac_t""yes" 1>&6
18759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18760 cat >> confdefs.h <<EOF
18761 #define $ac_tr_func 1
18765 echo "$ac_t""no" 1>&6
18771 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18772 echo "configure:18773: checking for _logl declaration" >&5
18773 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18774 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18775 echo $ac_n "(cached) $ac_c" 1>&6
18780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18781 ac_cpp='$CXXCPP $CPPFLAGS'
18782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18784 cross_compiling=$ac_cv_prog_cxx_cross
18786 cat > conftest.$ac_ext <<EOF
18787 #line 18788 "configure"
18788 #include "confdefs.h"
18790 #ifdef HAVE_IEEEFP_H
18791 #include <ieeefp.h>
18798 if { (eval echo configure:18799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18800 glibcpp_cv_func__logl_use=yes
18802 echo "configure: failed program was:" >&5
18803 cat conftest.$ac_ext >&5
18805 glibcpp_cv_func__logl_use=no
18809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18810 ac_cpp='$CPP $CPPFLAGS'
18811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18813 cross_compiling=$ac_cv_prog_cc_cross
18819 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18821 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18822 for ac_func in _logl
18824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18825 echo "configure:18826: checking for $ac_func" >&5
18826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18827 echo $ac_n "(cached) $ac_c" 1>&6
18829 cat > conftest.$ac_ext <<EOF
18830 #line 18831 "configure"
18831 #include "confdefs.h"
18832 /* System header to define __stub macros and hopefully few prototypes,
18833 which can conflict with char $ac_func(); below. */
18834 #include <assert.h>
18835 /* Override any gcc2 internal prototype to avoid an error. */
18836 /* We use char because int might match the return type of a gcc2
18837 builtin and then its argument prototype would still apply. */
18842 /* The GNU C library defines this for functions which it implements
18843 to always fail with ENOSYS. Some functions are actually named
18844 something starting with __ and the normal name is an alias. */
18845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18853 if { (eval echo configure:18854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18855 eval "ac_cv_func_$ac_func=yes"
18857 echo "configure: failed program was:" >&5
18858 cat conftest.$ac_ext >&5
18860 eval "ac_cv_func_$ac_func=no"
18865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18866 echo "$ac_t""yes" 1>&6
18867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18868 cat >> confdefs.h <<EOF
18869 #define $ac_tr_func 1
18873 echo "$ac_t""no" 1>&6
18882 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18883 echo "configure:18884: checking for log10l declaration" >&5
18884 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18885 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18886 echo $ac_n "(cached) $ac_c" 1>&6
18891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18892 ac_cpp='$CXXCPP $CPPFLAGS'
18893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18895 cross_compiling=$ac_cv_prog_cxx_cross
18897 cat > conftest.$ac_ext <<EOF
18898 #line 18899 "configure"
18899 #include "confdefs.h"
18901 #ifdef HAVE_IEEEFP_H
18902 #include <ieeefp.h>
18909 if { (eval echo configure:18910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18911 glibcpp_cv_func_log10l_use=yes
18913 echo "configure: failed program was:" >&5
18914 cat conftest.$ac_ext >&5
18916 glibcpp_cv_func_log10l_use=no
18920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18921 ac_cpp='$CPP $CPPFLAGS'
18922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18924 cross_compiling=$ac_cv_prog_cc_cross
18930 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18932 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18933 for ac_func in log10l
18935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18936 echo "configure:18937: checking for $ac_func" >&5
18937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18938 echo $ac_n "(cached) $ac_c" 1>&6
18940 cat > conftest.$ac_ext <<EOF
18941 #line 18942 "configure"
18942 #include "confdefs.h"
18943 /* System header to define __stub macros and hopefully few prototypes,
18944 which can conflict with char $ac_func(); below. */
18945 #include <assert.h>
18946 /* Override any gcc2 internal prototype to avoid an error. */
18947 /* We use char because int might match the return type of a gcc2
18948 builtin and then its argument prototype would still apply. */
18953 /* The GNU C library defines this for functions which it implements
18954 to always fail with ENOSYS. Some functions are actually named
18955 something starting with __ and the normal name is an alias. */
18956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18964 if { (eval echo configure:18965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18966 eval "ac_cv_func_$ac_func=yes"
18968 echo "configure: failed program was:" >&5
18969 cat conftest.$ac_ext >&5
18971 eval "ac_cv_func_$ac_func=no"
18976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18977 echo "$ac_t""yes" 1>&6
18978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18979 cat >> confdefs.h <<EOF
18980 #define $ac_tr_func 1
18984 echo "$ac_t""no" 1>&6
18990 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18991 echo "configure:18992: checking for _log10l declaration" >&5
18992 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18993 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18994 echo $ac_n "(cached) $ac_c" 1>&6
18999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19000 ac_cpp='$CXXCPP $CPPFLAGS'
19001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19003 cross_compiling=$ac_cv_prog_cxx_cross
19005 cat > conftest.$ac_ext <<EOF
19006 #line 19007 "configure"
19007 #include "confdefs.h"
19009 #ifdef HAVE_IEEEFP_H
19010 #include <ieeefp.h>
19017 if { (eval echo configure:19018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19019 glibcpp_cv_func__log10l_use=yes
19021 echo "configure: failed program was:" >&5
19022 cat conftest.$ac_ext >&5
19024 glibcpp_cv_func__log10l_use=no
19028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19029 ac_cpp='$CPP $CPPFLAGS'
19030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19032 cross_compiling=$ac_cv_prog_cc_cross
19038 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
19040 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
19041 for ac_func in _log10l
19043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19044 echo "configure:19045: checking for $ac_func" >&5
19045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19046 echo $ac_n "(cached) $ac_c" 1>&6
19048 cat > conftest.$ac_ext <<EOF
19049 #line 19050 "configure"
19050 #include "confdefs.h"
19051 /* System header to define __stub macros and hopefully few prototypes,
19052 which can conflict with char $ac_func(); below. */
19053 #include <assert.h>
19054 /* Override any gcc2 internal prototype to avoid an error. */
19055 /* We use char because int might match the return type of a gcc2
19056 builtin and then its argument prototype would still apply. */
19061 /* The GNU C library defines this for functions which it implements
19062 to always fail with ENOSYS. Some functions are actually named
19063 something starting with __ and the normal name is an alias. */
19064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19072 if { (eval echo configure:19073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19074 eval "ac_cv_func_$ac_func=yes"
19076 echo "configure: failed program was:" >&5
19077 cat conftest.$ac_ext >&5
19079 eval "ac_cv_func_$ac_func=no"
19084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19085 echo "$ac_t""yes" 1>&6
19086 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19087 cat >> confdefs.h <<EOF
19088 #define $ac_tr_func 1
19092 echo "$ac_t""no" 1>&6
19101 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
19102 echo "configure:19103: checking for modfl declaration" >&5
19103 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
19104 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
19105 echo $ac_n "(cached) $ac_c" 1>&6
19110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19111 ac_cpp='$CXXCPP $CPPFLAGS'
19112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19114 cross_compiling=$ac_cv_prog_cxx_cross
19116 cat > conftest.$ac_ext <<EOF
19117 #line 19118 "configure"
19118 #include "confdefs.h"
19124 if { (eval echo configure:19125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19126 glibcpp_cv_func_modfl_use=yes
19128 echo "configure: failed program was:" >&5
19129 cat conftest.$ac_ext >&5
19131 glibcpp_cv_func_modfl_use=no
19135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19136 ac_cpp='$CPP $CPPFLAGS'
19137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19139 cross_compiling=$ac_cv_prog_cc_cross
19145 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
19147 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
19148 for ac_func in modfl
19150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19151 echo "configure:19152: checking for $ac_func" >&5
19152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19153 echo $ac_n "(cached) $ac_c" 1>&6
19155 cat > conftest.$ac_ext <<EOF
19156 #line 19157 "configure"
19157 #include "confdefs.h"
19158 /* System header to define __stub macros and hopefully few prototypes,
19159 which can conflict with char $ac_func(); below. */
19160 #include <assert.h>
19161 /* Override any gcc2 internal prototype to avoid an error. */
19162 /* We use char because int might match the return type of a gcc2
19163 builtin and then its argument prototype would still apply. */
19168 /* The GNU C library defines this for functions which it implements
19169 to always fail with ENOSYS. Some functions are actually named
19170 something starting with __ and the normal name is an alias. */
19171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19179 if { (eval echo configure:19180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19181 eval "ac_cv_func_$ac_func=yes"
19183 echo "configure: failed program was:" >&5
19184 cat conftest.$ac_ext >&5
19186 eval "ac_cv_func_$ac_func=no"
19191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19192 echo "$ac_t""yes" 1>&6
19193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19194 cat >> confdefs.h <<EOF
19195 #define $ac_tr_func 1
19199 echo "$ac_t""no" 1>&6
19205 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
19206 echo "configure:19207: checking for _modfl declaration" >&5
19207 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19208 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19209 echo $ac_n "(cached) $ac_c" 1>&6
19214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19215 ac_cpp='$CXXCPP $CPPFLAGS'
19216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19218 cross_compiling=$ac_cv_prog_cxx_cross
19220 cat > conftest.$ac_ext <<EOF
19221 #line 19222 "configure"
19222 #include "confdefs.h"
19228 if { (eval echo configure:19229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19230 glibcpp_cv_func__modfl_use=yes
19232 echo "configure: failed program was:" >&5
19233 cat conftest.$ac_ext >&5
19235 glibcpp_cv_func__modfl_use=no
19239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19240 ac_cpp='$CPP $CPPFLAGS'
19241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19243 cross_compiling=$ac_cv_prog_cc_cross
19249 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19251 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19252 for ac_func in _modfl
19254 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19255 echo "configure:19256: checking for $ac_func" >&5
19256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19257 echo $ac_n "(cached) $ac_c" 1>&6
19259 cat > conftest.$ac_ext <<EOF
19260 #line 19261 "configure"
19261 #include "confdefs.h"
19262 /* System header to define __stub macros and hopefully few prototypes,
19263 which can conflict with char $ac_func(); below. */
19264 #include <assert.h>
19265 /* Override any gcc2 internal prototype to avoid an error. */
19266 /* We use char because int might match the return type of a gcc2
19267 builtin and then its argument prototype would still apply. */
19272 /* The GNU C library defines this for functions which it implements
19273 to always fail with ENOSYS. Some functions are actually named
19274 something starting with __ and the normal name is an alias. */
19275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19283 if { (eval echo configure:19284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19285 eval "ac_cv_func_$ac_func=yes"
19287 echo "configure: failed program was:" >&5
19288 cat conftest.$ac_ext >&5
19290 eval "ac_cv_func_$ac_func=no"
19295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19296 echo "$ac_t""yes" 1>&6
19297 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19298 cat >> confdefs.h <<EOF
19299 #define $ac_tr_func 1
19303 echo "$ac_t""no" 1>&6
19312 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19313 echo "configure:19314: checking for powl declaration" >&5
19314 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19315 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19316 echo $ac_n "(cached) $ac_c" 1>&6
19321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19322 ac_cpp='$CXXCPP $CPPFLAGS'
19323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19325 cross_compiling=$ac_cv_prog_cxx_cross
19327 cat > conftest.$ac_ext <<EOF
19328 #line 19329 "configure"
19329 #include "confdefs.h"
19335 if { (eval echo configure:19336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19337 glibcpp_cv_func_powl_use=yes
19339 echo "configure: failed program was:" >&5
19340 cat conftest.$ac_ext >&5
19342 glibcpp_cv_func_powl_use=no
19346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19347 ac_cpp='$CPP $CPPFLAGS'
19348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19350 cross_compiling=$ac_cv_prog_cc_cross
19356 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19358 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19359 for ac_func in powl
19361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19362 echo "configure:19363: checking for $ac_func" >&5
19363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19364 echo $ac_n "(cached) $ac_c" 1>&6
19366 cat > conftest.$ac_ext <<EOF
19367 #line 19368 "configure"
19368 #include "confdefs.h"
19369 /* System header to define __stub macros and hopefully few prototypes,
19370 which can conflict with char $ac_func(); below. */
19371 #include <assert.h>
19372 /* Override any gcc2 internal prototype to avoid an error. */
19373 /* We use char because int might match the return type of a gcc2
19374 builtin and then its argument prototype would still apply. */
19379 /* The GNU C library defines this for functions which it implements
19380 to always fail with ENOSYS. Some functions are actually named
19381 something starting with __ and the normal name is an alias. */
19382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19390 if { (eval echo configure:19391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19392 eval "ac_cv_func_$ac_func=yes"
19394 echo "configure: failed program was:" >&5
19395 cat conftest.$ac_ext >&5
19397 eval "ac_cv_func_$ac_func=no"
19402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19403 echo "$ac_t""yes" 1>&6
19404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19405 cat >> confdefs.h <<EOF
19406 #define $ac_tr_func 1
19410 echo "$ac_t""no" 1>&6
19416 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19417 echo "configure:19418: checking for _powl declaration" >&5
19418 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19419 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19420 echo $ac_n "(cached) $ac_c" 1>&6
19425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19426 ac_cpp='$CXXCPP $CPPFLAGS'
19427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19429 cross_compiling=$ac_cv_prog_cxx_cross
19431 cat > conftest.$ac_ext <<EOF
19432 #line 19433 "configure"
19433 #include "confdefs.h"
19439 if { (eval echo configure:19440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19441 glibcpp_cv_func__powl_use=yes
19443 echo "configure: failed program was:" >&5
19444 cat conftest.$ac_ext >&5
19446 glibcpp_cv_func__powl_use=no
19450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19451 ac_cpp='$CPP $CPPFLAGS'
19452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19454 cross_compiling=$ac_cv_prog_cc_cross
19460 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19462 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19463 for ac_func in _powl
19465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19466 echo "configure:19467: checking for $ac_func" >&5
19467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19468 echo $ac_n "(cached) $ac_c" 1>&6
19470 cat > conftest.$ac_ext <<EOF
19471 #line 19472 "configure"
19472 #include "confdefs.h"
19473 /* System header to define __stub macros and hopefully few prototypes,
19474 which can conflict with char $ac_func(); below. */
19475 #include <assert.h>
19476 /* Override any gcc2 internal prototype to avoid an error. */
19477 /* We use char because int might match the return type of a gcc2
19478 builtin and then its argument prototype would still apply. */
19483 /* The GNU C library defines this for functions which it implements
19484 to always fail with ENOSYS. Some functions are actually named
19485 something starting with __ and the normal name is an alias. */
19486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19494 if { (eval echo configure:19495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19496 eval "ac_cv_func_$ac_func=yes"
19498 echo "configure: failed program was:" >&5
19499 cat conftest.$ac_ext >&5
19501 eval "ac_cv_func_$ac_func=no"
19506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19507 echo "$ac_t""yes" 1>&6
19508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19509 cat >> confdefs.h <<EOF
19510 #define $ac_tr_func 1
19514 echo "$ac_t""no" 1>&6
19523 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19524 echo "configure:19525: checking for sqrtl declaration" >&5
19525 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19526 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19527 echo $ac_n "(cached) $ac_c" 1>&6
19532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19533 ac_cpp='$CXXCPP $CPPFLAGS'
19534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19536 cross_compiling=$ac_cv_prog_cxx_cross
19538 cat > conftest.$ac_ext <<EOF
19539 #line 19540 "configure"
19540 #include "confdefs.h"
19542 #ifdef HAVE_IEEEFP_H
19543 #include <ieeefp.h>
19550 if { (eval echo configure:19551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19552 glibcpp_cv_func_sqrtl_use=yes
19554 echo "configure: failed program was:" >&5
19555 cat conftest.$ac_ext >&5
19557 glibcpp_cv_func_sqrtl_use=no
19561 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19562 ac_cpp='$CPP $CPPFLAGS'
19563 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19564 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19565 cross_compiling=$ac_cv_prog_cc_cross
19571 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19573 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19574 for ac_func in sqrtl
19576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19577 echo "configure:19578: checking for $ac_func" >&5
19578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19579 echo $ac_n "(cached) $ac_c" 1>&6
19581 cat > conftest.$ac_ext <<EOF
19582 #line 19583 "configure"
19583 #include "confdefs.h"
19584 /* System header to define __stub macros and hopefully few prototypes,
19585 which can conflict with char $ac_func(); below. */
19586 #include <assert.h>
19587 /* Override any gcc2 internal prototype to avoid an error. */
19588 /* We use char because int might match the return type of a gcc2
19589 builtin and then its argument prototype would still apply. */
19594 /* The GNU C library defines this for functions which it implements
19595 to always fail with ENOSYS. Some functions are actually named
19596 something starting with __ and the normal name is an alias. */
19597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19605 if { (eval echo configure:19606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19607 eval "ac_cv_func_$ac_func=yes"
19609 echo "configure: failed program was:" >&5
19610 cat conftest.$ac_ext >&5
19612 eval "ac_cv_func_$ac_func=no"
19617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19618 echo "$ac_t""yes" 1>&6
19619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19620 cat >> confdefs.h <<EOF
19621 #define $ac_tr_func 1
19625 echo "$ac_t""no" 1>&6
19631 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19632 echo "configure:19633: checking for _sqrtl declaration" >&5
19633 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19634 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19635 echo $ac_n "(cached) $ac_c" 1>&6
19640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19641 ac_cpp='$CXXCPP $CPPFLAGS'
19642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19644 cross_compiling=$ac_cv_prog_cxx_cross
19646 cat > conftest.$ac_ext <<EOF
19647 #line 19648 "configure"
19648 #include "confdefs.h"
19650 #ifdef HAVE_IEEEFP_H
19651 #include <ieeefp.h>
19658 if { (eval echo configure:19659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19660 glibcpp_cv_func__sqrtl_use=yes
19662 echo "configure: failed program was:" >&5
19663 cat conftest.$ac_ext >&5
19665 glibcpp_cv_func__sqrtl_use=no
19669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19670 ac_cpp='$CPP $CPPFLAGS'
19671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19673 cross_compiling=$ac_cv_prog_cc_cross
19679 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19681 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19682 for ac_func in _sqrtl
19684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19685 echo "configure:19686: checking for $ac_func" >&5
19686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19687 echo $ac_n "(cached) $ac_c" 1>&6
19689 cat > conftest.$ac_ext <<EOF
19690 #line 19691 "configure"
19691 #include "confdefs.h"
19692 /* System header to define __stub macros and hopefully few prototypes,
19693 which can conflict with char $ac_func(); below. */
19694 #include <assert.h>
19695 /* Override any gcc2 internal prototype to avoid an error. */
19696 /* We use char because int might match the return type of a gcc2
19697 builtin and then its argument prototype would still apply. */
19702 /* The GNU C library defines this for functions which it implements
19703 to always fail with ENOSYS. Some functions are actually named
19704 something starting with __ and the normal name is an alias. */
19705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19713 if { (eval echo configure:19714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19715 eval "ac_cv_func_$ac_func=yes"
19717 echo "configure: failed program was:" >&5
19718 cat conftest.$ac_ext >&5
19720 eval "ac_cv_func_$ac_func=no"
19725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19726 echo "$ac_t""yes" 1>&6
19727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19728 cat >> confdefs.h <<EOF
19729 #define $ac_tr_func 1
19733 echo "$ac_t""no" 1>&6
19742 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19743 echo "configure:19744: checking for sincosl declaration" >&5
19744 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19745 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19746 echo $ac_n "(cached) $ac_c" 1>&6
19751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19752 ac_cpp='$CXXCPP $CPPFLAGS'
19753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19755 cross_compiling=$ac_cv_prog_cxx_cross
19757 cat > conftest.$ac_ext <<EOF
19758 #line 19759 "configure"
19759 #include "confdefs.h"
19765 if { (eval echo configure:19766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19767 glibcpp_cv_func_sincosl_use=yes
19769 echo "configure: failed program was:" >&5
19770 cat conftest.$ac_ext >&5
19772 glibcpp_cv_func_sincosl_use=no
19776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19777 ac_cpp='$CPP $CPPFLAGS'
19778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19780 cross_compiling=$ac_cv_prog_cc_cross
19786 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19788 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19789 for ac_func in sincosl
19791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19792 echo "configure:19793: checking for $ac_func" >&5
19793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19794 echo $ac_n "(cached) $ac_c" 1>&6
19796 cat > conftest.$ac_ext <<EOF
19797 #line 19798 "configure"
19798 #include "confdefs.h"
19799 /* System header to define __stub macros and hopefully few prototypes,
19800 which can conflict with char $ac_func(); below. */
19801 #include <assert.h>
19802 /* Override any gcc2 internal prototype to avoid an error. */
19803 /* We use char because int might match the return type of a gcc2
19804 builtin and then its argument prototype would still apply. */
19809 /* The GNU C library defines this for functions which it implements
19810 to always fail with ENOSYS. Some functions are actually named
19811 something starting with __ and the normal name is an alias. */
19812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19820 if { (eval echo configure:19821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19822 eval "ac_cv_func_$ac_func=yes"
19824 echo "configure: failed program was:" >&5
19825 cat conftest.$ac_ext >&5
19827 eval "ac_cv_func_$ac_func=no"
19832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19833 echo "$ac_t""yes" 1>&6
19834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19835 cat >> confdefs.h <<EOF
19836 #define $ac_tr_func 1
19840 echo "$ac_t""no" 1>&6
19846 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19847 echo "configure:19848: checking for _sincosl declaration" >&5
19848 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19849 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19850 echo $ac_n "(cached) $ac_c" 1>&6
19855 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19856 ac_cpp='$CXXCPP $CPPFLAGS'
19857 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19858 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19859 cross_compiling=$ac_cv_prog_cxx_cross
19861 cat > conftest.$ac_ext <<EOF
19862 #line 19863 "configure"
19863 #include "confdefs.h"
19869 if { (eval echo configure:19870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19871 glibcpp_cv_func__sincosl_use=yes
19873 echo "configure: failed program was:" >&5
19874 cat conftest.$ac_ext >&5
19876 glibcpp_cv_func__sincosl_use=no
19880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19881 ac_cpp='$CPP $CPPFLAGS'
19882 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19883 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19884 cross_compiling=$ac_cv_prog_cc_cross
19890 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19892 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19893 for ac_func in _sincosl
19895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19896 echo "configure:19897: checking for $ac_func" >&5
19897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19898 echo $ac_n "(cached) $ac_c" 1>&6
19900 cat > conftest.$ac_ext <<EOF
19901 #line 19902 "configure"
19902 #include "confdefs.h"
19903 /* System header to define __stub macros and hopefully few prototypes,
19904 which can conflict with char $ac_func(); below. */
19905 #include <assert.h>
19906 /* Override any gcc2 internal prototype to avoid an error. */
19907 /* We use char because int might match the return type of a gcc2
19908 builtin and then its argument prototype would still apply. */
19913 /* The GNU C library defines this for functions which it implements
19914 to always fail with ENOSYS. Some functions are actually named
19915 something starting with __ and the normal name is an alias. */
19916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19924 if { (eval echo configure:19925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19926 eval "ac_cv_func_$ac_func=yes"
19928 echo "configure: failed program was:" >&5
19929 cat conftest.$ac_ext >&5
19931 eval "ac_cv_func_$ac_func=no"
19936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19937 echo "$ac_t""yes" 1>&6
19938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19939 cat >> confdefs.h <<EOF
19940 #define $ac_tr_func 1
19944 echo "$ac_t""no" 1>&6
19953 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19954 echo "configure:19955: checking for finitel declaration" >&5
19955 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19956 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19957 echo $ac_n "(cached) $ac_c" 1>&6
19962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19963 ac_cpp='$CXXCPP $CPPFLAGS'
19964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19966 cross_compiling=$ac_cv_prog_cxx_cross
19968 cat > conftest.$ac_ext <<EOF
19969 #line 19970 "configure"
19970 #include "confdefs.h"
19972 #ifdef HAVE_IEEEFP_H
19973 #include <ieeefp.h>
19980 if { (eval echo configure:19981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19982 glibcpp_cv_func_finitel_use=yes
19984 echo "configure: failed program was:" >&5
19985 cat conftest.$ac_ext >&5
19987 glibcpp_cv_func_finitel_use=no
19991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19992 ac_cpp='$CPP $CPPFLAGS'
19993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19995 cross_compiling=$ac_cv_prog_cc_cross
20001 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
20003 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
20004 for ac_func in finitel
20006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20007 echo "configure:20008: checking for $ac_func" >&5
20008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20009 echo $ac_n "(cached) $ac_c" 1>&6
20011 cat > conftest.$ac_ext <<EOF
20012 #line 20013 "configure"
20013 #include "confdefs.h"
20014 /* System header to define __stub macros and hopefully few prototypes,
20015 which can conflict with char $ac_func(); below. */
20016 #include <assert.h>
20017 /* Override any gcc2 internal prototype to avoid an error. */
20018 /* We use char because int might match the return type of a gcc2
20019 builtin and then its argument prototype would still apply. */
20024 /* The GNU C library defines this for functions which it implements
20025 to always fail with ENOSYS. Some functions are actually named
20026 something starting with __ and the normal name is an alias. */
20027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20035 if { (eval echo configure:20036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20037 eval "ac_cv_func_$ac_func=yes"
20039 echo "configure: failed program was:" >&5
20040 cat conftest.$ac_ext >&5
20042 eval "ac_cv_func_$ac_func=no"
20047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20048 echo "$ac_t""yes" 1>&6
20049 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20050 cat >> confdefs.h <<EOF
20051 #define $ac_tr_func 1
20055 echo "$ac_t""no" 1>&6
20061 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
20062 echo "configure:20063: checking for _finitel declaration" >&5
20063 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
20064 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
20065 echo $ac_n "(cached) $ac_c" 1>&6
20070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20071 ac_cpp='$CXXCPP $CPPFLAGS'
20072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20074 cross_compiling=$ac_cv_prog_cxx_cross
20076 cat > conftest.$ac_ext <<EOF
20077 #line 20078 "configure"
20078 #include "confdefs.h"
20080 #ifdef HAVE_IEEEFP_H
20081 #include <ieeefp.h>
20088 if { (eval echo configure:20089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20090 glibcpp_cv_func__finitel_use=yes
20092 echo "configure: failed program was:" >&5
20093 cat conftest.$ac_ext >&5
20095 glibcpp_cv_func__finitel_use=no
20099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20100 ac_cpp='$CPP $CPPFLAGS'
20101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20103 cross_compiling=$ac_cv_prog_cc_cross
20109 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
20111 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
20112 for ac_func in _finitel
20114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20115 echo "configure:20116: checking for $ac_func" >&5
20116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20117 echo $ac_n "(cached) $ac_c" 1>&6
20119 cat > conftest.$ac_ext <<EOF
20120 #line 20121 "configure"
20121 #include "confdefs.h"
20122 /* System header to define __stub macros and hopefully few prototypes,
20123 which can conflict with char $ac_func(); below. */
20124 #include <assert.h>
20125 /* Override any gcc2 internal prototype to avoid an error. */
20126 /* We use char because int might match the return type of a gcc2
20127 builtin and then its argument prototype would still apply. */
20132 /* The GNU C library defines this for functions which it implements
20133 to always fail with ENOSYS. Some functions are actually named
20134 something starting with __ and the normal name is an alias. */
20135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20143 if { (eval echo configure:20144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20145 eval "ac_cv_func_$ac_func=yes"
20147 echo "configure: failed program was:" >&5
20148 cat conftest.$ac_ext >&5
20150 eval "ac_cv_func_$ac_func=no"
20155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20156 echo "$ac_t""yes" 1>&6
20157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20158 cat >> confdefs.h <<EOF
20159 #define $ac_tr_func 1
20163 echo "$ac_t""no" 1>&6
20173 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
20174 echo "configure:20175: checking for _float trig functions" >&5
20175 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
20176 echo $ac_n "(cached) $ac_c" 1>&6
20181 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20182 ac_cpp='$CXXCPP $CPPFLAGS'
20183 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20184 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20185 cross_compiling=$ac_cv_prog_cxx_cross
20187 cat > conftest.$ac_ext <<EOF
20188 #line 20189 "configure"
20189 #include "confdefs.h"
20192 `for x in _acosf _asinf _atanf \
20193 _cosf _sinf _tanf \
20194 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20197 if { (eval echo configure:20198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20199 glibcpp_cv_func__float_trig_use=yes
20201 echo "configure: failed program was:" >&5
20202 cat conftest.$ac_ext >&5
20204 glibcpp_cv_func__float_trig_use=no
20208 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20209 ac_cpp='$CPP $CPPFLAGS'
20210 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20211 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20212 cross_compiling=$ac_cv_prog_cc_cross
20216 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20217 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20218 for ac_func in _acosf _asinf _atanf \
20219 _cosf _sinf _tanf \
20220 _coshf _sinhf _tanhf
20222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20223 echo "configure:20224: checking for $ac_func" >&5
20224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20225 echo $ac_n "(cached) $ac_c" 1>&6
20227 cat > conftest.$ac_ext <<EOF
20228 #line 20229 "configure"
20229 #include "confdefs.h"
20230 /* System header to define __stub macros and hopefully few prototypes,
20231 which can conflict with char $ac_func(); below. */
20232 #include <assert.h>
20233 /* Override any gcc2 internal prototype to avoid an error. */
20234 /* We use char because int might match the return type of a gcc2
20235 builtin and then its argument prototype would still apply. */
20240 /* The GNU C library defines this for functions which it implements
20241 to always fail with ENOSYS. Some functions are actually named
20242 something starting with __ and the normal name is an alias. */
20243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20251 if { (eval echo configure:20252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20253 eval "ac_cv_func_$ac_func=yes"
20255 echo "configure: failed program was:" >&5
20256 cat conftest.$ac_ext >&5
20258 eval "ac_cv_func_$ac_func=no"
20263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20264 echo "$ac_t""yes" 1>&6
20265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20266 cat >> confdefs.h <<EOF
20267 #define $ac_tr_func 1
20271 echo "$ac_t""no" 1>&6
20278 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20279 echo "configure:20280: checking for _float round functions" >&5
20280 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20281 echo $ac_n "(cached) $ac_c" 1>&6
20286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20287 ac_cpp='$CXXCPP $CPPFLAGS'
20288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20290 cross_compiling=$ac_cv_prog_cxx_cross
20292 cat > conftest.$ac_ext <<EOF
20293 #line 20294 "configure"
20294 #include "confdefs.h"
20297 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20300 if { (eval echo configure:20301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20302 glibcpp_cv_func__float_round_use=yes
20304 echo "configure: failed program was:" >&5
20305 cat conftest.$ac_ext >&5
20307 glibcpp_cv_func__float_round_use=no
20311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20312 ac_cpp='$CPP $CPPFLAGS'
20313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20315 cross_compiling=$ac_cv_prog_cc_cross
20319 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20320 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20321 for ac_func in _ceilf _floorf
20323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20324 echo "configure:20325: checking for $ac_func" >&5
20325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20326 echo $ac_n "(cached) $ac_c" 1>&6
20328 cat > conftest.$ac_ext <<EOF
20329 #line 20330 "configure"
20330 #include "confdefs.h"
20331 /* System header to define __stub macros and hopefully few prototypes,
20332 which can conflict with char $ac_func(); below. */
20333 #include <assert.h>
20334 /* Override any gcc2 internal prototype to avoid an error. */
20335 /* We use char because int might match the return type of a gcc2
20336 builtin and then its argument prototype would still apply. */
20341 /* The GNU C library defines this for functions which it implements
20342 to always fail with ENOSYS. Some functions are actually named
20343 something starting with __ and the normal name is an alias. */
20344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20352 if { (eval echo configure:20353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20354 eval "ac_cv_func_$ac_func=yes"
20356 echo "configure: failed program was:" >&5
20357 cat conftest.$ac_ext >&5
20359 eval "ac_cv_func_$ac_func=no"
20364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20365 echo "$ac_t""yes" 1>&6
20366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20367 cat >> confdefs.h <<EOF
20368 #define $ac_tr_func 1
20372 echo "$ac_t""no" 1>&6
20380 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20381 echo "configure:20382: checking for _long double trig functions" >&5
20382 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20383 echo $ac_n "(cached) $ac_c" 1>&6
20388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20389 ac_cpp='$CXXCPP $CPPFLAGS'
20390 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20391 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20392 cross_compiling=$ac_cv_prog_cxx_cross
20394 cat > conftest.$ac_ext <<EOF
20395 #line 20396 "configure"
20396 #include "confdefs.h"
20399 `for x in _acosl _asinl _atanl \
20400 _cosl _sinl _tanl \
20401 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20404 if { (eval echo configure:20405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20406 glibcpp_cv_func__long_double_trig_use=yes
20408 echo "configure: failed program was:" >&5
20409 cat conftest.$ac_ext >&5
20411 glibcpp_cv_func__long_double_trig_use=no
20415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20416 ac_cpp='$CPP $CPPFLAGS'
20417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20419 cross_compiling=$ac_cv_prog_cc_cross
20423 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20424 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20425 for ac_func in _acosl _asinl _atanl \
20426 _cosl _sinl _tanl \
20427 _coshl _sinhl _tanhl
20429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20430 echo "configure:20431: checking for $ac_func" >&5
20431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20432 echo $ac_n "(cached) $ac_c" 1>&6
20434 cat > conftest.$ac_ext <<EOF
20435 #line 20436 "configure"
20436 #include "confdefs.h"
20437 /* System header to define __stub macros and hopefully few prototypes,
20438 which can conflict with char $ac_func(); below. */
20439 #include <assert.h>
20440 /* Override any gcc2 internal prototype to avoid an error. */
20441 /* We use char because int might match the return type of a gcc2
20442 builtin and then its argument prototype would still apply. */
20447 /* The GNU C library defines this for functions which it implements
20448 to always fail with ENOSYS. Some functions are actually named
20449 something starting with __ and the normal name is an alias. */
20450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20458 if { (eval echo configure:20459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20460 eval "ac_cv_func_$ac_func=yes"
20462 echo "configure: failed program was:" >&5
20463 cat conftest.$ac_ext >&5
20465 eval "ac_cv_func_$ac_func=no"
20470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20471 echo "$ac_t""yes" 1>&6
20472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20473 cat >> confdefs.h <<EOF
20474 #define $ac_tr_func 1
20478 echo "$ac_t""no" 1>&6
20485 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20486 echo "configure:20487: checking for _long double round functions" >&5
20487 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20488 echo $ac_n "(cached) $ac_c" 1>&6
20493 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20494 ac_cpp='$CXXCPP $CPPFLAGS'
20495 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20496 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20497 cross_compiling=$ac_cv_prog_cxx_cross
20499 cat > conftest.$ac_ext <<EOF
20500 #line 20501 "configure"
20501 #include "confdefs.h"
20504 `for x in _ceill _floorl; do echo "$x (0);"; done`
20507 if { (eval echo configure:20508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20509 glibcpp_cv_func__long_double_round_use=yes
20511 echo "configure: failed program was:" >&5
20512 cat conftest.$ac_ext >&5
20514 glibcpp_cv_func__long_double_round_use=no
20518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20519 ac_cpp='$CPP $CPPFLAGS'
20520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20522 cross_compiling=$ac_cv_prog_cc_cross
20526 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20527 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20528 for ac_func in _ceill _floorl
20530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20531 echo "configure:20532: checking for $ac_func" >&5
20532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20533 echo $ac_n "(cached) $ac_c" 1>&6
20535 cat > conftest.$ac_ext <<EOF
20536 #line 20537 "configure"
20537 #include "confdefs.h"
20538 /* System header to define __stub macros and hopefully few prototypes,
20539 which can conflict with char $ac_func(); below. */
20540 #include <assert.h>
20541 /* Override any gcc2 internal prototype to avoid an error. */
20542 /* We use char because int might match the return type of a gcc2
20543 builtin and then its argument prototype would still apply. */
20548 /* The GNU C library defines this for functions which it implements
20549 to always fail with ENOSYS. Some functions are actually named
20550 something starting with __ and the normal name is an alias. */
20551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20559 if { (eval echo configure:20560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20561 eval "ac_cv_func_$ac_func=yes"
20563 echo "configure: failed program was:" >&5
20564 cat conftest.$ac_ext >&5
20566 eval "ac_cv_func_$ac_func=no"
20571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20572 echo "$ac_t""yes" 1>&6
20573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20574 cat >> confdefs.h <<EOF
20575 #define $ac_tr_func 1
20579 echo "$ac_t""no" 1>&6
20586 LIBS="$ac_save_LIBS"
20587 CXXFLAGS="$ac_save_CXXFLAGS"
20591 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
20592 echo "configure:20593: checking for __builtin_abs declaration" >&5
20593 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20594 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20595 echo $ac_n "(cached) $ac_c" 1>&6
20600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20601 ac_cpp='$CXXCPP $CPPFLAGS'
20602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20603 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20604 cross_compiling=$ac_cv_prog_cxx_cross
20606 cat > conftest.$ac_ext <<EOF
20607 #line 20608 "configure"
20608 #include "confdefs.h"
20614 if { (eval echo configure:20615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20616 glibcpp_cv_func___builtin_abs_use=yes
20618 echo "configure: failed program was:" >&5
20619 cat conftest.$ac_ext >&5
20621 glibcpp_cv_func___builtin_abs_use=no
20625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20626 ac_cpp='$CPP $CPPFLAGS'
20627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20629 cross_compiling=$ac_cv_prog_cc_cross
20635 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20636 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20637 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
20638 echo "configure:20639: checking for __builtin_abs linkage" >&5
20639 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20640 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20641 echo $ac_n "(cached) $ac_c" 1>&6
20644 cat > conftest.$ac_ext <<EOF
20645 #line 20646 "configure"
20646 #include "confdefs.h"
20652 if { (eval echo configure:20653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20654 glibcpp_cv_func___builtin_abs_link=yes
20656 echo "configure: failed program was:" >&5
20657 cat conftest.$ac_ext >&5
20659 glibcpp_cv_func___builtin_abs_link=no
20666 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20667 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20668 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20669 cat >> confdefs.h <<EOF
20670 #define ${ac_tr_func} 1
20677 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
20678 echo "configure:20679: checking for __builtin_fabsf declaration" >&5
20679 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20680 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20681 echo $ac_n "(cached) $ac_c" 1>&6
20686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20687 ac_cpp='$CXXCPP $CPPFLAGS'
20688 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20689 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20690 cross_compiling=$ac_cv_prog_cxx_cross
20692 cat > conftest.$ac_ext <<EOF
20693 #line 20694 "configure"
20694 #include "confdefs.h"
20697 __builtin_fabsf(0);
20700 if { (eval echo configure:20701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20702 glibcpp_cv_func___builtin_fabsf_use=yes
20704 echo "configure: failed program was:" >&5
20705 cat conftest.$ac_ext >&5
20707 glibcpp_cv_func___builtin_fabsf_use=no
20711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20712 ac_cpp='$CPP $CPPFLAGS'
20713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20715 cross_compiling=$ac_cv_prog_cc_cross
20721 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20722 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20723 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
20724 echo "configure:20725: checking for __builtin_fabsf linkage" >&5
20725 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20726 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20727 echo $ac_n "(cached) $ac_c" 1>&6
20730 cat > conftest.$ac_ext <<EOF
20731 #line 20732 "configure"
20732 #include "confdefs.h"
20735 __builtin_fabsf(0);
20738 if { (eval echo configure:20739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20740 glibcpp_cv_func___builtin_fabsf_link=yes
20742 echo "configure: failed program was:" >&5
20743 cat conftest.$ac_ext >&5
20745 glibcpp_cv_func___builtin_fabsf_link=no
20752 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20753 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20754 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20755 cat >> confdefs.h <<EOF
20756 #define ${ac_tr_func} 1
20763 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
20764 echo "configure:20765: checking for __builtin_fabs declaration" >&5
20765 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20766 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20767 echo $ac_n "(cached) $ac_c" 1>&6
20772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20773 ac_cpp='$CXXCPP $CPPFLAGS'
20774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20776 cross_compiling=$ac_cv_prog_cxx_cross
20778 cat > conftest.$ac_ext <<EOF
20779 #line 20780 "configure"
20780 #include "confdefs.h"
20786 if { (eval echo configure:20787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20788 glibcpp_cv_func___builtin_fabs_use=yes
20790 echo "configure: failed program was:" >&5
20791 cat conftest.$ac_ext >&5
20793 glibcpp_cv_func___builtin_fabs_use=no
20797 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20798 ac_cpp='$CPP $CPPFLAGS'
20799 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20800 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20801 cross_compiling=$ac_cv_prog_cc_cross
20807 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20808 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20809 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
20810 echo "configure:20811: checking for __builtin_fabs linkage" >&5
20811 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20812 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20813 echo $ac_n "(cached) $ac_c" 1>&6
20816 cat > conftest.$ac_ext <<EOF
20817 #line 20818 "configure"
20818 #include "confdefs.h"
20824 if { (eval echo configure:20825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20826 glibcpp_cv_func___builtin_fabs_link=yes
20828 echo "configure: failed program was:" >&5
20829 cat conftest.$ac_ext >&5
20831 glibcpp_cv_func___builtin_fabs_link=no
20838 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20839 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20840 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20841 cat >> confdefs.h <<EOF
20842 #define ${ac_tr_func} 1
20849 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
20850 echo "configure:20851: checking for __builtin_fabsl declaration" >&5
20851 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20852 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20853 echo $ac_n "(cached) $ac_c" 1>&6
20858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20859 ac_cpp='$CXXCPP $CPPFLAGS'
20860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20862 cross_compiling=$ac_cv_prog_cxx_cross
20864 cat > conftest.$ac_ext <<EOF
20865 #line 20866 "configure"
20866 #include "confdefs.h"
20869 __builtin_fabsl(0);
20872 if { (eval echo configure:20873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20874 glibcpp_cv_func___builtin_fabsl_use=yes
20876 echo "configure: failed program was:" >&5
20877 cat conftest.$ac_ext >&5
20879 glibcpp_cv_func___builtin_fabsl_use=no
20883 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20884 ac_cpp='$CPP $CPPFLAGS'
20885 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20886 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20887 cross_compiling=$ac_cv_prog_cc_cross
20893 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20894 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20895 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
20896 echo "configure:20897: checking for __builtin_fabsl linkage" >&5
20897 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20898 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20899 echo $ac_n "(cached) $ac_c" 1>&6
20902 cat > conftest.$ac_ext <<EOF
20903 #line 20904 "configure"
20904 #include "confdefs.h"
20907 __builtin_fabsl(0);
20910 if { (eval echo configure:20911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20912 glibcpp_cv_func___builtin_fabsl_link=yes
20914 echo "configure: failed program was:" >&5
20915 cat conftest.$ac_ext >&5
20917 glibcpp_cv_func___builtin_fabsl_link=no
20924 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20925 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20926 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20927 cat >> confdefs.h <<EOF
20928 #define ${ac_tr_func} 1
20935 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
20936 echo "configure:20937: checking for __builtin_labs declaration" >&5
20937 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20938 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20939 echo $ac_n "(cached) $ac_c" 1>&6
20944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20945 ac_cpp='$CXXCPP $CPPFLAGS'
20946 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20947 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20948 cross_compiling=$ac_cv_prog_cxx_cross
20950 cat > conftest.$ac_ext <<EOF
20951 #line 20952 "configure"
20952 #include "confdefs.h"
20958 if { (eval echo configure:20959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20960 glibcpp_cv_func___builtin_labs_use=yes
20962 echo "configure: failed program was:" >&5
20963 cat conftest.$ac_ext >&5
20965 glibcpp_cv_func___builtin_labs_use=no
20969 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20970 ac_cpp='$CPP $CPPFLAGS'
20971 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20972 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20973 cross_compiling=$ac_cv_prog_cc_cross
20979 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20980 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20981 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
20982 echo "configure:20983: checking for __builtin_labs linkage" >&5
20983 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20984 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20985 echo $ac_n "(cached) $ac_c" 1>&6
20988 cat > conftest.$ac_ext <<EOF
20989 #line 20990 "configure"
20990 #include "confdefs.h"
20996 if { (eval echo configure:20997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20998 glibcpp_cv_func___builtin_labs_link=yes
21000 echo "configure: failed program was:" >&5
21001 cat conftest.$ac_ext >&5
21003 glibcpp_cv_func___builtin_labs_link=no
21010 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
21011 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
21012 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21013 cat >> confdefs.h <<EOF
21014 #define ${ac_tr_func} 1
21022 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
21023 echo "configure:21024: checking for __builtin_sqrtf declaration" >&5
21024 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
21025 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
21026 echo $ac_n "(cached) $ac_c" 1>&6
21031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21032 ac_cpp='$CXXCPP $CPPFLAGS'
21033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21035 cross_compiling=$ac_cv_prog_cxx_cross
21037 cat > conftest.$ac_ext <<EOF
21038 #line 21039 "configure"
21039 #include "confdefs.h"
21042 __builtin_sqrtf(0);
21045 if { (eval echo configure:21046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21047 glibcpp_cv_func___builtin_sqrtf_use=yes
21049 echo "configure: failed program was:" >&5
21050 cat conftest.$ac_ext >&5
21052 glibcpp_cv_func___builtin_sqrtf_use=no
21056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21057 ac_cpp='$CPP $CPPFLAGS'
21058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21060 cross_compiling=$ac_cv_prog_cc_cross
21066 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
21067 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
21068 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
21069 echo "configure:21070: checking for __builtin_sqrtf linkage" >&5
21070 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
21071 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
21072 echo $ac_n "(cached) $ac_c" 1>&6
21075 cat > conftest.$ac_ext <<EOF
21076 #line 21077 "configure"
21077 #include "confdefs.h"
21080 __builtin_sqrtf(0);
21083 if { (eval echo configure:21084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21085 glibcpp_cv_func___builtin_sqrtf_link=yes
21087 echo "configure: failed program was:" >&5
21088 cat conftest.$ac_ext >&5
21090 glibcpp_cv_func___builtin_sqrtf_link=no
21097 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
21098 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
21099 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21100 cat >> confdefs.h <<EOF
21101 #define ${ac_tr_func} 1
21108 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
21109 echo "configure:21110: checking for __builtin_sqrt declaration" >&5
21110 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
21111 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
21112 echo $ac_n "(cached) $ac_c" 1>&6
21117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21118 ac_cpp='$CXXCPP $CPPFLAGS'
21119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21121 cross_compiling=$ac_cv_prog_cxx_cross
21123 cat > conftest.$ac_ext <<EOF
21124 #line 21125 "configure"
21125 #include "confdefs.h"
21131 if { (eval echo configure:21132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21133 glibcpp_cv_func___builtin_sqrt_use=yes
21135 echo "configure: failed program was:" >&5
21136 cat conftest.$ac_ext >&5
21138 glibcpp_cv_func___builtin_sqrt_use=no
21142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21143 ac_cpp='$CPP $CPPFLAGS'
21144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21146 cross_compiling=$ac_cv_prog_cc_cross
21152 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
21153 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
21154 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
21155 echo "configure:21156: checking for __builtin_sqrt linkage" >&5
21156 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
21157 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
21158 echo $ac_n "(cached) $ac_c" 1>&6
21161 cat > conftest.$ac_ext <<EOF
21162 #line 21163 "configure"
21163 #include "confdefs.h"
21169 if { (eval echo configure:21170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21171 glibcpp_cv_func___builtin_sqrt_link=yes
21173 echo "configure: failed program was:" >&5
21174 cat conftest.$ac_ext >&5
21176 glibcpp_cv_func___builtin_sqrt_link=no
21183 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
21184 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
21185 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21186 cat >> confdefs.h <<EOF
21187 #define ${ac_tr_func} 1
21194 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
21195 echo "configure:21196: checking for __builtin_sqrtl declaration" >&5
21196 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
21197 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
21198 echo $ac_n "(cached) $ac_c" 1>&6
21203 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21204 ac_cpp='$CXXCPP $CPPFLAGS'
21205 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21206 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21207 cross_compiling=$ac_cv_prog_cxx_cross
21209 cat > conftest.$ac_ext <<EOF
21210 #line 21211 "configure"
21211 #include "confdefs.h"
21214 __builtin_sqrtl(0);
21217 if { (eval echo configure:21218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21219 glibcpp_cv_func___builtin_sqrtl_use=yes
21221 echo "configure: failed program was:" >&5
21222 cat conftest.$ac_ext >&5
21224 glibcpp_cv_func___builtin_sqrtl_use=no
21228 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21229 ac_cpp='$CPP $CPPFLAGS'
21230 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21231 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21232 cross_compiling=$ac_cv_prog_cc_cross
21238 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
21239 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
21240 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
21241 echo "configure:21242: checking for __builtin_sqrtl linkage" >&5
21242 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
21243 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21244 echo $ac_n "(cached) $ac_c" 1>&6
21247 cat > conftest.$ac_ext <<EOF
21248 #line 21249 "configure"
21249 #include "confdefs.h"
21252 __builtin_sqrtl(0);
21255 if { (eval echo configure:21256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21257 glibcpp_cv_func___builtin_sqrtl_link=yes
21259 echo "configure: failed program was:" >&5
21260 cat conftest.$ac_ext >&5
21262 glibcpp_cv_func___builtin_sqrtl_link=no
21269 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21270 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21271 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21272 cat >> confdefs.h <<EOF
21273 #define ${ac_tr_func} 1
21281 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
21282 echo "configure:21283: checking for __builtin_sinf declaration" >&5
21283 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21284 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21285 echo $ac_n "(cached) $ac_c" 1>&6
21290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21291 ac_cpp='$CXXCPP $CPPFLAGS'
21292 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21293 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21294 cross_compiling=$ac_cv_prog_cxx_cross
21296 cat > conftest.$ac_ext <<EOF
21297 #line 21298 "configure"
21298 #include "confdefs.h"
21304 if { (eval echo configure:21305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21306 glibcpp_cv_func___builtin_sinf_use=yes
21308 echo "configure: failed program was:" >&5
21309 cat conftest.$ac_ext >&5
21311 glibcpp_cv_func___builtin_sinf_use=no
21315 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21316 ac_cpp='$CPP $CPPFLAGS'
21317 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21318 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21319 cross_compiling=$ac_cv_prog_cc_cross
21325 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21326 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21327 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
21328 echo "configure:21329: checking for __builtin_sinf linkage" >&5
21329 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21330 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21331 echo $ac_n "(cached) $ac_c" 1>&6
21334 cat > conftest.$ac_ext <<EOF
21335 #line 21336 "configure"
21336 #include "confdefs.h"
21342 if { (eval echo configure:21343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21344 glibcpp_cv_func___builtin_sinf_link=yes
21346 echo "configure: failed program was:" >&5
21347 cat conftest.$ac_ext >&5
21349 glibcpp_cv_func___builtin_sinf_link=no
21356 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21357 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21358 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21359 cat >> confdefs.h <<EOF
21360 #define ${ac_tr_func} 1
21367 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
21368 echo "configure:21369: checking for __builtin_sin declaration" >&5
21369 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21370 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21371 echo $ac_n "(cached) $ac_c" 1>&6
21376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21377 ac_cpp='$CXXCPP $CPPFLAGS'
21378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21380 cross_compiling=$ac_cv_prog_cxx_cross
21382 cat > conftest.$ac_ext <<EOF
21383 #line 21384 "configure"
21384 #include "confdefs.h"
21390 if { (eval echo configure:21391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21392 glibcpp_cv_func___builtin_sin_use=yes
21394 echo "configure: failed program was:" >&5
21395 cat conftest.$ac_ext >&5
21397 glibcpp_cv_func___builtin_sin_use=no
21401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21402 ac_cpp='$CPP $CPPFLAGS'
21403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21405 cross_compiling=$ac_cv_prog_cc_cross
21411 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21412 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21413 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
21414 echo "configure:21415: checking for __builtin_sin linkage" >&5
21415 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21416 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21417 echo $ac_n "(cached) $ac_c" 1>&6
21420 cat > conftest.$ac_ext <<EOF
21421 #line 21422 "configure"
21422 #include "confdefs.h"
21428 if { (eval echo configure:21429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21430 glibcpp_cv_func___builtin_sin_link=yes
21432 echo "configure: failed program was:" >&5
21433 cat conftest.$ac_ext >&5
21435 glibcpp_cv_func___builtin_sin_link=no
21442 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21443 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21444 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21445 cat >> confdefs.h <<EOF
21446 #define ${ac_tr_func} 1
21453 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
21454 echo "configure:21455: checking for __builtin_sinl declaration" >&5
21455 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21456 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21457 echo $ac_n "(cached) $ac_c" 1>&6
21462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21463 ac_cpp='$CXXCPP $CPPFLAGS'
21464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21466 cross_compiling=$ac_cv_prog_cxx_cross
21468 cat > conftest.$ac_ext <<EOF
21469 #line 21470 "configure"
21470 #include "confdefs.h"
21476 if { (eval echo configure:21477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21478 glibcpp_cv_func___builtin_sinl_use=yes
21480 echo "configure: failed program was:" >&5
21481 cat conftest.$ac_ext >&5
21483 glibcpp_cv_func___builtin_sinl_use=no
21487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21488 ac_cpp='$CPP $CPPFLAGS'
21489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21491 cross_compiling=$ac_cv_prog_cc_cross
21497 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21498 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21499 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
21500 echo "configure:21501: checking for __builtin_sinl linkage" >&5
21501 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21502 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21503 echo $ac_n "(cached) $ac_c" 1>&6
21506 cat > conftest.$ac_ext <<EOF
21507 #line 21508 "configure"
21508 #include "confdefs.h"
21514 if { (eval echo configure:21515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21516 glibcpp_cv_func___builtin_sinl_link=yes
21518 echo "configure: failed program was:" >&5
21519 cat conftest.$ac_ext >&5
21521 glibcpp_cv_func___builtin_sinl_link=no
21528 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21529 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21530 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21531 cat >> confdefs.h <<EOF
21532 #define ${ac_tr_func} 1
21540 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
21541 echo "configure:21542: checking for __builtin_cosf declaration" >&5
21542 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21543 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21544 echo $ac_n "(cached) $ac_c" 1>&6
21549 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21550 ac_cpp='$CXXCPP $CPPFLAGS'
21551 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21552 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21553 cross_compiling=$ac_cv_prog_cxx_cross
21555 cat > conftest.$ac_ext <<EOF
21556 #line 21557 "configure"
21557 #include "confdefs.h"
21563 if { (eval echo configure:21564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21565 glibcpp_cv_func___builtin_cosf_use=yes
21567 echo "configure: failed program was:" >&5
21568 cat conftest.$ac_ext >&5
21570 glibcpp_cv_func___builtin_cosf_use=no
21574 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21575 ac_cpp='$CPP $CPPFLAGS'
21576 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21577 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21578 cross_compiling=$ac_cv_prog_cc_cross
21584 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21585 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21586 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
21587 echo "configure:21588: checking for __builtin_cosf linkage" >&5
21588 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21589 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21590 echo $ac_n "(cached) $ac_c" 1>&6
21593 cat > conftest.$ac_ext <<EOF
21594 #line 21595 "configure"
21595 #include "confdefs.h"
21601 if { (eval echo configure:21602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21603 glibcpp_cv_func___builtin_cosf_link=yes
21605 echo "configure: failed program was:" >&5
21606 cat conftest.$ac_ext >&5
21608 glibcpp_cv_func___builtin_cosf_link=no
21615 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21616 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21617 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21618 cat >> confdefs.h <<EOF
21619 #define ${ac_tr_func} 1
21626 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
21627 echo "configure:21628: checking for __builtin_cos declaration" >&5
21628 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21629 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21630 echo $ac_n "(cached) $ac_c" 1>&6
21635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21636 ac_cpp='$CXXCPP $CPPFLAGS'
21637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21639 cross_compiling=$ac_cv_prog_cxx_cross
21641 cat > conftest.$ac_ext <<EOF
21642 #line 21643 "configure"
21643 #include "confdefs.h"
21649 if { (eval echo configure:21650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21651 glibcpp_cv_func___builtin_cos_use=yes
21653 echo "configure: failed program was:" >&5
21654 cat conftest.$ac_ext >&5
21656 glibcpp_cv_func___builtin_cos_use=no
21660 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21661 ac_cpp='$CPP $CPPFLAGS'
21662 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21663 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21664 cross_compiling=$ac_cv_prog_cc_cross
21670 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21671 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21672 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
21673 echo "configure:21674: checking for __builtin_cos linkage" >&5
21674 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21675 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21676 echo $ac_n "(cached) $ac_c" 1>&6
21679 cat > conftest.$ac_ext <<EOF
21680 #line 21681 "configure"
21681 #include "confdefs.h"
21687 if { (eval echo configure:21688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21689 glibcpp_cv_func___builtin_cos_link=yes
21691 echo "configure: failed program was:" >&5
21692 cat conftest.$ac_ext >&5
21694 glibcpp_cv_func___builtin_cos_link=no
21701 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21702 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21703 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21704 cat >> confdefs.h <<EOF
21705 #define ${ac_tr_func} 1
21712 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
21713 echo "configure:21714: checking for __builtin_cosl declaration" >&5
21714 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21715 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21716 echo $ac_n "(cached) $ac_c" 1>&6
21721 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21722 ac_cpp='$CXXCPP $CPPFLAGS'
21723 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21724 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21725 cross_compiling=$ac_cv_prog_cxx_cross
21727 cat > conftest.$ac_ext <<EOF
21728 #line 21729 "configure"
21729 #include "confdefs.h"
21735 if { (eval echo configure:21736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21737 glibcpp_cv_func___builtin_cosl_use=yes
21739 echo "configure: failed program was:" >&5
21740 cat conftest.$ac_ext >&5
21742 glibcpp_cv_func___builtin_cosl_use=no
21746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21747 ac_cpp='$CPP $CPPFLAGS'
21748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21749 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21750 cross_compiling=$ac_cv_prog_cc_cross
21756 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21757 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21758 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
21759 echo "configure:21760: checking for __builtin_cosl linkage" >&5
21760 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21761 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21762 echo $ac_n "(cached) $ac_c" 1>&6
21765 cat > conftest.$ac_ext <<EOF
21766 #line 21767 "configure"
21767 #include "confdefs.h"
21773 if { (eval echo configure:21774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21775 glibcpp_cv_func___builtin_cosl_link=yes
21777 echo "configure: failed program was:" >&5
21778 cat conftest.$ac_ext >&5
21780 glibcpp_cv_func___builtin_cosl_link=no
21787 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21788 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21789 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21790 cat >> confdefs.h <<EOF
21791 #define ${ac_tr_func} 1
21799 if test x$dummyvar = x"yes"; then
21800 cat >> confdefs.h <<\EOF
21801 #define HAVE___BUILTIN_ABS 1
21804 cat >> confdefs.h <<\EOF
21805 #define HAVE___BUILTIN_LABS 1
21808 cat >> confdefs.h <<\EOF
21809 #define HAVE___BUILTIN_COS 1
21812 cat >> confdefs.h <<\EOF
21813 #define HAVE___BUILTIN_COSF 1
21816 cat >> confdefs.h <<\EOF
21817 #define HAVE___BUILTIN_COSL 1
21820 cat >> confdefs.h <<\EOF
21821 #define HAVE___BUILTIN_FABS 1
21824 cat >> confdefs.h <<\EOF
21825 #define HAVE___BUILTIN_FABSF 1
21828 cat >> confdefs.h <<\EOF
21829 #define HAVE___BUILTIN_FABSL 1
21832 cat >> confdefs.h <<\EOF
21833 #define HAVE___BUILTIN_SIN 1
21836 cat >> confdefs.h <<\EOF
21837 #define HAVE___BUILTIN_SINF 1
21840 cat >> confdefs.h <<\EOF
21841 #define HAVE___BUILTIN_SINL 1
21844 cat >> confdefs.h <<\EOF
21845 #define HAVE___BUILTIN_SQRT 1
21848 cat >> confdefs.h <<\EOF
21849 #define HAVE___BUILTIN_SQRTF 1
21852 cat >> confdefs.h <<\EOF
21853 #define HAVE___BUILTIN_SQRTL 1
21859 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21860 echo "configure:21861: checking for main in -lm" >&5
21861 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21862 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21863 echo $ac_n "(cached) $ac_c" 1>&6
21865 ac_save_LIBS="$LIBS"
21867 cat > conftest.$ac_ext <<EOF
21868 #line 21869 "configure"
21869 #include "confdefs.h"
21875 if { (eval echo configure:21876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21877 eval "ac_cv_lib_$ac_lib_var=yes"
21879 echo "configure: failed program was:" >&5
21880 cat conftest.$ac_ext >&5
21882 eval "ac_cv_lib_$ac_lib_var=no"
21885 LIBS="$ac_save_LIBS"
21888 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21889 echo "$ac_t""yes" 1>&6
21890 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21891 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21892 cat >> confdefs.h <<EOF
21893 #define $ac_tr_lib 1
21899 echo "$ac_t""no" 1>&6
21902 for ac_func in nan copysignf
21904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21905 echo "configure:21906: checking for $ac_func" >&5
21906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21907 echo $ac_n "(cached) $ac_c" 1>&6
21909 cat > conftest.$ac_ext <<EOF
21910 #line 21911 "configure"
21911 #include "confdefs.h"
21912 /* System header to define __stub macros and hopefully few prototypes,
21913 which can conflict with char $ac_func(); below. */
21914 #include <assert.h>
21915 /* Override any gcc2 internal prototype to avoid an error. */
21916 /* We use char because int might match the return type of a gcc2
21917 builtin and then its argument prototype would still apply. */
21922 /* The GNU C library defines this for functions which it implements
21923 to always fail with ENOSYS. Some functions are actually named
21924 something starting with __ and the normal name is an alias. */
21925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21933 if { (eval echo configure:21934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21935 eval "ac_cv_func_$ac_func=yes"
21937 echo "configure: failed program was:" >&5
21938 cat conftest.$ac_ext >&5
21940 eval "ac_cv_func_$ac_func=no"
21945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21946 echo "$ac_t""yes" 1>&6
21947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21948 cat >> confdefs.h <<EOF
21949 #define $ac_tr_func 1
21953 echo "$ac_t""no" 1>&6
21954 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21959 for ac_func in __signbit
21961 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21962 echo "configure:21963: checking for $ac_func" >&5
21963 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21964 echo $ac_n "(cached) $ac_c" 1>&6
21966 cat > conftest.$ac_ext <<EOF
21967 #line 21968 "configure"
21968 #include "confdefs.h"
21969 /* System header to define __stub macros and hopefully few prototypes,
21970 which can conflict with char $ac_func(); below. */
21971 #include <assert.h>
21972 /* Override any gcc2 internal prototype to avoid an error. */
21973 /* We use char because int might match the return type of a gcc2
21974 builtin and then its argument prototype would still apply. */
21979 /* The GNU C library defines this for functions which it implements
21980 to always fail with ENOSYS. Some functions are actually named
21981 something starting with __ and the normal name is an alias. */
21982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21990 if { (eval echo configure:21991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21992 eval "ac_cv_func_$ac_func=yes"
21994 echo "configure: failed program was:" >&5
21995 cat conftest.$ac_ext >&5
21997 eval "ac_cv_func_$ac_func=no"
22002 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22003 echo "$ac_t""yes" 1>&6
22004 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22005 cat >> confdefs.h <<EOF
22006 #define $ac_tr_func 1
22010 echo "$ac_t""no" 1>&6
22011 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
22015 for ac_func in __signbitf
22017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22018 echo "configure:22019: checking for $ac_func" >&5
22019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22020 echo $ac_n "(cached) $ac_c" 1>&6
22022 cat > conftest.$ac_ext <<EOF
22023 #line 22024 "configure"
22024 #include "confdefs.h"
22025 /* System header to define __stub macros and hopefully few prototypes,
22026 which can conflict with char $ac_func(); below. */
22027 #include <assert.h>
22028 /* Override any gcc2 internal prototype to avoid an error. */
22029 /* We use char because int might match the return type of a gcc2
22030 builtin and then its argument prototype would still apply. */
22035 /* The GNU C library defines this for functions which it implements
22036 to always fail with ENOSYS. Some functions are actually named
22037 something starting with __ and the normal name is an alias. */
22038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22046 if { (eval echo configure:22047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22048 eval "ac_cv_func_$ac_func=yes"
22050 echo "configure: failed program was:" >&5
22051 cat conftest.$ac_ext >&5
22053 eval "ac_cv_func_$ac_func=no"
22058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22059 echo "$ac_t""yes" 1>&6
22060 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22061 cat >> confdefs.h <<EOF
22062 #define $ac_tr_func 1
22066 echo "$ac_t""no" 1>&6
22067 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
22072 if test x$ac_cv_func_copysignl = x"yes"; then
22073 for ac_func in __signbitl
22075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22076 echo "configure:22077: checking for $ac_func" >&5
22077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22078 echo $ac_n "(cached) $ac_c" 1>&6
22080 cat > conftest.$ac_ext <<EOF
22081 #line 22082 "configure"
22082 #include "confdefs.h"
22083 /* System header to define __stub macros and hopefully few prototypes,
22084 which can conflict with char $ac_func(); below. */
22085 #include <assert.h>
22086 /* Override any gcc2 internal prototype to avoid an error. */
22087 /* We use char because int might match the return type of a gcc2
22088 builtin and then its argument prototype would still apply. */
22093 /* The GNU C library defines this for functions which it implements
22094 to always fail with ENOSYS. Some functions are actually named
22095 something starting with __ and the normal name is an alias. */
22096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22104 if { (eval echo configure:22105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22106 eval "ac_cv_func_$ac_func=yes"
22108 echo "configure: failed program was:" >&5
22109 cat conftest.$ac_ext >&5
22111 eval "ac_cv_func_$ac_func=no"
22116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22117 echo "$ac_t""yes" 1>&6
22118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22119 cat >> confdefs.h <<EOF
22120 #define $ac_tr_func 1
22124 echo "$ac_t""no" 1>&6
22125 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
22131 if test -n "$LIBMATHOBJS"; then
22137 if test "$need_libmath" = yes; then
22138 GLIBCPP_BUILD_LIBMATH_TRUE=
22139 GLIBCPP_BUILD_LIBMATH_FALSE='#'
22141 GLIBCPP_BUILD_LIBMATH_TRUE='#'
22142 GLIBCPP_BUILD_LIBMATH_FALSE=
22148 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
22149 echo "configure:22150: checking for mbstate_t" >&5
22150 cat > conftest.$ac_ext <<EOF
22151 #line 22152 "configure"
22152 #include "confdefs.h"
22155 mbstate_t teststate;
22158 if { (eval echo configure:22159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22162 echo "configure: failed program was:" >&5
22163 cat conftest.$ac_ext >&5
22168 echo "$ac_t""$have_mbstate_t" 1>&6
22169 if test x"$have_mbstate_t" = xyes; then
22170 cat >> confdefs.h <<\EOF
22171 #define HAVE_MBSTATE_T 1
22176 for ac_hdr in wchar.h
22178 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22179 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22180 echo "configure:22181: checking for $ac_hdr" >&5
22181 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22182 echo $ac_n "(cached) $ac_c" 1>&6
22184 cat > conftest.$ac_ext <<EOF
22185 #line 22186 "configure"
22186 #include "confdefs.h"
22189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22190 { (eval echo configure:22191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22192 if test -z "$ac_err"; then
22194 eval "ac_cv_header_$ac_safe=yes"
22197 echo "configure: failed program was:" >&5
22198 cat conftest.$ac_ext >&5
22200 eval "ac_cv_header_$ac_safe=no"
22204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22205 echo "$ac_t""yes" 1>&6
22206 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22207 cat >> confdefs.h <<EOF
22208 #define $ac_tr_hdr 1
22212 echo "$ac_t""no" 1>&6
22217 for ac_hdr in wctype.h
22219 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22220 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22221 echo "configure:22222: checking for $ac_hdr" >&5
22222 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22223 echo $ac_n "(cached) $ac_c" 1>&6
22225 cat > conftest.$ac_ext <<EOF
22226 #line 22227 "configure"
22227 #include "confdefs.h"
22230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22231 { (eval echo configure:22232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22233 if test -z "$ac_err"; then
22235 eval "ac_cv_header_$ac_safe=yes"
22238 echo "configure: failed program was:" >&5
22239 cat conftest.$ac_ext >&5
22241 eval "ac_cv_header_$ac_safe=no"
22245 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22246 echo "$ac_t""yes" 1>&6
22247 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22248 cat >> confdefs.h <<EOF
22249 #define $ac_tr_hdr 1
22251 ac_has_wctype_h=yes
22253 echo "$ac_t""no" 1>&6
22259 if test x"$ac_has_wchar_h" = xyes &&
22260 test x"$ac_has_wctype_h" = xyes &&
22261 test x"$enable_c_mbchar" != xno; then
22263 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22264 echo "configure:22265: checking for WCHAR_MIN and WCHAR_MAX" >&5
22265 cat > conftest.$ac_ext <<EOF
22266 #line 22267 "configure"
22267 #include "confdefs.h"
22270 int i = WCHAR_MIN; int j = WCHAR_MAX;
22273 if { (eval echo configure:22274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22275 has_wchar_minmax=yes
22277 echo "configure: failed program was:" >&5
22278 cat conftest.$ac_ext >&5
22280 has_wchar_minmax=no
22283 echo "$ac_t""$has_wchar_minmax" 1>&6
22285 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22286 echo "configure:22287: checking for WEOF" >&5
22287 cat > conftest.$ac_ext <<EOF
22288 #line 22289 "configure"
22289 #include "confdefs.h"
22292 #include <stddef.h>
22297 if { (eval echo configure:22298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22301 echo "configure: failed program was:" >&5
22302 cat conftest.$ac_ext >&5
22307 echo "$ac_t""$has_weof" 1>&6
22310 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22313 echo "configure:22314: checking for $ac_func" >&5
22314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22315 echo $ac_n "(cached) $ac_c" 1>&6
22317 cat > conftest.$ac_ext <<EOF
22318 #line 22319 "configure"
22319 #include "confdefs.h"
22320 /* System header to define __stub macros and hopefully few prototypes,
22321 which can conflict with char $ac_func(); below. */
22322 #include <assert.h>
22323 /* Override any gcc2 internal prototype to avoid an error. */
22324 /* We use char because int might match the return type of a gcc2
22325 builtin and then its argument prototype would still apply. */
22330 /* The GNU C library defines this for functions which it implements
22331 to always fail with ENOSYS. Some functions are actually named
22332 something starting with __ and the normal name is an alias. */
22333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22341 if { (eval echo configure:22342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22343 eval "ac_cv_func_$ac_func=yes"
22345 echo "configure: failed program was:" >&5
22346 cat conftest.$ac_ext >&5
22348 eval "ac_cv_func_$ac_func=no"
22353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22354 echo "$ac_t""yes" 1>&6
22355 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22356 cat >> confdefs.h <<EOF
22357 #define $ac_tr_func 1
22361 echo "$ac_t""no" 1>&6
22368 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22369 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22370 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22371 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22372 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22373 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22376 echo "configure:22377: checking for $ac_func" >&5
22377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22378 echo $ac_n "(cached) $ac_c" 1>&6
22380 cat > conftest.$ac_ext <<EOF
22381 #line 22382 "configure"
22382 #include "confdefs.h"
22383 /* System header to define __stub macros and hopefully few prototypes,
22384 which can conflict with char $ac_func(); below. */
22385 #include <assert.h>
22386 /* Override any gcc2 internal prototype to avoid an error. */
22387 /* We use char because int might match the return type of a gcc2
22388 builtin and then its argument prototype would still apply. */
22393 /* The GNU C library defines this for functions which it implements
22394 to always fail with ENOSYS. Some functions are actually named
22395 something starting with __ and the normal name is an alias. */
22396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22404 if { (eval echo configure:22405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22406 eval "ac_cv_func_$ac_func=yes"
22408 echo "configure: failed program was:" >&5
22409 cat conftest.$ac_ext >&5
22411 eval "ac_cv_func_$ac_func=no"
22416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22417 echo "$ac_t""yes" 1>&6
22418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22419 cat >> confdefs.h <<EOF
22420 #define $ac_tr_func 1
22424 echo "$ac_t""no" 1>&6
22431 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22432 echo "configure:22433: checking for ISO C99 wchar_t support" >&5
22433 if test x"$has_weof" = xyes &&
22434 test x"$has_wchar_minmax" = xyes &&
22435 test x"$ac_wfuncs" = xyes; then
22436 ac_isoC99_wchar_t=yes
22438 ac_isoC99_wchar_t=no
22440 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22442 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22443 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22444 echo "configure:22445: checking for iconv.h" >&5
22445 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22446 echo $ac_n "(cached) $ac_c" 1>&6
22448 cat > conftest.$ac_ext <<EOF
22449 #line 22450 "configure"
22450 #include "confdefs.h"
22453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22454 { (eval echo configure:22455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22455 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22456 if test -z "$ac_err"; then
22458 eval "ac_cv_header_$ac_safe=yes"
22461 echo "configure: failed program was:" >&5
22462 cat conftest.$ac_ext >&5
22464 eval "ac_cv_header_$ac_safe=no"
22468 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22469 echo "$ac_t""yes" 1>&6
22472 echo "$ac_t""no" 1>&6
22476 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22477 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22478 echo "configure:22479: checking for langinfo.h" >&5
22479 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22480 echo $ac_n "(cached) $ac_c" 1>&6
22482 cat > conftest.$ac_ext <<EOF
22483 #line 22484 "configure"
22484 #include "confdefs.h"
22485 #include <langinfo.h>
22487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22488 { (eval echo configure:22489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22490 if test -z "$ac_err"; then
22492 eval "ac_cv_header_$ac_safe=yes"
22495 echo "configure: failed program was:" >&5
22496 cat conftest.$ac_ext >&5
22498 eval "ac_cv_header_$ac_safe=no"
22502 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22503 echo "$ac_t""yes" 1>&6
22504 ac_has_langinfo_h=yes
22506 echo "$ac_t""no" 1>&6
22507 ac_has_langinfo_h=no
22511 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22512 echo "configure:22513: checking for iconv in -liconv" >&5
22513 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22514 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22515 echo $ac_n "(cached) $ac_c" 1>&6
22517 ac_save_LIBS="$LIBS"
22518 LIBS="-liconv $LIBS"
22519 cat > conftest.$ac_ext <<EOF
22520 #line 22521 "configure"
22521 #include "confdefs.h"
22522 /* Override any gcc2 internal prototype to avoid an error. */
22523 /* We use char because int might match the return type of a gcc2
22524 builtin and then its argument prototype would still apply. */
22531 if { (eval echo configure:22532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22533 eval "ac_cv_lib_$ac_lib_var=yes"
22535 echo "configure: failed program was:" >&5
22536 cat conftest.$ac_ext >&5
22538 eval "ac_cv_lib_$ac_lib_var=no"
22541 LIBS="$ac_save_LIBS"
22544 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22545 echo "$ac_t""yes" 1>&6
22548 echo "$ac_t""no" 1>&6
22551 ac_save_LIBS="$LIBS"
22552 LIBS="$LIBS $libiconv"
22554 for ac_func in iconv_open iconv_close iconv nl_langinfo
22556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22557 echo "configure:22558: checking for $ac_func" >&5
22558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22559 echo $ac_n "(cached) $ac_c" 1>&6
22561 cat > conftest.$ac_ext <<EOF
22562 #line 22563 "configure"
22563 #include "confdefs.h"
22564 /* System header to define __stub macros and hopefully few prototypes,
22565 which can conflict with char $ac_func(); below. */
22566 #include <assert.h>
22567 /* Override any gcc2 internal prototype to avoid an error. */
22568 /* We use char because int might match the return type of a gcc2
22569 builtin and then its argument prototype would still apply. */
22574 /* The GNU C library defines this for functions which it implements
22575 to always fail with ENOSYS. Some functions are actually named
22576 something starting with __ and the normal name is an alias. */
22577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22585 if { (eval echo configure:22586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22587 eval "ac_cv_func_$ac_func=yes"
22589 echo "configure: failed program was:" >&5
22590 cat conftest.$ac_ext >&5
22592 eval "ac_cv_func_$ac_func=no"
22597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22598 echo "$ac_t""yes" 1>&6
22599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22600 cat >> confdefs.h <<EOF
22601 #define $ac_tr_func 1
22606 echo "$ac_t""no" 1>&6
22612 LIBS="$ac_save_LIBS"
22614 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22615 echo "configure:22616: checking for XPG2 wchar_t support" >&5
22616 if test x"$ac_has_iconv_h" = xyes &&
22617 test x"$ac_has_langinfo_h" = xyes &&
22618 test x"$ac_XPG2funcs" = xyes; then
22619 ac_XPG2_wchar_t=yes
22623 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22625 if test x"$ac_isoC99_wchar_t" = xyes &&
22626 test x"$ac_XPG2_wchar_t" = xyes; then
22627 cat >> confdefs.h <<\EOF
22628 #define _GLIBCPP_USE_WCHAR_T 1
22634 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22635 echo "configure:22636: checking for enabled wchar_t specializations" >&5
22636 echo "$ac_t""$enable_wchar_t" 1>&6
22639 if test "$enable_wchar_t" = yes; then
22640 GLIBCPP_TEST_WCHAR_T_TRUE=
22641 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22643 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22644 GLIBCPP_TEST_WCHAR_T_FALSE=
22648 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22649 ac_save_CXXFLAGS="$CXXFLAGS"
22650 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22653 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22654 echo "configure:22655: checking for strtold declaration" >&5
22655 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22656 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22657 echo $ac_n "(cached) $ac_c" 1>&6
22662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22663 ac_cpp='$CXXCPP $CPPFLAGS'
22664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22666 cross_compiling=$ac_cv_prog_cxx_cross
22668 cat > conftest.$ac_ext <<EOF
22669 #line 22670 "configure"
22670 #include "confdefs.h"
22671 #include <stdlib.h>
22676 if { (eval echo configure:22677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22678 glibcpp_cv_func_strtold_use=yes
22680 echo "configure: failed program was:" >&5
22681 cat conftest.$ac_ext >&5
22683 glibcpp_cv_func_strtold_use=no
22687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22688 ac_cpp='$CPP $CPPFLAGS'
22689 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22690 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22691 cross_compiling=$ac_cv_prog_cc_cross
22697 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22698 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22699 for ac_func in strtold
22701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22702 echo "configure:22703: checking for $ac_func" >&5
22703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22704 echo $ac_n "(cached) $ac_c" 1>&6
22706 cat > conftest.$ac_ext <<EOF
22707 #line 22708 "configure"
22708 #include "confdefs.h"
22709 /* System header to define __stub macros and hopefully few prototypes,
22710 which can conflict with char $ac_func(); below. */
22711 #include <assert.h>
22712 /* Override any gcc2 internal prototype to avoid an error. */
22713 /* We use char because int might match the return type of a gcc2
22714 builtin and then its argument prototype would still apply. */
22719 /* The GNU C library defines this for functions which it implements
22720 to always fail with ENOSYS. Some functions are actually named
22721 something starting with __ and the normal name is an alias. */
22722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22730 if { (eval echo configure:22731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22732 eval "ac_cv_func_$ac_func=yes"
22734 echo "configure: failed program was:" >&5
22735 cat conftest.$ac_ext >&5
22737 eval "ac_cv_func_$ac_func=no"
22742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22743 echo "$ac_t""yes" 1>&6
22744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22745 cat >> confdefs.h <<EOF
22746 #define $ac_tr_func 1
22750 echo "$ac_t""no" 1>&6
22757 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22758 echo "configure:22759: checking for strtof declaration" >&5
22759 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22760 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22761 echo $ac_n "(cached) $ac_c" 1>&6
22766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22767 ac_cpp='$CXXCPP $CPPFLAGS'
22768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22770 cross_compiling=$ac_cv_prog_cxx_cross
22772 cat > conftest.$ac_ext <<EOF
22773 #line 22774 "configure"
22774 #include "confdefs.h"
22775 #include <stdlib.h>
22780 if { (eval echo configure:22781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22782 glibcpp_cv_func_strtof_use=yes
22784 echo "configure: failed program was:" >&5
22785 cat conftest.$ac_ext >&5
22787 glibcpp_cv_func_strtof_use=no
22791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22792 ac_cpp='$CPP $CPPFLAGS'
22793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22795 cross_compiling=$ac_cv_prog_cc_cross
22801 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22802 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22803 for ac_func in strtof
22805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22806 echo "configure:22807: checking for $ac_func" >&5
22807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22808 echo $ac_n "(cached) $ac_c" 1>&6
22810 cat > conftest.$ac_ext <<EOF
22811 #line 22812 "configure"
22812 #include "confdefs.h"
22813 /* System header to define __stub macros and hopefully few prototypes,
22814 which can conflict with char $ac_func(); below. */
22815 #include <assert.h>
22816 /* Override any gcc2 internal prototype to avoid an error. */
22817 /* We use char because int might match the return type of a gcc2
22818 builtin and then its argument prototype would still apply. */
22823 /* The GNU C library defines this for functions which it implements
22824 to always fail with ENOSYS. Some functions are actually named
22825 something starting with __ and the normal name is an alias. */
22826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22834 if { (eval echo configure:22835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22836 eval "ac_cv_func_$ac_func=yes"
22838 echo "configure: failed program was:" >&5
22839 cat conftest.$ac_ext >&5
22841 eval "ac_cv_func_$ac_func=no"
22846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22847 echo "$ac_t""yes" 1>&6
22848 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22849 cat >> confdefs.h <<EOF
22850 #define $ac_tr_func 1
22854 echo "$ac_t""no" 1>&6
22860 for ac_func in drand48
22862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22863 echo "configure:22864: checking for $ac_func" >&5
22864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22865 echo $ac_n "(cached) $ac_c" 1>&6
22867 cat > conftest.$ac_ext <<EOF
22868 #line 22869 "configure"
22869 #include "confdefs.h"
22870 /* System header to define __stub macros and hopefully few prototypes,
22871 which can conflict with char $ac_func(); below. */
22872 #include <assert.h>
22873 /* Override any gcc2 internal prototype to avoid an error. */
22874 /* We use char because int might match the return type of a gcc2
22875 builtin and then its argument prototype would still apply. */
22880 /* The GNU C library defines this for functions which it implements
22881 to always fail with ENOSYS. Some functions are actually named
22882 something starting with __ and the normal name is an alias. */
22883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22891 if { (eval echo configure:22892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22893 eval "ac_cv_func_$ac_func=yes"
22895 echo "configure: failed program was:" >&5
22896 cat conftest.$ac_ext >&5
22898 eval "ac_cv_func_$ac_func=no"
22903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22904 echo "$ac_t""yes" 1>&6
22905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22906 cat >> confdefs.h <<EOF
22907 #define $ac_tr_func 1
22911 echo "$ac_t""no" 1>&6
22916 CXXFLAGS="$ac_save_CXXFLAGS"
22919 # For showmanyc_helper().
22920 for ac_hdr in sys/ioctl.h sys/filio.h
22922 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22923 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22924 echo "configure:22925: checking for $ac_hdr" >&5
22925 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22926 echo $ac_n "(cached) $ac_c" 1>&6
22928 cat > conftest.$ac_ext <<EOF
22929 #line 22930 "configure"
22930 #include "confdefs.h"
22933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22934 { (eval echo configure:22935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22936 if test -z "$ac_err"; then
22938 eval "ac_cv_header_$ac_safe=yes"
22941 echo "configure: failed program was:" >&5
22942 cat conftest.$ac_ext >&5
22944 eval "ac_cv_header_$ac_safe=no"
22948 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22949 echo "$ac_t""yes" 1>&6
22950 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22951 cat >> confdefs.h <<EOF
22952 #define $ac_tr_hdr 1
22956 echo "$ac_t""no" 1>&6
22961 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22962 echo $ac_n "(cached) $ac_c" 1>&6
22965 cat > conftest.$ac_ext <<EOF
22966 #line 22967 "configure"
22967 #include "confdefs.h"
22970 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22973 if { (eval echo configure:22974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22975 glibcpp_cv_POLL=yes
22977 echo "configure: failed program was:" >&5
22978 cat conftest.$ac_ext >&5
22986 if test x$glibcpp_cv_POLL = xyes; then
22987 cat >> confdefs.h <<\EOF
22988 #define HAVE_POLL 1
22994 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22995 echo $ac_n "(cached) $ac_c" 1>&6
22998 cat > conftest.$ac_ext <<EOF
22999 #line 23000 "configure"
23000 #include "confdefs.h"
23001 #include <sys/stat.h>
23003 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
23006 if { (eval echo configure:23007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23008 glibcpp_cv_S_ISREG=yes
23010 echo "configure: failed program was:" >&5
23011 cat conftest.$ac_ext >&5
23013 glibcpp_cv_S_ISREG=no
23019 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
23020 echo $ac_n "(cached) $ac_c" 1>&6
23023 cat > conftest.$ac_ext <<EOF
23024 #line 23025 "configure"
23025 #include "confdefs.h"
23026 #include <sys/stat.h>
23028 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
23031 if { (eval echo configure:23032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23033 glibcpp_cv_S_IFREG=yes
23035 echo "configure: failed program was:" >&5
23036 cat conftest.$ac_ext >&5
23038 glibcpp_cv_S_IFREG=no
23044 if test x$glibcpp_cv_S_ISREG = xyes; then
23045 cat >> confdefs.h <<\EOF
23046 #define HAVE_S_ISREG 1
23049 elif test x$glibcpp_cv_S_IFREG = xyes; then
23050 cat >> confdefs.h <<\EOF
23051 #define HAVE_S_IFREG 1
23058 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
23059 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
23060 echo "configure:23061: checking for locale.h" >&5
23061 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23062 echo $ac_n "(cached) $ac_c" 1>&6
23064 cat > conftest.$ac_ext <<EOF
23065 #line 23066 "configure"
23066 #include "confdefs.h"
23067 #include <locale.h>
23069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23070 { (eval echo configure:23071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23072 if test -z "$ac_err"; then
23074 eval "ac_cv_header_$ac_safe=yes"
23077 echo "configure: failed program was:" >&5
23078 cat conftest.$ac_ext >&5
23080 eval "ac_cv_header_$ac_safe=no"
23084 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23085 echo "$ac_t""yes" 1>&6
23087 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
23088 echo "configure:23089: checking for LC_MESSAGES" >&5
23089 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
23090 echo $ac_n "(cached) $ac_c" 1>&6
23092 cat > conftest.$ac_ext <<EOF
23093 #line 23094 "configure"
23094 #include "confdefs.h"
23095 #include <locale.h>
23100 if { (eval echo configure:23101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23102 ac_cv_val_LC_MESSAGES=yes
23104 echo "configure: failed program was:" >&5
23105 cat conftest.$ac_ext >&5
23107 ac_cv_val_LC_MESSAGES=no
23112 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
23113 if test $ac_cv_val_LC_MESSAGES = yes; then
23114 cat >> confdefs.h <<\EOF
23115 #define HAVE_LC_MESSAGES 1
23121 echo "$ac_t""no" 1>&6
23126 cat > conftest.$ac_ext <<EOF
23127 #line 23128 "configure"
23128 #include "confdefs.h"
23130 #include <setjmp.h>
23133 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
23136 if { (eval echo configure:23137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23138 cat >> confdefs.h <<\EOF
23139 #define HAVE_SIGSETJMP 1
23144 echo "configure: failed program was:" >&5
23145 cat conftest.$ac_ext >&5
23149 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
23151 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23152 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23153 echo "configure:23154: checking for $ac_hdr" >&5
23154 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23155 echo $ac_n "(cached) $ac_c" 1>&6
23157 cat > conftest.$ac_ext <<EOF
23158 #line 23159 "configure"
23159 #include "confdefs.h"
23162 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23163 { (eval echo configure:23164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23164 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23165 if test -z "$ac_err"; then
23167 eval "ac_cv_header_$ac_safe=yes"
23170 echo "configure: failed program was:" >&5
23171 cat conftest.$ac_ext >&5
23173 eval "ac_cv_header_$ac_safe=no"
23177 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23178 echo "$ac_t""yes" 1>&6
23179 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23180 cat >> confdefs.h <<EOF
23181 #define $ac_tr_hdr 1
23185 echo "$ac_t""no" 1>&6
23189 for ac_func in getpagesize
23191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23192 echo "configure:23193: checking for $ac_func" >&5
23193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23194 echo $ac_n "(cached) $ac_c" 1>&6
23196 cat > conftest.$ac_ext <<EOF
23197 #line 23198 "configure"
23198 #include "confdefs.h"
23199 /* System header to define __stub macros and hopefully few prototypes,
23200 which can conflict with char $ac_func(); below. */
23201 #include <assert.h>
23202 /* Override any gcc2 internal prototype to avoid an error. */
23203 /* We use char because int might match the return type of a gcc2
23204 builtin and then its argument prototype would still apply. */
23209 /* The GNU C library defines this for functions which it implements
23210 to always fail with ENOSYS. Some functions are actually named
23211 something starting with __ and the normal name is an alias. */
23212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23220 if { (eval echo configure:23221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23222 eval "ac_cv_func_$ac_func=yes"
23224 echo "configure: failed program was:" >&5
23225 cat conftest.$ac_ext >&5
23227 eval "ac_cv_func_$ac_func=no"
23232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23233 echo "$ac_t""yes" 1>&6
23234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23235 cat >> confdefs.h <<EOF
23236 #define $ac_tr_func 1
23240 echo "$ac_t""no" 1>&6
23244 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
23245 echo "configure:23246: checking for working mmap" >&5
23246 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23247 echo $ac_n "(cached) $ac_c" 1>&6
23249 if test "$cross_compiling" = yes; then
23250 ac_cv_func_mmap_fixed_mapped=no
23252 cat > conftest.$ac_ext <<EOF
23253 #line 23254 "configure"
23254 #include "confdefs.h"
23256 /* Thanks to Mike Haertel and Jim Avera for this test.
23257 Here is a matrix of mmap possibilities:
23258 mmap private not fixed
23259 mmap private fixed at somewhere currently unmapped
23260 mmap private fixed at somewhere already mapped
23261 mmap shared not fixed
23262 mmap shared fixed at somewhere currently unmapped
23263 mmap shared fixed at somewhere already mapped
23264 For private mappings, we should verify that changes cannot be read()
23265 back from the file, nor mmap's back from the file at a different
23266 address. (There have been systems where private was not correctly
23267 implemented like the infamous i386 svr4.0, and systems where the
23268 VM page cache was not coherent with the filesystem buffer cache
23269 like early versions of FreeBSD and possibly contemporary NetBSD.)
23270 For shared mappings, we should conversely verify that changes get
23271 propogated back to all the places they're supposed to be.
23273 Grep wants private fixed already mapped.
23274 The main things grep needs to know about mmap are:
23275 * does it exist and is it safe to write into the mmap'd area
23276 * how to use it (BSD variants) */
23277 #include <sys/types.h>
23279 #include <sys/mman.h>
23281 #if HAVE_SYS_TYPES_H
23282 # include <sys/types.h>
23286 # include <stdlib.h>
23289 #if HAVE_SYS_STAT_H
23290 # include <sys/stat.h>
23294 # include <unistd.h>
23297 /* This mess was copied from the GNU getpagesize.h. */
23298 #ifndef HAVE_GETPAGESIZE
23300 /* Assume that all systems that can run configure have sys/param.h. */
23301 # ifndef HAVE_SYS_PARAM_H
23302 # define HAVE_SYS_PARAM_H 1
23305 # ifdef _SC_PAGESIZE
23306 # define getpagesize() sysconf(_SC_PAGESIZE)
23307 # else /* no _SC_PAGESIZE */
23308 # ifdef HAVE_SYS_PARAM_H
23309 # include <sys/param.h>
23310 # ifdef EXEC_PAGESIZE
23311 # define getpagesize() EXEC_PAGESIZE
23312 # else /* no EXEC_PAGESIZE */
23314 # define getpagesize() NBPG * CLSIZE
23317 # endif /* no CLSIZE */
23318 # else /* no NBPG */
23320 # define getpagesize() NBPC
23321 # else /* no NBPC */
23323 # define getpagesize() PAGESIZE
23324 # endif /* PAGESIZE */
23325 # endif /* no NBPC */
23326 # endif /* no NBPG */
23327 # endif /* no EXEC_PAGESIZE */
23328 # else /* no HAVE_SYS_PARAM_H */
23329 # define getpagesize() 8192 /* punt totally */
23330 # endif /* no HAVE_SYS_PARAM_H */
23331 # endif /* no _SC_PAGESIZE */
23333 #endif /* no HAVE_GETPAGESIZE */
23336 extern "C" { void *malloc(unsigned); }
23344 char *data, *data2, *data3;
23348 pagesize = getpagesize();
23351 * First, make a file with some known garbage in it.
23353 data = malloc(pagesize);
23356 for (i = 0; i < pagesize; ++i)
23357 *(data + i) = rand();
23359 fd = creat("conftestmmap", 0600);
23362 if (write(fd, data, pagesize) != pagesize)
23367 * Next, try to mmap the file at a fixed address which
23368 * already has something else allocated at it. If we can,
23369 * also make sure that we see the same garbage.
23371 fd = open("conftestmmap", O_RDWR);
23374 data2 = malloc(2 * pagesize);
23377 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23378 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23379 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23381 for (i = 0; i < pagesize; ++i)
23382 if (*(data + i) != *(data2 + i))
23386 * Finally, make sure that changes to the mapped area
23387 * do not percolate back to the file as seen by read().
23388 * (This is a bug on some variants of i386 svr4.0.)
23390 for (i = 0; i < pagesize; ++i)
23391 *(data2 + i) = *(data2 + i) + 1;
23392 data3 = malloc(pagesize);
23395 if (read(fd, data3, pagesize) != pagesize)
23397 for (i = 0; i < pagesize; ++i)
23398 if (*(data + i) != *(data3 + i))
23401 unlink("conftestmmap");
23406 if { (eval echo configure:23407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23408 ac_cv_func_mmap_fixed_mapped=yes
23410 echo "configure: failed program was:" >&5
23411 cat conftest.$ac_ext >&5
23413 ac_cv_func_mmap_fixed_mapped=no
23420 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23421 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23422 cat >> confdefs.h <<\EOF
23423 #define HAVE_MMAP 1
23429 # Establish limits on memory usage during 'make check'
23432 setrlimit_have_headers=yes
23433 for ac_hdr in unistd.h sys/time.h sys/resource.h
23435 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23436 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23437 echo "configure:23438: checking for $ac_hdr" >&5
23438 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23439 echo $ac_n "(cached) $ac_c" 1>&6
23441 cat > conftest.$ac_ext <<EOF
23442 #line 23443 "configure"
23443 #include "confdefs.h"
23446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23447 { (eval echo configure:23448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23449 if test -z "$ac_err"; then
23451 eval "ac_cv_header_$ac_safe=yes"
23454 echo "configure: failed program was:" >&5
23455 cat conftest.$ac_ext >&5
23457 eval "ac_cv_header_$ac_safe=no"
23461 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23462 echo "$ac_t""yes" 1>&6
23463 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23464 cat >> confdefs.h <<EOF
23465 #define $ac_tr_hdr 1
23469 echo "$ac_t""no" 1>&6
23470 setrlimit_have_headers=no
23474 # If don't have the headers, then we can't run the tests now, and we
23475 # won't be seeing any of these during testsuite compilation.
23476 if test $setrlimit_have_headers = yes; then
23477 # Can't do these in a loop, else the resulting syntax is wrong.
23479 cat > conftest.$ac_ext <<EOF
23480 #line 23481 "configure"
23481 #include "confdefs.h"
23482 #include <unistd.h>
23483 #include <sys/time.h>
23484 #include <sys/resource.h>
23487 int f = RLIMIT_DATA ;
23490 if { (eval echo configure:23491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23494 echo "configure: failed program was:" >&5
23495 cat conftest.$ac_ext >&5
23500 cat >> confdefs.h <<EOF
23501 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23506 cat > conftest.$ac_ext <<EOF
23507 #line 23508 "configure"
23508 #include "confdefs.h"
23509 #include <unistd.h>
23510 #include <sys/time.h>
23511 #include <sys/resource.h>
23514 int f = RLIMIT_RSS ;
23517 if { (eval echo configure:23518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23521 echo "configure: failed program was:" >&5
23522 cat conftest.$ac_ext >&5
23527 cat >> confdefs.h <<EOF
23528 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23533 cat > conftest.$ac_ext <<EOF
23534 #line 23535 "configure"
23535 #include "confdefs.h"
23536 #include <unistd.h>
23537 #include <sys/time.h>
23538 #include <sys/resource.h>
23541 int f = RLIMIT_VMEM ;
23544 if { (eval echo configure:23545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23548 echo "configure: failed program was:" >&5
23549 cat conftest.$ac_ext >&5
23554 cat >> confdefs.h <<EOF
23555 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23560 cat > conftest.$ac_ext <<EOF
23561 #line 23562 "configure"
23562 #include "confdefs.h"
23563 #include <unistd.h>
23564 #include <sys/time.h>
23565 #include <sys/resource.h>
23568 int f = RLIMIT_AS ;
23571 if { (eval echo configure:23572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23575 echo "configure: failed program was:" >&5
23576 cat conftest.$ac_ext >&5
23581 cat >> confdefs.h <<EOF
23582 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23587 # Check for rlimit, setrlimit.
23588 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23589 echo $ac_n "(cached) $ac_c" 1>&6
23592 cat > conftest.$ac_ext <<EOF
23593 #line 23594 "configure"
23594 #include "confdefs.h"
23595 #include <unistd.h>
23596 #include <sys/time.h>
23597 #include <sys/resource.h>
23600 struct rlimit r; setrlimit(0, &r);
23603 if { (eval echo configure:23604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23607 echo "configure: failed program was:" >&5
23608 cat conftest.$ac_ext >&5
23618 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23619 echo "configure:23620: checking for testsuite memory limit support" >&5
23620 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23622 cat >> confdefs.h <<\EOF
23623 #define _GLIBCPP_MEM_LIMITS 1
23629 echo "$ac_t""$ac_mem_limits" 1>&6
23632 # Look for setenv, so that extended locale tests can be performed.
23634 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23635 echo "configure:23636: checking for setenv declaration" >&5
23636 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23637 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23638 echo $ac_n "(cached) $ac_c" 1>&6
23643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23644 ac_cpp='$CXXCPP $CPPFLAGS'
23645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23647 cross_compiling=$ac_cv_prog_cxx_cross
23649 cat > conftest.$ac_ext <<EOF
23650 #line 23651 "configure"
23651 #include "confdefs.h"
23652 #include <stdlib.h>
23657 if { (eval echo configure:23658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23659 glibcpp_cv_func_setenv_use=yes
23661 echo "configure: failed program was:" >&5
23662 cat conftest.$ac_ext >&5
23664 glibcpp_cv_func_setenv_use=no
23668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23669 ac_cpp='$CPP $CPPFLAGS'
23670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23672 cross_compiling=$ac_cv_prog_cc_cross
23678 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23679 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23680 for ac_func in setenv
23682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23683 echo "configure:23684: checking for $ac_func" >&5
23684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23685 echo $ac_n "(cached) $ac_c" 1>&6
23687 cat > conftest.$ac_ext <<EOF
23688 #line 23689 "configure"
23689 #include "confdefs.h"
23690 /* System header to define __stub macros and hopefully few prototypes,
23691 which can conflict with char $ac_func(); below. */
23692 #include <assert.h>
23693 /* Override any gcc2 internal prototype to avoid an error. */
23694 /* We use char because int might match the return type of a gcc2
23695 builtin and then its argument prototype would still apply. */
23700 /* The GNU C library defines this for functions which it implements
23701 to always fail with ENOSYS. Some functions are actually named
23702 something starting with __ and the normal name is an alias. */
23703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23711 if { (eval echo configure:23712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23713 eval "ac_cv_func_$ac_func=yes"
23715 echo "configure: failed program was:" >&5
23716 cat conftest.$ac_ext >&5
23718 eval "ac_cv_func_$ac_func=no"
23723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23724 echo "$ac_t""yes" 1>&6
23725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23726 cat >> confdefs.h <<EOF
23727 #define $ac_tr_func 1
23731 echo "$ac_t""no" 1>&6
23738 # Export file names for ABI checking.
23739 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23743 *-*-cygwin* ) enable_abi_check=no ;;
23744 * ) enable_abi_check=yes ;;
23747 # Don't do ABI checking unless native.
23750 if test x"$build" = x"$host" && test -z "$with_cross_host" \
23751 && test "$enable_abi_check" = yes ; then
23752 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23753 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23755 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23756 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23761 # This depends on the possibly-skipped linker test above.
23762 # Check whether --enable-symvers or --disable-symvers was given.
23763 if test "${enable_symvers+set}" = set; then
23764 enableval="$enable_symvers"
23765 case "$enableval" in
23766 yes) enable_symvers=yes ;;
23767 no) enable_symvers=no ;;
23768 # other names here, just as sanity checks
23769 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23770 gnu) enable_symvers=$enableval ;;
23771 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23777 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23778 # don't know enough about $LD to do tricks...
23779 if test x$enable_shared = xno ||
23781 test x$glibcpp_gnu_ld_version = x; then
23785 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23786 if test $enable_symvers != no; then
23787 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23788 echo "configure:23789: checking for shared libgcc" >&5
23789 ac_save_CFLAGS="$CFLAGS"
23791 cat > conftest.$ac_ext <<EOF
23792 #line 23793 "configure"
23793 #include "confdefs.h"
23799 if { (eval echo configure:23800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23801 glibcpp_shared_libgcc=yes
23803 echo "configure: failed program was:" >&5
23804 cat conftest.$ac_ext >&5
23806 glibcpp_shared_libgcc=no
23809 CFLAGS="$ac_save_CFLAGS"
23810 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23813 # For GNU ld, we need at least this version. It's 2.12 in the same format
23814 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23815 glibcpp_min_gnu_ld_version=21200
23817 # Check to see if unspecified "yes" value can win, given results
23819 if test $enable_symvers = yes ; then
23820 if test $with_gnu_ld = yes &&
23821 test $glibcpp_shared_libgcc = yes ;
23823 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23826 ac_test_CFLAGS="${CFLAGS+set}"
23827 ac_save_CFLAGS="$CFLAGS"
23828 CFLAGS='-shared -Wl,--version-script,conftest.map'
23831 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23833 cat > conftest.$ac_ext <<EOF
23834 #line 23835 "configure"
23835 #include "confdefs.h"
23841 if { (eval echo configure:23842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23845 echo "configure: failed program was:" >&5
23846 cat conftest.$ac_ext >&5
23849 if test "$ac_test_CFLAGS" = set; then
23850 CFLAGS="$ac_save_CFLAGS"
23852 # this is the suspicious part
23858 # just fail for now
23863 case $enable_symvers in
23865 SYMVER_MAP=config/linker-map.dummy
23868 SYMVER_MAP=config/linker-map.gnu
23869 cat >> confdefs.h <<\EOF
23870 #define _GLIBCPP_SYMVER 1
23879 if test $enable_symvers != no; then
23880 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23881 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23883 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23884 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23886 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23887 echo "configure:23888: checking versioning on shared library symbols" >&5
23888 echo "$ac_t""$enable_symvers" 1>&6
23891 # Propagate the target-specific source directories through the build chain.
23892 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23893 # uses it, and it only gets used in this file.)
23894 OS_INC_SRCDIR=config/${os_include_dir}
23895 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23899 # Set up cross-compile flags
23902 if test "$CANADIAN" = yes; then
23910 cat > confcache <<\EOF
23911 # This file is a shell script that caches the results of configure
23912 # tests run on this system so they can be shared between configure
23913 # scripts and configure runs. It is not useful on other systems.
23914 # If it contains results you don't want to keep, you may remove or edit it.
23916 # By default, configure uses ./config.cache as the cache file,
23917 # creating it if it does not exist already. You can give configure
23918 # the --cache-file=FILE option to use a different cache file; that is
23919 # what configure does when it calls configure scripts in
23920 # subdirectories, so they share the cache.
23921 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23922 # config.status only pays attention to the cache file if you give it the
23923 # --recheck option to rerun configure.
23926 # The following way of writing the cache mishandles newlines in values,
23927 # but we know of no workaround that is simple, portable, and efficient.
23928 # So, don't put newlines in cache variables' values.
23929 # Ultrix sh set writes to stderr and can't be redirected directly,
23930 # and sets the high bit in the cache file unless we assign to the vars.
23932 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23934 # `set' does not quote correctly, so add quotes (double-quote substitution
23935 # turns \\\\ into \\, and sed turns \\ into \).
23937 -e "s/'/'\\\\''/g" \
23938 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23941 # `set' quotes correctly as required by POSIX, so do not add quotes.
23942 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23945 if cmp -s $cache_file confcache; then
23948 if test -w $cache_file; then
23949 echo "updating cache $cache_file"
23950 cat confcache > $cache_file
23952 echo "not updating unwritable cache $cache_file"
23958 if test "${multilib}" = "yes"; then
23959 multilib_arg="--enable-multilib"
23964 # Export all the install information
23966 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23967 # exported correctly in GLIBCPP_CONFIGURE.
23968 glibcpp_toolexecdir=no
23969 glibcpp_toolexeclibdir=no
23970 glibcpp_prefixdir=${prefix}
23972 # Process the option --with-gxx-include-dir=<path to include-files directory>
23973 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23974 echo "configure:23975: checking for --with-gxx-include-dir" >&5
23975 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23976 if test "${with_gxx_include_dir+set}" = set; then
23977 withval="$with_gxx_include_dir"
23978 case "${withval}" in
23980 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23987 gxx_include_dir=${withval}
23994 echo "$ac_t""$gxx_include_dir" 1>&6
23996 # Process the option "--enable-version-specific-runtime-libs"
23997 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23998 echo "configure:23999: checking for --enable-version-specific-runtime-libs" >&5
23999 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
24000 if test "${enable_version_specific_runtime_libs+set}" = set; then
24001 enableval="$enable_version_specific_runtime_libs"
24002 case "$enableval" in
24003 yes) version_specific_libs=yes ;;
24004 no) version_specific_libs=no ;;
24005 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
24008 version_specific_libs=no
24010 # Option set, now we can test it.
24011 echo "$ac_t""$version_specific_libs" 1>&6
24013 # Default case for install directory for include files.
24014 if test $version_specific_libs = no && test $gxx_include_dir = no; then
24015 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
24018 # Version-specific runtime libs processing.
24019 if test $version_specific_libs = yes; then
24020 # Need the gcc compiler version to know where to install libraries
24021 # and header files if --enable-version-specific-runtime-libs option
24023 if test x"$gxx_include_dir" = x"no"; then
24024 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
24026 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
24027 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
24030 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
24031 # Install a library built with a cross compiler in tooldir, not libdir.
24032 if test x"$glibcpp_toolexecdir" = x"no"; then
24033 if test -n "$with_cross_host" &&
24034 test x"$with_cross_host" != x"no"; then
24035 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
24036 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
24038 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
24039 glibcpp_toolexeclibdir='$(libdir)'
24041 multi_os_directory=`$CC -print-multi-os-directory`
24042 case $multi_os_directory in
24043 .) ;; # Avoid trailing /.
24044 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
24048 echo $ac_n "checking for install location""... $ac_c" 1>&6
24049 echo "configure:24050: checking for install location" >&5
24050 echo "$ac_t""$gxx_include_dir" 1>&6
24058 # Export all the include and flag information to Makefiles.
24060 # Root level of the build directory include sources.
24061 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
24063 # Passed down for canadian crosses.
24064 if test x"$CANADIAN" = xyes; then
24065 TOPLEVEL_INCLUDES='-I$(includedir)'
24068 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
24070 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
24072 if test x"$need_libio" = xyes; then
24073 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
24077 # Now, export this to all the little Makefiles....
24084 # Optimization flags that are probably a good idea for thrill-seekers. Just
24085 # uncomment the lines below and make, everything else is ready to go...
24086 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
24090 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
24094 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
24095 grep "enable shared" > /dev/null; then
24096 LIBSUPCXX_PICFLAGS=-prefer-pic
24098 LIBSUPCXX_PICFLAGS=
24102 # Generate the various Makefiles, include files, and scripts.
24103 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
24104 # and libsupc++/Makefile.am so that multilib installs will end up
24105 # installed in the correct place. To work around this not being passed
24106 # down from config-ml.in -> top_srcdir/Makefile.am ->
24107 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
24109 cat > confcache <<\EOF
24110 # This file is a shell script that caches the results of configure
24111 # tests run on this system so they can be shared between configure
24112 # scripts and configure runs. It is not useful on other systems.
24113 # If it contains results you don't want to keep, you may remove or edit it.
24115 # By default, configure uses ./config.cache as the cache file,
24116 # creating it if it does not exist already. You can give configure
24117 # the --cache-file=FILE option to use a different cache file; that is
24118 # what configure does when it calls configure scripts in
24119 # subdirectories, so they share the cache.
24120 # Giving --cache-file=/dev/null disables caching, for debugging configure.
24121 # config.status only pays attention to the cache file if you give it the
24122 # --recheck option to rerun configure.
24125 # The following way of writing the cache mishandles newlines in values,
24126 # but we know of no workaround that is simple, portable, and efficient.
24127 # So, don't put newlines in cache variables' values.
24128 # Ultrix sh set writes to stderr and can't be redirected directly,
24129 # and sets the high bit in the cache file unless we assign to the vars.
24131 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24133 # `set' does not quote correctly, so add quotes (double-quote substitution
24134 # turns \\\\ into \\, and sed turns \\ into \).
24136 -e "s/'/'\\\\''/g" \
24137 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
24140 # `set' quotes correctly as required by POSIX, so do not add quotes.
24141 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
24144 if cmp -s $cache_file confcache; then
24147 if test -w $cache_file; then
24148 echo "updating cache $cache_file"
24149 cat confcache > $cache_file
24151 echo "not updating unwritable cache $cache_file"
24156 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
24158 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24159 # Let make expand exec_prefix.
24160 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24162 # Any assignment to VPATH causes Sun make to only execute
24163 # the first set of double-colon rules, so remove it if not needed.
24164 # If there is a colon in the path, we need to keep it.
24165 if test "x$srcdir" = x.; then
24166 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24169 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24171 DEFS=-DHAVE_CONFIG_H
24173 # Without the "./", some shells look in PATH for config.status.
24174 : ${CONFIG_STATUS=./config.status}
24176 echo creating $CONFIG_STATUS
24177 rm -f $CONFIG_STATUS
24178 cat > $CONFIG_STATUS <<EOF
24180 # Generated automatically by configure.
24181 # Run this file to recreate the current configuration.
24182 # This directory was configured as follows,
24183 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24185 # $0 $ac_configure_args
24187 # Compiler output produced by configure, useful for debugging
24188 # configure, is in ./config.log if it exists.
24190 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
24193 case "\$ac_option" in
24194 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24195 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24196 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24197 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24198 echo "$CONFIG_STATUS generated by autoconf version 2.13"
24200 -help | --help | --hel | --he | --h)
24201 echo "\$ac_cs_usage"; exit 0 ;;
24202 *) echo "\$ac_cs_usage"; exit 1 ;;
24206 ac_given_srcdir=$srcdir
24207 ac_given_INSTALL="$INSTALL"
24209 trap 'rm -fr `echo "Makefile \
24210 include/Makefile src/Makefile \
24211 libmath/Makefile libio/Makefile libsupc++/Makefile \
24212 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
24214 cat >> $CONFIG_STATUS <<EOF
24216 # Protect against being on the right side of a sed subst in config.status.
24217 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24218 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24222 s%@CFLAGS@%$CFLAGS%g
24223 s%@CPPFLAGS@%$CPPFLAGS%g
24224 s%@CXXFLAGS@%$CXXFLAGS%g
24225 s%@FFLAGS@%$FFLAGS%g
24227 s%@LDFLAGS@%$LDFLAGS%g
24229 s%@exec_prefix@%$exec_prefix%g
24230 s%@prefix@%$prefix%g
24231 s%@program_transform_name@%$program_transform_name%g
24232 s%@bindir@%$bindir%g
24233 s%@sbindir@%$sbindir%g
24234 s%@libexecdir@%$libexecdir%g
24235 s%@datadir@%$datadir%g
24236 s%@sysconfdir@%$sysconfdir%g
24237 s%@sharedstatedir@%$sharedstatedir%g
24238 s%@localstatedir@%$localstatedir%g
24239 s%@libdir@%$libdir%g
24240 s%@includedir@%$includedir%g
24241 s%@oldincludedir@%$oldincludedir%g
24242 s%@infodir@%$infodir%g
24243 s%@mandir@%$mandir%g
24244 s%@PACKAGE@%$PACKAGE%g
24245 s%@libtool_VERSION@%$libtool_VERSION%g
24246 s%@toplevel_srcdir@%$toplevel_srcdir%g
24248 s%@host_alias@%$host_alias%g
24249 s%@host_cpu@%$host_cpu%g
24250 s%@host_vendor@%$host_vendor%g
24251 s%@host_os@%$host_os%g
24252 s%@target@%$target%g
24253 s%@target_alias@%$target_alias%g
24254 s%@target_cpu@%$target_cpu%g
24255 s%@target_vendor@%$target_vendor%g
24256 s%@target_os@%$target_os%g
24258 s%@build_alias@%$build_alias%g
24259 s%@build_cpu@%$build_cpu%g
24260 s%@build_vendor@%$build_vendor%g
24261 s%@build_os@%$build_os%g
24262 s%@glibcpp_builddir@%$glibcpp_builddir%g
24263 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24266 s%@glibcpp_basedir@%$glibcpp_basedir%g
24268 s%@glibcpp_CXX@%$glibcpp_CXX%g
24271 s%@RANLIB@%$RANLIB%g
24272 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24273 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24274 s%@INSTALL_DATA@%$INSTALL_DATA%g
24275 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24276 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24278 s%@EXEEXT@%$EXEEXT%g
24279 s%@VERSION@%$VERSION%g
24280 s%@ACLOCAL@%$ACLOCAL%g
24281 s%@AUTOCONF@%$AUTOCONF%g
24282 s%@AUTOMAKE@%$AUTOMAKE%g
24283 s%@AUTOHEADER@%$AUTOHEADER%g
24284 s%@MAKEINFO@%$MAKEINFO%g
24285 s%@SET_MAKE@%$SET_MAKE%g
24286 s%@OBJEXT@%$OBJEXT%g
24288 s%@LIBTOOL@%$LIBTOOL%g
24289 s%@CXXCPP@%$CXXCPP%g
24290 s%@enable_shared@%$enable_shared%g
24291 s%@enable_static@%$enable_static%g
24292 s%@ifGNUmake@%$ifGNUmake%g
24293 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24294 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24296 s%@CSTDIO_H@%$CSTDIO_H%g
24297 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24298 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24299 s%@CCODECVT_C@%$CCODECVT_C%g
24300 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24301 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24302 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24303 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24304 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24305 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24306 s%@libio_la@%$libio_la%g
24307 s%@check_msgfmt@%$check_msgfmt%g
24308 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24309 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24310 s%@glibcpp_localedir@%$glibcpp_localedir%g
24311 s%@USE_NLS@%$USE_NLS%g
24312 s%@CLOCALE_H@%$CLOCALE_H%g
24313 s%@CCODECVT_H@%$CCODECVT_H%g
24314 s%@CMESSAGES_H@%$CMESSAGES_H%g
24315 s%@CCODECVT_CC@%$CCODECVT_CC%g
24316 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24317 s%@CCTYPE_CC@%$CCTYPE_CC%g
24318 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24319 s%@CMONEY_CC@%$CMONEY_CC%g
24320 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24321 s%@CTIME_H@%$CTIME_H%g
24322 s%@CTIME_CC@%$CTIME_CC%g
24323 s%@CLOCALE_CC@%$CLOCALE_CC%g
24324 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24325 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24326 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24327 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24328 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24329 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24330 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24331 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24332 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24333 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24334 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24335 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24336 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24337 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24338 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24339 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24340 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24341 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24342 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24343 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24344 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24345 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24346 s%@WERROR@%$WERROR%g
24347 s%@baseline_file@%$baseline_file%g
24348 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24349 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24350 s%@SYMVER_MAP@%$SYMVER_MAP%g
24351 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24352 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24353 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24354 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24355 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24356 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24357 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24358 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24359 s%@gxx_include_dir@%$gxx_include_dir%g
24360 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24361 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24362 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24363 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24364 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24365 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24366 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24367 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24368 s%@WARN_FLAGS@%$WARN_FLAGS%g
24369 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24374 cat >> $CONFIG_STATUS <<\EOF
24376 # Split the substitutions into bite-sized pieces for seds with
24377 # small command number limits, like on Digital OSF/1 and HP-UX.
24378 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24379 ac_file=1 # Number of current file.
24380 ac_beg=1 # First line for current file.
24381 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24384 while $ac_more_lines; do
24385 if test $ac_beg -gt 1; then
24386 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24388 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24390 if test ! -s conftest.s$ac_file; then
24391 ac_more_lines=false
24392 rm -f conftest.s$ac_file
24394 if test -z "$ac_sed_cmds"; then
24395 ac_sed_cmds="sed -f conftest.s$ac_file"
24397 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24399 ac_file=`expr $ac_file + 1`
24401 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24404 if test -z "$ac_sed_cmds"; then
24409 cat >> $CONFIG_STATUS <<EOF
24411 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24412 include/Makefile src/Makefile \
24413 libmath/Makefile libio/Makefile libsupc++/Makefile \
24414 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
24416 cat >> $CONFIG_STATUS <<\EOF
24417 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24418 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24420 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24421 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24422 *) ac_file_in="${ac_file}.in" ;;
24425 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24427 # Remove last slash and all that follows it. Not all systems have dirname.
24428 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24429 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24430 # The file is in a subdirectory.
24431 test ! -d "$ac_dir" && mkdir "$ac_dir"
24432 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24433 # A "../" for each directory in $ac_dir_suffix.
24434 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24436 ac_dir_suffix= ac_dots=
24439 case "$ac_given_srcdir" in
24441 if test -z "$ac_dots"; then top_srcdir=.
24442 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24443 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24444 *) # Relative path.
24445 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24446 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24449 case "$ac_given_INSTALL" in
24450 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24451 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24454 echo creating "$ac_file"
24456 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24458 *Makefile*) ac_comsub="1i\\
24459 # $configure_input" ;;
24463 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24465 s%@configure_input@%$configure_input%g
24466 s%@srcdir@%$srcdir%g
24467 s%@top_srcdir@%$top_srcdir%g
24468 s%@INSTALL@%$INSTALL%g
24469 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24473 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24474 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24476 # ac_d sets the value in "#define NAME VALUE" lines.
24477 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24478 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24481 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24482 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24483 ac_uB='\([ ]\)%\1#\2define\3'
24486 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24487 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24488 ac_eB='$%\1#\2define\3'
24492 if test "${CONFIG_HEADERS+set}" != set; then
24494 cat >> $CONFIG_STATUS <<EOF
24495 CONFIG_HEADERS="config.h"
24497 cat >> $CONFIG_STATUS <<\EOF
24499 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24500 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24502 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24503 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24504 *) ac_file_in="${ac_file}.in" ;;
24507 echo creating $ac_file
24509 rm -f conftest.frag conftest.in conftest.out
24510 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24511 cat $ac_file_inputs > conftest.in
24515 # Transform confdefs.h into a sed script conftest.vals that substitutes
24516 # the proper values into config.h.in to produce config.h. And first:
24517 # Protect against being on the right side of a sed subst in config.status.
24518 # Protect against being in an unquoted here document in config.status.
24519 rm -f conftest.vals
24520 cat > conftest.hdr <<\EOF
24523 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24527 sed -n -f conftest.hdr confdefs.h > conftest.vals
24530 # This sed command replaces #undef with comments. This is necessary, for
24531 # example, in the case of _POSIX_SOURCE, which is predefined and required
24532 # on some systems where configure will not decide to define it.
24533 cat >> conftest.vals <<\EOF
24534 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24537 # Break up conftest.vals because some shells have a limit on
24538 # the size of here documents, and old seds have small limits too.
24540 rm -f conftest.tail
24543 ac_lines=`grep -c . conftest.vals`
24544 # grep -c gives empty output for an empty file on some AIX systems.
24545 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24546 # Write a limited-size here document to conftest.frag.
24547 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24548 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24550 sed -f conftest.frag conftest.in > conftest.out
24552 mv conftest.out conftest.in
24553 ' >> $CONFIG_STATUS
24554 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24555 rm -f conftest.vals
24556 mv conftest.tail conftest.vals
24558 rm -f conftest.vals
24560 cat >> $CONFIG_STATUS <<\EOF
24561 rm -f conftest.frag conftest.h
24562 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24563 cat conftest.in >> conftest.h
24565 if cmp -s $ac_file conftest.h 2>/dev/null; then
24566 echo "$ac_file is unchanged"
24569 # Remove last slash and all that follows it. Not all systems have dirname.
24570 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24571 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24572 # The file is in a subdirectory.
24573 test ! -d "$ac_dir" && mkdir "$ac_dir"
24576 mv conftest.h $ac_file
24581 cat >> $CONFIG_STATUS <<EOF
24586 with_target_subdir=${with_target_subdir}
24587 with_build_subdir=${with_build_subdir}
24588 with_multisubdir=${with_multisubdir}
24589 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24590 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24591 glibcpp_basedir=${glibcpp_basedir}
24594 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24597 cat >> $CONFIG_STATUS <<\EOF
24598 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24599 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24600 if test -n "$CONFIG_FILES"; then
24601 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24602 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24603 # Ony modify Makefiles that are just being created.
24604 case " $CONFIG_FILES" in
24606 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24609 case $CONFIG_FILES in
24611 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24614 case $CONFIG_FILES in
24615 *libsupc++/Makefile*)
24616 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24622 chmod +x testsuite_flags
24625 chmod +x $CONFIG_STATUS
24626 rm -fr confdefs* $ac_clean_files
24627 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24631 # Sanity checking & User-visible messages.
24632 # Checks down here, otherwise they get scrolled off before
24633 # the user will notice.
24635 # Trying to get more people to read documentation. Possibly remove
24636 # check and warn all the time. There is no "informational" AC_MSG_
24637 # macro, so these are going to be printed even when --quiet/--silent
24639 if test ! -f stamp-sanity-warned; then
24640 touch stamp-sanity-warned
24642 echo "Please make certain that you read the installation information here:"
24643 echo " faster => ${srcdir}/docs/html/install.html"
24644 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24646 echo "and the configuration information here:"
24647 echo " faster => ${srcdir}/docs/html/configopts.html"
24648 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24650 echo "before proceeding with ${_cv_gnu_make_command}."