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 mawk gawk 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 *.$ac_ext | *.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 # Set up safe default values for all subsequent AM_CONDITIONAL tests.
1506 #glibcpp_pch_comp=no
1512 # Find platform-specific directories containing configuration info. In
1513 # addition to possibly modifying the same flags, it also sets up symlinks.
1515 . ${glibcpp_basedir}/configure.host
1516 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1517 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1521 am__api_version="1.4"
1522 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1523 echo "configure:1524: checking whether build environment is sane" >&5
1526 echo timestamp > conftestfile
1527 # Do `set' in a subshell so we don't clobber the current shell's
1528 # arguments. Must try -L first in case configure is actually a
1529 # symlink; some systems play weird games with the mod time of symlinks
1530 # (eg FreeBSD returns the mod time of the symlink's containing
1533 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1534 if test "$*" = "X"; then
1536 set X `ls -t $srcdir/configure conftestfile`
1538 if test "$*" != "X $srcdir/configure conftestfile" \
1539 && test "$*" != "X conftestfile $srcdir/configure"; then
1541 # If neither matched, then we have a broken ls. This can happen
1542 # if, for instance, CONFIG_SHELL is bash and it inherits a
1543 # broken ls alias from the environment. This has actually
1544 # happened. Such a system could not be considered "sane".
1545 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1546 alias in your environment" 1>&2; exit 1; }
1549 test "$2" = conftestfile
1555 { echo "configure: error: newly created file is older than distributed files!
1556 Check your system clock" 1>&2; exit 1; }
1559 echo "$ac_t""yes" 1>&6
1560 if test "$program_transform_name" = s,x,x,; then
1561 program_transform_name=
1563 # Double any \ or $. echo might interpret backslashes.
1564 cat <<\EOF_SED > conftestsed
1565 s,\\,\\\\,g; s,\$,$$,g
1567 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1570 test "$program_prefix" != NONE &&
1571 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1572 # Use a double $ so make ignores it.
1573 test "$program_suffix" != NONE &&
1574 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1576 # sed with no file args requires a program.
1577 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1579 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1580 echo "configure:1581: checking whether ${MAKE-make} sets \${MAKE}" >&5
1581 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1582 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1583 echo $ac_n "(cached) $ac_c" 1>&6
1585 cat > conftestmake <<\EOF
1587 @echo 'ac_maketemp="${MAKE}"'
1589 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1590 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1591 if test -n "$ac_maketemp"; then
1592 eval ac_cv_prog_make_${ac_make}_set=yes
1594 eval ac_cv_prog_make_${ac_make}_set=no
1598 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1599 echo "$ac_t""yes" 1>&6
1602 echo "$ac_t""no" 1>&6
1603 SET_MAKE="MAKE=${MAKE-make}"
1609 VERSION=$gcc_version
1611 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1612 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1614 cat >> confdefs.h <<EOF
1615 #define PACKAGE "$PACKAGE"
1618 cat >> confdefs.h <<EOF
1619 #define VERSION "$VERSION"
1624 missing_dir=`cd $ac_aux_dir && pwd`
1625 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1626 echo "configure:1627: checking for working aclocal-${am__api_version}" >&5
1627 # Run test in a subshell; some versions of sh will print an error if
1628 # an executable is not found, even if stderr is redirected.
1629 # Redirect stdin to placate older versions of autoconf. Sigh.
1630 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1631 ACLOCAL=aclocal-${am__api_version}
1632 echo "$ac_t""found" 1>&6
1634 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1635 echo "$ac_t""missing" 1>&6
1638 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1639 echo "configure:1640: checking for working autoconf" >&5
1640 # Run test in a subshell; some versions of sh will print an error if
1641 # an executable is not found, even if stderr is redirected.
1642 # Redirect stdin to placate older versions of autoconf. Sigh.
1643 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1645 echo "$ac_t""found" 1>&6
1647 AUTOCONF="$missing_dir/missing autoconf"
1648 echo "$ac_t""missing" 1>&6
1651 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1652 echo "configure:1653: checking for working automake-${am__api_version}" >&5
1653 # Run test in a subshell; some versions of sh will print an error if
1654 # an executable is not found, even if stderr is redirected.
1655 # Redirect stdin to placate older versions of autoconf. Sigh.
1656 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1657 AUTOMAKE=automake-${am__api_version}
1658 echo "$ac_t""found" 1>&6
1660 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1661 echo "$ac_t""missing" 1>&6
1664 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1665 echo "configure:1666: checking for working autoheader" >&5
1666 # Run test in a subshell; some versions of sh will print an error if
1667 # an executable is not found, even if stderr is redirected.
1668 # Redirect stdin to placate older versions of autoconf. Sigh.
1669 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1670 AUTOHEADER=autoheader
1671 echo "$ac_t""found" 1>&6
1673 AUTOHEADER="$missing_dir/missing autoheader"
1674 echo "$ac_t""missing" 1>&6
1677 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1678 echo "configure:1679: checking for working makeinfo" >&5
1679 # Run test in a subshell; some versions of sh will print an error if
1680 # an executable is not found, even if stderr is redirected.
1681 # Redirect stdin to placate older versions of autoconf. Sigh.
1682 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1684 echo "$ac_t""found" 1>&6
1686 MAKEINFO="$missing_dir/missing makeinfo"
1687 echo "$ac_t""missing" 1>&6
1696 # Check whether --enable-shared or --disable-shared was given.
1697 if test "${enable_shared+set}" = set; then
1698 enableval="$enable_shared"
1699 p=${PACKAGE-default}
1701 yes) enable_shared=yes ;;
1702 no) enable_shared=no ;;
1705 # Look at the argument we got. We use all the common list separators.
1706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1707 for pkg in $enableval; do
1708 if test "X$pkg" = "X$p"; then
1719 # Check whether --enable-static or --disable-static was given.
1720 if test "${enable_static+set}" = set; then
1721 enableval="$enable_static"
1722 p=${PACKAGE-default}
1724 yes) enable_static=yes ;;
1725 no) enable_static=no ;;
1728 # Look at the argument we got. We use all the common list separators.
1729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1730 for pkg in $enableval; do
1731 if test "X$pkg" = "X$p"; then
1742 # Check whether --enable-fast-install or --disable-fast-install was given.
1743 if test "${enable_fast_install+set}" = set; then
1744 enableval="$enable_fast_install"
1745 p=${PACKAGE-default}
1747 yes) enable_fast_install=yes ;;
1748 no) enable_fast_install=no ;;
1750 enable_fast_install=no
1751 # Look at the argument we got. We use all the common list separators.
1752 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1753 for pkg in $enableval; do
1754 if test "X$pkg" = "X$p"; then
1755 enable_fast_install=yes
1762 enable_fast_install=yes
1765 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1766 if test "${with_gnu_ld+set}" = set; then
1767 withval="$with_gnu_ld"
1768 test "$withval" = no || with_gnu_ld=yes
1774 if test "$GCC" = yes; then
1775 # Check if gcc -print-prog-name=ld gives a path.
1776 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1777 echo "configure:1778: checking for ld used by GCC" >&5
1780 # gcc leaves a trailing carriage return which upsets mingw
1781 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1783 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1786 # Accept absolute paths.
1787 [\\/]* | [A-Za-z]:[\\/]*)
1788 re_direlt='/[^/][^/]*/\.\./'
1789 # Canonicalize the path of ld
1790 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1791 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1792 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1794 test -z "$LD" && LD="$ac_prog"
1797 # If it fails, then pretend we aren't using GCC.
1801 # If it is relative, then search for the first ld in PATH.
1805 elif test "$with_gnu_ld" = yes; then
1806 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1807 echo "configure:1808: checking for GNU ld" >&5
1809 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1810 echo "configure:1811: checking for non-GNU ld" >&5
1812 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1813 echo $ac_n "(cached) $ac_c" 1>&6
1815 if test -z "$LD"; then
1816 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1817 for ac_dir in $PATH; do
1818 test -z "$ac_dir" && ac_dir=.
1819 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1820 lt_cv_path_LD="$ac_dir/$ac_prog"
1821 # Check to see if the program is GNU ld. I'd rather use --version,
1822 # but apparently some GNU ld's only accept -v.
1823 # Break only if it was the GNU/non-GNU ld that we prefer.
1824 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1825 test "$with_gnu_ld" != no && break
1827 test "$with_gnu_ld" != yes && break
1833 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1838 if test -n "$LD"; then
1839 echo "$ac_t""$LD" 1>&6
1841 echo "$ac_t""no" 1>&6
1843 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1844 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1845 echo "configure:1846: checking if the linker ($LD) is GNU ld" >&5
1846 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1847 echo $ac_n "(cached) $ac_c" 1>&6
1849 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1850 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1851 lt_cv_prog_gnu_ld=yes
1853 lt_cv_prog_gnu_ld=no
1857 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1858 with_gnu_ld=$lt_cv_prog_gnu_ld
1861 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1862 echo "configure:1863: checking for $LD option to reload object files" >&5
1863 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1864 echo $ac_n "(cached) $ac_c" 1>&6
1866 lt_cv_ld_reload_flag='-r'
1869 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1870 reload_flag=$lt_cv_ld_reload_flag
1871 test -n "$reload_flag" && reload_flag=" $reload_flag"
1873 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1874 echo "configure:1875: checking for BSD-compatible nm" >&5
1875 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1876 echo $ac_n "(cached) $ac_c" 1>&6
1878 if test -n "$NM"; then
1879 # Let the user override the test.
1882 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1883 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1884 test -z "$ac_dir" && ac_dir=.
1885 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1886 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1887 # Check to see if the nm accepts a BSD-compat flag.
1888 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1889 # nm: unknown option "B" ignored
1890 # Tru64's nm complains that /dev/null is an invalid object file
1891 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1892 lt_cv_path_NM="$tmp_nm -B"
1894 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1895 lt_cv_path_NM="$tmp_nm -p"
1898 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1899 continue # so that we can try to find one that supports BSD flags
1904 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1909 echo "$ac_t""$NM" 1>&6
1911 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1912 echo "configure:1913: checking how to recognise dependant libraries" >&5
1913 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1914 echo $ac_n "(cached) $ac_c" 1>&6
1916 lt_cv_file_magic_cmd='$MAGIC_CMD'
1917 lt_cv_file_magic_test_file=
1918 lt_cv_deplibs_check_method='unknown'
1919 # Need to set the preceding variable on all platforms that support
1920 # interlibrary dependencies.
1921 # 'none' -- dependencies not supported.
1922 # `unknown' -- same as none, but documents that we really don't know.
1923 # 'pass_all' -- all dependencies passed with no checks.
1924 # 'test_compile' -- check by making test program.
1925 # 'file_magic [regex]' -- check by looking for files in library path
1926 # which responds to the $file_magic_cmd with a given egrep regex.
1927 # If you have `file' or equivalent on your system and you're not sure
1928 # whether `pass_all' will *always* work, you probably want this one.
1932 lt_cv_deplibs_check_method=pass_all
1936 lt_cv_deplibs_check_method=pass_all
1940 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1941 lt_cv_file_magic_cmd='/usr/bin/file -L'
1942 lt_cv_file_magic_test_file=/shlib/libc.so
1945 cygwin* | mingw* |pw32*)
1946 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1947 lt_cv_file_magic_cmd='$OBJDUMP -f'
1950 darwin* | rhapsody*)
1951 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1952 lt_cv_file_magic_cmd='/usr/bin/file -L'
1954 rhapsody* | darwin1.012)
1955 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1958 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1964 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1967 # Not sure whether the presence of OpenBSD here was a mistake.
1968 # Let's accept both of them until this is cleared up.
1969 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1970 lt_cv_file_magic_cmd=/usr/bin/file
1971 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1975 lt_cv_deplibs_check_method=pass_all
1980 lt_cv_deplibs_check_method=pass_all
1986 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1987 lt_cv_file_magic_cmd=/usr/bin/file
1988 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1992 lt_cv_file_magic_cmd=/usr/bin/file
1993 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2001 # this will be overridden with pass_all, but let us keep it just in case
2002 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2006 *-32|*"-32 ") libmagic=32-bit;;
2007 *-n32|*"-n32 ") libmagic=N32;;
2008 *-64|*"-64 ") libmagic=64-bit;;
2009 *) libmagic=never-match;;
2011 # this will be overridden with pass_all, but let us keep it just in case
2012 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2015 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2016 lt_cv_deplibs_check_method=pass_all
2019 # This must be Linux ELF.
2022 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2023 lt_cv_deplibs_check_method=pass_all ;;
2025 # glibc up to 2.1.1 does not perform some relocations on ARM
2026 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2028 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2032 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2033 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2035 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2040 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2041 lt_cv_file_magic_cmd=/usr/bin/file
2042 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2045 osf3* | osf4* | osf5*)
2046 # this will be overridden with pass_all, but let us keep it just in case
2047 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2048 lt_cv_file_magic_test_file=/shlib/libc.so
2049 lt_cv_deplibs_check_method=pass_all
2053 lt_cv_deplibs_check_method=pass_all
2057 lt_cv_deplibs_check_method=pass_all
2058 lt_cv_file_magic_test_file=/lib/libc.so
2061 sysv5uw[78]* | sysv4*uw2*)
2062 lt_cv_deplibs_check_method=pass_all
2065 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2066 case $host_vendor in
2068 lt_cv_deplibs_check_method=pass_all
2071 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
2072 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2080 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2081 file_magic_cmd=$lt_cv_file_magic_cmd
2082 deplibs_check_method=$lt_cv_deplibs_check_method
2084 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2085 echo "configure:2086: checking for object suffix" >&5
2086 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2087 echo $ac_n "(cached) $ac_c" 1>&6
2090 echo 'int i = 1;' > conftest.$ac_ext
2091 if { (eval echo configure:2092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2092 for ac_file in conftest.*; do
2095 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2099 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2104 echo "$ac_t""$ac_cv_objext" 1>&6
2105 OBJEXT=$ac_cv_objext
2106 ac_objext=$ac_cv_objext
2108 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2110 # Only perform the check for file, if the check method requires it
2111 case $deplibs_check_method in
2113 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2114 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2115 echo "configure:2116: checking for ${ac_tool_prefix}file" >&5
2116 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2117 echo $ac_n "(cached) $ac_c" 1>&6
2121 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2124 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2127 ac_save_MAGIC_CMD="$MAGIC_CMD"
2128 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2129 ac_dummy="/usr/bin:$PATH"
2130 for ac_dir in $ac_dummy; do
2131 test -z "$ac_dir" && ac_dir=.
2132 if test -f $ac_dir/${ac_tool_prefix}file; then
2133 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2134 if test -n "$file_magic_test_file"; then
2135 case $deplibs_check_method in
2137 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2139 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2140 egrep "$file_magic_regex" > /dev/null; then
2145 *** Warning: the command libtool uses to detect shared libraries,
2146 *** $file_magic_cmd, produces output that libtool cannot recognize.
2147 *** The result is that libtool may fail to recognize shared libraries
2148 *** as such. This will affect the creation of libtool libraries that
2149 *** depend on shared libraries, but programs linked with such libtool
2150 *** libraries will work regardless of this problem. Nevertheless, you
2151 *** may want to report the problem to your system manager and/or to
2152 *** bug-libtool@gnu.org
2162 MAGIC_CMD="$ac_save_MAGIC_CMD"
2167 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2168 if test -n "$MAGIC_CMD"; then
2169 echo "$ac_t""$MAGIC_CMD" 1>&6
2171 echo "$ac_t""no" 1>&6
2174 if test -z "$lt_cv_path_MAGIC_CMD"; then
2175 if test -n "$ac_tool_prefix"; then
2176 echo $ac_n "checking for file""... $ac_c" 1>&6
2177 echo "configure:2178: checking for file" >&5
2178 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2179 echo $ac_n "(cached) $ac_c" 1>&6
2183 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2186 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2189 ac_save_MAGIC_CMD="$MAGIC_CMD"
2190 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2191 ac_dummy="/usr/bin:$PATH"
2192 for ac_dir in $ac_dummy; do
2193 test -z "$ac_dir" && ac_dir=.
2194 if test -f $ac_dir/file; then
2195 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2196 if test -n "$file_magic_test_file"; then
2197 case $deplibs_check_method in
2199 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2200 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2201 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2202 egrep "$file_magic_regex" > /dev/null; then
2207 *** Warning: the command libtool uses to detect shared libraries,
2208 *** $file_magic_cmd, produces output that libtool cannot recognize.
2209 *** The result is that libtool may fail to recognize shared libraries
2210 *** as such. This will affect the creation of libtool libraries that
2211 *** depend on shared libraries, but programs linked with such libtool
2212 *** libraries will work regardless of this problem. Nevertheless, you
2213 *** may want to report the problem to your system manager and/or to
2214 *** bug-libtool@gnu.org
2224 MAGIC_CMD="$ac_save_MAGIC_CMD"
2229 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2230 if test -n "$MAGIC_CMD"; then
2231 echo "$ac_t""$MAGIC_CMD" 1>&6
2233 echo "$ac_t""no" 1>&6
2245 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2246 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2247 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2248 echo "configure:2249: checking for $ac_word" >&5
2249 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2250 echo $ac_n "(cached) $ac_c" 1>&6
2252 if test -n "$RANLIB"; then
2253 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2255 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2257 for ac_dir in $ac_dummy; do
2258 test -z "$ac_dir" && ac_dir=.
2259 if test -f $ac_dir/$ac_word; then
2260 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2267 RANLIB="$ac_cv_prog_RANLIB"
2268 if test -n "$RANLIB"; then
2269 echo "$ac_t""$RANLIB" 1>&6
2271 echo "$ac_t""no" 1>&6
2275 if test -z "$ac_cv_prog_RANLIB"; then
2276 if test -n "$ac_tool_prefix"; then
2277 # Extract the first word of "ranlib", so it can be a program name with args.
2278 set dummy ranlib; ac_word=$2
2279 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2280 echo "configure:2281: checking for $ac_word" >&5
2281 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6
2284 if test -n "$RANLIB"; then
2285 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2289 for ac_dir in $ac_dummy; do
2290 test -z "$ac_dir" && ac_dir=.
2291 if test -f $ac_dir/$ac_word; then
2292 ac_cv_prog_RANLIB="ranlib"
2297 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2300 RANLIB="$ac_cv_prog_RANLIB"
2301 if test -n "$RANLIB"; then
2302 echo "$ac_t""$RANLIB" 1>&6
2304 echo "$ac_t""no" 1>&6
2312 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2313 set dummy ${ac_tool_prefix}strip; ac_word=$2
2314 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2315 echo "configure:2316: checking for $ac_word" >&5
2316 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2317 echo $ac_n "(cached) $ac_c" 1>&6
2319 if test -n "$STRIP"; then
2320 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2324 for ac_dir in $ac_dummy; do
2325 test -z "$ac_dir" && ac_dir=.
2326 if test -f $ac_dir/$ac_word; then
2327 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2334 STRIP="$ac_cv_prog_STRIP"
2335 if test -n "$STRIP"; then
2336 echo "$ac_t""$STRIP" 1>&6
2338 echo "$ac_t""no" 1>&6
2342 if test -z "$ac_cv_prog_STRIP"; then
2343 if test -n "$ac_tool_prefix"; then
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip; ac_word=$2
2346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2347 echo "configure:2348: checking for $ac_word" >&5
2348 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2349 echo $ac_n "(cached) $ac_c" 1>&6
2351 if test -n "$STRIP"; then
2352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2356 for ac_dir in $ac_dummy; do
2357 test -z "$ac_dir" && ac_dir=.
2358 if test -f $ac_dir/$ac_word; then
2359 ac_cv_prog_STRIP="strip"
2364 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2367 STRIP="$ac_cv_prog_STRIP"
2368 if test -n "$STRIP"; then
2369 echo "$ac_t""$STRIP" 1>&6
2371 echo "$ac_t""no" 1>&6
2380 # Check for any special flags to pass to ltconfig.
2381 libtool_flags="--cache-file=$cache_file"
2382 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2383 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2384 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2385 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2386 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2387 libtool_flags="$libtool_flags --enable-dlopen"
2389 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2390 if test "${enable_libtool_lock+set}" = set; then
2391 enableval="$enable_libtool_lock"
2395 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2396 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2398 # Check whether --with-pic or --without-pic was given.
2399 if test "${with_pic+set}" = set; then
2406 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2407 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2409 # Some flags need to be propagated to the compiler or linker for good
2413 # Find out which ABI we are using.
2414 echo '#line 2415 "configure"' > conftest.$ac_ext
2415 if { (eval echo configure:2416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2416 if test "$lt_cv_prog_gnu_ld" = yes; then
2417 case `/usr/bin/file conftest.$ac_objext` in
2419 LD="${LD-ld} -melf32bsmip"
2422 LD="${LD-ld} -melf32bmipn32"
2425 LD="${LD-ld} -melf64bmip"
2429 case `/usr/bin/file conftest.$ac_objext` in
2446 # Find out which ABI we are using.
2447 echo 'int i;' > conftest.$ac_ext
2448 if { (eval echo configure:2449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2449 case "`/usr/bin/file conftest.o`" in
2461 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2462 # Find out which ABI we are using.
2463 echo 'int i;' > conftest.$ac_ext
2464 if { (eval echo configure:2465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2465 case "`/usr/bin/file conftest.o`" in
2469 LD="${LD-ld} -m elf_i386"
2472 LD="${LD-ld} -m elf32ppclinux"
2475 LD="${LD-ld} -m elf_s390"
2478 LD="${LD-ld} -m elf32_sparc"
2485 LD="${LD-ld} -m elf_x86_64"
2487 ppc*-*linux*|powerpc*-*linux*)
2488 LD="${LD-ld} -m elf64ppc"
2491 LD="${LD-ld} -m elf64_s390"
2494 LD="${LD-ld} -m elf64_sparc"
2504 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2505 SAVE_CFLAGS="$CFLAGS"
2506 CFLAGS="$CFLAGS -belf"
2507 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2508 echo "configure:2509: checking whether the C compiler needs -belf" >&5
2509 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2510 echo $ac_n "(cached) $ac_c" 1>&6
2514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2515 ac_cpp='$CPP $CPPFLAGS'
2516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2518 cross_compiling=$ac_cv_prog_cc_cross
2520 cat > conftest.$ac_ext <<EOF
2521 #line 2522 "configure"
2522 #include "confdefs.h"
2528 if { (eval echo configure:2529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2530 lt_cv_cc_needs_belf=yes
2532 echo "configure: failed program was:" >&5
2533 cat conftest.$ac_ext >&5
2535 lt_cv_cc_needs_belf=no
2539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2540 ac_cpp='$CPP $CPPFLAGS'
2541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2543 cross_compiling=$ac_cv_prog_cc_cross
2547 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2548 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2549 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2550 CFLAGS="$SAVE_CFLAGS"
2557 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2558 echo "configure:2559: checking how to run the C++ preprocessor" >&5
2559 if test -z "$CXXCPP"; then
2560 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2561 echo $ac_n "(cached) $ac_c" 1>&6
2564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2565 ac_cpp='$CXXCPP $CPPFLAGS'
2566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2568 cross_compiling=$ac_cv_prog_cxx_cross
2569 CXXCPP="${CXX-g++} -E"
2570 cat > conftest.$ac_ext <<EOF
2571 #line 2572 "configure"
2572 #include "confdefs.h"
2575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2576 { (eval echo configure:2577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2578 if test -z "$ac_err"; then
2582 echo "configure: failed program was:" >&5
2583 cat conftest.$ac_ext >&5
2588 ac_cv_prog_CXXCPP="$CXXCPP"
2590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2591 ac_cpp='$CPP $CPPFLAGS'
2592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2594 cross_compiling=$ac_cv_prog_cc_cross
2597 CXXCPP="$ac_cv_prog_CXXCPP"
2598 echo "$ac_t""$CXXCPP" 1>&6
2601 # Save cache, so that ltconfig can load it
2602 cat > confcache <<\EOF
2603 # This file is a shell script that caches the results of configure
2604 # tests run on this system so they can be shared between configure
2605 # scripts and configure runs. It is not useful on other systems.
2606 # If it contains results you don't want to keep, you may remove or edit it.
2608 # By default, configure uses ./config.cache as the cache file,
2609 # creating it if it does not exist already. You can give configure
2610 # the --cache-file=FILE option to use a different cache file; that is
2611 # what configure does when it calls configure scripts in
2612 # subdirectories, so they share the cache.
2613 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2614 # config.status only pays attention to the cache file if you give it the
2615 # --recheck option to rerun configure.
2618 # The following way of writing the cache mishandles newlines in values,
2619 # but we know of no workaround that is simple, portable, and efficient.
2620 # So, don't put newlines in cache variables' values.
2621 # Ultrix sh set writes to stderr and can't be redirected directly,
2622 # and sets the high bit in the cache file unless we assign to the vars.
2624 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2626 # `set' does not quote correctly, so add quotes (double-quote substitution
2627 # turns \\\\ into \\, and sed turns \\ into \).
2629 -e "s/'/'\\\\''/g" \
2630 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2633 # `set' quotes correctly as required by POSIX, so do not add quotes.
2634 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2637 if cmp -s $cache_file confcache; then
2640 if test -w $cache_file; then
2641 echo "updating cache $cache_file"
2642 cat confcache > $cache_file
2644 echo "not updating unwritable cache $cache_file"
2650 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2651 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2652 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2653 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2654 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2655 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2656 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2657 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2658 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2659 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2661 # Reload cache, that may have been modified by ltconfig
2662 if test -r "$cache_file"; then
2663 echo "loading cache $cache_file"
2666 echo "creating cache $cache_file"
2671 # This can be used to rebuild libtool when needed
2672 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2674 # Always use our own libtool.
2675 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2677 # Redirect the config.log output again, so that the ltconfig log is not
2678 # clobbered by the next message.
2679 exec 5>>./config.log
2683 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2685 lt_save_CFLAGS="$CFLAGS"
2686 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2687 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2688 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2689 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2690 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2691 deplibs_check_method="$deplibs_check_method" \
2692 file_magic_cmd="$file_magic_cmd" \
2693 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2694 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2695 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2697 CFLAGS="$lt_save_CFLAGS"
2699 # Redirect the config.log output again, so that the ltconfig log is not
2700 # clobbered by the next message.
2701 exec 5>>./config.log
2711 # Check for c++ or library specific bits that don't require linking.
2712 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2713 echo "configure:2714: checking for GNU make" >&5
2714 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2715 echo $ac_n "(cached) $ac_c" 1>&6
2717 _cv_gnu_make_command='' ;
2718 for a in "${MAKE-make}" make gmake gnumake ; do
2719 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2721 _cv_gnu_make_command=$a ;
2728 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2729 if test "x$_cv_gnu_make_command" != "x" ; then
2736 #GLIBCPP_CHECK_COMPILER_VERSION
2738 ac_test_CXXFLAGS="${CXXFLAGS+set}"
2739 ac_save_CXXFLAGS="$CXXFLAGS"
2740 CXXFLAGS='-Werror -Winvalid-pch -Wno-deprecated -x c++-header'
2742 echo $ac_n "checking for compiler that seems to compile .gch files""... $ac_c" 1>&6
2743 echo "configure:2744: checking for compiler that seems to compile .gch files" >&5
2744 if test x${glibcpp_pch_comp+set} != xset; then
2745 if eval "test \"`echo '$''{'glibcpp_pch_comp'+set}'`\" = set"; then
2746 echo $ac_n "(cached) $ac_c" 1>&6
2751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2752 ac_cpp='$CXXCPP $CPPFLAGS'
2753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2755 cross_compiling=$ac_cv_prog_cxx_cross
2757 cat > conftest.$ac_ext <<EOF
2758 #line 2759 "configure"
2759 #include "confdefs.h"
2766 if { (eval echo configure:2767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2768 glibcpp_pch_comp=yes
2770 echo "configure: failed program was:" >&5
2771 cat conftest.$ac_ext >&5
2777 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2778 ac_cpp='$CPP $CPPFLAGS'
2779 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2780 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2781 cross_compiling=$ac_cv_prog_cc_cross
2787 echo "$ac_t""$glibcpp_pch_comp" 1>&6
2789 CXXFLAGS="$ac_save_CXXFLAGS"
2792 if test "$glibcpp_pch_comp" = yes; then
2793 GLIBCPP_BUILD_PCH_TRUE=
2794 GLIBCPP_BUILD_PCH_FALSE='#'
2796 GLIBCPP_BUILD_PCH_TRUE='#'
2797 GLIBCPP_BUILD_PCH_FALSE=
2799 if test "$glibcpp_pch_comp" = yes; then
2800 glibcpp_PCHFLAGS="-include bits/stdc++.h"
2807 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2808 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2809 echo "configure:2810: checking how to run the C preprocessor" >&5
2810 # On Suns, sometimes $CPP names a directory.
2811 if test -n "$CPP" && test -d "$CPP"; then
2814 if test -z "$CPP"; then
2815 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2816 echo $ac_n "(cached) $ac_c" 1>&6
2818 # This must be in double quotes, not single quotes, because CPP may get
2819 # substituted into the Makefile and "${CC-cc}" will confuse make.
2821 # On the NeXT, cc -E runs the code through the compiler's parser,
2822 # not just through cpp.
2823 cat > conftest.$ac_ext <<EOF
2824 #line 2825 "configure"
2825 #include "confdefs.h"
2829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2830 { (eval echo configure:2831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2832 if test -z "$ac_err"; then
2836 echo "configure: failed program was:" >&5
2837 cat conftest.$ac_ext >&5
2839 CPP="${CC-cc} -E -traditional-cpp"
2840 cat > conftest.$ac_ext <<EOF
2841 #line 2842 "configure"
2842 #include "confdefs.h"
2846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2847 { (eval echo configure:2848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2849 if test -z "$ac_err"; then
2853 echo "configure: failed program was:" >&5
2854 cat conftest.$ac_ext >&5
2856 CPP="${CC-cc} -nologo -E"
2857 cat > conftest.$ac_ext <<EOF
2858 #line 2859 "configure"
2859 #include "confdefs.h"
2863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2864 { (eval echo configure:2865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2866 if test -z "$ac_err"; then
2870 echo "configure: failed program was:" >&5
2871 cat conftest.$ac_ext >&5
2880 ac_cv_prog_CPP="$CPP"
2882 CPP="$ac_cv_prog_CPP"
2884 ac_cv_prog_CPP="$CPP"
2886 echo "$ac_t""$CPP" 1>&6
2889 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2890 echo "configure:2891: checking for cstdio to use" >&5
2891 # Check whether --enable-cstdio or --disable-cstdio was given.
2892 if test "${enable_cstdio+set}" = set; then
2893 enableval="$enable_cstdio"
2894 if test x$enable_cstdio = xno; then
2902 enable_cstdio_flag=$enable_cstdio
2904 case x${enable_cstdio_flag} in
2906 CSTDIO_H=config/io/c_io_libio.h
2907 BASIC_FILE_H=config/io/basic_file_libio.h
2908 BASIC_FILE_CC=config/io/basic_file_libio.cc
2909 echo "$ac_t""libio" 1>&6
2911 # see if we are on a system with libio native (ie, linux)
2912 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2913 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2914 echo "configure:2915: checking for libio.h" >&5
2915 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2916 echo $ac_n "(cached) $ac_c" 1>&6
2918 cat > conftest.$ac_ext <<EOF
2919 #line 2920 "configure"
2920 #include "confdefs.h"
2923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2924 { (eval echo configure:2925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2926 if test -z "$ac_err"; then
2928 eval "ac_cv_header_$ac_safe=yes"
2931 echo "configure: failed program was:" >&5
2932 cat conftest.$ac_ext >&5
2934 eval "ac_cv_header_$ac_safe=no"
2938 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2939 echo "$ac_t""yes" 1>&6
2942 echo "$ac_t""no" 1>&6
2947 # Need to check and see what version of glibc is being used. If
2948 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2949 # compile most of libio for linux systems.
2950 if test x$has_libio = x"yes"; then
2953 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2954 echo "configure:2955: checking for glibc version >= 2.2" >&5
2955 cat > conftest.$ac_ext <<EOF
2956 #line 2957 "configure"
2957 #include "confdefs.h"
2959 #include <features.h>
2960 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2966 egrep "ok" >/dev/null 2>&1; then
2968 glibc_satisfactory=yes
2971 glibc_satisfactory=no
2975 echo "$ac_t""$glibc_satisfactory" 1>&6
2979 # XXX at the moment, admit defeat and force the recompilation
2980 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2981 glibc_satisfactory=no
2983 if test x$glibc_satisfactory = x"yes"; then
2988 # bkoz XXX need to add checks to enable this
2989 # pme XXX here's a first pass at such a check
2990 if test x$enable_c_mbchar != xno; then
2998 # Using libio, but <libio.h> doesn't exist on the target system. . .
3000 # bkoz XXX need to add checks to enable this
3001 # pme XXX here's a first pass at such a check
3002 if test x$enable_c_mbchar != xno; then
3009 xstdio | x | xno | xnone | xyes)
3011 CSTDIO_H=config/io/c_io_stdio.h
3012 BASIC_FILE_H=config/io/basic_file_stdio.h
3013 BASIC_FILE_CC=config/io/basic_file_stdio.cc
3014 echo "$ac_t""stdio" 1>&6
3016 # We're not using stdio.
3021 echo "$enable_cstdio is an unknown io package" 1>&2
3029 # 2000-08-04 bkoz hack
3030 CCODECVT_C=config/io/c_io_libio_codecvt.c
3032 # 2000-08-04 bkoz hack
3036 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3037 GLIBCPP_BUILD_LIBIO_TRUE=
3038 GLIBCPP_BUILD_LIBIO_FALSE='#'
3040 GLIBCPP_BUILD_LIBIO_TRUE='#'
3041 GLIBCPP_BUILD_LIBIO_FALSE=
3045 if test "$need_libio" = yes; then
3046 GLIBCPP_NEED_LIBIO_TRUE=
3047 GLIBCPP_NEED_LIBIO_FALSE='#'
3049 GLIBCPP_NEED_LIBIO_TRUE='#'
3050 GLIBCPP_NEED_LIBIO_FALSE=
3054 if test "$need_wlibio" = yes; then
3055 GLIBCPP_NEED_WLIBIO_TRUE=
3056 GLIBCPP_NEED_WLIBIO_FALSE='#'
3058 GLIBCPP_NEED_WLIBIO_TRUE='#'
3059 GLIBCPP_NEED_WLIBIO_FALSE=
3061 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3062 libio_la=../libio/libio.la
3069 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
3070 echo "configure:3071: checking for clocale to use" >&5
3071 # Check whether --enable-clocale or --disable-clocale was given.
3072 if test "${enable_clocale+set}" = set; then
3073 enableval="$enable_clocale"
3074 if test x$enable_clocale = xno; then
3082 enable_clocale_flag=$enable_clocale
3084 if test x$enable_clocale_flag = xno; then
3085 case x${target_os} in
3087 cat > conftest.$ac_ext <<EOF
3088 #line 3089 "configure"
3089 #include "confdefs.h"
3091 #include <features.h>
3092 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3098 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3100 enable_clocale_flag=gnu
3103 enable_clocale_flag=generic
3108 # Test for bugs early in glibc-2.2.x series
3109 if test x$enable_clocale_flag = xgnu; then
3110 if test "$cross_compiling" = yes; then
3111 enable_clocale_flag=generic
3113 cat > conftest.$ac_ext <<EOF
3114 #line 3115 "configure"
3115 #include "confdefs.h"
3117 #define _GNU_SOURCE 1
3120 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3121 extern __typeof(newlocale) __newlocale;
3122 extern __typeof(duplocale) __duplocale;
3123 extern __typeof(strcoll_l) __strcoll_l;
3127 const char __one[] = "Äuglein Augmen";
3128 const char __two[] = "Äuglein";
3133 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3134 loc_dup = __duplocale(loc);
3135 i = __strcoll_l(__one, __two, loc);
3136 j = __strcoll_l(__one, __two, loc_dup);
3141 if { (eval echo configure:3142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3143 enable_clocale_flag=gnu
3145 echo "configure: failed program was:" >&5
3146 cat conftest.$ac_ext >&5
3148 enable_clocale_flag=generic
3155 # ... at some point put __strxfrm_l tests in as well.
3158 enable_clocale_flag=generic
3163 # Check whether --enable-nls or --disable-nls was given.
3164 if test "${enable_nls+set}" = set; then
3165 enableval="$enable_nls"
3173 case x${enable_clocale_flag} in
3175 echo "$ac_t""generic" 1>&6
3177 CLOCALE_H=config/locale/generic/c_locale.h
3178 CLOCALE_CC=config/locale/generic/c_locale.cc
3179 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3180 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3181 CCOLLATE_CC=config/locale/generic/collate_members.cc
3182 CCTYPE_CC=config/locale/generic/ctype_members.cc
3183 CMESSAGES_H=config/locale/generic/messages_members.h
3184 CMESSAGES_CC=config/locale/generic/messages_members.cc
3185 CMONEY_CC=config/locale/generic/monetary_members.cc
3186 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3187 CTIME_H=config/locale/generic/time_members.h
3188 CTIME_CC=config/locale/generic/time_members.cc
3189 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3192 echo "$ac_t""gnu" 1>&6
3194 # Declare intention to use gettext, and add support for specific
3196 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3199 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3200 # Extract the first word of "msgfmt", so it can be a program name with args.
3201 set dummy msgfmt; ac_word=$2
3202 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3203 echo "configure:3204: checking for $ac_word" >&5
3204 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3205 echo $ac_n "(cached) $ac_c" 1>&6
3207 if test -n "$check_msgfmt"; then
3208 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3210 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3212 for ac_dir in $ac_dummy; do
3213 test -z "$ac_dir" && ac_dir=.
3214 if test -f $ac_dir/$ac_word; then
3215 ac_cv_prog_check_msgfmt="yes"
3220 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3223 check_msgfmt="$ac_cv_prog_check_msgfmt"
3224 if test -n "$check_msgfmt"; then
3225 echo "$ac_t""$check_msgfmt" 1>&6
3227 echo "$ac_t""no" 1>&6
3230 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3233 # Export the build objects.
3234 for ling in $ALL_LINGUAS; do \
3235 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3236 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3241 CLOCALE_H=config/locale/gnu/c_locale.h
3242 CLOCALE_CC=config/locale/gnu/c_locale.cc
3243 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3244 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3245 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3246 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3247 CMESSAGES_H=config/locale/gnu/messages_members.h
3248 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3249 CMONEY_CC=config/locale/gnu/monetary_members.cc
3250 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3251 CTIME_H=config/locale/gnu/time_members.h
3252 CTIME_CC=config/locale/gnu/time_members.cc
3253 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3256 echo "$ac_t""IEEE 1003.1" 1>&6
3258 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3259 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3260 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3261 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3262 CCOLLATE_CC=config/locale/generic/collate_members.cc
3263 CCTYPE_CC=config/locale/generic/ctype_members.cc
3264 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3265 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3266 CMONEY_CC=config/locale/generic/monetary_members.cc
3267 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3268 CTIME_H=config/locale/generic/time_members.h
3269 CTIME_CC=config/locale/generic/time_members.cc
3270 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3273 echo "$enable_clocale is an unknown locale package" 1>&2
3278 # This is where the testsuite looks for locale catalogs, using the
3279 # -DLOCALEDIR define during testsuite compilation.
3280 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3283 # A standalone libintl (e.g., GNU libintl) may be in use.
3284 if test $USE_NLS = yes; then
3285 for ac_hdr in libintl.h
3287 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3288 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3289 echo "configure:3290: checking for $ac_hdr" >&5
3290 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3291 echo $ac_n "(cached) $ac_c" 1>&6
3293 cat > conftest.$ac_ext <<EOF
3294 #line 3295 "configure"
3295 #include "confdefs.h"
3298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3299 { (eval echo configure:3300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3301 if test -z "$ac_err"; then
3303 eval "ac_cv_header_$ac_safe=yes"
3306 echo "configure: failed program was:" >&5
3307 cat conftest.$ac_ext >&5
3309 eval "ac_cv_header_$ac_safe=no"
3313 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3314 echo "$ac_t""yes" 1>&6
3315 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3316 cat >> confdefs.h <<EOF
3317 #define $ac_tr_hdr 1
3321 echo "$ac_t""no" 1>&6
3327 echo $ac_n "checking for library containing gettext""... $ac_c" 1>&6
3328 echo "configure:3329: checking for library containing gettext" >&5
3329 if eval "test \"`echo '$''{'ac_cv_search_gettext'+set}'`\" = set"; then
3330 echo $ac_n "(cached) $ac_c" 1>&6
3332 ac_func_search_save_LIBS="$LIBS"
3333 ac_cv_search_gettext="no"
3334 cat > conftest.$ac_ext <<EOF
3335 #line 3336 "configure"
3336 #include "confdefs.h"
3337 /* Override any gcc2 internal prototype to avoid an error. */
3338 /* We use char because int might match the return type of a gcc2
3339 builtin and then its argument prototype would still apply. */
3346 if { (eval echo configure:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3348 ac_cv_search_gettext="none required"
3350 echo "configure: failed program was:" >&5
3351 cat conftest.$ac_ext >&5
3354 test "$ac_cv_search_gettext" = "no" && for i in intl; do
3355 LIBS="-l$i $ac_func_search_save_LIBS"
3356 cat > conftest.$ac_ext <<EOF
3357 #line 3358 "configure"
3358 #include "confdefs.h"
3359 /* Override any gcc2 internal prototype to avoid an error. */
3360 /* We use char because int might match the return type of a gcc2
3361 builtin and then its argument prototype would still apply. */
3368 if { (eval echo configure:3369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3370 ac_cv_search_gettext="-l$i"
3373 echo "configure: failed program was:" >&5
3374 cat conftest.$ac_ext >&5
3378 LIBS="$ac_func_search_save_LIBS"
3381 echo "$ac_t""$ac_cv_search_gettext" 1>&6
3382 if test "$ac_cv_search_gettext" != "no"; then
3383 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
3389 if test $USE_NLS = yes; then
3390 cat >> confdefs.h <<\EOF
3391 #define _GLIBCPP_USE_NLS 1
3411 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3412 echo "configure:3413: checking for c header strategy to use" >&5
3413 # Check whether --enable-cheaders or --disable-cheaders was given.
3414 if test "${enable_cheaders+set}" = set; then
3415 enableval="$enable_cheaders"
3417 case "$enableval" in
3422 enable_cheaders=c_std
3424 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3428 enable_cheaders=c_std
3431 echo "$ac_t""$enable_cheaders" 1>&6
3433 case "$enable_cheaders" in
3435 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3438 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3445 if test "$enable_cheaders" = c; then
3446 GLIBCPP_C_HEADERS_C_TRUE=
3447 GLIBCPP_C_HEADERS_C_FALSE='#'
3449 GLIBCPP_C_HEADERS_C_TRUE='#'
3450 GLIBCPP_C_HEADERS_C_FALSE=
3454 if test "$enable_cheaders" = c_std; then
3455 GLIBCPP_C_HEADERS_C_STD_TRUE=
3456 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3458 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3459 GLIBCPP_C_HEADERS_C_STD_FALSE=
3463 if test "$c_compatibility" = yes; then
3464 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3465 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3467 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3468 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3471 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3472 if test "${enable_c_mbchar+set}" = set; then
3473 enableval="$enable_c_mbchar"
3474 case "$enableval" in
3475 yes) enable_c_mbchar=yes ;;
3476 no) enable_c_mbchar=no ;;
3477 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3484 # Check whether --enable-c99 or --disable-c99 was given.
3485 if test "${enable_c99+set}" = set; then
3486 enableval="$enable_c99"
3487 case "$enableval" in
3488 yes) enable_c99=yes ;;
3489 no) enable_c99=no ;;
3490 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3499 ac_cpp='$CXXCPP $CPPFLAGS'
3500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3502 cross_compiling=$ac_cv_prog_cxx_cross
3505 # Check for the existence of <math.h> functions used if C99 is enabled.
3507 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3508 echo "configure:3509: checking for ISO C99 support in <math.h>" >&5
3509 cat > conftest.$ac_ext <<EOF
3510 #line 3511 "configure"
3511 #include "confdefs.h"
3517 if { (eval echo configure:3518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3520 echo "configure: failed program was:" >&5
3521 cat conftest.$ac_ext >&5
3526 cat > conftest.$ac_ext <<EOF
3527 #line 3528 "configure"
3528 #include "confdefs.h"
3534 if { (eval echo configure:3535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3537 echo "configure: failed program was:" >&5
3538 cat conftest.$ac_ext >&5
3543 cat > conftest.$ac_ext <<EOF
3544 #line 3545 "configure"
3545 #include "confdefs.h"
3551 if { (eval echo configure:3552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3554 echo "configure: failed program was:" >&5
3555 cat conftest.$ac_ext >&5
3560 cat > conftest.$ac_ext <<EOF
3561 #line 3562 "configure"
3562 #include "confdefs.h"
3568 if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3571 echo "configure: failed program was:" >&5
3572 cat conftest.$ac_ext >&5
3577 cat > conftest.$ac_ext <<EOF
3578 #line 3579 "configure"
3579 #include "confdefs.h"
3585 if { (eval echo configure:3586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3588 echo "configure: failed program was:" >&5
3589 cat conftest.$ac_ext >&5
3594 cat > conftest.$ac_ext <<EOF
3595 #line 3596 "configure"
3596 #include "confdefs.h"
3602 if { (eval echo configure:3603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3605 echo "configure: failed program was:" >&5
3606 cat conftest.$ac_ext >&5
3611 cat > conftest.$ac_ext <<EOF
3612 #line 3613 "configure"
3613 #include "confdefs.h"
3619 if { (eval echo configure:3620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3622 echo "configure: failed program was:" >&5
3623 cat conftest.$ac_ext >&5
3628 cat > conftest.$ac_ext <<EOF
3629 #line 3630 "configure"
3630 #include "confdefs.h"
3633 isgreaterequal(0.0,0.0);
3636 if { (eval echo configure:3637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3639 echo "configure: failed program was:" >&5
3640 cat conftest.$ac_ext >&5
3645 cat > conftest.$ac_ext <<EOF
3646 #line 3647 "configure"
3647 #include "confdefs.h"
3653 if { (eval echo configure:3654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3656 echo "configure: failed program was:" >&5
3657 cat conftest.$ac_ext >&5
3662 cat > conftest.$ac_ext <<EOF
3663 #line 3664 "configure"
3664 #include "confdefs.h"
3667 islessequal(0.0,0.0);
3670 if { (eval echo configure:3671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3673 echo "configure: failed program was:" >&5
3674 cat conftest.$ac_ext >&5
3679 cat > conftest.$ac_ext <<EOF
3680 #line 3681 "configure"
3681 #include "confdefs.h"
3684 islessgreater(0.0,0.0);
3687 if { (eval echo configure:3688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3690 echo "configure: failed program was:" >&5
3691 cat conftest.$ac_ext >&5
3696 cat > conftest.$ac_ext <<EOF
3697 #line 3698 "configure"
3698 #include "confdefs.h"
3701 isunordered(0.0,0.0);
3704 if { (eval echo configure:3705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3707 echo "configure: failed program was:" >&5
3708 cat conftest.$ac_ext >&5
3713 echo "$ac_t""$ac_c99_math" 1>&6
3715 # Check for the existence in <stdio.h> of vscanf, et. al.
3717 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3718 echo "configure:3719: checking for ISO C99 support in <stdio.h>" >&5
3719 cat > conftest.$ac_ext <<EOF
3720 #line 3721 "configure"
3721 #include "confdefs.h"
3724 snprintf("12", 0, "%i");
3727 if { (eval echo configure:3728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3730 echo "configure: failed program was:" >&5
3731 cat conftest.$ac_ext >&5
3736 cat > conftest.$ac_ext <<EOF
3737 #line 3738 "configure"
3738 #include "confdefs.h"
3741 void foo(char* fmt, ...)
3742 {va_list args; va_start(args, fmt);
3743 vfscanf(stderr, "%i", args);}
3748 if { (eval echo configure:3749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3751 echo "configure: failed program was:" >&5
3752 cat conftest.$ac_ext >&5
3757 cat > conftest.$ac_ext <<EOF
3758 #line 3759 "configure"
3759 #include "confdefs.h"
3762 void foo(char* fmt, ...)
3763 {va_list args; va_start(args, fmt);
3764 vscanf("%i", args);}
3769 if { (eval echo configure:3770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3772 echo "configure: failed program was:" >&5
3773 cat conftest.$ac_ext >&5
3778 cat > conftest.$ac_ext <<EOF
3779 #line 3780 "configure"
3780 #include "confdefs.h"
3783 void foo(char* fmt, ...)
3784 {va_list args; va_start(args, fmt);
3785 vsnprintf(fmt, 0, "%i", args);}
3790 if { (eval echo configure:3791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3793 echo "configure: failed program was:" >&5
3794 cat conftest.$ac_ext >&5
3799 cat > conftest.$ac_ext <<EOF
3800 #line 3801 "configure"
3801 #include "confdefs.h"
3804 void foo(char* fmt, ...)
3805 {va_list args; va_start(args, fmt);
3806 vsscanf(fmt, "%i", args);}
3811 if { (eval echo configure:3812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3814 echo "configure: failed program was:" >&5
3815 cat conftest.$ac_ext >&5
3820 echo "$ac_t""$ac_c99_stdio" 1>&6
3822 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3824 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3825 echo "configure:3826: checking for lldiv_t declaration" >&5
3826 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3827 echo $ac_n "(cached) $ac_c" 1>&6
3830 cat > conftest.$ac_ext <<EOF
3831 #line 3832 "configure"
3832 #include "confdefs.h"
3838 if { (eval echo configure:3839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3842 echo "configure: failed program was:" >&5
3843 cat conftest.$ac_ext >&5
3851 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3853 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3854 echo "configure:3855: checking for ISO C99 support in <stdlib.h>" >&5
3855 cat > conftest.$ac_ext <<EOF
3856 #line 3857 "configure"
3857 #include "confdefs.h"
3860 char* tmp; strtof("gnu", &tmp);
3863 if { (eval echo configure:3864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3866 echo "configure: failed program was:" >&5
3867 cat conftest.$ac_ext >&5
3872 cat > conftest.$ac_ext <<EOF
3873 #line 3874 "configure"
3874 #include "confdefs.h"
3877 char* tmp; strtold("gnu", &tmp);
3880 if { (eval echo configure:3881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3883 echo "configure: failed program was:" >&5
3884 cat conftest.$ac_ext >&5
3889 cat > conftest.$ac_ext <<EOF
3890 #line 3891 "configure"
3891 #include "confdefs.h"
3897 if { (eval echo configure:3898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3900 echo "configure: failed program was:" >&5
3901 cat conftest.$ac_ext >&5
3906 cat > conftest.$ac_ext <<EOF
3907 #line 3908 "configure"
3908 #include "confdefs.h"
3914 if { (eval echo configure:3915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3917 echo "configure: failed program was:" >&5
3918 cat conftest.$ac_ext >&5
3923 cat > conftest.$ac_ext <<EOF
3924 #line 3925 "configure"
3925 #include "confdefs.h"
3931 if { (eval echo configure:3932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3934 echo "configure: failed program was:" >&5
3935 cat conftest.$ac_ext >&5
3940 cat > conftest.$ac_ext <<EOF
3941 #line 3942 "configure"
3942 #include "confdefs.h"
3948 if { (eval echo configure:3949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3951 echo "configure: failed program was:" >&5
3952 cat conftest.$ac_ext >&5
3957 if test x"$ac_c99_lldiv_t" = x"no"; then
3960 echo "$ac_t""$ac_c99_stdlib" 1>&6
3962 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3963 # XXX the wchar.h checks should be rolled into the general C99 bits.
3965 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3966 echo "configure:3967: checking for additional ISO C99 support in <wchar.h>" >&5
3967 cat > conftest.$ac_ext <<EOF
3968 #line 3969 "configure"
3969 #include "confdefs.h"
3972 wcstold(L"10.0", NULL);
3975 if { (eval echo configure:3976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3978 echo "configure: failed program was:" >&5
3979 cat conftest.$ac_ext >&5
3984 cat > conftest.$ac_ext <<EOF
3985 #line 3986 "configure"
3986 #include "confdefs.h"
3989 wcstoll(L"10", NULL, 10);
3992 if { (eval echo configure:3993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3995 echo "configure: failed program was:" >&5
3996 cat conftest.$ac_ext >&5
4001 cat > conftest.$ac_ext <<EOF
4002 #line 4003 "configure"
4003 #include "confdefs.h"
4006 wcstoull(L"10", NULL, 10);
4009 if { (eval echo configure:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4012 echo "configure: failed program was:" >&5
4013 cat conftest.$ac_ext >&5
4018 echo "$ac_t""$ac_c99_wchar" 1>&6
4020 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
4021 echo "configure:4022: checking for enabled ISO C99 support" >&5
4022 if test x"$ac_c99_math" = x"no" ||
4023 test x"$ac_c99_stdio" = x"no" ||
4024 test x"$ac_c99_stdlib" = x"no" ||
4025 test x"$ac_c99_wchar" = x"no"; then
4028 echo "$ac_t""$enable_c99" 1>&6
4030 # Option parsed, now set things appropriately
4031 if test x"$enable_c99" = x"yes"; then
4032 cat >> confdefs.h <<\EOF
4033 #define _GLIBCPP_USE_C99 1
4039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4040 ac_cpp='$CPP $CPPFLAGS'
4041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4043 cross_compiling=$ac_cv_prog_cc_cross
4047 # Check whether --enable-long-long or --disable-long-long was given.
4048 if test "${enable_long_long+set}" = set; then
4049 enableval="$enable_long_long"
4050 case "$enableval" in
4051 yes) enable_long_long=yes ;;
4052 no) enable_long_long=no ;;
4053 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
4056 enable_long_long=yes
4061 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4062 ac_cpp='$CXXCPP $CPPFLAGS'
4063 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4064 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4065 cross_compiling=$ac_cv_prog_cxx_cross
4068 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
4069 echo "configure:4070: checking for enabled long long I/O support" >&5
4070 # iostreams require strtoll, strtoull to compile
4071 cat > conftest.$ac_ext <<EOF
4072 #line 4073 "configure"
4073 #include "confdefs.h"
4076 char* tmp; strtoll("gnu", &tmp, 10);
4079 if { (eval echo configure:4080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4082 echo "configure: failed program was:" >&5
4083 cat conftest.$ac_ext >&5
4088 cat > conftest.$ac_ext <<EOF
4089 #line 4090 "configure"
4090 #include "confdefs.h"
4093 char* tmp; strtoull("gnu", &tmp, 10);
4096 if { (eval echo configure:4097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4099 echo "configure: failed program was:" >&5
4100 cat conftest.$ac_ext >&5
4106 # Option parsed, now set things appropriately
4107 if test x"$enable_long_long" = xyes; then
4108 cat >> confdefs.h <<\EOF
4109 #define _GLIBCPP_USE_LONG_LONG 1
4113 echo "$ac_t""$enable_long_long" 1>&6
4116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4117 ac_cpp='$CPP $CPPFLAGS'
4118 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4119 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4120 cross_compiling=$ac_cv_prog_cc_cross
4124 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
4125 echo "configure:4126: checking for thread model used by GCC" >&5
4126 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4127 echo "$ac_t""$target_thread_file" 1>&6
4129 if test $target_thread_file != single; then
4130 cat >> confdefs.h <<\EOF
4131 #define HAVE_GTHR_DEFAULT 1
4134 cat >> confdefs.h <<\EOF
4135 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
4140 glibcpp_thread_h=gthr-$target_thread_file.h
4144 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
4145 echo "configure:4146: checking for exception model to use" >&5
4148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4149 ac_cpp='$CXXCPP $CPPFLAGS'
4150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4152 cross_compiling=$ac_cv_prog_cxx_cross
4154 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4155 if test "${enable_sjlj_exceptions+set}" = set; then
4156 enableval="$enable_sjlj_exceptions"
4159 cat > conftest.$ac_ext << EOF
4160 #line 4161 "configure"
4169 old_CXXFLAGS="$CXXFLAGS"
4171 if { (eval echo configure:4172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4172 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4173 enable_sjlj_exceptions=yes
4174 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4175 enable_sjlj_exceptions=no
4178 CXXFLAGS="$old_CXXFLAGS"
4182 if test x$enable_sjlj_exceptions = xyes; then
4183 cat >> confdefs.h <<\EOF
4184 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4187 ac_exception_model_name=sjlj
4188 elif test x$enable_sjlj_exceptions = xno; then
4189 ac_exception_model_name="call frame"
4191 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4195 ac_cpp='$CPP $CPPFLAGS'
4196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4198 cross_compiling=$ac_cv_prog_cc_cross
4200 echo "$ac_t""$ac_exception_model_name" 1>&6
4203 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4204 echo "configure:4205: checking for use of libunwind" >&5
4205 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4206 if test "${enable_libunwind_exceptions+set}" = set; then
4207 enableval="$enable_libunwind_exceptions"
4208 use_libunwind_exceptions=$enableval
4210 use_libunwind_exceptions=no
4213 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4214 if test x"$use_libunwind_exceptions" = xyes; then
4215 LIBUNWIND_FLAG="-lunwind"
4221 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4222 if test "${enable_concept_checks+set}" = set; then
4223 enableval="$enable_concept_checks"
4224 case "$enableval" in
4225 yes) enable_concept_checks=yes ;;
4226 no) enable_concept_checks=no ;;
4227 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4230 enable_concept_checks=no
4232 if test x"$enable_concept_checks" = xyes; then
4233 cat >> confdefs.h <<\EOF
4234 #define _GLIBCPP_CONCEPT_CHECKS 1
4239 echo $ac_n "checking for extra compiler flags for building""... $ac_c" 1>&6
4240 echo "configure:4241: checking for extra compiler flags for building" >&5
4241 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4242 if test "${enable_cxx_flags+set}" = set; then
4243 enableval="$enable_cxx_flags"
4244 case "x$enable_cxx_flags" in
4246 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
4248 enable_cxx_flags='' ;;
4250 enable_cxx_flags="$enableval" ;;
4257 if test -n "$enable_cxx_flags"; then
4258 for f in $enable_cxx_flags; do
4262 *) # and we're trying to pass /what/ exactly?
4263 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
4267 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4268 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4271 # Check whether --enable-debug or --disable-debug was given.
4272 if test "${enable_debug+set}" = set; then
4273 enableval="$enable_debug"
4274 case "${enableval}" in
4275 yes) enable_debug=yes ;;
4276 no) enable_debug=no ;;
4277 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
4282 echo $ac_n "checking for additional debug build""... $ac_c" 1>&6
4283 echo "configure:4284: checking for additional debug build" >&5
4284 echo "$ac_t""$enable_debug" 1>&6
4287 if test "$enable_debug" = yes; then
4288 GLIBCPP_BUILD_DEBUG_TRUE=
4289 GLIBCPP_BUILD_DEBUG_FALSE='#'
4291 GLIBCPP_BUILD_DEBUG_TRUE='#'
4292 GLIBCPP_BUILD_DEBUG_FALSE=
4295 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4296 if test "${enable_debug_flags+set}" = set; then
4297 enableval="$enable_debug_flags"
4298 case "${enableval}" in
4300 -*) enable_debug_flags="${enableval}" ;;
4301 *) { echo "configure: error: Unknown argument to extra debugging flags" 1>&2; exit 1; } ;;
4304 enable_debug_flags=none
4307 case x"$enable_debug" in
4309 case "$enable_debug_flags" in
4311 DEBUG_FLAGS="-g3 -O0";;
4313 DEBUG_FLAGS="${enableval}"
4322 echo $ac_n "checking for debug build flags""... $ac_c" 1>&6
4323 echo "configure:4324: checking for debug build flags" >&5
4324 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4327 # No surprises, no surprises...
4328 if test $ATOMICITYH = cpu/generic ; then
4329 echo "configure: warning: No native atomic operations are provided for this platform." 1>&2
4330 if test $target_thread_file = single; then
4331 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4332 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4334 echo "configure: warning: They will be faked using a mutex." 1>&2
4335 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4340 if test x"$build" != x"$host"; then
4342 # We are being configured with some form of cross compiler.
4343 GLIBCPP_IS_CROSS_COMPILING=true
4345 # This lets us hard-code the functionality we know we'll have in the cross
4346 # target environment. "Let" is a sugar-coated word placed on an especially
4347 # dull and tedious hack, actually.
4349 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4350 # that involve linking, can't be used:
4351 # "cannot open sim-crt0.o"
4352 # "cannot open crt0.o"
4353 # etc. All this is because there currently exists no unified, consistent
4354 # way for top level CC information to be passed down to target directories:
4355 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4356 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4357 # crosses can be removed.
4359 # If Canadian cross, then don't pick up tools from the build directory.
4360 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4361 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host" \
4362 && test x"$build" != x"$target"; then
4368 # Construct crosses by hand, eliminating bits that need ld...
4369 # GLIBCPP_CHECK_COMPILER_FEATURES
4370 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4371 # GLIBCPP_CHECK_MATH_SUPPORT
4375 os_include_dir="os/bsd/freebsd"
4376 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4377 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4378 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
4381 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4382 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4383 echo "configure:4384: checking for $ac_hdr" >&5
4384 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4385 echo $ac_n "(cached) $ac_c" 1>&6
4387 cat > conftest.$ac_ext <<EOF
4388 #line 4389 "configure"
4389 #include "confdefs.h"
4392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4393 { (eval echo configure:4394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4395 if test -z "$ac_err"; then
4397 eval "ac_cv_header_$ac_safe=yes"
4400 echo "configure: failed program was:" >&5
4401 cat conftest.$ac_ext >&5
4403 eval "ac_cv_header_$ac_safe=no"
4407 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4408 echo "$ac_t""yes" 1>&6
4409 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4410 cat >> confdefs.h <<EOF
4411 #define $ac_tr_hdr 1
4415 echo "$ac_t""no" 1>&6
4419 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4422 # If we're not using GNU ld, then there's no point in even trying these
4423 # tests. Check for that first. We should have already tested for gld
4424 # by now (in libtool), but require it now just to be safe...
4425 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4426 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4429 # The name set by libtool depends on the version of libtool. Shame on us
4430 # for depending on an impl detail, but c'est la vie. Older versions used
4431 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4432 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4433 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4434 # set (hence we're using an older libtool), then set it.
4435 if test x${with_gnu_ld+set} != xset; then
4436 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4437 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4440 with_gnu_ld=$ac_cv_prog_gnu_ld
4444 # Start by getting the version number. I think the libtool test already
4445 # does some of this, but throws away the result.
4447 ldver=`$LD --version 2>/dev/null | head -1 | \
4448 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4450 glibcpp_gnu_ld_version=`echo $ldver | \
4451 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4453 # Set --gc-sections.
4454 if test "$with_gnu_ld" = "notbroken"; then
4455 # GNU ld it is! Joy and bunny rabbits!
4457 # All these tests are for C++; save the language and the compiler flags.
4458 # Need to do this so that g++ won't try to link in libstdc++
4459 ac_test_CFLAGS="${CFLAGS+set}"
4460 ac_save_CFLAGS="$CFLAGS"
4461 CFLAGS='-x c++ -Wl,--gc-sections'
4463 # Check for -Wl,--gc-sections
4464 # XXX This test is broken at the moment, as symbols required for
4465 # linking are now in libsupc++ (not built yet.....). In addition,
4466 # this test has cored on solaris in the past. In addition,
4467 # --gc-sections doesn't really work at the moment (keeps on discarding
4468 # used sections, first .eh_frame and now some of the glibc sections for
4469 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4470 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4471 echo "configure:4472: checking for ld that supports -Wl,--gc-sections" >&5
4472 if test "$cross_compiling" = yes; then
4473 ac_sectionLDflags=yes
4475 cat > conftest.$ac_ext <<EOF
4476 #line 4477 "configure"
4477 #include "confdefs.h"
4487 if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4489 ac_sectionLDflags=yes
4491 echo "configure: failed program was:" >&5
4492 cat conftest.$ac_ext >&5
4494 ac_sectionLDflags=no
4499 if test "$ac_test_CFLAGS" = set; then
4500 CFLAGS="$ac_save_CFLAGS"
4502 # this is the suspicious part
4505 if test "$ac_sectionLDflags" = "yes"; then
4506 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4508 echo "$ac_t""$ac_sectionLDflags" 1>&6
4511 # Set linker optimization flags.
4512 if test x"$with_gnu_ld" = x"yes"; then
4513 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4520 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4521 echo "configure:4522: checking for main in -lm" >&5
4522 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4523 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4524 echo $ac_n "(cached) $ac_c" 1>&6
4526 ac_save_LIBS="$LIBS"
4528 cat > conftest.$ac_ext <<EOF
4529 #line 4530 "configure"
4530 #include "confdefs.h"
4536 if { (eval echo configure:4537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4538 eval "ac_cv_lib_$ac_lib_var=yes"
4540 echo "configure: failed program was:" >&5
4541 cat conftest.$ac_ext >&5
4543 eval "ac_cv_lib_$ac_lib_var=no"
4546 LIBS="$ac_save_LIBS"
4549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4550 echo "$ac_t""yes" 1>&6
4551 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4552 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4553 cat >> confdefs.h <<EOF
4554 #define $ac_tr_lib 1
4560 echo "$ac_t""no" 1>&6
4563 for ac_func in nan copysignf
4565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4566 echo "configure:4567: checking for $ac_func" >&5
4567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4568 echo $ac_n "(cached) $ac_c" 1>&6
4570 cat > conftest.$ac_ext <<EOF
4571 #line 4572 "configure"
4572 #include "confdefs.h"
4573 /* System header to define __stub macros and hopefully few prototypes,
4574 which can conflict with char $ac_func(); below. */
4576 /* Override any gcc2 internal prototype to avoid an error. */
4577 /* We use char because int might match the return type of a gcc2
4578 builtin and then its argument prototype would still apply. */
4583 /* The GNU C library defines this for functions which it implements
4584 to always fail with ENOSYS. Some functions are actually named
4585 something starting with __ and the normal name is an alias. */
4586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4594 if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4596 eval "ac_cv_func_$ac_func=yes"
4598 echo "configure: failed program was:" >&5
4599 cat conftest.$ac_ext >&5
4601 eval "ac_cv_func_$ac_func=no"
4606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4607 echo "$ac_t""yes" 1>&6
4608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4609 cat >> confdefs.h <<EOF
4610 #define $ac_tr_func 1
4614 echo "$ac_t""no" 1>&6
4615 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4620 for ac_func in __signbit
4622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4623 echo "configure:4624: checking for $ac_func" >&5
4624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4625 echo $ac_n "(cached) $ac_c" 1>&6
4627 cat > conftest.$ac_ext <<EOF
4628 #line 4629 "configure"
4629 #include "confdefs.h"
4630 /* System header to define __stub macros and hopefully few prototypes,
4631 which can conflict with char $ac_func(); below. */
4633 /* Override any gcc2 internal prototype to avoid an error. */
4634 /* We use char because int might match the return type of a gcc2
4635 builtin and then its argument prototype would still apply. */
4640 /* The GNU C library defines this for functions which it implements
4641 to always fail with ENOSYS. Some functions are actually named
4642 something starting with __ and the normal name is an alias. */
4643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4651 if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4653 eval "ac_cv_func_$ac_func=yes"
4655 echo "configure: failed program was:" >&5
4656 cat conftest.$ac_ext >&5
4658 eval "ac_cv_func_$ac_func=no"
4663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4664 echo "$ac_t""yes" 1>&6
4665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4666 cat >> confdefs.h <<EOF
4667 #define $ac_tr_func 1
4671 echo "$ac_t""no" 1>&6
4672 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4676 for ac_func in __signbitf
4678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4679 echo "configure:4680: checking for $ac_func" >&5
4680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4681 echo $ac_n "(cached) $ac_c" 1>&6
4683 cat > conftest.$ac_ext <<EOF
4684 #line 4685 "configure"
4685 #include "confdefs.h"
4686 /* System header to define __stub macros and hopefully few prototypes,
4687 which can conflict with char $ac_func(); below. */
4689 /* Override any gcc2 internal prototype to avoid an error. */
4690 /* We use char because int might match the return type of a gcc2
4691 builtin and then its argument prototype would still apply. */
4696 /* The GNU C library defines this for functions which it implements
4697 to always fail with ENOSYS. Some functions are actually named
4698 something starting with __ and the normal name is an alias. */
4699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4707 if { (eval echo configure:4708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4709 eval "ac_cv_func_$ac_func=yes"
4711 echo "configure: failed program was:" >&5
4712 cat conftest.$ac_ext >&5
4714 eval "ac_cv_func_$ac_func=no"
4719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4720 echo "$ac_t""yes" 1>&6
4721 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4722 cat >> confdefs.h <<EOF
4723 #define $ac_tr_func 1
4727 echo "$ac_t""no" 1>&6
4728 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4733 if test x$ac_cv_func_copysignl = x"yes"; then
4734 for ac_func in __signbitl
4736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4737 echo "configure:4738: checking for $ac_func" >&5
4738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4739 echo $ac_n "(cached) $ac_c" 1>&6
4741 cat > conftest.$ac_ext <<EOF
4742 #line 4743 "configure"
4743 #include "confdefs.h"
4744 /* System header to define __stub macros and hopefully few prototypes,
4745 which can conflict with char $ac_func(); below. */
4747 /* Override any gcc2 internal prototype to avoid an error. */
4748 /* We use char because int might match the return type of a gcc2
4749 builtin and then its argument prototype would still apply. */
4754 /* The GNU C library defines this for functions which it implements
4755 to always fail with ENOSYS. Some functions are actually named
4756 something starting with __ and the normal name is an alias. */
4757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4765 if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4767 eval "ac_cv_func_$ac_func=yes"
4769 echo "configure: failed program was:" >&5
4770 cat conftest.$ac_ext >&5
4772 eval "ac_cv_func_$ac_func=no"
4777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4778 echo "$ac_t""yes" 1>&6
4779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4780 cat >> confdefs.h <<EOF
4781 #define $ac_tr_func 1
4785 echo "$ac_t""no" 1>&6
4786 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4792 if test -n "$LIBMATHOBJS"; then
4799 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4800 echo "configure:4801: checking for mbstate_t" >&5
4801 cat > conftest.$ac_ext <<EOF
4802 #line 4803 "configure"
4803 #include "confdefs.h"
4806 mbstate_t teststate;
4809 if { (eval echo configure:4810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4813 echo "configure: failed program was:" >&5
4814 cat conftest.$ac_ext >&5
4819 echo "$ac_t""$have_mbstate_t" 1>&6
4820 if test x"$have_mbstate_t" = xyes; then
4821 cat >> confdefs.h <<\EOF
4822 #define HAVE_MBSTATE_T 1
4827 for ac_hdr in wchar.h
4829 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4830 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4831 echo "configure:4832: checking for $ac_hdr" >&5
4832 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4833 echo $ac_n "(cached) $ac_c" 1>&6
4835 cat > conftest.$ac_ext <<EOF
4836 #line 4837 "configure"
4837 #include "confdefs.h"
4840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4841 { (eval echo configure:4842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4843 if test -z "$ac_err"; then
4845 eval "ac_cv_header_$ac_safe=yes"
4848 echo "configure: failed program was:" >&5
4849 cat conftest.$ac_ext >&5
4851 eval "ac_cv_header_$ac_safe=no"
4855 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4856 echo "$ac_t""yes" 1>&6
4857 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4858 cat >> confdefs.h <<EOF
4859 #define $ac_tr_hdr 1
4863 echo "$ac_t""no" 1>&6
4868 for ac_hdr in wctype.h
4870 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4871 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4872 echo "configure:4873: checking for $ac_hdr" >&5
4873 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4874 echo $ac_n "(cached) $ac_c" 1>&6
4876 cat > conftest.$ac_ext <<EOF
4877 #line 4878 "configure"
4878 #include "confdefs.h"
4881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4882 { (eval echo configure:4883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4884 if test -z "$ac_err"; then
4886 eval "ac_cv_header_$ac_safe=yes"
4889 echo "configure: failed program was:" >&5
4890 cat conftest.$ac_ext >&5
4892 eval "ac_cv_header_$ac_safe=no"
4896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4897 echo "$ac_t""yes" 1>&6
4898 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4899 cat >> confdefs.h <<EOF
4900 #define $ac_tr_hdr 1
4904 echo "$ac_t""no" 1>&6
4910 if test x"$ac_has_wchar_h" = xyes &&
4911 test x"$ac_has_wctype_h" = xyes &&
4912 test x"$enable_c_mbchar" != xno; then
4914 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4915 echo "configure:4916: checking for WCHAR_MIN and WCHAR_MAX" >&5
4916 cat > conftest.$ac_ext <<EOF
4917 #line 4918 "configure"
4918 #include "confdefs.h"
4921 int i = WCHAR_MIN; int j = WCHAR_MAX;
4924 if { (eval echo configure:4925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4926 has_wchar_minmax=yes
4928 echo "configure: failed program was:" >&5
4929 cat conftest.$ac_ext >&5
4934 echo "$ac_t""$has_wchar_minmax" 1>&6
4936 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4937 echo "configure:4938: checking for WEOF" >&5
4938 cat > conftest.$ac_ext <<EOF
4939 #line 4940 "configure"
4940 #include "confdefs.h"
4948 if { (eval echo configure:4949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4952 echo "configure: failed program was:" >&5
4953 cat conftest.$ac_ext >&5
4958 echo "$ac_t""$has_weof" 1>&6
4961 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4964 echo "configure:4965: checking for $ac_func" >&5
4965 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4966 echo $ac_n "(cached) $ac_c" 1>&6
4968 cat > conftest.$ac_ext <<EOF
4969 #line 4970 "configure"
4970 #include "confdefs.h"
4971 /* System header to define __stub macros and hopefully few prototypes,
4972 which can conflict with char $ac_func(); below. */
4974 /* Override any gcc2 internal prototype to avoid an error. */
4975 /* We use char because int might match the return type of a gcc2
4976 builtin and then its argument prototype would still apply. */
4981 /* The GNU C library defines this for functions which it implements
4982 to always fail with ENOSYS. Some functions are actually named
4983 something starting with __ and the normal name is an alias. */
4984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4992 if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4994 eval "ac_cv_func_$ac_func=yes"
4996 echo "configure: failed program was:" >&5
4997 cat conftest.$ac_ext >&5
4999 eval "ac_cv_func_$ac_func=no"
5004 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5005 echo "$ac_t""yes" 1>&6
5006 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5007 cat >> confdefs.h <<EOF
5008 #define $ac_tr_func 1
5012 echo "$ac_t""no" 1>&6
5019 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5020 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5021 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5022 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5023 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5024 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5027 echo "configure:5028: checking for $ac_func" >&5
5028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5029 echo $ac_n "(cached) $ac_c" 1>&6
5031 cat > conftest.$ac_ext <<EOF
5032 #line 5033 "configure"
5033 #include "confdefs.h"
5034 /* System header to define __stub macros and hopefully few prototypes,
5035 which can conflict with char $ac_func(); below. */
5037 /* Override any gcc2 internal prototype to avoid an error. */
5038 /* We use char because int might match the return type of a gcc2
5039 builtin and then its argument prototype would still apply. */
5044 /* The GNU C library defines this for functions which it implements
5045 to always fail with ENOSYS. Some functions are actually named
5046 something starting with __ and the normal name is an alias. */
5047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5055 if { (eval echo configure:5056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5057 eval "ac_cv_func_$ac_func=yes"
5059 echo "configure: failed program was:" >&5
5060 cat conftest.$ac_ext >&5
5062 eval "ac_cv_func_$ac_func=no"
5067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5068 echo "$ac_t""yes" 1>&6
5069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5070 cat >> confdefs.h <<EOF
5071 #define $ac_tr_func 1
5075 echo "$ac_t""no" 1>&6
5082 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5083 echo "configure:5084: checking for ISO C99 wchar_t support" >&5
5084 if test x"$has_weof" = xyes &&
5085 test x"$has_wchar_minmax" = xyes &&
5086 test x"$ac_wfuncs" = xyes; then
5087 ac_isoC99_wchar_t=yes
5089 ac_isoC99_wchar_t=no
5091 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5093 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5094 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5095 echo "configure:5096: checking for iconv.h" >&5
5096 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5097 echo $ac_n "(cached) $ac_c" 1>&6
5099 cat > conftest.$ac_ext <<EOF
5100 #line 5101 "configure"
5101 #include "confdefs.h"
5104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5105 { (eval echo configure:5106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5107 if test -z "$ac_err"; then
5109 eval "ac_cv_header_$ac_safe=yes"
5112 echo "configure: failed program was:" >&5
5113 cat conftest.$ac_ext >&5
5115 eval "ac_cv_header_$ac_safe=no"
5119 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5120 echo "$ac_t""yes" 1>&6
5123 echo "$ac_t""no" 1>&6
5127 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5128 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5129 echo "configure:5130: checking for langinfo.h" >&5
5130 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5131 echo $ac_n "(cached) $ac_c" 1>&6
5133 cat > conftest.$ac_ext <<EOF
5134 #line 5135 "configure"
5135 #include "confdefs.h"
5136 #include <langinfo.h>
5138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5139 { (eval echo configure:5140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5141 if test -z "$ac_err"; then
5143 eval "ac_cv_header_$ac_safe=yes"
5146 echo "configure: failed program was:" >&5
5147 cat conftest.$ac_ext >&5
5149 eval "ac_cv_header_$ac_safe=no"
5153 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5154 echo "$ac_t""yes" 1>&6
5155 ac_has_langinfo_h=yes
5157 echo "$ac_t""no" 1>&6
5158 ac_has_langinfo_h=no
5162 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5163 echo "configure:5164: checking for iconv in -liconv" >&5
5164 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5165 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5166 echo $ac_n "(cached) $ac_c" 1>&6
5168 ac_save_LIBS="$LIBS"
5169 LIBS="-liconv $LIBS"
5170 cat > conftest.$ac_ext <<EOF
5171 #line 5172 "configure"
5172 #include "confdefs.h"
5173 /* Override any gcc2 internal prototype to avoid an error. */
5174 /* We use char because int might match the return type of a gcc2
5175 builtin and then its argument prototype would still apply. */
5182 if { (eval echo configure:5183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5184 eval "ac_cv_lib_$ac_lib_var=yes"
5186 echo "configure: failed program was:" >&5
5187 cat conftest.$ac_ext >&5
5189 eval "ac_cv_lib_$ac_lib_var=no"
5192 LIBS="$ac_save_LIBS"
5195 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5196 echo "$ac_t""yes" 1>&6
5199 echo "$ac_t""no" 1>&6
5202 ac_save_LIBS="$LIBS"
5203 LIBS="$LIBS $libiconv"
5205 for ac_func in iconv_open iconv_close iconv nl_langinfo
5207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5208 echo "configure:5209: checking for $ac_func" >&5
5209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5210 echo $ac_n "(cached) $ac_c" 1>&6
5212 cat > conftest.$ac_ext <<EOF
5213 #line 5214 "configure"
5214 #include "confdefs.h"
5215 /* System header to define __stub macros and hopefully few prototypes,
5216 which can conflict with char $ac_func(); below. */
5218 /* Override any gcc2 internal prototype to avoid an error. */
5219 /* We use char because int might match the return type of a gcc2
5220 builtin and then its argument prototype would still apply. */
5225 /* The GNU C library defines this for functions which it implements
5226 to always fail with ENOSYS. Some functions are actually named
5227 something starting with __ and the normal name is an alias. */
5228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5236 if { (eval echo configure:5237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5238 eval "ac_cv_func_$ac_func=yes"
5240 echo "configure: failed program was:" >&5
5241 cat conftest.$ac_ext >&5
5243 eval "ac_cv_func_$ac_func=no"
5248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5249 echo "$ac_t""yes" 1>&6
5250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5251 cat >> confdefs.h <<EOF
5252 #define $ac_tr_func 1
5257 echo "$ac_t""no" 1>&6
5263 LIBS="$ac_save_LIBS"
5265 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5266 echo "configure:5267: checking for XPG2 wchar_t support" >&5
5267 if test x"$ac_has_iconv_h" = xyes &&
5268 test x"$ac_has_langinfo_h" = xyes &&
5269 test x"$ac_XPG2funcs" = xyes; then
5274 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5276 if test x"$ac_isoC99_wchar_t" = xyes &&
5277 test x"$ac_XPG2_wchar_t" = xyes; then
5278 cat >> confdefs.h <<\EOF
5279 #define _GLIBCPP_USE_WCHAR_T 1
5285 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5286 echo "configure:5287: checking for enabled wchar_t specializations" >&5
5287 echo "$ac_t""$enable_wchar_t" 1>&6
5289 cat >> confdefs.h <<\EOF
5290 #define HAVE_LC_MESSAGES 1
5293 cat >> confdefs.h <<\EOF
5294 #define HAVE_DRAND48 1
5297 cat >> confdefs.h <<\EOF
5298 #define HAVE_GETPAGESIZE 1
5301 cat >> confdefs.h <<\EOF
5302 #define HAVE_SETENV 1
5305 cat >> confdefs.h <<\EOF
5306 #define HAVE_SIGSETJMP 1
5309 cat >> confdefs.h <<\EOF
5310 #define HAVE_COPYSIGN 1
5313 cat >> confdefs.h <<\EOF
5314 #define HAVE_COPYSIGNF 1
5317 cat >> confdefs.h <<\EOF
5318 #define HAVE_FINITEF 1
5321 cat >> confdefs.h <<\EOF
5322 #define HAVE_FINITE 1
5325 cat >> confdefs.h <<\EOF
5326 #define HAVE_FREXPF 1
5329 cat >> confdefs.h <<\EOF
5330 #define HAVE_HYPOT 1
5333 cat >> confdefs.h <<\EOF
5334 #define HAVE_HYPOTF 1
5337 cat >> confdefs.h <<\EOF
5338 #define HAVE_ISINF 1
5341 cat >> confdefs.h <<\EOF
5342 #define HAVE_ISNAN 1
5345 cat >> confdefs.h <<\EOF
5346 #define HAVE_ISNANF 1
5350 cat >> confdefs.h <<\EOF
5354 cat >> confdefs.h <<\EOF
5355 #define HAVE_ACOSF 1
5358 cat >> confdefs.h <<\EOF
5359 #define HAVE_ASINF 1
5362 cat >> confdefs.h <<\EOF
5363 #define HAVE_ATAN2F 1
5366 cat >> confdefs.h <<\EOF
5367 #define HAVE_ATANF 1
5370 cat >> confdefs.h <<\EOF
5371 #define HAVE_CEILF 1
5374 cat >> confdefs.h <<\EOF
5375 #define HAVE_COPYSIGN 1
5378 cat >> confdefs.h <<\EOF
5379 #define HAVE_COPYSIGNF 1
5382 cat >> confdefs.h <<\EOF
5386 cat >> confdefs.h <<\EOF
5387 #define HAVE_COSHF 1
5390 cat >> confdefs.h <<\EOF
5394 cat >> confdefs.h <<\EOF
5395 #define HAVE_FABSF 1
5398 cat >> confdefs.h <<\EOF
5399 #define HAVE_FLOORF 1
5402 cat >> confdefs.h <<\EOF
5403 #define HAVE_FMODF 1
5406 cat >> confdefs.h <<\EOF
5407 #define HAVE_FREXPF 1
5410 cat >> confdefs.h <<\EOF
5411 #define HAVE_LDEXPF 1
5414 cat >> confdefs.h <<\EOF
5415 #define HAVE_LOG10F 1
5418 cat >> confdefs.h <<\EOF
5422 cat >> confdefs.h <<\EOF
5423 #define HAVE_MODFF 1
5426 cat >> confdefs.h <<\EOF
5430 cat >> confdefs.h <<\EOF
5434 cat >> confdefs.h <<\EOF
5435 #define HAVE_SINHF 1
5438 cat >> confdefs.h <<\EOF
5439 #define HAVE_SQRTF 1
5442 cat >> confdefs.h <<\EOF
5446 cat >> confdefs.h <<\EOF
5447 #define HAVE_TANHF 1
5450 if test x"long_double_math_on_this_cpu" = x"yes"; then
5451 cat >> confdefs.h <<\EOF
5452 #define HAVE_FINITEL 1
5455 cat >> confdefs.h <<\EOF
5456 #define HAVE_ISINFL 1
5459 cat >> confdefs.h <<\EOF
5460 #define HAVE_ISNANL 1
5466 os_include_dir="os/hpux"
5467 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5468 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5469 fp.h locale.h float.h inttypes.h
5471 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5472 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5473 echo "configure:5474: checking for $ac_hdr" >&5
5474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5475 echo $ac_n "(cached) $ac_c" 1>&6
5477 cat > conftest.$ac_ext <<EOF
5478 #line 5479 "configure"
5479 #include "confdefs.h"
5482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5483 { (eval echo configure:5484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5485 if test -z "$ac_err"; then
5487 eval "ac_cv_header_$ac_safe=yes"
5490 echo "configure: failed program was:" >&5
5491 cat conftest.$ac_ext >&5
5493 eval "ac_cv_header_$ac_safe=no"
5497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5498 echo "$ac_t""yes" 1>&6
5499 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5500 cat >> confdefs.h <<EOF
5501 #define $ac_tr_hdr 1
5505 echo "$ac_t""no" 1>&6
5509 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5512 # If we're not using GNU ld, then there's no point in even trying these
5513 # tests. Check for that first. We should have already tested for gld
5514 # by now (in libtool), but require it now just to be safe...
5515 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5516 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5519 # The name set by libtool depends on the version of libtool. Shame on us
5520 # for depending on an impl detail, but c'est la vie. Older versions used
5521 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5522 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5523 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5524 # set (hence we're using an older libtool), then set it.
5525 if test x${with_gnu_ld+set} != xset; then
5526 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5527 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5530 with_gnu_ld=$ac_cv_prog_gnu_ld
5534 # Start by getting the version number. I think the libtool test already
5535 # does some of this, but throws away the result.
5537 ldver=`$LD --version 2>/dev/null | head -1 | \
5538 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5540 glibcpp_gnu_ld_version=`echo $ldver | \
5541 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5543 # Set --gc-sections.
5544 if test "$with_gnu_ld" = "notbroken"; then
5545 # GNU ld it is! Joy and bunny rabbits!
5547 # All these tests are for C++; save the language and the compiler flags.
5548 # Need to do this so that g++ won't try to link in libstdc++
5549 ac_test_CFLAGS="${CFLAGS+set}"
5550 ac_save_CFLAGS="$CFLAGS"
5551 CFLAGS='-x c++ -Wl,--gc-sections'
5553 # Check for -Wl,--gc-sections
5554 # XXX This test is broken at the moment, as symbols required for
5555 # linking are now in libsupc++ (not built yet.....). In addition,
5556 # this test has cored on solaris in the past. In addition,
5557 # --gc-sections doesn't really work at the moment (keeps on discarding
5558 # used sections, first .eh_frame and now some of the glibc sections for
5559 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5560 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5561 echo "configure:5562: checking for ld that supports -Wl,--gc-sections" >&5
5562 if test "$cross_compiling" = yes; then
5563 ac_sectionLDflags=yes
5565 cat > conftest.$ac_ext <<EOF
5566 #line 5567 "configure"
5567 #include "confdefs.h"
5577 if { (eval echo configure:5578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5579 ac_sectionLDflags=yes
5581 echo "configure: failed program was:" >&5
5582 cat conftest.$ac_ext >&5
5584 ac_sectionLDflags=no
5589 if test "$ac_test_CFLAGS" = set; then
5590 CFLAGS="$ac_save_CFLAGS"
5592 # this is the suspicious part
5595 if test "$ac_sectionLDflags" = "yes"; then
5596 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5598 echo "$ac_t""$ac_sectionLDflags" 1>&6
5601 # Set linker optimization flags.
5602 if test x"$with_gnu_ld" = x"yes"; then
5603 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5610 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5611 echo "configure:5612: checking for main in -lm" >&5
5612 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5613 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5614 echo $ac_n "(cached) $ac_c" 1>&6
5616 ac_save_LIBS="$LIBS"
5618 cat > conftest.$ac_ext <<EOF
5619 #line 5620 "configure"
5620 #include "confdefs.h"
5626 if { (eval echo configure:5627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5628 eval "ac_cv_lib_$ac_lib_var=yes"
5630 echo "configure: failed program was:" >&5
5631 cat conftest.$ac_ext >&5
5633 eval "ac_cv_lib_$ac_lib_var=no"
5636 LIBS="$ac_save_LIBS"
5639 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5640 echo "$ac_t""yes" 1>&6
5641 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5642 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5643 cat >> confdefs.h <<EOF
5644 #define $ac_tr_lib 1
5650 echo "$ac_t""no" 1>&6
5653 for ac_func in nan copysignf
5655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5656 echo "configure:5657: checking for $ac_func" >&5
5657 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5658 echo $ac_n "(cached) $ac_c" 1>&6
5660 cat > conftest.$ac_ext <<EOF
5661 #line 5662 "configure"
5662 #include "confdefs.h"
5663 /* System header to define __stub macros and hopefully few prototypes,
5664 which can conflict with char $ac_func(); below. */
5666 /* Override any gcc2 internal prototype to avoid an error. */
5667 /* We use char because int might match the return type of a gcc2
5668 builtin and then its argument prototype would still apply. */
5673 /* The GNU C library defines this for functions which it implements
5674 to always fail with ENOSYS. Some functions are actually named
5675 something starting with __ and the normal name is an alias. */
5676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5684 if { (eval echo configure:5685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5686 eval "ac_cv_func_$ac_func=yes"
5688 echo "configure: failed program was:" >&5
5689 cat conftest.$ac_ext >&5
5691 eval "ac_cv_func_$ac_func=no"
5696 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5697 echo "$ac_t""yes" 1>&6
5698 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5699 cat >> confdefs.h <<EOF
5700 #define $ac_tr_func 1
5704 echo "$ac_t""no" 1>&6
5705 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5710 for ac_func in __signbit
5712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5713 echo "configure:5714: checking for $ac_func" >&5
5714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5715 echo $ac_n "(cached) $ac_c" 1>&6
5717 cat > conftest.$ac_ext <<EOF
5718 #line 5719 "configure"
5719 #include "confdefs.h"
5720 /* System header to define __stub macros and hopefully few prototypes,
5721 which can conflict with char $ac_func(); below. */
5723 /* Override any gcc2 internal prototype to avoid an error. */
5724 /* We use char because int might match the return type of a gcc2
5725 builtin and then its argument prototype would still apply. */
5730 /* The GNU C library defines this for functions which it implements
5731 to always fail with ENOSYS. Some functions are actually named
5732 something starting with __ and the normal name is an alias. */
5733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5741 if { (eval echo configure:5742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5743 eval "ac_cv_func_$ac_func=yes"
5745 echo "configure: failed program was:" >&5
5746 cat conftest.$ac_ext >&5
5748 eval "ac_cv_func_$ac_func=no"
5753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5754 echo "$ac_t""yes" 1>&6
5755 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5756 cat >> confdefs.h <<EOF
5757 #define $ac_tr_func 1
5761 echo "$ac_t""no" 1>&6
5762 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5766 for ac_func in __signbitf
5768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5769 echo "configure:5770: checking for $ac_func" >&5
5770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5771 echo $ac_n "(cached) $ac_c" 1>&6
5773 cat > conftest.$ac_ext <<EOF
5774 #line 5775 "configure"
5775 #include "confdefs.h"
5776 /* System header to define __stub macros and hopefully few prototypes,
5777 which can conflict with char $ac_func(); below. */
5779 /* Override any gcc2 internal prototype to avoid an error. */
5780 /* We use char because int might match the return type of a gcc2
5781 builtin and then its argument prototype would still apply. */
5786 /* The GNU C library defines this for functions which it implements
5787 to always fail with ENOSYS. Some functions are actually named
5788 something starting with __ and the normal name is an alias. */
5789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5797 if { (eval echo configure:5798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5799 eval "ac_cv_func_$ac_func=yes"
5801 echo "configure: failed program was:" >&5
5802 cat conftest.$ac_ext >&5
5804 eval "ac_cv_func_$ac_func=no"
5809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5810 echo "$ac_t""yes" 1>&6
5811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5812 cat >> confdefs.h <<EOF
5813 #define $ac_tr_func 1
5817 echo "$ac_t""no" 1>&6
5818 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5823 if test x$ac_cv_func_copysignl = x"yes"; then
5824 for ac_func in __signbitl
5826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5827 echo "configure:5828: checking for $ac_func" >&5
5828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5829 echo $ac_n "(cached) $ac_c" 1>&6
5831 cat > conftest.$ac_ext <<EOF
5832 #line 5833 "configure"
5833 #include "confdefs.h"
5834 /* System header to define __stub macros and hopefully few prototypes,
5835 which can conflict with char $ac_func(); below. */
5837 /* Override any gcc2 internal prototype to avoid an error. */
5838 /* We use char because int might match the return type of a gcc2
5839 builtin and then its argument prototype would still apply. */
5844 /* The GNU C library defines this for functions which it implements
5845 to always fail with ENOSYS. Some functions are actually named
5846 something starting with __ and the normal name is an alias. */
5847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5855 if { (eval echo configure:5856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5857 eval "ac_cv_func_$ac_func=yes"
5859 echo "configure: failed program was:" >&5
5860 cat conftest.$ac_ext >&5
5862 eval "ac_cv_func_$ac_func=no"
5867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5868 echo "$ac_t""yes" 1>&6
5869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5870 cat >> confdefs.h <<EOF
5871 #define $ac_tr_func 1
5875 echo "$ac_t""no" 1>&6
5876 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5882 if test -n "$LIBMATHOBJS"; then
5889 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5890 echo "configure:5891: checking for mbstate_t" >&5
5891 cat > conftest.$ac_ext <<EOF
5892 #line 5893 "configure"
5893 #include "confdefs.h"
5896 mbstate_t teststate;
5899 if { (eval echo configure:5900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5903 echo "configure: failed program was:" >&5
5904 cat conftest.$ac_ext >&5
5909 echo "$ac_t""$have_mbstate_t" 1>&6
5910 if test x"$have_mbstate_t" = xyes; then
5911 cat >> confdefs.h <<\EOF
5912 #define HAVE_MBSTATE_T 1
5917 for ac_hdr in wchar.h
5919 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5920 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5921 echo "configure:5922: checking for $ac_hdr" >&5
5922 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5923 echo $ac_n "(cached) $ac_c" 1>&6
5925 cat > conftest.$ac_ext <<EOF
5926 #line 5927 "configure"
5927 #include "confdefs.h"
5930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5931 { (eval echo configure:5932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5933 if test -z "$ac_err"; then
5935 eval "ac_cv_header_$ac_safe=yes"
5938 echo "configure: failed program was:" >&5
5939 cat conftest.$ac_ext >&5
5941 eval "ac_cv_header_$ac_safe=no"
5945 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5946 echo "$ac_t""yes" 1>&6
5947 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5948 cat >> confdefs.h <<EOF
5949 #define $ac_tr_hdr 1
5953 echo "$ac_t""no" 1>&6
5958 for ac_hdr in wctype.h
5960 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5961 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5962 echo "configure:5963: checking for $ac_hdr" >&5
5963 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5964 echo $ac_n "(cached) $ac_c" 1>&6
5966 cat > conftest.$ac_ext <<EOF
5967 #line 5968 "configure"
5968 #include "confdefs.h"
5971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5972 { (eval echo configure:5973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5974 if test -z "$ac_err"; then
5976 eval "ac_cv_header_$ac_safe=yes"
5979 echo "configure: failed program was:" >&5
5980 cat conftest.$ac_ext >&5
5982 eval "ac_cv_header_$ac_safe=no"
5986 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5987 echo "$ac_t""yes" 1>&6
5988 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5989 cat >> confdefs.h <<EOF
5990 #define $ac_tr_hdr 1
5994 echo "$ac_t""no" 1>&6
6000 if test x"$ac_has_wchar_h" = xyes &&
6001 test x"$ac_has_wctype_h" = xyes &&
6002 test x"$enable_c_mbchar" != xno; then
6004 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6005 echo "configure:6006: checking for WCHAR_MIN and WCHAR_MAX" >&5
6006 cat > conftest.$ac_ext <<EOF
6007 #line 6008 "configure"
6008 #include "confdefs.h"
6011 int i = WCHAR_MIN; int j = WCHAR_MAX;
6014 if { (eval echo configure:6015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6016 has_wchar_minmax=yes
6018 echo "configure: failed program was:" >&5
6019 cat conftest.$ac_ext >&5
6024 echo "$ac_t""$has_wchar_minmax" 1>&6
6026 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6027 echo "configure:6028: checking for WEOF" >&5
6028 cat > conftest.$ac_ext <<EOF
6029 #line 6030 "configure"
6030 #include "confdefs.h"
6038 if { (eval echo configure:6039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6042 echo "configure: failed program was:" >&5
6043 cat conftest.$ac_ext >&5
6048 echo "$ac_t""$has_weof" 1>&6
6051 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6054 echo "configure:6055: checking for $ac_func" >&5
6055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6056 echo $ac_n "(cached) $ac_c" 1>&6
6058 cat > conftest.$ac_ext <<EOF
6059 #line 6060 "configure"
6060 #include "confdefs.h"
6061 /* System header to define __stub macros and hopefully few prototypes,
6062 which can conflict with char $ac_func(); below. */
6064 /* Override any gcc2 internal prototype to avoid an error. */
6065 /* We use char because int might match the return type of a gcc2
6066 builtin and then its argument prototype would still apply. */
6071 /* The GNU C library defines this for functions which it implements
6072 to always fail with ENOSYS. Some functions are actually named
6073 something starting with __ and the normal name is an alias. */
6074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6082 if { (eval echo configure:6083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6084 eval "ac_cv_func_$ac_func=yes"
6086 echo "configure: failed program was:" >&5
6087 cat conftest.$ac_ext >&5
6089 eval "ac_cv_func_$ac_func=no"
6094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6095 echo "$ac_t""yes" 1>&6
6096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6097 cat >> confdefs.h <<EOF
6098 #define $ac_tr_func 1
6102 echo "$ac_t""no" 1>&6
6109 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6110 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6111 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6112 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6113 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6114 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6117 echo "configure:6118: checking for $ac_func" >&5
6118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6119 echo $ac_n "(cached) $ac_c" 1>&6
6121 cat > conftest.$ac_ext <<EOF
6122 #line 6123 "configure"
6123 #include "confdefs.h"
6124 /* System header to define __stub macros and hopefully few prototypes,
6125 which can conflict with char $ac_func(); below. */
6127 /* Override any gcc2 internal prototype to avoid an error. */
6128 /* We use char because int might match the return type of a gcc2
6129 builtin and then its argument prototype would still apply. */
6134 /* The GNU C library defines this for functions which it implements
6135 to always fail with ENOSYS. Some functions are actually named
6136 something starting with __ and the normal name is an alias. */
6137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6145 if { (eval echo configure:6146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6147 eval "ac_cv_func_$ac_func=yes"
6149 echo "configure: failed program was:" >&5
6150 cat conftest.$ac_ext >&5
6152 eval "ac_cv_func_$ac_func=no"
6157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6158 echo "$ac_t""yes" 1>&6
6159 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6160 cat >> confdefs.h <<EOF
6161 #define $ac_tr_func 1
6165 echo "$ac_t""no" 1>&6
6172 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6173 echo "configure:6174: checking for ISO C99 wchar_t support" >&5
6174 if test x"$has_weof" = xyes &&
6175 test x"$has_wchar_minmax" = xyes &&
6176 test x"$ac_wfuncs" = xyes; then
6177 ac_isoC99_wchar_t=yes
6179 ac_isoC99_wchar_t=no
6181 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6183 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6184 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6185 echo "configure:6186: checking for iconv.h" >&5
6186 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6187 echo $ac_n "(cached) $ac_c" 1>&6
6189 cat > conftest.$ac_ext <<EOF
6190 #line 6191 "configure"
6191 #include "confdefs.h"
6194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6195 { (eval echo configure:6196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6197 if test -z "$ac_err"; then
6199 eval "ac_cv_header_$ac_safe=yes"
6202 echo "configure: failed program was:" >&5
6203 cat conftest.$ac_ext >&5
6205 eval "ac_cv_header_$ac_safe=no"
6209 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6210 echo "$ac_t""yes" 1>&6
6213 echo "$ac_t""no" 1>&6
6217 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6218 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6219 echo "configure:6220: checking for langinfo.h" >&5
6220 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6221 echo $ac_n "(cached) $ac_c" 1>&6
6223 cat > conftest.$ac_ext <<EOF
6224 #line 6225 "configure"
6225 #include "confdefs.h"
6226 #include <langinfo.h>
6228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6229 { (eval echo configure:6230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6231 if test -z "$ac_err"; then
6233 eval "ac_cv_header_$ac_safe=yes"
6236 echo "configure: failed program was:" >&5
6237 cat conftest.$ac_ext >&5
6239 eval "ac_cv_header_$ac_safe=no"
6243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6244 echo "$ac_t""yes" 1>&6
6245 ac_has_langinfo_h=yes
6247 echo "$ac_t""no" 1>&6
6248 ac_has_langinfo_h=no
6252 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6253 echo "configure:6254: checking for iconv in -liconv" >&5
6254 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6256 echo $ac_n "(cached) $ac_c" 1>&6
6258 ac_save_LIBS="$LIBS"
6259 LIBS="-liconv $LIBS"
6260 cat > conftest.$ac_ext <<EOF
6261 #line 6262 "configure"
6262 #include "confdefs.h"
6263 /* Override any gcc2 internal prototype to avoid an error. */
6264 /* We use char because int might match the return type of a gcc2
6265 builtin and then its argument prototype would still apply. */
6272 if { (eval echo configure:6273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6274 eval "ac_cv_lib_$ac_lib_var=yes"
6276 echo "configure: failed program was:" >&5
6277 cat conftest.$ac_ext >&5
6279 eval "ac_cv_lib_$ac_lib_var=no"
6282 LIBS="$ac_save_LIBS"
6285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6286 echo "$ac_t""yes" 1>&6
6289 echo "$ac_t""no" 1>&6
6292 ac_save_LIBS="$LIBS"
6293 LIBS="$LIBS $libiconv"
6295 for ac_func in iconv_open iconv_close iconv nl_langinfo
6297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6298 echo "configure:6299: checking for $ac_func" >&5
6299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6300 echo $ac_n "(cached) $ac_c" 1>&6
6302 cat > conftest.$ac_ext <<EOF
6303 #line 6304 "configure"
6304 #include "confdefs.h"
6305 /* System header to define __stub macros and hopefully few prototypes,
6306 which can conflict with char $ac_func(); below. */
6308 /* Override any gcc2 internal prototype to avoid an error. */
6309 /* We use char because int might match the return type of a gcc2
6310 builtin and then its argument prototype would still apply. */
6315 /* The GNU C library defines this for functions which it implements
6316 to always fail with ENOSYS. Some functions are actually named
6317 something starting with __ and the normal name is an alias. */
6318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6326 if { (eval echo configure:6327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6328 eval "ac_cv_func_$ac_func=yes"
6330 echo "configure: failed program was:" >&5
6331 cat conftest.$ac_ext >&5
6333 eval "ac_cv_func_$ac_func=no"
6338 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6339 echo "$ac_t""yes" 1>&6
6340 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6341 cat >> confdefs.h <<EOF
6342 #define $ac_tr_func 1
6347 echo "$ac_t""no" 1>&6
6353 LIBS="$ac_save_LIBS"
6355 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6356 echo "configure:6357: checking for XPG2 wchar_t support" >&5
6357 if test x"$ac_has_iconv_h" = xyes &&
6358 test x"$ac_has_langinfo_h" = xyes &&
6359 test x"$ac_XPG2funcs" = xyes; then
6364 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6366 if test x"$ac_isoC99_wchar_t" = xyes &&
6367 test x"$ac_XPG2_wchar_t" = xyes; then
6368 cat >> confdefs.h <<\EOF
6369 #define _GLIBCPP_USE_WCHAR_T 1
6375 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6376 echo "configure:6377: checking for enabled wchar_t specializations" >&5
6377 echo "$ac_t""$enable_wchar_t" 1>&6
6379 cat >> confdefs.h <<\EOF
6380 #define HAVE_COPYSIGN 1
6383 cat >> confdefs.h <<\EOF
6384 #define HAVE_COPYSIGNF 1
6387 cat >> confdefs.h <<\EOF
6388 #define HAVE_FREXPF 1
6391 cat >> confdefs.h <<\EOF
6392 #define HAVE_HYPOT 1
6397 cat >> confdefs.h <<\EOF
6398 #define HAVE_FINITE 1
6401 cat >> confdefs.h <<\EOF
6402 #define HAVE_FINITEF 1
6405 cat >> confdefs.h <<\EOF
6406 #define HAVE_ISINF 1
6409 cat >> confdefs.h <<\EOF
6410 #define HAVE_ISINFF 1
6413 cat >> confdefs.h <<\EOF
6414 #define HAVE_ISNAN 1
6417 cat >> confdefs.h <<\EOF
6418 #define HAVE_ISNANF 1
6425 os_include_dir="os/gnu-linux"
6426 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6427 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6428 fp.h locale.h float.h inttypes.h
6430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6432 echo "configure:6433: checking for $ac_hdr" >&5
6433 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6434 echo $ac_n "(cached) $ac_c" 1>&6
6436 cat > conftest.$ac_ext <<EOF
6437 #line 6438 "configure"
6438 #include "confdefs.h"
6441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6442 { (eval echo configure:6443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6444 if test -z "$ac_err"; then
6446 eval "ac_cv_header_$ac_safe=yes"
6449 echo "configure: failed program was:" >&5
6450 cat conftest.$ac_ext >&5
6452 eval "ac_cv_header_$ac_safe=no"
6456 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6457 echo "$ac_t""yes" 1>&6
6458 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6459 cat >> confdefs.h <<EOF
6460 #define $ac_tr_hdr 1
6464 echo "$ac_t""no" 1>&6
6468 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6471 # If we're not using GNU ld, then there's no point in even trying these
6472 # tests. Check for that first. We should have already tested for gld
6473 # by now (in libtool), but require it now just to be safe...
6474 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6475 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6478 # The name set by libtool depends on the version of libtool. Shame on us
6479 # for depending on an impl detail, but c'est la vie. Older versions used
6480 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6481 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6482 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6483 # set (hence we're using an older libtool), then set it.
6484 if test x${with_gnu_ld+set} != xset; then
6485 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6486 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6489 with_gnu_ld=$ac_cv_prog_gnu_ld
6493 # Start by getting the version number. I think the libtool test already
6494 # does some of this, but throws away the result.
6496 ldver=`$LD --version 2>/dev/null | head -1 | \
6497 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6499 glibcpp_gnu_ld_version=`echo $ldver | \
6500 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6502 # Set --gc-sections.
6503 if test "$with_gnu_ld" = "notbroken"; then
6504 # GNU ld it is! Joy and bunny rabbits!
6506 # All these tests are for C++; save the language and the compiler flags.
6507 # Need to do this so that g++ won't try to link in libstdc++
6508 ac_test_CFLAGS="${CFLAGS+set}"
6509 ac_save_CFLAGS="$CFLAGS"
6510 CFLAGS='-x c++ -Wl,--gc-sections'
6512 # Check for -Wl,--gc-sections
6513 # XXX This test is broken at the moment, as symbols required for
6514 # linking are now in libsupc++ (not built yet.....). In addition,
6515 # this test has cored on solaris in the past. In addition,
6516 # --gc-sections doesn't really work at the moment (keeps on discarding
6517 # used sections, first .eh_frame and now some of the glibc sections for
6518 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6519 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6520 echo "configure:6521: checking for ld that supports -Wl,--gc-sections" >&5
6521 if test "$cross_compiling" = yes; then
6522 ac_sectionLDflags=yes
6524 cat > conftest.$ac_ext <<EOF
6525 #line 6526 "configure"
6526 #include "confdefs.h"
6536 if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6538 ac_sectionLDflags=yes
6540 echo "configure: failed program was:" >&5
6541 cat conftest.$ac_ext >&5
6543 ac_sectionLDflags=no
6548 if test "$ac_test_CFLAGS" = set; then
6549 CFLAGS="$ac_save_CFLAGS"
6551 # this is the suspicious part
6554 if test "$ac_sectionLDflags" = "yes"; then
6555 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6557 echo "$ac_t""$ac_sectionLDflags" 1>&6
6560 # Set linker optimization flags.
6561 if test x"$with_gnu_ld" = x"yes"; then
6562 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6569 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6570 echo "configure:6571: checking for main in -lm" >&5
6571 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6573 echo $ac_n "(cached) $ac_c" 1>&6
6575 ac_save_LIBS="$LIBS"
6577 cat > conftest.$ac_ext <<EOF
6578 #line 6579 "configure"
6579 #include "confdefs.h"
6585 if { (eval echo configure:6586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6587 eval "ac_cv_lib_$ac_lib_var=yes"
6589 echo "configure: failed program was:" >&5
6590 cat conftest.$ac_ext >&5
6592 eval "ac_cv_lib_$ac_lib_var=no"
6595 LIBS="$ac_save_LIBS"
6598 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6599 echo "$ac_t""yes" 1>&6
6600 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6601 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6602 cat >> confdefs.h <<EOF
6603 #define $ac_tr_lib 1
6609 echo "$ac_t""no" 1>&6
6612 for ac_func in nan copysignf
6614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6615 echo "configure:6616: checking for $ac_func" >&5
6616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6617 echo $ac_n "(cached) $ac_c" 1>&6
6619 cat > conftest.$ac_ext <<EOF
6620 #line 6621 "configure"
6621 #include "confdefs.h"
6622 /* System header to define __stub macros and hopefully few prototypes,
6623 which can conflict with char $ac_func(); below. */
6625 /* Override any gcc2 internal prototype to avoid an error. */
6626 /* We use char because int might match the return type of a gcc2
6627 builtin and then its argument prototype would still apply. */
6632 /* The GNU C library defines this for functions which it implements
6633 to always fail with ENOSYS. Some functions are actually named
6634 something starting with __ and the normal name is an alias. */
6635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6643 if { (eval echo configure:6644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6645 eval "ac_cv_func_$ac_func=yes"
6647 echo "configure: failed program was:" >&5
6648 cat conftest.$ac_ext >&5
6650 eval "ac_cv_func_$ac_func=no"
6655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6656 echo "$ac_t""yes" 1>&6
6657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6658 cat >> confdefs.h <<EOF
6659 #define $ac_tr_func 1
6663 echo "$ac_t""no" 1>&6
6664 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6669 for ac_func in __signbit
6671 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6672 echo "configure:6673: checking for $ac_func" >&5
6673 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6674 echo $ac_n "(cached) $ac_c" 1>&6
6676 cat > conftest.$ac_ext <<EOF
6677 #line 6678 "configure"
6678 #include "confdefs.h"
6679 /* System header to define __stub macros and hopefully few prototypes,
6680 which can conflict with char $ac_func(); below. */
6682 /* Override any gcc2 internal prototype to avoid an error. */
6683 /* We use char because int might match the return type of a gcc2
6684 builtin and then its argument prototype would still apply. */
6689 /* The GNU C library defines this for functions which it implements
6690 to always fail with ENOSYS. Some functions are actually named
6691 something starting with __ and the normal name is an alias. */
6692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6700 if { (eval echo configure:6701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6702 eval "ac_cv_func_$ac_func=yes"
6704 echo "configure: failed program was:" >&5
6705 cat conftest.$ac_ext >&5
6707 eval "ac_cv_func_$ac_func=no"
6712 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6713 echo "$ac_t""yes" 1>&6
6714 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6715 cat >> confdefs.h <<EOF
6716 #define $ac_tr_func 1
6720 echo "$ac_t""no" 1>&6
6721 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6725 for ac_func in __signbitf
6727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6728 echo "configure:6729: checking for $ac_func" >&5
6729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6730 echo $ac_n "(cached) $ac_c" 1>&6
6732 cat > conftest.$ac_ext <<EOF
6733 #line 6734 "configure"
6734 #include "confdefs.h"
6735 /* System header to define __stub macros and hopefully few prototypes,
6736 which can conflict with char $ac_func(); below. */
6738 /* Override any gcc2 internal prototype to avoid an error. */
6739 /* We use char because int might match the return type of a gcc2
6740 builtin and then its argument prototype would still apply. */
6745 /* The GNU C library defines this for functions which it implements
6746 to always fail with ENOSYS. Some functions are actually named
6747 something starting with __ and the normal name is an alias. */
6748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6756 if { (eval echo configure:6757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6758 eval "ac_cv_func_$ac_func=yes"
6760 echo "configure: failed program was:" >&5
6761 cat conftest.$ac_ext >&5
6763 eval "ac_cv_func_$ac_func=no"
6768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6769 echo "$ac_t""yes" 1>&6
6770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6771 cat >> confdefs.h <<EOF
6772 #define $ac_tr_func 1
6776 echo "$ac_t""no" 1>&6
6777 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6782 if test x$ac_cv_func_copysignl = x"yes"; then
6783 for ac_func in __signbitl
6785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6786 echo "configure:6787: checking for $ac_func" >&5
6787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6788 echo $ac_n "(cached) $ac_c" 1>&6
6790 cat > conftest.$ac_ext <<EOF
6791 #line 6792 "configure"
6792 #include "confdefs.h"
6793 /* System header to define __stub macros and hopefully few prototypes,
6794 which can conflict with char $ac_func(); below. */
6796 /* Override any gcc2 internal prototype to avoid an error. */
6797 /* We use char because int might match the return type of a gcc2
6798 builtin and then its argument prototype would still apply. */
6803 /* The GNU C library defines this for functions which it implements
6804 to always fail with ENOSYS. Some functions are actually named
6805 something starting with __ and the normal name is an alias. */
6806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6814 if { (eval echo configure:6815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6816 eval "ac_cv_func_$ac_func=yes"
6818 echo "configure: failed program was:" >&5
6819 cat conftest.$ac_ext >&5
6821 eval "ac_cv_func_$ac_func=no"
6826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6827 echo "$ac_t""yes" 1>&6
6828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6829 cat >> confdefs.h <<EOF
6830 #define $ac_tr_func 1
6834 echo "$ac_t""no" 1>&6
6835 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6841 if test -n "$LIBMATHOBJS"; then
6848 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6849 echo "configure:6850: checking for mbstate_t" >&5
6850 cat > conftest.$ac_ext <<EOF
6851 #line 6852 "configure"
6852 #include "confdefs.h"
6855 mbstate_t teststate;
6858 if { (eval echo configure:6859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6862 echo "configure: failed program was:" >&5
6863 cat conftest.$ac_ext >&5
6868 echo "$ac_t""$have_mbstate_t" 1>&6
6869 if test x"$have_mbstate_t" = xyes; then
6870 cat >> confdefs.h <<\EOF
6871 #define HAVE_MBSTATE_T 1
6876 for ac_hdr in wchar.h
6878 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6879 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6880 echo "configure:6881: checking for $ac_hdr" >&5
6881 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6882 echo $ac_n "(cached) $ac_c" 1>&6
6884 cat > conftest.$ac_ext <<EOF
6885 #line 6886 "configure"
6886 #include "confdefs.h"
6889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6890 { (eval echo configure:6891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6892 if test -z "$ac_err"; then
6894 eval "ac_cv_header_$ac_safe=yes"
6897 echo "configure: failed program was:" >&5
6898 cat conftest.$ac_ext >&5
6900 eval "ac_cv_header_$ac_safe=no"
6904 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6905 echo "$ac_t""yes" 1>&6
6906 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6907 cat >> confdefs.h <<EOF
6908 #define $ac_tr_hdr 1
6912 echo "$ac_t""no" 1>&6
6917 for ac_hdr in wctype.h
6919 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6920 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6921 echo "configure:6922: checking for $ac_hdr" >&5
6922 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6923 echo $ac_n "(cached) $ac_c" 1>&6
6925 cat > conftest.$ac_ext <<EOF
6926 #line 6927 "configure"
6927 #include "confdefs.h"
6930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6931 { (eval echo configure:6932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6933 if test -z "$ac_err"; then
6935 eval "ac_cv_header_$ac_safe=yes"
6938 echo "configure: failed program was:" >&5
6939 cat conftest.$ac_ext >&5
6941 eval "ac_cv_header_$ac_safe=no"
6945 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6946 echo "$ac_t""yes" 1>&6
6947 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6948 cat >> confdefs.h <<EOF
6949 #define $ac_tr_hdr 1
6953 echo "$ac_t""no" 1>&6
6959 if test x"$ac_has_wchar_h" = xyes &&
6960 test x"$ac_has_wctype_h" = xyes &&
6961 test x"$enable_c_mbchar" != xno; then
6963 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6964 echo "configure:6965: checking for WCHAR_MIN and WCHAR_MAX" >&5
6965 cat > conftest.$ac_ext <<EOF
6966 #line 6967 "configure"
6967 #include "confdefs.h"
6970 int i = WCHAR_MIN; int j = WCHAR_MAX;
6973 if { (eval echo configure:6974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6975 has_wchar_minmax=yes
6977 echo "configure: failed program was:" >&5
6978 cat conftest.$ac_ext >&5
6983 echo "$ac_t""$has_wchar_minmax" 1>&6
6985 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6986 echo "configure:6987: checking for WEOF" >&5
6987 cat > conftest.$ac_ext <<EOF
6988 #line 6989 "configure"
6989 #include "confdefs.h"
6997 if { (eval echo configure:6998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7001 echo "configure: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7007 echo "$ac_t""$has_weof" 1>&6
7010 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7013 echo "configure:7014: checking for $ac_func" >&5
7014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7015 echo $ac_n "(cached) $ac_c" 1>&6
7017 cat > conftest.$ac_ext <<EOF
7018 #line 7019 "configure"
7019 #include "confdefs.h"
7020 /* System header to define __stub macros and hopefully few prototypes,
7021 which can conflict with char $ac_func(); below. */
7023 /* Override any gcc2 internal prototype to avoid an error. */
7024 /* We use char because int might match the return type of a gcc2
7025 builtin and then its argument prototype would still apply. */
7030 /* The GNU C library defines this for functions which it implements
7031 to always fail with ENOSYS. Some functions are actually named
7032 something starting with __ and the normal name is an alias. */
7033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7041 if { (eval echo configure:7042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7043 eval "ac_cv_func_$ac_func=yes"
7045 echo "configure: failed program was:" >&5
7046 cat conftest.$ac_ext >&5
7048 eval "ac_cv_func_$ac_func=no"
7053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7054 echo "$ac_t""yes" 1>&6
7055 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7056 cat >> confdefs.h <<EOF
7057 #define $ac_tr_func 1
7061 echo "$ac_t""no" 1>&6
7068 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7069 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7070 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7071 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7072 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7073 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7076 echo "configure:7077: checking for $ac_func" >&5
7077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7078 echo $ac_n "(cached) $ac_c" 1>&6
7080 cat > conftest.$ac_ext <<EOF
7081 #line 7082 "configure"
7082 #include "confdefs.h"
7083 /* System header to define __stub macros and hopefully few prototypes,
7084 which can conflict with char $ac_func(); below. */
7086 /* Override any gcc2 internal prototype to avoid an error. */
7087 /* We use char because int might match the return type of a gcc2
7088 builtin and then its argument prototype would still apply. */
7093 /* The GNU C library defines this for functions which it implements
7094 to always fail with ENOSYS. Some functions are actually named
7095 something starting with __ and the normal name is an alias. */
7096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7104 if { (eval echo configure:7105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7106 eval "ac_cv_func_$ac_func=yes"
7108 echo "configure: failed program was:" >&5
7109 cat conftest.$ac_ext >&5
7111 eval "ac_cv_func_$ac_func=no"
7116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7117 echo "$ac_t""yes" 1>&6
7118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7119 cat >> confdefs.h <<EOF
7120 #define $ac_tr_func 1
7124 echo "$ac_t""no" 1>&6
7131 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7132 echo "configure:7133: checking for ISO C99 wchar_t support" >&5
7133 if test x"$has_weof" = xyes &&
7134 test x"$has_wchar_minmax" = xyes &&
7135 test x"$ac_wfuncs" = xyes; then
7136 ac_isoC99_wchar_t=yes
7138 ac_isoC99_wchar_t=no
7140 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7142 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7143 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7144 echo "configure:7145: checking for iconv.h" >&5
7145 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7146 echo $ac_n "(cached) $ac_c" 1>&6
7148 cat > conftest.$ac_ext <<EOF
7149 #line 7150 "configure"
7150 #include "confdefs.h"
7153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7154 { (eval echo configure:7155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7156 if test -z "$ac_err"; then
7158 eval "ac_cv_header_$ac_safe=yes"
7161 echo "configure: failed program was:" >&5
7162 cat conftest.$ac_ext >&5
7164 eval "ac_cv_header_$ac_safe=no"
7168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7169 echo "$ac_t""yes" 1>&6
7172 echo "$ac_t""no" 1>&6
7176 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7177 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7178 echo "configure:7179: checking for langinfo.h" >&5
7179 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7180 echo $ac_n "(cached) $ac_c" 1>&6
7182 cat > conftest.$ac_ext <<EOF
7183 #line 7184 "configure"
7184 #include "confdefs.h"
7185 #include <langinfo.h>
7187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7188 { (eval echo configure:7189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7190 if test -z "$ac_err"; then
7192 eval "ac_cv_header_$ac_safe=yes"
7195 echo "configure: failed program was:" >&5
7196 cat conftest.$ac_ext >&5
7198 eval "ac_cv_header_$ac_safe=no"
7202 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7203 echo "$ac_t""yes" 1>&6
7204 ac_has_langinfo_h=yes
7206 echo "$ac_t""no" 1>&6
7207 ac_has_langinfo_h=no
7211 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7212 echo "configure:7213: checking for iconv in -liconv" >&5
7213 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7215 echo $ac_n "(cached) $ac_c" 1>&6
7217 ac_save_LIBS="$LIBS"
7218 LIBS="-liconv $LIBS"
7219 cat > conftest.$ac_ext <<EOF
7220 #line 7221 "configure"
7221 #include "confdefs.h"
7222 /* Override any gcc2 internal prototype to avoid an error. */
7223 /* We use char because int might match the return type of a gcc2
7224 builtin and then its argument prototype would still apply. */
7231 if { (eval echo configure:7232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7233 eval "ac_cv_lib_$ac_lib_var=yes"
7235 echo "configure: failed program was:" >&5
7236 cat conftest.$ac_ext >&5
7238 eval "ac_cv_lib_$ac_lib_var=no"
7241 LIBS="$ac_save_LIBS"
7244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7245 echo "$ac_t""yes" 1>&6
7248 echo "$ac_t""no" 1>&6
7251 ac_save_LIBS="$LIBS"
7252 LIBS="$LIBS $libiconv"
7254 for ac_func in iconv_open iconv_close iconv nl_langinfo
7256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7257 echo "configure:7258: checking for $ac_func" >&5
7258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7259 echo $ac_n "(cached) $ac_c" 1>&6
7261 cat > conftest.$ac_ext <<EOF
7262 #line 7263 "configure"
7263 #include "confdefs.h"
7264 /* System header to define __stub macros and hopefully few prototypes,
7265 which can conflict with char $ac_func(); below. */
7267 /* Override any gcc2 internal prototype to avoid an error. */
7268 /* We use char because int might match the return type of a gcc2
7269 builtin and then its argument prototype would still apply. */
7274 /* The GNU C library defines this for functions which it implements
7275 to always fail with ENOSYS. Some functions are actually named
7276 something starting with __ and the normal name is an alias. */
7277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7285 if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7287 eval "ac_cv_func_$ac_func=yes"
7289 echo "configure: failed program was:" >&5
7290 cat conftest.$ac_ext >&5
7292 eval "ac_cv_func_$ac_func=no"
7297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7298 echo "$ac_t""yes" 1>&6
7299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7300 cat >> confdefs.h <<EOF
7301 #define $ac_tr_func 1
7306 echo "$ac_t""no" 1>&6
7312 LIBS="$ac_save_LIBS"
7314 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7315 echo "configure:7316: checking for XPG2 wchar_t support" >&5
7316 if test x"$ac_has_iconv_h" = xyes &&
7317 test x"$ac_has_langinfo_h" = xyes &&
7318 test x"$ac_XPG2funcs" = xyes; then
7323 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7325 if test x"$ac_isoC99_wchar_t" = xyes &&
7326 test x"$ac_XPG2_wchar_t" = xyes; then
7327 cat >> confdefs.h <<\EOF
7328 #define _GLIBCPP_USE_WCHAR_T 1
7334 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7335 echo "configure:7336: checking for enabled wchar_t specializations" >&5
7336 echo "$ac_t""$enable_wchar_t" 1>&6
7338 cat >> confdefs.h <<\EOF
7339 #define HAVE_COPYSIGN 1
7342 cat >> confdefs.h <<\EOF
7343 #define HAVE_COPYSIGNF 1
7346 cat >> confdefs.h <<\EOF
7347 #define HAVE_FINITE 1
7350 cat >> confdefs.h <<\EOF
7351 #define HAVE_FINITEF 1
7354 cat >> confdefs.h <<\EOF
7355 #define HAVE_FREXPF 1
7358 cat >> confdefs.h <<\EOF
7359 #define HAVE_HYPOTF 1
7362 cat >> confdefs.h <<\EOF
7363 #define HAVE_ISINF 1
7366 cat >> confdefs.h <<\EOF
7367 #define HAVE_ISINFF 1
7370 cat >> confdefs.h <<\EOF
7371 #define HAVE_ISNAN 1
7374 cat >> confdefs.h <<\EOF
7375 #define HAVE_ISNANF 1
7378 cat >> confdefs.h <<\EOF
7379 #define HAVE_SINCOS 1
7382 cat >> confdefs.h <<\EOF
7383 #define HAVE_SINCOSF 1
7386 if test x"long_double_math_on_this_cpu" = x"yes"; then
7387 cat >> confdefs.h <<\EOF
7388 #define HAVE_FINITEL 1
7391 cat >> confdefs.h <<\EOF
7392 #define HAVE_HYPOTL 1
7395 cat >> confdefs.h <<\EOF
7396 #define HAVE_ISINFL 1
7399 cat >> confdefs.h <<\EOF
7400 #define HAVE_ISNANL 1
7406 os_include_dir="os/mingw32"
7407 for ac_hdr in sys/types.h locale.h float.h
7409 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7410 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7411 echo "configure:7412: checking for $ac_hdr" >&5
7412 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7413 echo $ac_n "(cached) $ac_c" 1>&6
7415 cat > conftest.$ac_ext <<EOF
7416 #line 7417 "configure"
7417 #include "confdefs.h"
7420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7421 { (eval echo configure:7422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7423 if test -z "$ac_err"; then
7425 eval "ac_cv_header_$ac_safe=yes"
7428 echo "configure: failed program was:" >&5
7429 cat conftest.$ac_ext >&5
7431 eval "ac_cv_header_$ac_safe=no"
7435 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7436 echo "$ac_t""yes" 1>&6
7437 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7438 cat >> confdefs.h <<EOF
7439 #define $ac_tr_hdr 1
7443 echo "$ac_t""no" 1>&6
7448 # If we're not using GNU ld, then there's no point in even trying these
7449 # tests. Check for that first. We should have already tested for gld
7450 # by now (in libtool), but require it now just to be safe...
7451 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7452 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7455 # The name set by libtool depends on the version of libtool. Shame on us
7456 # for depending on an impl detail, but c'est la vie. Older versions used
7457 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7458 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7459 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7460 # set (hence we're using an older libtool), then set it.
7461 if test x${with_gnu_ld+set} != xset; then
7462 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7463 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7466 with_gnu_ld=$ac_cv_prog_gnu_ld
7470 # Start by getting the version number. I think the libtool test already
7471 # does some of this, but throws away the result.
7473 ldver=`$LD --version 2>/dev/null | head -1 | \
7474 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7476 glibcpp_gnu_ld_version=`echo $ldver | \
7477 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7479 # Set --gc-sections.
7480 if test "$with_gnu_ld" = "notbroken"; then
7481 # GNU ld it is! Joy and bunny rabbits!
7483 # All these tests are for C++; save the language and the compiler flags.
7484 # Need to do this so that g++ won't try to link in libstdc++
7485 ac_test_CFLAGS="${CFLAGS+set}"
7486 ac_save_CFLAGS="$CFLAGS"
7487 CFLAGS='-x c++ -Wl,--gc-sections'
7489 # Check for -Wl,--gc-sections
7490 # XXX This test is broken at the moment, as symbols required for
7491 # linking are now in libsupc++ (not built yet.....). In addition,
7492 # this test has cored on solaris in the past. In addition,
7493 # --gc-sections doesn't really work at the moment (keeps on discarding
7494 # used sections, first .eh_frame and now some of the glibc sections for
7495 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7496 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7497 echo "configure:7498: checking for ld that supports -Wl,--gc-sections" >&5
7498 if test "$cross_compiling" = yes; then
7499 ac_sectionLDflags=yes
7501 cat > conftest.$ac_ext <<EOF
7502 #line 7503 "configure"
7503 #include "confdefs.h"
7513 if { (eval echo configure:7514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7515 ac_sectionLDflags=yes
7517 echo "configure: failed program was:" >&5
7518 cat conftest.$ac_ext >&5
7520 ac_sectionLDflags=no
7525 if test "$ac_test_CFLAGS" = set; then
7526 CFLAGS="$ac_save_CFLAGS"
7528 # this is the suspicious part
7531 if test "$ac_sectionLDflags" = "yes"; then
7532 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7534 echo "$ac_t""$ac_sectionLDflags" 1>&6
7537 # Set linker optimization flags.
7538 if test x"$with_gnu_ld" = x"yes"; then
7539 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7546 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7547 echo "configure:7548: checking for main in -lm" >&5
7548 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7550 echo $ac_n "(cached) $ac_c" 1>&6
7552 ac_save_LIBS="$LIBS"
7554 cat > conftest.$ac_ext <<EOF
7555 #line 7556 "configure"
7556 #include "confdefs.h"
7562 if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7564 eval "ac_cv_lib_$ac_lib_var=yes"
7566 echo "configure: failed program was:" >&5
7567 cat conftest.$ac_ext >&5
7569 eval "ac_cv_lib_$ac_lib_var=no"
7572 LIBS="$ac_save_LIBS"
7575 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7576 echo "$ac_t""yes" 1>&6
7577 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7578 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7579 cat >> confdefs.h <<EOF
7580 #define $ac_tr_lib 1
7586 echo "$ac_t""no" 1>&6
7589 for ac_func in nan copysignf
7591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7592 echo "configure:7593: checking for $ac_func" >&5
7593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7594 echo $ac_n "(cached) $ac_c" 1>&6
7596 cat > conftest.$ac_ext <<EOF
7597 #line 7598 "configure"
7598 #include "confdefs.h"
7599 /* System header to define __stub macros and hopefully few prototypes,
7600 which can conflict with char $ac_func(); below. */
7602 /* Override any gcc2 internal prototype to avoid an error. */
7603 /* We use char because int might match the return type of a gcc2
7604 builtin and then its argument prototype would still apply. */
7609 /* The GNU C library defines this for functions which it implements
7610 to always fail with ENOSYS. Some functions are actually named
7611 something starting with __ and the normal name is an alias. */
7612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7620 if { (eval echo configure:7621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7622 eval "ac_cv_func_$ac_func=yes"
7624 echo "configure: failed program was:" >&5
7625 cat conftest.$ac_ext >&5
7627 eval "ac_cv_func_$ac_func=no"
7632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7633 echo "$ac_t""yes" 1>&6
7634 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7635 cat >> confdefs.h <<EOF
7636 #define $ac_tr_func 1
7640 echo "$ac_t""no" 1>&6
7641 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7646 for ac_func in __signbit
7648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7649 echo "configure:7650: checking for $ac_func" >&5
7650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7651 echo $ac_n "(cached) $ac_c" 1>&6
7653 cat > conftest.$ac_ext <<EOF
7654 #line 7655 "configure"
7655 #include "confdefs.h"
7656 /* System header to define __stub macros and hopefully few prototypes,
7657 which can conflict with char $ac_func(); below. */
7659 /* Override any gcc2 internal prototype to avoid an error. */
7660 /* We use char because int might match the return type of a gcc2
7661 builtin and then its argument prototype would still apply. */
7666 /* The GNU C library defines this for functions which it implements
7667 to always fail with ENOSYS. Some functions are actually named
7668 something starting with __ and the normal name is an alias. */
7669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7677 if { (eval echo configure:7678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7679 eval "ac_cv_func_$ac_func=yes"
7681 echo "configure: failed program was:" >&5
7682 cat conftest.$ac_ext >&5
7684 eval "ac_cv_func_$ac_func=no"
7689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7690 echo "$ac_t""yes" 1>&6
7691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7692 cat >> confdefs.h <<EOF
7693 #define $ac_tr_func 1
7697 echo "$ac_t""no" 1>&6
7698 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7702 for ac_func in __signbitf
7704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7705 echo "configure:7706: checking for $ac_func" >&5
7706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7707 echo $ac_n "(cached) $ac_c" 1>&6
7709 cat > conftest.$ac_ext <<EOF
7710 #line 7711 "configure"
7711 #include "confdefs.h"
7712 /* System header to define __stub macros and hopefully few prototypes,
7713 which can conflict with char $ac_func(); below. */
7715 /* Override any gcc2 internal prototype to avoid an error. */
7716 /* We use char because int might match the return type of a gcc2
7717 builtin and then its argument prototype would still apply. */
7722 /* The GNU C library defines this for functions which it implements
7723 to always fail with ENOSYS. Some functions are actually named
7724 something starting with __ and the normal name is an alias. */
7725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7733 if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7735 eval "ac_cv_func_$ac_func=yes"
7737 echo "configure: failed program was:" >&5
7738 cat conftest.$ac_ext >&5
7740 eval "ac_cv_func_$ac_func=no"
7745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7746 echo "$ac_t""yes" 1>&6
7747 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7748 cat >> confdefs.h <<EOF
7749 #define $ac_tr_func 1
7753 echo "$ac_t""no" 1>&6
7754 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7759 if test x$ac_cv_func_copysignl = x"yes"; then
7760 for ac_func in __signbitl
7762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7763 echo "configure:7764: checking for $ac_func" >&5
7764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7765 echo $ac_n "(cached) $ac_c" 1>&6
7767 cat > conftest.$ac_ext <<EOF
7768 #line 7769 "configure"
7769 #include "confdefs.h"
7770 /* System header to define __stub macros and hopefully few prototypes,
7771 which can conflict with char $ac_func(); below. */
7773 /* Override any gcc2 internal prototype to avoid an error. */
7774 /* We use char because int might match the return type of a gcc2
7775 builtin and then its argument prototype would still apply. */
7780 /* The GNU C library defines this for functions which it implements
7781 to always fail with ENOSYS. Some functions are actually named
7782 something starting with __ and the normal name is an alias. */
7783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7791 if { (eval echo configure:7792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7793 eval "ac_cv_func_$ac_func=yes"
7795 echo "configure: failed program was:" >&5
7796 cat conftest.$ac_ext >&5
7798 eval "ac_cv_func_$ac_func=no"
7803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7804 echo "$ac_t""yes" 1>&6
7805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7806 cat >> confdefs.h <<EOF
7807 #define $ac_tr_func 1
7811 echo "$ac_t""no" 1>&6
7812 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7818 if test -n "$LIBMATHOBJS"; then
7825 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7826 echo "configure:7827: checking for mbstate_t" >&5
7827 cat > conftest.$ac_ext <<EOF
7828 #line 7829 "configure"
7829 #include "confdefs.h"
7832 mbstate_t teststate;
7835 if { (eval echo configure:7836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7839 echo "configure: failed program was:" >&5
7840 cat conftest.$ac_ext >&5
7845 echo "$ac_t""$have_mbstate_t" 1>&6
7846 if test x"$have_mbstate_t" = xyes; then
7847 cat >> confdefs.h <<\EOF
7848 #define HAVE_MBSTATE_T 1
7853 for ac_hdr in wchar.h
7855 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7856 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7857 echo "configure:7858: checking for $ac_hdr" >&5
7858 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7859 echo $ac_n "(cached) $ac_c" 1>&6
7861 cat > conftest.$ac_ext <<EOF
7862 #line 7863 "configure"
7863 #include "confdefs.h"
7866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7867 { (eval echo configure:7868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7869 if test -z "$ac_err"; then
7871 eval "ac_cv_header_$ac_safe=yes"
7874 echo "configure: failed program was:" >&5
7875 cat conftest.$ac_ext >&5
7877 eval "ac_cv_header_$ac_safe=no"
7881 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7882 echo "$ac_t""yes" 1>&6
7883 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7884 cat >> confdefs.h <<EOF
7885 #define $ac_tr_hdr 1
7889 echo "$ac_t""no" 1>&6
7894 for ac_hdr in wctype.h
7896 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7897 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7898 echo "configure:7899: checking for $ac_hdr" >&5
7899 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7900 echo $ac_n "(cached) $ac_c" 1>&6
7902 cat > conftest.$ac_ext <<EOF
7903 #line 7904 "configure"
7904 #include "confdefs.h"
7907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7908 { (eval echo configure:7909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7910 if test -z "$ac_err"; then
7912 eval "ac_cv_header_$ac_safe=yes"
7915 echo "configure: failed program was:" >&5
7916 cat conftest.$ac_ext >&5
7918 eval "ac_cv_header_$ac_safe=no"
7922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7923 echo "$ac_t""yes" 1>&6
7924 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7925 cat >> confdefs.h <<EOF
7926 #define $ac_tr_hdr 1
7930 echo "$ac_t""no" 1>&6
7936 if test x"$ac_has_wchar_h" = xyes &&
7937 test x"$ac_has_wctype_h" = xyes &&
7938 test x"$enable_c_mbchar" != xno; then
7940 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7941 echo "configure:7942: checking for WCHAR_MIN and WCHAR_MAX" >&5
7942 cat > conftest.$ac_ext <<EOF
7943 #line 7944 "configure"
7944 #include "confdefs.h"
7947 int i = WCHAR_MIN; int j = WCHAR_MAX;
7950 if { (eval echo configure:7951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7952 has_wchar_minmax=yes
7954 echo "configure: failed program was:" >&5
7955 cat conftest.$ac_ext >&5
7960 echo "$ac_t""$has_wchar_minmax" 1>&6
7962 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7963 echo "configure:7964: checking for WEOF" >&5
7964 cat > conftest.$ac_ext <<EOF
7965 #line 7966 "configure"
7966 #include "confdefs.h"
7974 if { (eval echo configure:7975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7978 echo "configure: failed program was:" >&5
7979 cat conftest.$ac_ext >&5
7984 echo "$ac_t""$has_weof" 1>&6
7987 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7990 echo "configure:7991: checking for $ac_func" >&5
7991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7992 echo $ac_n "(cached) $ac_c" 1>&6
7994 cat > conftest.$ac_ext <<EOF
7995 #line 7996 "configure"
7996 #include "confdefs.h"
7997 /* System header to define __stub macros and hopefully few prototypes,
7998 which can conflict with char $ac_func(); below. */
8000 /* Override any gcc2 internal prototype to avoid an error. */
8001 /* We use char because int might match the return type of a gcc2
8002 builtin and then its argument prototype would still apply. */
8007 /* The GNU C library defines this for functions which it implements
8008 to always fail with ENOSYS. Some functions are actually named
8009 something starting with __ and the normal name is an alias. */
8010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8018 if { (eval echo configure:8019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8020 eval "ac_cv_func_$ac_func=yes"
8022 echo "configure: failed program was:" >&5
8023 cat conftest.$ac_ext >&5
8025 eval "ac_cv_func_$ac_func=no"
8030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8031 echo "$ac_t""yes" 1>&6
8032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8033 cat >> confdefs.h <<EOF
8034 #define $ac_tr_func 1
8038 echo "$ac_t""no" 1>&6
8045 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8046 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8047 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8048 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8049 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8050 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8053 echo "configure:8054: checking for $ac_func" >&5
8054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8055 echo $ac_n "(cached) $ac_c" 1>&6
8057 cat > conftest.$ac_ext <<EOF
8058 #line 8059 "configure"
8059 #include "confdefs.h"
8060 /* System header to define __stub macros and hopefully few prototypes,
8061 which can conflict with char $ac_func(); below. */
8063 /* Override any gcc2 internal prototype to avoid an error. */
8064 /* We use char because int might match the return type of a gcc2
8065 builtin and then its argument prototype would still apply. */
8070 /* The GNU C library defines this for functions which it implements
8071 to always fail with ENOSYS. Some functions are actually named
8072 something starting with __ and the normal name is an alias. */
8073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8081 if { (eval echo configure:8082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8083 eval "ac_cv_func_$ac_func=yes"
8085 echo "configure: failed program was:" >&5
8086 cat conftest.$ac_ext >&5
8088 eval "ac_cv_func_$ac_func=no"
8093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8094 echo "$ac_t""yes" 1>&6
8095 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8096 cat >> confdefs.h <<EOF
8097 #define $ac_tr_func 1
8101 echo "$ac_t""no" 1>&6
8108 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8109 echo "configure:8110: checking for ISO C99 wchar_t support" >&5
8110 if test x"$has_weof" = xyes &&
8111 test x"$has_wchar_minmax" = xyes &&
8112 test x"$ac_wfuncs" = xyes; then
8113 ac_isoC99_wchar_t=yes
8115 ac_isoC99_wchar_t=no
8117 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8119 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8120 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8121 echo "configure:8122: checking for iconv.h" >&5
8122 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8123 echo $ac_n "(cached) $ac_c" 1>&6
8125 cat > conftest.$ac_ext <<EOF
8126 #line 8127 "configure"
8127 #include "confdefs.h"
8130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8131 { (eval echo configure:8132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8133 if test -z "$ac_err"; then
8135 eval "ac_cv_header_$ac_safe=yes"
8138 echo "configure: failed program was:" >&5
8139 cat conftest.$ac_ext >&5
8141 eval "ac_cv_header_$ac_safe=no"
8145 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8146 echo "$ac_t""yes" 1>&6
8149 echo "$ac_t""no" 1>&6
8153 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8154 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8155 echo "configure:8156: checking for langinfo.h" >&5
8156 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8157 echo $ac_n "(cached) $ac_c" 1>&6
8159 cat > conftest.$ac_ext <<EOF
8160 #line 8161 "configure"
8161 #include "confdefs.h"
8162 #include <langinfo.h>
8164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8165 { (eval echo configure:8166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8167 if test -z "$ac_err"; then
8169 eval "ac_cv_header_$ac_safe=yes"
8172 echo "configure: failed program was:" >&5
8173 cat conftest.$ac_ext >&5
8175 eval "ac_cv_header_$ac_safe=no"
8179 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8180 echo "$ac_t""yes" 1>&6
8181 ac_has_langinfo_h=yes
8183 echo "$ac_t""no" 1>&6
8184 ac_has_langinfo_h=no
8188 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8189 echo "configure:8190: checking for iconv in -liconv" >&5
8190 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8191 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8192 echo $ac_n "(cached) $ac_c" 1>&6
8194 ac_save_LIBS="$LIBS"
8195 LIBS="-liconv $LIBS"
8196 cat > conftest.$ac_ext <<EOF
8197 #line 8198 "configure"
8198 #include "confdefs.h"
8199 /* Override any gcc2 internal prototype to avoid an error. */
8200 /* We use char because int might match the return type of a gcc2
8201 builtin and then its argument prototype would still apply. */
8208 if { (eval echo configure:8209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8210 eval "ac_cv_lib_$ac_lib_var=yes"
8212 echo "configure: failed program was:" >&5
8213 cat conftest.$ac_ext >&5
8215 eval "ac_cv_lib_$ac_lib_var=no"
8218 LIBS="$ac_save_LIBS"
8221 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8222 echo "$ac_t""yes" 1>&6
8225 echo "$ac_t""no" 1>&6
8228 ac_save_LIBS="$LIBS"
8229 LIBS="$LIBS $libiconv"
8231 for ac_func in iconv_open iconv_close iconv nl_langinfo
8233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8234 echo "configure:8235: checking for $ac_func" >&5
8235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8236 echo $ac_n "(cached) $ac_c" 1>&6
8238 cat > conftest.$ac_ext <<EOF
8239 #line 8240 "configure"
8240 #include "confdefs.h"
8241 /* System header to define __stub macros and hopefully few prototypes,
8242 which can conflict with char $ac_func(); below. */
8244 /* Override any gcc2 internal prototype to avoid an error. */
8245 /* We use char because int might match the return type of a gcc2
8246 builtin and then its argument prototype would still apply. */
8251 /* The GNU C library defines this for functions which it implements
8252 to always fail with ENOSYS. Some functions are actually named
8253 something starting with __ and the normal name is an alias. */
8254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8262 if { (eval echo configure:8263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8264 eval "ac_cv_func_$ac_func=yes"
8266 echo "configure: failed program was:" >&5
8267 cat conftest.$ac_ext >&5
8269 eval "ac_cv_func_$ac_func=no"
8274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8275 echo "$ac_t""yes" 1>&6
8276 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8277 cat >> confdefs.h <<EOF
8278 #define $ac_tr_func 1
8283 echo "$ac_t""no" 1>&6
8289 LIBS="$ac_save_LIBS"
8291 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8292 echo "configure:8293: checking for XPG2 wchar_t support" >&5
8293 if test x"$ac_has_iconv_h" = xyes &&
8294 test x"$ac_has_langinfo_h" = xyes &&
8295 test x"$ac_XPG2funcs" = xyes; then
8300 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8302 if test x"$ac_isoC99_wchar_t" = xyes &&
8303 test x"$ac_XPG2_wchar_t" = xyes; then
8304 cat >> confdefs.h <<\EOF
8305 #define _GLIBCPP_USE_WCHAR_T 1
8311 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8312 echo "configure:8313: checking for enabled wchar_t specializations" >&5
8313 echo "$ac_t""$enable_wchar_t" 1>&6
8317 os_include_dir="os/bsd/netbsd"
8318 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
8319 machine/endian.h machine/param.h sys/machine.h sys/types.h \
8320 fp.h locale.h float.h inttypes.h
8322 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8324 echo "configure:8325: checking for $ac_hdr" >&5
8325 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8326 echo $ac_n "(cached) $ac_c" 1>&6
8328 cat > conftest.$ac_ext <<EOF
8329 #line 8330 "configure"
8330 #include "confdefs.h"
8333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8334 { (eval echo configure:8335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8336 if test -z "$ac_err"; then
8338 eval "ac_cv_header_$ac_safe=yes"
8341 echo "configure: failed program was:" >&5
8342 cat conftest.$ac_ext >&5
8344 eval "ac_cv_header_$ac_safe=no"
8348 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8349 echo "$ac_t""yes" 1>&6
8350 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8351 cat >> confdefs.h <<EOF
8352 #define $ac_tr_hdr 1
8356 echo "$ac_t""no" 1>&6
8360 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8363 # If we're not using GNU ld, then there's no point in even trying these
8364 # tests. Check for that first. We should have already tested for gld
8365 # by now (in libtool), but require it now just to be safe...
8366 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8367 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8370 # The name set by libtool depends on the version of libtool. Shame on us
8371 # for depending on an impl detail, but c'est la vie. Older versions used
8372 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8373 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8374 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8375 # set (hence we're using an older libtool), then set it.
8376 if test x${with_gnu_ld+set} != xset; then
8377 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8378 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8381 with_gnu_ld=$ac_cv_prog_gnu_ld
8385 # Start by getting the version number. I think the libtool test already
8386 # does some of this, but throws away the result.
8388 ldver=`$LD --version 2>/dev/null | head -1 | \
8389 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8391 glibcpp_gnu_ld_version=`echo $ldver | \
8392 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8394 # Set --gc-sections.
8395 if test "$with_gnu_ld" = "notbroken"; then
8396 # GNU ld it is! Joy and bunny rabbits!
8398 # All these tests are for C++; save the language and the compiler flags.
8399 # Need to do this so that g++ won't try to link in libstdc++
8400 ac_test_CFLAGS="${CFLAGS+set}"
8401 ac_save_CFLAGS="$CFLAGS"
8402 CFLAGS='-x c++ -Wl,--gc-sections'
8404 # Check for -Wl,--gc-sections
8405 # XXX This test is broken at the moment, as symbols required for
8406 # linking are now in libsupc++ (not built yet.....). In addition,
8407 # this test has cored on solaris in the past. In addition,
8408 # --gc-sections doesn't really work at the moment (keeps on discarding
8409 # used sections, first .eh_frame and now some of the glibc sections for
8410 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8411 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8412 echo "configure:8413: checking for ld that supports -Wl,--gc-sections" >&5
8413 if test "$cross_compiling" = yes; then
8414 ac_sectionLDflags=yes
8416 cat > conftest.$ac_ext <<EOF
8417 #line 8418 "configure"
8418 #include "confdefs.h"
8428 if { (eval echo configure:8429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8430 ac_sectionLDflags=yes
8432 echo "configure: failed program was:" >&5
8433 cat conftest.$ac_ext >&5
8435 ac_sectionLDflags=no
8440 if test "$ac_test_CFLAGS" = set; then
8441 CFLAGS="$ac_save_CFLAGS"
8443 # this is the suspicious part
8446 if test "$ac_sectionLDflags" = "yes"; then
8447 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8449 echo "$ac_t""$ac_sectionLDflags" 1>&6
8452 # Set linker optimization flags.
8453 if test x"$with_gnu_ld" = x"yes"; then
8454 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8461 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8462 echo "configure:8463: checking for main in -lm" >&5
8463 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8464 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8465 echo $ac_n "(cached) $ac_c" 1>&6
8467 ac_save_LIBS="$LIBS"
8469 cat > conftest.$ac_ext <<EOF
8470 #line 8471 "configure"
8471 #include "confdefs.h"
8477 if { (eval echo configure:8478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8479 eval "ac_cv_lib_$ac_lib_var=yes"
8481 echo "configure: failed program was:" >&5
8482 cat conftest.$ac_ext >&5
8484 eval "ac_cv_lib_$ac_lib_var=no"
8487 LIBS="$ac_save_LIBS"
8490 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8491 echo "$ac_t""yes" 1>&6
8492 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8493 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8494 cat >> confdefs.h <<EOF
8495 #define $ac_tr_lib 1
8501 echo "$ac_t""no" 1>&6
8504 for ac_func in nan copysignf
8506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8507 echo "configure:8508: checking for $ac_func" >&5
8508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8509 echo $ac_n "(cached) $ac_c" 1>&6
8511 cat > conftest.$ac_ext <<EOF
8512 #line 8513 "configure"
8513 #include "confdefs.h"
8514 /* System header to define __stub macros and hopefully few prototypes,
8515 which can conflict with char $ac_func(); below. */
8517 /* Override any gcc2 internal prototype to avoid an error. */
8518 /* We use char because int might match the return type of a gcc2
8519 builtin and then its argument prototype would still apply. */
8524 /* The GNU C library defines this for functions which it implements
8525 to always fail with ENOSYS. Some functions are actually named
8526 something starting with __ and the normal name is an alias. */
8527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
8539 echo "configure: failed program was:" >&5
8540 cat conftest.$ac_ext >&5
8542 eval "ac_cv_func_$ac_func=no"
8547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8548 echo "$ac_t""yes" 1>&6
8549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8550 cat >> confdefs.h <<EOF
8551 #define $ac_tr_func 1
8555 echo "$ac_t""no" 1>&6
8556 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8561 for ac_func in __signbit
8563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8564 echo "configure:8565: checking for $ac_func" >&5
8565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8566 echo $ac_n "(cached) $ac_c" 1>&6
8568 cat > conftest.$ac_ext <<EOF
8569 #line 8570 "configure"
8570 #include "confdefs.h"
8571 /* System header to define __stub macros and hopefully few prototypes,
8572 which can conflict with char $ac_func(); below. */
8574 /* Override any gcc2 internal prototype to avoid an error. */
8575 /* We use char because int might match the return type of a gcc2
8576 builtin and then its argument prototype would still apply. */
8581 /* The GNU C library defines this for functions which it implements
8582 to always fail with ENOSYS. Some functions are actually named
8583 something starting with __ and the normal name is an alias. */
8584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8592 if { (eval echo configure:8593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8594 eval "ac_cv_func_$ac_func=yes"
8596 echo "configure: failed program was:" >&5
8597 cat conftest.$ac_ext >&5
8599 eval "ac_cv_func_$ac_func=no"
8604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8605 echo "$ac_t""yes" 1>&6
8606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8607 cat >> confdefs.h <<EOF
8608 #define $ac_tr_func 1
8612 echo "$ac_t""no" 1>&6
8613 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8617 for ac_func in __signbitf
8619 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8620 echo "configure:8621: checking for $ac_func" >&5
8621 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8622 echo $ac_n "(cached) $ac_c" 1>&6
8624 cat > conftest.$ac_ext <<EOF
8625 #line 8626 "configure"
8626 #include "confdefs.h"
8627 /* System header to define __stub macros and hopefully few prototypes,
8628 which can conflict with char $ac_func(); below. */
8630 /* Override any gcc2 internal prototype to avoid an error. */
8631 /* We use char because int might match the return type of a gcc2
8632 builtin and then its argument prototype would still apply. */
8637 /* The GNU C library defines this for functions which it implements
8638 to always fail with ENOSYS. Some functions are actually named
8639 something starting with __ and the normal name is an alias. */
8640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8648 if { (eval echo configure:8649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8650 eval "ac_cv_func_$ac_func=yes"
8652 echo "configure: failed program was:" >&5
8653 cat conftest.$ac_ext >&5
8655 eval "ac_cv_func_$ac_func=no"
8660 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8661 echo "$ac_t""yes" 1>&6
8662 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8663 cat >> confdefs.h <<EOF
8664 #define $ac_tr_func 1
8668 echo "$ac_t""no" 1>&6
8669 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8674 if test x$ac_cv_func_copysignl = x"yes"; then
8675 for ac_func in __signbitl
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 signbitl.lo"
8733 if test -n "$LIBMATHOBJS"; then
8740 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8741 echo "configure:8742: checking for mbstate_t" >&5
8742 cat > conftest.$ac_ext <<EOF
8743 #line 8744 "configure"
8744 #include "confdefs.h"
8747 mbstate_t teststate;
8750 if { (eval echo configure:8751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8754 echo "configure: failed program was:" >&5
8755 cat conftest.$ac_ext >&5
8760 echo "$ac_t""$have_mbstate_t" 1>&6
8761 if test x"$have_mbstate_t" = xyes; then
8762 cat >> confdefs.h <<\EOF
8763 #define HAVE_MBSTATE_T 1
8768 for ac_hdr in wchar.h
8770 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8771 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8772 echo "configure:8773: checking for $ac_hdr" >&5
8773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8774 echo $ac_n "(cached) $ac_c" 1>&6
8776 cat > conftest.$ac_ext <<EOF
8777 #line 8778 "configure"
8778 #include "confdefs.h"
8781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8782 { (eval echo configure:8783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8784 if test -z "$ac_err"; then
8786 eval "ac_cv_header_$ac_safe=yes"
8789 echo "configure: failed program was:" >&5
8790 cat conftest.$ac_ext >&5
8792 eval "ac_cv_header_$ac_safe=no"
8796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8797 echo "$ac_t""yes" 1>&6
8798 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8799 cat >> confdefs.h <<EOF
8800 #define $ac_tr_hdr 1
8804 echo "$ac_t""no" 1>&6
8809 for ac_hdr in wctype.h
8811 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8812 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8813 echo "configure:8814: checking for $ac_hdr" >&5
8814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8815 echo $ac_n "(cached) $ac_c" 1>&6
8817 cat > conftest.$ac_ext <<EOF
8818 #line 8819 "configure"
8819 #include "confdefs.h"
8822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8823 { (eval echo configure:8824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8825 if test -z "$ac_err"; then
8827 eval "ac_cv_header_$ac_safe=yes"
8830 echo "configure: failed program was:" >&5
8831 cat conftest.$ac_ext >&5
8833 eval "ac_cv_header_$ac_safe=no"
8837 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8838 echo "$ac_t""yes" 1>&6
8839 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8840 cat >> confdefs.h <<EOF
8841 #define $ac_tr_hdr 1
8845 echo "$ac_t""no" 1>&6
8851 if test x"$ac_has_wchar_h" = xyes &&
8852 test x"$ac_has_wctype_h" = xyes &&
8853 test x"$enable_c_mbchar" != xno; then
8855 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8856 echo "configure:8857: checking for WCHAR_MIN and WCHAR_MAX" >&5
8857 cat > conftest.$ac_ext <<EOF
8858 #line 8859 "configure"
8859 #include "confdefs.h"
8862 int i = WCHAR_MIN; int j = WCHAR_MAX;
8865 if { (eval echo configure:8866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8867 has_wchar_minmax=yes
8869 echo "configure: failed program was:" >&5
8870 cat conftest.$ac_ext >&5
8875 echo "$ac_t""$has_wchar_minmax" 1>&6
8877 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8878 echo "configure:8879: checking for WEOF" >&5
8879 cat > conftest.$ac_ext <<EOF
8880 #line 8881 "configure"
8881 #include "confdefs.h"
8889 if { (eval echo configure:8890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8893 echo "configure: failed program was:" >&5
8894 cat conftest.$ac_ext >&5
8899 echo "$ac_t""$has_weof" 1>&6
8902 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8905 echo "configure:8906: checking for $ac_func" >&5
8906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8907 echo $ac_n "(cached) $ac_c" 1>&6
8909 cat > conftest.$ac_ext <<EOF
8910 #line 8911 "configure"
8911 #include "confdefs.h"
8912 /* System header to define __stub macros and hopefully few prototypes,
8913 which can conflict with char $ac_func(); below. */
8915 /* Override any gcc2 internal prototype to avoid an error. */
8916 /* We use char because int might match the return type of a gcc2
8917 builtin and then its argument prototype would still apply. */
8922 /* The GNU C library defines this for functions which it implements
8923 to always fail with ENOSYS. Some functions are actually named
8924 something starting with __ and the normal name is an alias. */
8925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8933 if { (eval echo configure:8934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8935 eval "ac_cv_func_$ac_func=yes"
8937 echo "configure: failed program was:" >&5
8938 cat conftest.$ac_ext >&5
8940 eval "ac_cv_func_$ac_func=no"
8945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8946 echo "$ac_t""yes" 1>&6
8947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8948 cat >> confdefs.h <<EOF
8949 #define $ac_tr_func 1
8953 echo "$ac_t""no" 1>&6
8960 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8961 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8962 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8963 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8964 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8965 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8968 echo "configure:8969: checking for $ac_func" >&5
8969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8970 echo $ac_n "(cached) $ac_c" 1>&6
8972 cat > conftest.$ac_ext <<EOF
8973 #line 8974 "configure"
8974 #include "confdefs.h"
8975 /* System header to define __stub macros and hopefully few prototypes,
8976 which can conflict with char $ac_func(); below. */
8978 /* Override any gcc2 internal prototype to avoid an error. */
8979 /* We use char because int might match the return type of a gcc2
8980 builtin and then its argument prototype would still apply. */
8985 /* The GNU C library defines this for functions which it implements
8986 to always fail with ENOSYS. Some functions are actually named
8987 something starting with __ and the normal name is an alias. */
8988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8996 if { (eval echo configure:8997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8998 eval "ac_cv_func_$ac_func=yes"
9000 echo "configure: failed program was:" >&5
9001 cat conftest.$ac_ext >&5
9003 eval "ac_cv_func_$ac_func=no"
9008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9009 echo "$ac_t""yes" 1>&6
9010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9011 cat >> confdefs.h <<EOF
9012 #define $ac_tr_func 1
9016 echo "$ac_t""no" 1>&6
9023 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9024 echo "configure:9025: checking for ISO C99 wchar_t support" >&5
9025 if test x"$has_weof" = xyes &&
9026 test x"$has_wchar_minmax" = xyes &&
9027 test x"$ac_wfuncs" = xyes; then
9028 ac_isoC99_wchar_t=yes
9030 ac_isoC99_wchar_t=no
9032 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9034 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9035 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9036 echo "configure:9037: checking for iconv.h" >&5
9037 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
9045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9046 { (eval echo configure:9047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9048 if test -z "$ac_err"; then
9050 eval "ac_cv_header_$ac_safe=yes"
9053 echo "configure: failed program was:" >&5
9054 cat conftest.$ac_ext >&5
9056 eval "ac_cv_header_$ac_safe=no"
9060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9061 echo "$ac_t""yes" 1>&6
9064 echo "$ac_t""no" 1>&6
9068 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9069 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9070 echo "configure:9071: checking for langinfo.h" >&5
9071 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9072 echo $ac_n "(cached) $ac_c" 1>&6
9074 cat > conftest.$ac_ext <<EOF
9075 #line 9076 "configure"
9076 #include "confdefs.h"
9077 #include <langinfo.h>
9079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9080 { (eval echo configure:9081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9082 if test -z "$ac_err"; then
9084 eval "ac_cv_header_$ac_safe=yes"
9087 echo "configure: failed program was:" >&5
9088 cat conftest.$ac_ext >&5
9090 eval "ac_cv_header_$ac_safe=no"
9094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9095 echo "$ac_t""yes" 1>&6
9096 ac_has_langinfo_h=yes
9098 echo "$ac_t""no" 1>&6
9099 ac_has_langinfo_h=no
9103 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9104 echo "configure:9105: checking for iconv in -liconv" >&5
9105 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9107 echo $ac_n "(cached) $ac_c" 1>&6
9109 ac_save_LIBS="$LIBS"
9110 LIBS="-liconv $LIBS"
9111 cat > conftest.$ac_ext <<EOF
9112 #line 9113 "configure"
9113 #include "confdefs.h"
9114 /* Override any gcc2 internal prototype to avoid an error. */
9115 /* We use char because int might match the return type of a gcc2
9116 builtin and then its argument prototype would still apply. */
9123 if { (eval echo configure:9124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9125 eval "ac_cv_lib_$ac_lib_var=yes"
9127 echo "configure: failed program was:" >&5
9128 cat conftest.$ac_ext >&5
9130 eval "ac_cv_lib_$ac_lib_var=no"
9133 LIBS="$ac_save_LIBS"
9136 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9137 echo "$ac_t""yes" 1>&6
9140 echo "$ac_t""no" 1>&6
9143 ac_save_LIBS="$LIBS"
9144 LIBS="$LIBS $libiconv"
9146 for ac_func in iconv_open iconv_close iconv nl_langinfo
9148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9149 echo "configure:9150: checking for $ac_func" >&5
9150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9151 echo $ac_n "(cached) $ac_c" 1>&6
9153 cat > conftest.$ac_ext <<EOF
9154 #line 9155 "configure"
9155 #include "confdefs.h"
9156 /* System header to define __stub macros and hopefully few prototypes,
9157 which can conflict with char $ac_func(); below. */
9159 /* Override any gcc2 internal prototype to avoid an error. */
9160 /* We use char because int might match the return type of a gcc2
9161 builtin and then its argument prototype would still apply. */
9166 /* The GNU C library defines this for functions which it implements
9167 to always fail with ENOSYS. Some functions are actually named
9168 something starting with __ and the normal name is an alias. */
9169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9177 if { (eval echo configure:9178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9179 eval "ac_cv_func_$ac_func=yes"
9181 echo "configure: failed program was:" >&5
9182 cat conftest.$ac_ext >&5
9184 eval "ac_cv_func_$ac_func=no"
9189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9190 echo "$ac_t""yes" 1>&6
9191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9192 cat >> confdefs.h <<EOF
9193 #define $ac_tr_func 1
9198 echo "$ac_t""no" 1>&6
9204 LIBS="$ac_save_LIBS"
9206 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9207 echo "configure:9208: checking for XPG2 wchar_t support" >&5
9208 if test x"$ac_has_iconv_h" = xyes &&
9209 test x"$ac_has_langinfo_h" = xyes &&
9210 test x"$ac_XPG2funcs" = xyes; then
9215 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9217 if test x"$ac_isoC99_wchar_t" = xyes &&
9218 test x"$ac_XPG2_wchar_t" = xyes; then
9219 cat >> confdefs.h <<\EOF
9220 #define _GLIBCPP_USE_WCHAR_T 1
9226 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9227 echo "configure:9228: checking for enabled wchar_t specializations" >&5
9228 echo "$ac_t""$enable_wchar_t" 1>&6
9230 cat >> confdefs.h <<\EOF
9231 #define HAVE_COPYSIGN 1
9234 cat >> confdefs.h <<\EOF
9235 #define HAVE_COPYSIGNF 1
9238 cat >> confdefs.h <<\EOF
9239 #define HAVE_FINITEF 1
9242 cat >> confdefs.h <<\EOF
9243 #define HAVE_FINITE 1
9246 cat >> confdefs.h <<\EOF
9247 #define HAVE_FREXPF 1
9250 cat >> confdefs.h <<\EOF
9251 #define HAVE_HYPOTF 1
9254 cat >> confdefs.h <<\EOF
9255 #define HAVE_ISINF 1
9258 cat >> confdefs.h <<\EOF
9259 #define HAVE_ISINFF 1
9262 cat >> confdefs.h <<\EOF
9263 #define HAVE_ISNAN 1
9266 cat >> confdefs.h <<\EOF
9267 #define HAVE_ISNANF 1
9270 if test x"long_double_math_on_this_cpu" = x"yes"; then
9271 cat >> confdefs.h <<\EOF
9272 #define HAVE_FINITEL 1
9275 cat >> confdefs.h <<\EOF
9276 #define HAVE_ISINFL 1
9279 cat >> confdefs.h <<\EOF
9280 #define HAVE_ISNANL 1
9285 *-qnx6.1* | *-qnx6.2*)
9286 os_include_dir="os/qnx/qnx6.1"
9287 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9290 # If we're not using GNU ld, then there's no point in even trying these
9291 # tests. Check for that first. We should have already tested for gld
9292 # by now (in libtool), but require it now just to be safe...
9293 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9294 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9297 # The name set by libtool depends on the version of libtool. Shame on us
9298 # for depending on an impl detail, but c'est la vie. Older versions used
9299 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9300 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9301 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9302 # set (hence we're using an older libtool), then set it.
9303 if test x${with_gnu_ld+set} != xset; then
9304 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9305 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9308 with_gnu_ld=$ac_cv_prog_gnu_ld
9312 # Start by getting the version number. I think the libtool test already
9313 # does some of this, but throws away the result.
9315 ldver=`$LD --version 2>/dev/null | head -1 | \
9316 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9318 glibcpp_gnu_ld_version=`echo $ldver | \
9319 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9321 # Set --gc-sections.
9322 if test "$with_gnu_ld" = "notbroken"; then
9323 # GNU ld it is! Joy and bunny rabbits!
9325 # All these tests are for C++; save the language and the compiler flags.
9326 # Need to do this so that g++ won't try to link in libstdc++
9327 ac_test_CFLAGS="${CFLAGS+set}"
9328 ac_save_CFLAGS="$CFLAGS"
9329 CFLAGS='-x c++ -Wl,--gc-sections'
9331 # Check for -Wl,--gc-sections
9332 # XXX This test is broken at the moment, as symbols required for
9333 # linking are now in libsupc++ (not built yet.....). In addition,
9334 # this test has cored on solaris in the past. In addition,
9335 # --gc-sections doesn't really work at the moment (keeps on discarding
9336 # used sections, first .eh_frame and now some of the glibc sections for
9337 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9338 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9339 echo "configure:9340: checking for ld that supports -Wl,--gc-sections" >&5
9340 if test "$cross_compiling" = yes; then
9341 ac_sectionLDflags=yes
9343 cat > conftest.$ac_ext <<EOF
9344 #line 9345 "configure"
9345 #include "confdefs.h"
9355 if { (eval echo configure:9356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9357 ac_sectionLDflags=yes
9359 echo "configure: failed program was:" >&5
9360 cat conftest.$ac_ext >&5
9362 ac_sectionLDflags=no
9367 if test "$ac_test_CFLAGS" = set; then
9368 CFLAGS="$ac_save_CFLAGS"
9370 # this is the suspicious part
9373 if test "$ac_sectionLDflags" = "yes"; then
9374 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9376 echo "$ac_t""$ac_sectionLDflags" 1>&6
9379 # Set linker optimization flags.
9380 if test x"$with_gnu_ld" = x"yes"; then
9381 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9388 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9389 echo "configure:9390: checking for main in -lm" >&5
9390 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9391 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9392 echo $ac_n "(cached) $ac_c" 1>&6
9394 ac_save_LIBS="$LIBS"
9396 cat > conftest.$ac_ext <<EOF
9397 #line 9398 "configure"
9398 #include "confdefs.h"
9404 if { (eval echo configure:9405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9406 eval "ac_cv_lib_$ac_lib_var=yes"
9408 echo "configure: failed program was:" >&5
9409 cat conftest.$ac_ext >&5
9411 eval "ac_cv_lib_$ac_lib_var=no"
9414 LIBS="$ac_save_LIBS"
9417 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9418 echo "$ac_t""yes" 1>&6
9419 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9420 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9421 cat >> confdefs.h <<EOF
9422 #define $ac_tr_lib 1
9428 echo "$ac_t""no" 1>&6
9431 for ac_func in nan copysignf
9433 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9434 echo "configure:9435: checking for $ac_func" >&5
9435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9436 echo $ac_n "(cached) $ac_c" 1>&6
9438 cat > conftest.$ac_ext <<EOF
9439 #line 9440 "configure"
9440 #include "confdefs.h"
9441 /* System header to define __stub macros and hopefully few prototypes,
9442 which can conflict with char $ac_func(); below. */
9444 /* Override any gcc2 internal prototype to avoid an error. */
9445 /* We use char because int might match the return type of a gcc2
9446 builtin and then its argument prototype would still apply. */
9451 /* The GNU C library defines this for functions which it implements
9452 to always fail with ENOSYS. Some functions are actually named
9453 something starting with __ and the normal name is an alias. */
9454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9462 if { (eval echo configure:9463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9464 eval "ac_cv_func_$ac_func=yes"
9466 echo "configure: failed program was:" >&5
9467 cat conftest.$ac_ext >&5
9469 eval "ac_cv_func_$ac_func=no"
9474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9475 echo "$ac_t""yes" 1>&6
9476 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9477 cat >> confdefs.h <<EOF
9478 #define $ac_tr_func 1
9482 echo "$ac_t""no" 1>&6
9483 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9488 for ac_func in __signbit
9490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9491 echo "configure:9492: checking for $ac_func" >&5
9492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9493 echo $ac_n "(cached) $ac_c" 1>&6
9495 cat > conftest.$ac_ext <<EOF
9496 #line 9497 "configure"
9497 #include "confdefs.h"
9498 /* System header to define __stub macros and hopefully few prototypes,
9499 which can conflict with char $ac_func(); below. */
9501 /* Override any gcc2 internal prototype to avoid an error. */
9502 /* We use char because int might match the return type of a gcc2
9503 builtin and then its argument prototype would still apply. */
9508 /* The GNU C library defines this for functions which it implements
9509 to always fail with ENOSYS. Some functions are actually named
9510 something starting with __ and the normal name is an alias. */
9511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9519 if { (eval echo configure:9520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9521 eval "ac_cv_func_$ac_func=yes"
9523 echo "configure: failed program was:" >&5
9524 cat conftest.$ac_ext >&5
9526 eval "ac_cv_func_$ac_func=no"
9531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9532 echo "$ac_t""yes" 1>&6
9533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9534 cat >> confdefs.h <<EOF
9535 #define $ac_tr_func 1
9539 echo "$ac_t""no" 1>&6
9540 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9544 for ac_func in __signbitf
9546 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9547 echo "configure:9548: checking for $ac_func" >&5
9548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9549 echo $ac_n "(cached) $ac_c" 1>&6
9551 cat > conftest.$ac_ext <<EOF
9552 #line 9553 "configure"
9553 #include "confdefs.h"
9554 /* System header to define __stub macros and hopefully few prototypes,
9555 which can conflict with char $ac_func(); below. */
9557 /* Override any gcc2 internal prototype to avoid an error. */
9558 /* We use char because int might match the return type of a gcc2
9559 builtin and then its argument prototype would still apply. */
9564 /* The GNU C library defines this for functions which it implements
9565 to always fail with ENOSYS. Some functions are actually named
9566 something starting with __ and the normal name is an alias. */
9567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9575 if { (eval echo configure:9576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9577 eval "ac_cv_func_$ac_func=yes"
9579 echo "configure: failed program was:" >&5
9580 cat conftest.$ac_ext >&5
9582 eval "ac_cv_func_$ac_func=no"
9587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9588 echo "$ac_t""yes" 1>&6
9589 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9590 cat >> confdefs.h <<EOF
9591 #define $ac_tr_func 1
9595 echo "$ac_t""no" 1>&6
9596 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9601 if test x$ac_cv_func_copysignl = x"yes"; then
9602 for ac_func in __signbitl
9604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9605 echo "configure:9606: checking for $ac_func" >&5
9606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9607 echo $ac_n "(cached) $ac_c" 1>&6
9609 cat > conftest.$ac_ext <<EOF
9610 #line 9611 "configure"
9611 #include "confdefs.h"
9612 /* System header to define __stub macros and hopefully few prototypes,
9613 which can conflict with char $ac_func(); below. */
9615 /* Override any gcc2 internal prototype to avoid an error. */
9616 /* We use char because int might match the return type of a gcc2
9617 builtin and then its argument prototype would still apply. */
9622 /* The GNU C library defines this for functions which it implements
9623 to always fail with ENOSYS. Some functions are actually named
9624 something starting with __ and the normal name is an alias. */
9625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9633 if { (eval echo configure:9634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9635 eval "ac_cv_func_$ac_func=yes"
9637 echo "configure: failed program was:" >&5
9638 cat conftest.$ac_ext >&5
9640 eval "ac_cv_func_$ac_func=no"
9645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9646 echo "$ac_t""yes" 1>&6
9647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9648 cat >> confdefs.h <<EOF
9649 #define $ac_tr_func 1
9653 echo "$ac_t""no" 1>&6
9654 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9660 if test -n "$LIBMATHOBJS"; then
9667 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9668 echo "configure:9669: checking for mbstate_t" >&5
9669 cat > conftest.$ac_ext <<EOF
9670 #line 9671 "configure"
9671 #include "confdefs.h"
9674 mbstate_t teststate;
9677 if { (eval echo configure:9678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9681 echo "configure: failed program was:" >&5
9682 cat conftest.$ac_ext >&5
9687 echo "$ac_t""$have_mbstate_t" 1>&6
9688 if test x"$have_mbstate_t" = xyes; then
9689 cat >> confdefs.h <<\EOF
9690 #define HAVE_MBSTATE_T 1
9695 for ac_hdr in wchar.h
9697 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9698 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9699 echo "configure:9700: checking for $ac_hdr" >&5
9700 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9701 echo $ac_n "(cached) $ac_c" 1>&6
9703 cat > conftest.$ac_ext <<EOF
9704 #line 9705 "configure"
9705 #include "confdefs.h"
9708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9709 { (eval echo configure:9710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9711 if test -z "$ac_err"; then
9713 eval "ac_cv_header_$ac_safe=yes"
9716 echo "configure: failed program was:" >&5
9717 cat conftest.$ac_ext >&5
9719 eval "ac_cv_header_$ac_safe=no"
9723 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9724 echo "$ac_t""yes" 1>&6
9725 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9726 cat >> confdefs.h <<EOF
9727 #define $ac_tr_hdr 1
9731 echo "$ac_t""no" 1>&6
9736 for ac_hdr in wctype.h
9738 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9739 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9740 echo "configure:9741: checking for $ac_hdr" >&5
9741 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9742 echo $ac_n "(cached) $ac_c" 1>&6
9744 cat > conftest.$ac_ext <<EOF
9745 #line 9746 "configure"
9746 #include "confdefs.h"
9749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9750 { (eval echo configure:9751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9752 if test -z "$ac_err"; then
9754 eval "ac_cv_header_$ac_safe=yes"
9757 echo "configure: failed program was:" >&5
9758 cat conftest.$ac_ext >&5
9760 eval "ac_cv_header_$ac_safe=no"
9764 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9765 echo "$ac_t""yes" 1>&6
9766 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9767 cat >> confdefs.h <<EOF
9768 #define $ac_tr_hdr 1
9772 echo "$ac_t""no" 1>&6
9778 if test x"$ac_has_wchar_h" = xyes &&
9779 test x"$ac_has_wctype_h" = xyes &&
9780 test x"$enable_c_mbchar" != xno; then
9782 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9783 echo "configure:9784: checking for WCHAR_MIN and WCHAR_MAX" >&5
9784 cat > conftest.$ac_ext <<EOF
9785 #line 9786 "configure"
9786 #include "confdefs.h"
9789 int i = WCHAR_MIN; int j = WCHAR_MAX;
9792 if { (eval echo configure:9793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9794 has_wchar_minmax=yes
9796 echo "configure: failed program was:" >&5
9797 cat conftest.$ac_ext >&5
9802 echo "$ac_t""$has_wchar_minmax" 1>&6
9804 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9805 echo "configure:9806: checking for WEOF" >&5
9806 cat > conftest.$ac_ext <<EOF
9807 #line 9808 "configure"
9808 #include "confdefs.h"
9816 if { (eval echo configure:9817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9820 echo "configure: failed program was:" >&5
9821 cat conftest.$ac_ext >&5
9826 echo "$ac_t""$has_weof" 1>&6
9829 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9832 echo "configure:9833: checking for $ac_func" >&5
9833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9834 echo $ac_n "(cached) $ac_c" 1>&6
9836 cat > conftest.$ac_ext <<EOF
9837 #line 9838 "configure"
9838 #include "confdefs.h"
9839 /* System header to define __stub macros and hopefully few prototypes,
9840 which can conflict with char $ac_func(); below. */
9842 /* Override any gcc2 internal prototype to avoid an error. */
9843 /* We use char because int might match the return type of a gcc2
9844 builtin and then its argument prototype would still apply. */
9849 /* The GNU C library defines this for functions which it implements
9850 to always fail with ENOSYS. Some functions are actually named
9851 something starting with __ and the normal name is an alias. */
9852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9860 if { (eval echo configure:9861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9862 eval "ac_cv_func_$ac_func=yes"
9864 echo "configure: failed program was:" >&5
9865 cat conftest.$ac_ext >&5
9867 eval "ac_cv_func_$ac_func=no"
9872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9873 echo "$ac_t""yes" 1>&6
9874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9875 cat >> confdefs.h <<EOF
9876 #define $ac_tr_func 1
9880 echo "$ac_t""no" 1>&6
9887 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9888 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9889 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9890 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9891 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9892 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9895 echo "configure:9896: checking for $ac_func" >&5
9896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9897 echo $ac_n "(cached) $ac_c" 1>&6
9899 cat > conftest.$ac_ext <<EOF
9900 #line 9901 "configure"
9901 #include "confdefs.h"
9902 /* System header to define __stub macros and hopefully few prototypes,
9903 which can conflict with char $ac_func(); below. */
9905 /* Override any gcc2 internal prototype to avoid an error. */
9906 /* We use char because int might match the return type of a gcc2
9907 builtin and then its argument prototype would still apply. */
9912 /* The GNU C library defines this for functions which it implements
9913 to always fail with ENOSYS. Some functions are actually named
9914 something starting with __ and the normal name is an alias. */
9915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9923 if { (eval echo configure:9924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9925 eval "ac_cv_func_$ac_func=yes"
9927 echo "configure: failed program was:" >&5
9928 cat conftest.$ac_ext >&5
9930 eval "ac_cv_func_$ac_func=no"
9935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9936 echo "$ac_t""yes" 1>&6
9937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9938 cat >> confdefs.h <<EOF
9939 #define $ac_tr_func 1
9943 echo "$ac_t""no" 1>&6
9950 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9951 echo "configure:9952: checking for ISO C99 wchar_t support" >&5
9952 if test x"$has_weof" = xyes &&
9953 test x"$has_wchar_minmax" = xyes &&
9954 test x"$ac_wfuncs" = xyes; then
9955 ac_isoC99_wchar_t=yes
9957 ac_isoC99_wchar_t=no
9959 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9961 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9962 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9963 echo "configure:9964: checking for iconv.h" >&5
9964 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9965 echo $ac_n "(cached) $ac_c" 1>&6
9967 cat > conftest.$ac_ext <<EOF
9968 #line 9969 "configure"
9969 #include "confdefs.h"
9972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9973 { (eval echo configure:9974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9975 if test -z "$ac_err"; then
9977 eval "ac_cv_header_$ac_safe=yes"
9980 echo "configure: failed program was:" >&5
9981 cat conftest.$ac_ext >&5
9983 eval "ac_cv_header_$ac_safe=no"
9987 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9988 echo "$ac_t""yes" 1>&6
9991 echo "$ac_t""no" 1>&6
9995 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9996 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9997 echo "configure:9998: checking for langinfo.h" >&5
9998 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9999 echo $ac_n "(cached) $ac_c" 1>&6
10001 cat > conftest.$ac_ext <<EOF
10002 #line 10003 "configure"
10003 #include "confdefs.h"
10004 #include <langinfo.h>
10006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10007 { (eval echo configure:10008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10009 if test -z "$ac_err"; then
10011 eval "ac_cv_header_$ac_safe=yes"
10014 echo "configure: failed program was:" >&5
10015 cat conftest.$ac_ext >&5
10017 eval "ac_cv_header_$ac_safe=no"
10021 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10022 echo "$ac_t""yes" 1>&6
10023 ac_has_langinfo_h=yes
10025 echo "$ac_t""no" 1>&6
10026 ac_has_langinfo_h=no
10030 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
10031 echo "configure:10032: checking for iconv in -liconv" >&5
10032 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
10033 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10034 echo $ac_n "(cached) $ac_c" 1>&6
10036 ac_save_LIBS="$LIBS"
10037 LIBS="-liconv $LIBS"
10038 cat > conftest.$ac_ext <<EOF
10039 #line 10040 "configure"
10040 #include "confdefs.h"
10041 /* Override any gcc2 internal prototype to avoid an error. */
10042 /* We use char because int might match the return type of a gcc2
10043 builtin and then its argument prototype would still apply. */
10050 if { (eval echo configure:10051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10052 eval "ac_cv_lib_$ac_lib_var=yes"
10054 echo "configure: failed program was:" >&5
10055 cat conftest.$ac_ext >&5
10057 eval "ac_cv_lib_$ac_lib_var=no"
10060 LIBS="$ac_save_LIBS"
10063 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10064 echo "$ac_t""yes" 1>&6
10067 echo "$ac_t""no" 1>&6
10070 ac_save_LIBS="$LIBS"
10071 LIBS="$LIBS $libiconv"
10073 for ac_func in iconv_open iconv_close iconv nl_langinfo
10075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10076 echo "configure:10077: checking for $ac_func" >&5
10077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10078 echo $ac_n "(cached) $ac_c" 1>&6
10080 cat > conftest.$ac_ext <<EOF
10081 #line 10082 "configure"
10082 #include "confdefs.h"
10083 /* System header to define __stub macros and hopefully few prototypes,
10084 which can conflict with char $ac_func(); below. */
10085 #include <assert.h>
10086 /* Override any gcc2 internal prototype to avoid an error. */
10087 /* We use char because int might match the return type of a gcc2
10088 builtin and then its argument prototype would still apply. */
10093 /* The GNU C library defines this for functions which it implements
10094 to always fail with ENOSYS. Some functions are actually named
10095 something starting with __ and the normal name is an alias. */
10096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10104 if { (eval echo configure:10105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10106 eval "ac_cv_func_$ac_func=yes"
10108 echo "configure: failed program was:" >&5
10109 cat conftest.$ac_ext >&5
10111 eval "ac_cv_func_$ac_func=no"
10116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10117 echo "$ac_t""yes" 1>&6
10118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10119 cat >> confdefs.h <<EOF
10120 #define $ac_tr_func 1
10125 echo "$ac_t""no" 1>&6
10131 LIBS="$ac_save_LIBS"
10133 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
10134 echo "configure:10135: checking for XPG2 wchar_t support" >&5
10135 if test x"$ac_has_iconv_h" = xyes &&
10136 test x"$ac_has_langinfo_h" = xyes &&
10137 test x"$ac_XPG2funcs" = xyes; then
10138 ac_XPG2_wchar_t=yes
10142 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10144 if test x"$ac_isoC99_wchar_t" = xyes &&
10145 test x"$ac_XPG2_wchar_t" = xyes; then
10146 cat >> confdefs.h <<\EOF
10147 #define _GLIBCPP_USE_WCHAR_T 1
10153 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
10154 echo "configure:10155: checking for enabled wchar_t specializations" >&5
10155 echo "$ac_t""$enable_wchar_t" 1>&6
10157 cat >> confdefs.h <<\EOF
10158 #define HAVE_COSF 1
10161 cat >> confdefs.h <<\EOF
10162 #define HAVE_COSL 1
10165 cat >> confdefs.h <<\EOF
10166 #define HAVE_COSHF 1
10169 cat >> confdefs.h <<\EOF
10170 #define HAVE_COSHL 1
10173 cat >> confdefs.h <<\EOF
10174 #define HAVE_LOGF 1
10177 cat >> confdefs.h <<\EOF
10178 #define HAVE_LOGL 1
10181 cat >> confdefs.h <<\EOF
10182 #define HAVE_LOG10F 1
10185 cat >> confdefs.h <<\EOF
10186 #define HAVE_LOG10L 1
10189 cat >> confdefs.h <<\EOF
10190 #define HAVE_SINF 1
10193 cat >> confdefs.h <<\EOF
10194 #define HAVE_SINL 1
10197 cat >> confdefs.h <<\EOF
10198 #define HAVE_SINHF 1
10201 cat >> confdefs.h <<\EOF
10202 #define HAVE_SINHL 1
10209 os_include_dir="os/solaris/solaris2.5"
10212 os_include_dir="os/solaris/solaris2.6"
10214 *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
10215 os_include_dir="os/solaris/solaris2.7"
10218 cat >> confdefs.h <<\EOF
10219 #define HAVE_STRTOF 1
10222 cat >> confdefs.h <<\EOF
10223 #define HAVE_STRTOLD 1
10226 cat >> confdefs.h <<\EOF
10227 #define HAVE_MMAP 1
10230 cat >> confdefs.h <<\EOF
10231 #define HAVE_COPYSIGN 1
10234 cat >> confdefs.h <<\EOF
10235 #define HAVE_ISNAN 1
10238 cat >> confdefs.h <<\EOF
10239 #define HAVE_ISNANF 1
10242 cat >> confdefs.h <<\EOF
10243 #define HAVE_MODFF 1
10246 cat >> confdefs.h <<\EOF
10247 #define HAVE_HYPOT 1
10252 os_include_dir="os/windiss"
10253 cat >> confdefs.h <<\EOF
10254 #define HAVE_ACOSF 1
10257 cat >> confdefs.h <<\EOF
10258 #define HAVE_ASINF 1
10261 cat >> confdefs.h <<\EOF
10262 #define HAVE_ATAN2F 1
10265 cat >> confdefs.h <<\EOF
10266 #define HAVE_ATANF 1
10269 cat >> confdefs.h <<\EOF
10270 #define HAVE_CEILF 1
10273 cat >> confdefs.h <<\EOF
10274 #define HAVE_COPYSIGN 1
10277 cat >> confdefs.h <<\EOF
10278 #define HAVE_COPYSIGNF 1
10281 cat >> confdefs.h <<\EOF
10282 #define HAVE_COSF 1
10285 cat >> confdefs.h <<\EOF
10286 #define HAVE_COSHF 1
10289 cat >> confdefs.h <<\EOF
10290 #define HAVE_EXPF 1
10293 cat >> confdefs.h <<\EOF
10294 #define HAVE_FABSF 1
10297 cat >> confdefs.h <<\EOF
10298 #define HAVE_FLOORF 1
10301 cat >> confdefs.h <<\EOF
10302 #define HAVE_FMODF 1
10305 cat >> confdefs.h <<\EOF
10306 #define HAVE_FREXPF 1
10309 cat >> confdefs.h <<\EOF
10310 #define HAVE_LDEXPF 1
10313 cat >> confdefs.h <<\EOF
10314 #define HAVE_LOG10F 1
10317 cat >> confdefs.h <<\EOF
10318 #define HAVE_LOGF 1
10321 cat >> confdefs.h <<\EOF
10322 #define HAVE_MODFF 1
10325 cat >> confdefs.h <<\EOF
10326 #define HAVE_POWF 1
10329 cat >> confdefs.h <<\EOF
10330 #define HAVE_SINF 1
10333 cat >> confdefs.h <<\EOF
10334 #define HAVE_SINHF 1
10337 cat >> confdefs.h <<\EOF
10338 #define HAVE_SQRTF 1
10341 cat >> confdefs.h <<\EOF
10342 #define HAVE_TANF 1
10345 cat >> confdefs.h <<\EOF
10346 #define HAVE_TANHF 1
10351 if test "x${with_newlib}" = "xyes"; then
10352 os_include_dir="os/newlib"
10353 cat >> confdefs.h <<\EOF
10354 #define HAVE_HYPOT 1
10358 # GLIBCPP_CHECK_STDLIB_SUPPORT
10359 cat >> confdefs.h <<\EOF
10360 #define HAVE_STRTOF 1
10363 cat >> confdefs.h <<\EOF
10364 #define HAVE_STRTOLD 1
10368 cat >> confdefs.h <<\EOF
10369 #define HAVE_MMAP 1
10373 cat >> confdefs.h <<\EOF
10374 #define HAVE_ACOSF 1
10377 cat >> confdefs.h <<\EOF
10378 #define HAVE_ASINF 1
10381 cat >> confdefs.h <<\EOF
10382 #define HAVE_ATAN2F 1
10385 cat >> confdefs.h <<\EOF
10386 #define HAVE_ATANF 1
10389 cat >> confdefs.h <<\EOF
10390 #define HAVE_CEILF 1
10393 cat >> confdefs.h <<\EOF
10394 #define HAVE_COPYSIGN 1
10397 cat >> confdefs.h <<\EOF
10398 #define HAVE_COPYSIGNF 1
10401 cat >> confdefs.h <<\EOF
10402 #define HAVE_COSF 1
10405 cat >> confdefs.h <<\EOF
10406 #define HAVE_COSHF 1
10409 cat >> confdefs.h <<\EOF
10410 #define HAVE_EXPF 1
10413 cat >> confdefs.h <<\EOF
10414 #define HAVE_FABSF 1
10417 cat >> confdefs.h <<\EOF
10418 #define HAVE_FLOORF 1
10421 cat >> confdefs.h <<\EOF
10422 #define HAVE_FMODF 1
10425 cat >> confdefs.h <<\EOF
10426 #define HAVE_FREXPF 1
10429 cat >> confdefs.h <<\EOF
10430 #define HAVE_LDEXPF 1
10433 cat >> confdefs.h <<\EOF
10434 #define HAVE_LOG10F 1
10437 cat >> confdefs.h <<\EOF
10438 #define HAVE_LOGF 1
10441 cat >> confdefs.h <<\EOF
10442 #define HAVE_MODFF 1
10445 cat >> confdefs.h <<\EOF
10446 #define HAVE_POWF 1
10449 cat >> confdefs.h <<\EOF
10450 #define HAVE_SINF 1
10453 cat >> confdefs.h <<\EOF
10454 #define HAVE_SINHF 1
10457 cat >> confdefs.h <<\EOF
10458 #define HAVE_SQRTF 1
10461 cat >> confdefs.h <<\EOF
10462 #define HAVE_TANF 1
10465 cat >> confdefs.h <<\EOF
10466 #define HAVE_TANHF 1
10470 { echo "configure: error: No support for this host/target combination." 1>&2; exit 1; }
10475 # At some point, we should differentiate between architectures
10476 # like x86, which have long double versions, and alpha/powerpc/etc.,
10477 # which don't. For the time being, punt.
10478 if test x"long_double_math_on_this_cpu" = x"yes"; then
10479 cat >> confdefs.h <<\EOF
10480 #define HAVE_ACOSL 1
10483 cat >> confdefs.h <<\EOF
10484 #define HAVE_ASINL 1
10487 cat >> confdefs.h <<\EOF
10488 #define HAVE_ATAN2L 1
10491 cat >> confdefs.h <<\EOF
10492 #define HAVE_ATANL 1
10495 cat >> confdefs.h <<\EOF
10496 #define HAVE_CEILL 1
10499 cat >> confdefs.h <<\EOF
10500 #define HAVE_COPYSIGNL 1
10503 cat >> confdefs.h <<\EOF
10504 #define HAVE_COSL 1
10507 cat >> confdefs.h <<\EOF
10508 #define HAVE_COSHL 1
10511 cat >> confdefs.h <<\EOF
10512 #define HAVE_EXPL 1
10515 cat >> confdefs.h <<\EOF
10516 #define HAVE_FABSL 1
10519 cat >> confdefs.h <<\EOF
10520 #define HAVE_FLOORL 1
10523 cat >> confdefs.h <<\EOF
10524 #define HAVE_FMODL 1
10527 cat >> confdefs.h <<\EOF
10528 #define HAVE_FREXPL 1
10531 cat >> confdefs.h <<\EOF
10532 #define HAVE_LDEXPL 1
10535 cat >> confdefs.h <<\EOF
10536 #define HAVE_LOG10L 1
10539 cat >> confdefs.h <<\EOF
10540 #define HAVE_LOGL 1
10543 cat >> confdefs.h <<\EOF
10544 #define HAVE_MODFL 1
10547 cat >> confdefs.h <<\EOF
10548 #define HAVE_POWL 1
10551 cat >> confdefs.h <<\EOF
10552 #define HAVE_SINCOSL 1
10555 cat >> confdefs.h <<\EOF
10556 #define HAVE_SINL 1
10559 cat >> confdefs.h <<\EOF
10560 #define HAVE_SINHL 1
10563 cat >> confdefs.h <<\EOF
10564 #define HAVE_SQRTL 1
10567 cat >> confdefs.h <<\EOF
10568 #define HAVE_TANL 1
10571 cat >> confdefs.h <<\EOF
10572 #define HAVE_TANHL 1
10579 # We are being configured natively. We can do more elaborate tests
10580 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10582 GLIBCPP_IS_CROSS_COMPILING=false
10585 # Check for available headers.
10586 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10587 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10590 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10592 echo "configure:10593: checking for $ac_hdr" >&5
10593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10594 echo $ac_n "(cached) $ac_c" 1>&6
10596 cat > conftest.$ac_ext <<EOF
10597 #line 10598 "configure"
10598 #include "confdefs.h"
10601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10602 { (eval echo configure:10603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10604 if test -z "$ac_err"; then
10606 eval "ac_cv_header_$ac_safe=yes"
10609 echo "configure: failed program was:" >&5
10610 cat conftest.$ac_ext >&5
10612 eval "ac_cv_header_$ac_safe=no"
10616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10617 echo "$ac_t""yes" 1>&6
10618 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10619 cat >> confdefs.h <<EOF
10620 #define $ac_tr_hdr 1
10624 echo "$ac_t""no" 1>&6
10630 # All these tests are for C++; save the language and the compiler flags.
10631 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10632 # found in GLIBCPP_CONFIGURE.
10635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10636 ac_cpp='$CXXCPP $CPPFLAGS'
10637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10639 cross_compiling=$ac_cv_prog_cxx_cross
10641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10642 ac_save_CXXFLAGS="$CXXFLAGS"
10644 # Check for maintainer-mode bits.
10645 if test x"$USE_MAINTAINER_MODE" = xno; then
10651 # Check for -ffunction-sections -fdata-sections
10652 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10653 echo "configure:10654: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10654 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10655 cat > conftest.$ac_ext <<EOF
10656 #line 10657 "configure"
10657 #include "confdefs.h"
10664 if { (eval echo configure:10665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10668 echo "configure: failed program was:" >&5
10669 cat conftest.$ac_ext >&5
10674 if test "$ac_test_CXXFLAGS" = set; then
10675 CXXFLAGS="$ac_save_CXXFLAGS"
10677 # this is the suspicious part
10680 if test x"$ac_fdsections" = x"yes"; then
10681 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10683 echo "$ac_t""$ac_fdsections" 1>&6
10686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10687 ac_cpp='$CPP $CPPFLAGS'
10688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10690 cross_compiling=$ac_cv_prog_cc_cross
10696 # If we're not using GNU ld, then there's no point in even trying these
10697 # tests. Check for that first. We should have already tested for gld
10698 # by now (in libtool), but require it now just to be safe...
10699 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10700 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10703 # The name set by libtool depends on the version of libtool. Shame on us
10704 # for depending on an impl detail, but c'est la vie. Older versions used
10705 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10706 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10707 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10708 # set (hence we're using an older libtool), then set it.
10709 if test x${with_gnu_ld+set} != xset; then
10710 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10711 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10714 with_gnu_ld=$ac_cv_prog_gnu_ld
10718 # Start by getting the version number. I think the libtool test already
10719 # does some of this, but throws away the result.
10721 ldver=`$LD --version 2>/dev/null | head -1 | \
10722 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10724 glibcpp_gnu_ld_version=`echo $ldver | \
10725 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10727 # Set --gc-sections.
10728 if test "$with_gnu_ld" = "notbroken"; then
10729 # GNU ld it is! Joy and bunny rabbits!
10731 # All these tests are for C++; save the language and the compiler flags.
10732 # Need to do this so that g++ won't try to link in libstdc++
10733 ac_test_CFLAGS="${CFLAGS+set}"
10734 ac_save_CFLAGS="$CFLAGS"
10735 CFLAGS='-x c++ -Wl,--gc-sections'
10737 # Check for -Wl,--gc-sections
10738 # XXX This test is broken at the moment, as symbols required for
10739 # linking are now in libsupc++ (not built yet.....). In addition,
10740 # this test has cored on solaris in the past. In addition,
10741 # --gc-sections doesn't really work at the moment (keeps on discarding
10742 # used sections, first .eh_frame and now some of the glibc sections for
10743 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10744 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10745 echo "configure:10746: checking for ld that supports -Wl,--gc-sections" >&5
10746 if test "$cross_compiling" = yes; then
10747 ac_sectionLDflags=yes
10749 cat > conftest.$ac_ext <<EOF
10750 #line 10751 "configure"
10751 #include "confdefs.h"
10761 if { (eval echo configure:10762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10763 ac_sectionLDflags=yes
10765 echo "configure: failed program was:" >&5
10766 cat conftest.$ac_ext >&5
10768 ac_sectionLDflags=no
10773 if test "$ac_test_CFLAGS" = set; then
10774 CFLAGS="$ac_save_CFLAGS"
10776 # this is the suspicious part
10779 if test "$ac_sectionLDflags" = "yes"; then
10780 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10782 echo "$ac_t""$ac_sectionLDflags" 1>&6
10785 # Set linker optimization flags.
10786 if test x"$with_gnu_ld" = x"yes"; then
10787 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10794 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10795 ac_save_CXXFLAGS="$CXXFLAGS"
10796 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10798 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10799 echo "configure:10800: checking for sin in -lm" >&5
10800 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10801 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10802 echo $ac_n "(cached) $ac_c" 1>&6
10804 ac_save_LIBS="$LIBS"
10806 cat > conftest.$ac_ext <<EOF
10807 #line 10808 "configure"
10808 #include "confdefs.h"
10809 /* Override any gcc2 internal prototype to avoid an error. */
10810 /* We use char because int might match the return type of a gcc2
10811 builtin and then its argument prototype would still apply. */
10818 if { (eval echo configure:10819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10820 eval "ac_cv_lib_$ac_lib_var=yes"
10822 echo "configure: failed program was:" >&5
10823 cat conftest.$ac_ext >&5
10825 eval "ac_cv_lib_$ac_lib_var=no"
10828 LIBS="$ac_save_LIBS"
10831 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10832 echo "$ac_t""yes" 1>&6
10835 echo "$ac_t""no" 1>&6
10838 ac_save_LIBS="$LIBS"
10843 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10844 echo "configure:10845: checking for isinf declaration" >&5
10845 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10846 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10847 echo $ac_n "(cached) $ac_c" 1>&6
10852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10853 ac_cpp='$CXXCPP $CPPFLAGS'
10854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10856 cross_compiling=$ac_cv_prog_cxx_cross
10858 cat > conftest.$ac_ext <<EOF
10859 #line 10860 "configure"
10860 #include "confdefs.h"
10862 #ifdef HAVE_IEEEFP_H
10863 #include <ieeefp.h>
10870 if { (eval echo configure:10871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10872 glibcpp_cv_func_isinf_use=yes
10874 echo "configure: failed program was:" >&5
10875 cat conftest.$ac_ext >&5
10877 glibcpp_cv_func_isinf_use=no
10881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10882 ac_cpp='$CPP $CPPFLAGS'
10883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10885 cross_compiling=$ac_cv_prog_cc_cross
10891 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10893 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10894 for ac_func in isinf
10896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10897 echo "configure:10898: checking for $ac_func" >&5
10898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10899 echo $ac_n "(cached) $ac_c" 1>&6
10901 cat > conftest.$ac_ext <<EOF
10902 #line 10903 "configure"
10903 #include "confdefs.h"
10904 /* System header to define __stub macros and hopefully few prototypes,
10905 which can conflict with char $ac_func(); below. */
10906 #include <assert.h>
10907 /* Override any gcc2 internal prototype to avoid an error. */
10908 /* We use char because int might match the return type of a gcc2
10909 builtin and then its argument prototype would still apply. */
10914 /* The GNU C library defines this for functions which it implements
10915 to always fail with ENOSYS. Some functions are actually named
10916 something starting with __ and the normal name is an alias. */
10917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10925 if { (eval echo configure:10926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10927 eval "ac_cv_func_$ac_func=yes"
10929 echo "configure: failed program was:" >&5
10930 cat conftest.$ac_ext >&5
10932 eval "ac_cv_func_$ac_func=no"
10937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10938 echo "$ac_t""yes" 1>&6
10939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10940 cat >> confdefs.h <<EOF
10941 #define $ac_tr_func 1
10945 echo "$ac_t""no" 1>&6
10951 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10952 echo "configure:10953: checking for _isinf declaration" >&5
10953 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10954 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10955 echo $ac_n "(cached) $ac_c" 1>&6
10960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10961 ac_cpp='$CXXCPP $CPPFLAGS'
10962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10964 cross_compiling=$ac_cv_prog_cxx_cross
10966 cat > conftest.$ac_ext <<EOF
10967 #line 10968 "configure"
10968 #include "confdefs.h"
10970 #ifdef HAVE_IEEEFP_H
10971 #include <ieeefp.h>
10978 if { (eval echo configure:10979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10980 glibcpp_cv_func__isinf_use=yes
10982 echo "configure: failed program was:" >&5
10983 cat conftest.$ac_ext >&5
10985 glibcpp_cv_func__isinf_use=no
10989 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10990 ac_cpp='$CPP $CPPFLAGS'
10991 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10992 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10993 cross_compiling=$ac_cv_prog_cc_cross
10999 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11001 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11002 for ac_func in _isinf
11004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11005 echo "configure:11006: checking for $ac_func" >&5
11006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11007 echo $ac_n "(cached) $ac_c" 1>&6
11009 cat > conftest.$ac_ext <<EOF
11010 #line 11011 "configure"
11011 #include "confdefs.h"
11012 /* System header to define __stub macros and hopefully few prototypes,
11013 which can conflict with char $ac_func(); below. */
11014 #include <assert.h>
11015 /* Override any gcc2 internal prototype to avoid an error. */
11016 /* We use char because int might match the return type of a gcc2
11017 builtin and then its argument prototype would still apply. */
11022 /* The GNU C library defines this for functions which it implements
11023 to always fail with ENOSYS. Some functions are actually named
11024 something starting with __ and the normal name is an alias. */
11025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11033 if { (eval echo configure:11034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11035 eval "ac_cv_func_$ac_func=yes"
11037 echo "configure: failed program was:" >&5
11038 cat conftest.$ac_ext >&5
11040 eval "ac_cv_func_$ac_func=no"
11045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11046 echo "$ac_t""yes" 1>&6
11047 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11048 cat >> confdefs.h <<EOF
11049 #define $ac_tr_func 1
11053 echo "$ac_t""no" 1>&6
11062 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
11063 echo "configure:11064: checking for isnan declaration" >&5
11064 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
11065 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
11066 echo $ac_n "(cached) $ac_c" 1>&6
11071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11072 ac_cpp='$CXXCPP $CPPFLAGS'
11073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11075 cross_compiling=$ac_cv_prog_cxx_cross
11077 cat > conftest.$ac_ext <<EOF
11078 #line 11079 "configure"
11079 #include "confdefs.h"
11081 #ifdef HAVE_IEEEFP_H
11082 #include <ieeefp.h>
11089 if { (eval echo configure:11090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11091 glibcpp_cv_func_isnan_use=yes
11093 echo "configure: failed program was:" >&5
11094 cat conftest.$ac_ext >&5
11096 glibcpp_cv_func_isnan_use=no
11100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11101 ac_cpp='$CPP $CPPFLAGS'
11102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11104 cross_compiling=$ac_cv_prog_cc_cross
11110 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11112 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11113 for ac_func in isnan
11115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11116 echo "configure:11117: checking for $ac_func" >&5
11117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11118 echo $ac_n "(cached) $ac_c" 1>&6
11120 cat > conftest.$ac_ext <<EOF
11121 #line 11122 "configure"
11122 #include "confdefs.h"
11123 /* System header to define __stub macros and hopefully few prototypes,
11124 which can conflict with char $ac_func(); below. */
11125 #include <assert.h>
11126 /* Override any gcc2 internal prototype to avoid an error. */
11127 /* We use char because int might match the return type of a gcc2
11128 builtin and then its argument prototype would still apply. */
11133 /* The GNU C library defines this for functions which it implements
11134 to always fail with ENOSYS. Some functions are actually named
11135 something starting with __ and the normal name is an alias. */
11136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11144 if { (eval echo configure:11145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11146 eval "ac_cv_func_$ac_func=yes"
11148 echo "configure: failed program was:" >&5
11149 cat conftest.$ac_ext >&5
11151 eval "ac_cv_func_$ac_func=no"
11156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11157 echo "$ac_t""yes" 1>&6
11158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11159 cat >> confdefs.h <<EOF
11160 #define $ac_tr_func 1
11164 echo "$ac_t""no" 1>&6
11170 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11171 echo "configure:11172: checking for _isnan declaration" >&5
11172 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11173 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11174 echo $ac_n "(cached) $ac_c" 1>&6
11179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11180 ac_cpp='$CXXCPP $CPPFLAGS'
11181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11183 cross_compiling=$ac_cv_prog_cxx_cross
11185 cat > conftest.$ac_ext <<EOF
11186 #line 11187 "configure"
11187 #include "confdefs.h"
11189 #ifdef HAVE_IEEEFP_H
11190 #include <ieeefp.h>
11197 if { (eval echo configure:11198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11199 glibcpp_cv_func__isnan_use=yes
11201 echo "configure: failed program was:" >&5
11202 cat conftest.$ac_ext >&5
11204 glibcpp_cv_func__isnan_use=no
11208 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11209 ac_cpp='$CPP $CPPFLAGS'
11210 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11211 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11212 cross_compiling=$ac_cv_prog_cc_cross
11218 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11220 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11221 for ac_func in _isnan
11223 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11224 echo "configure:11225: checking for $ac_func" >&5
11225 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11226 echo $ac_n "(cached) $ac_c" 1>&6
11228 cat > conftest.$ac_ext <<EOF
11229 #line 11230 "configure"
11230 #include "confdefs.h"
11231 /* System header to define __stub macros and hopefully few prototypes,
11232 which can conflict with char $ac_func(); below. */
11233 #include <assert.h>
11234 /* Override any gcc2 internal prototype to avoid an error. */
11235 /* We use char because int might match the return type of a gcc2
11236 builtin and then its argument prototype would still apply. */
11241 /* The GNU C library defines this for functions which it implements
11242 to always fail with ENOSYS. Some functions are actually named
11243 something starting with __ and the normal name is an alias. */
11244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11252 if { (eval echo configure:11253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11254 eval "ac_cv_func_$ac_func=yes"
11256 echo "configure: failed program was:" >&5
11257 cat conftest.$ac_ext >&5
11259 eval "ac_cv_func_$ac_func=no"
11264 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11265 echo "$ac_t""yes" 1>&6
11266 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11267 cat >> confdefs.h <<EOF
11268 #define $ac_tr_func 1
11272 echo "$ac_t""no" 1>&6
11281 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11282 echo "configure:11283: checking for finite declaration" >&5
11283 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11284 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11285 echo $ac_n "(cached) $ac_c" 1>&6
11290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11291 ac_cpp='$CXXCPP $CPPFLAGS'
11292 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11293 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11294 cross_compiling=$ac_cv_prog_cxx_cross
11296 cat > conftest.$ac_ext <<EOF
11297 #line 11298 "configure"
11298 #include "confdefs.h"
11300 #ifdef HAVE_IEEEFP_H
11301 #include <ieeefp.h>
11308 if { (eval echo configure:11309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11310 glibcpp_cv_func_finite_use=yes
11312 echo "configure: failed program was:" >&5
11313 cat conftest.$ac_ext >&5
11315 glibcpp_cv_func_finite_use=no
11319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11320 ac_cpp='$CPP $CPPFLAGS'
11321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11323 cross_compiling=$ac_cv_prog_cc_cross
11329 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11331 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11332 for ac_func in finite
11334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11335 echo "configure:11336: checking for $ac_func" >&5
11336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11337 echo $ac_n "(cached) $ac_c" 1>&6
11339 cat > conftest.$ac_ext <<EOF
11340 #line 11341 "configure"
11341 #include "confdefs.h"
11342 /* System header to define __stub macros and hopefully few prototypes,
11343 which can conflict with char $ac_func(); below. */
11344 #include <assert.h>
11345 /* Override any gcc2 internal prototype to avoid an error. */
11346 /* We use char because int might match the return type of a gcc2
11347 builtin and then its argument prototype would still apply. */
11352 /* The GNU C library defines this for functions which it implements
11353 to always fail with ENOSYS. Some functions are actually named
11354 something starting with __ and the normal name is an alias. */
11355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11363 if { (eval echo configure:11364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11365 eval "ac_cv_func_$ac_func=yes"
11367 echo "configure: failed program was:" >&5
11368 cat conftest.$ac_ext >&5
11370 eval "ac_cv_func_$ac_func=no"
11375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11376 echo "$ac_t""yes" 1>&6
11377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11378 cat >> confdefs.h <<EOF
11379 #define $ac_tr_func 1
11383 echo "$ac_t""no" 1>&6
11389 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11390 echo "configure:11391: checking for _finite declaration" >&5
11391 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11392 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11393 echo $ac_n "(cached) $ac_c" 1>&6
11398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11399 ac_cpp='$CXXCPP $CPPFLAGS'
11400 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11401 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11402 cross_compiling=$ac_cv_prog_cxx_cross
11404 cat > conftest.$ac_ext <<EOF
11405 #line 11406 "configure"
11406 #include "confdefs.h"
11408 #ifdef HAVE_IEEEFP_H
11409 #include <ieeefp.h>
11416 if { (eval echo configure:11417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11418 glibcpp_cv_func__finite_use=yes
11420 echo "configure: failed program was:" >&5
11421 cat conftest.$ac_ext >&5
11423 glibcpp_cv_func__finite_use=no
11427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11428 ac_cpp='$CPP $CPPFLAGS'
11429 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11430 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11431 cross_compiling=$ac_cv_prog_cc_cross
11437 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11439 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11440 for ac_func in _finite
11442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11443 echo "configure:11444: checking for $ac_func" >&5
11444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11445 echo $ac_n "(cached) $ac_c" 1>&6
11447 cat > conftest.$ac_ext <<EOF
11448 #line 11449 "configure"
11449 #include "confdefs.h"
11450 /* System header to define __stub macros and hopefully few prototypes,
11451 which can conflict with char $ac_func(); below. */
11452 #include <assert.h>
11453 /* Override any gcc2 internal prototype to avoid an error. */
11454 /* We use char because int might match the return type of a gcc2
11455 builtin and then its argument prototype would still apply. */
11460 /* The GNU C library defines this for functions which it implements
11461 to always fail with ENOSYS. Some functions are actually named
11462 something starting with __ and the normal name is an alias. */
11463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11471 if { (eval echo configure:11472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11473 eval "ac_cv_func_$ac_func=yes"
11475 echo "configure: failed program was:" >&5
11476 cat conftest.$ac_ext >&5
11478 eval "ac_cv_func_$ac_func=no"
11483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11484 echo "$ac_t""yes" 1>&6
11485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11486 cat >> confdefs.h <<EOF
11487 #define $ac_tr_func 1
11491 echo "$ac_t""no" 1>&6
11500 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11501 echo "configure:11502: checking for copysign declaration" >&5
11502 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11503 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11504 echo $ac_n "(cached) $ac_c" 1>&6
11509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11510 ac_cpp='$CXXCPP $CPPFLAGS'
11511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11513 cross_compiling=$ac_cv_prog_cxx_cross
11515 cat > conftest.$ac_ext <<EOF
11516 #line 11517 "configure"
11517 #include "confdefs.h"
11523 if { (eval echo configure:11524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11525 glibcpp_cv_func_copysign_use=yes
11527 echo "configure: failed program was:" >&5
11528 cat conftest.$ac_ext >&5
11530 glibcpp_cv_func_copysign_use=no
11534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11535 ac_cpp='$CPP $CPPFLAGS'
11536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11538 cross_compiling=$ac_cv_prog_cc_cross
11544 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11546 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11547 for ac_func in copysign
11549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11550 echo "configure:11551: checking for $ac_func" >&5
11551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11552 echo $ac_n "(cached) $ac_c" 1>&6
11554 cat > conftest.$ac_ext <<EOF
11555 #line 11556 "configure"
11556 #include "confdefs.h"
11557 /* System header to define __stub macros and hopefully few prototypes,
11558 which can conflict with char $ac_func(); below. */
11559 #include <assert.h>
11560 /* Override any gcc2 internal prototype to avoid an error. */
11561 /* We use char because int might match the return type of a gcc2
11562 builtin and then its argument prototype would still apply. */
11567 /* The GNU C library defines this for functions which it implements
11568 to always fail with ENOSYS. Some functions are actually named
11569 something starting with __ and the normal name is an alias. */
11570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11578 if { (eval echo configure:11579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11580 eval "ac_cv_func_$ac_func=yes"
11582 echo "configure: failed program was:" >&5
11583 cat conftest.$ac_ext >&5
11585 eval "ac_cv_func_$ac_func=no"
11590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11591 echo "$ac_t""yes" 1>&6
11592 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11593 cat >> confdefs.h <<EOF
11594 #define $ac_tr_func 1
11598 echo "$ac_t""no" 1>&6
11604 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11605 echo "configure:11606: checking for _copysign declaration" >&5
11606 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11607 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11608 echo $ac_n "(cached) $ac_c" 1>&6
11613 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11614 ac_cpp='$CXXCPP $CPPFLAGS'
11615 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11616 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11617 cross_compiling=$ac_cv_prog_cxx_cross
11619 cat > conftest.$ac_ext <<EOF
11620 #line 11621 "configure"
11621 #include "confdefs.h"
11627 if { (eval echo configure:11628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11629 glibcpp_cv_func__copysign_use=yes
11631 echo "configure: failed program was:" >&5
11632 cat conftest.$ac_ext >&5
11634 glibcpp_cv_func__copysign_use=no
11638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11639 ac_cpp='$CPP $CPPFLAGS'
11640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11642 cross_compiling=$ac_cv_prog_cc_cross
11648 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11650 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11651 for ac_func in _copysign
11653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11654 echo "configure:11655: checking for $ac_func" >&5
11655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11656 echo $ac_n "(cached) $ac_c" 1>&6
11658 cat > conftest.$ac_ext <<EOF
11659 #line 11660 "configure"
11660 #include "confdefs.h"
11661 /* System header to define __stub macros and hopefully few prototypes,
11662 which can conflict with char $ac_func(); below. */
11663 #include <assert.h>
11664 /* Override any gcc2 internal prototype to avoid an error. */
11665 /* We use char because int might match the return type of a gcc2
11666 builtin and then its argument prototype would still apply. */
11671 /* The GNU C library defines this for functions which it implements
11672 to always fail with ENOSYS. Some functions are actually named
11673 something starting with __ and the normal name is an alias. */
11674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11682 if { (eval echo configure:11683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11684 eval "ac_cv_func_$ac_func=yes"
11686 echo "configure: failed program was:" >&5
11687 cat conftest.$ac_ext >&5
11689 eval "ac_cv_func_$ac_func=no"
11694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11695 echo "$ac_t""yes" 1>&6
11696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11697 cat >> confdefs.h <<EOF
11698 #define $ac_tr_func 1
11702 echo "$ac_t""no" 1>&6
11711 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11712 echo "configure:11713: checking for sincos declaration" >&5
11713 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11714 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11715 echo $ac_n "(cached) $ac_c" 1>&6
11720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11721 ac_cpp='$CXXCPP $CPPFLAGS'
11722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11724 cross_compiling=$ac_cv_prog_cxx_cross
11726 cat > conftest.$ac_ext <<EOF
11727 #line 11728 "configure"
11728 #include "confdefs.h"
11734 if { (eval echo configure:11735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11736 glibcpp_cv_func_sincos_use=yes
11738 echo "configure: failed program was:" >&5
11739 cat conftest.$ac_ext >&5
11741 glibcpp_cv_func_sincos_use=no
11745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11746 ac_cpp='$CPP $CPPFLAGS'
11747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11749 cross_compiling=$ac_cv_prog_cc_cross
11755 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11757 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11758 for ac_func in sincos
11760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11761 echo "configure:11762: checking for $ac_func" >&5
11762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11763 echo $ac_n "(cached) $ac_c" 1>&6
11765 cat > conftest.$ac_ext <<EOF
11766 #line 11767 "configure"
11767 #include "confdefs.h"
11768 /* System header to define __stub macros and hopefully few prototypes,
11769 which can conflict with char $ac_func(); below. */
11770 #include <assert.h>
11771 /* Override any gcc2 internal prototype to avoid an error. */
11772 /* We use char because int might match the return type of a gcc2
11773 builtin and then its argument prototype would still apply. */
11778 /* The GNU C library defines this for functions which it implements
11779 to always fail with ENOSYS. Some functions are actually named
11780 something starting with __ and the normal name is an alias. */
11781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11789 if { (eval echo configure:11790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11791 eval "ac_cv_func_$ac_func=yes"
11793 echo "configure: failed program was:" >&5
11794 cat conftest.$ac_ext >&5
11796 eval "ac_cv_func_$ac_func=no"
11801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11802 echo "$ac_t""yes" 1>&6
11803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11804 cat >> confdefs.h <<EOF
11805 #define $ac_tr_func 1
11809 echo "$ac_t""no" 1>&6
11815 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11816 echo "configure:11817: checking for _sincos declaration" >&5
11817 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11818 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11819 echo $ac_n "(cached) $ac_c" 1>&6
11824 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11825 ac_cpp='$CXXCPP $CPPFLAGS'
11826 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11827 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11828 cross_compiling=$ac_cv_prog_cxx_cross
11830 cat > conftest.$ac_ext <<EOF
11831 #line 11832 "configure"
11832 #include "confdefs.h"
11838 if { (eval echo configure:11839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11840 glibcpp_cv_func__sincos_use=yes
11842 echo "configure: failed program was:" >&5
11843 cat conftest.$ac_ext >&5
11845 glibcpp_cv_func__sincos_use=no
11849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11850 ac_cpp='$CPP $CPPFLAGS'
11851 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11852 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11853 cross_compiling=$ac_cv_prog_cc_cross
11859 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11861 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11862 for ac_func in _sincos
11864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11865 echo "configure:11866: checking for $ac_func" >&5
11866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11867 echo $ac_n "(cached) $ac_c" 1>&6
11869 cat > conftest.$ac_ext <<EOF
11870 #line 11871 "configure"
11871 #include "confdefs.h"
11872 /* System header to define __stub macros and hopefully few prototypes,
11873 which can conflict with char $ac_func(); below. */
11874 #include <assert.h>
11875 /* Override any gcc2 internal prototype to avoid an error. */
11876 /* We use char because int might match the return type of a gcc2
11877 builtin and then its argument prototype would still apply. */
11882 /* The GNU C library defines this for functions which it implements
11883 to always fail with ENOSYS. Some functions are actually named
11884 something starting with __ and the normal name is an alias. */
11885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11893 if { (eval echo configure:11894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11895 eval "ac_cv_func_$ac_func=yes"
11897 echo "configure: failed program was:" >&5
11898 cat conftest.$ac_ext >&5
11900 eval "ac_cv_func_$ac_func=no"
11905 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11906 echo "$ac_t""yes" 1>&6
11907 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11908 cat >> confdefs.h <<EOF
11909 #define $ac_tr_func 1
11913 echo "$ac_t""no" 1>&6
11922 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11923 echo "configure:11924: checking for fpclass declaration" >&5
11924 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11925 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11926 echo $ac_n "(cached) $ac_c" 1>&6
11931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11932 ac_cpp='$CXXCPP $CPPFLAGS'
11933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11935 cross_compiling=$ac_cv_prog_cxx_cross
11937 cat > conftest.$ac_ext <<EOF
11938 #line 11939 "configure"
11939 #include "confdefs.h"
11941 #ifdef HAVE_IEEEFP_H
11942 #include <ieeefp.h>
11949 if { (eval echo configure:11950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11951 glibcpp_cv_func_fpclass_use=yes
11953 echo "configure: failed program was:" >&5
11954 cat conftest.$ac_ext >&5
11956 glibcpp_cv_func_fpclass_use=no
11960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11961 ac_cpp='$CPP $CPPFLAGS'
11962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11964 cross_compiling=$ac_cv_prog_cc_cross
11970 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11972 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11973 for ac_func in fpclass
11975 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11976 echo "configure:11977: checking for $ac_func" >&5
11977 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11978 echo $ac_n "(cached) $ac_c" 1>&6
11980 cat > conftest.$ac_ext <<EOF
11981 #line 11982 "configure"
11982 #include "confdefs.h"
11983 /* System header to define __stub macros and hopefully few prototypes,
11984 which can conflict with char $ac_func(); below. */
11985 #include <assert.h>
11986 /* Override any gcc2 internal prototype to avoid an error. */
11987 /* We use char because int might match the return type of a gcc2
11988 builtin and then its argument prototype would still apply. */
11993 /* The GNU C library defines this for functions which it implements
11994 to always fail with ENOSYS. Some functions are actually named
11995 something starting with __ and the normal name is an alias. */
11996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12004 if { (eval echo configure:12005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12006 eval "ac_cv_func_$ac_func=yes"
12008 echo "configure: failed program was:" >&5
12009 cat conftest.$ac_ext >&5
12011 eval "ac_cv_func_$ac_func=no"
12016 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12017 echo "$ac_t""yes" 1>&6
12018 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12019 cat >> confdefs.h <<EOF
12020 #define $ac_tr_func 1
12024 echo "$ac_t""no" 1>&6
12030 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
12031 echo "configure:12032: checking for _fpclass declaration" >&5
12032 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
12033 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
12034 echo $ac_n "(cached) $ac_c" 1>&6
12039 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12040 ac_cpp='$CXXCPP $CPPFLAGS'
12041 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12042 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12043 cross_compiling=$ac_cv_prog_cxx_cross
12045 cat > conftest.$ac_ext <<EOF
12046 #line 12047 "configure"
12047 #include "confdefs.h"
12049 #ifdef HAVE_IEEEFP_H
12050 #include <ieeefp.h>
12057 if { (eval echo configure:12058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12059 glibcpp_cv_func__fpclass_use=yes
12061 echo "configure: failed program was:" >&5
12062 cat conftest.$ac_ext >&5
12064 glibcpp_cv_func__fpclass_use=no
12068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12069 ac_cpp='$CPP $CPPFLAGS'
12070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12072 cross_compiling=$ac_cv_prog_cc_cross
12078 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
12080 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
12081 for ac_func in _fpclass
12083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12084 echo "configure:12085: checking for $ac_func" >&5
12085 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12086 echo $ac_n "(cached) $ac_c" 1>&6
12088 cat > conftest.$ac_ext <<EOF
12089 #line 12090 "configure"
12090 #include "confdefs.h"
12091 /* System header to define __stub macros and hopefully few prototypes,
12092 which can conflict with char $ac_func(); below. */
12093 #include <assert.h>
12094 /* Override any gcc2 internal prototype to avoid an error. */
12095 /* We use char because int might match the return type of a gcc2
12096 builtin and then its argument prototype would still apply. */
12101 /* The GNU C library defines this for functions which it implements
12102 to always fail with ENOSYS. Some functions are actually named
12103 something starting with __ and the normal name is an alias. */
12104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12112 if { (eval echo configure:12113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12114 eval "ac_cv_func_$ac_func=yes"
12116 echo "configure: failed program was:" >&5
12117 cat conftest.$ac_ext >&5
12119 eval "ac_cv_func_$ac_func=no"
12124 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12125 echo "$ac_t""yes" 1>&6
12126 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12127 cat >> confdefs.h <<EOF
12128 #define $ac_tr_func 1
12132 echo "$ac_t""no" 1>&6
12141 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12142 echo "configure:12143: checking for qfpclass declaration" >&5
12143 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12144 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12145 echo $ac_n "(cached) $ac_c" 1>&6
12150 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12151 ac_cpp='$CXXCPP $CPPFLAGS'
12152 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12153 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12154 cross_compiling=$ac_cv_prog_cxx_cross
12156 cat > conftest.$ac_ext <<EOF
12157 #line 12158 "configure"
12158 #include "confdefs.h"
12160 #ifdef HAVE_IEEEFP_H
12161 #include <ieeefp.h>
12168 if { (eval echo configure:12169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12170 glibcpp_cv_func_qfpclass_use=yes
12172 echo "configure: failed program was:" >&5
12173 cat conftest.$ac_ext >&5
12175 glibcpp_cv_func_qfpclass_use=no
12179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12180 ac_cpp='$CPP $CPPFLAGS'
12181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12183 cross_compiling=$ac_cv_prog_cc_cross
12189 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12191 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12192 for ac_func in qfpclass
12194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12195 echo "configure:12196: checking for $ac_func" >&5
12196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12197 echo $ac_n "(cached) $ac_c" 1>&6
12199 cat > conftest.$ac_ext <<EOF
12200 #line 12201 "configure"
12201 #include "confdefs.h"
12202 /* System header to define __stub macros and hopefully few prototypes,
12203 which can conflict with char $ac_func(); below. */
12204 #include <assert.h>
12205 /* Override any gcc2 internal prototype to avoid an error. */
12206 /* We use char because int might match the return type of a gcc2
12207 builtin and then its argument prototype would still apply. */
12212 /* The GNU C library defines this for functions which it implements
12213 to always fail with ENOSYS. Some functions are actually named
12214 something starting with __ and the normal name is an alias. */
12215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12223 if { (eval echo configure:12224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12225 eval "ac_cv_func_$ac_func=yes"
12227 echo "configure: failed program was:" >&5
12228 cat conftest.$ac_ext >&5
12230 eval "ac_cv_func_$ac_func=no"
12235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12236 echo "$ac_t""yes" 1>&6
12237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12238 cat >> confdefs.h <<EOF
12239 #define $ac_tr_func 1
12243 echo "$ac_t""no" 1>&6
12249 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12250 echo "configure:12251: checking for _qfpclass declaration" >&5
12251 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12252 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12253 echo $ac_n "(cached) $ac_c" 1>&6
12258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12259 ac_cpp='$CXXCPP $CPPFLAGS'
12260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12262 cross_compiling=$ac_cv_prog_cxx_cross
12264 cat > conftest.$ac_ext <<EOF
12265 #line 12266 "configure"
12266 #include "confdefs.h"
12268 #ifdef HAVE_IEEEFP_H
12269 #include <ieeefp.h>
12276 if { (eval echo configure:12277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12278 glibcpp_cv_func__qfpclass_use=yes
12280 echo "configure: failed program was:" >&5
12281 cat conftest.$ac_ext >&5
12283 glibcpp_cv_func__qfpclass_use=no
12287 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12288 ac_cpp='$CPP $CPPFLAGS'
12289 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12290 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12291 cross_compiling=$ac_cv_prog_cc_cross
12297 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12299 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12300 for ac_func in _qfpclass
12302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12303 echo "configure:12304: checking for $ac_func" >&5
12304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12305 echo $ac_n "(cached) $ac_c" 1>&6
12307 cat > conftest.$ac_ext <<EOF
12308 #line 12309 "configure"
12309 #include "confdefs.h"
12310 /* System header to define __stub macros and hopefully few prototypes,
12311 which can conflict with char $ac_func(); below. */
12312 #include <assert.h>
12313 /* Override any gcc2 internal prototype to avoid an error. */
12314 /* We use char because int might match the return type of a gcc2
12315 builtin and then its argument prototype would still apply. */
12320 /* The GNU C library defines this for functions which it implements
12321 to always fail with ENOSYS. Some functions are actually named
12322 something starting with __ and the normal name is an alias. */
12323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12331 if { (eval echo configure:12332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12333 eval "ac_cv_func_$ac_func=yes"
12335 echo "configure: failed program was:" >&5
12336 cat conftest.$ac_ext >&5
12338 eval "ac_cv_func_$ac_func=no"
12343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12344 echo "$ac_t""yes" 1>&6
12345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12346 cat >> confdefs.h <<EOF
12347 #define $ac_tr_func 1
12351 echo "$ac_t""no" 1>&6
12360 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12361 echo "configure:12362: checking for hypot declaration" >&5
12362 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12363 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12364 echo $ac_n "(cached) $ac_c" 1>&6
12369 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12370 ac_cpp='$CXXCPP $CPPFLAGS'
12371 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12372 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12373 cross_compiling=$ac_cv_prog_cxx_cross
12375 cat > conftest.$ac_ext <<EOF
12376 #line 12377 "configure"
12377 #include "confdefs.h"
12383 if { (eval echo configure:12384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12385 glibcpp_cv_func_hypot_use=yes
12387 echo "configure: failed program was:" >&5
12388 cat conftest.$ac_ext >&5
12390 glibcpp_cv_func_hypot_use=no
12394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12395 ac_cpp='$CPP $CPPFLAGS'
12396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12398 cross_compiling=$ac_cv_prog_cc_cross
12404 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12406 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12407 for ac_func in hypot
12409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12410 echo "configure:12411: checking for $ac_func" >&5
12411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12412 echo $ac_n "(cached) $ac_c" 1>&6
12414 cat > conftest.$ac_ext <<EOF
12415 #line 12416 "configure"
12416 #include "confdefs.h"
12417 /* System header to define __stub macros and hopefully few prototypes,
12418 which can conflict with char $ac_func(); below. */
12419 #include <assert.h>
12420 /* Override any gcc2 internal prototype to avoid an error. */
12421 /* We use char because int might match the return type of a gcc2
12422 builtin and then its argument prototype would still apply. */
12427 /* The GNU C library defines this for functions which it implements
12428 to always fail with ENOSYS. Some functions are actually named
12429 something starting with __ and the normal name is an alias. */
12430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12438 if { (eval echo configure:12439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12440 eval "ac_cv_func_$ac_func=yes"
12442 echo "configure: failed program was:" >&5
12443 cat conftest.$ac_ext >&5
12445 eval "ac_cv_func_$ac_func=no"
12450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12451 echo "$ac_t""yes" 1>&6
12452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12453 cat >> confdefs.h <<EOF
12454 #define $ac_tr_func 1
12458 echo "$ac_t""no" 1>&6
12464 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12465 echo "configure:12466: checking for _hypot declaration" >&5
12466 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12467 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12468 echo $ac_n "(cached) $ac_c" 1>&6
12473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12474 ac_cpp='$CXXCPP $CPPFLAGS'
12475 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12476 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12477 cross_compiling=$ac_cv_prog_cxx_cross
12479 cat > conftest.$ac_ext <<EOF
12480 #line 12481 "configure"
12481 #include "confdefs.h"
12487 if { (eval echo configure:12488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12489 glibcpp_cv_func__hypot_use=yes
12491 echo "configure: failed program was:" >&5
12492 cat conftest.$ac_ext >&5
12494 glibcpp_cv_func__hypot_use=no
12498 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12499 ac_cpp='$CPP $CPPFLAGS'
12500 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12501 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12502 cross_compiling=$ac_cv_prog_cc_cross
12508 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12510 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12511 for ac_func in _hypot
12513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12514 echo "configure:12515: checking for $ac_func" >&5
12515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12516 echo $ac_n "(cached) $ac_c" 1>&6
12518 cat > conftest.$ac_ext <<EOF
12519 #line 12520 "configure"
12520 #include "confdefs.h"
12521 /* System header to define __stub macros and hopefully few prototypes,
12522 which can conflict with char $ac_func(); below. */
12523 #include <assert.h>
12524 /* Override any gcc2 internal prototype to avoid an error. */
12525 /* We use char because int might match the return type of a gcc2
12526 builtin and then its argument prototype would still apply. */
12531 /* The GNU C library defines this for functions which it implements
12532 to always fail with ENOSYS. Some functions are actually named
12533 something starting with __ and the normal name is an alias. */
12534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12542 if { (eval echo configure:12543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12544 eval "ac_cv_func_$ac_func=yes"
12546 echo "configure: failed program was:" >&5
12547 cat conftest.$ac_ext >&5
12549 eval "ac_cv_func_$ac_func=no"
12554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12555 echo "$ac_t""yes" 1>&6
12556 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12557 cat >> confdefs.h <<EOF
12558 #define $ac_tr_func 1
12562 echo "$ac_t""no" 1>&6
12571 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12572 echo "configure:12573: checking for float trig functions" >&5
12573 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12574 echo $ac_n "(cached) $ac_c" 1>&6
12579 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12580 ac_cpp='$CXXCPP $CPPFLAGS'
12581 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12582 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12583 cross_compiling=$ac_cv_prog_cxx_cross
12585 cat > conftest.$ac_ext <<EOF
12586 #line 12587 "configure"
12587 #include "confdefs.h"
12590 `for x in acosf asinf atanf \
12592 coshf sinhf tanhf; do echo "$x (0);"; done`
12595 if { (eval echo configure:12596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12597 glibcpp_cv_func_float_trig_use=yes
12599 echo "configure: failed program was:" >&5
12600 cat conftest.$ac_ext >&5
12602 glibcpp_cv_func_float_trig_use=no
12606 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12607 ac_cpp='$CPP $CPPFLAGS'
12608 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12609 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12610 cross_compiling=$ac_cv_prog_cc_cross
12614 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12615 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12616 for ac_func in acosf asinf atanf \
12620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12621 echo "configure:12622: checking for $ac_func" >&5
12622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12623 echo $ac_n "(cached) $ac_c" 1>&6
12625 cat > conftest.$ac_ext <<EOF
12626 #line 12627 "configure"
12627 #include "confdefs.h"
12628 /* System header to define __stub macros and hopefully few prototypes,
12629 which can conflict with char $ac_func(); below. */
12630 #include <assert.h>
12631 /* Override any gcc2 internal prototype to avoid an error. */
12632 /* We use char because int might match the return type of a gcc2
12633 builtin and then its argument prototype would still apply. */
12638 /* The GNU C library defines this for functions which it implements
12639 to always fail with ENOSYS. Some functions are actually named
12640 something starting with __ and the normal name is an alias. */
12641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12649 if { (eval echo configure:12650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12651 eval "ac_cv_func_$ac_func=yes"
12653 echo "configure: failed program was:" >&5
12654 cat conftest.$ac_ext >&5
12656 eval "ac_cv_func_$ac_func=no"
12661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12662 echo "$ac_t""yes" 1>&6
12663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12664 cat >> confdefs.h <<EOF
12665 #define $ac_tr_func 1
12669 echo "$ac_t""no" 1>&6
12676 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12677 echo "configure:12678: checking for float round functions" >&5
12678 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12679 echo $ac_n "(cached) $ac_c" 1>&6
12684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12685 ac_cpp='$CXXCPP $CPPFLAGS'
12686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12688 cross_compiling=$ac_cv_prog_cxx_cross
12690 cat > conftest.$ac_ext <<EOF
12691 #line 12692 "configure"
12692 #include "confdefs.h"
12695 `for x in ceilf floorf; do echo "$x (0);"; done`
12698 if { (eval echo configure:12699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12700 glibcpp_cv_func_float_round_use=yes
12702 echo "configure: failed program was:" >&5
12703 cat conftest.$ac_ext >&5
12705 glibcpp_cv_func_float_round_use=no
12709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12710 ac_cpp='$CPP $CPPFLAGS'
12711 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12712 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12713 cross_compiling=$ac_cv_prog_cc_cross
12717 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12718 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12719 for ac_func in ceilf floorf
12721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12722 echo "configure:12723: checking for $ac_func" >&5
12723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12724 echo $ac_n "(cached) $ac_c" 1>&6
12726 cat > conftest.$ac_ext <<EOF
12727 #line 12728 "configure"
12728 #include "confdefs.h"
12729 /* System header to define __stub macros and hopefully few prototypes,
12730 which can conflict with char $ac_func(); below. */
12731 #include <assert.h>
12732 /* Override any gcc2 internal prototype to avoid an error. */
12733 /* We use char because int might match the return type of a gcc2
12734 builtin and then its argument prototype would still apply. */
12739 /* The GNU C library defines this for functions which it implements
12740 to always fail with ENOSYS. Some functions are actually named
12741 something starting with __ and the normal name is an alias. */
12742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12750 if { (eval echo configure:12751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12752 eval "ac_cv_func_$ac_func=yes"
12754 echo "configure: failed program was:" >&5
12755 cat conftest.$ac_ext >&5
12757 eval "ac_cv_func_$ac_func=no"
12762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12763 echo "$ac_t""yes" 1>&6
12764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12765 cat >> confdefs.h <<EOF
12766 #define $ac_tr_func 1
12770 echo "$ac_t""no" 1>&6
12778 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12779 echo "configure:12780: checking for expf declaration" >&5
12780 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12781 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12782 echo $ac_n "(cached) $ac_c" 1>&6
12787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12788 ac_cpp='$CXXCPP $CPPFLAGS'
12789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12791 cross_compiling=$ac_cv_prog_cxx_cross
12793 cat > conftest.$ac_ext <<EOF
12794 #line 12795 "configure"
12795 #include "confdefs.h"
12797 #ifdef HAVE_IEEEFP_H
12798 #include <ieeefp.h>
12805 if { (eval echo configure:12806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12807 glibcpp_cv_func_expf_use=yes
12809 echo "configure: failed program was:" >&5
12810 cat conftest.$ac_ext >&5
12812 glibcpp_cv_func_expf_use=no
12816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12817 ac_cpp='$CPP $CPPFLAGS'
12818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12820 cross_compiling=$ac_cv_prog_cc_cross
12826 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12828 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12829 for ac_func in expf
12831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12832 echo "configure:12833: checking for $ac_func" >&5
12833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12834 echo $ac_n "(cached) $ac_c" 1>&6
12836 cat > conftest.$ac_ext <<EOF
12837 #line 12838 "configure"
12838 #include "confdefs.h"
12839 /* System header to define __stub macros and hopefully few prototypes,
12840 which can conflict with char $ac_func(); below. */
12841 #include <assert.h>
12842 /* Override any gcc2 internal prototype to avoid an error. */
12843 /* We use char because int might match the return type of a gcc2
12844 builtin and then its argument prototype would still apply. */
12849 /* The GNU C library defines this for functions which it implements
12850 to always fail with ENOSYS. Some functions are actually named
12851 something starting with __ and the normal name is an alias. */
12852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12860 if { (eval echo configure:12861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12862 eval "ac_cv_func_$ac_func=yes"
12864 echo "configure: failed program was:" >&5
12865 cat conftest.$ac_ext >&5
12867 eval "ac_cv_func_$ac_func=no"
12872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12873 echo "$ac_t""yes" 1>&6
12874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12875 cat >> confdefs.h <<EOF
12876 #define $ac_tr_func 1
12880 echo "$ac_t""no" 1>&6
12886 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12887 echo "configure:12888: checking for _expf declaration" >&5
12888 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12889 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12890 echo $ac_n "(cached) $ac_c" 1>&6
12895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12896 ac_cpp='$CXXCPP $CPPFLAGS'
12897 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12898 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12899 cross_compiling=$ac_cv_prog_cxx_cross
12901 cat > conftest.$ac_ext <<EOF
12902 #line 12903 "configure"
12903 #include "confdefs.h"
12905 #ifdef HAVE_IEEEFP_H
12906 #include <ieeefp.h>
12913 if { (eval echo configure:12914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12915 glibcpp_cv_func__expf_use=yes
12917 echo "configure: failed program was:" >&5
12918 cat conftest.$ac_ext >&5
12920 glibcpp_cv_func__expf_use=no
12924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12925 ac_cpp='$CPP $CPPFLAGS'
12926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12928 cross_compiling=$ac_cv_prog_cc_cross
12934 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12936 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12937 for ac_func in _expf
12939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12940 echo "configure:12941: checking for $ac_func" >&5
12941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12942 echo $ac_n "(cached) $ac_c" 1>&6
12944 cat > conftest.$ac_ext <<EOF
12945 #line 12946 "configure"
12946 #include "confdefs.h"
12947 /* System header to define __stub macros and hopefully few prototypes,
12948 which can conflict with char $ac_func(); below. */
12949 #include <assert.h>
12950 /* Override any gcc2 internal prototype to avoid an error. */
12951 /* We use char because int might match the return type of a gcc2
12952 builtin and then its argument prototype would still apply. */
12957 /* The GNU C library defines this for functions which it implements
12958 to always fail with ENOSYS. Some functions are actually named
12959 something starting with __ and the normal name is an alias. */
12960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12968 if { (eval echo configure:12969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12970 eval "ac_cv_func_$ac_func=yes"
12972 echo "configure: failed program was:" >&5
12973 cat conftest.$ac_ext >&5
12975 eval "ac_cv_func_$ac_func=no"
12980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12981 echo "$ac_t""yes" 1>&6
12982 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12983 cat >> confdefs.h <<EOF
12984 #define $ac_tr_func 1
12988 echo "$ac_t""no" 1>&6
12997 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12998 echo "configure:12999: checking for isnanf declaration" >&5
12999 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
13000 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
13001 echo $ac_n "(cached) $ac_c" 1>&6
13006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13007 ac_cpp='$CXXCPP $CPPFLAGS'
13008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13010 cross_compiling=$ac_cv_prog_cxx_cross
13012 cat > conftest.$ac_ext <<EOF
13013 #line 13014 "configure"
13014 #include "confdefs.h"
13016 #ifdef HAVE_IEEEFP_H
13017 #include <ieeefp.h>
13024 if { (eval echo configure:13025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13026 glibcpp_cv_func_isnanf_use=yes
13028 echo "configure: failed program was:" >&5
13029 cat conftest.$ac_ext >&5
13031 glibcpp_cv_func_isnanf_use=no
13035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13036 ac_cpp='$CPP $CPPFLAGS'
13037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13039 cross_compiling=$ac_cv_prog_cc_cross
13045 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
13047 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
13048 for ac_func in isnanf
13050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13051 echo "configure:13052: checking for $ac_func" >&5
13052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13053 echo $ac_n "(cached) $ac_c" 1>&6
13055 cat > conftest.$ac_ext <<EOF
13056 #line 13057 "configure"
13057 #include "confdefs.h"
13058 /* System header to define __stub macros and hopefully few prototypes,
13059 which can conflict with char $ac_func(); below. */
13060 #include <assert.h>
13061 /* Override any gcc2 internal prototype to avoid an error. */
13062 /* We use char because int might match the return type of a gcc2
13063 builtin and then its argument prototype would still apply. */
13068 /* The GNU C library defines this for functions which it implements
13069 to always fail with ENOSYS. Some functions are actually named
13070 something starting with __ and the normal name is an alias. */
13071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13079 if { (eval echo configure:13080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13081 eval "ac_cv_func_$ac_func=yes"
13083 echo "configure: failed program was:" >&5
13084 cat conftest.$ac_ext >&5
13086 eval "ac_cv_func_$ac_func=no"
13091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13092 echo "$ac_t""yes" 1>&6
13093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13094 cat >> confdefs.h <<EOF
13095 #define $ac_tr_func 1
13099 echo "$ac_t""no" 1>&6
13105 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
13106 echo "configure:13107: checking for _isnanf declaration" >&5
13107 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13108 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13109 echo $ac_n "(cached) $ac_c" 1>&6
13114 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13115 ac_cpp='$CXXCPP $CPPFLAGS'
13116 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13117 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13118 cross_compiling=$ac_cv_prog_cxx_cross
13120 cat > conftest.$ac_ext <<EOF
13121 #line 13122 "configure"
13122 #include "confdefs.h"
13124 #ifdef HAVE_IEEEFP_H
13125 #include <ieeefp.h>
13132 if { (eval echo configure:13133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13134 glibcpp_cv_func__isnanf_use=yes
13136 echo "configure: failed program was:" >&5
13137 cat conftest.$ac_ext >&5
13139 glibcpp_cv_func__isnanf_use=no
13143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13144 ac_cpp='$CPP $CPPFLAGS'
13145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13147 cross_compiling=$ac_cv_prog_cc_cross
13153 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13155 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13156 for ac_func in _isnanf
13158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13159 echo "configure:13160: checking for $ac_func" >&5
13160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13161 echo $ac_n "(cached) $ac_c" 1>&6
13163 cat > conftest.$ac_ext <<EOF
13164 #line 13165 "configure"
13165 #include "confdefs.h"
13166 /* System header to define __stub macros and hopefully few prototypes,
13167 which can conflict with char $ac_func(); below. */
13168 #include <assert.h>
13169 /* Override any gcc2 internal prototype to avoid an error. */
13170 /* We use char because int might match the return type of a gcc2
13171 builtin and then its argument prototype would still apply. */
13176 /* The GNU C library defines this for functions which it implements
13177 to always fail with ENOSYS. Some functions are actually named
13178 something starting with __ and the normal name is an alias. */
13179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13187 if { (eval echo configure:13188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13189 eval "ac_cv_func_$ac_func=yes"
13191 echo "configure: failed program was:" >&5
13192 cat conftest.$ac_ext >&5
13194 eval "ac_cv_func_$ac_func=no"
13199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13200 echo "$ac_t""yes" 1>&6
13201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13202 cat >> confdefs.h <<EOF
13203 #define $ac_tr_func 1
13207 echo "$ac_t""no" 1>&6
13216 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13217 echo "configure:13218: checking for isinff declaration" >&5
13218 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13219 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13220 echo $ac_n "(cached) $ac_c" 1>&6
13225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13226 ac_cpp='$CXXCPP $CPPFLAGS'
13227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13229 cross_compiling=$ac_cv_prog_cxx_cross
13231 cat > conftest.$ac_ext <<EOF
13232 #line 13233 "configure"
13233 #include "confdefs.h"
13235 #ifdef HAVE_IEEEFP_H
13236 #include <ieeefp.h>
13243 if { (eval echo configure:13244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13245 glibcpp_cv_func_isinff_use=yes
13247 echo "configure: failed program was:" >&5
13248 cat conftest.$ac_ext >&5
13250 glibcpp_cv_func_isinff_use=no
13254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13255 ac_cpp='$CPP $CPPFLAGS'
13256 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13257 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13258 cross_compiling=$ac_cv_prog_cc_cross
13264 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13266 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13267 for ac_func in isinff
13269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13270 echo "configure:13271: checking for $ac_func" >&5
13271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13272 echo $ac_n "(cached) $ac_c" 1>&6
13274 cat > conftest.$ac_ext <<EOF
13275 #line 13276 "configure"
13276 #include "confdefs.h"
13277 /* System header to define __stub macros and hopefully few prototypes,
13278 which can conflict with char $ac_func(); below. */
13279 #include <assert.h>
13280 /* Override any gcc2 internal prototype to avoid an error. */
13281 /* We use char because int might match the return type of a gcc2
13282 builtin and then its argument prototype would still apply. */
13287 /* The GNU C library defines this for functions which it implements
13288 to always fail with ENOSYS. Some functions are actually named
13289 something starting with __ and the normal name is an alias. */
13290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13298 if { (eval echo configure:13299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13300 eval "ac_cv_func_$ac_func=yes"
13302 echo "configure: failed program was:" >&5
13303 cat conftest.$ac_ext >&5
13305 eval "ac_cv_func_$ac_func=no"
13310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13311 echo "$ac_t""yes" 1>&6
13312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13313 cat >> confdefs.h <<EOF
13314 #define $ac_tr_func 1
13318 echo "$ac_t""no" 1>&6
13324 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13325 echo "configure:13326: checking for _isinff declaration" >&5
13326 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13327 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13328 echo $ac_n "(cached) $ac_c" 1>&6
13333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13334 ac_cpp='$CXXCPP $CPPFLAGS'
13335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13337 cross_compiling=$ac_cv_prog_cxx_cross
13339 cat > conftest.$ac_ext <<EOF
13340 #line 13341 "configure"
13341 #include "confdefs.h"
13343 #ifdef HAVE_IEEEFP_H
13344 #include <ieeefp.h>
13351 if { (eval echo configure:13352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13353 glibcpp_cv_func__isinff_use=yes
13355 echo "configure: failed program was:" >&5
13356 cat conftest.$ac_ext >&5
13358 glibcpp_cv_func__isinff_use=no
13362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13363 ac_cpp='$CPP $CPPFLAGS'
13364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13366 cross_compiling=$ac_cv_prog_cc_cross
13372 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13374 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13375 for ac_func in _isinff
13377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13378 echo "configure:13379: checking for $ac_func" >&5
13379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13380 echo $ac_n "(cached) $ac_c" 1>&6
13382 cat > conftest.$ac_ext <<EOF
13383 #line 13384 "configure"
13384 #include "confdefs.h"
13385 /* System header to define __stub macros and hopefully few prototypes,
13386 which can conflict with char $ac_func(); below. */
13387 #include <assert.h>
13388 /* Override any gcc2 internal prototype to avoid an error. */
13389 /* We use char because int might match the return type of a gcc2
13390 builtin and then its argument prototype would still apply. */
13395 /* The GNU C library defines this for functions which it implements
13396 to always fail with ENOSYS. Some functions are actually named
13397 something starting with __ and the normal name is an alias. */
13398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13406 if { (eval echo configure:13407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13408 eval "ac_cv_func_$ac_func=yes"
13410 echo "configure: failed program was:" >&5
13411 cat conftest.$ac_ext >&5
13413 eval "ac_cv_func_$ac_func=no"
13418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13419 echo "$ac_t""yes" 1>&6
13420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13421 cat >> confdefs.h <<EOF
13422 #define $ac_tr_func 1
13426 echo "$ac_t""no" 1>&6
13435 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13436 echo "configure:13437: checking for atan2f declaration" >&5
13437 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13438 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13439 echo $ac_n "(cached) $ac_c" 1>&6
13444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13445 ac_cpp='$CXXCPP $CPPFLAGS'
13446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13448 cross_compiling=$ac_cv_prog_cxx_cross
13450 cat > conftest.$ac_ext <<EOF
13451 #line 13452 "configure"
13452 #include "confdefs.h"
13458 if { (eval echo configure:13459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13460 glibcpp_cv_func_atan2f_use=yes
13462 echo "configure: failed program was:" >&5
13463 cat conftest.$ac_ext >&5
13465 glibcpp_cv_func_atan2f_use=no
13469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13470 ac_cpp='$CPP $CPPFLAGS'
13471 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13472 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13473 cross_compiling=$ac_cv_prog_cc_cross
13479 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13481 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13482 for ac_func in atan2f
13484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13485 echo "configure:13486: checking for $ac_func" >&5
13486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13487 echo $ac_n "(cached) $ac_c" 1>&6
13489 cat > conftest.$ac_ext <<EOF
13490 #line 13491 "configure"
13491 #include "confdefs.h"
13492 /* System header to define __stub macros and hopefully few prototypes,
13493 which can conflict with char $ac_func(); below. */
13494 #include <assert.h>
13495 /* Override any gcc2 internal prototype to avoid an error. */
13496 /* We use char because int might match the return type of a gcc2
13497 builtin and then its argument prototype would still apply. */
13502 /* The GNU C library defines this for functions which it implements
13503 to always fail with ENOSYS. Some functions are actually named
13504 something starting with __ and the normal name is an alias. */
13505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13513 if { (eval echo configure:13514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13515 eval "ac_cv_func_$ac_func=yes"
13517 echo "configure: failed program was:" >&5
13518 cat conftest.$ac_ext >&5
13520 eval "ac_cv_func_$ac_func=no"
13525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13526 echo "$ac_t""yes" 1>&6
13527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13528 cat >> confdefs.h <<EOF
13529 #define $ac_tr_func 1
13533 echo "$ac_t""no" 1>&6
13539 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13540 echo "configure:13541: checking for _atan2f declaration" >&5
13541 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13542 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13543 echo $ac_n "(cached) $ac_c" 1>&6
13548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13549 ac_cpp='$CXXCPP $CPPFLAGS'
13550 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13551 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13552 cross_compiling=$ac_cv_prog_cxx_cross
13554 cat > conftest.$ac_ext <<EOF
13555 #line 13556 "configure"
13556 #include "confdefs.h"
13562 if { (eval echo configure:13563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13564 glibcpp_cv_func__atan2f_use=yes
13566 echo "configure: failed program was:" >&5
13567 cat conftest.$ac_ext >&5
13569 glibcpp_cv_func__atan2f_use=no
13573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13574 ac_cpp='$CPP $CPPFLAGS'
13575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13577 cross_compiling=$ac_cv_prog_cc_cross
13583 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13585 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13586 for ac_func in _atan2f
13588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13589 echo "configure:13590: checking for $ac_func" >&5
13590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13591 echo $ac_n "(cached) $ac_c" 1>&6
13593 cat > conftest.$ac_ext <<EOF
13594 #line 13595 "configure"
13595 #include "confdefs.h"
13596 /* System header to define __stub macros and hopefully few prototypes,
13597 which can conflict with char $ac_func(); below. */
13598 #include <assert.h>
13599 /* Override any gcc2 internal prototype to avoid an error. */
13600 /* We use char because int might match the return type of a gcc2
13601 builtin and then its argument prototype would still apply. */
13606 /* The GNU C library defines this for functions which it implements
13607 to always fail with ENOSYS. Some functions are actually named
13608 something starting with __ and the normal name is an alias. */
13609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13617 if { (eval echo configure:13618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13619 eval "ac_cv_func_$ac_func=yes"
13621 echo "configure: failed program was:" >&5
13622 cat conftest.$ac_ext >&5
13624 eval "ac_cv_func_$ac_func=no"
13629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13630 echo "$ac_t""yes" 1>&6
13631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13632 cat >> confdefs.h <<EOF
13633 #define $ac_tr_func 1
13637 echo "$ac_t""no" 1>&6
13646 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13647 echo "configure:13648: checking for fabsf declaration" >&5
13648 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13649 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13650 echo $ac_n "(cached) $ac_c" 1>&6
13655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13656 ac_cpp='$CXXCPP $CPPFLAGS'
13657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13659 cross_compiling=$ac_cv_prog_cxx_cross
13661 cat > conftest.$ac_ext <<EOF
13662 #line 13663 "configure"
13663 #include "confdefs.h"
13665 #ifdef HAVE_IEEEFP_H
13666 #include <ieeefp.h>
13673 if { (eval echo configure:13674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13675 glibcpp_cv_func_fabsf_use=yes
13677 echo "configure: failed program was:" >&5
13678 cat conftest.$ac_ext >&5
13680 glibcpp_cv_func_fabsf_use=no
13684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13685 ac_cpp='$CPP $CPPFLAGS'
13686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13688 cross_compiling=$ac_cv_prog_cc_cross
13694 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13696 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13697 for ac_func in fabsf
13699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13700 echo "configure:13701: checking for $ac_func" >&5
13701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13702 echo $ac_n "(cached) $ac_c" 1>&6
13704 cat > conftest.$ac_ext <<EOF
13705 #line 13706 "configure"
13706 #include "confdefs.h"
13707 /* System header to define __stub macros and hopefully few prototypes,
13708 which can conflict with char $ac_func(); below. */
13709 #include <assert.h>
13710 /* Override any gcc2 internal prototype to avoid an error. */
13711 /* We use char because int might match the return type of a gcc2
13712 builtin and then its argument prototype would still apply. */
13717 /* The GNU C library defines this for functions which it implements
13718 to always fail with ENOSYS. Some functions are actually named
13719 something starting with __ and the normal name is an alias. */
13720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13728 if { (eval echo configure:13729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13730 eval "ac_cv_func_$ac_func=yes"
13732 echo "configure: failed program was:" >&5
13733 cat conftest.$ac_ext >&5
13735 eval "ac_cv_func_$ac_func=no"
13740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13741 echo "$ac_t""yes" 1>&6
13742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13743 cat >> confdefs.h <<EOF
13744 #define $ac_tr_func 1
13748 echo "$ac_t""no" 1>&6
13754 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13755 echo "configure:13756: checking for _fabsf declaration" >&5
13756 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13757 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13758 echo $ac_n "(cached) $ac_c" 1>&6
13763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13764 ac_cpp='$CXXCPP $CPPFLAGS'
13765 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13766 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13767 cross_compiling=$ac_cv_prog_cxx_cross
13769 cat > conftest.$ac_ext <<EOF
13770 #line 13771 "configure"
13771 #include "confdefs.h"
13773 #ifdef HAVE_IEEEFP_H
13774 #include <ieeefp.h>
13781 if { (eval echo configure:13782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13783 glibcpp_cv_func__fabsf_use=yes
13785 echo "configure: failed program was:" >&5
13786 cat conftest.$ac_ext >&5
13788 glibcpp_cv_func__fabsf_use=no
13792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13793 ac_cpp='$CPP $CPPFLAGS'
13794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13796 cross_compiling=$ac_cv_prog_cc_cross
13802 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13804 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13805 for ac_func in _fabsf
13807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13808 echo "configure:13809: checking for $ac_func" >&5
13809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13810 echo $ac_n "(cached) $ac_c" 1>&6
13812 cat > conftest.$ac_ext <<EOF
13813 #line 13814 "configure"
13814 #include "confdefs.h"
13815 /* System header to define __stub macros and hopefully few prototypes,
13816 which can conflict with char $ac_func(); below. */
13817 #include <assert.h>
13818 /* Override any gcc2 internal prototype to avoid an error. */
13819 /* We use char because int might match the return type of a gcc2
13820 builtin and then its argument prototype would still apply. */
13825 /* The GNU C library defines this for functions which it implements
13826 to always fail with ENOSYS. Some functions are actually named
13827 something starting with __ and the normal name is an alias. */
13828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13836 if { (eval echo configure:13837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13838 eval "ac_cv_func_$ac_func=yes"
13840 echo "configure: failed program was:" >&5
13841 cat conftest.$ac_ext >&5
13843 eval "ac_cv_func_$ac_func=no"
13848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13849 echo "$ac_t""yes" 1>&6
13850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13851 cat >> confdefs.h <<EOF
13852 #define $ac_tr_func 1
13856 echo "$ac_t""no" 1>&6
13865 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13866 echo "configure:13867: checking for fmodf declaration" >&5
13867 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13868 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13869 echo $ac_n "(cached) $ac_c" 1>&6
13874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13875 ac_cpp='$CXXCPP $CPPFLAGS'
13876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13878 cross_compiling=$ac_cv_prog_cxx_cross
13880 cat > conftest.$ac_ext <<EOF
13881 #line 13882 "configure"
13882 #include "confdefs.h"
13888 if { (eval echo configure:13889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13890 glibcpp_cv_func_fmodf_use=yes
13892 echo "configure: failed program was:" >&5
13893 cat conftest.$ac_ext >&5
13895 glibcpp_cv_func_fmodf_use=no
13899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13900 ac_cpp='$CPP $CPPFLAGS'
13901 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13902 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13903 cross_compiling=$ac_cv_prog_cc_cross
13909 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13911 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13912 for ac_func in fmodf
13914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13915 echo "configure:13916: checking for $ac_func" >&5
13916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13917 echo $ac_n "(cached) $ac_c" 1>&6
13919 cat > conftest.$ac_ext <<EOF
13920 #line 13921 "configure"
13921 #include "confdefs.h"
13922 /* System header to define __stub macros and hopefully few prototypes,
13923 which can conflict with char $ac_func(); below. */
13924 #include <assert.h>
13925 /* Override any gcc2 internal prototype to avoid an error. */
13926 /* We use char because int might match the return type of a gcc2
13927 builtin and then its argument prototype would still apply. */
13932 /* The GNU C library defines this for functions which it implements
13933 to always fail with ENOSYS. Some functions are actually named
13934 something starting with __ and the normal name is an alias. */
13935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13943 if { (eval echo configure:13944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13945 eval "ac_cv_func_$ac_func=yes"
13947 echo "configure: failed program was:" >&5
13948 cat conftest.$ac_ext >&5
13950 eval "ac_cv_func_$ac_func=no"
13955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13956 echo "$ac_t""yes" 1>&6
13957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13958 cat >> confdefs.h <<EOF
13959 #define $ac_tr_func 1
13963 echo "$ac_t""no" 1>&6
13969 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13970 echo "configure:13971: checking for _fmodf declaration" >&5
13971 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13972 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13973 echo $ac_n "(cached) $ac_c" 1>&6
13978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13979 ac_cpp='$CXXCPP $CPPFLAGS'
13980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13982 cross_compiling=$ac_cv_prog_cxx_cross
13984 cat > conftest.$ac_ext <<EOF
13985 #line 13986 "configure"
13986 #include "confdefs.h"
13992 if { (eval echo configure:13993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13994 glibcpp_cv_func__fmodf_use=yes
13996 echo "configure: failed program was:" >&5
13997 cat conftest.$ac_ext >&5
13999 glibcpp_cv_func__fmodf_use=no
14003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14004 ac_cpp='$CPP $CPPFLAGS'
14005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14007 cross_compiling=$ac_cv_prog_cc_cross
14013 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
14015 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
14016 for ac_func in _fmodf
14018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14019 echo "configure:14020: checking for $ac_func" >&5
14020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14021 echo $ac_n "(cached) $ac_c" 1>&6
14023 cat > conftest.$ac_ext <<EOF
14024 #line 14025 "configure"
14025 #include "confdefs.h"
14026 /* System header to define __stub macros and hopefully few prototypes,
14027 which can conflict with char $ac_func(); below. */
14028 #include <assert.h>
14029 /* Override any gcc2 internal prototype to avoid an error. */
14030 /* We use char because int might match the return type of a gcc2
14031 builtin and then its argument prototype would still apply. */
14036 /* The GNU C library defines this for functions which it implements
14037 to always fail with ENOSYS. Some functions are actually named
14038 something starting with __ and the normal name is an alias. */
14039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14047 if { (eval echo configure:14048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14049 eval "ac_cv_func_$ac_func=yes"
14051 echo "configure: failed program was:" >&5
14052 cat conftest.$ac_ext >&5
14054 eval "ac_cv_func_$ac_func=no"
14059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14060 echo "$ac_t""yes" 1>&6
14061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14062 cat >> confdefs.h <<EOF
14063 #define $ac_tr_func 1
14067 echo "$ac_t""no" 1>&6
14076 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
14077 echo "configure:14078: checking for frexpf declaration" >&5
14078 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
14079 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
14080 echo $ac_n "(cached) $ac_c" 1>&6
14085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14086 ac_cpp='$CXXCPP $CPPFLAGS'
14087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14089 cross_compiling=$ac_cv_prog_cxx_cross
14091 cat > conftest.$ac_ext <<EOF
14092 #line 14093 "configure"
14093 #include "confdefs.h"
14099 if { (eval echo configure:14100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14101 glibcpp_cv_func_frexpf_use=yes
14103 echo "configure: failed program was:" >&5
14104 cat conftest.$ac_ext >&5
14106 glibcpp_cv_func_frexpf_use=no
14110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14111 ac_cpp='$CPP $CPPFLAGS'
14112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14114 cross_compiling=$ac_cv_prog_cc_cross
14120 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14122 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14123 for ac_func in frexpf
14125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14126 echo "configure:14127: checking for $ac_func" >&5
14127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14128 echo $ac_n "(cached) $ac_c" 1>&6
14130 cat > conftest.$ac_ext <<EOF
14131 #line 14132 "configure"
14132 #include "confdefs.h"
14133 /* System header to define __stub macros and hopefully few prototypes,
14134 which can conflict with char $ac_func(); below. */
14135 #include <assert.h>
14136 /* Override any gcc2 internal prototype to avoid an error. */
14137 /* We use char because int might match the return type of a gcc2
14138 builtin and then its argument prototype would still apply. */
14143 /* The GNU C library defines this for functions which it implements
14144 to always fail with ENOSYS. Some functions are actually named
14145 something starting with __ and the normal name is an alias. */
14146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14154 if { (eval echo configure:14155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14156 eval "ac_cv_func_$ac_func=yes"
14158 echo "configure: failed program was:" >&5
14159 cat conftest.$ac_ext >&5
14161 eval "ac_cv_func_$ac_func=no"
14166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14167 echo "$ac_t""yes" 1>&6
14168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14169 cat >> confdefs.h <<EOF
14170 #define $ac_tr_func 1
14174 echo "$ac_t""no" 1>&6
14180 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14181 echo "configure:14182: checking for _frexpf declaration" >&5
14182 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14183 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14184 echo $ac_n "(cached) $ac_c" 1>&6
14189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14190 ac_cpp='$CXXCPP $CPPFLAGS'
14191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14193 cross_compiling=$ac_cv_prog_cxx_cross
14195 cat > conftest.$ac_ext <<EOF
14196 #line 14197 "configure"
14197 #include "confdefs.h"
14203 if { (eval echo configure:14204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14205 glibcpp_cv_func__frexpf_use=yes
14207 echo "configure: failed program was:" >&5
14208 cat conftest.$ac_ext >&5
14210 glibcpp_cv_func__frexpf_use=no
14214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14215 ac_cpp='$CPP $CPPFLAGS'
14216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14218 cross_compiling=$ac_cv_prog_cc_cross
14224 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14226 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14227 for ac_func in _frexpf
14229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14230 echo "configure:14231: checking for $ac_func" >&5
14231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14232 echo $ac_n "(cached) $ac_c" 1>&6
14234 cat > conftest.$ac_ext <<EOF
14235 #line 14236 "configure"
14236 #include "confdefs.h"
14237 /* System header to define __stub macros and hopefully few prototypes,
14238 which can conflict with char $ac_func(); below. */
14239 #include <assert.h>
14240 /* Override any gcc2 internal prototype to avoid an error. */
14241 /* We use char because int might match the return type of a gcc2
14242 builtin and then its argument prototype would still apply. */
14247 /* The GNU C library defines this for functions which it implements
14248 to always fail with ENOSYS. Some functions are actually named
14249 something starting with __ and the normal name is an alias. */
14250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14258 if { (eval echo configure:14259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14260 eval "ac_cv_func_$ac_func=yes"
14262 echo "configure: failed program was:" >&5
14263 cat conftest.$ac_ext >&5
14265 eval "ac_cv_func_$ac_func=no"
14270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14271 echo "$ac_t""yes" 1>&6
14272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14273 cat >> confdefs.h <<EOF
14274 #define $ac_tr_func 1
14278 echo "$ac_t""no" 1>&6
14287 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14288 echo "configure:14289: checking for hypotf declaration" >&5
14289 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14290 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14291 echo $ac_n "(cached) $ac_c" 1>&6
14296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14297 ac_cpp='$CXXCPP $CPPFLAGS'
14298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14300 cross_compiling=$ac_cv_prog_cxx_cross
14302 cat > conftest.$ac_ext <<EOF
14303 #line 14304 "configure"
14304 #include "confdefs.h"
14310 if { (eval echo configure:14311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14312 glibcpp_cv_func_hypotf_use=yes
14314 echo "configure: failed program was:" >&5
14315 cat conftest.$ac_ext >&5
14317 glibcpp_cv_func_hypotf_use=no
14321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14322 ac_cpp='$CPP $CPPFLAGS'
14323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14325 cross_compiling=$ac_cv_prog_cc_cross
14331 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14333 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14334 for ac_func in hypotf
14336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14337 echo "configure:14338: checking for $ac_func" >&5
14338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14339 echo $ac_n "(cached) $ac_c" 1>&6
14341 cat > conftest.$ac_ext <<EOF
14342 #line 14343 "configure"
14343 #include "confdefs.h"
14344 /* System header to define __stub macros and hopefully few prototypes,
14345 which can conflict with char $ac_func(); below. */
14346 #include <assert.h>
14347 /* Override any gcc2 internal prototype to avoid an error. */
14348 /* We use char because int might match the return type of a gcc2
14349 builtin and then its argument prototype would still apply. */
14354 /* The GNU C library defines this for functions which it implements
14355 to always fail with ENOSYS. Some functions are actually named
14356 something starting with __ and the normal name is an alias. */
14357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14365 if { (eval echo configure:14366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14367 eval "ac_cv_func_$ac_func=yes"
14369 echo "configure: failed program was:" >&5
14370 cat conftest.$ac_ext >&5
14372 eval "ac_cv_func_$ac_func=no"
14377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14378 echo "$ac_t""yes" 1>&6
14379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14380 cat >> confdefs.h <<EOF
14381 #define $ac_tr_func 1
14385 echo "$ac_t""no" 1>&6
14391 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14392 echo "configure:14393: checking for _hypotf declaration" >&5
14393 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14394 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14395 echo $ac_n "(cached) $ac_c" 1>&6
14400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14401 ac_cpp='$CXXCPP $CPPFLAGS'
14402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14404 cross_compiling=$ac_cv_prog_cxx_cross
14406 cat > conftest.$ac_ext <<EOF
14407 #line 14408 "configure"
14408 #include "confdefs.h"
14414 if { (eval echo configure:14415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14416 glibcpp_cv_func__hypotf_use=yes
14418 echo "configure: failed program was:" >&5
14419 cat conftest.$ac_ext >&5
14421 glibcpp_cv_func__hypotf_use=no
14425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14426 ac_cpp='$CPP $CPPFLAGS'
14427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14429 cross_compiling=$ac_cv_prog_cc_cross
14435 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14437 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14438 for ac_func in _hypotf
14440 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14441 echo "configure:14442: checking for $ac_func" >&5
14442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14443 echo $ac_n "(cached) $ac_c" 1>&6
14445 cat > conftest.$ac_ext <<EOF
14446 #line 14447 "configure"
14447 #include "confdefs.h"
14448 /* System header to define __stub macros and hopefully few prototypes,
14449 which can conflict with char $ac_func(); below. */
14450 #include <assert.h>
14451 /* Override any gcc2 internal prototype to avoid an error. */
14452 /* We use char because int might match the return type of a gcc2
14453 builtin and then its argument prototype would still apply. */
14458 /* The GNU C library defines this for functions which it implements
14459 to always fail with ENOSYS. Some functions are actually named
14460 something starting with __ and the normal name is an alias. */
14461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14469 if { (eval echo configure:14470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14471 eval "ac_cv_func_$ac_func=yes"
14473 echo "configure: failed program was:" >&5
14474 cat conftest.$ac_ext >&5
14476 eval "ac_cv_func_$ac_func=no"
14481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14482 echo "$ac_t""yes" 1>&6
14483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14484 cat >> confdefs.h <<EOF
14485 #define $ac_tr_func 1
14489 echo "$ac_t""no" 1>&6
14498 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14499 echo "configure:14500: checking for ldexpf declaration" >&5
14500 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14501 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14502 echo $ac_n "(cached) $ac_c" 1>&6
14507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14508 ac_cpp='$CXXCPP $CPPFLAGS'
14509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14511 cross_compiling=$ac_cv_prog_cxx_cross
14513 cat > conftest.$ac_ext <<EOF
14514 #line 14515 "configure"
14515 #include "confdefs.h"
14521 if { (eval echo configure:14522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14523 glibcpp_cv_func_ldexpf_use=yes
14525 echo "configure: failed program was:" >&5
14526 cat conftest.$ac_ext >&5
14528 glibcpp_cv_func_ldexpf_use=no
14532 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14533 ac_cpp='$CPP $CPPFLAGS'
14534 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14535 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14536 cross_compiling=$ac_cv_prog_cc_cross
14542 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14544 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14545 for ac_func in ldexpf
14547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14548 echo "configure:14549: checking for $ac_func" >&5
14549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14550 echo $ac_n "(cached) $ac_c" 1>&6
14552 cat > conftest.$ac_ext <<EOF
14553 #line 14554 "configure"
14554 #include "confdefs.h"
14555 /* System header to define __stub macros and hopefully few prototypes,
14556 which can conflict with char $ac_func(); below. */
14557 #include <assert.h>
14558 /* Override any gcc2 internal prototype to avoid an error. */
14559 /* We use char because int might match the return type of a gcc2
14560 builtin and then its argument prototype would still apply. */
14565 /* The GNU C library defines this for functions which it implements
14566 to always fail with ENOSYS. Some functions are actually named
14567 something starting with __ and the normal name is an alias. */
14568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14576 if { (eval echo configure:14577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14578 eval "ac_cv_func_$ac_func=yes"
14580 echo "configure: failed program was:" >&5
14581 cat conftest.$ac_ext >&5
14583 eval "ac_cv_func_$ac_func=no"
14588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14589 echo "$ac_t""yes" 1>&6
14590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14591 cat >> confdefs.h <<EOF
14592 #define $ac_tr_func 1
14596 echo "$ac_t""no" 1>&6
14602 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14603 echo "configure:14604: checking for _ldexpf declaration" >&5
14604 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14605 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14606 echo $ac_n "(cached) $ac_c" 1>&6
14611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14612 ac_cpp='$CXXCPP $CPPFLAGS'
14613 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14614 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14615 cross_compiling=$ac_cv_prog_cxx_cross
14617 cat > conftest.$ac_ext <<EOF
14618 #line 14619 "configure"
14619 #include "confdefs.h"
14625 if { (eval echo configure:14626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14627 glibcpp_cv_func__ldexpf_use=yes
14629 echo "configure: failed program was:" >&5
14630 cat conftest.$ac_ext >&5
14632 glibcpp_cv_func__ldexpf_use=no
14636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14637 ac_cpp='$CPP $CPPFLAGS'
14638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14640 cross_compiling=$ac_cv_prog_cc_cross
14646 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14648 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14649 for ac_func in _ldexpf
14651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14652 echo "configure:14653: checking for $ac_func" >&5
14653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14654 echo $ac_n "(cached) $ac_c" 1>&6
14656 cat > conftest.$ac_ext <<EOF
14657 #line 14658 "configure"
14658 #include "confdefs.h"
14659 /* System header to define __stub macros and hopefully few prototypes,
14660 which can conflict with char $ac_func(); below. */
14661 #include <assert.h>
14662 /* Override any gcc2 internal prototype to avoid an error. */
14663 /* We use char because int might match the return type of a gcc2
14664 builtin and then its argument prototype would still apply. */
14669 /* The GNU C library defines this for functions which it implements
14670 to always fail with ENOSYS. Some functions are actually named
14671 something starting with __ and the normal name is an alias. */
14672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14680 if { (eval echo configure:14681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14682 eval "ac_cv_func_$ac_func=yes"
14684 echo "configure: failed program was:" >&5
14685 cat conftest.$ac_ext >&5
14687 eval "ac_cv_func_$ac_func=no"
14692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14693 echo "$ac_t""yes" 1>&6
14694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14695 cat >> confdefs.h <<EOF
14696 #define $ac_tr_func 1
14700 echo "$ac_t""no" 1>&6
14709 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14710 echo "configure:14711: checking for logf declaration" >&5
14711 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14712 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14713 echo $ac_n "(cached) $ac_c" 1>&6
14718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14719 ac_cpp='$CXXCPP $CPPFLAGS'
14720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14722 cross_compiling=$ac_cv_prog_cxx_cross
14724 cat > conftest.$ac_ext <<EOF
14725 #line 14726 "configure"
14726 #include "confdefs.h"
14728 #ifdef HAVE_IEEEFP_H
14729 #include <ieeefp.h>
14736 if { (eval echo configure:14737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14738 glibcpp_cv_func_logf_use=yes
14740 echo "configure: failed program was:" >&5
14741 cat conftest.$ac_ext >&5
14743 glibcpp_cv_func_logf_use=no
14747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14748 ac_cpp='$CPP $CPPFLAGS'
14749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14751 cross_compiling=$ac_cv_prog_cc_cross
14757 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14759 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14760 for ac_func in logf
14762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14763 echo "configure:14764: checking for $ac_func" >&5
14764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14765 echo $ac_n "(cached) $ac_c" 1>&6
14767 cat > conftest.$ac_ext <<EOF
14768 #line 14769 "configure"
14769 #include "confdefs.h"
14770 /* System header to define __stub macros and hopefully few prototypes,
14771 which can conflict with char $ac_func(); below. */
14772 #include <assert.h>
14773 /* Override any gcc2 internal prototype to avoid an error. */
14774 /* We use char because int might match the return type of a gcc2
14775 builtin and then its argument prototype would still apply. */
14780 /* The GNU C library defines this for functions which it implements
14781 to always fail with ENOSYS. Some functions are actually named
14782 something starting with __ and the normal name is an alias. */
14783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14791 if { (eval echo configure:14792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14793 eval "ac_cv_func_$ac_func=yes"
14795 echo "configure: failed program was:" >&5
14796 cat conftest.$ac_ext >&5
14798 eval "ac_cv_func_$ac_func=no"
14803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14804 echo "$ac_t""yes" 1>&6
14805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14806 cat >> confdefs.h <<EOF
14807 #define $ac_tr_func 1
14811 echo "$ac_t""no" 1>&6
14817 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14818 echo "configure:14819: checking for _logf declaration" >&5
14819 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14820 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14821 echo $ac_n "(cached) $ac_c" 1>&6
14826 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14827 ac_cpp='$CXXCPP $CPPFLAGS'
14828 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14829 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14830 cross_compiling=$ac_cv_prog_cxx_cross
14832 cat > conftest.$ac_ext <<EOF
14833 #line 14834 "configure"
14834 #include "confdefs.h"
14836 #ifdef HAVE_IEEEFP_H
14837 #include <ieeefp.h>
14844 if { (eval echo configure:14845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14846 glibcpp_cv_func__logf_use=yes
14848 echo "configure: failed program was:" >&5
14849 cat conftest.$ac_ext >&5
14851 glibcpp_cv_func__logf_use=no
14855 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14856 ac_cpp='$CPP $CPPFLAGS'
14857 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14858 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14859 cross_compiling=$ac_cv_prog_cc_cross
14865 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14867 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14868 for ac_func in _logf
14870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14871 echo "configure:14872: checking for $ac_func" >&5
14872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14873 echo $ac_n "(cached) $ac_c" 1>&6
14875 cat > conftest.$ac_ext <<EOF
14876 #line 14877 "configure"
14877 #include "confdefs.h"
14878 /* System header to define __stub macros and hopefully few prototypes,
14879 which can conflict with char $ac_func(); below. */
14880 #include <assert.h>
14881 /* Override any gcc2 internal prototype to avoid an error. */
14882 /* We use char because int might match the return type of a gcc2
14883 builtin and then its argument prototype would still apply. */
14888 /* The GNU C library defines this for functions which it implements
14889 to always fail with ENOSYS. Some functions are actually named
14890 something starting with __ and the normal name is an alias. */
14891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14899 if { (eval echo configure:14900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14901 eval "ac_cv_func_$ac_func=yes"
14903 echo "configure: failed program was:" >&5
14904 cat conftest.$ac_ext >&5
14906 eval "ac_cv_func_$ac_func=no"
14911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14912 echo "$ac_t""yes" 1>&6
14913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14914 cat >> confdefs.h <<EOF
14915 #define $ac_tr_func 1
14919 echo "$ac_t""no" 1>&6
14928 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14929 echo "configure:14930: checking for log10f declaration" >&5
14930 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14931 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14932 echo $ac_n "(cached) $ac_c" 1>&6
14937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14938 ac_cpp='$CXXCPP $CPPFLAGS'
14939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14941 cross_compiling=$ac_cv_prog_cxx_cross
14943 cat > conftest.$ac_ext <<EOF
14944 #line 14945 "configure"
14945 #include "confdefs.h"
14947 #ifdef HAVE_IEEEFP_H
14948 #include <ieeefp.h>
14955 if { (eval echo configure:14956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14957 glibcpp_cv_func_log10f_use=yes
14959 echo "configure: failed program was:" >&5
14960 cat conftest.$ac_ext >&5
14962 glibcpp_cv_func_log10f_use=no
14966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14967 ac_cpp='$CPP $CPPFLAGS'
14968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14970 cross_compiling=$ac_cv_prog_cc_cross
14976 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14978 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14979 for ac_func in log10f
14981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14982 echo "configure:14983: checking for $ac_func" >&5
14983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14984 echo $ac_n "(cached) $ac_c" 1>&6
14986 cat > conftest.$ac_ext <<EOF
14987 #line 14988 "configure"
14988 #include "confdefs.h"
14989 /* System header to define __stub macros and hopefully few prototypes,
14990 which can conflict with char $ac_func(); below. */
14991 #include <assert.h>
14992 /* Override any gcc2 internal prototype to avoid an error. */
14993 /* We use char because int might match the return type of a gcc2
14994 builtin and then its argument prototype would still apply. */
14999 /* The GNU C library defines this for functions which it implements
15000 to always fail with ENOSYS. Some functions are actually named
15001 something starting with __ and the normal name is an alias. */
15002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15010 if { (eval echo configure:15011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15012 eval "ac_cv_func_$ac_func=yes"
15014 echo "configure: failed program was:" >&5
15015 cat conftest.$ac_ext >&5
15017 eval "ac_cv_func_$ac_func=no"
15022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15023 echo "$ac_t""yes" 1>&6
15024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15025 cat >> confdefs.h <<EOF
15026 #define $ac_tr_func 1
15030 echo "$ac_t""no" 1>&6
15036 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
15037 echo "configure:15038: checking for _log10f declaration" >&5
15038 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
15039 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
15040 echo $ac_n "(cached) $ac_c" 1>&6
15045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15046 ac_cpp='$CXXCPP $CPPFLAGS'
15047 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15048 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15049 cross_compiling=$ac_cv_prog_cxx_cross
15051 cat > conftest.$ac_ext <<EOF
15052 #line 15053 "configure"
15053 #include "confdefs.h"
15055 #ifdef HAVE_IEEEFP_H
15056 #include <ieeefp.h>
15063 if { (eval echo configure:15064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15065 glibcpp_cv_func__log10f_use=yes
15067 echo "configure: failed program was:" >&5
15068 cat conftest.$ac_ext >&5
15070 glibcpp_cv_func__log10f_use=no
15074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15075 ac_cpp='$CPP $CPPFLAGS'
15076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15078 cross_compiling=$ac_cv_prog_cc_cross
15084 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
15086 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
15087 for ac_func in _log10f
15089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15090 echo "configure:15091: checking for $ac_func" >&5
15091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15092 echo $ac_n "(cached) $ac_c" 1>&6
15094 cat > conftest.$ac_ext <<EOF
15095 #line 15096 "configure"
15096 #include "confdefs.h"
15097 /* System header to define __stub macros and hopefully few prototypes,
15098 which can conflict with char $ac_func(); below. */
15099 #include <assert.h>
15100 /* Override any gcc2 internal prototype to avoid an error. */
15101 /* We use char because int might match the return type of a gcc2
15102 builtin and then its argument prototype would still apply. */
15107 /* The GNU C library defines this for functions which it implements
15108 to always fail with ENOSYS. Some functions are actually named
15109 something starting with __ and the normal name is an alias. */
15110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15118 if { (eval echo configure:15119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15120 eval "ac_cv_func_$ac_func=yes"
15122 echo "configure: failed program was:" >&5
15123 cat conftest.$ac_ext >&5
15125 eval "ac_cv_func_$ac_func=no"
15130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15131 echo "$ac_t""yes" 1>&6
15132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15133 cat >> confdefs.h <<EOF
15134 #define $ac_tr_func 1
15138 echo "$ac_t""no" 1>&6
15147 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15148 echo "configure:15149: checking for modff declaration" >&5
15149 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15150 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15151 echo $ac_n "(cached) $ac_c" 1>&6
15156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15157 ac_cpp='$CXXCPP $CPPFLAGS'
15158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15160 cross_compiling=$ac_cv_prog_cxx_cross
15162 cat > conftest.$ac_ext <<EOF
15163 #line 15164 "configure"
15164 #include "confdefs.h"
15170 if { (eval echo configure:15171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15172 glibcpp_cv_func_modff_use=yes
15174 echo "configure: failed program was:" >&5
15175 cat conftest.$ac_ext >&5
15177 glibcpp_cv_func_modff_use=no
15181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15182 ac_cpp='$CPP $CPPFLAGS'
15183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15185 cross_compiling=$ac_cv_prog_cc_cross
15191 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15193 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15194 for ac_func in modff
15196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15197 echo "configure:15198: checking for $ac_func" >&5
15198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15199 echo $ac_n "(cached) $ac_c" 1>&6
15201 cat > conftest.$ac_ext <<EOF
15202 #line 15203 "configure"
15203 #include "confdefs.h"
15204 /* System header to define __stub macros and hopefully few prototypes,
15205 which can conflict with char $ac_func(); below. */
15206 #include <assert.h>
15207 /* Override any gcc2 internal prototype to avoid an error. */
15208 /* We use char because int might match the return type of a gcc2
15209 builtin and then its argument prototype would still apply. */
15214 /* The GNU C library defines this for functions which it implements
15215 to always fail with ENOSYS. Some functions are actually named
15216 something starting with __ and the normal name is an alias. */
15217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15225 if { (eval echo configure:15226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15227 eval "ac_cv_func_$ac_func=yes"
15229 echo "configure: failed program was:" >&5
15230 cat conftest.$ac_ext >&5
15232 eval "ac_cv_func_$ac_func=no"
15237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15238 echo "$ac_t""yes" 1>&6
15239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15240 cat >> confdefs.h <<EOF
15241 #define $ac_tr_func 1
15245 echo "$ac_t""no" 1>&6
15251 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15252 echo "configure:15253: checking for _modff declaration" >&5
15253 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15254 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15255 echo $ac_n "(cached) $ac_c" 1>&6
15260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15261 ac_cpp='$CXXCPP $CPPFLAGS'
15262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15264 cross_compiling=$ac_cv_prog_cxx_cross
15266 cat > conftest.$ac_ext <<EOF
15267 #line 15268 "configure"
15268 #include "confdefs.h"
15274 if { (eval echo configure:15275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15276 glibcpp_cv_func__modff_use=yes
15278 echo "configure: failed program was:" >&5
15279 cat conftest.$ac_ext >&5
15281 glibcpp_cv_func__modff_use=no
15285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15286 ac_cpp='$CPP $CPPFLAGS'
15287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15289 cross_compiling=$ac_cv_prog_cc_cross
15295 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15297 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15298 for ac_func in _modff
15300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15301 echo "configure:15302: checking for $ac_func" >&5
15302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15303 echo $ac_n "(cached) $ac_c" 1>&6
15305 cat > conftest.$ac_ext <<EOF
15306 #line 15307 "configure"
15307 #include "confdefs.h"
15308 /* System header to define __stub macros and hopefully few prototypes,
15309 which can conflict with char $ac_func(); below. */
15310 #include <assert.h>
15311 /* Override any gcc2 internal prototype to avoid an error. */
15312 /* We use char because int might match the return type of a gcc2
15313 builtin and then its argument prototype would still apply. */
15318 /* The GNU C library defines this for functions which it implements
15319 to always fail with ENOSYS. Some functions are actually named
15320 something starting with __ and the normal name is an alias. */
15321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15329 if { (eval echo configure:15330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15331 eval "ac_cv_func_$ac_func=yes"
15333 echo "configure: failed program was:" >&5
15334 cat conftest.$ac_ext >&5
15336 eval "ac_cv_func_$ac_func=no"
15341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15342 echo "$ac_t""yes" 1>&6
15343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15344 cat >> confdefs.h <<EOF
15345 #define $ac_tr_func 1
15349 echo "$ac_t""no" 1>&6
15358 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15359 echo "configure:15360: checking for powf declaration" >&5
15360 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15361 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15362 echo $ac_n "(cached) $ac_c" 1>&6
15367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15368 ac_cpp='$CXXCPP $CPPFLAGS'
15369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15371 cross_compiling=$ac_cv_prog_cxx_cross
15373 cat > conftest.$ac_ext <<EOF
15374 #line 15375 "configure"
15375 #include "confdefs.h"
15381 if { (eval echo configure:15382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15383 glibcpp_cv_func_powf_use=yes
15385 echo "configure: failed program was:" >&5
15386 cat conftest.$ac_ext >&5
15388 glibcpp_cv_func_powf_use=no
15392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15393 ac_cpp='$CPP $CPPFLAGS'
15394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15396 cross_compiling=$ac_cv_prog_cc_cross
15402 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15404 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15405 for ac_func in powf
15407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15408 echo "configure:15409: checking for $ac_func" >&5
15409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15410 echo $ac_n "(cached) $ac_c" 1>&6
15412 cat > conftest.$ac_ext <<EOF
15413 #line 15414 "configure"
15414 #include "confdefs.h"
15415 /* System header to define __stub macros and hopefully few prototypes,
15416 which can conflict with char $ac_func(); below. */
15417 #include <assert.h>
15418 /* Override any gcc2 internal prototype to avoid an error. */
15419 /* We use char because int might match the return type of a gcc2
15420 builtin and then its argument prototype would still apply. */
15425 /* The GNU C library defines this for functions which it implements
15426 to always fail with ENOSYS. Some functions are actually named
15427 something starting with __ and the normal name is an alias. */
15428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15436 if { (eval echo configure:15437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15438 eval "ac_cv_func_$ac_func=yes"
15440 echo "configure: failed program was:" >&5
15441 cat conftest.$ac_ext >&5
15443 eval "ac_cv_func_$ac_func=no"
15448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15449 echo "$ac_t""yes" 1>&6
15450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15451 cat >> confdefs.h <<EOF
15452 #define $ac_tr_func 1
15456 echo "$ac_t""no" 1>&6
15462 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15463 echo "configure:15464: checking for _powf declaration" >&5
15464 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15465 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15466 echo $ac_n "(cached) $ac_c" 1>&6
15471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15472 ac_cpp='$CXXCPP $CPPFLAGS'
15473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15475 cross_compiling=$ac_cv_prog_cxx_cross
15477 cat > conftest.$ac_ext <<EOF
15478 #line 15479 "configure"
15479 #include "confdefs.h"
15485 if { (eval echo configure:15486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15487 glibcpp_cv_func__powf_use=yes
15489 echo "configure: failed program was:" >&5
15490 cat conftest.$ac_ext >&5
15492 glibcpp_cv_func__powf_use=no
15496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15497 ac_cpp='$CPP $CPPFLAGS'
15498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15500 cross_compiling=$ac_cv_prog_cc_cross
15506 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15508 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15509 for ac_func in _powf
15511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15512 echo "configure:15513: checking for $ac_func" >&5
15513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15514 echo $ac_n "(cached) $ac_c" 1>&6
15516 cat > conftest.$ac_ext <<EOF
15517 #line 15518 "configure"
15518 #include "confdefs.h"
15519 /* System header to define __stub macros and hopefully few prototypes,
15520 which can conflict with char $ac_func(); below. */
15521 #include <assert.h>
15522 /* Override any gcc2 internal prototype to avoid an error. */
15523 /* We use char because int might match the return type of a gcc2
15524 builtin and then its argument prototype would still apply. */
15529 /* The GNU C library defines this for functions which it implements
15530 to always fail with ENOSYS. Some functions are actually named
15531 something starting with __ and the normal name is an alias. */
15532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15540 if { (eval echo configure:15541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15542 eval "ac_cv_func_$ac_func=yes"
15544 echo "configure: failed program was:" >&5
15545 cat conftest.$ac_ext >&5
15547 eval "ac_cv_func_$ac_func=no"
15552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15553 echo "$ac_t""yes" 1>&6
15554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15555 cat >> confdefs.h <<EOF
15556 #define $ac_tr_func 1
15560 echo "$ac_t""no" 1>&6
15569 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15570 echo "configure:15571: checking for sqrtf declaration" >&5
15571 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15572 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15573 echo $ac_n "(cached) $ac_c" 1>&6
15578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15579 ac_cpp='$CXXCPP $CPPFLAGS'
15580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15582 cross_compiling=$ac_cv_prog_cxx_cross
15584 cat > conftest.$ac_ext <<EOF
15585 #line 15586 "configure"
15586 #include "confdefs.h"
15588 #ifdef HAVE_IEEEFP_H
15589 #include <ieeefp.h>
15596 if { (eval echo configure:15597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15598 glibcpp_cv_func_sqrtf_use=yes
15600 echo "configure: failed program was:" >&5
15601 cat conftest.$ac_ext >&5
15603 glibcpp_cv_func_sqrtf_use=no
15607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15608 ac_cpp='$CPP $CPPFLAGS'
15609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15611 cross_compiling=$ac_cv_prog_cc_cross
15617 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15619 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15620 for ac_func in sqrtf
15622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15623 echo "configure:15624: checking for $ac_func" >&5
15624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15625 echo $ac_n "(cached) $ac_c" 1>&6
15627 cat > conftest.$ac_ext <<EOF
15628 #line 15629 "configure"
15629 #include "confdefs.h"
15630 /* System header to define __stub macros and hopefully few prototypes,
15631 which can conflict with char $ac_func(); below. */
15632 #include <assert.h>
15633 /* Override any gcc2 internal prototype to avoid an error. */
15634 /* We use char because int might match the return type of a gcc2
15635 builtin and then its argument prototype would still apply. */
15640 /* The GNU C library defines this for functions which it implements
15641 to always fail with ENOSYS. Some functions are actually named
15642 something starting with __ and the normal name is an alias. */
15643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15651 if { (eval echo configure:15652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15653 eval "ac_cv_func_$ac_func=yes"
15655 echo "configure: failed program was:" >&5
15656 cat conftest.$ac_ext >&5
15658 eval "ac_cv_func_$ac_func=no"
15663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15664 echo "$ac_t""yes" 1>&6
15665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15666 cat >> confdefs.h <<EOF
15667 #define $ac_tr_func 1
15671 echo "$ac_t""no" 1>&6
15677 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15678 echo "configure:15679: checking for _sqrtf declaration" >&5
15679 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15680 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15681 echo $ac_n "(cached) $ac_c" 1>&6
15686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15687 ac_cpp='$CXXCPP $CPPFLAGS'
15688 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15689 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15690 cross_compiling=$ac_cv_prog_cxx_cross
15692 cat > conftest.$ac_ext <<EOF
15693 #line 15694 "configure"
15694 #include "confdefs.h"
15696 #ifdef HAVE_IEEEFP_H
15697 #include <ieeefp.h>
15704 if { (eval echo configure:15705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15706 glibcpp_cv_func__sqrtf_use=yes
15708 echo "configure: failed program was:" >&5
15709 cat conftest.$ac_ext >&5
15711 glibcpp_cv_func__sqrtf_use=no
15715 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15716 ac_cpp='$CPP $CPPFLAGS'
15717 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15718 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15719 cross_compiling=$ac_cv_prog_cc_cross
15725 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15727 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15728 for ac_func in _sqrtf
15730 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15731 echo "configure:15732: checking for $ac_func" >&5
15732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15733 echo $ac_n "(cached) $ac_c" 1>&6
15735 cat > conftest.$ac_ext <<EOF
15736 #line 15737 "configure"
15737 #include "confdefs.h"
15738 /* System header to define __stub macros and hopefully few prototypes,
15739 which can conflict with char $ac_func(); below. */
15740 #include <assert.h>
15741 /* Override any gcc2 internal prototype to avoid an error. */
15742 /* We use char because int might match the return type of a gcc2
15743 builtin and then its argument prototype would still apply. */
15748 /* The GNU C library defines this for functions which it implements
15749 to always fail with ENOSYS. Some functions are actually named
15750 something starting with __ and the normal name is an alias. */
15751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15759 if { (eval echo configure:15760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15761 eval "ac_cv_func_$ac_func=yes"
15763 echo "configure: failed program was:" >&5
15764 cat conftest.$ac_ext >&5
15766 eval "ac_cv_func_$ac_func=no"
15771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15772 echo "$ac_t""yes" 1>&6
15773 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15774 cat >> confdefs.h <<EOF
15775 #define $ac_tr_func 1
15779 echo "$ac_t""no" 1>&6
15788 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15789 echo "configure:15790: checking for sincosf declaration" >&5
15790 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15791 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15792 echo $ac_n "(cached) $ac_c" 1>&6
15797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15798 ac_cpp='$CXXCPP $CPPFLAGS'
15799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15801 cross_compiling=$ac_cv_prog_cxx_cross
15803 cat > conftest.$ac_ext <<EOF
15804 #line 15805 "configure"
15805 #include "confdefs.h"
15811 if { (eval echo configure:15812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15813 glibcpp_cv_func_sincosf_use=yes
15815 echo "configure: failed program was:" >&5
15816 cat conftest.$ac_ext >&5
15818 glibcpp_cv_func_sincosf_use=no
15822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15823 ac_cpp='$CPP $CPPFLAGS'
15824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15826 cross_compiling=$ac_cv_prog_cc_cross
15832 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15834 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15835 for ac_func in sincosf
15837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15838 echo "configure:15839: checking for $ac_func" >&5
15839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15840 echo $ac_n "(cached) $ac_c" 1>&6
15842 cat > conftest.$ac_ext <<EOF
15843 #line 15844 "configure"
15844 #include "confdefs.h"
15845 /* System header to define __stub macros and hopefully few prototypes,
15846 which can conflict with char $ac_func(); below. */
15847 #include <assert.h>
15848 /* Override any gcc2 internal prototype to avoid an error. */
15849 /* We use char because int might match the return type of a gcc2
15850 builtin and then its argument prototype would still apply. */
15855 /* The GNU C library defines this for functions which it implements
15856 to always fail with ENOSYS. Some functions are actually named
15857 something starting with __ and the normal name is an alias. */
15858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15866 if { (eval echo configure:15867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15868 eval "ac_cv_func_$ac_func=yes"
15870 echo "configure: failed program was:" >&5
15871 cat conftest.$ac_ext >&5
15873 eval "ac_cv_func_$ac_func=no"
15878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15879 echo "$ac_t""yes" 1>&6
15880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15881 cat >> confdefs.h <<EOF
15882 #define $ac_tr_func 1
15886 echo "$ac_t""no" 1>&6
15892 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15893 echo "configure:15894: checking for _sincosf declaration" >&5
15894 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15895 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15896 echo $ac_n "(cached) $ac_c" 1>&6
15901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15902 ac_cpp='$CXXCPP $CPPFLAGS'
15903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15905 cross_compiling=$ac_cv_prog_cxx_cross
15907 cat > conftest.$ac_ext <<EOF
15908 #line 15909 "configure"
15909 #include "confdefs.h"
15915 if { (eval echo configure:15916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15917 glibcpp_cv_func__sincosf_use=yes
15919 echo "configure: failed program was:" >&5
15920 cat conftest.$ac_ext >&5
15922 glibcpp_cv_func__sincosf_use=no
15926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15929 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15930 cross_compiling=$ac_cv_prog_cc_cross
15936 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15938 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15939 for ac_func in _sincosf
15941 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15942 echo "configure:15943: checking for $ac_func" >&5
15943 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15944 echo $ac_n "(cached) $ac_c" 1>&6
15946 cat > conftest.$ac_ext <<EOF
15947 #line 15948 "configure"
15948 #include "confdefs.h"
15949 /* System header to define __stub macros and hopefully few prototypes,
15950 which can conflict with char $ac_func(); below. */
15951 #include <assert.h>
15952 /* Override any gcc2 internal prototype to avoid an error. */
15953 /* We use char because int might match the return type of a gcc2
15954 builtin and then its argument prototype would still apply. */
15959 /* The GNU C library defines this for functions which it implements
15960 to always fail with ENOSYS. Some functions are actually named
15961 something starting with __ and the normal name is an alias. */
15962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15970 if { (eval echo configure:15971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15972 eval "ac_cv_func_$ac_func=yes"
15974 echo "configure: failed program was:" >&5
15975 cat conftest.$ac_ext >&5
15977 eval "ac_cv_func_$ac_func=no"
15982 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15983 echo "$ac_t""yes" 1>&6
15984 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15985 cat >> confdefs.h <<EOF
15986 #define $ac_tr_func 1
15990 echo "$ac_t""no" 1>&6
15999 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
16000 echo "configure:16001: checking for finitef declaration" >&5
16001 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
16002 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
16003 echo $ac_n "(cached) $ac_c" 1>&6
16008 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16009 ac_cpp='$CXXCPP $CPPFLAGS'
16010 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16011 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16012 cross_compiling=$ac_cv_prog_cxx_cross
16014 cat > conftest.$ac_ext <<EOF
16015 #line 16016 "configure"
16016 #include "confdefs.h"
16018 #ifdef HAVE_IEEEFP_H
16019 #include <ieeefp.h>
16026 if { (eval echo configure:16027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16028 glibcpp_cv_func_finitef_use=yes
16030 echo "configure: failed program was:" >&5
16031 cat conftest.$ac_ext >&5
16033 glibcpp_cv_func_finitef_use=no
16037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16038 ac_cpp='$CPP $CPPFLAGS'
16039 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16040 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16041 cross_compiling=$ac_cv_prog_cc_cross
16047 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
16049 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
16050 for ac_func in finitef
16052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16053 echo "configure:16054: checking for $ac_func" >&5
16054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16055 echo $ac_n "(cached) $ac_c" 1>&6
16057 cat > conftest.$ac_ext <<EOF
16058 #line 16059 "configure"
16059 #include "confdefs.h"
16060 /* System header to define __stub macros and hopefully few prototypes,
16061 which can conflict with char $ac_func(); below. */
16062 #include <assert.h>
16063 /* Override any gcc2 internal prototype to avoid an error. */
16064 /* We use char because int might match the return type of a gcc2
16065 builtin and then its argument prototype would still apply. */
16070 /* The GNU C library defines this for functions which it implements
16071 to always fail with ENOSYS. Some functions are actually named
16072 something starting with __ and the normal name is an alias. */
16073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16081 if { (eval echo configure:16082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16083 eval "ac_cv_func_$ac_func=yes"
16085 echo "configure: failed program was:" >&5
16086 cat conftest.$ac_ext >&5
16088 eval "ac_cv_func_$ac_func=no"
16093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16094 echo "$ac_t""yes" 1>&6
16095 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16096 cat >> confdefs.h <<EOF
16097 #define $ac_tr_func 1
16101 echo "$ac_t""no" 1>&6
16107 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
16108 echo "configure:16109: checking for _finitef declaration" >&5
16109 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16110 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16111 echo $ac_n "(cached) $ac_c" 1>&6
16116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16117 ac_cpp='$CXXCPP $CPPFLAGS'
16118 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16119 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16120 cross_compiling=$ac_cv_prog_cxx_cross
16122 cat > conftest.$ac_ext <<EOF
16123 #line 16124 "configure"
16124 #include "confdefs.h"
16126 #ifdef HAVE_IEEEFP_H
16127 #include <ieeefp.h>
16134 if { (eval echo configure:16135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16136 glibcpp_cv_func__finitef_use=yes
16138 echo "configure: failed program was:" >&5
16139 cat conftest.$ac_ext >&5
16141 glibcpp_cv_func__finitef_use=no
16145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16146 ac_cpp='$CPP $CPPFLAGS'
16147 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16148 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16149 cross_compiling=$ac_cv_prog_cc_cross
16155 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16157 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16158 for ac_func in _finitef
16160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16161 echo "configure:16162: checking for $ac_func" >&5
16162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16163 echo $ac_n "(cached) $ac_c" 1>&6
16165 cat > conftest.$ac_ext <<EOF
16166 #line 16167 "configure"
16167 #include "confdefs.h"
16168 /* System header to define __stub macros and hopefully few prototypes,
16169 which can conflict with char $ac_func(); below. */
16170 #include <assert.h>
16171 /* Override any gcc2 internal prototype to avoid an error. */
16172 /* We use char because int might match the return type of a gcc2
16173 builtin and then its argument prototype would still apply. */
16178 /* The GNU C library defines this for functions which it implements
16179 to always fail with ENOSYS. Some functions are actually named
16180 something starting with __ and the normal name is an alias. */
16181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16189 if { (eval echo configure:16190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16191 eval "ac_cv_func_$ac_func=yes"
16193 echo "configure: failed program was:" >&5
16194 cat conftest.$ac_ext >&5
16196 eval "ac_cv_func_$ac_func=no"
16201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16202 echo "$ac_t""yes" 1>&6
16203 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16204 cat >> confdefs.h <<EOF
16205 #define $ac_tr_func 1
16209 echo "$ac_t""no" 1>&6
16218 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16219 echo "configure:16220: checking for long double trig functions" >&5
16220 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16221 echo $ac_n "(cached) $ac_c" 1>&6
16226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16227 ac_cpp='$CXXCPP $CPPFLAGS'
16228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16230 cross_compiling=$ac_cv_prog_cxx_cross
16232 cat > conftest.$ac_ext <<EOF
16233 #line 16234 "configure"
16234 #include "confdefs.h"
16237 `for x in acosl asinl atanl \
16239 coshl sinhl tanhl; do echo "$x (0);"; done`
16242 if { (eval echo configure:16243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16244 glibcpp_cv_func_long_double_trig_use=yes
16246 echo "configure: failed program was:" >&5
16247 cat conftest.$ac_ext >&5
16249 glibcpp_cv_func_long_double_trig_use=no
16253 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16254 ac_cpp='$CPP $CPPFLAGS'
16255 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16256 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16257 cross_compiling=$ac_cv_prog_cc_cross
16261 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16262 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16263 for ac_func in acosl asinl atanl \
16267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16268 echo "configure:16269: checking for $ac_func" >&5
16269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16270 echo $ac_n "(cached) $ac_c" 1>&6
16272 cat > conftest.$ac_ext <<EOF
16273 #line 16274 "configure"
16274 #include "confdefs.h"
16275 /* System header to define __stub macros and hopefully few prototypes,
16276 which can conflict with char $ac_func(); below. */
16277 #include <assert.h>
16278 /* Override any gcc2 internal prototype to avoid an error. */
16279 /* We use char because int might match the return type of a gcc2
16280 builtin and then its argument prototype would still apply. */
16285 /* The GNU C library defines this for functions which it implements
16286 to always fail with ENOSYS. Some functions are actually named
16287 something starting with __ and the normal name is an alias. */
16288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16296 if { (eval echo configure:16297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16298 eval "ac_cv_func_$ac_func=yes"
16300 echo "configure: failed program was:" >&5
16301 cat conftest.$ac_ext >&5
16303 eval "ac_cv_func_$ac_func=no"
16308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16309 echo "$ac_t""yes" 1>&6
16310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16311 cat >> confdefs.h <<EOF
16312 #define $ac_tr_func 1
16316 echo "$ac_t""no" 1>&6
16323 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16324 echo "configure:16325: checking for long double round functions" >&5
16325 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16326 echo $ac_n "(cached) $ac_c" 1>&6
16331 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16332 ac_cpp='$CXXCPP $CPPFLAGS'
16333 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16334 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16335 cross_compiling=$ac_cv_prog_cxx_cross
16337 cat > conftest.$ac_ext <<EOF
16338 #line 16339 "configure"
16339 #include "confdefs.h"
16342 `for x in ceill floorl; do echo "$x (0);"; done`
16345 if { (eval echo configure:16346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16347 glibcpp_cv_func_long_double_round_use=yes
16349 echo "configure: failed program was:" >&5
16350 cat conftest.$ac_ext >&5
16352 glibcpp_cv_func_long_double_round_use=no
16356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16357 ac_cpp='$CPP $CPPFLAGS'
16358 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16359 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16360 cross_compiling=$ac_cv_prog_cc_cross
16364 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16365 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16366 for ac_func in ceill floorl
16368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16369 echo "configure:16370: checking for $ac_func" >&5
16370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16371 echo $ac_n "(cached) $ac_c" 1>&6
16373 cat > conftest.$ac_ext <<EOF
16374 #line 16375 "configure"
16375 #include "confdefs.h"
16376 /* System header to define __stub macros and hopefully few prototypes,
16377 which can conflict with char $ac_func(); below. */
16378 #include <assert.h>
16379 /* Override any gcc2 internal prototype to avoid an error. */
16380 /* We use char because int might match the return type of a gcc2
16381 builtin and then its argument prototype would still apply. */
16386 /* The GNU C library defines this for functions which it implements
16387 to always fail with ENOSYS. Some functions are actually named
16388 something starting with __ and the normal name is an alias. */
16389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16397 if { (eval echo configure:16398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16399 eval "ac_cv_func_$ac_func=yes"
16401 echo "configure: failed program was:" >&5
16402 cat conftest.$ac_ext >&5
16404 eval "ac_cv_func_$ac_func=no"
16409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16410 echo "$ac_t""yes" 1>&6
16411 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16412 cat >> confdefs.h <<EOF
16413 #define $ac_tr_func 1
16417 echo "$ac_t""no" 1>&6
16425 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16426 echo "configure:16427: checking for isnanl declaration" >&5
16427 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16428 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16429 echo $ac_n "(cached) $ac_c" 1>&6
16434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16435 ac_cpp='$CXXCPP $CPPFLAGS'
16436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16438 cross_compiling=$ac_cv_prog_cxx_cross
16440 cat > conftest.$ac_ext <<EOF
16441 #line 16442 "configure"
16442 #include "confdefs.h"
16444 #ifdef HAVE_IEEEFP_H
16445 #include <ieeefp.h>
16452 if { (eval echo configure:16453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16454 glibcpp_cv_func_isnanl_use=yes
16456 echo "configure: failed program was:" >&5
16457 cat conftest.$ac_ext >&5
16459 glibcpp_cv_func_isnanl_use=no
16463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16464 ac_cpp='$CPP $CPPFLAGS'
16465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16467 cross_compiling=$ac_cv_prog_cc_cross
16473 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16475 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16476 for ac_func in isnanl
16478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16479 echo "configure:16480: checking for $ac_func" >&5
16480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16481 echo $ac_n "(cached) $ac_c" 1>&6
16483 cat > conftest.$ac_ext <<EOF
16484 #line 16485 "configure"
16485 #include "confdefs.h"
16486 /* System header to define __stub macros and hopefully few prototypes,
16487 which can conflict with char $ac_func(); below. */
16488 #include <assert.h>
16489 /* Override any gcc2 internal prototype to avoid an error. */
16490 /* We use char because int might match the return type of a gcc2
16491 builtin and then its argument prototype would still apply. */
16496 /* The GNU C library defines this for functions which it implements
16497 to always fail with ENOSYS. Some functions are actually named
16498 something starting with __ and the normal name is an alias. */
16499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16507 if { (eval echo configure:16508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16509 eval "ac_cv_func_$ac_func=yes"
16511 echo "configure: failed program was:" >&5
16512 cat conftest.$ac_ext >&5
16514 eval "ac_cv_func_$ac_func=no"
16519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16520 echo "$ac_t""yes" 1>&6
16521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16522 cat >> confdefs.h <<EOF
16523 #define $ac_tr_func 1
16527 echo "$ac_t""no" 1>&6
16533 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16534 echo "configure:16535: checking for _isnanl declaration" >&5
16535 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16536 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16537 echo $ac_n "(cached) $ac_c" 1>&6
16542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16543 ac_cpp='$CXXCPP $CPPFLAGS'
16544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16546 cross_compiling=$ac_cv_prog_cxx_cross
16548 cat > conftest.$ac_ext <<EOF
16549 #line 16550 "configure"
16550 #include "confdefs.h"
16552 #ifdef HAVE_IEEEFP_H
16553 #include <ieeefp.h>
16560 if { (eval echo configure:16561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16562 glibcpp_cv_func__isnanl_use=yes
16564 echo "configure: failed program was:" >&5
16565 cat conftest.$ac_ext >&5
16567 glibcpp_cv_func__isnanl_use=no
16571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16572 ac_cpp='$CPP $CPPFLAGS'
16573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16575 cross_compiling=$ac_cv_prog_cc_cross
16581 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16583 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16584 for ac_func in _isnanl
16586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16587 echo "configure:16588: checking for $ac_func" >&5
16588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16589 echo $ac_n "(cached) $ac_c" 1>&6
16591 cat > conftest.$ac_ext <<EOF
16592 #line 16593 "configure"
16593 #include "confdefs.h"
16594 /* System header to define __stub macros and hopefully few prototypes,
16595 which can conflict with char $ac_func(); below. */
16596 #include <assert.h>
16597 /* Override any gcc2 internal prototype to avoid an error. */
16598 /* We use char because int might match the return type of a gcc2
16599 builtin and then its argument prototype would still apply. */
16604 /* The GNU C library defines this for functions which it implements
16605 to always fail with ENOSYS. Some functions are actually named
16606 something starting with __ and the normal name is an alias. */
16607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16615 if { (eval echo configure:16616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16617 eval "ac_cv_func_$ac_func=yes"
16619 echo "configure: failed program was:" >&5
16620 cat conftest.$ac_ext >&5
16622 eval "ac_cv_func_$ac_func=no"
16627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16628 echo "$ac_t""yes" 1>&6
16629 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16630 cat >> confdefs.h <<EOF
16631 #define $ac_tr_func 1
16635 echo "$ac_t""no" 1>&6
16644 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16645 echo "configure:16646: checking for isinfl declaration" >&5
16646 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16647 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16648 echo $ac_n "(cached) $ac_c" 1>&6
16653 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16654 ac_cpp='$CXXCPP $CPPFLAGS'
16655 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16656 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16657 cross_compiling=$ac_cv_prog_cxx_cross
16659 cat > conftest.$ac_ext <<EOF
16660 #line 16661 "configure"
16661 #include "confdefs.h"
16663 #ifdef HAVE_IEEEFP_H
16664 #include <ieeefp.h>
16671 if { (eval echo configure:16672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16673 glibcpp_cv_func_isinfl_use=yes
16675 echo "configure: failed program was:" >&5
16676 cat conftest.$ac_ext >&5
16678 glibcpp_cv_func_isinfl_use=no
16682 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16683 ac_cpp='$CPP $CPPFLAGS'
16684 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16685 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16686 cross_compiling=$ac_cv_prog_cc_cross
16692 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16694 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16695 for ac_func in isinfl
16697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16698 echo "configure:16699: checking for $ac_func" >&5
16699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16700 echo $ac_n "(cached) $ac_c" 1>&6
16702 cat > conftest.$ac_ext <<EOF
16703 #line 16704 "configure"
16704 #include "confdefs.h"
16705 /* System header to define __stub macros and hopefully few prototypes,
16706 which can conflict with char $ac_func(); below. */
16707 #include <assert.h>
16708 /* Override any gcc2 internal prototype to avoid an error. */
16709 /* We use char because int might match the return type of a gcc2
16710 builtin and then its argument prototype would still apply. */
16715 /* The GNU C library defines this for functions which it implements
16716 to always fail with ENOSYS. Some functions are actually named
16717 something starting with __ and the normal name is an alias. */
16718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16726 if { (eval echo configure:16727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16728 eval "ac_cv_func_$ac_func=yes"
16730 echo "configure: failed program was:" >&5
16731 cat conftest.$ac_ext >&5
16733 eval "ac_cv_func_$ac_func=no"
16738 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16739 echo "$ac_t""yes" 1>&6
16740 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16741 cat >> confdefs.h <<EOF
16742 #define $ac_tr_func 1
16746 echo "$ac_t""no" 1>&6
16752 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16753 echo "configure:16754: checking for _isinfl declaration" >&5
16754 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16755 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16756 echo $ac_n "(cached) $ac_c" 1>&6
16761 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16762 ac_cpp='$CXXCPP $CPPFLAGS'
16763 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16764 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16765 cross_compiling=$ac_cv_prog_cxx_cross
16767 cat > conftest.$ac_ext <<EOF
16768 #line 16769 "configure"
16769 #include "confdefs.h"
16771 #ifdef HAVE_IEEEFP_H
16772 #include <ieeefp.h>
16779 if { (eval echo configure:16780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16781 glibcpp_cv_func__isinfl_use=yes
16783 echo "configure: failed program was:" >&5
16784 cat conftest.$ac_ext >&5
16786 glibcpp_cv_func__isinfl_use=no
16790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16791 ac_cpp='$CPP $CPPFLAGS'
16792 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16793 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16794 cross_compiling=$ac_cv_prog_cc_cross
16800 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16802 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16803 for ac_func in _isinfl
16805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16806 echo "configure:16807: checking for $ac_func" >&5
16807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16808 echo $ac_n "(cached) $ac_c" 1>&6
16810 cat > conftest.$ac_ext <<EOF
16811 #line 16812 "configure"
16812 #include "confdefs.h"
16813 /* System header to define __stub macros and hopefully few prototypes,
16814 which can conflict with char $ac_func(); below. */
16815 #include <assert.h>
16816 /* Override any gcc2 internal prototype to avoid an error. */
16817 /* We use char because int might match the return type of a gcc2
16818 builtin and then its argument prototype would still apply. */
16823 /* The GNU C library defines this for functions which it implements
16824 to always fail with ENOSYS. Some functions are actually named
16825 something starting with __ and the normal name is an alias. */
16826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16834 if { (eval echo configure:16835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16836 eval "ac_cv_func_$ac_func=yes"
16838 echo "configure: failed program was:" >&5
16839 cat conftest.$ac_ext >&5
16841 eval "ac_cv_func_$ac_func=no"
16846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16847 echo "$ac_t""yes" 1>&6
16848 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16849 cat >> confdefs.h <<EOF
16850 #define $ac_tr_func 1
16854 echo "$ac_t""no" 1>&6
16863 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16864 echo "configure:16865: checking for copysignl declaration" >&5
16865 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16866 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16867 echo $ac_n "(cached) $ac_c" 1>&6
16872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16873 ac_cpp='$CXXCPP $CPPFLAGS'
16874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16876 cross_compiling=$ac_cv_prog_cxx_cross
16878 cat > conftest.$ac_ext <<EOF
16879 #line 16880 "configure"
16880 #include "confdefs.h"
16886 if { (eval echo configure:16887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16888 glibcpp_cv_func_copysignl_use=yes
16890 echo "configure: failed program was:" >&5
16891 cat conftest.$ac_ext >&5
16893 glibcpp_cv_func_copysignl_use=no
16897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16898 ac_cpp='$CPP $CPPFLAGS'
16899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16901 cross_compiling=$ac_cv_prog_cc_cross
16907 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16909 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16910 for ac_func in copysignl
16912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16913 echo "configure:16914: checking for $ac_func" >&5
16914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16915 echo $ac_n "(cached) $ac_c" 1>&6
16917 cat > conftest.$ac_ext <<EOF
16918 #line 16919 "configure"
16919 #include "confdefs.h"
16920 /* System header to define __stub macros and hopefully few prototypes,
16921 which can conflict with char $ac_func(); below. */
16922 #include <assert.h>
16923 /* Override any gcc2 internal prototype to avoid an error. */
16924 /* We use char because int might match the return type of a gcc2
16925 builtin and then its argument prototype would still apply. */
16930 /* The GNU C library defines this for functions which it implements
16931 to always fail with ENOSYS. Some functions are actually named
16932 something starting with __ and the normal name is an alias. */
16933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16941 if { (eval echo configure:16942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16943 eval "ac_cv_func_$ac_func=yes"
16945 echo "configure: failed program was:" >&5
16946 cat conftest.$ac_ext >&5
16948 eval "ac_cv_func_$ac_func=no"
16953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16954 echo "$ac_t""yes" 1>&6
16955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16956 cat >> confdefs.h <<EOF
16957 #define $ac_tr_func 1
16961 echo "$ac_t""no" 1>&6
16967 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16968 echo "configure:16969: checking for _copysignl declaration" >&5
16969 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16970 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16971 echo $ac_n "(cached) $ac_c" 1>&6
16976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16977 ac_cpp='$CXXCPP $CPPFLAGS'
16978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16980 cross_compiling=$ac_cv_prog_cxx_cross
16982 cat > conftest.$ac_ext <<EOF
16983 #line 16984 "configure"
16984 #include "confdefs.h"
16990 if { (eval echo configure:16991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16992 glibcpp_cv_func__copysignl_use=yes
16994 echo "configure: failed program was:" >&5
16995 cat conftest.$ac_ext >&5
16997 glibcpp_cv_func__copysignl_use=no
17001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17002 ac_cpp='$CPP $CPPFLAGS'
17003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17005 cross_compiling=$ac_cv_prog_cc_cross
17011 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
17013 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
17014 for ac_func in _copysignl
17016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17017 echo "configure:17018: checking for $ac_func" >&5
17018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17019 echo $ac_n "(cached) $ac_c" 1>&6
17021 cat > conftest.$ac_ext <<EOF
17022 #line 17023 "configure"
17023 #include "confdefs.h"
17024 /* System header to define __stub macros and hopefully few prototypes,
17025 which can conflict with char $ac_func(); below. */
17026 #include <assert.h>
17027 /* Override any gcc2 internal prototype to avoid an error. */
17028 /* We use char because int might match the return type of a gcc2
17029 builtin and then its argument prototype would still apply. */
17034 /* The GNU C library defines this for functions which it implements
17035 to always fail with ENOSYS. Some functions are actually named
17036 something starting with __ and the normal name is an alias. */
17037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17045 if { (eval echo configure:17046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17047 eval "ac_cv_func_$ac_func=yes"
17049 echo "configure: failed program was:" >&5
17050 cat conftest.$ac_ext >&5
17052 eval "ac_cv_func_$ac_func=no"
17057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17058 echo "$ac_t""yes" 1>&6
17059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17060 cat >> confdefs.h <<EOF
17061 #define $ac_tr_func 1
17065 echo "$ac_t""no" 1>&6
17074 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
17075 echo "configure:17076: checking for atan2l declaration" >&5
17076 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
17077 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
17078 echo $ac_n "(cached) $ac_c" 1>&6
17083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17084 ac_cpp='$CXXCPP $CPPFLAGS'
17085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17087 cross_compiling=$ac_cv_prog_cxx_cross
17089 cat > conftest.$ac_ext <<EOF
17090 #line 17091 "configure"
17091 #include "confdefs.h"
17097 if { (eval echo configure:17098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17099 glibcpp_cv_func_atan2l_use=yes
17101 echo "configure: failed program was:" >&5
17102 cat conftest.$ac_ext >&5
17104 glibcpp_cv_func_atan2l_use=no
17108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17109 ac_cpp='$CPP $CPPFLAGS'
17110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17112 cross_compiling=$ac_cv_prog_cc_cross
17118 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17120 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17121 for ac_func in atan2l
17123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17124 echo "configure:17125: checking for $ac_func" >&5
17125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17126 echo $ac_n "(cached) $ac_c" 1>&6
17128 cat > conftest.$ac_ext <<EOF
17129 #line 17130 "configure"
17130 #include "confdefs.h"
17131 /* System header to define __stub macros and hopefully few prototypes,
17132 which can conflict with char $ac_func(); below. */
17133 #include <assert.h>
17134 /* Override any gcc2 internal prototype to avoid an error. */
17135 /* We use char because int might match the return type of a gcc2
17136 builtin and then its argument prototype would still apply. */
17141 /* The GNU C library defines this for functions which it implements
17142 to always fail with ENOSYS. Some functions are actually named
17143 something starting with __ and the normal name is an alias. */
17144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17152 if { (eval echo configure:17153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17154 eval "ac_cv_func_$ac_func=yes"
17156 echo "configure: failed program was:" >&5
17157 cat conftest.$ac_ext >&5
17159 eval "ac_cv_func_$ac_func=no"
17164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17165 echo "$ac_t""yes" 1>&6
17166 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17167 cat >> confdefs.h <<EOF
17168 #define $ac_tr_func 1
17172 echo "$ac_t""no" 1>&6
17178 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17179 echo "configure:17180: checking for _atan2l declaration" >&5
17180 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17181 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17182 echo $ac_n "(cached) $ac_c" 1>&6
17187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17188 ac_cpp='$CXXCPP $CPPFLAGS'
17189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17191 cross_compiling=$ac_cv_prog_cxx_cross
17193 cat > conftest.$ac_ext <<EOF
17194 #line 17195 "configure"
17195 #include "confdefs.h"
17201 if { (eval echo configure:17202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17203 glibcpp_cv_func__atan2l_use=yes
17205 echo "configure: failed program was:" >&5
17206 cat conftest.$ac_ext >&5
17208 glibcpp_cv_func__atan2l_use=no
17212 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17215 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17216 cross_compiling=$ac_cv_prog_cc_cross
17222 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17224 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17225 for ac_func in _atan2l
17227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17228 echo "configure:17229: checking for $ac_func" >&5
17229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17230 echo $ac_n "(cached) $ac_c" 1>&6
17232 cat > conftest.$ac_ext <<EOF
17233 #line 17234 "configure"
17234 #include "confdefs.h"
17235 /* System header to define __stub macros and hopefully few prototypes,
17236 which can conflict with char $ac_func(); below. */
17237 #include <assert.h>
17238 /* Override any gcc2 internal prototype to avoid an error. */
17239 /* We use char because int might match the return type of a gcc2
17240 builtin and then its argument prototype would still apply. */
17245 /* The GNU C library defines this for functions which it implements
17246 to always fail with ENOSYS. Some functions are actually named
17247 something starting with __ and the normal name is an alias. */
17248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17256 if { (eval echo configure:17257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17258 eval "ac_cv_func_$ac_func=yes"
17260 echo "configure: failed program was:" >&5
17261 cat conftest.$ac_ext >&5
17263 eval "ac_cv_func_$ac_func=no"
17268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17269 echo "$ac_t""yes" 1>&6
17270 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17271 cat >> confdefs.h <<EOF
17272 #define $ac_tr_func 1
17276 echo "$ac_t""no" 1>&6
17285 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17286 echo "configure:17287: checking for expl declaration" >&5
17287 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17288 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17289 echo $ac_n "(cached) $ac_c" 1>&6
17294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17295 ac_cpp='$CXXCPP $CPPFLAGS'
17296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17298 cross_compiling=$ac_cv_prog_cxx_cross
17300 cat > conftest.$ac_ext <<EOF
17301 #line 17302 "configure"
17302 #include "confdefs.h"
17304 #ifdef HAVE_IEEEFP_H
17305 #include <ieeefp.h>
17312 if { (eval echo configure:17313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17314 glibcpp_cv_func_expl_use=yes
17316 echo "configure: failed program was:" >&5
17317 cat conftest.$ac_ext >&5
17319 glibcpp_cv_func_expl_use=no
17323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17324 ac_cpp='$CPP $CPPFLAGS'
17325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17327 cross_compiling=$ac_cv_prog_cc_cross
17333 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17335 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17336 for ac_func in expl
17338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17339 echo "configure:17340: checking for $ac_func" >&5
17340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17341 echo $ac_n "(cached) $ac_c" 1>&6
17343 cat > conftest.$ac_ext <<EOF
17344 #line 17345 "configure"
17345 #include "confdefs.h"
17346 /* System header to define __stub macros and hopefully few prototypes,
17347 which can conflict with char $ac_func(); below. */
17348 #include <assert.h>
17349 /* Override any gcc2 internal prototype to avoid an error. */
17350 /* We use char because int might match the return type of a gcc2
17351 builtin and then its argument prototype would still apply. */
17356 /* The GNU C library defines this for functions which it implements
17357 to always fail with ENOSYS. Some functions are actually named
17358 something starting with __ and the normal name is an alias. */
17359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17367 if { (eval echo configure:17368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17369 eval "ac_cv_func_$ac_func=yes"
17371 echo "configure: failed program was:" >&5
17372 cat conftest.$ac_ext >&5
17374 eval "ac_cv_func_$ac_func=no"
17379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17380 echo "$ac_t""yes" 1>&6
17381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17382 cat >> confdefs.h <<EOF
17383 #define $ac_tr_func 1
17387 echo "$ac_t""no" 1>&6
17393 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17394 echo "configure:17395: checking for _expl declaration" >&5
17395 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17396 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17397 echo $ac_n "(cached) $ac_c" 1>&6
17402 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17403 ac_cpp='$CXXCPP $CPPFLAGS'
17404 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17405 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17406 cross_compiling=$ac_cv_prog_cxx_cross
17408 cat > conftest.$ac_ext <<EOF
17409 #line 17410 "configure"
17410 #include "confdefs.h"
17412 #ifdef HAVE_IEEEFP_H
17413 #include <ieeefp.h>
17420 if { (eval echo configure:17421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17422 glibcpp_cv_func__expl_use=yes
17424 echo "configure: failed program was:" >&5
17425 cat conftest.$ac_ext >&5
17427 glibcpp_cv_func__expl_use=no
17431 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17432 ac_cpp='$CPP $CPPFLAGS'
17433 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17434 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17435 cross_compiling=$ac_cv_prog_cc_cross
17441 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17443 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17444 for ac_func in _expl
17446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17447 echo "configure:17448: checking for $ac_func" >&5
17448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17449 echo $ac_n "(cached) $ac_c" 1>&6
17451 cat > conftest.$ac_ext <<EOF
17452 #line 17453 "configure"
17453 #include "confdefs.h"
17454 /* System header to define __stub macros and hopefully few prototypes,
17455 which can conflict with char $ac_func(); below. */
17456 #include <assert.h>
17457 /* Override any gcc2 internal prototype to avoid an error. */
17458 /* We use char because int might match the return type of a gcc2
17459 builtin and then its argument prototype would still apply. */
17464 /* The GNU C library defines this for functions which it implements
17465 to always fail with ENOSYS. Some functions are actually named
17466 something starting with __ and the normal name is an alias. */
17467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17475 if { (eval echo configure:17476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17477 eval "ac_cv_func_$ac_func=yes"
17479 echo "configure: failed program was:" >&5
17480 cat conftest.$ac_ext >&5
17482 eval "ac_cv_func_$ac_func=no"
17487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17488 echo "$ac_t""yes" 1>&6
17489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17490 cat >> confdefs.h <<EOF
17491 #define $ac_tr_func 1
17495 echo "$ac_t""no" 1>&6
17504 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17505 echo "configure:17506: checking for fabsl declaration" >&5
17506 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17507 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17508 echo $ac_n "(cached) $ac_c" 1>&6
17513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17514 ac_cpp='$CXXCPP $CPPFLAGS'
17515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17517 cross_compiling=$ac_cv_prog_cxx_cross
17519 cat > conftest.$ac_ext <<EOF
17520 #line 17521 "configure"
17521 #include "confdefs.h"
17523 #ifdef HAVE_IEEEFP_H
17524 #include <ieeefp.h>
17531 if { (eval echo configure:17532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17533 glibcpp_cv_func_fabsl_use=yes
17535 echo "configure: failed program was:" >&5
17536 cat conftest.$ac_ext >&5
17538 glibcpp_cv_func_fabsl_use=no
17542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17543 ac_cpp='$CPP $CPPFLAGS'
17544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17546 cross_compiling=$ac_cv_prog_cc_cross
17552 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17554 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17555 for ac_func in fabsl
17557 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17558 echo "configure:17559: checking for $ac_func" >&5
17559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17560 echo $ac_n "(cached) $ac_c" 1>&6
17562 cat > conftest.$ac_ext <<EOF
17563 #line 17564 "configure"
17564 #include "confdefs.h"
17565 /* System header to define __stub macros and hopefully few prototypes,
17566 which can conflict with char $ac_func(); below. */
17567 #include <assert.h>
17568 /* Override any gcc2 internal prototype to avoid an error. */
17569 /* We use char because int might match the return type of a gcc2
17570 builtin and then its argument prototype would still apply. */
17575 /* The GNU C library defines this for functions which it implements
17576 to always fail with ENOSYS. Some functions are actually named
17577 something starting with __ and the normal name is an alias. */
17578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17586 if { (eval echo configure:17587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17588 eval "ac_cv_func_$ac_func=yes"
17590 echo "configure: failed program was:" >&5
17591 cat conftest.$ac_ext >&5
17593 eval "ac_cv_func_$ac_func=no"
17598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17599 echo "$ac_t""yes" 1>&6
17600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17601 cat >> confdefs.h <<EOF
17602 #define $ac_tr_func 1
17606 echo "$ac_t""no" 1>&6
17612 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17613 echo "configure:17614: checking for _fabsl declaration" >&5
17614 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17615 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17616 echo $ac_n "(cached) $ac_c" 1>&6
17621 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17622 ac_cpp='$CXXCPP $CPPFLAGS'
17623 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17624 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17625 cross_compiling=$ac_cv_prog_cxx_cross
17627 cat > conftest.$ac_ext <<EOF
17628 #line 17629 "configure"
17629 #include "confdefs.h"
17631 #ifdef HAVE_IEEEFP_H
17632 #include <ieeefp.h>
17639 if { (eval echo configure:17640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17641 glibcpp_cv_func__fabsl_use=yes
17643 echo "configure: failed program was:" >&5
17644 cat conftest.$ac_ext >&5
17646 glibcpp_cv_func__fabsl_use=no
17650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17651 ac_cpp='$CPP $CPPFLAGS'
17652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17654 cross_compiling=$ac_cv_prog_cc_cross
17660 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17662 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17663 for ac_func in _fabsl
17665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17666 echo "configure:17667: checking for $ac_func" >&5
17667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17668 echo $ac_n "(cached) $ac_c" 1>&6
17670 cat > conftest.$ac_ext <<EOF
17671 #line 17672 "configure"
17672 #include "confdefs.h"
17673 /* System header to define __stub macros and hopefully few prototypes,
17674 which can conflict with char $ac_func(); below. */
17675 #include <assert.h>
17676 /* Override any gcc2 internal prototype to avoid an error. */
17677 /* We use char because int might match the return type of a gcc2
17678 builtin and then its argument prototype would still apply. */
17683 /* The GNU C library defines this for functions which it implements
17684 to always fail with ENOSYS. Some functions are actually named
17685 something starting with __ and the normal name is an alias. */
17686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17694 if { (eval echo configure:17695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17696 eval "ac_cv_func_$ac_func=yes"
17698 echo "configure: failed program was:" >&5
17699 cat conftest.$ac_ext >&5
17701 eval "ac_cv_func_$ac_func=no"
17706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17707 echo "$ac_t""yes" 1>&6
17708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17709 cat >> confdefs.h <<EOF
17710 #define $ac_tr_func 1
17714 echo "$ac_t""no" 1>&6
17723 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17724 echo "configure:17725: checking for fmodl declaration" >&5
17725 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17726 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17727 echo $ac_n "(cached) $ac_c" 1>&6
17732 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17733 ac_cpp='$CXXCPP $CPPFLAGS'
17734 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17735 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17736 cross_compiling=$ac_cv_prog_cxx_cross
17738 cat > conftest.$ac_ext <<EOF
17739 #line 17740 "configure"
17740 #include "confdefs.h"
17746 if { (eval echo configure:17747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17748 glibcpp_cv_func_fmodl_use=yes
17750 echo "configure: failed program was:" >&5
17751 cat conftest.$ac_ext >&5
17753 glibcpp_cv_func_fmodl_use=no
17757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17758 ac_cpp='$CPP $CPPFLAGS'
17759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17761 cross_compiling=$ac_cv_prog_cc_cross
17767 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17769 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17770 for ac_func in fmodl
17772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17773 echo "configure:17774: checking for $ac_func" >&5
17774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17775 echo $ac_n "(cached) $ac_c" 1>&6
17777 cat > conftest.$ac_ext <<EOF
17778 #line 17779 "configure"
17779 #include "confdefs.h"
17780 /* System header to define __stub macros and hopefully few prototypes,
17781 which can conflict with char $ac_func(); below. */
17782 #include <assert.h>
17783 /* Override any gcc2 internal prototype to avoid an error. */
17784 /* We use char because int might match the return type of a gcc2
17785 builtin and then its argument prototype would still apply. */
17790 /* The GNU C library defines this for functions which it implements
17791 to always fail with ENOSYS. Some functions are actually named
17792 something starting with __ and the normal name is an alias. */
17793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17801 if { (eval echo configure:17802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17803 eval "ac_cv_func_$ac_func=yes"
17805 echo "configure: failed program was:" >&5
17806 cat conftest.$ac_ext >&5
17808 eval "ac_cv_func_$ac_func=no"
17813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17814 echo "$ac_t""yes" 1>&6
17815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17816 cat >> confdefs.h <<EOF
17817 #define $ac_tr_func 1
17821 echo "$ac_t""no" 1>&6
17827 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17828 echo "configure:17829: checking for _fmodl declaration" >&5
17829 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17830 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17831 echo $ac_n "(cached) $ac_c" 1>&6
17836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17837 ac_cpp='$CXXCPP $CPPFLAGS'
17838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17840 cross_compiling=$ac_cv_prog_cxx_cross
17842 cat > conftest.$ac_ext <<EOF
17843 #line 17844 "configure"
17844 #include "confdefs.h"
17850 if { (eval echo configure:17851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17852 glibcpp_cv_func__fmodl_use=yes
17854 echo "configure: failed program was:" >&5
17855 cat conftest.$ac_ext >&5
17857 glibcpp_cv_func__fmodl_use=no
17861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17862 ac_cpp='$CPP $CPPFLAGS'
17863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17865 cross_compiling=$ac_cv_prog_cc_cross
17871 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17873 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17874 for ac_func in _fmodl
17876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17877 echo "configure:17878: checking for $ac_func" >&5
17878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17879 echo $ac_n "(cached) $ac_c" 1>&6
17881 cat > conftest.$ac_ext <<EOF
17882 #line 17883 "configure"
17883 #include "confdefs.h"
17884 /* System header to define __stub macros and hopefully few prototypes,
17885 which can conflict with char $ac_func(); below. */
17886 #include <assert.h>
17887 /* Override any gcc2 internal prototype to avoid an error. */
17888 /* We use char because int might match the return type of a gcc2
17889 builtin and then its argument prototype would still apply. */
17894 /* The GNU C library defines this for functions which it implements
17895 to always fail with ENOSYS. Some functions are actually named
17896 something starting with __ and the normal name is an alias. */
17897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17905 if { (eval echo configure:17906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17907 eval "ac_cv_func_$ac_func=yes"
17909 echo "configure: failed program was:" >&5
17910 cat conftest.$ac_ext >&5
17912 eval "ac_cv_func_$ac_func=no"
17917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17918 echo "$ac_t""yes" 1>&6
17919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17920 cat >> confdefs.h <<EOF
17921 #define $ac_tr_func 1
17925 echo "$ac_t""no" 1>&6
17934 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17935 echo "configure:17936: checking for frexpl declaration" >&5
17936 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17937 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17938 echo $ac_n "(cached) $ac_c" 1>&6
17943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17944 ac_cpp='$CXXCPP $CPPFLAGS'
17945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17947 cross_compiling=$ac_cv_prog_cxx_cross
17949 cat > conftest.$ac_ext <<EOF
17950 #line 17951 "configure"
17951 #include "confdefs.h"
17957 if { (eval echo configure:17958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17959 glibcpp_cv_func_frexpl_use=yes
17961 echo "configure: failed program was:" >&5
17962 cat conftest.$ac_ext >&5
17964 glibcpp_cv_func_frexpl_use=no
17968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17969 ac_cpp='$CPP $CPPFLAGS'
17970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17972 cross_compiling=$ac_cv_prog_cc_cross
17978 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17980 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17981 for ac_func in frexpl
17983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17984 echo "configure:17985: checking for $ac_func" >&5
17985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17986 echo $ac_n "(cached) $ac_c" 1>&6
17988 cat > conftest.$ac_ext <<EOF
17989 #line 17990 "configure"
17990 #include "confdefs.h"
17991 /* System header to define __stub macros and hopefully few prototypes,
17992 which can conflict with char $ac_func(); below. */
17993 #include <assert.h>
17994 /* Override any gcc2 internal prototype to avoid an error. */
17995 /* We use char because int might match the return type of a gcc2
17996 builtin and then its argument prototype would still apply. */
18001 /* The GNU C library defines this for functions which it implements
18002 to always fail with ENOSYS. Some functions are actually named
18003 something starting with __ and the normal name is an alias. */
18004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18012 if { (eval echo configure:18013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18014 eval "ac_cv_func_$ac_func=yes"
18016 echo "configure: failed program was:" >&5
18017 cat conftest.$ac_ext >&5
18019 eval "ac_cv_func_$ac_func=no"
18024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18025 echo "$ac_t""yes" 1>&6
18026 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18027 cat >> confdefs.h <<EOF
18028 #define $ac_tr_func 1
18032 echo "$ac_t""no" 1>&6
18038 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
18039 echo "configure:18040: checking for _frexpl declaration" >&5
18040 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
18041 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
18042 echo $ac_n "(cached) $ac_c" 1>&6
18047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18048 ac_cpp='$CXXCPP $CPPFLAGS'
18049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18051 cross_compiling=$ac_cv_prog_cxx_cross
18053 cat > conftest.$ac_ext <<EOF
18054 #line 18055 "configure"
18055 #include "confdefs.h"
18061 if { (eval echo configure:18062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18063 glibcpp_cv_func__frexpl_use=yes
18065 echo "configure: failed program was:" >&5
18066 cat conftest.$ac_ext >&5
18068 glibcpp_cv_func__frexpl_use=no
18072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18073 ac_cpp='$CPP $CPPFLAGS'
18074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18076 cross_compiling=$ac_cv_prog_cc_cross
18082 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
18084 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
18085 for ac_func in _frexpl
18087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18088 echo "configure:18089: checking for $ac_func" >&5
18089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18090 echo $ac_n "(cached) $ac_c" 1>&6
18092 cat > conftest.$ac_ext <<EOF
18093 #line 18094 "configure"
18094 #include "confdefs.h"
18095 /* System header to define __stub macros and hopefully few prototypes,
18096 which can conflict with char $ac_func(); below. */
18097 #include <assert.h>
18098 /* Override any gcc2 internal prototype to avoid an error. */
18099 /* We use char because int might match the return type of a gcc2
18100 builtin and then its argument prototype would still apply. */
18105 /* The GNU C library defines this for functions which it implements
18106 to always fail with ENOSYS. Some functions are actually named
18107 something starting with __ and the normal name is an alias. */
18108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18116 if { (eval echo configure:18117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18118 eval "ac_cv_func_$ac_func=yes"
18120 echo "configure: failed program was:" >&5
18121 cat conftest.$ac_ext >&5
18123 eval "ac_cv_func_$ac_func=no"
18128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18129 echo "$ac_t""yes" 1>&6
18130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18131 cat >> confdefs.h <<EOF
18132 #define $ac_tr_func 1
18136 echo "$ac_t""no" 1>&6
18145 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18146 echo "configure:18147: checking for hypotl declaration" >&5
18147 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18148 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18149 echo $ac_n "(cached) $ac_c" 1>&6
18154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18155 ac_cpp='$CXXCPP $CPPFLAGS'
18156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18158 cross_compiling=$ac_cv_prog_cxx_cross
18160 cat > conftest.$ac_ext <<EOF
18161 #line 18162 "configure"
18162 #include "confdefs.h"
18168 if { (eval echo configure:18169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18170 glibcpp_cv_func_hypotl_use=yes
18172 echo "configure: failed program was:" >&5
18173 cat conftest.$ac_ext >&5
18175 glibcpp_cv_func_hypotl_use=no
18179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18180 ac_cpp='$CPP $CPPFLAGS'
18181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18183 cross_compiling=$ac_cv_prog_cc_cross
18189 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18191 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18192 for ac_func in hypotl
18194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18195 echo "configure:18196: checking for $ac_func" >&5
18196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18197 echo $ac_n "(cached) $ac_c" 1>&6
18199 cat > conftest.$ac_ext <<EOF
18200 #line 18201 "configure"
18201 #include "confdefs.h"
18202 /* System header to define __stub macros and hopefully few prototypes,
18203 which can conflict with char $ac_func(); below. */
18204 #include <assert.h>
18205 /* Override any gcc2 internal prototype to avoid an error. */
18206 /* We use char because int might match the return type of a gcc2
18207 builtin and then its argument prototype would still apply. */
18212 /* The GNU C library defines this for functions which it implements
18213 to always fail with ENOSYS. Some functions are actually named
18214 something starting with __ and the normal name is an alias. */
18215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18223 if { (eval echo configure:18224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18225 eval "ac_cv_func_$ac_func=yes"
18227 echo "configure: failed program was:" >&5
18228 cat conftest.$ac_ext >&5
18230 eval "ac_cv_func_$ac_func=no"
18235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18236 echo "$ac_t""yes" 1>&6
18237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18238 cat >> confdefs.h <<EOF
18239 #define $ac_tr_func 1
18243 echo "$ac_t""no" 1>&6
18249 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18250 echo "configure:18251: checking for _hypotl declaration" >&5
18251 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18252 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18253 echo $ac_n "(cached) $ac_c" 1>&6
18258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18259 ac_cpp='$CXXCPP $CPPFLAGS'
18260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18262 cross_compiling=$ac_cv_prog_cxx_cross
18264 cat > conftest.$ac_ext <<EOF
18265 #line 18266 "configure"
18266 #include "confdefs.h"
18272 if { (eval echo configure:18273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18274 glibcpp_cv_func__hypotl_use=yes
18276 echo "configure: failed program was:" >&5
18277 cat conftest.$ac_ext >&5
18279 glibcpp_cv_func__hypotl_use=no
18283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18284 ac_cpp='$CPP $CPPFLAGS'
18285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18287 cross_compiling=$ac_cv_prog_cc_cross
18293 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18295 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18296 for ac_func in _hypotl
18298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18299 echo "configure:18300: checking for $ac_func" >&5
18300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18301 echo $ac_n "(cached) $ac_c" 1>&6
18303 cat > conftest.$ac_ext <<EOF
18304 #line 18305 "configure"
18305 #include "confdefs.h"
18306 /* System header to define __stub macros and hopefully few prototypes,
18307 which can conflict with char $ac_func(); below. */
18308 #include <assert.h>
18309 /* Override any gcc2 internal prototype to avoid an error. */
18310 /* We use char because int might match the return type of a gcc2
18311 builtin and then its argument prototype would still apply. */
18316 /* The GNU C library defines this for functions which it implements
18317 to always fail with ENOSYS. Some functions are actually named
18318 something starting with __ and the normal name is an alias. */
18319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18327 if { (eval echo configure:18328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18329 eval "ac_cv_func_$ac_func=yes"
18331 echo "configure: failed program was:" >&5
18332 cat conftest.$ac_ext >&5
18334 eval "ac_cv_func_$ac_func=no"
18339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18340 echo "$ac_t""yes" 1>&6
18341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18342 cat >> confdefs.h <<EOF
18343 #define $ac_tr_func 1
18347 echo "$ac_t""no" 1>&6
18356 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18357 echo "configure:18358: checking for ldexpl declaration" >&5
18358 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18359 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18360 echo $ac_n "(cached) $ac_c" 1>&6
18365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18369 cross_compiling=$ac_cv_prog_cxx_cross
18371 cat > conftest.$ac_ext <<EOF
18372 #line 18373 "configure"
18373 #include "confdefs.h"
18379 if { (eval echo configure:18380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18381 glibcpp_cv_func_ldexpl_use=yes
18383 echo "configure: failed program was:" >&5
18384 cat conftest.$ac_ext >&5
18386 glibcpp_cv_func_ldexpl_use=no
18390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18391 ac_cpp='$CPP $CPPFLAGS'
18392 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18393 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18394 cross_compiling=$ac_cv_prog_cc_cross
18400 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18402 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18403 for ac_func in ldexpl
18405 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18406 echo "configure:18407: checking for $ac_func" >&5
18407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18408 echo $ac_n "(cached) $ac_c" 1>&6
18410 cat > conftest.$ac_ext <<EOF
18411 #line 18412 "configure"
18412 #include "confdefs.h"
18413 /* System header to define __stub macros and hopefully few prototypes,
18414 which can conflict with char $ac_func(); below. */
18415 #include <assert.h>
18416 /* Override any gcc2 internal prototype to avoid an error. */
18417 /* We use char because int might match the return type of a gcc2
18418 builtin and then its argument prototype would still apply. */
18423 /* The GNU C library defines this for functions which it implements
18424 to always fail with ENOSYS. Some functions are actually named
18425 something starting with __ and the normal name is an alias. */
18426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18434 if { (eval echo configure:18435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18436 eval "ac_cv_func_$ac_func=yes"
18438 echo "configure: failed program was:" >&5
18439 cat conftest.$ac_ext >&5
18441 eval "ac_cv_func_$ac_func=no"
18446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18447 echo "$ac_t""yes" 1>&6
18448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18449 cat >> confdefs.h <<EOF
18450 #define $ac_tr_func 1
18454 echo "$ac_t""no" 1>&6
18460 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18461 echo "configure:18462: checking for _ldexpl declaration" >&5
18462 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18463 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18464 echo $ac_n "(cached) $ac_c" 1>&6
18469 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18470 ac_cpp='$CXXCPP $CPPFLAGS'
18471 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18472 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18473 cross_compiling=$ac_cv_prog_cxx_cross
18475 cat > conftest.$ac_ext <<EOF
18476 #line 18477 "configure"
18477 #include "confdefs.h"
18483 if { (eval echo configure:18484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18485 glibcpp_cv_func__ldexpl_use=yes
18487 echo "configure: failed program was:" >&5
18488 cat conftest.$ac_ext >&5
18490 glibcpp_cv_func__ldexpl_use=no
18494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18495 ac_cpp='$CPP $CPPFLAGS'
18496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18498 cross_compiling=$ac_cv_prog_cc_cross
18504 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18506 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18507 for ac_func in _ldexpl
18509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18510 echo "configure:18511: checking for $ac_func" >&5
18511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18512 echo $ac_n "(cached) $ac_c" 1>&6
18514 cat > conftest.$ac_ext <<EOF
18515 #line 18516 "configure"
18516 #include "confdefs.h"
18517 /* System header to define __stub macros and hopefully few prototypes,
18518 which can conflict with char $ac_func(); below. */
18519 #include <assert.h>
18520 /* Override any gcc2 internal prototype to avoid an error. */
18521 /* We use char because int might match the return type of a gcc2
18522 builtin and then its argument prototype would still apply. */
18527 /* The GNU C library defines this for functions which it implements
18528 to always fail with ENOSYS. Some functions are actually named
18529 something starting with __ and the normal name is an alias. */
18530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18538 if { (eval echo configure:18539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18540 eval "ac_cv_func_$ac_func=yes"
18542 echo "configure: failed program was:" >&5
18543 cat conftest.$ac_ext >&5
18545 eval "ac_cv_func_$ac_func=no"
18550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18551 echo "$ac_t""yes" 1>&6
18552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18553 cat >> confdefs.h <<EOF
18554 #define $ac_tr_func 1
18558 echo "$ac_t""no" 1>&6
18567 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18568 echo "configure:18569: checking for logl declaration" >&5
18569 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18570 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18571 echo $ac_n "(cached) $ac_c" 1>&6
18576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18577 ac_cpp='$CXXCPP $CPPFLAGS'
18578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18580 cross_compiling=$ac_cv_prog_cxx_cross
18582 cat > conftest.$ac_ext <<EOF
18583 #line 18584 "configure"
18584 #include "confdefs.h"
18586 #ifdef HAVE_IEEEFP_H
18587 #include <ieeefp.h>
18594 if { (eval echo configure:18595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18596 glibcpp_cv_func_logl_use=yes
18598 echo "configure: failed program was:" >&5
18599 cat conftest.$ac_ext >&5
18601 glibcpp_cv_func_logl_use=no
18605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18606 ac_cpp='$CPP $CPPFLAGS'
18607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18609 cross_compiling=$ac_cv_prog_cc_cross
18615 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18617 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18618 for ac_func in logl
18620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18621 echo "configure:18622: checking for $ac_func" >&5
18622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18623 echo $ac_n "(cached) $ac_c" 1>&6
18625 cat > conftest.$ac_ext <<EOF
18626 #line 18627 "configure"
18627 #include "confdefs.h"
18628 /* System header to define __stub macros and hopefully few prototypes,
18629 which can conflict with char $ac_func(); below. */
18630 #include <assert.h>
18631 /* Override any gcc2 internal prototype to avoid an error. */
18632 /* We use char because int might match the return type of a gcc2
18633 builtin and then its argument prototype would still apply. */
18638 /* The GNU C library defines this for functions which it implements
18639 to always fail with ENOSYS. Some functions are actually named
18640 something starting with __ and the normal name is an alias. */
18641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18649 if { (eval echo configure:18650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18651 eval "ac_cv_func_$ac_func=yes"
18653 echo "configure: failed program was:" >&5
18654 cat conftest.$ac_ext >&5
18656 eval "ac_cv_func_$ac_func=no"
18661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18662 echo "$ac_t""yes" 1>&6
18663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18664 cat >> confdefs.h <<EOF
18665 #define $ac_tr_func 1
18669 echo "$ac_t""no" 1>&6
18675 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18676 echo "configure:18677: checking for _logl declaration" >&5
18677 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18678 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18679 echo $ac_n "(cached) $ac_c" 1>&6
18684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18685 ac_cpp='$CXXCPP $CPPFLAGS'
18686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18688 cross_compiling=$ac_cv_prog_cxx_cross
18690 cat > conftest.$ac_ext <<EOF
18691 #line 18692 "configure"
18692 #include "confdefs.h"
18694 #ifdef HAVE_IEEEFP_H
18695 #include <ieeefp.h>
18702 if { (eval echo configure:18703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18704 glibcpp_cv_func__logl_use=yes
18706 echo "configure: failed program was:" >&5
18707 cat conftest.$ac_ext >&5
18709 glibcpp_cv_func__logl_use=no
18713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18714 ac_cpp='$CPP $CPPFLAGS'
18715 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18716 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18717 cross_compiling=$ac_cv_prog_cc_cross
18723 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18725 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18726 for ac_func in _logl
18728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18729 echo "configure:18730: checking for $ac_func" >&5
18730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18731 echo $ac_n "(cached) $ac_c" 1>&6
18733 cat > conftest.$ac_ext <<EOF
18734 #line 18735 "configure"
18735 #include "confdefs.h"
18736 /* System header to define __stub macros and hopefully few prototypes,
18737 which can conflict with char $ac_func(); below. */
18738 #include <assert.h>
18739 /* Override any gcc2 internal prototype to avoid an error. */
18740 /* We use char because int might match the return type of a gcc2
18741 builtin and then its argument prototype would still apply. */
18746 /* The GNU C library defines this for functions which it implements
18747 to always fail with ENOSYS. Some functions are actually named
18748 something starting with __ and the normal name is an alias. */
18749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18757 if { (eval echo configure:18758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18759 eval "ac_cv_func_$ac_func=yes"
18761 echo "configure: failed program was:" >&5
18762 cat conftest.$ac_ext >&5
18764 eval "ac_cv_func_$ac_func=no"
18769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18770 echo "$ac_t""yes" 1>&6
18771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18772 cat >> confdefs.h <<EOF
18773 #define $ac_tr_func 1
18777 echo "$ac_t""no" 1>&6
18786 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18787 echo "configure:18788: checking for log10l declaration" >&5
18788 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18789 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18790 echo $ac_n "(cached) $ac_c" 1>&6
18795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18796 ac_cpp='$CXXCPP $CPPFLAGS'
18797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18799 cross_compiling=$ac_cv_prog_cxx_cross
18801 cat > conftest.$ac_ext <<EOF
18802 #line 18803 "configure"
18803 #include "confdefs.h"
18805 #ifdef HAVE_IEEEFP_H
18806 #include <ieeefp.h>
18813 if { (eval echo configure:18814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18815 glibcpp_cv_func_log10l_use=yes
18817 echo "configure: failed program was:" >&5
18818 cat conftest.$ac_ext >&5
18820 glibcpp_cv_func_log10l_use=no
18824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18825 ac_cpp='$CPP $CPPFLAGS'
18826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18828 cross_compiling=$ac_cv_prog_cc_cross
18834 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18836 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18837 for ac_func in log10l
18839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18840 echo "configure:18841: checking for $ac_func" >&5
18841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18842 echo $ac_n "(cached) $ac_c" 1>&6
18844 cat > conftest.$ac_ext <<EOF
18845 #line 18846 "configure"
18846 #include "confdefs.h"
18847 /* System header to define __stub macros and hopefully few prototypes,
18848 which can conflict with char $ac_func(); below. */
18849 #include <assert.h>
18850 /* Override any gcc2 internal prototype to avoid an error. */
18851 /* We use char because int might match the return type of a gcc2
18852 builtin and then its argument prototype would still apply. */
18857 /* The GNU C library defines this for functions which it implements
18858 to always fail with ENOSYS. Some functions are actually named
18859 something starting with __ and the normal name is an alias. */
18860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18868 if { (eval echo configure:18869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18870 eval "ac_cv_func_$ac_func=yes"
18872 echo "configure: failed program was:" >&5
18873 cat conftest.$ac_ext >&5
18875 eval "ac_cv_func_$ac_func=no"
18880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18881 echo "$ac_t""yes" 1>&6
18882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18883 cat >> confdefs.h <<EOF
18884 #define $ac_tr_func 1
18888 echo "$ac_t""no" 1>&6
18894 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18895 echo "configure:18896: checking for _log10l declaration" >&5
18896 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18897 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18898 echo $ac_n "(cached) $ac_c" 1>&6
18903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18904 ac_cpp='$CXXCPP $CPPFLAGS'
18905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18907 cross_compiling=$ac_cv_prog_cxx_cross
18909 cat > conftest.$ac_ext <<EOF
18910 #line 18911 "configure"
18911 #include "confdefs.h"
18913 #ifdef HAVE_IEEEFP_H
18914 #include <ieeefp.h>
18921 if { (eval echo configure:18922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18923 glibcpp_cv_func__log10l_use=yes
18925 echo "configure: failed program was:" >&5
18926 cat conftest.$ac_ext >&5
18928 glibcpp_cv_func__log10l_use=no
18932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18933 ac_cpp='$CPP $CPPFLAGS'
18934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18936 cross_compiling=$ac_cv_prog_cc_cross
18942 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18944 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18945 for ac_func in _log10l
18947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18948 echo "configure:18949: checking for $ac_func" >&5
18949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18950 echo $ac_n "(cached) $ac_c" 1>&6
18952 cat > conftest.$ac_ext <<EOF
18953 #line 18954 "configure"
18954 #include "confdefs.h"
18955 /* System header to define __stub macros and hopefully few prototypes,
18956 which can conflict with char $ac_func(); below. */
18957 #include <assert.h>
18958 /* Override any gcc2 internal prototype to avoid an error. */
18959 /* We use char because int might match the return type of a gcc2
18960 builtin and then its argument prototype would still apply. */
18965 /* The GNU C library defines this for functions which it implements
18966 to always fail with ENOSYS. Some functions are actually named
18967 something starting with __ and the normal name is an alias. */
18968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18976 if { (eval echo configure:18977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18978 eval "ac_cv_func_$ac_func=yes"
18980 echo "configure: failed program was:" >&5
18981 cat conftest.$ac_ext >&5
18983 eval "ac_cv_func_$ac_func=no"
18988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18989 echo "$ac_t""yes" 1>&6
18990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18991 cat >> confdefs.h <<EOF
18992 #define $ac_tr_func 1
18996 echo "$ac_t""no" 1>&6
19005 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
19006 echo "configure:19007: checking for modfl declaration" >&5
19007 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
19008 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
19009 echo $ac_n "(cached) $ac_c" 1>&6
19014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19015 ac_cpp='$CXXCPP $CPPFLAGS'
19016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19018 cross_compiling=$ac_cv_prog_cxx_cross
19020 cat > conftest.$ac_ext <<EOF
19021 #line 19022 "configure"
19022 #include "confdefs.h"
19028 if { (eval echo configure:19029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19030 glibcpp_cv_func_modfl_use=yes
19032 echo "configure: failed program was:" >&5
19033 cat conftest.$ac_ext >&5
19035 glibcpp_cv_func_modfl_use=no
19039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19040 ac_cpp='$CPP $CPPFLAGS'
19041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19043 cross_compiling=$ac_cv_prog_cc_cross
19049 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
19051 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
19052 for ac_func in modfl
19054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19055 echo "configure:19056: checking for $ac_func" >&5
19056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19057 echo $ac_n "(cached) $ac_c" 1>&6
19059 cat > conftest.$ac_ext <<EOF
19060 #line 19061 "configure"
19061 #include "confdefs.h"
19062 /* System header to define __stub macros and hopefully few prototypes,
19063 which can conflict with char $ac_func(); below. */
19064 #include <assert.h>
19065 /* Override any gcc2 internal prototype to avoid an error. */
19066 /* We use char because int might match the return type of a gcc2
19067 builtin and then its argument prototype would still apply. */
19072 /* The GNU C library defines this for functions which it implements
19073 to always fail with ENOSYS. Some functions are actually named
19074 something starting with __ and the normal name is an alias. */
19075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19083 if { (eval echo configure:19084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19085 eval "ac_cv_func_$ac_func=yes"
19087 echo "configure: failed program was:" >&5
19088 cat conftest.$ac_ext >&5
19090 eval "ac_cv_func_$ac_func=no"
19095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19096 echo "$ac_t""yes" 1>&6
19097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19098 cat >> confdefs.h <<EOF
19099 #define $ac_tr_func 1
19103 echo "$ac_t""no" 1>&6
19109 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
19110 echo "configure:19111: checking for _modfl declaration" >&5
19111 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19112 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19113 echo $ac_n "(cached) $ac_c" 1>&6
19118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19119 ac_cpp='$CXXCPP $CPPFLAGS'
19120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19122 cross_compiling=$ac_cv_prog_cxx_cross
19124 cat > conftest.$ac_ext <<EOF
19125 #line 19126 "configure"
19126 #include "confdefs.h"
19132 if { (eval echo configure:19133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19134 glibcpp_cv_func__modfl_use=yes
19136 echo "configure: failed program was:" >&5
19137 cat conftest.$ac_ext >&5
19139 glibcpp_cv_func__modfl_use=no
19143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19144 ac_cpp='$CPP $CPPFLAGS'
19145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19147 cross_compiling=$ac_cv_prog_cc_cross
19153 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19155 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19156 for ac_func in _modfl
19158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19159 echo "configure:19160: checking for $ac_func" >&5
19160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19161 echo $ac_n "(cached) $ac_c" 1>&6
19163 cat > conftest.$ac_ext <<EOF
19164 #line 19165 "configure"
19165 #include "confdefs.h"
19166 /* System header to define __stub macros and hopefully few prototypes,
19167 which can conflict with char $ac_func(); below. */
19168 #include <assert.h>
19169 /* Override any gcc2 internal prototype to avoid an error. */
19170 /* We use char because int might match the return type of a gcc2
19171 builtin and then its argument prototype would still apply. */
19176 /* The GNU C library defines this for functions which it implements
19177 to always fail with ENOSYS. Some functions are actually named
19178 something starting with __ and the normal name is an alias. */
19179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19187 if { (eval echo configure:19188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19189 eval "ac_cv_func_$ac_func=yes"
19191 echo "configure: failed program was:" >&5
19192 cat conftest.$ac_ext >&5
19194 eval "ac_cv_func_$ac_func=no"
19199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19200 echo "$ac_t""yes" 1>&6
19201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19202 cat >> confdefs.h <<EOF
19203 #define $ac_tr_func 1
19207 echo "$ac_t""no" 1>&6
19216 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19217 echo "configure:19218: checking for powl declaration" >&5
19218 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19219 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19220 echo $ac_n "(cached) $ac_c" 1>&6
19225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19226 ac_cpp='$CXXCPP $CPPFLAGS'
19227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19229 cross_compiling=$ac_cv_prog_cxx_cross
19231 cat > conftest.$ac_ext <<EOF
19232 #line 19233 "configure"
19233 #include "confdefs.h"
19239 if { (eval echo configure:19240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19241 glibcpp_cv_func_powl_use=yes
19243 echo "configure: failed program was:" >&5
19244 cat conftest.$ac_ext >&5
19246 glibcpp_cv_func_powl_use=no
19250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19251 ac_cpp='$CPP $CPPFLAGS'
19252 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19253 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19254 cross_compiling=$ac_cv_prog_cc_cross
19260 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19262 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19263 for ac_func in powl
19265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19266 echo "configure:19267: checking for $ac_func" >&5
19267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19268 echo $ac_n "(cached) $ac_c" 1>&6
19270 cat > conftest.$ac_ext <<EOF
19271 #line 19272 "configure"
19272 #include "confdefs.h"
19273 /* System header to define __stub macros and hopefully few prototypes,
19274 which can conflict with char $ac_func(); below. */
19275 #include <assert.h>
19276 /* Override any gcc2 internal prototype to avoid an error. */
19277 /* We use char because int might match the return type of a gcc2
19278 builtin and then its argument prototype would still apply. */
19283 /* The GNU C library defines this for functions which it implements
19284 to always fail with ENOSYS. Some functions are actually named
19285 something starting with __ and the normal name is an alias. */
19286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19294 if { (eval echo configure:19295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19296 eval "ac_cv_func_$ac_func=yes"
19298 echo "configure: failed program was:" >&5
19299 cat conftest.$ac_ext >&5
19301 eval "ac_cv_func_$ac_func=no"
19306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19307 echo "$ac_t""yes" 1>&6
19308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19309 cat >> confdefs.h <<EOF
19310 #define $ac_tr_func 1
19314 echo "$ac_t""no" 1>&6
19320 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19321 echo "configure:19322: checking for _powl declaration" >&5
19322 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19323 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19324 echo $ac_n "(cached) $ac_c" 1>&6
19329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19330 ac_cpp='$CXXCPP $CPPFLAGS'
19331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19333 cross_compiling=$ac_cv_prog_cxx_cross
19335 cat > conftest.$ac_ext <<EOF
19336 #line 19337 "configure"
19337 #include "confdefs.h"
19343 if { (eval echo configure:19344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19345 glibcpp_cv_func__powl_use=yes
19347 echo "configure: failed program was:" >&5
19348 cat conftest.$ac_ext >&5
19350 glibcpp_cv_func__powl_use=no
19354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19355 ac_cpp='$CPP $CPPFLAGS'
19356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19358 cross_compiling=$ac_cv_prog_cc_cross
19364 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19366 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19367 for ac_func in _powl
19369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19370 echo "configure:19371: checking for $ac_func" >&5
19371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19372 echo $ac_n "(cached) $ac_c" 1>&6
19374 cat > conftest.$ac_ext <<EOF
19375 #line 19376 "configure"
19376 #include "confdefs.h"
19377 /* System header to define __stub macros and hopefully few prototypes,
19378 which can conflict with char $ac_func(); below. */
19379 #include <assert.h>
19380 /* Override any gcc2 internal prototype to avoid an error. */
19381 /* We use char because int might match the return type of a gcc2
19382 builtin and then its argument prototype would still apply. */
19387 /* The GNU C library defines this for functions which it implements
19388 to always fail with ENOSYS. Some functions are actually named
19389 something starting with __ and the normal name is an alias. */
19390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19398 if { (eval echo configure:19399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19400 eval "ac_cv_func_$ac_func=yes"
19402 echo "configure: failed program was:" >&5
19403 cat conftest.$ac_ext >&5
19405 eval "ac_cv_func_$ac_func=no"
19410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19411 echo "$ac_t""yes" 1>&6
19412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19413 cat >> confdefs.h <<EOF
19414 #define $ac_tr_func 1
19418 echo "$ac_t""no" 1>&6
19427 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19428 echo "configure:19429: checking for sqrtl declaration" >&5
19429 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19430 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19431 echo $ac_n "(cached) $ac_c" 1>&6
19436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19437 ac_cpp='$CXXCPP $CPPFLAGS'
19438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19440 cross_compiling=$ac_cv_prog_cxx_cross
19442 cat > conftest.$ac_ext <<EOF
19443 #line 19444 "configure"
19444 #include "confdefs.h"
19446 #ifdef HAVE_IEEEFP_H
19447 #include <ieeefp.h>
19454 if { (eval echo configure:19455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19456 glibcpp_cv_func_sqrtl_use=yes
19458 echo "configure: failed program was:" >&5
19459 cat conftest.$ac_ext >&5
19461 glibcpp_cv_func_sqrtl_use=no
19465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19466 ac_cpp='$CPP $CPPFLAGS'
19467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19469 cross_compiling=$ac_cv_prog_cc_cross
19475 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19477 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19478 for ac_func in sqrtl
19480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19481 echo "configure:19482: checking for $ac_func" >&5
19482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19483 echo $ac_n "(cached) $ac_c" 1>&6
19485 cat > conftest.$ac_ext <<EOF
19486 #line 19487 "configure"
19487 #include "confdefs.h"
19488 /* System header to define __stub macros and hopefully few prototypes,
19489 which can conflict with char $ac_func(); below. */
19490 #include <assert.h>
19491 /* Override any gcc2 internal prototype to avoid an error. */
19492 /* We use char because int might match the return type of a gcc2
19493 builtin and then its argument prototype would still apply. */
19498 /* The GNU C library defines this for functions which it implements
19499 to always fail with ENOSYS. Some functions are actually named
19500 something starting with __ and the normal name is an alias. */
19501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19509 if { (eval echo configure:19510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19511 eval "ac_cv_func_$ac_func=yes"
19513 echo "configure: failed program was:" >&5
19514 cat conftest.$ac_ext >&5
19516 eval "ac_cv_func_$ac_func=no"
19521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19522 echo "$ac_t""yes" 1>&6
19523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19524 cat >> confdefs.h <<EOF
19525 #define $ac_tr_func 1
19529 echo "$ac_t""no" 1>&6
19535 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19536 echo "configure:19537: checking for _sqrtl declaration" >&5
19537 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19538 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19539 echo $ac_n "(cached) $ac_c" 1>&6
19544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19545 ac_cpp='$CXXCPP $CPPFLAGS'
19546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19548 cross_compiling=$ac_cv_prog_cxx_cross
19550 cat > conftest.$ac_ext <<EOF
19551 #line 19552 "configure"
19552 #include "confdefs.h"
19554 #ifdef HAVE_IEEEFP_H
19555 #include <ieeefp.h>
19562 if { (eval echo configure:19563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19564 glibcpp_cv_func__sqrtl_use=yes
19566 echo "configure: failed program was:" >&5
19567 cat conftest.$ac_ext >&5
19569 glibcpp_cv_func__sqrtl_use=no
19573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19574 ac_cpp='$CPP $CPPFLAGS'
19575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19577 cross_compiling=$ac_cv_prog_cc_cross
19583 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19585 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19586 for ac_func in _sqrtl
19588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19589 echo "configure:19590: checking for $ac_func" >&5
19590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19591 echo $ac_n "(cached) $ac_c" 1>&6
19593 cat > conftest.$ac_ext <<EOF
19594 #line 19595 "configure"
19595 #include "confdefs.h"
19596 /* System header to define __stub macros and hopefully few prototypes,
19597 which can conflict with char $ac_func(); below. */
19598 #include <assert.h>
19599 /* Override any gcc2 internal prototype to avoid an error. */
19600 /* We use char because int might match the return type of a gcc2
19601 builtin and then its argument prototype would still apply. */
19606 /* The GNU C library defines this for functions which it implements
19607 to always fail with ENOSYS. Some functions are actually named
19608 something starting with __ and the normal name is an alias. */
19609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19617 if { (eval echo configure:19618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19619 eval "ac_cv_func_$ac_func=yes"
19621 echo "configure: failed program was:" >&5
19622 cat conftest.$ac_ext >&5
19624 eval "ac_cv_func_$ac_func=no"
19629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19630 echo "$ac_t""yes" 1>&6
19631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19632 cat >> confdefs.h <<EOF
19633 #define $ac_tr_func 1
19637 echo "$ac_t""no" 1>&6
19646 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19647 echo "configure:19648: checking for sincosl declaration" >&5
19648 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19649 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19650 echo $ac_n "(cached) $ac_c" 1>&6
19655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19656 ac_cpp='$CXXCPP $CPPFLAGS'
19657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19659 cross_compiling=$ac_cv_prog_cxx_cross
19661 cat > conftest.$ac_ext <<EOF
19662 #line 19663 "configure"
19663 #include "confdefs.h"
19669 if { (eval echo configure:19670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19671 glibcpp_cv_func_sincosl_use=yes
19673 echo "configure: failed program was:" >&5
19674 cat conftest.$ac_ext >&5
19676 glibcpp_cv_func_sincosl_use=no
19680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19681 ac_cpp='$CPP $CPPFLAGS'
19682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19684 cross_compiling=$ac_cv_prog_cc_cross
19690 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19692 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19693 for ac_func in sincosl
19695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19696 echo "configure:19697: checking for $ac_func" >&5
19697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19698 echo $ac_n "(cached) $ac_c" 1>&6
19700 cat > conftest.$ac_ext <<EOF
19701 #line 19702 "configure"
19702 #include "confdefs.h"
19703 /* System header to define __stub macros and hopefully few prototypes,
19704 which can conflict with char $ac_func(); below. */
19705 #include <assert.h>
19706 /* Override any gcc2 internal prototype to avoid an error. */
19707 /* We use char because int might match the return type of a gcc2
19708 builtin and then its argument prototype would still apply. */
19713 /* The GNU C library defines this for functions which it implements
19714 to always fail with ENOSYS. Some functions are actually named
19715 something starting with __ and the normal name is an alias. */
19716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19724 if { (eval echo configure:19725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19726 eval "ac_cv_func_$ac_func=yes"
19728 echo "configure: failed program was:" >&5
19729 cat conftest.$ac_ext >&5
19731 eval "ac_cv_func_$ac_func=no"
19736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19737 echo "$ac_t""yes" 1>&6
19738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19739 cat >> confdefs.h <<EOF
19740 #define $ac_tr_func 1
19744 echo "$ac_t""no" 1>&6
19750 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19751 echo "configure:19752: checking for _sincosl declaration" >&5
19752 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19753 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19754 echo $ac_n "(cached) $ac_c" 1>&6
19759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19760 ac_cpp='$CXXCPP $CPPFLAGS'
19761 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19762 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19763 cross_compiling=$ac_cv_prog_cxx_cross
19765 cat > conftest.$ac_ext <<EOF
19766 #line 19767 "configure"
19767 #include "confdefs.h"
19773 if { (eval echo configure:19774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19775 glibcpp_cv_func__sincosl_use=yes
19777 echo "configure: failed program was:" >&5
19778 cat conftest.$ac_ext >&5
19780 glibcpp_cv_func__sincosl_use=no
19784 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19785 ac_cpp='$CPP $CPPFLAGS'
19786 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19787 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19788 cross_compiling=$ac_cv_prog_cc_cross
19794 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19796 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19797 for ac_func in _sincosl
19799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19800 echo "configure:19801: checking for $ac_func" >&5
19801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19802 echo $ac_n "(cached) $ac_c" 1>&6
19804 cat > conftest.$ac_ext <<EOF
19805 #line 19806 "configure"
19806 #include "confdefs.h"
19807 /* System header to define __stub macros and hopefully few prototypes,
19808 which can conflict with char $ac_func(); below. */
19809 #include <assert.h>
19810 /* Override any gcc2 internal prototype to avoid an error. */
19811 /* We use char because int might match the return type of a gcc2
19812 builtin and then its argument prototype would still apply. */
19817 /* The GNU C library defines this for functions which it implements
19818 to always fail with ENOSYS. Some functions are actually named
19819 something starting with __ and the normal name is an alias. */
19820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19828 if { (eval echo configure:19829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19830 eval "ac_cv_func_$ac_func=yes"
19832 echo "configure: failed program was:" >&5
19833 cat conftest.$ac_ext >&5
19835 eval "ac_cv_func_$ac_func=no"
19840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19841 echo "$ac_t""yes" 1>&6
19842 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19843 cat >> confdefs.h <<EOF
19844 #define $ac_tr_func 1
19848 echo "$ac_t""no" 1>&6
19857 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19858 echo "configure:19859: checking for finitel declaration" >&5
19859 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19860 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19861 echo $ac_n "(cached) $ac_c" 1>&6
19866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19867 ac_cpp='$CXXCPP $CPPFLAGS'
19868 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19869 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19870 cross_compiling=$ac_cv_prog_cxx_cross
19872 cat > conftest.$ac_ext <<EOF
19873 #line 19874 "configure"
19874 #include "confdefs.h"
19876 #ifdef HAVE_IEEEFP_H
19877 #include <ieeefp.h>
19884 if { (eval echo configure:19885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19886 glibcpp_cv_func_finitel_use=yes
19888 echo "configure: failed program was:" >&5
19889 cat conftest.$ac_ext >&5
19891 glibcpp_cv_func_finitel_use=no
19895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19896 ac_cpp='$CPP $CPPFLAGS'
19897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19899 cross_compiling=$ac_cv_prog_cc_cross
19905 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19907 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19908 for ac_func in finitel
19910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19911 echo "configure:19912: checking for $ac_func" >&5
19912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19913 echo $ac_n "(cached) $ac_c" 1>&6
19915 cat > conftest.$ac_ext <<EOF
19916 #line 19917 "configure"
19917 #include "confdefs.h"
19918 /* System header to define __stub macros and hopefully few prototypes,
19919 which can conflict with char $ac_func(); below. */
19920 #include <assert.h>
19921 /* Override any gcc2 internal prototype to avoid an error. */
19922 /* We use char because int might match the return type of a gcc2
19923 builtin and then its argument prototype would still apply. */
19928 /* The GNU C library defines this for functions which it implements
19929 to always fail with ENOSYS. Some functions are actually named
19930 something starting with __ and the normal name is an alias. */
19931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19939 if { (eval echo configure:19940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19941 eval "ac_cv_func_$ac_func=yes"
19943 echo "configure: failed program was:" >&5
19944 cat conftest.$ac_ext >&5
19946 eval "ac_cv_func_$ac_func=no"
19951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19952 echo "$ac_t""yes" 1>&6
19953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19954 cat >> confdefs.h <<EOF
19955 #define $ac_tr_func 1
19959 echo "$ac_t""no" 1>&6
19965 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19966 echo "configure:19967: checking for _finitel declaration" >&5
19967 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19968 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19969 echo $ac_n "(cached) $ac_c" 1>&6
19974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19975 ac_cpp='$CXXCPP $CPPFLAGS'
19976 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19977 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19978 cross_compiling=$ac_cv_prog_cxx_cross
19980 cat > conftest.$ac_ext <<EOF
19981 #line 19982 "configure"
19982 #include "confdefs.h"
19984 #ifdef HAVE_IEEEFP_H
19985 #include <ieeefp.h>
19992 if { (eval echo configure:19993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19994 glibcpp_cv_func__finitel_use=yes
19996 echo "configure: failed program was:" >&5
19997 cat conftest.$ac_ext >&5
19999 glibcpp_cv_func__finitel_use=no
20003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20004 ac_cpp='$CPP $CPPFLAGS'
20005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20007 cross_compiling=$ac_cv_prog_cc_cross
20013 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
20015 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
20016 for ac_func in _finitel
20018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20019 echo "configure:20020: checking for $ac_func" >&5
20020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20021 echo $ac_n "(cached) $ac_c" 1>&6
20023 cat > conftest.$ac_ext <<EOF
20024 #line 20025 "configure"
20025 #include "confdefs.h"
20026 /* System header to define __stub macros and hopefully few prototypes,
20027 which can conflict with char $ac_func(); below. */
20028 #include <assert.h>
20029 /* Override any gcc2 internal prototype to avoid an error. */
20030 /* We use char because int might match the return type of a gcc2
20031 builtin and then its argument prototype would still apply. */
20036 /* The GNU C library defines this for functions which it implements
20037 to always fail with ENOSYS. Some functions are actually named
20038 something starting with __ and the normal name is an alias. */
20039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20047 if { (eval echo configure:20048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20049 eval "ac_cv_func_$ac_func=yes"
20051 echo "configure: failed program was:" >&5
20052 cat conftest.$ac_ext >&5
20054 eval "ac_cv_func_$ac_func=no"
20059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20060 echo "$ac_t""yes" 1>&6
20061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20062 cat >> confdefs.h <<EOF
20063 #define $ac_tr_func 1
20067 echo "$ac_t""no" 1>&6
20077 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
20078 echo "configure:20079: checking for _float trig functions" >&5
20079 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
20080 echo $ac_n "(cached) $ac_c" 1>&6
20085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20086 ac_cpp='$CXXCPP $CPPFLAGS'
20087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20089 cross_compiling=$ac_cv_prog_cxx_cross
20091 cat > conftest.$ac_ext <<EOF
20092 #line 20093 "configure"
20093 #include "confdefs.h"
20096 `for x in _acosf _asinf _atanf \
20097 _cosf _sinf _tanf \
20098 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20101 if { (eval echo configure:20102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20103 glibcpp_cv_func__float_trig_use=yes
20105 echo "configure: failed program was:" >&5
20106 cat conftest.$ac_ext >&5
20108 glibcpp_cv_func__float_trig_use=no
20112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20113 ac_cpp='$CPP $CPPFLAGS'
20114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20116 cross_compiling=$ac_cv_prog_cc_cross
20120 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20121 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20122 for ac_func in _acosf _asinf _atanf \
20123 _cosf _sinf _tanf \
20124 _coshf _sinhf _tanhf
20126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20127 echo "configure:20128: checking for $ac_func" >&5
20128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20129 echo $ac_n "(cached) $ac_c" 1>&6
20131 cat > conftest.$ac_ext <<EOF
20132 #line 20133 "configure"
20133 #include "confdefs.h"
20134 /* System header to define __stub macros and hopefully few prototypes,
20135 which can conflict with char $ac_func(); below. */
20136 #include <assert.h>
20137 /* Override any gcc2 internal prototype to avoid an error. */
20138 /* We use char because int might match the return type of a gcc2
20139 builtin and then its argument prototype would still apply. */
20144 /* The GNU C library defines this for functions which it implements
20145 to always fail with ENOSYS. Some functions are actually named
20146 something starting with __ and the normal name is an alias. */
20147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20155 if { (eval echo configure:20156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20157 eval "ac_cv_func_$ac_func=yes"
20159 echo "configure: failed program was:" >&5
20160 cat conftest.$ac_ext >&5
20162 eval "ac_cv_func_$ac_func=no"
20167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20168 echo "$ac_t""yes" 1>&6
20169 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20170 cat >> confdefs.h <<EOF
20171 #define $ac_tr_func 1
20175 echo "$ac_t""no" 1>&6
20182 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20183 echo "configure:20184: checking for _float round functions" >&5
20184 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20185 echo $ac_n "(cached) $ac_c" 1>&6
20190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20191 ac_cpp='$CXXCPP $CPPFLAGS'
20192 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20193 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20194 cross_compiling=$ac_cv_prog_cxx_cross
20196 cat > conftest.$ac_ext <<EOF
20197 #line 20198 "configure"
20198 #include "confdefs.h"
20201 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20204 if { (eval echo configure:20205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20206 glibcpp_cv_func__float_round_use=yes
20208 echo "configure: failed program was:" >&5
20209 cat conftest.$ac_ext >&5
20211 glibcpp_cv_func__float_round_use=no
20215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20216 ac_cpp='$CPP $CPPFLAGS'
20217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20219 cross_compiling=$ac_cv_prog_cc_cross
20223 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20224 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20225 for ac_func in _ceilf _floorf
20227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20228 echo "configure:20229: checking for $ac_func" >&5
20229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20230 echo $ac_n "(cached) $ac_c" 1>&6
20232 cat > conftest.$ac_ext <<EOF
20233 #line 20234 "configure"
20234 #include "confdefs.h"
20235 /* System header to define __stub macros and hopefully few prototypes,
20236 which can conflict with char $ac_func(); below. */
20237 #include <assert.h>
20238 /* Override any gcc2 internal prototype to avoid an error. */
20239 /* We use char because int might match the return type of a gcc2
20240 builtin and then its argument prototype would still apply. */
20245 /* The GNU C library defines this for functions which it implements
20246 to always fail with ENOSYS. Some functions are actually named
20247 something starting with __ and the normal name is an alias. */
20248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20256 if { (eval echo configure:20257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20258 eval "ac_cv_func_$ac_func=yes"
20260 echo "configure: failed program was:" >&5
20261 cat conftest.$ac_ext >&5
20263 eval "ac_cv_func_$ac_func=no"
20268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20269 echo "$ac_t""yes" 1>&6
20270 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20271 cat >> confdefs.h <<EOF
20272 #define $ac_tr_func 1
20276 echo "$ac_t""no" 1>&6
20284 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20285 echo "configure:20286: checking for _long double trig functions" >&5
20286 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20287 echo $ac_n "(cached) $ac_c" 1>&6
20292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20293 ac_cpp='$CXXCPP $CPPFLAGS'
20294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20296 cross_compiling=$ac_cv_prog_cxx_cross
20298 cat > conftest.$ac_ext <<EOF
20299 #line 20300 "configure"
20300 #include "confdefs.h"
20303 `for x in _acosl _asinl _atanl \
20304 _cosl _sinl _tanl \
20305 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20308 if { (eval echo configure:20309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20310 glibcpp_cv_func__long_double_trig_use=yes
20312 echo "configure: failed program was:" >&5
20313 cat conftest.$ac_ext >&5
20315 glibcpp_cv_func__long_double_trig_use=no
20319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20320 ac_cpp='$CPP $CPPFLAGS'
20321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20323 cross_compiling=$ac_cv_prog_cc_cross
20327 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20328 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20329 for ac_func in _acosl _asinl _atanl \
20330 _cosl _sinl _tanl \
20331 _coshl _sinhl _tanhl
20333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20334 echo "configure:20335: checking for $ac_func" >&5
20335 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20336 echo $ac_n "(cached) $ac_c" 1>&6
20338 cat > conftest.$ac_ext <<EOF
20339 #line 20340 "configure"
20340 #include "confdefs.h"
20341 /* System header to define __stub macros and hopefully few prototypes,
20342 which can conflict with char $ac_func(); below. */
20343 #include <assert.h>
20344 /* Override any gcc2 internal prototype to avoid an error. */
20345 /* We use char because int might match the return type of a gcc2
20346 builtin and then its argument prototype would still apply. */
20351 /* The GNU C library defines this for functions which it implements
20352 to always fail with ENOSYS. Some functions are actually named
20353 something starting with __ and the normal name is an alias. */
20354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20362 if { (eval echo configure:20363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20364 eval "ac_cv_func_$ac_func=yes"
20366 echo "configure: failed program was:" >&5
20367 cat conftest.$ac_ext >&5
20369 eval "ac_cv_func_$ac_func=no"
20374 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20375 echo "$ac_t""yes" 1>&6
20376 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20377 cat >> confdefs.h <<EOF
20378 #define $ac_tr_func 1
20382 echo "$ac_t""no" 1>&6
20389 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20390 echo "configure:20391: checking for _long double round functions" >&5
20391 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20392 echo $ac_n "(cached) $ac_c" 1>&6
20397 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20398 ac_cpp='$CXXCPP $CPPFLAGS'
20399 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20400 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20401 cross_compiling=$ac_cv_prog_cxx_cross
20403 cat > conftest.$ac_ext <<EOF
20404 #line 20405 "configure"
20405 #include "confdefs.h"
20408 `for x in _ceill _floorl; do echo "$x (0);"; done`
20411 if { (eval echo configure:20412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20413 glibcpp_cv_func__long_double_round_use=yes
20415 echo "configure: failed program was:" >&5
20416 cat conftest.$ac_ext >&5
20418 glibcpp_cv_func__long_double_round_use=no
20422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20423 ac_cpp='$CPP $CPPFLAGS'
20424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20426 cross_compiling=$ac_cv_prog_cc_cross
20430 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20431 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20432 for ac_func in _ceill _floorl
20434 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20435 echo "configure:20436: checking for $ac_func" >&5
20436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20437 echo $ac_n "(cached) $ac_c" 1>&6
20439 cat > conftest.$ac_ext <<EOF
20440 #line 20441 "configure"
20441 #include "confdefs.h"
20442 /* System header to define __stub macros and hopefully few prototypes,
20443 which can conflict with char $ac_func(); below. */
20444 #include <assert.h>
20445 /* Override any gcc2 internal prototype to avoid an error. */
20446 /* We use char because int might match the return type of a gcc2
20447 builtin and then its argument prototype would still apply. */
20452 /* The GNU C library defines this for functions which it implements
20453 to always fail with ENOSYS. Some functions are actually named
20454 something starting with __ and the normal name is an alias. */
20455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20463 if { (eval echo configure:20464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20465 eval "ac_cv_func_$ac_func=yes"
20467 echo "configure: failed program was:" >&5
20468 cat conftest.$ac_ext >&5
20470 eval "ac_cv_func_$ac_func=no"
20475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20476 echo "$ac_t""yes" 1>&6
20477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20478 cat >> confdefs.h <<EOF
20479 #define $ac_tr_func 1
20483 echo "$ac_t""no" 1>&6
20490 LIBS="$ac_save_LIBS"
20491 CXXFLAGS="$ac_save_CXXFLAGS"
20495 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
20496 echo "configure:20497: checking for __builtin_abs declaration" >&5
20497 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20498 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20499 echo $ac_n "(cached) $ac_c" 1>&6
20504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20507 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20508 cross_compiling=$ac_cv_prog_cxx_cross
20510 cat > conftest.$ac_ext <<EOF
20511 #line 20512 "configure"
20512 #include "confdefs.h"
20518 if { (eval echo configure:20519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20520 glibcpp_cv_func___builtin_abs_use=yes
20522 echo "configure: failed program was:" >&5
20523 cat conftest.$ac_ext >&5
20525 glibcpp_cv_func___builtin_abs_use=no
20529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20530 ac_cpp='$CPP $CPPFLAGS'
20531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20533 cross_compiling=$ac_cv_prog_cc_cross
20539 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20540 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20541 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
20542 echo "configure:20543: checking for __builtin_abs linkage" >&5
20543 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20544 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20545 echo $ac_n "(cached) $ac_c" 1>&6
20548 cat > conftest.$ac_ext <<EOF
20549 #line 20550 "configure"
20550 #include "confdefs.h"
20556 if { (eval echo configure:20557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20558 glibcpp_cv_func___builtin_abs_link=yes
20560 echo "configure: failed program was:" >&5
20561 cat conftest.$ac_ext >&5
20563 glibcpp_cv_func___builtin_abs_link=no
20570 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20571 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20572 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20573 cat >> confdefs.h <<EOF
20574 #define ${ac_tr_func} 1
20581 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
20582 echo "configure:20583: checking for __builtin_fabsf declaration" >&5
20583 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20584 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20585 echo $ac_n "(cached) $ac_c" 1>&6
20590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20591 ac_cpp='$CXXCPP $CPPFLAGS'
20592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20594 cross_compiling=$ac_cv_prog_cxx_cross
20596 cat > conftest.$ac_ext <<EOF
20597 #line 20598 "configure"
20598 #include "confdefs.h"
20601 __builtin_fabsf(0);
20604 if { (eval echo configure:20605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20606 glibcpp_cv_func___builtin_fabsf_use=yes
20608 echo "configure: failed program was:" >&5
20609 cat conftest.$ac_ext >&5
20611 glibcpp_cv_func___builtin_fabsf_use=no
20615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20616 ac_cpp='$CPP $CPPFLAGS'
20617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20619 cross_compiling=$ac_cv_prog_cc_cross
20625 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20626 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20627 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
20628 echo "configure:20629: checking for __builtin_fabsf linkage" >&5
20629 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20630 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20631 echo $ac_n "(cached) $ac_c" 1>&6
20634 cat > conftest.$ac_ext <<EOF
20635 #line 20636 "configure"
20636 #include "confdefs.h"
20639 __builtin_fabsf(0);
20642 if { (eval echo configure:20643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20644 glibcpp_cv_func___builtin_fabsf_link=yes
20646 echo "configure: failed program was:" >&5
20647 cat conftest.$ac_ext >&5
20649 glibcpp_cv_func___builtin_fabsf_link=no
20656 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20657 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20658 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20659 cat >> confdefs.h <<EOF
20660 #define ${ac_tr_func} 1
20667 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
20668 echo "configure:20669: checking for __builtin_fabs declaration" >&5
20669 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20670 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20671 echo $ac_n "(cached) $ac_c" 1>&6
20676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20677 ac_cpp='$CXXCPP $CPPFLAGS'
20678 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20679 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20680 cross_compiling=$ac_cv_prog_cxx_cross
20682 cat > conftest.$ac_ext <<EOF
20683 #line 20684 "configure"
20684 #include "confdefs.h"
20690 if { (eval echo configure:20691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20692 glibcpp_cv_func___builtin_fabs_use=yes
20694 echo "configure: failed program was:" >&5
20695 cat conftest.$ac_ext >&5
20697 glibcpp_cv_func___builtin_fabs_use=no
20701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20702 ac_cpp='$CPP $CPPFLAGS'
20703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20705 cross_compiling=$ac_cv_prog_cc_cross
20711 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20712 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20713 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
20714 echo "configure:20715: checking for __builtin_fabs linkage" >&5
20715 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20716 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20717 echo $ac_n "(cached) $ac_c" 1>&6
20720 cat > conftest.$ac_ext <<EOF
20721 #line 20722 "configure"
20722 #include "confdefs.h"
20728 if { (eval echo configure:20729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20730 glibcpp_cv_func___builtin_fabs_link=yes
20732 echo "configure: failed program was:" >&5
20733 cat conftest.$ac_ext >&5
20735 glibcpp_cv_func___builtin_fabs_link=no
20742 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20743 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20744 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20745 cat >> confdefs.h <<EOF
20746 #define ${ac_tr_func} 1
20753 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
20754 echo "configure:20755: checking for __builtin_fabsl declaration" >&5
20755 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20756 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20757 echo $ac_n "(cached) $ac_c" 1>&6
20762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20763 ac_cpp='$CXXCPP $CPPFLAGS'
20764 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20765 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20766 cross_compiling=$ac_cv_prog_cxx_cross
20768 cat > conftest.$ac_ext <<EOF
20769 #line 20770 "configure"
20770 #include "confdefs.h"
20773 __builtin_fabsl(0);
20776 if { (eval echo configure:20777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20778 glibcpp_cv_func___builtin_fabsl_use=yes
20780 echo "configure: failed program was:" >&5
20781 cat conftest.$ac_ext >&5
20783 glibcpp_cv_func___builtin_fabsl_use=no
20787 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20788 ac_cpp='$CPP $CPPFLAGS'
20789 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20790 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20791 cross_compiling=$ac_cv_prog_cc_cross
20797 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20798 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20799 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
20800 echo "configure:20801: checking for __builtin_fabsl linkage" >&5
20801 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20802 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20803 echo $ac_n "(cached) $ac_c" 1>&6
20806 cat > conftest.$ac_ext <<EOF
20807 #line 20808 "configure"
20808 #include "confdefs.h"
20811 __builtin_fabsl(0);
20814 if { (eval echo configure:20815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20816 glibcpp_cv_func___builtin_fabsl_link=yes
20818 echo "configure: failed program was:" >&5
20819 cat conftest.$ac_ext >&5
20821 glibcpp_cv_func___builtin_fabsl_link=no
20828 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20829 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20830 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20831 cat >> confdefs.h <<EOF
20832 #define ${ac_tr_func} 1
20839 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
20840 echo "configure:20841: checking for __builtin_labs declaration" >&5
20841 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20842 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20843 echo $ac_n "(cached) $ac_c" 1>&6
20848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20849 ac_cpp='$CXXCPP $CPPFLAGS'
20850 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20851 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20852 cross_compiling=$ac_cv_prog_cxx_cross
20854 cat > conftest.$ac_ext <<EOF
20855 #line 20856 "configure"
20856 #include "confdefs.h"
20862 if { (eval echo configure:20863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20864 glibcpp_cv_func___builtin_labs_use=yes
20866 echo "configure: failed program was:" >&5
20867 cat conftest.$ac_ext >&5
20869 glibcpp_cv_func___builtin_labs_use=no
20873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20874 ac_cpp='$CPP $CPPFLAGS'
20875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20877 cross_compiling=$ac_cv_prog_cc_cross
20883 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20884 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20885 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
20886 echo "configure:20887: checking for __builtin_labs linkage" >&5
20887 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20888 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20889 echo $ac_n "(cached) $ac_c" 1>&6
20892 cat > conftest.$ac_ext <<EOF
20893 #line 20894 "configure"
20894 #include "confdefs.h"
20900 if { (eval echo configure:20901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20902 glibcpp_cv_func___builtin_labs_link=yes
20904 echo "configure: failed program was:" >&5
20905 cat conftest.$ac_ext >&5
20907 glibcpp_cv_func___builtin_labs_link=no
20914 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
20915 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
20916 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20917 cat >> confdefs.h <<EOF
20918 #define ${ac_tr_func} 1
20926 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
20927 echo "configure:20928: checking for __builtin_sqrtf declaration" >&5
20928 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
20929 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20930 echo $ac_n "(cached) $ac_c" 1>&6
20935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20936 ac_cpp='$CXXCPP $CPPFLAGS'
20937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20939 cross_compiling=$ac_cv_prog_cxx_cross
20941 cat > conftest.$ac_ext <<EOF
20942 #line 20943 "configure"
20943 #include "confdefs.h"
20946 __builtin_sqrtf(0);
20949 if { (eval echo configure:20950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20951 glibcpp_cv_func___builtin_sqrtf_use=yes
20953 echo "configure: failed program was:" >&5
20954 cat conftest.$ac_ext >&5
20956 glibcpp_cv_func___builtin_sqrtf_use=no
20960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20961 ac_cpp='$CPP $CPPFLAGS'
20962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20964 cross_compiling=$ac_cv_prog_cc_cross
20970 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
20971 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
20972 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
20973 echo "configure:20974: checking for __builtin_sqrtf linkage" >&5
20974 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
20975 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
20976 echo $ac_n "(cached) $ac_c" 1>&6
20979 cat > conftest.$ac_ext <<EOF
20980 #line 20981 "configure"
20981 #include "confdefs.h"
20984 __builtin_sqrtf(0);
20987 if { (eval echo configure:20988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20989 glibcpp_cv_func___builtin_sqrtf_link=yes
20991 echo "configure: failed program was:" >&5
20992 cat conftest.$ac_ext >&5
20994 glibcpp_cv_func___builtin_sqrtf_link=no
21001 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
21002 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
21003 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21004 cat >> confdefs.h <<EOF
21005 #define ${ac_tr_func} 1
21012 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
21013 echo "configure:21014: checking for __builtin_sqrt declaration" >&5
21014 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
21015 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
21016 echo $ac_n "(cached) $ac_c" 1>&6
21021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21022 ac_cpp='$CXXCPP $CPPFLAGS'
21023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21025 cross_compiling=$ac_cv_prog_cxx_cross
21027 cat > conftest.$ac_ext <<EOF
21028 #line 21029 "configure"
21029 #include "confdefs.h"
21035 if { (eval echo configure:21036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21037 glibcpp_cv_func___builtin_sqrt_use=yes
21039 echo "configure: failed program was:" >&5
21040 cat conftest.$ac_ext >&5
21042 glibcpp_cv_func___builtin_sqrt_use=no
21046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21047 ac_cpp='$CPP $CPPFLAGS'
21048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21050 cross_compiling=$ac_cv_prog_cc_cross
21056 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
21057 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
21058 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
21059 echo "configure:21060: checking for __builtin_sqrt linkage" >&5
21060 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
21061 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
21062 echo $ac_n "(cached) $ac_c" 1>&6
21065 cat > conftest.$ac_ext <<EOF
21066 #line 21067 "configure"
21067 #include "confdefs.h"
21073 if { (eval echo configure:21074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21075 glibcpp_cv_func___builtin_sqrt_link=yes
21077 echo "configure: failed program was:" >&5
21078 cat conftest.$ac_ext >&5
21080 glibcpp_cv_func___builtin_sqrt_link=no
21087 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
21088 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
21089 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21090 cat >> confdefs.h <<EOF
21091 #define ${ac_tr_func} 1
21098 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
21099 echo "configure:21100: checking for __builtin_sqrtl declaration" >&5
21100 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
21101 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
21102 echo $ac_n "(cached) $ac_c" 1>&6
21107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21108 ac_cpp='$CXXCPP $CPPFLAGS'
21109 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21110 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21111 cross_compiling=$ac_cv_prog_cxx_cross
21113 cat > conftest.$ac_ext <<EOF
21114 #line 21115 "configure"
21115 #include "confdefs.h"
21118 __builtin_sqrtl(0);
21121 if { (eval echo configure:21122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21123 glibcpp_cv_func___builtin_sqrtl_use=yes
21125 echo "configure: failed program was:" >&5
21126 cat conftest.$ac_ext >&5
21128 glibcpp_cv_func___builtin_sqrtl_use=no
21132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21133 ac_cpp='$CPP $CPPFLAGS'
21134 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21135 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21136 cross_compiling=$ac_cv_prog_cc_cross
21142 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
21143 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
21144 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
21145 echo "configure:21146: checking for __builtin_sqrtl linkage" >&5
21146 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
21147 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21148 echo $ac_n "(cached) $ac_c" 1>&6
21151 cat > conftest.$ac_ext <<EOF
21152 #line 21153 "configure"
21153 #include "confdefs.h"
21156 __builtin_sqrtl(0);
21159 if { (eval echo configure:21160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21161 glibcpp_cv_func___builtin_sqrtl_link=yes
21163 echo "configure: failed program was:" >&5
21164 cat conftest.$ac_ext >&5
21166 glibcpp_cv_func___builtin_sqrtl_link=no
21173 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21174 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21175 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21176 cat >> confdefs.h <<EOF
21177 #define ${ac_tr_func} 1
21185 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
21186 echo "configure:21187: checking for __builtin_sinf declaration" >&5
21187 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21188 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21189 echo $ac_n "(cached) $ac_c" 1>&6
21194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21195 ac_cpp='$CXXCPP $CPPFLAGS'
21196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21198 cross_compiling=$ac_cv_prog_cxx_cross
21200 cat > conftest.$ac_ext <<EOF
21201 #line 21202 "configure"
21202 #include "confdefs.h"
21208 if { (eval echo configure:21209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21210 glibcpp_cv_func___builtin_sinf_use=yes
21212 echo "configure: failed program was:" >&5
21213 cat conftest.$ac_ext >&5
21215 glibcpp_cv_func___builtin_sinf_use=no
21219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21220 ac_cpp='$CPP $CPPFLAGS'
21221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21223 cross_compiling=$ac_cv_prog_cc_cross
21229 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21230 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21231 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
21232 echo "configure:21233: checking for __builtin_sinf linkage" >&5
21233 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21234 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21235 echo $ac_n "(cached) $ac_c" 1>&6
21238 cat > conftest.$ac_ext <<EOF
21239 #line 21240 "configure"
21240 #include "confdefs.h"
21246 if { (eval echo configure:21247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21248 glibcpp_cv_func___builtin_sinf_link=yes
21250 echo "configure: failed program was:" >&5
21251 cat conftest.$ac_ext >&5
21253 glibcpp_cv_func___builtin_sinf_link=no
21260 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21261 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21262 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21263 cat >> confdefs.h <<EOF
21264 #define ${ac_tr_func} 1
21271 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
21272 echo "configure:21273: checking for __builtin_sin declaration" >&5
21273 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21274 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21275 echo $ac_n "(cached) $ac_c" 1>&6
21280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21281 ac_cpp='$CXXCPP $CPPFLAGS'
21282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21284 cross_compiling=$ac_cv_prog_cxx_cross
21286 cat > conftest.$ac_ext <<EOF
21287 #line 21288 "configure"
21288 #include "confdefs.h"
21294 if { (eval echo configure:21295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21296 glibcpp_cv_func___builtin_sin_use=yes
21298 echo "configure: failed program was:" >&5
21299 cat conftest.$ac_ext >&5
21301 glibcpp_cv_func___builtin_sin_use=no
21305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21309 cross_compiling=$ac_cv_prog_cc_cross
21315 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21316 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21317 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
21318 echo "configure:21319: checking for __builtin_sin linkage" >&5
21319 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21320 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21321 echo $ac_n "(cached) $ac_c" 1>&6
21324 cat > conftest.$ac_ext <<EOF
21325 #line 21326 "configure"
21326 #include "confdefs.h"
21332 if { (eval echo configure:21333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21334 glibcpp_cv_func___builtin_sin_link=yes
21336 echo "configure: failed program was:" >&5
21337 cat conftest.$ac_ext >&5
21339 glibcpp_cv_func___builtin_sin_link=no
21346 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21347 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21348 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21349 cat >> confdefs.h <<EOF
21350 #define ${ac_tr_func} 1
21357 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
21358 echo "configure:21359: checking for __builtin_sinl declaration" >&5
21359 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21360 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21361 echo $ac_n "(cached) $ac_c" 1>&6
21366 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21367 ac_cpp='$CXXCPP $CPPFLAGS'
21368 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21369 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21370 cross_compiling=$ac_cv_prog_cxx_cross
21372 cat > conftest.$ac_ext <<EOF
21373 #line 21374 "configure"
21374 #include "confdefs.h"
21380 if { (eval echo configure:21381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21382 glibcpp_cv_func___builtin_sinl_use=yes
21384 echo "configure: failed program was:" >&5
21385 cat conftest.$ac_ext >&5
21387 glibcpp_cv_func___builtin_sinl_use=no
21391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21392 ac_cpp='$CPP $CPPFLAGS'
21393 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21394 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21395 cross_compiling=$ac_cv_prog_cc_cross
21401 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21402 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21403 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
21404 echo "configure:21405: checking for __builtin_sinl linkage" >&5
21405 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21406 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21407 echo $ac_n "(cached) $ac_c" 1>&6
21410 cat > conftest.$ac_ext <<EOF
21411 #line 21412 "configure"
21412 #include "confdefs.h"
21418 if { (eval echo configure:21419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21420 glibcpp_cv_func___builtin_sinl_link=yes
21422 echo "configure: failed program was:" >&5
21423 cat conftest.$ac_ext >&5
21425 glibcpp_cv_func___builtin_sinl_link=no
21432 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21433 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21434 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21435 cat >> confdefs.h <<EOF
21436 #define ${ac_tr_func} 1
21444 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
21445 echo "configure:21446: checking for __builtin_cosf declaration" >&5
21446 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21447 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21448 echo $ac_n "(cached) $ac_c" 1>&6
21453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21454 ac_cpp='$CXXCPP $CPPFLAGS'
21455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21457 cross_compiling=$ac_cv_prog_cxx_cross
21459 cat > conftest.$ac_ext <<EOF
21460 #line 21461 "configure"
21461 #include "confdefs.h"
21467 if { (eval echo configure:21468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21469 glibcpp_cv_func___builtin_cosf_use=yes
21471 echo "configure: failed program was:" >&5
21472 cat conftest.$ac_ext >&5
21474 glibcpp_cv_func___builtin_cosf_use=no
21478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21479 ac_cpp='$CPP $CPPFLAGS'
21480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21482 cross_compiling=$ac_cv_prog_cc_cross
21488 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21489 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21490 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
21491 echo "configure:21492: checking for __builtin_cosf linkage" >&5
21492 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21493 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21494 echo $ac_n "(cached) $ac_c" 1>&6
21497 cat > conftest.$ac_ext <<EOF
21498 #line 21499 "configure"
21499 #include "confdefs.h"
21505 if { (eval echo configure:21506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21507 glibcpp_cv_func___builtin_cosf_link=yes
21509 echo "configure: failed program was:" >&5
21510 cat conftest.$ac_ext >&5
21512 glibcpp_cv_func___builtin_cosf_link=no
21519 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21520 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21521 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21522 cat >> confdefs.h <<EOF
21523 #define ${ac_tr_func} 1
21530 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
21531 echo "configure:21532: checking for __builtin_cos declaration" >&5
21532 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21533 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21534 echo $ac_n "(cached) $ac_c" 1>&6
21539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21540 ac_cpp='$CXXCPP $CPPFLAGS'
21541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21543 cross_compiling=$ac_cv_prog_cxx_cross
21545 cat > conftest.$ac_ext <<EOF
21546 #line 21547 "configure"
21547 #include "confdefs.h"
21553 if { (eval echo configure:21554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21555 glibcpp_cv_func___builtin_cos_use=yes
21557 echo "configure: failed program was:" >&5
21558 cat conftest.$ac_ext >&5
21560 glibcpp_cv_func___builtin_cos_use=no
21564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21565 ac_cpp='$CPP $CPPFLAGS'
21566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21568 cross_compiling=$ac_cv_prog_cc_cross
21574 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21575 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21576 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
21577 echo "configure:21578: checking for __builtin_cos linkage" >&5
21578 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21579 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21580 echo $ac_n "(cached) $ac_c" 1>&6
21583 cat > conftest.$ac_ext <<EOF
21584 #line 21585 "configure"
21585 #include "confdefs.h"
21591 if { (eval echo configure:21592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21593 glibcpp_cv_func___builtin_cos_link=yes
21595 echo "configure: failed program was:" >&5
21596 cat conftest.$ac_ext >&5
21598 glibcpp_cv_func___builtin_cos_link=no
21605 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21606 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21607 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21608 cat >> confdefs.h <<EOF
21609 #define ${ac_tr_func} 1
21616 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
21617 echo "configure:21618: checking for __builtin_cosl declaration" >&5
21618 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21619 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21620 echo $ac_n "(cached) $ac_c" 1>&6
21625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21626 ac_cpp='$CXXCPP $CPPFLAGS'
21627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21629 cross_compiling=$ac_cv_prog_cxx_cross
21631 cat > conftest.$ac_ext <<EOF
21632 #line 21633 "configure"
21633 #include "confdefs.h"
21639 if { (eval echo configure:21640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21641 glibcpp_cv_func___builtin_cosl_use=yes
21643 echo "configure: failed program was:" >&5
21644 cat conftest.$ac_ext >&5
21646 glibcpp_cv_func___builtin_cosl_use=no
21650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21651 ac_cpp='$CPP $CPPFLAGS'
21652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21654 cross_compiling=$ac_cv_prog_cc_cross
21660 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21661 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21662 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
21663 echo "configure:21664: checking for __builtin_cosl linkage" >&5
21664 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21665 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21666 echo $ac_n "(cached) $ac_c" 1>&6
21669 cat > conftest.$ac_ext <<EOF
21670 #line 21671 "configure"
21671 #include "confdefs.h"
21677 if { (eval echo configure:21678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21679 glibcpp_cv_func___builtin_cosl_link=yes
21681 echo "configure: failed program was:" >&5
21682 cat conftest.$ac_ext >&5
21684 glibcpp_cv_func___builtin_cosl_link=no
21691 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21692 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21693 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21694 cat >> confdefs.h <<EOF
21695 #define ${ac_tr_func} 1
21703 if test x$dummyvar = x"yes"; then
21704 cat >> confdefs.h <<\EOF
21705 #define HAVE___BUILTIN_ABS 1
21708 cat >> confdefs.h <<\EOF
21709 #define HAVE___BUILTIN_LABS 1
21712 cat >> confdefs.h <<\EOF
21713 #define HAVE___BUILTIN_COS 1
21716 cat >> confdefs.h <<\EOF
21717 #define HAVE___BUILTIN_COSF 1
21720 cat >> confdefs.h <<\EOF
21721 #define HAVE___BUILTIN_COSL 1
21724 cat >> confdefs.h <<\EOF
21725 #define HAVE___BUILTIN_FABS 1
21728 cat >> confdefs.h <<\EOF
21729 #define HAVE___BUILTIN_FABSF 1
21732 cat >> confdefs.h <<\EOF
21733 #define HAVE___BUILTIN_FABSL 1
21736 cat >> confdefs.h <<\EOF
21737 #define HAVE___BUILTIN_SIN 1
21740 cat >> confdefs.h <<\EOF
21741 #define HAVE___BUILTIN_SINF 1
21744 cat >> confdefs.h <<\EOF
21745 #define HAVE___BUILTIN_SINL 1
21748 cat >> confdefs.h <<\EOF
21749 #define HAVE___BUILTIN_SQRT 1
21752 cat >> confdefs.h <<\EOF
21753 #define HAVE___BUILTIN_SQRTF 1
21756 cat >> confdefs.h <<\EOF
21757 #define HAVE___BUILTIN_SQRTL 1
21763 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21764 echo "configure:21765: checking for main in -lm" >&5
21765 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21766 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21767 echo $ac_n "(cached) $ac_c" 1>&6
21769 ac_save_LIBS="$LIBS"
21771 cat > conftest.$ac_ext <<EOF
21772 #line 21773 "configure"
21773 #include "confdefs.h"
21779 if { (eval echo configure:21780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21781 eval "ac_cv_lib_$ac_lib_var=yes"
21783 echo "configure: failed program was:" >&5
21784 cat conftest.$ac_ext >&5
21786 eval "ac_cv_lib_$ac_lib_var=no"
21789 LIBS="$ac_save_LIBS"
21792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21793 echo "$ac_t""yes" 1>&6
21794 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21795 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21796 cat >> confdefs.h <<EOF
21797 #define $ac_tr_lib 1
21803 echo "$ac_t""no" 1>&6
21806 for ac_func in nan copysignf
21808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21809 echo "configure:21810: checking for $ac_func" >&5
21810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21811 echo $ac_n "(cached) $ac_c" 1>&6
21813 cat > conftest.$ac_ext <<EOF
21814 #line 21815 "configure"
21815 #include "confdefs.h"
21816 /* System header to define __stub macros and hopefully few prototypes,
21817 which can conflict with char $ac_func(); below. */
21818 #include <assert.h>
21819 /* Override any gcc2 internal prototype to avoid an error. */
21820 /* We use char because int might match the return type of a gcc2
21821 builtin and then its argument prototype would still apply. */
21826 /* The GNU C library defines this for functions which it implements
21827 to always fail with ENOSYS. Some functions are actually named
21828 something starting with __ and the normal name is an alias. */
21829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21837 if { (eval echo configure:21838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21839 eval "ac_cv_func_$ac_func=yes"
21841 echo "configure: failed program was:" >&5
21842 cat conftest.$ac_ext >&5
21844 eval "ac_cv_func_$ac_func=no"
21849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21850 echo "$ac_t""yes" 1>&6
21851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21852 cat >> confdefs.h <<EOF
21853 #define $ac_tr_func 1
21857 echo "$ac_t""no" 1>&6
21858 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21863 for ac_func in __signbit
21865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21866 echo "configure:21867: checking for $ac_func" >&5
21867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21868 echo $ac_n "(cached) $ac_c" 1>&6
21870 cat > conftest.$ac_ext <<EOF
21871 #line 21872 "configure"
21872 #include "confdefs.h"
21873 /* System header to define __stub macros and hopefully few prototypes,
21874 which can conflict with char $ac_func(); below. */
21875 #include <assert.h>
21876 /* Override any gcc2 internal prototype to avoid an error. */
21877 /* We use char because int might match the return type of a gcc2
21878 builtin and then its argument prototype would still apply. */
21883 /* The GNU C library defines this for functions which it implements
21884 to always fail with ENOSYS. Some functions are actually named
21885 something starting with __ and the normal name is an alias. */
21886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21894 if { (eval echo configure:21895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21896 eval "ac_cv_func_$ac_func=yes"
21898 echo "configure: failed program was:" >&5
21899 cat conftest.$ac_ext >&5
21901 eval "ac_cv_func_$ac_func=no"
21906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21907 echo "$ac_t""yes" 1>&6
21908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21909 cat >> confdefs.h <<EOF
21910 #define $ac_tr_func 1
21914 echo "$ac_t""no" 1>&6
21915 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21919 for ac_func in __signbitf
21921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21922 echo "configure:21923: checking for $ac_func" >&5
21923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21924 echo $ac_n "(cached) $ac_c" 1>&6
21926 cat > conftest.$ac_ext <<EOF
21927 #line 21928 "configure"
21928 #include "confdefs.h"
21929 /* System header to define __stub macros and hopefully few prototypes,
21930 which can conflict with char $ac_func(); below. */
21931 #include <assert.h>
21932 /* Override any gcc2 internal prototype to avoid an error. */
21933 /* We use char because int might match the return type of a gcc2
21934 builtin and then its argument prototype would still apply. */
21939 /* The GNU C library defines this for functions which it implements
21940 to always fail with ENOSYS. Some functions are actually named
21941 something starting with __ and the normal name is an alias. */
21942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21950 if { (eval echo configure:21951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21952 eval "ac_cv_func_$ac_func=yes"
21954 echo "configure: failed program was:" >&5
21955 cat conftest.$ac_ext >&5
21957 eval "ac_cv_func_$ac_func=no"
21962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21963 echo "$ac_t""yes" 1>&6
21964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21965 cat >> confdefs.h <<EOF
21966 #define $ac_tr_func 1
21970 echo "$ac_t""no" 1>&6
21971 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21976 if test x$ac_cv_func_copysignl = x"yes"; then
21977 for ac_func in __signbitl
21979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21980 echo "configure:21981: checking for $ac_func" >&5
21981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21982 echo $ac_n "(cached) $ac_c" 1>&6
21984 cat > conftest.$ac_ext <<EOF
21985 #line 21986 "configure"
21986 #include "confdefs.h"
21987 /* System header to define __stub macros and hopefully few prototypes,
21988 which can conflict with char $ac_func(); below. */
21989 #include <assert.h>
21990 /* Override any gcc2 internal prototype to avoid an error. */
21991 /* We use char because int might match the return type of a gcc2
21992 builtin and then its argument prototype would still apply. */
21997 /* The GNU C library defines this for functions which it implements
21998 to always fail with ENOSYS. Some functions are actually named
21999 something starting with __ and the normal name is an alias. */
22000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22008 if { (eval echo configure:22009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22010 eval "ac_cv_func_$ac_func=yes"
22012 echo "configure: failed program was:" >&5
22013 cat conftest.$ac_ext >&5
22015 eval "ac_cv_func_$ac_func=no"
22020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22021 echo "$ac_t""yes" 1>&6
22022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22023 cat >> confdefs.h <<EOF
22024 #define $ac_tr_func 1
22028 echo "$ac_t""no" 1>&6
22029 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
22035 if test -n "$LIBMATHOBJS"; then
22042 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
22043 echo "configure:22044: checking for mbstate_t" >&5
22044 cat > conftest.$ac_ext <<EOF
22045 #line 22046 "configure"
22046 #include "confdefs.h"
22049 mbstate_t teststate;
22052 if { (eval echo configure:22053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22056 echo "configure: failed program was:" >&5
22057 cat conftest.$ac_ext >&5
22062 echo "$ac_t""$have_mbstate_t" 1>&6
22063 if test x"$have_mbstate_t" = xyes; then
22064 cat >> confdefs.h <<\EOF
22065 #define HAVE_MBSTATE_T 1
22070 for ac_hdr in wchar.h
22072 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22073 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22074 echo "configure:22075: checking for $ac_hdr" >&5
22075 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22076 echo $ac_n "(cached) $ac_c" 1>&6
22078 cat > conftest.$ac_ext <<EOF
22079 #line 22080 "configure"
22080 #include "confdefs.h"
22083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22084 { (eval echo configure:22085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22085 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22086 if test -z "$ac_err"; then
22088 eval "ac_cv_header_$ac_safe=yes"
22091 echo "configure: failed program was:" >&5
22092 cat conftest.$ac_ext >&5
22094 eval "ac_cv_header_$ac_safe=no"
22098 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22099 echo "$ac_t""yes" 1>&6
22100 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22101 cat >> confdefs.h <<EOF
22102 #define $ac_tr_hdr 1
22106 echo "$ac_t""no" 1>&6
22111 for ac_hdr in wctype.h
22113 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22114 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22115 echo "configure:22116: checking for $ac_hdr" >&5
22116 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22117 echo $ac_n "(cached) $ac_c" 1>&6
22119 cat > conftest.$ac_ext <<EOF
22120 #line 22121 "configure"
22121 #include "confdefs.h"
22124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22125 { (eval echo configure:22126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22127 if test -z "$ac_err"; then
22129 eval "ac_cv_header_$ac_safe=yes"
22132 echo "configure: failed program was:" >&5
22133 cat conftest.$ac_ext >&5
22135 eval "ac_cv_header_$ac_safe=no"
22139 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22140 echo "$ac_t""yes" 1>&6
22141 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22142 cat >> confdefs.h <<EOF
22143 #define $ac_tr_hdr 1
22145 ac_has_wctype_h=yes
22147 echo "$ac_t""no" 1>&6
22153 if test x"$ac_has_wchar_h" = xyes &&
22154 test x"$ac_has_wctype_h" = xyes &&
22155 test x"$enable_c_mbchar" != xno; then
22157 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22158 echo "configure:22159: checking for WCHAR_MIN and WCHAR_MAX" >&5
22159 cat > conftest.$ac_ext <<EOF
22160 #line 22161 "configure"
22161 #include "confdefs.h"
22164 int i = WCHAR_MIN; int j = WCHAR_MAX;
22167 if { (eval echo configure:22168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22169 has_wchar_minmax=yes
22171 echo "configure: failed program was:" >&5
22172 cat conftest.$ac_ext >&5
22174 has_wchar_minmax=no
22177 echo "$ac_t""$has_wchar_minmax" 1>&6
22179 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22180 echo "configure:22181: checking for WEOF" >&5
22181 cat > conftest.$ac_ext <<EOF
22182 #line 22183 "configure"
22183 #include "confdefs.h"
22186 #include <stddef.h>
22191 if { (eval echo configure:22192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22195 echo "configure: failed program was:" >&5
22196 cat conftest.$ac_ext >&5
22201 echo "$ac_t""$has_weof" 1>&6
22204 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22207 echo "configure:22208: checking for $ac_func" >&5
22208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22209 echo $ac_n "(cached) $ac_c" 1>&6
22211 cat > conftest.$ac_ext <<EOF
22212 #line 22213 "configure"
22213 #include "confdefs.h"
22214 /* System header to define __stub macros and hopefully few prototypes,
22215 which can conflict with char $ac_func(); below. */
22216 #include <assert.h>
22217 /* Override any gcc2 internal prototype to avoid an error. */
22218 /* We use char because int might match the return type of a gcc2
22219 builtin and then its argument prototype would still apply. */
22224 /* The GNU C library defines this for functions which it implements
22225 to always fail with ENOSYS. Some functions are actually named
22226 something starting with __ and the normal name is an alias. */
22227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22235 if { (eval echo configure:22236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22237 eval "ac_cv_func_$ac_func=yes"
22239 echo "configure: failed program was:" >&5
22240 cat conftest.$ac_ext >&5
22242 eval "ac_cv_func_$ac_func=no"
22247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22248 echo "$ac_t""yes" 1>&6
22249 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22250 cat >> confdefs.h <<EOF
22251 #define $ac_tr_func 1
22255 echo "$ac_t""no" 1>&6
22262 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22263 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22264 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22265 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22266 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22267 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22270 echo "configure:22271: checking for $ac_func" >&5
22271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22272 echo $ac_n "(cached) $ac_c" 1>&6
22274 cat > conftest.$ac_ext <<EOF
22275 #line 22276 "configure"
22276 #include "confdefs.h"
22277 /* System header to define __stub macros and hopefully few prototypes,
22278 which can conflict with char $ac_func(); below. */
22279 #include <assert.h>
22280 /* Override any gcc2 internal prototype to avoid an error. */
22281 /* We use char because int might match the return type of a gcc2
22282 builtin and then its argument prototype would still apply. */
22287 /* The GNU C library defines this for functions which it implements
22288 to always fail with ENOSYS. Some functions are actually named
22289 something starting with __ and the normal name is an alias. */
22290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22298 if { (eval echo configure:22299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22300 eval "ac_cv_func_$ac_func=yes"
22302 echo "configure: failed program was:" >&5
22303 cat conftest.$ac_ext >&5
22305 eval "ac_cv_func_$ac_func=no"
22310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22311 echo "$ac_t""yes" 1>&6
22312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22313 cat >> confdefs.h <<EOF
22314 #define $ac_tr_func 1
22318 echo "$ac_t""no" 1>&6
22325 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22326 echo "configure:22327: checking for ISO C99 wchar_t support" >&5
22327 if test x"$has_weof" = xyes &&
22328 test x"$has_wchar_minmax" = xyes &&
22329 test x"$ac_wfuncs" = xyes; then
22330 ac_isoC99_wchar_t=yes
22332 ac_isoC99_wchar_t=no
22334 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22336 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22337 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22338 echo "configure:22339: checking for iconv.h" >&5
22339 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22340 echo $ac_n "(cached) $ac_c" 1>&6
22342 cat > conftest.$ac_ext <<EOF
22343 #line 22344 "configure"
22344 #include "confdefs.h"
22347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22348 { (eval echo configure:22349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22350 if test -z "$ac_err"; then
22352 eval "ac_cv_header_$ac_safe=yes"
22355 echo "configure: failed program was:" >&5
22356 cat conftest.$ac_ext >&5
22358 eval "ac_cv_header_$ac_safe=no"
22362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22363 echo "$ac_t""yes" 1>&6
22366 echo "$ac_t""no" 1>&6
22370 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22371 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22372 echo "configure:22373: checking for langinfo.h" >&5
22373 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22374 echo $ac_n "(cached) $ac_c" 1>&6
22376 cat > conftest.$ac_ext <<EOF
22377 #line 22378 "configure"
22378 #include "confdefs.h"
22379 #include <langinfo.h>
22381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22382 { (eval echo configure:22383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22384 if test -z "$ac_err"; then
22386 eval "ac_cv_header_$ac_safe=yes"
22389 echo "configure: failed program was:" >&5
22390 cat conftest.$ac_ext >&5
22392 eval "ac_cv_header_$ac_safe=no"
22396 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22397 echo "$ac_t""yes" 1>&6
22398 ac_has_langinfo_h=yes
22400 echo "$ac_t""no" 1>&6
22401 ac_has_langinfo_h=no
22405 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22406 echo "configure:22407: checking for iconv in -liconv" >&5
22407 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22408 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22409 echo $ac_n "(cached) $ac_c" 1>&6
22411 ac_save_LIBS="$LIBS"
22412 LIBS="-liconv $LIBS"
22413 cat > conftest.$ac_ext <<EOF
22414 #line 22415 "configure"
22415 #include "confdefs.h"
22416 /* Override any gcc2 internal prototype to avoid an error. */
22417 /* We use char because int might match the return type of a gcc2
22418 builtin and then its argument prototype would still apply. */
22425 if { (eval echo configure:22426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22427 eval "ac_cv_lib_$ac_lib_var=yes"
22429 echo "configure: failed program was:" >&5
22430 cat conftest.$ac_ext >&5
22432 eval "ac_cv_lib_$ac_lib_var=no"
22435 LIBS="$ac_save_LIBS"
22438 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22439 echo "$ac_t""yes" 1>&6
22442 echo "$ac_t""no" 1>&6
22445 ac_save_LIBS="$LIBS"
22446 LIBS="$LIBS $libiconv"
22448 for ac_func in iconv_open iconv_close iconv nl_langinfo
22450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22451 echo "configure:22452: checking for $ac_func" >&5
22452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22453 echo $ac_n "(cached) $ac_c" 1>&6
22455 cat > conftest.$ac_ext <<EOF
22456 #line 22457 "configure"
22457 #include "confdefs.h"
22458 /* System header to define __stub macros and hopefully few prototypes,
22459 which can conflict with char $ac_func(); below. */
22460 #include <assert.h>
22461 /* Override any gcc2 internal prototype to avoid an error. */
22462 /* We use char because int might match the return type of a gcc2
22463 builtin and then its argument prototype would still apply. */
22468 /* The GNU C library defines this for functions which it implements
22469 to always fail with ENOSYS. Some functions are actually named
22470 something starting with __ and the normal name is an alias. */
22471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22479 if { (eval echo configure:22480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22481 eval "ac_cv_func_$ac_func=yes"
22483 echo "configure: failed program was:" >&5
22484 cat conftest.$ac_ext >&5
22486 eval "ac_cv_func_$ac_func=no"
22491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22492 echo "$ac_t""yes" 1>&6
22493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22494 cat >> confdefs.h <<EOF
22495 #define $ac_tr_func 1
22500 echo "$ac_t""no" 1>&6
22506 LIBS="$ac_save_LIBS"
22508 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22509 echo "configure:22510: checking for XPG2 wchar_t support" >&5
22510 if test x"$ac_has_iconv_h" = xyes &&
22511 test x"$ac_has_langinfo_h" = xyes &&
22512 test x"$ac_XPG2funcs" = xyes; then
22513 ac_XPG2_wchar_t=yes
22517 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22519 if test x"$ac_isoC99_wchar_t" = xyes &&
22520 test x"$ac_XPG2_wchar_t" = xyes; then
22521 cat >> confdefs.h <<\EOF
22522 #define _GLIBCPP_USE_WCHAR_T 1
22528 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22529 echo "configure:22530: checking for enabled wchar_t specializations" >&5
22530 echo "$ac_t""$enable_wchar_t" 1>&6
22533 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22534 ac_save_CXXFLAGS="$CXXFLAGS"
22535 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22538 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22539 echo "configure:22540: checking for strtold declaration" >&5
22540 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22541 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22542 echo $ac_n "(cached) $ac_c" 1>&6
22547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22548 ac_cpp='$CXXCPP $CPPFLAGS'
22549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22551 cross_compiling=$ac_cv_prog_cxx_cross
22553 cat > conftest.$ac_ext <<EOF
22554 #line 22555 "configure"
22555 #include "confdefs.h"
22556 #include <stdlib.h>
22561 if { (eval echo configure:22562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22563 glibcpp_cv_func_strtold_use=yes
22565 echo "configure: failed program was:" >&5
22566 cat conftest.$ac_ext >&5
22568 glibcpp_cv_func_strtold_use=no
22572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22573 ac_cpp='$CPP $CPPFLAGS'
22574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22576 cross_compiling=$ac_cv_prog_cc_cross
22582 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22583 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22584 for ac_func in strtold
22586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22587 echo "configure:22588: checking for $ac_func" >&5
22588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22589 echo $ac_n "(cached) $ac_c" 1>&6
22591 cat > conftest.$ac_ext <<EOF
22592 #line 22593 "configure"
22593 #include "confdefs.h"
22594 /* System header to define __stub macros and hopefully few prototypes,
22595 which can conflict with char $ac_func(); below. */
22596 #include <assert.h>
22597 /* Override any gcc2 internal prototype to avoid an error. */
22598 /* We use char because int might match the return type of a gcc2
22599 builtin and then its argument prototype would still apply. */
22604 /* The GNU C library defines this for functions which it implements
22605 to always fail with ENOSYS. Some functions are actually named
22606 something starting with __ and the normal name is an alias. */
22607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22615 if { (eval echo configure:22616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22617 eval "ac_cv_func_$ac_func=yes"
22619 echo "configure: failed program was:" >&5
22620 cat conftest.$ac_ext >&5
22622 eval "ac_cv_func_$ac_func=no"
22627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22628 echo "$ac_t""yes" 1>&6
22629 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22630 cat >> confdefs.h <<EOF
22631 #define $ac_tr_func 1
22635 echo "$ac_t""no" 1>&6
22642 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22643 echo "configure:22644: checking for strtof declaration" >&5
22644 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22645 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22646 echo $ac_n "(cached) $ac_c" 1>&6
22651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22652 ac_cpp='$CXXCPP $CPPFLAGS'
22653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22655 cross_compiling=$ac_cv_prog_cxx_cross
22657 cat > conftest.$ac_ext <<EOF
22658 #line 22659 "configure"
22659 #include "confdefs.h"
22660 #include <stdlib.h>
22665 if { (eval echo configure:22666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22667 glibcpp_cv_func_strtof_use=yes
22669 echo "configure: failed program was:" >&5
22670 cat conftest.$ac_ext >&5
22672 glibcpp_cv_func_strtof_use=no
22676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22677 ac_cpp='$CPP $CPPFLAGS'
22678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22680 cross_compiling=$ac_cv_prog_cc_cross
22686 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22687 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22688 for ac_func in strtof
22690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22691 echo "configure:22692: checking for $ac_func" >&5
22692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22693 echo $ac_n "(cached) $ac_c" 1>&6
22695 cat > conftest.$ac_ext <<EOF
22696 #line 22697 "configure"
22697 #include "confdefs.h"
22698 /* System header to define __stub macros and hopefully few prototypes,
22699 which can conflict with char $ac_func(); below. */
22700 #include <assert.h>
22701 /* Override any gcc2 internal prototype to avoid an error. */
22702 /* We use char because int might match the return type of a gcc2
22703 builtin and then its argument prototype would still apply. */
22708 /* The GNU C library defines this for functions which it implements
22709 to always fail with ENOSYS. Some functions are actually named
22710 something starting with __ and the normal name is an alias. */
22711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22719 if { (eval echo configure:22720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22721 eval "ac_cv_func_$ac_func=yes"
22723 echo "configure: failed program was:" >&5
22724 cat conftest.$ac_ext >&5
22726 eval "ac_cv_func_$ac_func=no"
22731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22732 echo "$ac_t""yes" 1>&6
22733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22734 cat >> confdefs.h <<EOF
22735 #define $ac_tr_func 1
22739 echo "$ac_t""no" 1>&6
22745 for ac_func in drand48
22747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22748 echo "configure:22749: checking for $ac_func" >&5
22749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22750 echo $ac_n "(cached) $ac_c" 1>&6
22752 cat > conftest.$ac_ext <<EOF
22753 #line 22754 "configure"
22754 #include "confdefs.h"
22755 /* System header to define __stub macros and hopefully few prototypes,
22756 which can conflict with char $ac_func(); below. */
22757 #include <assert.h>
22758 /* Override any gcc2 internal prototype to avoid an error. */
22759 /* We use char because int might match the return type of a gcc2
22760 builtin and then its argument prototype would still apply. */
22765 /* The GNU C library defines this for functions which it implements
22766 to always fail with ENOSYS. Some functions are actually named
22767 something starting with __ and the normal name is an alias. */
22768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22776 if { (eval echo configure:22777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22778 eval "ac_cv_func_$ac_func=yes"
22780 echo "configure: failed program was:" >&5
22781 cat conftest.$ac_ext >&5
22783 eval "ac_cv_func_$ac_func=no"
22788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22789 echo "$ac_t""yes" 1>&6
22790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22791 cat >> confdefs.h <<EOF
22792 #define $ac_tr_func 1
22796 echo "$ac_t""no" 1>&6
22801 CXXFLAGS="$ac_save_CXXFLAGS"
22804 # For showmanyc_helper().
22805 for ac_hdr in sys/ioctl.h sys/filio.h
22807 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22808 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22809 echo "configure:22810: checking for $ac_hdr" >&5
22810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22811 echo $ac_n "(cached) $ac_c" 1>&6
22813 cat > conftest.$ac_ext <<EOF
22814 #line 22815 "configure"
22815 #include "confdefs.h"
22818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22819 { (eval echo configure:22820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22821 if test -z "$ac_err"; then
22823 eval "ac_cv_header_$ac_safe=yes"
22826 echo "configure: failed program was:" >&5
22827 cat conftest.$ac_ext >&5
22829 eval "ac_cv_header_$ac_safe=no"
22833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22834 echo "$ac_t""yes" 1>&6
22835 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22836 cat >> confdefs.h <<EOF
22837 #define $ac_tr_hdr 1
22841 echo "$ac_t""no" 1>&6
22846 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22847 echo $ac_n "(cached) $ac_c" 1>&6
22850 cat > conftest.$ac_ext <<EOF
22851 #line 22852 "configure"
22852 #include "confdefs.h"
22855 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22858 if { (eval echo configure:22859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22860 glibcpp_cv_POLL=yes
22862 echo "configure: failed program was:" >&5
22863 cat conftest.$ac_ext >&5
22871 if test x$glibcpp_cv_POLL = xyes; then
22872 cat >> confdefs.h <<\EOF
22873 #define HAVE_POLL 1
22879 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22880 echo $ac_n "(cached) $ac_c" 1>&6
22883 cat > conftest.$ac_ext <<EOF
22884 #line 22885 "configure"
22885 #include "confdefs.h"
22886 #include <sys/stat.h>
22888 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22891 if { (eval echo configure:22892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22893 glibcpp_cv_S_ISREG=yes
22895 echo "configure: failed program was:" >&5
22896 cat conftest.$ac_ext >&5
22898 glibcpp_cv_S_ISREG=no
22904 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
22905 echo $ac_n "(cached) $ac_c" 1>&6
22908 cat > conftest.$ac_ext <<EOF
22909 #line 22910 "configure"
22910 #include "confdefs.h"
22911 #include <sys/stat.h>
22913 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22916 if { (eval echo configure:22917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22918 glibcpp_cv_S_IFREG=yes
22920 echo "configure: failed program was:" >&5
22921 cat conftest.$ac_ext >&5
22923 glibcpp_cv_S_IFREG=no
22929 if test x$glibcpp_cv_S_ISREG = xyes; then
22930 cat >> confdefs.h <<\EOF
22931 #define HAVE_S_ISREG 1
22934 elif test x$glibcpp_cv_S_IFREG = xyes; then
22935 cat >> confdefs.h <<\EOF
22936 #define HAVE_S_IFREG 1
22943 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22944 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22945 echo "configure:22946: checking for locale.h" >&5
22946 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22947 echo $ac_n "(cached) $ac_c" 1>&6
22949 cat > conftest.$ac_ext <<EOF
22950 #line 22951 "configure"
22951 #include "confdefs.h"
22952 #include <locale.h>
22954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22955 { (eval echo configure:22956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22957 if test -z "$ac_err"; then
22959 eval "ac_cv_header_$ac_safe=yes"
22962 echo "configure: failed program was:" >&5
22963 cat conftest.$ac_ext >&5
22965 eval "ac_cv_header_$ac_safe=no"
22969 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22970 echo "$ac_t""yes" 1>&6
22972 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22973 echo "configure:22974: checking for LC_MESSAGES" >&5
22974 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22975 echo $ac_n "(cached) $ac_c" 1>&6
22977 cat > conftest.$ac_ext <<EOF
22978 #line 22979 "configure"
22979 #include "confdefs.h"
22980 #include <locale.h>
22985 if { (eval echo configure:22986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22987 ac_cv_val_LC_MESSAGES=yes
22989 echo "configure: failed program was:" >&5
22990 cat conftest.$ac_ext >&5
22992 ac_cv_val_LC_MESSAGES=no
22997 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22998 if test $ac_cv_val_LC_MESSAGES = yes; then
22999 cat >> confdefs.h <<\EOF
23000 #define HAVE_LC_MESSAGES 1
23006 echo "$ac_t""no" 1>&6
23011 cat > conftest.$ac_ext <<EOF
23012 #line 23013 "configure"
23013 #include "confdefs.h"
23015 #include <setjmp.h>
23018 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
23021 if { (eval echo configure:23022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23023 cat >> confdefs.h <<\EOF
23024 #define HAVE_SIGSETJMP 1
23029 echo "configure: failed program was:" >&5
23030 cat conftest.$ac_ext >&5
23034 for ac_hdr in unistd.h
23036 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23037 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23038 echo "configure:23039: checking for $ac_hdr" >&5
23039 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23040 echo $ac_n "(cached) $ac_c" 1>&6
23042 cat > conftest.$ac_ext <<EOF
23043 #line 23044 "configure"
23044 #include "confdefs.h"
23047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23048 { (eval echo configure:23049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23049 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23050 if test -z "$ac_err"; then
23052 eval "ac_cv_header_$ac_safe=yes"
23055 echo "configure: failed program was:" >&5
23056 cat conftest.$ac_ext >&5
23058 eval "ac_cv_header_$ac_safe=no"
23062 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23063 echo "$ac_t""yes" 1>&6
23064 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23065 cat >> confdefs.h <<EOF
23066 #define $ac_tr_hdr 1
23070 echo "$ac_t""no" 1>&6
23074 for ac_func in getpagesize
23076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23077 echo "configure:23078: checking for $ac_func" >&5
23078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23079 echo $ac_n "(cached) $ac_c" 1>&6
23081 cat > conftest.$ac_ext <<EOF
23082 #line 23083 "configure"
23083 #include "confdefs.h"
23084 /* System header to define __stub macros and hopefully few prototypes,
23085 which can conflict with char $ac_func(); below. */
23086 #include <assert.h>
23087 /* Override any gcc2 internal prototype to avoid an error. */
23088 /* We use char because int might match the return type of a gcc2
23089 builtin and then its argument prototype would still apply. */
23094 /* The GNU C library defines this for functions which it implements
23095 to always fail with ENOSYS. Some functions are actually named
23096 something starting with __ and the normal name is an alias. */
23097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23105 if { (eval echo configure:23106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23107 eval "ac_cv_func_$ac_func=yes"
23109 echo "configure: failed program was:" >&5
23110 cat conftest.$ac_ext >&5
23112 eval "ac_cv_func_$ac_func=no"
23117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23118 echo "$ac_t""yes" 1>&6
23119 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23120 cat >> confdefs.h <<EOF
23121 #define $ac_tr_func 1
23125 echo "$ac_t""no" 1>&6
23129 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
23130 echo "configure:23131: checking for working mmap" >&5
23131 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23132 echo $ac_n "(cached) $ac_c" 1>&6
23134 if test "$cross_compiling" = yes; then
23135 ac_cv_func_mmap_fixed_mapped=no
23137 cat > conftest.$ac_ext <<EOF
23138 #line 23139 "configure"
23139 #include "confdefs.h"
23141 /* Thanks to Mike Haertel and Jim Avera for this test.
23142 Here is a matrix of mmap possibilities:
23143 mmap private not fixed
23144 mmap private fixed at somewhere currently unmapped
23145 mmap private fixed at somewhere already mapped
23146 mmap shared not fixed
23147 mmap shared fixed at somewhere currently unmapped
23148 mmap shared fixed at somewhere already mapped
23149 For private mappings, we should verify that changes cannot be read()
23150 back from the file, nor mmap's back from the file at a different
23151 address. (There have been systems where private was not correctly
23152 implemented like the infamous i386 svr4.0, and systems where the
23153 VM page cache was not coherent with the filesystem buffer cache
23154 like early versions of FreeBSD and possibly contemporary NetBSD.)
23155 For shared mappings, we should conversely verify that changes get
23156 propogated back to all the places they're supposed to be.
23158 Grep wants private fixed already mapped.
23159 The main things grep needs to know about mmap are:
23160 * does it exist and is it safe to write into the mmap'd area
23161 * how to use it (BSD variants) */
23162 #include <sys/types.h>
23164 #include <sys/mman.h>
23166 /* This mess was copied from the GNU getpagesize.h. */
23167 #ifndef HAVE_GETPAGESIZE
23168 # ifdef HAVE_UNISTD_H
23169 # include <unistd.h>
23172 /* Assume that all systems that can run configure have sys/param.h. */
23173 # ifndef HAVE_SYS_PARAM_H
23174 # define HAVE_SYS_PARAM_H 1
23177 # ifdef _SC_PAGESIZE
23178 # define getpagesize() sysconf(_SC_PAGESIZE)
23179 # else /* no _SC_PAGESIZE */
23180 # ifdef HAVE_SYS_PARAM_H
23181 # include <sys/param.h>
23182 # ifdef EXEC_PAGESIZE
23183 # define getpagesize() EXEC_PAGESIZE
23184 # else /* no EXEC_PAGESIZE */
23186 # define getpagesize() NBPG * CLSIZE
23189 # endif /* no CLSIZE */
23190 # else /* no NBPG */
23192 # define getpagesize() NBPC
23193 # else /* no NBPC */
23195 # define getpagesize() PAGESIZE
23196 # endif /* PAGESIZE */
23197 # endif /* no NBPC */
23198 # endif /* no NBPG */
23199 # endif /* no EXEC_PAGESIZE */
23200 # else /* no HAVE_SYS_PARAM_H */
23201 # define getpagesize() 8192 /* punt totally */
23202 # endif /* no HAVE_SYS_PARAM_H */
23203 # endif /* no _SC_PAGESIZE */
23205 #endif /* no HAVE_GETPAGESIZE */
23208 extern "C" { void *malloc(unsigned); }
23216 char *data, *data2, *data3;
23220 pagesize = getpagesize();
23223 * First, make a file with some known garbage in it.
23225 data = malloc(pagesize);
23228 for (i = 0; i < pagesize; ++i)
23229 *(data + i) = rand();
23231 fd = creat("conftestmmap", 0600);
23234 if (write(fd, data, pagesize) != pagesize)
23239 * Next, try to mmap the file at a fixed address which
23240 * already has something else allocated at it. If we can,
23241 * also make sure that we see the same garbage.
23243 fd = open("conftestmmap", O_RDWR);
23246 data2 = malloc(2 * pagesize);
23249 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23250 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23251 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23253 for (i = 0; i < pagesize; ++i)
23254 if (*(data + i) != *(data2 + i))
23258 * Finally, make sure that changes to the mapped area
23259 * do not percolate back to the file as seen by read().
23260 * (This is a bug on some variants of i386 svr4.0.)
23262 for (i = 0; i < pagesize; ++i)
23263 *(data2 + i) = *(data2 + i) + 1;
23264 data3 = malloc(pagesize);
23267 if (read(fd, data3, pagesize) != pagesize)
23269 for (i = 0; i < pagesize; ++i)
23270 if (*(data + i) != *(data3 + i))
23273 unlink("conftestmmap");
23278 if { (eval echo configure:23279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23280 ac_cv_func_mmap_fixed_mapped=yes
23282 echo "configure: failed program was:" >&5
23283 cat conftest.$ac_ext >&5
23285 ac_cv_func_mmap_fixed_mapped=no
23292 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23293 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23294 cat >> confdefs.h <<\EOF
23295 #define HAVE_MMAP 1
23301 # Establish limits on memory usage during 'make check'
23304 setrlimit_have_headers=yes
23305 for ac_hdr in unistd.h sys/time.h sys/resource.h
23307 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23308 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23309 echo "configure:23310: checking for $ac_hdr" >&5
23310 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23311 echo $ac_n "(cached) $ac_c" 1>&6
23313 cat > conftest.$ac_ext <<EOF
23314 #line 23315 "configure"
23315 #include "confdefs.h"
23318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23319 { (eval echo configure:23320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23321 if test -z "$ac_err"; then
23323 eval "ac_cv_header_$ac_safe=yes"
23326 echo "configure: failed program was:" >&5
23327 cat conftest.$ac_ext >&5
23329 eval "ac_cv_header_$ac_safe=no"
23333 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23334 echo "$ac_t""yes" 1>&6
23335 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23336 cat >> confdefs.h <<EOF
23337 #define $ac_tr_hdr 1
23341 echo "$ac_t""no" 1>&6
23342 setrlimit_have_headers=no
23346 # If don't have the headers, then we can't run the tests now, and we
23347 # won't be seeing any of these during testsuite compilation.
23348 if test $setrlimit_have_headers = yes; then
23349 # Can't do these in a loop, else the resulting syntax is wrong.
23351 cat > conftest.$ac_ext <<EOF
23352 #line 23353 "configure"
23353 #include "confdefs.h"
23354 #include <unistd.h>
23355 #include <sys/time.h>
23356 #include <sys/resource.h>
23359 int f = RLIMIT_DATA ;
23362 if { (eval echo configure:23363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23366 echo "configure: failed program was:" >&5
23367 cat conftest.$ac_ext >&5
23372 cat >> confdefs.h <<EOF
23373 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23378 cat > conftest.$ac_ext <<EOF
23379 #line 23380 "configure"
23380 #include "confdefs.h"
23381 #include <unistd.h>
23382 #include <sys/time.h>
23383 #include <sys/resource.h>
23386 int f = RLIMIT_RSS ;
23389 if { (eval echo configure:23390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23393 echo "configure: failed program was:" >&5
23394 cat conftest.$ac_ext >&5
23399 cat >> confdefs.h <<EOF
23400 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23405 cat > conftest.$ac_ext <<EOF
23406 #line 23407 "configure"
23407 #include "confdefs.h"
23408 #include <unistd.h>
23409 #include <sys/time.h>
23410 #include <sys/resource.h>
23413 int f = RLIMIT_VMEM ;
23416 if { (eval echo configure:23417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23420 echo "configure: failed program was:" >&5
23421 cat conftest.$ac_ext >&5
23426 cat >> confdefs.h <<EOF
23427 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23432 cat > conftest.$ac_ext <<EOF
23433 #line 23434 "configure"
23434 #include "confdefs.h"
23435 #include <unistd.h>
23436 #include <sys/time.h>
23437 #include <sys/resource.h>
23440 int f = RLIMIT_AS ;
23443 if { (eval echo configure:23444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23447 echo "configure: failed program was:" >&5
23448 cat conftest.$ac_ext >&5
23453 cat >> confdefs.h <<EOF
23454 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23459 # Check for rlimit, setrlimit.
23460 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23461 echo $ac_n "(cached) $ac_c" 1>&6
23464 cat > conftest.$ac_ext <<EOF
23465 #line 23466 "configure"
23466 #include "confdefs.h"
23467 #include <unistd.h>
23468 #include <sys/time.h>
23469 #include <sys/resource.h>
23472 struct rlimit r; setrlimit(0, &r);
23475 if { (eval echo configure:23476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23479 echo "configure: failed program was:" >&5
23480 cat conftest.$ac_ext >&5
23490 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23491 echo "configure:23492: checking for testsuite memory limit support" >&5
23492 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23494 cat >> confdefs.h <<\EOF
23495 #define _GLIBCPP_MEM_LIMITS 1
23501 echo "$ac_t""$ac_mem_limits" 1>&6
23504 # Look for setenv, so that extended locale tests can be performed.
23506 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23507 echo "configure:23508: checking for setenv declaration" >&5
23508 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23509 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23510 echo $ac_n "(cached) $ac_c" 1>&6
23515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23516 ac_cpp='$CXXCPP $CPPFLAGS'
23517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23518 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23519 cross_compiling=$ac_cv_prog_cxx_cross
23521 cat > conftest.$ac_ext <<EOF
23522 #line 23523 "configure"
23523 #include "confdefs.h"
23524 #include <stdlib.h>
23529 if { (eval echo configure:23530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23531 glibcpp_cv_func_setenv_use=yes
23533 echo "configure: failed program was:" >&5
23534 cat conftest.$ac_ext >&5
23536 glibcpp_cv_func_setenv_use=no
23540 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23541 ac_cpp='$CPP $CPPFLAGS'
23542 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23543 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23544 cross_compiling=$ac_cv_prog_cc_cross
23550 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23551 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23552 for ac_func in setenv
23554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23555 echo "configure:23556: checking for $ac_func" >&5
23556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23557 echo $ac_n "(cached) $ac_c" 1>&6
23559 cat > conftest.$ac_ext <<EOF
23560 #line 23561 "configure"
23561 #include "confdefs.h"
23562 /* System header to define __stub macros and hopefully few prototypes,
23563 which can conflict with char $ac_func(); below. */
23564 #include <assert.h>
23565 /* Override any gcc2 internal prototype to avoid an error. */
23566 /* We use char because int might match the return type of a gcc2
23567 builtin and then its argument prototype would still apply. */
23572 /* The GNU C library defines this for functions which it implements
23573 to always fail with ENOSYS. Some functions are actually named
23574 something starting with __ and the normal name is an alias. */
23575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23583 if { (eval echo configure:23584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23585 eval "ac_cv_func_$ac_func=yes"
23587 echo "configure: failed program was:" >&5
23588 cat conftest.$ac_ext >&5
23590 eval "ac_cv_func_$ac_func=no"
23595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23596 echo "$ac_t""yes" 1>&6
23597 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23598 cat >> confdefs.h <<EOF
23599 #define $ac_tr_func 1
23603 echo "$ac_t""no" 1>&6
23610 # Export file names for ABI checking.
23611 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23615 *-*-cygwin* ) enable_abi_check=no ;;
23616 * ) enable_abi_check=yes ;;
23621 # This depends on the possibly-skipped linker test above.
23622 # Check whether --enable-symvers or --disable-symvers was given.
23623 if test "${enable_symvers+set}" = set; then
23624 enableval="$enable_symvers"
23625 case "$enableval" in
23626 yes) enable_symvers=yes ;;
23627 no) enable_symvers=no ;;
23628 # other names here, just as sanity checks
23629 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23630 gnu) enable_symvers=$enableval ;;
23631 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23637 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23638 # don't know enough about $LD to do tricks...
23639 if test x$enable_shared = xno ||
23641 test x$glibcpp_gnu_ld_version = x; then
23645 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23646 if test $enable_symvers != no; then
23647 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23648 echo "configure:23649: checking for shared libgcc" >&5
23649 ac_save_CFLAGS="$CFLAGS"
23651 cat > conftest.$ac_ext <<EOF
23652 #line 23653 "configure"
23653 #include "confdefs.h"
23659 if { (eval echo configure:23660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23661 glibcpp_shared_libgcc=yes
23663 echo "configure: failed program was:" >&5
23664 cat conftest.$ac_ext >&5
23666 glibcpp_shared_libgcc=no
23669 CFLAGS="$ac_save_CFLAGS"
23670 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23673 # For GNU ld, we need at least this version. It's 2.12 in the same format
23674 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23675 glibcpp_min_gnu_ld_version=21200
23677 # Check to see if unspecified "yes" value can win, given results
23679 if test $enable_symvers = yes ; then
23680 if test $with_gnu_ld = yes &&
23681 test $glibcpp_shared_libgcc = yes ;
23683 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23686 ac_test_CFLAGS="${CFLAGS+set}"
23687 ac_save_CFLAGS="$CFLAGS"
23688 CFLAGS='-shared -Wl,--version-script,conftest.map'
23691 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23693 cat > conftest.$ac_ext <<EOF
23694 #line 23695 "configure"
23695 #include "confdefs.h"
23701 if { (eval echo configure:23702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23705 echo "configure: failed program was:" >&5
23706 cat conftest.$ac_ext >&5
23709 if test "$ac_test_CFLAGS" = set; then
23710 CFLAGS="$ac_save_CFLAGS"
23712 # this is the suspicious part
23718 # just fail for now
23723 case $enable_symvers in
23725 SYMVER_MAP=config/linker-map.dummy
23728 SYMVER_MAP=config/linker-map.gnu
23729 cat >> confdefs.h <<\EOF
23730 #define _GLIBCPP_SYMVER 1
23739 if test $enable_symvers != no; then
23740 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23741 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23743 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23744 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23746 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23747 echo "configure:23748: checking versioning on shared library symbols" >&5
23748 echo "$ac_t""$enable_symvers" 1>&6
23751 # Propagate the target-specific source directories through the build chain.
23752 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23753 # uses it, and it only gets used in this file.)
23754 OS_INC_SRCDIR=config/${os_include_dir}
23755 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23759 # Set up cross-compile flags and all AM_CONDITIONALs.
23763 if test "$CANADIAN" = yes; then
23772 if test "$need_libmath" = yes; then
23773 GLIBCPP_BUILD_LIBMATH_TRUE=
23774 GLIBCPP_BUILD_LIBMATH_FALSE='#'
23776 GLIBCPP_BUILD_LIBMATH_TRUE='#'
23777 GLIBCPP_BUILD_LIBMATH_FALSE=
23781 if test "$enable_wchar_t" = yes; then
23782 GLIBCPP_TEST_WCHAR_T_TRUE=
23783 GLIBCPP_TEST_WCHAR_T_FALSE='#'
23785 GLIBCPP_TEST_WCHAR_T_TRUE='#'
23786 GLIBCPP_TEST_WCHAR_T_FALSE=
23788 # Don't do ABI checking unless native.
23791 if ${GLIBCPP_IS_CROSS_COMPILING} && test "$enable_abi_check" = yes ; then
23792 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23793 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23795 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23796 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23799 cat > confcache <<\EOF
23800 # This file is a shell script that caches the results of configure
23801 # tests run on this system so they can be shared between configure
23802 # scripts and configure runs. It is not useful on other systems.
23803 # If it contains results you don't want to keep, you may remove or edit it.
23805 # By default, configure uses ./config.cache as the cache file,
23806 # creating it if it does not exist already. You can give configure
23807 # the --cache-file=FILE option to use a different cache file; that is
23808 # what configure does when it calls configure scripts in
23809 # subdirectories, so they share the cache.
23810 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23811 # config.status only pays attention to the cache file if you give it the
23812 # --recheck option to rerun configure.
23815 # The following way of writing the cache mishandles newlines in values,
23816 # but we know of no workaround that is simple, portable, and efficient.
23817 # So, don't put newlines in cache variables' values.
23818 # Ultrix sh set writes to stderr and can't be redirected directly,
23819 # and sets the high bit in the cache file unless we assign to the vars.
23821 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23823 # `set' does not quote correctly, so add quotes (double-quote substitution
23824 # turns \\\\ into \\, and sed turns \\ into \).
23826 -e "s/'/'\\\\''/g" \
23827 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23830 # `set' quotes correctly as required by POSIX, so do not add quotes.
23831 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23834 if cmp -s $cache_file confcache; then
23837 if test -w $cache_file; then
23838 echo "updating cache $cache_file"
23839 cat confcache > $cache_file
23841 echo "not updating unwritable cache $cache_file"
23847 if test "${multilib}" = "yes"; then
23848 multilib_arg="--enable-multilib"
23853 # Export all the install information
23855 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23856 # exported correctly in GLIBCPP_CONFIGURE.
23857 glibcpp_toolexecdir=no
23858 glibcpp_toolexeclibdir=no
23859 glibcpp_prefixdir=${prefix}
23861 # Process the option --with-gxx-include-dir=<path to include-files directory>
23862 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23863 echo "configure:23864: checking for --with-gxx-include-dir" >&5
23864 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23865 if test "${with_gxx_include_dir+set}" = set; then
23866 withval="$with_gxx_include_dir"
23867 case "${withval}" in
23869 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23876 gxx_include_dir=${withval}
23883 echo "$ac_t""$gxx_include_dir" 1>&6
23885 # Process the option "--enable-version-specific-runtime-libs"
23886 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23887 echo "configure:23888: checking for --enable-version-specific-runtime-libs" >&5
23888 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23889 if test "${enable_version_specific_runtime_libs+set}" = set; then
23890 enableval="$enable_version_specific_runtime_libs"
23891 case "$enableval" in
23892 yes) version_specific_libs=yes ;;
23893 no) version_specific_libs=no ;;
23894 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23897 version_specific_libs=no
23899 # Option set, now we can test it.
23900 echo "$ac_t""$version_specific_libs" 1>&6
23902 # Default case for install directory for include files.
23903 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23904 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23907 # Version-specific runtime libs processing.
23908 if test $version_specific_libs = yes; then
23909 # Need the gcc compiler version to know where to install libraries
23910 # and header files if --enable-version-specific-runtime-libs option
23912 if test x"$gxx_include_dir" = x"no"; then
23913 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23915 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23916 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23919 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23920 # Install a library built with a cross compiler in tooldir, not libdir.
23921 if test x"$glibcpp_toolexecdir" = x"no"; then
23922 if test -n "$with_cross_host" &&
23923 test x"$with_cross_host" != x"no"; then
23924 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23925 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23927 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23928 glibcpp_toolexeclibdir='$(libdir)'
23930 multi_os_directory=`$CC -print-multi-os-directory`
23931 case $multi_os_directory in
23932 .) ;; # Avoid trailing /.
23933 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
23937 echo $ac_n "checking for install location""... $ac_c" 1>&6
23938 echo "configure:23939: checking for install location" >&5
23939 echo "$ac_t""$gxx_include_dir" 1>&6
23947 # Export all the include and flag information to Makefiles.
23949 # Root level of the build directory include sources.
23950 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23952 # Passed down for canadian crosses.
23953 if test x"$CANADIAN" = xyes; then
23954 TOPLEVEL_INCLUDES='-I$(includedir)'
23957 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23959 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23961 if test x"$need_libio" = xyes; then
23962 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23966 # Now, export this to all the little Makefiles....
23973 # Optimization flags that are probably a good idea for thrill-seekers. Just
23974 # uncomment the lines below and make, everything else is ready to go...
23975 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23979 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
23983 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23984 grep "enable shared" > /dev/null; then
23985 LIBSUPCXX_PICFLAGS=-prefer-pic
23987 LIBSUPCXX_PICFLAGS=
23991 # Generate the various Makefiles, include files, and scripts.
23992 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23993 # and libsupc++/Makefile.am so that multilib installs will end up
23994 # installed in the correct place. To work around this not being passed
23995 # down from config-ml.in -> top_srcdir/Makefile.am ->
23996 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23998 cat > confcache <<\EOF
23999 # This file is a shell script that caches the results of configure
24000 # tests run on this system so they can be shared between configure
24001 # scripts and configure runs. It is not useful on other systems.
24002 # If it contains results you don't want to keep, you may remove or edit it.
24004 # By default, configure uses ./config.cache as the cache file,
24005 # creating it if it does not exist already. You can give configure
24006 # the --cache-file=FILE option to use a different cache file; that is
24007 # what configure does when it calls configure scripts in
24008 # subdirectories, so they share the cache.
24009 # Giving --cache-file=/dev/null disables caching, for debugging configure.
24010 # config.status only pays attention to the cache file if you give it the
24011 # --recheck option to rerun configure.
24014 # The following way of writing the cache mishandles newlines in values,
24015 # but we know of no workaround that is simple, portable, and efficient.
24016 # So, don't put newlines in cache variables' values.
24017 # Ultrix sh set writes to stderr and can't be redirected directly,
24018 # and sets the high bit in the cache file unless we assign to the vars.
24020 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24022 # `set' does not quote correctly, so add quotes (double-quote substitution
24023 # turns \\\\ into \\, and sed turns \\ into \).
24025 -e "s/'/'\\\\''/g" \
24026 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
24029 # `set' quotes correctly as required by POSIX, so do not add quotes.
24030 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
24033 if cmp -s $cache_file confcache; then
24036 if test -w $cache_file; then
24037 echo "updating cache $cache_file"
24038 cat confcache > $cache_file
24040 echo "not updating unwritable cache $cache_file"
24045 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
24047 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24048 # Let make expand exec_prefix.
24049 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24051 # Any assignment to VPATH causes Sun make to only execute
24052 # the first set of double-colon rules, so remove it if not needed.
24053 # If there is a colon in the path, we need to keep it.
24054 if test "x$srcdir" = x.; then
24055 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24058 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24060 DEFS=-DHAVE_CONFIG_H
24062 # Without the "./", some shells look in PATH for config.status.
24063 : ${CONFIG_STATUS=./config.status}
24065 echo creating $CONFIG_STATUS
24066 rm -f $CONFIG_STATUS
24067 cat > $CONFIG_STATUS <<EOF
24069 # Generated automatically by configure.
24070 # Run this file to recreate the current configuration.
24071 # This directory was configured as follows,
24072 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24074 # $0 $ac_configure_args
24076 # Compiler output produced by configure, useful for debugging
24077 # configure, is in ./config.log if it exists.
24079 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
24082 case "\$ac_option" in
24083 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24084 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24085 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24086 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24087 echo "$CONFIG_STATUS generated by autoconf version 2.13"
24089 -help | --help | --hel | --he | --h)
24090 echo "\$ac_cs_usage"; exit 0 ;;
24091 *) echo "\$ac_cs_usage"; exit 1 ;;
24095 ac_given_srcdir=$srcdir
24096 ac_given_INSTALL="$INSTALL"
24098 trap 'rm -fr `echo "Makefile \
24099 include/Makefile src/Makefile \
24100 libmath/Makefile libio/Makefile libsupc++/Makefile \
24101 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
24103 cat >> $CONFIG_STATUS <<EOF
24105 # Protect against being on the right side of a sed subst in config.status.
24106 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24107 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24111 s%@CFLAGS@%$CFLAGS%g
24112 s%@CPPFLAGS@%$CPPFLAGS%g
24113 s%@CXXFLAGS@%$CXXFLAGS%g
24114 s%@FFLAGS@%$FFLAGS%g
24116 s%@LDFLAGS@%$LDFLAGS%g
24118 s%@exec_prefix@%$exec_prefix%g
24119 s%@prefix@%$prefix%g
24120 s%@program_transform_name@%$program_transform_name%g
24121 s%@bindir@%$bindir%g
24122 s%@sbindir@%$sbindir%g
24123 s%@libexecdir@%$libexecdir%g
24124 s%@datadir@%$datadir%g
24125 s%@sysconfdir@%$sysconfdir%g
24126 s%@sharedstatedir@%$sharedstatedir%g
24127 s%@localstatedir@%$localstatedir%g
24128 s%@libdir@%$libdir%g
24129 s%@includedir@%$includedir%g
24130 s%@oldincludedir@%$oldincludedir%g
24131 s%@infodir@%$infodir%g
24132 s%@mandir@%$mandir%g
24133 s%@PACKAGE@%$PACKAGE%g
24134 s%@libtool_VERSION@%$libtool_VERSION%g
24135 s%@toplevel_srcdir@%$toplevel_srcdir%g
24137 s%@host_alias@%$host_alias%g
24138 s%@host_cpu@%$host_cpu%g
24139 s%@host_vendor@%$host_vendor%g
24140 s%@host_os@%$host_os%g
24141 s%@target@%$target%g
24142 s%@target_alias@%$target_alias%g
24143 s%@target_cpu@%$target_cpu%g
24144 s%@target_vendor@%$target_vendor%g
24145 s%@target_os@%$target_os%g
24147 s%@build_alias@%$build_alias%g
24148 s%@build_cpu@%$build_cpu%g
24149 s%@build_vendor@%$build_vendor%g
24150 s%@build_os@%$build_os%g
24151 s%@glibcpp_builddir@%$glibcpp_builddir%g
24152 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24155 s%@glibcpp_basedir@%$glibcpp_basedir%g
24157 s%@glibcpp_CXX@%$glibcpp_CXX%g
24160 s%@RANLIB@%$RANLIB%g
24161 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24162 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24163 s%@INSTALL_DATA@%$INSTALL_DATA%g
24164 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24165 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24167 s%@EXEEXT@%$EXEEXT%g
24168 s%@VERSION@%$VERSION%g
24169 s%@ACLOCAL@%$ACLOCAL%g
24170 s%@AUTOCONF@%$AUTOCONF%g
24171 s%@AUTOMAKE@%$AUTOMAKE%g
24172 s%@AUTOHEADER@%$AUTOHEADER%g
24173 s%@MAKEINFO@%$MAKEINFO%g
24174 s%@SET_MAKE@%$SET_MAKE%g
24175 s%@OBJEXT@%$OBJEXT%g
24177 s%@LIBTOOL@%$LIBTOOL%g
24178 s%@CXXCPP@%$CXXCPP%g
24179 s%@enable_shared@%$enable_shared%g
24180 s%@enable_static@%$enable_static%g
24181 s%@ifGNUmake@%$ifGNUmake%g
24182 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24183 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24184 s%@glibcpp_PCHFLAGS@%$glibcpp_PCHFLAGS%g
24186 s%@CSTDIO_H@%$CSTDIO_H%g
24187 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24188 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24189 s%@CCODECVT_C@%$CCODECVT_C%g
24190 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24191 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24192 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24193 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24194 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24195 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24196 s%@libio_la@%$libio_la%g
24197 s%@check_msgfmt@%$check_msgfmt%g
24198 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24199 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24200 s%@glibcpp_localedir@%$glibcpp_localedir%g
24201 s%@USE_NLS@%$USE_NLS%g
24202 s%@CLOCALE_H@%$CLOCALE_H%g
24203 s%@CCODECVT_H@%$CCODECVT_H%g
24204 s%@CMESSAGES_H@%$CMESSAGES_H%g
24205 s%@CCODECVT_CC@%$CCODECVT_CC%g
24206 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24207 s%@CCTYPE_CC@%$CCTYPE_CC%g
24208 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24209 s%@CMONEY_CC@%$CMONEY_CC%g
24210 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24211 s%@CTIME_H@%$CTIME_H%g
24212 s%@CTIME_CC@%$CTIME_CC%g
24213 s%@CLOCALE_CC@%$CLOCALE_CC%g
24214 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24215 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24216 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24217 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24218 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24219 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24220 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24221 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24222 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24223 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24224 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24225 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24226 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24227 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24228 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24229 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24230 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24231 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24232 s%@WERROR@%$WERROR%g
24233 s%@baseline_file@%$baseline_file%g
24234 s%@SYMVER_MAP@%$SYMVER_MAP%g
24235 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24236 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24237 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24238 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24239 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24240 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24241 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24242 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24243 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24244 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24245 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24246 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24247 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24248 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24249 s%@gxx_include_dir@%$gxx_include_dir%g
24250 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24251 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24252 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24253 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24254 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24255 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24256 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24257 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24258 s%@WARN_FLAGS@%$WARN_FLAGS%g
24259 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24264 cat >> $CONFIG_STATUS <<\EOF
24266 # Split the substitutions into bite-sized pieces for seds with
24267 # small command number limits, like on Digital OSF/1 and HP-UX.
24268 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24269 ac_file=1 # Number of current file.
24270 ac_beg=1 # First line for current file.
24271 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24274 while $ac_more_lines; do
24275 if test $ac_beg -gt 1; then
24276 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24278 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24280 if test ! -s conftest.s$ac_file; then
24281 ac_more_lines=false
24282 rm -f conftest.s$ac_file
24284 if test -z "$ac_sed_cmds"; then
24285 ac_sed_cmds="sed -f conftest.s$ac_file"
24287 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24289 ac_file=`expr $ac_file + 1`
24291 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24294 if test -z "$ac_sed_cmds"; then
24299 cat >> $CONFIG_STATUS <<EOF
24301 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24302 include/Makefile src/Makefile \
24303 libmath/Makefile libio/Makefile libsupc++/Makefile \
24304 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
24306 cat >> $CONFIG_STATUS <<\EOF
24307 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24308 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24310 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24311 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24312 *) ac_file_in="${ac_file}.in" ;;
24315 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24317 # Remove last slash and all that follows it. Not all systems have dirname.
24318 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24319 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24320 # The file is in a subdirectory.
24321 test ! -d "$ac_dir" && mkdir "$ac_dir"
24322 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24323 # A "../" for each directory in $ac_dir_suffix.
24324 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24326 ac_dir_suffix= ac_dots=
24329 case "$ac_given_srcdir" in
24331 if test -z "$ac_dots"; then top_srcdir=.
24332 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24333 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24334 *) # Relative path.
24335 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24336 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24339 case "$ac_given_INSTALL" in
24340 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24341 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24344 echo creating "$ac_file"
24346 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24348 *Makefile*) ac_comsub="1i\\
24349 # $configure_input" ;;
24353 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24355 s%@configure_input@%$configure_input%g
24356 s%@srcdir@%$srcdir%g
24357 s%@top_srcdir@%$top_srcdir%g
24358 s%@INSTALL@%$INSTALL%g
24359 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24363 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24364 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24366 # ac_d sets the value in "#define NAME VALUE" lines.
24367 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24368 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24371 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24372 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24373 ac_uB='\([ ]\)%\1#\2define\3'
24376 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24377 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24378 ac_eB='$%\1#\2define\3'
24382 if test "${CONFIG_HEADERS+set}" != set; then
24384 cat >> $CONFIG_STATUS <<EOF
24385 CONFIG_HEADERS="config.h"
24387 cat >> $CONFIG_STATUS <<\EOF
24389 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24390 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24392 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24393 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24394 *) ac_file_in="${ac_file}.in" ;;
24397 echo creating $ac_file
24399 rm -f conftest.frag conftest.in conftest.out
24400 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24401 cat $ac_file_inputs > conftest.in
24405 # Transform confdefs.h into a sed script conftest.vals that substitutes
24406 # the proper values into config.h.in to produce config.h. And first:
24407 # Protect against being on the right side of a sed subst in config.status.
24408 # Protect against being in an unquoted here document in config.status.
24409 rm -f conftest.vals
24410 cat > conftest.hdr <<\EOF
24413 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24417 sed -n -f conftest.hdr confdefs.h > conftest.vals
24420 # This sed command replaces #undef with comments. This is necessary, for
24421 # example, in the case of _POSIX_SOURCE, which is predefined and required
24422 # on some systems where configure will not decide to define it.
24423 cat >> conftest.vals <<\EOF
24424 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24427 # Break up conftest.vals because some shells have a limit on
24428 # the size of here documents, and old seds have small limits too.
24430 rm -f conftest.tail
24433 ac_lines=`grep -c . conftest.vals`
24434 # grep -c gives empty output for an empty file on some AIX systems.
24435 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24436 # Write a limited-size here document to conftest.frag.
24437 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24438 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24440 sed -f conftest.frag conftest.in > conftest.out
24442 mv conftest.out conftest.in
24443 ' >> $CONFIG_STATUS
24444 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24445 rm -f conftest.vals
24446 mv conftest.tail conftest.vals
24448 rm -f conftest.vals
24450 cat >> $CONFIG_STATUS <<\EOF
24451 rm -f conftest.frag conftest.h
24452 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24453 cat conftest.in >> conftest.h
24455 if cmp -s $ac_file conftest.h 2>/dev/null; then
24456 echo "$ac_file is unchanged"
24459 # Remove last slash and all that follows it. Not all systems have dirname.
24460 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24461 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24462 # The file is in a subdirectory.
24463 test ! -d "$ac_dir" && mkdir "$ac_dir"
24466 mv conftest.h $ac_file
24471 cat >> $CONFIG_STATUS <<EOF
24476 with_target_subdir=${with_target_subdir}
24477 with_build_subdir=${with_build_subdir}
24478 with_multisubdir=${with_multisubdir}
24479 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24480 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24481 glibcpp_basedir=${glibcpp_basedir}
24484 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24487 cat >> $CONFIG_STATUS <<\EOF
24488 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24489 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24490 if test -n "$CONFIG_FILES"; then
24491 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24492 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24493 # Ony modify Makefiles that are just being created.
24494 case " $CONFIG_FILES" in
24496 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24499 case $CONFIG_FILES in
24501 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24504 case $CONFIG_FILES in
24505 *libsupc++/Makefile*)
24506 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24512 chmod +x testsuite_flags
24515 chmod +x $CONFIG_STATUS
24516 rm -fr confdefs* $ac_clean_files
24517 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24521 # Sanity checking & User-visible messages.
24522 # Checks down here, otherwise they get scrolled off before
24523 # the user will notice.
24525 # Trying to get more people to read documentation. Possibly remove
24526 # check and warn all the time. There is no "informational" AC_MSG_
24527 # macro, so these are going to be printed even when --quiet/--silent
24529 if test ! -f stamp-sanity-warned; then
24530 touch stamp-sanity-warned
24532 echo "Please make certain that you read the installation information here:"
24533 echo " faster => ${srcdir}/docs/html/install.html"
24534 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24536 echo "and the configuration information here:"
24537 echo " faster => ${srcdir}/docs/html/configopts.html"
24538 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24540 echo "before proceeding with ${_cv_gnu_make_command}."