3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --with-newlib Configuring with newlib"
24 --enable-maintainer-mode enable make rules and dependencies not useful
25 (and sometimes confusing) to the casual installer"
27 --enable-shared[=PKGS] build shared libraries [default=yes]"
29 --enable-static[=PKGS] build static libraries [default=yes]"
31 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
33 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
35 --disable-libtool-lock avoid locking (might break parallel builds)"
37 --with-pic try to use only PIC/non-PIC objects [default=use both]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-nls use Native Language Support (default)"
49 --enable-cheaders=MODEL construct "C" header files for g++ [default=c_std]"
51 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
53 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
55 --enable-long-long turns on 'long long' [default=yes]"
57 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
59 --enable-libunwind-exceptions force use of libunwind for exceptions"
61 --enable-concept-checks use Boost-derived template checks [default=no]"
63 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
66 --enable-debug build extra debug library [default=no]"
68 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
69 library;[default=none]"
71 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
73 --with-gxx-include-dir the installation directory for include files"
75 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
77 # Initialize some variables set by options.
78 # The variables have the same names as the options, with
79 # dashes changed to underlines.
81 cache_file=./config.cache
90 program_transform_name=s,x,x,
98 bindir='${exec_prefix}/bin'
99 sbindir='${exec_prefix}/sbin'
100 libexecdir='${exec_prefix}/libexec'
101 datadir='${prefix}/share'
102 sysconfdir='${prefix}/etc'
103 sharedstatedir='${prefix}/com'
104 localstatedir='${prefix}/var'
105 libdir='${exec_prefix}/lib'
106 includedir='${prefix}/include'
107 oldincludedir='/usr/include'
108 infodir='${prefix}/info'
109 mandir='${prefix}/man'
111 # Initialize some other variables.
114 SHELL=${CONFIG_SHELL-/bin/sh}
115 # Maximum number of lines to put in a shell here document.
122 # If the previous option needs an argument, assign it.
123 if test -n "$ac_prev"; then
124 eval "$ac_prev=\$ac_option"
130 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
134 # Accept the important Cygnus configure options, so we can diagnose typos.
138 -bindir | --bindir | --bindi | --bind | --bin | --bi)
140 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
141 bindir="$ac_optarg" ;;
143 -build | --build | --buil | --bui | --bu)
145 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
146 build="$ac_optarg" ;;
148 -cache-file | --cache-file | --cache-fil | --cache-fi \
149 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
150 ac_prev=cache_file ;;
151 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
152 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
153 cache_file="$ac_optarg" ;;
155 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
157 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
159 datadir="$ac_optarg" ;;
161 -disable-* | --disable-*)
162 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
163 # Reject names that are not valid shell variable names.
164 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
165 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
167 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
168 eval "enable_${ac_feature}=no" ;;
170 -enable-* | --enable-*)
171 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
172 # Reject names that are not valid shell variable names.
173 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
174 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
176 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
181 eval "enable_${ac_feature}='$ac_optarg'" ;;
183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
185 | --exec | --exe | --ex)
186 ac_prev=exec_prefix ;;
187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
189 | --exec=* | --exe=* | --ex=*)
190 exec_prefix="$ac_optarg" ;;
192 -gas | --gas | --ga | --g)
193 # Obsolete; use --with-gas.
196 -help | --help | --hel | --he)
197 # Omit some internal or obsolete options to make the list less imposing.
198 # This message is too long to be a string in the A/UX 3.1 sh.
200 Usage: configure [options] [host]
201 Options: [defaults in brackets after descriptions]
203 --cache-file=FILE cache test results in FILE
204 --help print this message
205 --no-create do not create output files
206 --quiet, --silent do not print \`checking...' messages
207 --version print the version of autoconf that created configure
208 Directory and file names:
209 --prefix=PREFIX install architecture-independent files in PREFIX
211 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
213 --bindir=DIR user executables in DIR [EPREFIX/bin]
214 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
215 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
216 --datadir=DIR read-only architecture-independent data in DIR
218 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
219 --sharedstatedir=DIR modifiable architecture-independent data in DIR
221 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
222 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
223 --includedir=DIR C header files in DIR [PREFIX/include]
224 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
225 --infodir=DIR info documentation in DIR [PREFIX/info]
226 --mandir=DIR man documentation in DIR [PREFIX/man]
227 --srcdir=DIR find the sources in DIR [configure dir or ..]
228 --program-prefix=PREFIX prepend PREFIX to installed program names
229 --program-suffix=SUFFIX append SUFFIX to installed program names
230 --program-transform-name=PROGRAM
231 run sed PROGRAM on installed program names
235 --build=BUILD configure for building on BUILD [BUILD=HOST]
236 --host=HOST configure for HOST [guessed]
237 --target=TARGET configure for TARGET [TARGET=HOST]
238 Features and packages:
239 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
240 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
241 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
242 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
243 --x-includes=DIR X include files are in DIR
244 --x-libraries=DIR X library files are in DIR
246 if test -n "$ac_help"; then
247 echo "--enable and --with options recognized:$ac_help"
251 -host | --host | --hos | --ho)
253 -host=* | --host=* | --hos=* | --ho=*)
256 -includedir | --includedir | --includedi | --included | --include \
257 | --includ | --inclu | --incl | --inc)
258 ac_prev=includedir ;;
259 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
260 | --includ=* | --inclu=* | --incl=* | --inc=*)
261 includedir="$ac_optarg" ;;
263 -infodir | --infodir | --infodi | --infod | --info | --inf)
265 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
266 infodir="$ac_optarg" ;;
268 -libdir | --libdir | --libdi | --libd)
270 -libdir=* | --libdir=* | --libdi=* | --libd=*)
271 libdir="$ac_optarg" ;;
273 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
274 | --libexe | --libex | --libe)
275 ac_prev=libexecdir ;;
276 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
277 | --libexe=* | --libex=* | --libe=*)
278 libexecdir="$ac_optarg" ;;
280 -localstatedir | --localstatedir | --localstatedi | --localstated \
281 | --localstate | --localstat | --localsta | --localst \
282 | --locals | --local | --loca | --loc | --lo)
283 ac_prev=localstatedir ;;
284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
285 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
286 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
287 localstatedir="$ac_optarg" ;;
289 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
291 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
292 mandir="$ac_optarg" ;;
295 # Obsolete; use --without-fp.
298 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
302 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
303 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
306 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
307 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
308 | --oldin | --oldi | --old | --ol | --o)
309 ac_prev=oldincludedir ;;
310 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
311 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
312 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
313 oldincludedir="$ac_optarg" ;;
315 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
317 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
318 prefix="$ac_optarg" ;;
320 -program-prefix | --program-prefix | --program-prefi | --program-pref \
321 | --program-pre | --program-pr | --program-p)
322 ac_prev=program_prefix ;;
323 -program-prefix=* | --program-prefix=* | --program-prefi=* \
324 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
325 program_prefix="$ac_optarg" ;;
327 -program-suffix | --program-suffix | --program-suffi | --program-suff \
328 | --program-suf | --program-su | --program-s)
329 ac_prev=program_suffix ;;
330 -program-suffix=* | --program-suffix=* | --program-suffi=* \
331 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
332 program_suffix="$ac_optarg" ;;
334 -program-transform-name | --program-transform-name \
335 | --program-transform-nam | --program-transform-na \
336 | --program-transform-n | --program-transform- \
337 | --program-transform | --program-transfor \
338 | --program-transfo | --program-transf \
339 | --program-trans | --program-tran \
340 | --progr-tra | --program-tr | --program-t)
341 ac_prev=program_transform_name ;;
342 -program-transform-name=* | --program-transform-name=* \
343 | --program-transform-nam=* | --program-transform-na=* \
344 | --program-transform-n=* | --program-transform-=* \
345 | --program-transform=* | --program-transfor=* \
346 | --program-transfo=* | --program-transf=* \
347 | --program-trans=* | --program-tran=* \
348 | --progr-tra=* | --program-tr=* | --program-t=*)
349 program_transform_name="$ac_optarg" ;;
351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
352 | -silent | --silent | --silen | --sile | --sil)
355 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
357 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
359 sbindir="$ac_optarg" ;;
361 -sharedstatedir | --sharedstatedir | --sharedstatedi \
362 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
363 | --sharedst | --shareds | --shared | --share | --shar \
365 ac_prev=sharedstatedir ;;
366 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
367 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
368 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
370 sharedstatedir="$ac_optarg" ;;
372 -site | --site | --sit)
374 -site=* | --site=* | --sit=*)
377 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
379 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
380 srcdir="$ac_optarg" ;;
382 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
383 | --syscon | --sysco | --sysc | --sys | --sy)
384 ac_prev=sysconfdir ;;
385 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
386 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
387 sysconfdir="$ac_optarg" ;;
389 -target | --target | --targe | --targ | --tar | --ta | --t)
391 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
392 target="$ac_optarg" ;;
394 -v | -verbose | --verbose | --verbos | --verbo | --verb)
397 -version | --version | --versio | --versi | --vers)
398 echo "configure generated by autoconf version 2.13"
402 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
403 # Reject names that are not valid shell variable names.
404 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
405 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
407 ac_package=`echo $ac_package| sed 's/-/_/g'`
412 eval "with_${ac_package}='$ac_optarg'" ;;
414 -without-* | --without-*)
415 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
416 # Reject names that are not valid shell variable names.
417 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
418 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
420 ac_package=`echo $ac_package| sed 's/-/_/g'`
421 eval "with_${ac_package}=no" ;;
424 # Obsolete; use --with-x.
427 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
428 | --x-incl | --x-inc | --x-in | --x-i)
429 ac_prev=x_includes ;;
430 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
431 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
432 x_includes="$ac_optarg" ;;
434 -x-libraries | --x-libraries | --x-librarie | --x-librari \
435 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
436 ac_prev=x_libraries ;;
437 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
438 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
439 x_libraries="$ac_optarg" ;;
441 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
445 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
446 echo "configure: warning: $ac_option: invalid host type" 1>&2
448 if test "x$nonopt" != xNONE; then
449 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
457 if test -n "$ac_prev"; then
458 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
461 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
463 # File descriptor usage:
466 # 2 errors and warnings
467 # 3 some systems may open it to /dev/tty
468 # 4 used on the Kubota Titan
469 # 6 checking for... messages and results
470 # 5 compiler messages saved in config.log
471 if test "$silent" = yes; then
479 This file contains any messages produced by compilers while
480 running configure, to aid debugging if configure makes a mistake.
483 # Strip out --no-create and --no-recursion so they do not pile up.
484 # Also quote any args containing shell metacharacters.
489 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
490 | --no-cr | --no-c) ;;
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
493 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
494 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
495 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
500 # Only set these to C if already set. These must not be set unconditionally
501 # because not all systems understand e.g. LANG=C (notably SCO).
502 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
503 # Non-C LC_CTYPE values break the ctype check.
504 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
505 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
506 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
507 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
509 # confdefs.h avoids OS command line length limits that DEFS can exceed.
510 rm -rf conftest* confdefs.h
511 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
514 # A filename unique to this package, relative to the directory that
515 # configure is in, which we can look for to find out if srcdir is correct.
516 ac_unique_file=src/ios.cc
518 # Find the source files, if location was not specified.
519 if test -z "$srcdir"; then
520 ac_srcdir_defaulted=yes
521 # Try the directory containing this script, then its parent.
523 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
524 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
526 if test ! -r $srcdir/$ac_unique_file; then
530 ac_srcdir_defaulted=no
532 if test ! -r $srcdir/$ac_unique_file; then
533 if test "$ac_srcdir_defaulted" = yes; then
534 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
536 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
539 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
541 # Prefer explicitly selected file to automatically selected ones.
542 if test -z "$CONFIG_SITE"; then
543 if test "x$prefix" != xNONE; then
544 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
546 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
549 for ac_site_file in $CONFIG_SITE; do
550 if test -r "$ac_site_file"; then
551 echo "loading site script $ac_site_file"
556 if test -r "$cache_file"; then
557 echo "loading cache $cache_file"
560 echo "creating cache $cache_file"
565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
566 ac_cpp='$CPP $CPPFLAGS'
567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
568 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
569 cross_compiling=$ac_cv_prog_cc_cross
573 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
574 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
575 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
582 ac_n= ac_c='\c' ac_t=
587 # This works around the fact that libtool configuration may change LD
588 # for this particular configuration, but some shells, instead of
589 # keeping the changes in LD private, export them just because LD is
590 # exported. Only used at the end of this file.
591 ORIGINAL_LD_FOR_MULTILIBS=$LD
595 # For libtool versioning info, format is CURRENT:REVISION:AGE
596 libtool_VERSION=6:0:0
600 # Check whether --enable-multilib or --disable-multilib was given.
601 if test "${enable_multilib+set}" = set; then
602 enableval="$enable_multilib"
603 case "${enableval}" in
606 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
612 # When building with srcdir == objdir, links to the source files will
613 # be created in directories within the target_subdir. We have to
614 # adjust toplevel_srcdir accordingly, so that configure finds
615 # install-sh and other auxiliary files that live in the top-level
617 if test "${srcdir}" = "."; then
618 if test -z "${with_target_subdir}"; then
621 if test "${with_target_subdir}" != "."; then
622 toprel="${with_multisrctop}../.."
624 toprel="${with_multisrctop}.."
631 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
632 if test -f $ac_dir/install-sh; then
634 ac_install_sh="$ac_aux_dir/install-sh -c"
636 elif test -f $ac_dir/install.sh; then
638 ac_install_sh="$ac_aux_dir/install.sh -c"
642 if test -z "$ac_aux_dir"; then
643 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
645 ac_config_guess=$ac_aux_dir/config.guess
646 ac_config_sub=$ac_aux_dir/config.sub
647 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
649 toplevel_srcdir=\${top_srcdir}/$toprel
653 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
655 # You will slowly go insane if you do not grok the following fact: when
656 # building v3 as part of the compiler, the top-level /target/ becomes the
657 # library's /host/. `configure' then causes --target to default to --host,
658 # exactly like any other package using autoconf. Therefore, 'target' and
659 # 'host' will always be the same. This makes sense both for native and
660 # cross compilers, just think about it for a little while. :-)
662 # Also, if v3 is being configured as part of a cross compiler, the top-level
663 # configure script will pass the "real" host as $with_cross_host.
665 # In AC 2.13 AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
667 # Do some error checking and defaulting for the host and target type.
669 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
672 # 1. You are not allowed to specify --host, --target, and nonopt at the
674 # 2. Host defaults to nonopt.
675 # 3. If nonopt is not specified, then host defaults to the current host,
676 # as determined by config.guess.
677 # 4. Target and build default to nonopt.
678 # 5. If nonopt is not specified, then target and build default to host.
680 # The aliases save the names the user supplied, while $host etc.
681 # will get canonicalized.
682 case $host---$target---$nonopt in
683 NONE---*---* | *---NONE---* | *---*---NONE) ;;
684 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
688 # Make sure we can run config.sub.
689 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
690 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
693 echo $ac_n "checking host system type""... $ac_c" 1>&6
694 echo "configure:695: checking host system type" >&5
697 case "$host_alias" in
701 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
702 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
704 *) host_alias=$nonopt ;;
708 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
709 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$host" 1>&6
714 echo $ac_n "checking target system type""... $ac_c" 1>&6
715 echo "configure:716: checking target system type" >&5
718 case "$target_alias" in
721 NONE) target_alias=$host_alias ;;
722 *) target_alias=$nonopt ;;
726 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
727 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$target" 1>&6
732 echo $ac_n "checking build system type""... $ac_c" 1>&6
733 echo "configure:734: checking build system type" >&5
736 case "$build_alias" in
739 NONE) build_alias=$host_alias ;;
740 *) build_alias=$nonopt ;;
744 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
745 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
746 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
747 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
748 echo "$ac_t""$build" 1>&6
750 test "$host_alias" != "$target_alias" &&
751 test "$program_prefix$program_suffix$program_transform_name" = \
753 program_prefix=${target_alias}-
756 # Runs configure.host, finds CC, CXX and assorted other critical bits.
757 # Must run this before the GLIBCPP_ENABLE_* macros below.
758 if test $host != $build; then
759 ac_tool_prefix=${host_alias}-
764 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
765 echo "configure:766: checking for Cygwin environment" >&5
766 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
767 echo $ac_n "(cached) $ac_c" 1>&6
769 cat > conftest.$ac_ext <<EOF
770 #line 771 "configure"
771 #include "confdefs.h"
776 #define __CYGWIN__ __CYGWIN32__
781 if { (eval echo configure:782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
785 echo "configure: failed program was:" >&5
786 cat conftest.$ac_ext >&5
794 echo "$ac_t""$ac_cv_cygwin" 1>&6
796 test "$ac_cv_cygwin" = yes && CYGWIN=yes
797 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
798 echo "configure:799: checking for mingw32 environment" >&5
799 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
800 echo $ac_n "(cached) $ac_c" 1>&6
802 cat > conftest.$ac_ext <<EOF
803 #line 804 "configure"
804 #include "confdefs.h"
810 if { (eval echo configure:811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
814 echo "configure: failed program was:" >&5
815 cat conftest.$ac_ext >&5
823 echo "$ac_t""$ac_cv_mingw32" 1>&6
825 test "$ac_cv_mingw32" = yes && MINGW32=yes
827 # Export build and source directories.
828 # These need to be absolute paths, yet at the same time need to
829 # canonicalize only relative paths, because then amd will not unmount
830 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
831 glibcpp_builddir=`${PWDCMD-pwd}`
833 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
834 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
841 for ac_prog in gawk mawk nawk awk
843 # Extract the first word of "$ac_prog", so it can be a program name with args.
844 set dummy $ac_prog; ac_word=$2
845 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
846 echo "configure:847: checking for $ac_word" >&5
847 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
848 echo $ac_n "(cached) $ac_c" 1>&6
850 if test -n "$AWK"; then
851 ac_cv_prog_AWK="$AWK" # Let the user override the test.
853 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
855 for ac_dir in $ac_dummy; do
856 test -z "$ac_dir" && ac_dir=.
857 if test -f $ac_dir/$ac_word; then
858 ac_cv_prog_AWK="$ac_prog"
865 AWK="$ac_cv_prog_AWK"
866 if test -n "$AWK"; then
867 echo "$ac_t""$AWK" 1>&6
869 echo "$ac_t""no" 1>&6
872 test -n "$AWK" && break
875 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
876 # be 'cp -p' if linking isn't available. Uncomment the next line to
877 # force a particular method.
878 #ac_cv_prog_LN_S='cp -p'
879 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
880 echo "configure:881: checking whether ln -s works" >&5
881 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
882 echo $ac_n "(cached) $ac_c" 1>&6
885 if ln -s X conftestdata 2>/dev/null
888 ac_cv_prog_LN_S="ln -s"
893 LN_S="$ac_cv_prog_LN_S"
894 if test "$ac_cv_prog_LN_S" = "ln -s"; then
895 echo "$ac_t""yes" 1>&6
897 echo "$ac_t""no" 1>&6
901 # We use these options to decide which functions to include.
902 # Check whether --with-target-subdir or --without-target-subdir was given.
903 if test "${with_target_subdir+set}" = set; then
904 withval="$with_target_subdir"
908 # Check whether --with-cross-host or --without-cross-host was given.
909 if test "${with_cross_host+set}" = set; then
910 withval="$with_cross_host"
915 # Check whether --with-newlib or --without-newlib was given.
916 if test "${with_newlib+set}" = set; then
917 withval="$with_newlib"
922 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
925 # Never versions of autoconf add an underscore to these functions.
926 # Prevent future problems ...
933 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
934 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
935 # are probably using a cross compiler, which will not be able to fully
936 # link an executable. This is addressed in later versions of autoconf.
941 # Extract the first word of "gcc", so it can be a program name with args.
942 set dummy gcc; ac_word=$2
943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
944 echo "configure:945: checking for $ac_word" >&5
945 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
946 echo $ac_n "(cached) $ac_c" 1>&6
948 if test -n "$CC"; then
949 ac_cv_prog_CC="$CC" # Let the user override the test.
951 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
953 for ac_dir in $ac_dummy; do
954 test -z "$ac_dir" && ac_dir=.
955 if test -f $ac_dir/$ac_word; then
964 if test -n "$CC"; then
965 echo "$ac_t""$CC" 1>&6
967 echo "$ac_t""no" 1>&6
970 if test -z "$CC"; then
971 # Extract the first word of "cc", so it can be a program name with args.
972 set dummy cc; ac_word=$2
973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
974 echo "configure:975: checking for $ac_word" >&5
975 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
976 echo $ac_n "(cached) $ac_c" 1>&6
978 if test -n "$CC"; then
979 ac_cv_prog_CC="$CC" # Let the user override the test.
981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
984 for ac_dir in $ac_dummy; do
985 test -z "$ac_dir" && ac_dir=.
986 if test -f $ac_dir/$ac_word; then
987 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
996 if test $ac_prog_rejected = yes; then
997 # We found a bogon in the path, so make sure we never use it.
998 set dummy $ac_cv_prog_CC
1000 if test $# -gt 0; then
1001 # We chose a different compiler from the bogus one.
1002 # However, it has the same basename, so the bogon will be chosen
1003 # first if we set CC to just the basename; use the full file name.
1005 set dummy "$ac_dir/$ac_word" "$@"
1013 if test -n "$CC"; then
1014 echo "$ac_t""$CC" 1>&6
1016 echo "$ac_t""no" 1>&6
1019 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1022 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1023 echo "configure:1024: checking whether we are using GNU C" >&5
1024 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1025 echo $ac_n "(cached) $ac_c" 1>&6
1027 cat > conftest.c <<EOF
1032 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1039 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1041 if test $ac_cv_prog_gcc = yes; then
1043 ac_test_CFLAGS="${CFLAGS+set}"
1044 ac_save_CFLAGS="$CFLAGS"
1046 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1047 echo "configure:1048: checking whether ${CC-cc} accepts -g" >&5
1048 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1049 echo $ac_n "(cached) $ac_c" 1>&6
1051 echo 'void f(){}' > conftest.c
1052 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1061 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1062 if test "$ac_test_CFLAGS" = set; then
1063 CFLAGS="$ac_save_CFLAGS"
1064 elif test $ac_cv_prog_cc_g = yes; then
1071 test "${CFLAGS+set}" = set || CFLAGS="-g"
1075 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1076 # will try to link in libstdc++.
1080 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1081 # flags that come in CXX while configuring libstdc++. They're different
1082 # from those used for all other target libraries. If CXX is set in
1083 # the environment, respect that here.
1085 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1087 # Extract the first word of "$ac_prog", so it can be a program name with args.
1088 set dummy $ac_prog; ac_word=$2
1089 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1090 echo "configure:1091: checking for $ac_word" >&5
1091 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1092 echo $ac_n "(cached) $ac_c" 1>&6
1094 if test -n "$glibcpp_CXX"; then
1095 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1097 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1099 for ac_dir in $ac_dummy; do
1100 test -z "$ac_dir" && ac_dir=.
1101 if test -f $ac_dir/$ac_word; then
1102 ac_cv_prog_glibcpp_CXX="$ac_prog"
1109 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1110 if test -n "$glibcpp_CXX"; then
1111 echo "$ac_t""$glibcpp_CXX" 1>&6
1113 echo "$ac_t""no" 1>&6
1116 test -n "$glibcpp_CXX" && break
1118 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1122 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1124 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1125 echo "configure:1126: checking whether we are using GNU C++" >&5
1126 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1127 echo $ac_n "(cached) $ac_c" 1>&6
1129 cat > conftest.C <<EOF
1134 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1141 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1143 if test $ac_cv_prog_gxx = yes; then
1145 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1146 ac_save_CXXFLAGS="$CXXFLAGS"
1148 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1149 echo "configure:1150: checking whether ${CXX-g++} accepts -g" >&5
1150 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1151 echo $ac_n "(cached) $ac_c" 1>&6
1153 echo 'void f(){}' > conftest.cc
1154 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1155 ac_cv_prog_cxx_g=yes
1163 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1164 if test "$ac_test_CXXFLAGS" = set; then
1165 CXXFLAGS="$ac_save_CXXFLAGS"
1166 elif test $ac_cv_prog_cxx_g = yes; then
1173 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1177 # For directory versioning (e.g., headers) and other variables.
1178 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1179 echo "configure:1180: checking for GCC version number" >&5
1180 gcc_version=`$glibcpp_CXX -dumpversion`
1181 echo "$ac_t""$gcc_version" 1>&6
1183 # For some reason, gettext needs this.
1185 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1186 echo "configure:1187: checking for strerror in -lcposix" >&5
1187 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1189 echo $ac_n "(cached) $ac_c" 1>&6
1191 ac_save_LIBS="$LIBS"
1192 LIBS="-lcposix $LIBS"
1193 cat > conftest.$ac_ext <<EOF
1194 #line 1195 "configure"
1195 #include "confdefs.h"
1196 /* Override any gcc2 internal prototype to avoid an error. */
1197 /* We use char because int might match the return type of a gcc2
1198 builtin and then its argument prototype would still apply. */
1205 if { (eval echo configure:1206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1207 eval "ac_cv_lib_$ac_lib_var=yes"
1209 echo "configure: failed program was:" >&5
1210 cat conftest.$ac_ext >&5
1212 eval "ac_cv_lib_$ac_lib_var=no"
1215 LIBS="$ac_save_LIBS"
1218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1219 echo "$ac_t""yes" 1>&6
1220 LIBS="$LIBS -lcposix"
1222 echo "$ac_t""no" 1>&6
1228 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1229 set dummy ${ac_tool_prefix}as; ac_word=$2
1230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1231 echo "configure:1232: checking for $ac_word" >&5
1232 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1233 echo $ac_n "(cached) $ac_c" 1>&6
1235 if test -n "$AS"; then
1236 ac_cv_prog_AS="$AS" # Let the user override the test.
1238 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1240 for ac_dir in $ac_dummy; do
1241 test -z "$ac_dir" && ac_dir=.
1242 if test -f $ac_dir/$ac_word; then
1243 ac_cv_prog_AS="${ac_tool_prefix}as"
1248 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1252 if test -n "$AS"; then
1253 echo "$ac_t""$AS" 1>&6
1255 echo "$ac_t""no" 1>&6
1260 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1261 set dummy ${ac_tool_prefix}ar; ac_word=$2
1262 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1263 echo "configure:1264: checking for $ac_word" >&5
1264 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1265 echo $ac_n "(cached) $ac_c" 1>&6
1267 if test -n "$AR"; then
1268 ac_cv_prog_AR="$AR" # Let the user override the test.
1270 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1272 for ac_dir in $ac_dummy; do
1273 test -z "$ac_dir" && ac_dir=.
1274 if test -f $ac_dir/$ac_word; then
1275 ac_cv_prog_AR="${ac_tool_prefix}ar"
1280 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1284 if test -n "$AR"; then
1285 echo "$ac_t""$AR" 1>&6
1287 echo "$ac_t""no" 1>&6
1292 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1293 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1295 echo "configure:1296: checking for $ac_word" >&5
1296 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1297 echo $ac_n "(cached) $ac_c" 1>&6
1299 if test -n "$RANLIB"; then
1300 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1302 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1304 for ac_dir in $ac_dummy; do
1305 test -z "$ac_dir" && ac_dir=.
1306 if test -f $ac_dir/$ac_word; then
1307 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1314 RANLIB="$ac_cv_prog_RANLIB"
1315 if test -n "$RANLIB"; then
1316 echo "$ac_t""$RANLIB" 1>&6
1318 echo "$ac_t""no" 1>&6
1322 if test -z "$ac_cv_prog_RANLIB"; then
1323 if test -n "$ac_tool_prefix"; then
1324 # Extract the first word of "ranlib", so it can be a program name with args.
1325 set dummy ranlib; ac_word=$2
1326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1327 echo "configure:1328: checking for $ac_word" >&5
1328 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1329 echo $ac_n "(cached) $ac_c" 1>&6
1331 if test -n "$RANLIB"; then
1332 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1334 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1336 for ac_dir in $ac_dummy; do
1337 test -z "$ac_dir" && ac_dir=.
1338 if test -f $ac_dir/$ac_word; then
1339 ac_cv_prog_RANLIB="ranlib"
1344 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1347 RANLIB="$ac_cv_prog_RANLIB"
1348 if test -n "$RANLIB"; then
1349 echo "$ac_t""$RANLIB" 1>&6
1351 echo "$ac_t""no" 1>&6
1355 RANLIB="ranlib-not-found-in-path-error"
1359 # Find a good install program. We prefer a C program (faster),
1360 # so one script is as good as another. But avoid the broken or
1361 # incompatible versions:
1362 # SysV /etc/install, /usr/sbin/install
1363 # SunOS /usr/etc/install
1364 # IRIX /sbin/install
1366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1369 # ./install, which can be erroneously created by make from ./install.sh.
1370 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1371 echo "configure:1372: checking for a BSD compatible install" >&5
1372 if test -z "$INSTALL"; then
1373 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1374 echo $ac_n "(cached) $ac_c" 1>&6
1376 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1377 for ac_dir in $PATH; do
1378 # Account for people who put trailing slashes in PATH elements.
1380 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1382 # OSF1 and SCO ODT 3.0 have their own names for install.
1383 # Don't use installbsd from OSF since it installs stuff as root
1385 for ac_prog in ginstall scoinst install; do
1386 if test -f $ac_dir/$ac_prog; then
1387 if test $ac_prog = install &&
1388 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1389 # AIX install. It has an incompatible calling convention.
1392 ac_cv_path_install="$ac_dir/$ac_prog -c"
1403 if test "${ac_cv_path_install+set}" = set; then
1404 INSTALL="$ac_cv_path_install"
1406 # As a last resort, use the slow shell script. We don't cache a
1407 # path for INSTALL within a source directory, because that will
1408 # break other packages using the cache if that directory is
1409 # removed, or if the path is relative.
1410 INSTALL="$ac_install_sh"
1413 echo "$ac_t""$INSTALL" 1>&6
1415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1416 # It thinks the first close brace ends the variable substitution.
1417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1424 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1425 echo "configure:1426: checking whether to enable maintainer-specific portions of Makefiles" >&5
1426 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1427 if test "${enable_maintainer_mode+set}" = set; then
1428 enableval="$enable_maintainer_mode"
1429 USE_MAINTAINER_MODE=$enableval
1431 USE_MAINTAINER_MODE=no
1434 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1437 if test $USE_MAINTAINER_MODE = yes; then
1438 MAINTAINER_MODE_TRUE=
1439 MAINTAINER_MODE_FALSE='#'
1441 MAINTAINER_MODE_TRUE='#'
1442 MAINTAINER_MODE_FALSE=
1444 MAINT=$MAINTAINER_MODE_TRUE
1448 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1449 # at least currently, we never actually build a program, so we never
1450 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1451 # fails, because we are probably configuring with a cross compiler
1452 # which can't create executables. So we include AC_EXEEXT to keep
1453 # automake happy, but we don't execute it, since we don't care about
1456 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1457 # to nothing, so nothing would remain between `then' and `fi' if it
1458 # were not for the `:' below.
1462 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1463 echo "configure:1464: checking for executable suffix" >&5
1464 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1465 echo $ac_n "(cached) $ac_c" 1>&6
1467 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1471 echo 'int main () { return 0; }' > conftest.$ac_ext
1473 if { (eval echo configure:1474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1474 for file in conftest.*; do
1476 *.c | *.o | *.obj) ;;
1477 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1481 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1484 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1489 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1490 echo "$ac_t""${ac_cv_exeext}" 1>&6
1495 case ${glibcpp_basedir} in
1496 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1497 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1500 # Set up safe default values for all subsequent AM_CONDITIONAL tests.
1504 #glibcpp_pch_comp=no
1507 #enable_abi_check=no
1510 # Find platform-specific directories containing configuration info. In
1511 # addition to possibly modifying the same flags, it also sets up symlinks.
1513 . ${glibcpp_basedir}/configure.host
1514 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1515 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1519 am__api_version="1.4"
1520 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1521 echo "configure:1522: checking whether build environment is sane" >&5
1524 echo timestamp > conftestfile
1525 # Do `set' in a subshell so we don't clobber the current shell's
1526 # arguments. Must try -L first in case configure is actually a
1527 # symlink; some systems play weird games with the mod time of symlinks
1528 # (eg FreeBSD returns the mod time of the symlink's containing
1531 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1532 if test "$*" = "X"; then
1534 set X `ls -t $srcdir/configure conftestfile`
1536 if test "$*" != "X $srcdir/configure conftestfile" \
1537 && test "$*" != "X conftestfile $srcdir/configure"; then
1539 # If neither matched, then we have a broken ls. This can happen
1540 # if, for instance, CONFIG_SHELL is bash and it inherits a
1541 # broken ls alias from the environment. This has actually
1542 # happened. Such a system could not be considered "sane".
1543 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1544 alias in your environment" 1>&2; exit 1; }
1547 test "$2" = conftestfile
1553 { echo "configure: error: newly created file is older than distributed files!
1554 Check your system clock" 1>&2; exit 1; }
1557 echo "$ac_t""yes" 1>&6
1558 if test "$program_transform_name" = s,x,x,; then
1559 program_transform_name=
1561 # Double any \ or $. echo might interpret backslashes.
1562 cat <<\EOF_SED > conftestsed
1563 s,\\,\\\\,g; s,\$,$$,g
1565 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1568 test "$program_prefix" != NONE &&
1569 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1570 # Use a double $ so make ignores it.
1571 test "$program_suffix" != NONE &&
1572 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1574 # sed with no file args requires a program.
1575 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1577 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1578 echo "configure:1579: checking whether ${MAKE-make} sets \${MAKE}" >&5
1579 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1580 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1581 echo $ac_n "(cached) $ac_c" 1>&6
1583 cat > conftestmake <<\EOF
1585 @echo 'ac_maketemp="${MAKE}"'
1587 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1588 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1589 if test -n "$ac_maketemp"; then
1590 eval ac_cv_prog_make_${ac_make}_set=yes
1592 eval ac_cv_prog_make_${ac_make}_set=no
1596 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1597 echo "$ac_t""yes" 1>&6
1600 echo "$ac_t""no" 1>&6
1601 SET_MAKE="MAKE=${MAKE-make}"
1607 VERSION=$gcc_version
1609 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1610 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1612 cat >> confdefs.h <<EOF
1613 #define PACKAGE "$PACKAGE"
1616 cat >> confdefs.h <<EOF
1617 #define VERSION "$VERSION"
1622 missing_dir=`cd $ac_aux_dir && pwd`
1623 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1624 echo "configure:1625: checking for working aclocal-${am__api_version}" >&5
1625 # Run test in a subshell; some versions of sh will print an error if
1626 # an executable is not found, even if stderr is redirected.
1627 # Redirect stdin to placate older versions of autoconf. Sigh.
1628 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1629 ACLOCAL=aclocal-${am__api_version}
1630 echo "$ac_t""found" 1>&6
1632 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1633 echo "$ac_t""missing" 1>&6
1636 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1637 echo "configure:1638: checking for working autoconf" >&5
1638 # Run test in a subshell; some versions of sh will print an error if
1639 # an executable is not found, even if stderr is redirected.
1640 # Redirect stdin to placate older versions of autoconf. Sigh.
1641 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1643 echo "$ac_t""found" 1>&6
1645 AUTOCONF="$missing_dir/missing autoconf"
1646 echo "$ac_t""missing" 1>&6
1649 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1650 echo "configure:1651: checking for working automake-${am__api_version}" >&5
1651 # Run test in a subshell; some versions of sh will print an error if
1652 # an executable is not found, even if stderr is redirected.
1653 # Redirect stdin to placate older versions of autoconf. Sigh.
1654 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1655 AUTOMAKE=automake-${am__api_version}
1656 echo "$ac_t""found" 1>&6
1658 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1659 echo "$ac_t""missing" 1>&6
1662 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1663 echo "configure:1664: checking for working autoheader" >&5
1664 # Run test in a subshell; some versions of sh will print an error if
1665 # an executable is not found, even if stderr is redirected.
1666 # Redirect stdin to placate older versions of autoconf. Sigh.
1667 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1668 AUTOHEADER=autoheader
1669 echo "$ac_t""found" 1>&6
1671 AUTOHEADER="$missing_dir/missing autoheader"
1672 echo "$ac_t""missing" 1>&6
1675 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1676 echo "configure:1677: checking for working makeinfo" >&5
1677 # Run test in a subshell; some versions of sh will print an error if
1678 # an executable is not found, even if stderr is redirected.
1679 # Redirect stdin to placate older versions of autoconf. Sigh.
1680 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1682 echo "$ac_t""found" 1>&6
1684 MAKEINFO="$missing_dir/missing makeinfo"
1685 echo "$ac_t""missing" 1>&6
1694 # Check whether --enable-shared or --disable-shared was given.
1695 if test "${enable_shared+set}" = set; then
1696 enableval="$enable_shared"
1697 p=${PACKAGE-default}
1699 yes) enable_shared=yes ;;
1700 no) enable_shared=no ;;
1703 # Look at the argument we got. We use all the common list separators.
1704 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1705 for pkg in $enableval; do
1706 if test "X$pkg" = "X$p"; then
1717 # Check whether --enable-static or --disable-static was given.
1718 if test "${enable_static+set}" = set; then
1719 enableval="$enable_static"
1720 p=${PACKAGE-default}
1722 yes) enable_static=yes ;;
1723 no) enable_static=no ;;
1726 # Look at the argument we got. We use all the common list separators.
1727 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1728 for pkg in $enableval; do
1729 if test "X$pkg" = "X$p"; then
1740 # Check whether --enable-fast-install or --disable-fast-install was given.
1741 if test "${enable_fast_install+set}" = set; then
1742 enableval="$enable_fast_install"
1743 p=${PACKAGE-default}
1745 yes) enable_fast_install=yes ;;
1746 no) enable_fast_install=no ;;
1748 enable_fast_install=no
1749 # Look at the argument we got. We use all the common list separators.
1750 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1751 for pkg in $enableval; do
1752 if test "X$pkg" = "X$p"; then
1753 enable_fast_install=yes
1760 enable_fast_install=yes
1763 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1764 if test "${with_gnu_ld+set}" = set; then
1765 withval="$with_gnu_ld"
1766 test "$withval" = no || with_gnu_ld=yes
1772 if test "$GCC" = yes; then
1773 # Check if gcc -print-prog-name=ld gives a path.
1774 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1775 echo "configure:1776: checking for ld used by GCC" >&5
1778 # gcc leaves a trailing carriage return which upsets mingw
1779 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1781 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1784 # Accept absolute paths.
1785 [\\/]* | [A-Za-z]:[\\/]*)
1786 re_direlt='/[^/][^/]*/\.\./'
1787 # Canonicalize the path of ld
1788 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1789 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1790 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1792 test -z "$LD" && LD="$ac_prog"
1795 # If it fails, then pretend we aren't using GCC.
1799 # If it is relative, then search for the first ld in PATH.
1803 elif test "$with_gnu_ld" = yes; then
1804 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1805 echo "configure:1806: checking for GNU ld" >&5
1807 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1808 echo "configure:1809: checking for non-GNU ld" >&5
1810 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1811 echo $ac_n "(cached) $ac_c" 1>&6
1813 if test -z "$LD"; then
1814 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1815 for ac_dir in $PATH; do
1816 test -z "$ac_dir" && ac_dir=.
1817 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1818 lt_cv_path_LD="$ac_dir/$ac_prog"
1819 # Check to see if the program is GNU ld. I'd rather use --version,
1820 # but apparently some GNU ld's only accept -v.
1821 # Break only if it was the GNU/non-GNU ld that we prefer.
1822 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1823 test "$with_gnu_ld" != no && break
1825 test "$with_gnu_ld" != yes && break
1831 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1836 if test -n "$LD"; then
1837 echo "$ac_t""$LD" 1>&6
1839 echo "$ac_t""no" 1>&6
1841 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1842 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1843 echo "configure:1844: checking if the linker ($LD) is GNU ld" >&5
1844 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1845 echo $ac_n "(cached) $ac_c" 1>&6
1847 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1848 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1849 lt_cv_prog_gnu_ld=yes
1851 lt_cv_prog_gnu_ld=no
1855 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1856 with_gnu_ld=$lt_cv_prog_gnu_ld
1859 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1860 echo "configure:1861: checking for $LD option to reload object files" >&5
1861 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1862 echo $ac_n "(cached) $ac_c" 1>&6
1864 lt_cv_ld_reload_flag='-r'
1867 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1868 reload_flag=$lt_cv_ld_reload_flag
1869 test -n "$reload_flag" && reload_flag=" $reload_flag"
1871 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1872 echo "configure:1873: checking for BSD-compatible nm" >&5
1873 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1874 echo $ac_n "(cached) $ac_c" 1>&6
1876 if test -n "$NM"; then
1877 # Let the user override the test.
1880 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1881 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1882 test -z "$ac_dir" && ac_dir=.
1883 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1884 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1885 # Check to see if the nm accepts a BSD-compat flag.
1886 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1887 # nm: unknown option "B" ignored
1888 # Tru64's nm complains that /dev/null is an invalid object file
1889 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1890 lt_cv_path_NM="$tmp_nm -B"
1892 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1893 lt_cv_path_NM="$tmp_nm -p"
1896 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1897 continue # so that we can try to find one that supports BSD flags
1902 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1907 echo "$ac_t""$NM" 1>&6
1909 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1910 echo "configure:1911: checking how to recognise dependant libraries" >&5
1911 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1912 echo $ac_n "(cached) $ac_c" 1>&6
1914 lt_cv_file_magic_cmd='$MAGIC_CMD'
1915 lt_cv_file_magic_test_file=
1916 lt_cv_deplibs_check_method='unknown'
1917 # Need to set the preceding variable on all platforms that support
1918 # interlibrary dependencies.
1919 # 'none' -- dependencies not supported.
1920 # `unknown' -- same as none, but documents that we really don't know.
1921 # 'pass_all' -- all dependencies passed with no checks.
1922 # 'test_compile' -- check by making test program.
1923 # 'file_magic [regex]' -- check by looking for files in library path
1924 # which responds to the $file_magic_cmd with a given egrep regex.
1925 # If you have `file' or equivalent on your system and you're not sure
1926 # whether `pass_all' will *always* work, you probably want this one.
1930 lt_cv_deplibs_check_method=pass_all
1934 lt_cv_deplibs_check_method=pass_all
1938 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1939 lt_cv_file_magic_cmd='/usr/bin/file -L'
1940 lt_cv_file_magic_test_file=/shlib/libc.so
1943 cygwin* | mingw* |pw32*)
1944 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1945 lt_cv_file_magic_cmd='$OBJDUMP -f'
1948 darwin* | rhapsody*)
1949 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1950 lt_cv_file_magic_cmd='/usr/bin/file -L'
1952 rhapsody* | darwin1.012)
1953 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1956 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1962 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1965 # Not sure whether the presence of OpenBSD here was a mistake.
1966 # Let's accept both of them until this is cleared up.
1967 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1968 lt_cv_file_magic_cmd=/usr/bin/file
1969 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1973 lt_cv_deplibs_check_method=pass_all
1978 lt_cv_deplibs_check_method=pass_all
1984 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1985 lt_cv_file_magic_cmd=/usr/bin/file
1986 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1989 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1990 lt_cv_file_magic_cmd=/usr/bin/file
1991 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1999 # this will be overridden with pass_all, but let us keep it just in case
2000 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2004 *-32|*"-32 ") libmagic=32-bit;;
2005 *-n32|*"-n32 ") libmagic=N32;;
2006 *-64|*"-64 ") libmagic=64-bit;;
2007 *) libmagic=never-match;;
2009 # this will be overridden with pass_all, but let us keep it just in case
2010 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2013 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2014 lt_cv_deplibs_check_method=pass_all
2017 # This must be Linux ELF.
2020 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2021 lt_cv_deplibs_check_method=pass_all ;;
2023 # glibc up to 2.1.1 does not perform some relocations on ARM
2024 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2026 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2030 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2031 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2033 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2038 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2039 lt_cv_file_magic_cmd=/usr/bin/file
2040 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2043 osf3* | osf4* | osf5*)
2044 # this will be overridden with pass_all, but let us keep it just in case
2045 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2046 lt_cv_file_magic_test_file=/shlib/libc.so
2047 lt_cv_deplibs_check_method=pass_all
2051 lt_cv_deplibs_check_method=pass_all
2055 lt_cv_deplibs_check_method=pass_all
2056 lt_cv_file_magic_test_file=/lib/libc.so
2059 sysv5uw[78]* | sysv4*uw2*)
2060 lt_cv_deplibs_check_method=pass_all
2063 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2064 case $host_vendor in
2066 lt_cv_deplibs_check_method=pass_all
2069 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]'
2070 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2078 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2079 file_magic_cmd=$lt_cv_file_magic_cmd
2080 deplibs_check_method=$lt_cv_deplibs_check_method
2082 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2083 echo "configure:2084: checking for object suffix" >&5
2084 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2085 echo $ac_n "(cached) $ac_c" 1>&6
2088 echo 'int i = 1;' > conftest.$ac_ext
2089 if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2090 for ac_file in conftest.*; do
2093 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2097 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2102 echo "$ac_t""$ac_cv_objext" 1>&6
2103 OBJEXT=$ac_cv_objext
2104 ac_objext=$ac_cv_objext
2106 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2108 # Only perform the check for file, if the check method requires it
2109 case $deplibs_check_method in
2111 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2112 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2113 echo "configure:2114: checking for ${ac_tool_prefix}file" >&5
2114 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2115 echo $ac_n "(cached) $ac_c" 1>&6
2119 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2125 ac_save_MAGIC_CMD="$MAGIC_CMD"
2126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2127 ac_dummy="/usr/bin:$PATH"
2128 for ac_dir in $ac_dummy; do
2129 test -z "$ac_dir" && ac_dir=.
2130 if test -f $ac_dir/${ac_tool_prefix}file; then
2131 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2132 if test -n "$file_magic_test_file"; then
2133 case $deplibs_check_method in
2135 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2136 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2137 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2138 egrep "$file_magic_regex" > /dev/null; then
2143 *** Warning: the command libtool uses to detect shared libraries,
2144 *** $file_magic_cmd, produces output that libtool cannot recognize.
2145 *** The result is that libtool may fail to recognize shared libraries
2146 *** as such. This will affect the creation of libtool libraries that
2147 *** depend on shared libraries, but programs linked with such libtool
2148 *** libraries will work regardless of this problem. Nevertheless, you
2149 *** may want to report the problem to your system manager and/or to
2150 *** bug-libtool@gnu.org
2160 MAGIC_CMD="$ac_save_MAGIC_CMD"
2165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2166 if test -n "$MAGIC_CMD"; then
2167 echo "$ac_t""$MAGIC_CMD" 1>&6
2169 echo "$ac_t""no" 1>&6
2172 if test -z "$lt_cv_path_MAGIC_CMD"; then
2173 if test -n "$ac_tool_prefix"; then
2174 echo $ac_n "checking for file""... $ac_c" 1>&6
2175 echo "configure:2176: checking for file" >&5
2176 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2177 echo $ac_n "(cached) $ac_c" 1>&6
2181 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2184 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2187 ac_save_MAGIC_CMD="$MAGIC_CMD"
2188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2189 ac_dummy="/usr/bin:$PATH"
2190 for ac_dir in $ac_dummy; do
2191 test -z "$ac_dir" && ac_dir=.
2192 if test -f $ac_dir/file; then
2193 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2194 if test -n "$file_magic_test_file"; then
2195 case $deplibs_check_method in
2197 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2198 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2199 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2200 egrep "$file_magic_regex" > /dev/null; then
2205 *** Warning: the command libtool uses to detect shared libraries,
2206 *** $file_magic_cmd, produces output that libtool cannot recognize.
2207 *** The result is that libtool may fail to recognize shared libraries
2208 *** as such. This will affect the creation of libtool libraries that
2209 *** depend on shared libraries, but programs linked with such libtool
2210 *** libraries will work regardless of this problem. Nevertheless, you
2211 *** may want to report the problem to your system manager and/or to
2212 *** bug-libtool@gnu.org
2222 MAGIC_CMD="$ac_save_MAGIC_CMD"
2227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2228 if test -n "$MAGIC_CMD"; then
2229 echo "$ac_t""$MAGIC_CMD" 1>&6
2231 echo "$ac_t""no" 1>&6
2243 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2245 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2246 echo "configure:2247: checking for $ac_word" >&5
2247 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2248 echo $ac_n "(cached) $ac_c" 1>&6
2250 if test -n "$RANLIB"; then
2251 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2253 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2255 for ac_dir in $ac_dummy; do
2256 test -z "$ac_dir" && ac_dir=.
2257 if test -f $ac_dir/$ac_word; then
2258 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2265 RANLIB="$ac_cv_prog_RANLIB"
2266 if test -n "$RANLIB"; then
2267 echo "$ac_t""$RANLIB" 1>&6
2269 echo "$ac_t""no" 1>&6
2273 if test -z "$ac_cv_prog_RANLIB"; then
2274 if test -n "$ac_tool_prefix"; then
2275 # Extract the first word of "ranlib", so it can be a program name with args.
2276 set dummy ranlib; ac_word=$2
2277 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2278 echo "configure:2279: checking for $ac_word" >&5
2279 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2280 echo $ac_n "(cached) $ac_c" 1>&6
2282 if test -n "$RANLIB"; then
2283 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2287 for ac_dir in $ac_dummy; do
2288 test -z "$ac_dir" && ac_dir=.
2289 if test -f $ac_dir/$ac_word; then
2290 ac_cv_prog_RANLIB="ranlib"
2295 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2298 RANLIB="$ac_cv_prog_RANLIB"
2299 if test -n "$RANLIB"; then
2300 echo "$ac_t""$RANLIB" 1>&6
2302 echo "$ac_t""no" 1>&6
2310 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2311 set dummy ${ac_tool_prefix}strip; ac_word=$2
2312 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2313 echo "configure:2314: checking for $ac_word" >&5
2314 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2315 echo $ac_n "(cached) $ac_c" 1>&6
2317 if test -n "$STRIP"; then
2318 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2320 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2322 for ac_dir in $ac_dummy; do
2323 test -z "$ac_dir" && ac_dir=.
2324 if test -f $ac_dir/$ac_word; then
2325 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2332 STRIP="$ac_cv_prog_STRIP"
2333 if test -n "$STRIP"; then
2334 echo "$ac_t""$STRIP" 1>&6
2336 echo "$ac_t""no" 1>&6
2340 if test -z "$ac_cv_prog_STRIP"; then
2341 if test -n "$ac_tool_prefix"; then
2342 # Extract the first word of "strip", so it can be a program name with args.
2343 set dummy strip; ac_word=$2
2344 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2345 echo "configure:2346: checking for $ac_word" >&5
2346 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2347 echo $ac_n "(cached) $ac_c" 1>&6
2349 if test -n "$STRIP"; then
2350 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2352 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2354 for ac_dir in $ac_dummy; do
2355 test -z "$ac_dir" && ac_dir=.
2356 if test -f $ac_dir/$ac_word; then
2357 ac_cv_prog_STRIP="strip"
2362 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2365 STRIP="$ac_cv_prog_STRIP"
2366 if test -n "$STRIP"; then
2367 echo "$ac_t""$STRIP" 1>&6
2369 echo "$ac_t""no" 1>&6
2378 # Check for any special flags to pass to ltconfig.
2379 libtool_flags="--cache-file=$cache_file"
2380 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2381 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2382 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2383 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2384 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2385 libtool_flags="$libtool_flags --enable-dlopen"
2387 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2388 if test "${enable_libtool_lock+set}" = set; then
2389 enableval="$enable_libtool_lock"
2393 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2394 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2396 # Check whether --with-pic or --without-pic was given.
2397 if test "${with_pic+set}" = set; then
2404 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2405 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2407 # Some flags need to be propagated to the compiler or linker for good
2411 # Find out which ABI we are using.
2412 echo '#line 2413 "configure"' > conftest.$ac_ext
2413 if { (eval echo configure:2414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2414 if test "$lt_cv_prog_gnu_ld" = yes; then
2415 case `/usr/bin/file conftest.$ac_objext` in
2417 LD="${LD-ld} -melf32bsmip"
2420 LD="${LD-ld} -melf32bmipn32"
2423 LD="${LD-ld} -melf64bmip"
2427 case `/usr/bin/file conftest.$ac_objext` in
2444 # Find out which ABI we are using.
2445 echo 'int i;' > conftest.$ac_ext
2446 if { (eval echo configure:2447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2447 case "`/usr/bin/file conftest.o`" in
2459 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2460 # Find out which ABI we are using.
2461 echo 'int i;' > conftest.$ac_ext
2462 if { (eval echo configure:2463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2463 case "`/usr/bin/file conftest.o`" in
2467 LD="${LD-ld} -m elf_i386"
2470 LD="${LD-ld} -m elf32ppclinux"
2473 LD="${LD-ld} -m elf_s390"
2476 LD="${LD-ld} -m elf32_sparc"
2483 LD="${LD-ld} -m elf_x86_64"
2485 ppc*-*linux*|powerpc*-*linux*)
2486 LD="${LD-ld} -m elf64ppc"
2489 LD="${LD-ld} -m elf64_s390"
2492 LD="${LD-ld} -m elf64_sparc"
2502 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2503 SAVE_CFLAGS="$CFLAGS"
2504 CFLAGS="$CFLAGS -belf"
2505 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2506 echo "configure:2507: checking whether the C compiler needs -belf" >&5
2507 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2508 echo $ac_n "(cached) $ac_c" 1>&6
2512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2513 ac_cpp='$CPP $CPPFLAGS'
2514 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2515 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2516 cross_compiling=$ac_cv_prog_cc_cross
2518 cat > conftest.$ac_ext <<EOF
2519 #line 2520 "configure"
2520 #include "confdefs.h"
2526 if { (eval echo configure:2527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2528 lt_cv_cc_needs_belf=yes
2530 echo "configure: failed program was:" >&5
2531 cat conftest.$ac_ext >&5
2533 lt_cv_cc_needs_belf=no
2537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2538 ac_cpp='$CPP $CPPFLAGS'
2539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2541 cross_compiling=$ac_cv_prog_cc_cross
2545 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2546 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2547 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2548 CFLAGS="$SAVE_CFLAGS"
2555 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2556 echo "configure:2557: checking how to run the C++ preprocessor" >&5
2557 if test -z "$CXXCPP"; then
2558 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2559 echo $ac_n "(cached) $ac_c" 1>&6
2562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2563 ac_cpp='$CXXCPP $CPPFLAGS'
2564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2566 cross_compiling=$ac_cv_prog_cxx_cross
2567 CXXCPP="${CXX-g++} -E"
2568 cat > conftest.$ac_ext <<EOF
2569 #line 2570 "configure"
2570 #include "confdefs.h"
2573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2574 { (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2576 if test -z "$ac_err"; then
2580 echo "configure: failed program was:" >&5
2581 cat conftest.$ac_ext >&5
2586 ac_cv_prog_CXXCPP="$CXXCPP"
2588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2589 ac_cpp='$CPP $CPPFLAGS'
2590 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2591 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2592 cross_compiling=$ac_cv_prog_cc_cross
2595 CXXCPP="$ac_cv_prog_CXXCPP"
2596 echo "$ac_t""$CXXCPP" 1>&6
2599 # Save cache, so that ltconfig can load it
2600 cat > confcache <<\EOF
2601 # This file is a shell script that caches the results of configure
2602 # tests run on this system so they can be shared between configure
2603 # scripts and configure runs. It is not useful on other systems.
2604 # If it contains results you don't want to keep, you may remove or edit it.
2606 # By default, configure uses ./config.cache as the cache file,
2607 # creating it if it does not exist already. You can give configure
2608 # the --cache-file=FILE option to use a different cache file; that is
2609 # what configure does when it calls configure scripts in
2610 # subdirectories, so they share the cache.
2611 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2612 # config.status only pays attention to the cache file if you give it the
2613 # --recheck option to rerun configure.
2616 # The following way of writing the cache mishandles newlines in values,
2617 # but we know of no workaround that is simple, portable, and efficient.
2618 # So, don't put newlines in cache variables' values.
2619 # Ultrix sh set writes to stderr and can't be redirected directly,
2620 # and sets the high bit in the cache file unless we assign to the vars.
2622 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2624 # `set' does not quote correctly, so add quotes (double-quote substitution
2625 # turns \\\\ into \\, and sed turns \\ into \).
2627 -e "s/'/'\\\\''/g" \
2628 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2631 # `set' quotes correctly as required by POSIX, so do not add quotes.
2632 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2635 if cmp -s $cache_file confcache; then
2638 if test -w $cache_file; then
2639 echo "updating cache $cache_file"
2640 cat confcache > $cache_file
2642 echo "not updating unwritable cache $cache_file"
2648 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2649 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2650 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2651 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2652 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2653 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2654 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2655 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2656 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2657 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2659 # Reload cache, that may have been modified by ltconfig
2660 if test -r "$cache_file"; then
2661 echo "loading cache $cache_file"
2664 echo "creating cache $cache_file"
2669 # This can be used to rebuild libtool when needed
2670 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2672 # Always use our own libtool.
2673 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2675 # Redirect the config.log output again, so that the ltconfig log is not
2676 # clobbered by the next message.
2677 exec 5>>./config.log
2681 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2683 lt_save_CFLAGS="$CFLAGS"
2684 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2685 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2686 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2687 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2688 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2689 deplibs_check_method="$deplibs_check_method" \
2690 file_magic_cmd="$file_magic_cmd" \
2691 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2692 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2693 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2695 CFLAGS="$lt_save_CFLAGS"
2697 # Redirect the config.log output again, so that the ltconfig log is not
2698 # clobbered by the next message.
2699 exec 5>>./config.log
2709 # Check for c++ or library specific bits that don't require linking.
2710 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2711 echo "configure:2712: checking for GNU make" >&5
2712 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2713 echo $ac_n "(cached) $ac_c" 1>&6
2715 _cv_gnu_make_command='' ;
2716 for a in "${MAKE-make}" make gmake gnumake ; do
2717 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2719 _cv_gnu_make_command=$a ;
2726 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2727 if test "x$_cv_gnu_make_command" != "x" ; then
2734 #GLIBCPP_CHECK_COMPILER_VERSION
2736 ac_test_CXXFLAGS="${CXXFLAGS+set}"
2737 ac_save_CXXFLAGS="$CXXFLAGS"
2738 CXXFLAGS='-Werror -Winvalid-pch -Wno-deprecated -x c++-header'
2740 echo $ac_n "checking for compiler that seems to compile .gch files""... $ac_c" 1>&6
2741 echo "configure:2742: checking for compiler that seems to compile .gch files" >&5
2742 if test x${glibcpp_pch_comp+set} != xset; then
2743 if eval "test \"`echo '$''{'glibcpp_pch_comp'+set}'`\" = set"; then
2744 echo $ac_n "(cached) $ac_c" 1>&6
2749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2750 ac_cpp='$CXXCPP $CPPFLAGS'
2751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2753 cross_compiling=$ac_cv_prog_cxx_cross
2755 cat > conftest.$ac_ext <<EOF
2756 #line 2757 "configure"
2757 #include "confdefs.h"
2764 if { (eval echo configure:2765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2766 glibcpp_pch_comp=yes
2768 echo "configure: failed program was:" >&5
2769 cat conftest.$ac_ext >&5
2775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2776 ac_cpp='$CPP $CPPFLAGS'
2777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2779 cross_compiling=$ac_cv_prog_cc_cross
2785 echo "$ac_t""$glibcpp_pch_comp" 1>&6
2787 CXXFLAGS="$ac_save_CXXFLAGS"
2790 if test "$glibcpp_pch_comp" = yes; then
2791 GLIBCPP_BUILD_PCH_TRUE=
2792 GLIBCPP_BUILD_PCH_FALSE='#'
2794 GLIBCPP_BUILD_PCH_TRUE='#'
2795 GLIBCPP_BUILD_PCH_FALSE=
2797 if test "$glibcpp_pch_comp" = yes; then
2798 glibcpp_PCHFLAGS="-include bits/stdc++.h"
2805 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2807 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2808 echo "configure:2809: checking for cstdio to use" >&5
2809 # Check whether --enable-cstdio or --disable-cstdio was given.
2810 if test "${enable_cstdio+set}" = set; then
2811 enableval="$enable_cstdio"
2812 if test x$enable_cstdio = xno; then
2820 enable_cstdio_flag=$enable_cstdio
2822 case x${enable_cstdio_flag} in
2823 xstdio | x | xno | xnone | xyes)
2825 CSTDIO_H=config/io/c_io_stdio.h
2826 BASIC_FILE_H=config/io/basic_file_stdio.h
2827 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2828 echo "$ac_t""stdio" 1>&6
2831 echo "$enable_cstdio is an unknown io package" 1>&2
2839 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2840 echo "configure:2841: checking how to run the C preprocessor" >&5
2841 # On Suns, sometimes $CPP names a directory.
2842 if test -n "$CPP" && test -d "$CPP"; then
2845 if test -z "$CPP"; then
2846 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2847 echo $ac_n "(cached) $ac_c" 1>&6
2849 # This must be in double quotes, not single quotes, because CPP may get
2850 # substituted into the Makefile and "${CC-cc}" will confuse make.
2852 # On the NeXT, cc -E runs the code through the compiler's parser,
2853 # not just through cpp.
2854 cat > conftest.$ac_ext <<EOF
2855 #line 2856 "configure"
2856 #include "confdefs.h"
2860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2861 { (eval echo configure:2862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2862 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2863 if test -z "$ac_err"; then
2867 echo "configure: failed program was:" >&5
2868 cat conftest.$ac_ext >&5
2870 CPP="${CC-cc} -E -traditional-cpp"
2871 cat > conftest.$ac_ext <<EOF
2872 #line 2873 "configure"
2873 #include "confdefs.h"
2877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2878 { (eval echo configure:2879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2880 if test -z "$ac_err"; then
2884 echo "configure: failed program was:" >&5
2885 cat conftest.$ac_ext >&5
2887 CPP="${CC-cc} -nologo -E"
2888 cat > conftest.$ac_ext <<EOF
2889 #line 2890 "configure"
2890 #include "confdefs.h"
2894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2895 { (eval echo configure:2896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2896 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2897 if test -z "$ac_err"; then
2901 echo "configure: failed program was:" >&5
2902 cat conftest.$ac_ext >&5
2911 ac_cv_prog_CPP="$CPP"
2913 CPP="$ac_cv_prog_CPP"
2915 ac_cv_prog_CPP="$CPP"
2917 echo "$ac_t""$CPP" 1>&6
2920 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2921 echo "configure:2922: checking for clocale to use" >&5
2922 # Check whether --enable-clocale or --disable-clocale was given.
2923 if test "${enable_clocale+set}" = set; then
2924 enableval="$enable_clocale"
2925 if test x$enable_clocale = xno; then
2933 enable_clocale_flag=$enable_clocale
2935 if test x$enable_clocale_flag = xno; then
2936 case x${target_os} in
2938 cat > conftest.$ac_ext <<EOF
2939 #line 2940 "configure"
2940 #include "confdefs.h"
2942 #include <features.h>
2943 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2949 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2951 enable_clocale_flag=gnu
2954 enable_clocale_flag=generic
2959 # Test for bugs early in glibc-2.2.x series
2960 if test x$enable_clocale_flag = xgnu; then
2961 if test "$cross_compiling" = yes; then
2962 enable_clocale_flag=generic
2964 cat > conftest.$ac_ext <<EOF
2965 #line 2966 "configure"
2966 #include "confdefs.h"
2968 #define _GNU_SOURCE 1
2971 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
2972 extern __typeof(newlocale) __newlocale;
2973 extern __typeof(duplocale) __duplocale;
2974 extern __typeof(strcoll_l) __strcoll_l;
2978 const char __one[] = "Äuglein Augmen";
2979 const char __two[] = "Äuglein";
2984 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
2985 loc_dup = __duplocale(loc);
2986 i = __strcoll_l(__one, __two, loc);
2987 j = __strcoll_l(__one, __two, loc_dup);
2992 if { (eval echo configure:2993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2994 enable_clocale_flag=gnu
2996 echo "configure: failed program was:" >&5
2997 cat conftest.$ac_ext >&5
2999 enable_clocale_flag=generic
3006 # ... at some point put __strxfrm_l tests in as well.
3009 enable_clocale_flag=generic
3014 # Check whether --enable-nls or --disable-nls was given.
3015 if test "${enable_nls+set}" = set; then
3016 enableval="$enable_nls"
3024 case x${enable_clocale_flag} in
3026 echo "$ac_t""generic" 1>&6
3028 CLOCALE_H=config/locale/generic/c_locale.h
3029 CLOCALE_CC=config/locale/generic/c_locale.cc
3030 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3031 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3032 CCOLLATE_CC=config/locale/generic/collate_members.cc
3033 CCTYPE_CC=config/locale/generic/ctype_members.cc
3034 CMESSAGES_H=config/locale/generic/messages_members.h
3035 CMESSAGES_CC=config/locale/generic/messages_members.cc
3036 CMONEY_CC=config/locale/generic/monetary_members.cc
3037 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3038 CTIME_H=config/locale/generic/time_members.h
3039 CTIME_CC=config/locale/generic/time_members.cc
3040 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3043 echo "$ac_t""gnu" 1>&6
3045 # Declare intention to use gettext, and add support for specific
3047 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3050 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3051 # Extract the first word of "msgfmt", so it can be a program name with args.
3052 set dummy msgfmt; ac_word=$2
3053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3054 echo "configure:3055: checking for $ac_word" >&5
3055 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3056 echo $ac_n "(cached) $ac_c" 1>&6
3058 if test -n "$check_msgfmt"; then
3059 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3061 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3063 for ac_dir in $ac_dummy; do
3064 test -z "$ac_dir" && ac_dir=.
3065 if test -f $ac_dir/$ac_word; then
3066 ac_cv_prog_check_msgfmt="yes"
3071 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3074 check_msgfmt="$ac_cv_prog_check_msgfmt"
3075 if test -n "$check_msgfmt"; then
3076 echo "$ac_t""$check_msgfmt" 1>&6
3078 echo "$ac_t""no" 1>&6
3081 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3084 # Export the build objects.
3085 for ling in $ALL_LINGUAS; do \
3086 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3087 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3092 CLOCALE_H=config/locale/gnu/c_locale.h
3093 CLOCALE_CC=config/locale/gnu/c_locale.cc
3094 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3095 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3096 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3097 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3098 CMESSAGES_H=config/locale/gnu/messages_members.h
3099 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3100 CMONEY_CC=config/locale/gnu/monetary_members.cc
3101 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3102 CTIME_H=config/locale/gnu/time_members.h
3103 CTIME_CC=config/locale/gnu/time_members.cc
3104 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3107 echo "$ac_t""IEEE 1003.1" 1>&6
3109 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3110 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3111 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3112 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3113 CCOLLATE_CC=config/locale/generic/collate_members.cc
3114 CCTYPE_CC=config/locale/generic/ctype_members.cc
3115 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3116 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3117 CMONEY_CC=config/locale/generic/monetary_members.cc
3118 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3119 CTIME_H=config/locale/generic/time_members.h
3120 CTIME_CC=config/locale/generic/time_members.cc
3121 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3124 echo "$enable_clocale is an unknown locale package" 1>&2
3129 # This is where the testsuite looks for locale catalogs, using the
3130 # -DLOCALEDIR define during testsuite compilation.
3131 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3134 # A standalone libintl (e.g., GNU libintl) may be in use.
3135 if test $USE_NLS = yes; then
3136 for ac_hdr in libintl.h
3138 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3139 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3140 echo "configure:3141: checking for $ac_hdr" >&5
3141 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3142 echo $ac_n "(cached) $ac_c" 1>&6
3144 cat > conftest.$ac_ext <<EOF
3145 #line 3146 "configure"
3146 #include "confdefs.h"
3149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3150 { (eval echo configure:3151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3152 if test -z "$ac_err"; then
3154 eval "ac_cv_header_$ac_safe=yes"
3157 echo "configure: failed program was:" >&5
3158 cat conftest.$ac_ext >&5
3160 eval "ac_cv_header_$ac_safe=no"
3164 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3165 echo "$ac_t""yes" 1>&6
3166 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3167 cat >> confdefs.h <<EOF
3168 #define $ac_tr_hdr 1
3172 echo "$ac_t""no" 1>&6
3178 echo $ac_n "checking for library containing gettext""... $ac_c" 1>&6
3179 echo "configure:3180: checking for library containing gettext" >&5
3180 if eval "test \"`echo '$''{'ac_cv_search_gettext'+set}'`\" = set"; then
3181 echo $ac_n "(cached) $ac_c" 1>&6
3183 ac_func_search_save_LIBS="$LIBS"
3184 ac_cv_search_gettext="no"
3185 cat > conftest.$ac_ext <<EOF
3186 #line 3187 "configure"
3187 #include "confdefs.h"
3188 /* Override any gcc2 internal prototype to avoid an error. */
3189 /* We use char because int might match the return type of a gcc2
3190 builtin and then its argument prototype would still apply. */
3197 if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3199 ac_cv_search_gettext="none required"
3201 echo "configure: failed program was:" >&5
3202 cat conftest.$ac_ext >&5
3205 test "$ac_cv_search_gettext" = "no" && for i in intl; do
3206 LIBS="-l$i $ac_func_search_save_LIBS"
3207 cat > conftest.$ac_ext <<EOF
3208 #line 3209 "configure"
3209 #include "confdefs.h"
3210 /* Override any gcc2 internal prototype to avoid an error. */
3211 /* We use char because int might match the return type of a gcc2
3212 builtin and then its argument prototype would still apply. */
3219 if { (eval echo configure:3220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3221 ac_cv_search_gettext="-l$i"
3224 echo "configure: failed program was:" >&5
3225 cat conftest.$ac_ext >&5
3229 LIBS="$ac_func_search_save_LIBS"
3232 echo "$ac_t""$ac_cv_search_gettext" 1>&6
3233 if test "$ac_cv_search_gettext" != "no"; then
3234 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
3240 if test $USE_NLS = yes; then
3241 cat >> confdefs.h <<\EOF
3242 #define _GLIBCPP_USE_NLS 1
3262 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3263 echo "configure:3264: checking for c header strategy to use" >&5
3264 # Check whether --enable-cheaders or --disable-cheaders was given.
3265 if test "${enable_cheaders+set}" = set; then
3266 enableval="$enable_cheaders"
3268 case "$enableval" in
3273 enable_cheaders=c_std
3275 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3279 enable_cheaders=c_std
3282 echo "$ac_t""$enable_cheaders" 1>&6
3284 case "$enable_cheaders" in
3286 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3289 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3296 if test "$enable_cheaders" = c; then
3297 GLIBCPP_C_HEADERS_C_TRUE=
3298 GLIBCPP_C_HEADERS_C_FALSE='#'
3300 GLIBCPP_C_HEADERS_C_TRUE='#'
3301 GLIBCPP_C_HEADERS_C_FALSE=
3305 if test "$enable_cheaders" = c_std; then
3306 GLIBCPP_C_HEADERS_C_STD_TRUE=
3307 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3309 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3310 GLIBCPP_C_HEADERS_C_STD_FALSE=
3314 if test "$c_compatibility" = yes; then
3315 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3316 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3318 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3319 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3322 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3323 if test "${enable_c_mbchar+set}" = set; then
3324 enableval="$enable_c_mbchar"
3325 case "$enableval" in
3326 yes) enable_c_mbchar=yes ;;
3327 no) enable_c_mbchar=no ;;
3328 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3335 # Check whether --enable-c99 or --disable-c99 was given.
3336 if test "${enable_c99+set}" = set; then
3337 enableval="$enable_c99"
3338 case "$enableval" in
3339 yes) enable_c99=yes ;;
3340 no) enable_c99=no ;;
3341 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3350 ac_cpp='$CXXCPP $CPPFLAGS'
3351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3353 cross_compiling=$ac_cv_prog_cxx_cross
3356 # Check for the existence of <math.h> functions used if C99 is enabled.
3358 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3359 echo "configure:3360: checking for ISO C99 support in <math.h>" >&5
3360 cat > conftest.$ac_ext <<EOF
3361 #line 3362 "configure"
3362 #include "confdefs.h"
3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3371 echo "configure: failed program was:" >&5
3372 cat conftest.$ac_ext >&5
3377 cat > conftest.$ac_ext <<EOF
3378 #line 3379 "configure"
3379 #include "confdefs.h"
3385 if { (eval echo configure:3386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3388 echo "configure: failed program was:" >&5
3389 cat conftest.$ac_ext >&5
3394 cat > conftest.$ac_ext <<EOF
3395 #line 3396 "configure"
3396 #include "confdefs.h"
3402 if { (eval echo configure:3403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3405 echo "configure: failed program was:" >&5
3406 cat conftest.$ac_ext >&5
3411 cat > conftest.$ac_ext <<EOF
3412 #line 3413 "configure"
3413 #include "confdefs.h"
3419 if { (eval echo configure:3420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3422 echo "configure: failed program was:" >&5
3423 cat conftest.$ac_ext >&5
3428 cat > conftest.$ac_ext <<EOF
3429 #line 3430 "configure"
3430 #include "confdefs.h"
3436 if { (eval echo configure:3437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3439 echo "configure: failed program was:" >&5
3440 cat conftest.$ac_ext >&5
3445 cat > conftest.$ac_ext <<EOF
3446 #line 3447 "configure"
3447 #include "confdefs.h"
3453 if { (eval echo configure:3454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3456 echo "configure: failed program was:" >&5
3457 cat conftest.$ac_ext >&5
3462 cat > conftest.$ac_ext <<EOF
3463 #line 3464 "configure"
3464 #include "confdefs.h"
3470 if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3473 echo "configure: failed program was:" >&5
3474 cat conftest.$ac_ext >&5
3479 cat > conftest.$ac_ext <<EOF
3480 #line 3481 "configure"
3481 #include "confdefs.h"
3484 isgreaterequal(0.0,0.0);
3487 if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3490 echo "configure: failed program was:" >&5
3491 cat conftest.$ac_ext >&5
3496 cat > conftest.$ac_ext <<EOF
3497 #line 3498 "configure"
3498 #include "confdefs.h"
3504 if { (eval echo configure:3505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3507 echo "configure: failed program was:" >&5
3508 cat conftest.$ac_ext >&5
3513 cat > conftest.$ac_ext <<EOF
3514 #line 3515 "configure"
3515 #include "confdefs.h"
3518 islessequal(0.0,0.0);
3521 if { (eval echo configure:3522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3524 echo "configure: failed program was:" >&5
3525 cat conftest.$ac_ext >&5
3530 cat > conftest.$ac_ext <<EOF
3531 #line 3532 "configure"
3532 #include "confdefs.h"
3535 islessgreater(0.0,0.0);
3538 if { (eval echo configure:3539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3541 echo "configure: failed program was:" >&5
3542 cat conftest.$ac_ext >&5
3547 cat > conftest.$ac_ext <<EOF
3548 #line 3549 "configure"
3549 #include "confdefs.h"
3552 isunordered(0.0,0.0);
3555 if { (eval echo configure:3556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3558 echo "configure: failed program was:" >&5
3559 cat conftest.$ac_ext >&5
3564 echo "$ac_t""$ac_c99_math" 1>&6
3566 # Check for the existence in <stdio.h> of vscanf, et. al.
3568 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3569 echo "configure:3570: checking for ISO C99 support in <stdio.h>" >&5
3570 cat > conftest.$ac_ext <<EOF
3571 #line 3572 "configure"
3572 #include "confdefs.h"
3575 snprintf("12", 0, "%i");
3578 if { (eval echo configure:3579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3581 echo "configure: failed program was:" >&5
3582 cat conftest.$ac_ext >&5
3587 cat > conftest.$ac_ext <<EOF
3588 #line 3589 "configure"
3589 #include "confdefs.h"
3592 void foo(char* fmt, ...)
3593 {va_list args; va_start(args, fmt);
3594 vfscanf(stderr, "%i", args);}
3599 if { (eval echo configure:3600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3602 echo "configure: failed program was:" >&5
3603 cat conftest.$ac_ext >&5
3608 cat > conftest.$ac_ext <<EOF
3609 #line 3610 "configure"
3610 #include "confdefs.h"
3613 void foo(char* fmt, ...)
3614 {va_list args; va_start(args, fmt);
3615 vscanf("%i", args);}
3620 if { (eval echo configure:3621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3623 echo "configure: failed program was:" >&5
3624 cat conftest.$ac_ext >&5
3629 cat > conftest.$ac_ext <<EOF
3630 #line 3631 "configure"
3631 #include "confdefs.h"
3634 void foo(char* fmt, ...)
3635 {va_list args; va_start(args, fmt);
3636 vsnprintf(fmt, 0, "%i", args);}
3641 if { (eval echo configure:3642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3644 echo "configure: failed program was:" >&5
3645 cat conftest.$ac_ext >&5
3650 cat > conftest.$ac_ext <<EOF
3651 #line 3652 "configure"
3652 #include "confdefs.h"
3655 void foo(char* fmt, ...)
3656 {va_list args; va_start(args, fmt);
3657 vsscanf(fmt, "%i", args);}
3662 if { (eval echo configure:3663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3665 echo "configure: failed program was:" >&5
3666 cat conftest.$ac_ext >&5
3671 echo "$ac_t""$ac_c99_stdio" 1>&6
3673 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3675 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3676 echo "configure:3677: checking for lldiv_t declaration" >&5
3677 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3678 echo $ac_n "(cached) $ac_c" 1>&6
3681 cat > conftest.$ac_ext <<EOF
3682 #line 3683 "configure"
3683 #include "confdefs.h"
3689 if { (eval echo configure:3690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3693 echo "configure: failed program was:" >&5
3694 cat conftest.$ac_ext >&5
3702 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3704 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3705 echo "configure:3706: checking for ISO C99 support in <stdlib.h>" >&5
3706 cat > conftest.$ac_ext <<EOF
3707 #line 3708 "configure"
3708 #include "confdefs.h"
3711 char* tmp; strtof("gnu", &tmp);
3714 if { (eval echo configure:3715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3717 echo "configure: failed program was:" >&5
3718 cat conftest.$ac_ext >&5
3723 cat > conftest.$ac_ext <<EOF
3724 #line 3725 "configure"
3725 #include "confdefs.h"
3728 char* tmp; strtold("gnu", &tmp);
3731 if { (eval echo configure:3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3734 echo "configure: failed program was:" >&5
3735 cat conftest.$ac_ext >&5
3740 cat > conftest.$ac_ext <<EOF
3741 #line 3742 "configure"
3742 #include "confdefs.h"
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"
3765 if { (eval echo configure:3766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3768 echo "configure: failed program was:" >&5
3769 cat conftest.$ac_ext >&5
3774 cat > conftest.$ac_ext <<EOF
3775 #line 3776 "configure"
3776 #include "confdefs.h"
3782 if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3785 echo "configure: failed program was:" >&5
3786 cat conftest.$ac_ext >&5
3791 cat > conftest.$ac_ext <<EOF
3792 #line 3793 "configure"
3793 #include "confdefs.h"
3799 if { (eval echo configure:3800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3802 echo "configure: failed program was:" >&5
3803 cat conftest.$ac_ext >&5
3808 if test x"$ac_c99_lldiv_t" = x"no"; then
3811 echo "$ac_t""$ac_c99_stdlib" 1>&6
3813 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3814 # XXX the wchar.h checks should be rolled into the general C99 bits.
3816 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3817 echo "configure:3818: checking for additional ISO C99 support in <wchar.h>" >&5
3818 cat > conftest.$ac_ext <<EOF
3819 #line 3820 "configure"
3820 #include "confdefs.h"
3823 wcstold(L"10.0", NULL);
3826 if { (eval echo configure:3827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3829 echo "configure: failed program was:" >&5
3830 cat conftest.$ac_ext >&5
3835 cat > conftest.$ac_ext <<EOF
3836 #line 3837 "configure"
3837 #include "confdefs.h"
3840 wcstoll(L"10", NULL, 10);
3843 if { (eval echo configure:3844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3846 echo "configure: failed program was:" >&5
3847 cat conftest.$ac_ext >&5
3852 cat > conftest.$ac_ext <<EOF
3853 #line 3854 "configure"
3854 #include "confdefs.h"
3857 wcstoull(L"10", NULL, 10);
3860 if { (eval echo configure:3861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3863 echo "configure: failed program was:" >&5
3864 cat conftest.$ac_ext >&5
3869 echo "$ac_t""$ac_c99_wchar" 1>&6
3871 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3872 echo "configure:3873: checking for enabled ISO C99 support" >&5
3873 if test x"$ac_c99_math" = x"no" ||
3874 test x"$ac_c99_stdio" = x"no" ||
3875 test x"$ac_c99_stdlib" = x"no" ||
3876 test x"$ac_c99_wchar" = x"no"; then
3879 echo "$ac_t""$enable_c99" 1>&6
3881 # Option parsed, now set things appropriately
3882 if test x"$enable_c99" = x"yes"; then
3883 cat >> confdefs.h <<\EOF
3884 #define _GLIBCPP_USE_C99 1
3890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3891 ac_cpp='$CPP $CPPFLAGS'
3892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3894 cross_compiling=$ac_cv_prog_cc_cross
3898 # Check whether --enable-long-long or --disable-long-long was given.
3899 if test "${enable_long_long+set}" = set; then
3900 enableval="$enable_long_long"
3901 case "$enableval" in
3902 yes) enable_long_long=yes ;;
3903 no) enable_long_long=no ;;
3904 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3907 enable_long_long=yes
3912 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3913 ac_cpp='$CXXCPP $CPPFLAGS'
3914 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3915 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3916 cross_compiling=$ac_cv_prog_cxx_cross
3919 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3920 echo "configure:3921: checking for enabled long long I/O support" >&5
3921 # iostreams require strtoll, strtoull to compile
3922 cat > conftest.$ac_ext <<EOF
3923 #line 3924 "configure"
3924 #include "confdefs.h"
3927 char* tmp; strtoll("gnu", &tmp, 10);
3930 if { (eval echo configure:3931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3933 echo "configure: failed program was:" >&5
3934 cat conftest.$ac_ext >&5
3939 cat > conftest.$ac_ext <<EOF
3940 #line 3941 "configure"
3941 #include "confdefs.h"
3944 char* tmp; strtoull("gnu", &tmp, 10);
3947 if { (eval echo configure:3948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3950 echo "configure: failed program was:" >&5
3951 cat conftest.$ac_ext >&5
3957 # Option parsed, now set things appropriately
3958 if test x"$enable_long_long" = xyes; then
3959 cat >> confdefs.h <<\EOF
3960 #define _GLIBCPP_USE_LONG_LONG 1
3964 echo "$ac_t""$enable_long_long" 1>&6
3967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3968 ac_cpp='$CPP $CPPFLAGS'
3969 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3970 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3971 cross_compiling=$ac_cv_prog_cc_cross
3975 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3976 echo "configure:3977: checking for thread model used by GCC" >&5
3977 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3978 echo "$ac_t""$target_thread_file" 1>&6
3980 if test $target_thread_file != single; then
3981 cat >> confdefs.h <<\EOF
3982 #define HAVE_GTHR_DEFAULT 1
3985 cat >> confdefs.h <<\EOF
3986 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3991 glibcpp_thread_h=gthr-$target_thread_file.h
3995 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3996 echo "configure:3997: checking for exception model to use" >&5
3999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4000 ac_cpp='$CXXCPP $CPPFLAGS'
4001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4003 cross_compiling=$ac_cv_prog_cxx_cross
4005 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4006 if test "${enable_sjlj_exceptions+set}" = set; then
4007 enableval="$enable_sjlj_exceptions"
4010 cat > conftest.$ac_ext << EOF
4011 #line 4012 "configure"
4020 old_CXXFLAGS="$CXXFLAGS"
4022 if { (eval echo configure:4023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4023 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4024 enable_sjlj_exceptions=yes
4025 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4026 enable_sjlj_exceptions=no
4029 CXXFLAGS="$old_CXXFLAGS"
4033 if test x$enable_sjlj_exceptions = xyes; then
4034 cat >> confdefs.h <<\EOF
4035 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4038 ac_exception_model_name=sjlj
4039 elif test x$enable_sjlj_exceptions = xno; then
4040 ac_exception_model_name="call frame"
4042 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4046 ac_cpp='$CPP $CPPFLAGS'
4047 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4048 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4049 cross_compiling=$ac_cv_prog_cc_cross
4051 echo "$ac_t""$ac_exception_model_name" 1>&6
4054 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4055 echo "configure:4056: checking for use of libunwind" >&5
4056 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4057 if test "${enable_libunwind_exceptions+set}" = set; then
4058 enableval="$enable_libunwind_exceptions"
4059 use_libunwind_exceptions=$enableval
4061 use_libunwind_exceptions=no
4064 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4065 if test x"$use_libunwind_exceptions" = xyes; then
4066 LIBUNWIND_FLAG="-lunwind"
4072 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4073 if test "${enable_concept_checks+set}" = set; then
4074 enableval="$enable_concept_checks"
4075 case "$enableval" in
4076 yes) enable_concept_checks=yes ;;
4077 no) enable_concept_checks=no ;;
4078 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4081 enable_concept_checks=no
4083 if test x"$enable_concept_checks" = xyes; then
4084 cat >> confdefs.h <<\EOF
4085 #define _GLIBCPP_CONCEPT_CHECKS 1
4090 echo $ac_n "checking for extra compiler flags for building""... $ac_c" 1>&6
4091 echo "configure:4092: checking for extra compiler flags for building" >&5
4092 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4093 if test "${enable_cxx_flags+set}" = set; then
4094 enableval="$enable_cxx_flags"
4095 case "x$enable_cxx_flags" in
4097 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
4099 enable_cxx_flags='' ;;
4101 enable_cxx_flags="$enableval" ;;
4108 if test -n "$enable_cxx_flags"; then
4109 for f in $enable_cxx_flags; do
4113 *) # and we're trying to pass /what/ exactly?
4114 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
4118 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4119 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4122 # Check whether --enable-debug or --disable-debug was given.
4123 if test "${enable_debug+set}" = set; then
4124 enableval="$enable_debug"
4125 case "${enableval}" in
4126 yes) enable_debug=yes ;;
4127 no) enable_debug=no ;;
4128 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
4133 echo $ac_n "checking for additional debug build""... $ac_c" 1>&6
4134 echo "configure:4135: checking for additional debug build" >&5
4135 echo "$ac_t""$enable_debug" 1>&6
4138 if test "$enable_debug" = yes; then
4139 GLIBCPP_BUILD_DEBUG_TRUE=
4140 GLIBCPP_BUILD_DEBUG_FALSE='#'
4142 GLIBCPP_BUILD_DEBUG_TRUE='#'
4143 GLIBCPP_BUILD_DEBUG_FALSE=
4146 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4147 if test "${enable_debug_flags+set}" = set; then
4148 enableval="$enable_debug_flags"
4149 case "${enableval}" in
4151 -*) enable_debug_flags="${enableval}" ;;
4152 *) { echo "configure: error: Unknown argument to extra debugging flags" 1>&2; exit 1; } ;;
4155 enable_debug_flags=none
4158 case x"$enable_debug" in
4160 case "$enable_debug_flags" in
4162 DEBUG_FLAGS="-g3 -O0";;
4164 DEBUG_FLAGS="${enableval}"
4173 echo $ac_n "checking for debug build flags""... $ac_c" 1>&6
4174 echo "configure:4175: checking for debug build flags" >&5
4175 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4178 # No surprises, no surprises...
4179 if test $ATOMICITYH = cpu/generic ; then
4180 echo "configure: warning: No native atomic operations are provided for this platform." 1>&2
4181 if test $target_thread_file = single; then
4182 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4183 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4185 echo "configure: warning: They will be faked using a mutex." 1>&2
4186 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4191 if test x"$build" != x"$host"; then
4193 # We are being configured with some form of cross compiler.
4194 GLIBCPP_IS_CROSS_COMPILING=true
4196 # This lets us hard-code the functionality we know we'll have in the cross
4197 # target environment. "Let" is a sugar-coated word placed on an especially
4198 # dull and tedious hack, actually.
4200 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4201 # that involve linking, can't be used:
4202 # "cannot open sim-crt0.o"
4203 # "cannot open crt0.o"
4204 # etc. All this is because there currently exists no unified, consistent
4205 # way for top level CC information to be passed down to target directories:
4206 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4207 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4208 # crosses can be removed.
4210 # If Canadian cross, then don't pick up tools from the build directory.
4211 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4212 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host" \
4213 && test x"$build" != x"$target"; then
4219 # Construct crosses by hand, eliminating bits that need ld...
4220 # GLIBCPP_CHECK_COMPILER_FEATURES
4221 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4222 # GLIBCPP_CHECK_MATH_SUPPORT
4226 os_include_dir="os/bsd/freebsd"
4227 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4228 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4229 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
4232 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4233 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4234 echo "configure:4235: checking for $ac_hdr" >&5
4235 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4236 echo $ac_n "(cached) $ac_c" 1>&6
4238 cat > conftest.$ac_ext <<EOF
4239 #line 4240 "configure"
4240 #include "confdefs.h"
4243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4244 { (eval echo configure:4245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4246 if test -z "$ac_err"; then
4248 eval "ac_cv_header_$ac_safe=yes"
4251 echo "configure: failed program was:" >&5
4252 cat conftest.$ac_ext >&5
4254 eval "ac_cv_header_$ac_safe=no"
4258 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4259 echo "$ac_t""yes" 1>&6
4260 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4261 cat >> confdefs.h <<EOF
4262 #define $ac_tr_hdr 1
4266 echo "$ac_t""no" 1>&6
4270 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4273 # If we're not using GNU ld, then there's no point in even trying these
4274 # tests. Check for that first. We should have already tested for gld
4275 # by now (in libtool), but require it now just to be safe...
4276 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4277 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4280 # The name set by libtool depends on the version of libtool. Shame on us
4281 # for depending on an impl detail, but c'est la vie. Older versions used
4282 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4283 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4284 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4285 # set (hence we're using an older libtool), then set it.
4286 if test x${with_gnu_ld+set} != xset; then
4287 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4288 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4291 with_gnu_ld=$ac_cv_prog_gnu_ld
4295 # Start by getting the version number. I think the libtool test already
4296 # does some of this, but throws away the result.
4298 ldver=`$LD --version 2>/dev/null | head -1 | \
4299 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4301 glibcpp_gnu_ld_version=`echo $ldver | \
4302 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4304 # Set --gc-sections.
4305 if test "$with_gnu_ld" = "notbroken"; then
4306 # GNU ld it is! Joy and bunny rabbits!
4308 # All these tests are for C++; save the language and the compiler flags.
4309 # Need to do this so that g++ won't try to link in libstdc++
4310 ac_test_CFLAGS="${CFLAGS+set}"
4311 ac_save_CFLAGS="$CFLAGS"
4312 CFLAGS='-x c++ -Wl,--gc-sections'
4314 # Check for -Wl,--gc-sections
4315 # XXX This test is broken at the moment, as symbols required for
4316 # linking are now in libsupc++ (not built yet.....). In addition,
4317 # this test has cored on solaris in the past. In addition,
4318 # --gc-sections doesn't really work at the moment (keeps on discarding
4319 # used sections, first .eh_frame and now some of the glibc sections for
4320 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4321 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4322 echo "configure:4323: checking for ld that supports -Wl,--gc-sections" >&5
4323 if test "$cross_compiling" = yes; then
4324 ac_sectionLDflags=yes
4326 cat > conftest.$ac_ext <<EOF
4327 #line 4328 "configure"
4328 #include "confdefs.h"
4338 if { (eval echo configure:4339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4340 ac_sectionLDflags=yes
4342 echo "configure: failed program was:" >&5
4343 cat conftest.$ac_ext >&5
4345 ac_sectionLDflags=no
4350 if test "$ac_test_CFLAGS" = set; then
4351 CFLAGS="$ac_save_CFLAGS"
4353 # this is the suspicious part
4356 if test "$ac_sectionLDflags" = "yes"; then
4357 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4359 echo "$ac_t""$ac_sectionLDflags" 1>&6
4362 # Set linker optimization flags.
4363 if test x"$with_gnu_ld" = x"yes"; then
4364 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4371 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4372 echo "configure:4373: checking for main in -lm" >&5
4373 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4374 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4375 echo $ac_n "(cached) $ac_c" 1>&6
4377 ac_save_LIBS="$LIBS"
4379 cat > conftest.$ac_ext <<EOF
4380 #line 4381 "configure"
4381 #include "confdefs.h"
4387 if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4389 eval "ac_cv_lib_$ac_lib_var=yes"
4391 echo "configure: failed program was:" >&5
4392 cat conftest.$ac_ext >&5
4394 eval "ac_cv_lib_$ac_lib_var=no"
4397 LIBS="$ac_save_LIBS"
4400 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4401 echo "$ac_t""yes" 1>&6
4402 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4403 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4404 cat >> confdefs.h <<EOF
4405 #define $ac_tr_lib 1
4411 echo "$ac_t""no" 1>&6
4414 for ac_func in nan copysignf
4416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4417 echo "configure:4418: checking for $ac_func" >&5
4418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4419 echo $ac_n "(cached) $ac_c" 1>&6
4421 cat > conftest.$ac_ext <<EOF
4422 #line 4423 "configure"
4423 #include "confdefs.h"
4424 /* System header to define __stub macros and hopefully few prototypes,
4425 which can conflict with char $ac_func(); below. */
4427 /* Override any gcc2 internal prototype to avoid an error. */
4428 /* We use char because int might match the return type of a gcc2
4429 builtin and then its argument prototype would still apply. */
4434 /* The GNU C library defines this for functions which it implements
4435 to always fail with ENOSYS. Some functions are actually named
4436 something starting with __ and the normal name is an alias. */
4437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4445 if { (eval echo configure:4446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4447 eval "ac_cv_func_$ac_func=yes"
4449 echo "configure: failed program was:" >&5
4450 cat conftest.$ac_ext >&5
4452 eval "ac_cv_func_$ac_func=no"
4457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4458 echo "$ac_t""yes" 1>&6
4459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4460 cat >> confdefs.h <<EOF
4461 #define $ac_tr_func 1
4465 echo "$ac_t""no" 1>&6
4466 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4471 for ac_func in __signbit
4473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4474 echo "configure:4475: checking for $ac_func" >&5
4475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4476 echo $ac_n "(cached) $ac_c" 1>&6
4478 cat > conftest.$ac_ext <<EOF
4479 #line 4480 "configure"
4480 #include "confdefs.h"
4481 /* System header to define __stub macros and hopefully few prototypes,
4482 which can conflict with char $ac_func(); below. */
4484 /* Override any gcc2 internal prototype to avoid an error. */
4485 /* We use char because int might match the return type of a gcc2
4486 builtin and then its argument prototype would still apply. */
4491 /* The GNU C library defines this for functions which it implements
4492 to always fail with ENOSYS. Some functions are actually named
4493 something starting with __ and the normal name is an alias. */
4494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4502 if { (eval echo configure:4503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4504 eval "ac_cv_func_$ac_func=yes"
4506 echo "configure: failed program was:" >&5
4507 cat conftest.$ac_ext >&5
4509 eval "ac_cv_func_$ac_func=no"
4514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4515 echo "$ac_t""yes" 1>&6
4516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4517 cat >> confdefs.h <<EOF
4518 #define $ac_tr_func 1
4522 echo "$ac_t""no" 1>&6
4523 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4527 for ac_func in __signbitf
4529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4530 echo "configure:4531: checking for $ac_func" >&5
4531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4532 echo $ac_n "(cached) $ac_c" 1>&6
4534 cat > conftest.$ac_ext <<EOF
4535 #line 4536 "configure"
4536 #include "confdefs.h"
4537 /* System header to define __stub macros and hopefully few prototypes,
4538 which can conflict with char $ac_func(); below. */
4540 /* Override any gcc2 internal prototype to avoid an error. */
4541 /* We use char because int might match the return type of a gcc2
4542 builtin and then its argument prototype would still apply. */
4547 /* The GNU C library defines this for functions which it implements
4548 to always fail with ENOSYS. Some functions are actually named
4549 something starting with __ and the normal name is an alias. */
4550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4558 if { (eval echo configure:4559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4560 eval "ac_cv_func_$ac_func=yes"
4562 echo "configure: failed program was:" >&5
4563 cat conftest.$ac_ext >&5
4565 eval "ac_cv_func_$ac_func=no"
4570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4571 echo "$ac_t""yes" 1>&6
4572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4573 cat >> confdefs.h <<EOF
4574 #define $ac_tr_func 1
4578 echo "$ac_t""no" 1>&6
4579 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4584 if test x$ac_cv_func_copysignl = x"yes"; then
4585 for ac_func in __signbitl
4587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4588 echo "configure:4589: checking for $ac_func" >&5
4589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4590 echo $ac_n "(cached) $ac_c" 1>&6
4592 cat > conftest.$ac_ext <<EOF
4593 #line 4594 "configure"
4594 #include "confdefs.h"
4595 /* System header to define __stub macros and hopefully few prototypes,
4596 which can conflict with char $ac_func(); below. */
4598 /* Override any gcc2 internal prototype to avoid an error. */
4599 /* We use char because int might match the return type of a gcc2
4600 builtin and then its argument prototype would still apply. */
4605 /* The GNU C library defines this for functions which it implements
4606 to always fail with ENOSYS. Some functions are actually named
4607 something starting with __ and the normal name is an alias. */
4608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4616 if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4618 eval "ac_cv_func_$ac_func=yes"
4620 echo "configure: failed program was:" >&5
4621 cat conftest.$ac_ext >&5
4623 eval "ac_cv_func_$ac_func=no"
4628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4629 echo "$ac_t""yes" 1>&6
4630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4631 cat >> confdefs.h <<EOF
4632 #define $ac_tr_func 1
4636 echo "$ac_t""no" 1>&6
4637 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4643 if test -n "$LIBMATHOBJS"; then
4650 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4651 echo "configure:4652: checking for mbstate_t" >&5
4652 cat > conftest.$ac_ext <<EOF
4653 #line 4654 "configure"
4654 #include "confdefs.h"
4657 mbstate_t teststate;
4660 if { (eval echo configure:4661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4664 echo "configure: failed program was:" >&5
4665 cat conftest.$ac_ext >&5
4670 echo "$ac_t""$have_mbstate_t" 1>&6
4671 if test x"$have_mbstate_t" = xyes; then
4672 cat >> confdefs.h <<\EOF
4673 #define HAVE_MBSTATE_T 1
4678 for ac_hdr in wchar.h
4680 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4681 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4682 echo "configure:4683: checking for $ac_hdr" >&5
4683 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4684 echo $ac_n "(cached) $ac_c" 1>&6
4686 cat > conftest.$ac_ext <<EOF
4687 #line 4688 "configure"
4688 #include "confdefs.h"
4691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4692 { (eval echo configure:4693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4694 if test -z "$ac_err"; then
4696 eval "ac_cv_header_$ac_safe=yes"
4699 echo "configure: failed program was:" >&5
4700 cat conftest.$ac_ext >&5
4702 eval "ac_cv_header_$ac_safe=no"
4706 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4707 echo "$ac_t""yes" 1>&6
4708 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4709 cat >> confdefs.h <<EOF
4710 #define $ac_tr_hdr 1
4714 echo "$ac_t""no" 1>&6
4719 for ac_hdr in wctype.h
4721 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4722 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4723 echo "configure:4724: checking for $ac_hdr" >&5
4724 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4725 echo $ac_n "(cached) $ac_c" 1>&6
4727 cat > conftest.$ac_ext <<EOF
4728 #line 4729 "configure"
4729 #include "confdefs.h"
4732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4733 { (eval echo configure:4734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4734 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4735 if test -z "$ac_err"; then
4737 eval "ac_cv_header_$ac_safe=yes"
4740 echo "configure: failed program was:" >&5
4741 cat conftest.$ac_ext >&5
4743 eval "ac_cv_header_$ac_safe=no"
4747 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4748 echo "$ac_t""yes" 1>&6
4749 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4750 cat >> confdefs.h <<EOF
4751 #define $ac_tr_hdr 1
4755 echo "$ac_t""no" 1>&6
4761 if test x"$ac_has_wchar_h" = xyes &&
4762 test x"$ac_has_wctype_h" = xyes &&
4763 test x"$enable_c_mbchar" != xno; then
4765 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4766 echo "configure:4767: checking for WCHAR_MIN and WCHAR_MAX" >&5
4767 cat > conftest.$ac_ext <<EOF
4768 #line 4769 "configure"
4769 #include "confdefs.h"
4772 int i = WCHAR_MIN; int j = WCHAR_MAX;
4775 if { (eval echo configure:4776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4777 has_wchar_minmax=yes
4779 echo "configure: failed program was:" >&5
4780 cat conftest.$ac_ext >&5
4785 echo "$ac_t""$has_wchar_minmax" 1>&6
4787 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4788 echo "configure:4789: checking for WEOF" >&5
4789 cat > conftest.$ac_ext <<EOF
4790 #line 4791 "configure"
4791 #include "confdefs.h"
4799 if { (eval echo configure:4800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4803 echo "configure: failed program was:" >&5
4804 cat conftest.$ac_ext >&5
4809 echo "$ac_t""$has_weof" 1>&6
4812 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4815 echo "configure:4816: checking for $ac_func" >&5
4816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4817 echo $ac_n "(cached) $ac_c" 1>&6
4819 cat > conftest.$ac_ext <<EOF
4820 #line 4821 "configure"
4821 #include "confdefs.h"
4822 /* System header to define __stub macros and hopefully few prototypes,
4823 which can conflict with char $ac_func(); below. */
4825 /* Override any gcc2 internal prototype to avoid an error. */
4826 /* We use char because int might match the return type of a gcc2
4827 builtin and then its argument prototype would still apply. */
4832 /* The GNU C library defines this for functions which it implements
4833 to always fail with ENOSYS. Some functions are actually named
4834 something starting with __ and the normal name is an alias. */
4835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4843 if { (eval echo configure:4844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4845 eval "ac_cv_func_$ac_func=yes"
4847 echo "configure: failed program was:" >&5
4848 cat conftest.$ac_ext >&5
4850 eval "ac_cv_func_$ac_func=no"
4855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4856 echo "$ac_t""yes" 1>&6
4857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4858 cat >> confdefs.h <<EOF
4859 #define $ac_tr_func 1
4863 echo "$ac_t""no" 1>&6
4870 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4871 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4872 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4873 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4874 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4875 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4878 echo "configure:4879: checking for $ac_func" >&5
4879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4880 echo $ac_n "(cached) $ac_c" 1>&6
4882 cat > conftest.$ac_ext <<EOF
4883 #line 4884 "configure"
4884 #include "confdefs.h"
4885 /* System header to define __stub macros and hopefully few prototypes,
4886 which can conflict with char $ac_func(); below. */
4888 /* Override any gcc2 internal prototype to avoid an error. */
4889 /* We use char because int might match the return type of a gcc2
4890 builtin and then its argument prototype would still apply. */
4895 /* The GNU C library defines this for functions which it implements
4896 to always fail with ENOSYS. Some functions are actually named
4897 something starting with __ and the normal name is an alias. */
4898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4908 eval "ac_cv_func_$ac_func=yes"
4910 echo "configure: failed program was:" >&5
4911 cat conftest.$ac_ext >&5
4913 eval "ac_cv_func_$ac_func=no"
4918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4919 echo "$ac_t""yes" 1>&6
4920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4921 cat >> confdefs.h <<EOF
4922 #define $ac_tr_func 1
4926 echo "$ac_t""no" 1>&6
4933 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4934 echo "configure:4935: checking for ISO C99 wchar_t support" >&5
4935 if test x"$has_weof" = xyes &&
4936 test x"$has_wchar_minmax" = xyes &&
4937 test x"$ac_wfuncs" = xyes; then
4938 ac_isoC99_wchar_t=yes
4940 ac_isoC99_wchar_t=no
4942 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4944 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4945 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4946 echo "configure:4947: checking for iconv.h" >&5
4947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4948 echo $ac_n "(cached) $ac_c" 1>&6
4950 cat > conftest.$ac_ext <<EOF
4951 #line 4952 "configure"
4952 #include "confdefs.h"
4955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4956 { (eval echo configure:4957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4958 if test -z "$ac_err"; then
4960 eval "ac_cv_header_$ac_safe=yes"
4963 echo "configure: failed program was:" >&5
4964 cat conftest.$ac_ext >&5
4966 eval "ac_cv_header_$ac_safe=no"
4970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4971 echo "$ac_t""yes" 1>&6
4974 echo "$ac_t""no" 1>&6
4978 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4979 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4980 echo "configure:4981: checking for langinfo.h" >&5
4981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4982 echo $ac_n "(cached) $ac_c" 1>&6
4984 cat > conftest.$ac_ext <<EOF
4985 #line 4986 "configure"
4986 #include "confdefs.h"
4987 #include <langinfo.h>
4989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4990 { (eval echo configure:4991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4992 if test -z "$ac_err"; then
4994 eval "ac_cv_header_$ac_safe=yes"
4997 echo "configure: failed program was:" >&5
4998 cat conftest.$ac_ext >&5
5000 eval "ac_cv_header_$ac_safe=no"
5004 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5005 echo "$ac_t""yes" 1>&6
5006 ac_has_langinfo_h=yes
5008 echo "$ac_t""no" 1>&6
5009 ac_has_langinfo_h=no
5013 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5014 echo "configure:5015: checking for iconv in -liconv" >&5
5015 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5017 echo $ac_n "(cached) $ac_c" 1>&6
5019 ac_save_LIBS="$LIBS"
5020 LIBS="-liconv $LIBS"
5021 cat > conftest.$ac_ext <<EOF
5022 #line 5023 "configure"
5023 #include "confdefs.h"
5024 /* Override any gcc2 internal prototype to avoid an error. */
5025 /* We use char because int might match the return type of a gcc2
5026 builtin and then its argument prototype would still apply. */
5033 if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5035 eval "ac_cv_lib_$ac_lib_var=yes"
5037 echo "configure: failed program was:" >&5
5038 cat conftest.$ac_ext >&5
5040 eval "ac_cv_lib_$ac_lib_var=no"
5043 LIBS="$ac_save_LIBS"
5046 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5047 echo "$ac_t""yes" 1>&6
5050 echo "$ac_t""no" 1>&6
5053 ac_save_LIBS="$LIBS"
5054 LIBS="$LIBS $libiconv"
5056 for ac_func in iconv_open iconv_close iconv nl_langinfo
5058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5059 echo "configure:5060: checking for $ac_func" >&5
5060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5061 echo $ac_n "(cached) $ac_c" 1>&6
5063 cat > conftest.$ac_ext <<EOF
5064 #line 5065 "configure"
5065 #include "confdefs.h"
5066 /* System header to define __stub macros and hopefully few prototypes,
5067 which can conflict with char $ac_func(); below. */
5069 /* Override any gcc2 internal prototype to avoid an error. */
5070 /* We use char because int might match the return type of a gcc2
5071 builtin and then its argument prototype would still apply. */
5076 /* The GNU C library defines this for functions which it implements
5077 to always fail with ENOSYS. Some functions are actually named
5078 something starting with __ and the normal name is an alias. */
5079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5087 if { (eval echo configure:5088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5089 eval "ac_cv_func_$ac_func=yes"
5091 echo "configure: failed program was:" >&5
5092 cat conftest.$ac_ext >&5
5094 eval "ac_cv_func_$ac_func=no"
5099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5100 echo "$ac_t""yes" 1>&6
5101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5102 cat >> confdefs.h <<EOF
5103 #define $ac_tr_func 1
5108 echo "$ac_t""no" 1>&6
5114 LIBS="$ac_save_LIBS"
5116 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5117 echo "configure:5118: checking for XPG2 wchar_t support" >&5
5118 if test x"$ac_has_iconv_h" = xyes &&
5119 test x"$ac_has_langinfo_h" = xyes &&
5120 test x"$ac_XPG2funcs" = xyes; then
5125 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5127 if test x"$ac_isoC99_wchar_t" = xyes &&
5128 test x"$ac_XPG2_wchar_t" = xyes; then
5129 cat >> confdefs.h <<\EOF
5130 #define _GLIBCPP_USE_WCHAR_T 1
5136 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5137 echo "configure:5138: checking for enabled wchar_t specializations" >&5
5138 echo "$ac_t""$enable_wchar_t" 1>&6
5140 cat >> confdefs.h <<\EOF
5141 #define HAVE_LC_MESSAGES 1
5144 cat >> confdefs.h <<\EOF
5145 #define HAVE_DRAND48 1
5148 cat >> confdefs.h <<\EOF
5149 #define HAVE_GETPAGESIZE 1
5152 cat >> confdefs.h <<\EOF
5153 #define HAVE_SETENV 1
5156 cat >> confdefs.h <<\EOF
5157 #define HAVE_SIGSETJMP 1
5160 cat >> confdefs.h <<\EOF
5161 #define HAVE_COPYSIGN 1
5164 cat >> confdefs.h <<\EOF
5165 #define HAVE_COPYSIGNF 1
5168 cat >> confdefs.h <<\EOF
5169 #define HAVE_FINITEF 1
5172 cat >> confdefs.h <<\EOF
5173 #define HAVE_FINITE 1
5176 cat >> confdefs.h <<\EOF
5177 #define HAVE_FREXPF 1
5180 cat >> confdefs.h <<\EOF
5181 #define HAVE_HYPOT 1
5184 cat >> confdefs.h <<\EOF
5185 #define HAVE_HYPOTF 1
5188 cat >> confdefs.h <<\EOF
5189 #define HAVE_ISINF 1
5192 cat >> confdefs.h <<\EOF
5193 #define HAVE_ISNAN 1
5196 cat >> confdefs.h <<\EOF
5197 #define HAVE_ISNANF 1
5201 cat >> confdefs.h <<\EOF
5205 cat >> confdefs.h <<\EOF
5206 #define HAVE_ACOSF 1
5209 cat >> confdefs.h <<\EOF
5210 #define HAVE_ASINF 1
5213 cat >> confdefs.h <<\EOF
5214 #define HAVE_ATAN2F 1
5217 cat >> confdefs.h <<\EOF
5218 #define HAVE_ATANF 1
5221 cat >> confdefs.h <<\EOF
5222 #define HAVE_CEILF 1
5225 cat >> confdefs.h <<\EOF
5226 #define HAVE_COPYSIGN 1
5229 cat >> confdefs.h <<\EOF
5230 #define HAVE_COPYSIGNF 1
5233 cat >> confdefs.h <<\EOF
5237 cat >> confdefs.h <<\EOF
5238 #define HAVE_COSHF 1
5241 cat >> confdefs.h <<\EOF
5245 cat >> confdefs.h <<\EOF
5246 #define HAVE_FABSF 1
5249 cat >> confdefs.h <<\EOF
5250 #define HAVE_FLOORF 1
5253 cat >> confdefs.h <<\EOF
5254 #define HAVE_FMODF 1
5257 cat >> confdefs.h <<\EOF
5258 #define HAVE_FREXPF 1
5261 cat >> confdefs.h <<\EOF
5262 #define HAVE_LDEXPF 1
5265 cat >> confdefs.h <<\EOF
5266 #define HAVE_LOG10F 1
5269 cat >> confdefs.h <<\EOF
5273 cat >> confdefs.h <<\EOF
5274 #define HAVE_MODFF 1
5277 cat >> confdefs.h <<\EOF
5281 cat >> confdefs.h <<\EOF
5285 cat >> confdefs.h <<\EOF
5286 #define HAVE_SINHF 1
5289 cat >> confdefs.h <<\EOF
5290 #define HAVE_SQRTF 1
5293 cat >> confdefs.h <<\EOF
5297 cat >> confdefs.h <<\EOF
5298 #define HAVE_TANHF 1
5301 if test x"long_double_math_on_this_cpu" = x"yes"; then
5302 cat >> confdefs.h <<\EOF
5303 #define HAVE_FINITEL 1
5306 cat >> confdefs.h <<\EOF
5307 #define HAVE_ISINFL 1
5310 cat >> confdefs.h <<\EOF
5311 #define HAVE_ISNANL 1
5317 os_include_dir="os/hpux"
5318 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5319 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5320 fp.h locale.h float.h inttypes.h
5322 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5324 echo "configure:5325: checking for $ac_hdr" >&5
5325 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5326 echo $ac_n "(cached) $ac_c" 1>&6
5328 cat > conftest.$ac_ext <<EOF
5329 #line 5330 "configure"
5330 #include "confdefs.h"
5333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5334 { (eval echo configure:5335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5336 if test -z "$ac_err"; then
5338 eval "ac_cv_header_$ac_safe=yes"
5341 echo "configure: failed program was:" >&5
5342 cat conftest.$ac_ext >&5
5344 eval "ac_cv_header_$ac_safe=no"
5348 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5349 echo "$ac_t""yes" 1>&6
5350 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5351 cat >> confdefs.h <<EOF
5352 #define $ac_tr_hdr 1
5356 echo "$ac_t""no" 1>&6
5360 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5363 # If we're not using GNU ld, then there's no point in even trying these
5364 # tests. Check for that first. We should have already tested for gld
5365 # by now (in libtool), but require it now just to be safe...
5366 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5367 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5370 # The name set by libtool depends on the version of libtool. Shame on us
5371 # for depending on an impl detail, but c'est la vie. Older versions used
5372 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5373 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5374 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5375 # set (hence we're using an older libtool), then set it.
5376 if test x${with_gnu_ld+set} != xset; then
5377 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5378 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5381 with_gnu_ld=$ac_cv_prog_gnu_ld
5385 # Start by getting the version number. I think the libtool test already
5386 # does some of this, but throws away the result.
5388 ldver=`$LD --version 2>/dev/null | head -1 | \
5389 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5391 glibcpp_gnu_ld_version=`echo $ldver | \
5392 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5394 # Set --gc-sections.
5395 if test "$with_gnu_ld" = "notbroken"; then
5396 # GNU ld it is! Joy and bunny rabbits!
5398 # All these tests are for C++; save the language and the compiler flags.
5399 # Need to do this so that g++ won't try to link in libstdc++
5400 ac_test_CFLAGS="${CFLAGS+set}"
5401 ac_save_CFLAGS="$CFLAGS"
5402 CFLAGS='-x c++ -Wl,--gc-sections'
5404 # Check for -Wl,--gc-sections
5405 # XXX This test is broken at the moment, as symbols required for
5406 # linking are now in libsupc++ (not built yet.....). In addition,
5407 # this test has cored on solaris in the past. In addition,
5408 # --gc-sections doesn't really work at the moment (keeps on discarding
5409 # used sections, first .eh_frame and now some of the glibc sections for
5410 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5411 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5412 echo "configure:5413: checking for ld that supports -Wl,--gc-sections" >&5
5413 if test "$cross_compiling" = yes; then
5414 ac_sectionLDflags=yes
5416 cat > conftest.$ac_ext <<EOF
5417 #line 5418 "configure"
5418 #include "confdefs.h"
5428 if { (eval echo configure:5429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5430 ac_sectionLDflags=yes
5432 echo "configure: failed program was:" >&5
5433 cat conftest.$ac_ext >&5
5435 ac_sectionLDflags=no
5440 if test "$ac_test_CFLAGS" = set; then
5441 CFLAGS="$ac_save_CFLAGS"
5443 # this is the suspicious part
5446 if test "$ac_sectionLDflags" = "yes"; then
5447 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5449 echo "$ac_t""$ac_sectionLDflags" 1>&6
5452 # Set linker optimization flags.
5453 if test x"$with_gnu_ld" = x"yes"; then
5454 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5461 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5462 echo "configure:5463: checking for main in -lm" >&5
5463 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5464 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5465 echo $ac_n "(cached) $ac_c" 1>&6
5467 ac_save_LIBS="$LIBS"
5469 cat > conftest.$ac_ext <<EOF
5470 #line 5471 "configure"
5471 #include "confdefs.h"
5477 if { (eval echo configure:5478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5479 eval "ac_cv_lib_$ac_lib_var=yes"
5481 echo "configure: failed program was:" >&5
5482 cat conftest.$ac_ext >&5
5484 eval "ac_cv_lib_$ac_lib_var=no"
5487 LIBS="$ac_save_LIBS"
5490 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5491 echo "$ac_t""yes" 1>&6
5492 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5493 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5494 cat >> confdefs.h <<EOF
5495 #define $ac_tr_lib 1
5501 echo "$ac_t""no" 1>&6
5504 for ac_func in nan copysignf
5506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5507 echo "configure:5508: checking for $ac_func" >&5
5508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5509 echo $ac_n "(cached) $ac_c" 1>&6
5511 cat > conftest.$ac_ext <<EOF
5512 #line 5513 "configure"
5513 #include "confdefs.h"
5514 /* System header to define __stub macros and hopefully few prototypes,
5515 which can conflict with char $ac_func(); below. */
5517 /* Override any gcc2 internal prototype to avoid an error. */
5518 /* We use char because int might match the return type of a gcc2
5519 builtin and then its argument prototype would still apply. */
5524 /* The GNU C library defines this for functions which it implements
5525 to always fail with ENOSYS. Some functions are actually named
5526 something starting with __ and the normal name is an alias. */
5527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5535 if { (eval echo configure:5536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5537 eval "ac_cv_func_$ac_func=yes"
5539 echo "configure: failed program was:" >&5
5540 cat conftest.$ac_ext >&5
5542 eval "ac_cv_func_$ac_func=no"
5547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5548 echo "$ac_t""yes" 1>&6
5549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5550 cat >> confdefs.h <<EOF
5551 #define $ac_tr_func 1
5555 echo "$ac_t""no" 1>&6
5556 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5561 for ac_func in __signbit
5563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5564 echo "configure:5565: checking for $ac_func" >&5
5565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5566 echo $ac_n "(cached) $ac_c" 1>&6
5568 cat > conftest.$ac_ext <<EOF
5569 #line 5570 "configure"
5570 #include "confdefs.h"
5571 /* System header to define __stub macros and hopefully few prototypes,
5572 which can conflict with char $ac_func(); below. */
5574 /* Override any gcc2 internal prototype to avoid an error. */
5575 /* We use char because int might match the return type of a gcc2
5576 builtin and then its argument prototype would still apply. */
5581 /* The GNU C library defines this for functions which it implements
5582 to always fail with ENOSYS. Some functions are actually named
5583 something starting with __ and the normal name is an alias. */
5584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5592 if { (eval echo configure:5593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5594 eval "ac_cv_func_$ac_func=yes"
5596 echo "configure: failed program was:" >&5
5597 cat conftest.$ac_ext >&5
5599 eval "ac_cv_func_$ac_func=no"
5604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5605 echo "$ac_t""yes" 1>&6
5606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5607 cat >> confdefs.h <<EOF
5608 #define $ac_tr_func 1
5612 echo "$ac_t""no" 1>&6
5613 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5617 for ac_func in __signbitf
5619 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5620 echo "configure:5621: checking for $ac_func" >&5
5621 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5622 echo $ac_n "(cached) $ac_c" 1>&6
5624 cat > conftest.$ac_ext <<EOF
5625 #line 5626 "configure"
5626 #include "confdefs.h"
5627 /* System header to define __stub macros and hopefully few prototypes,
5628 which can conflict with char $ac_func(); below. */
5630 /* Override any gcc2 internal prototype to avoid an error. */
5631 /* We use char because int might match the return type of a gcc2
5632 builtin and then its argument prototype would still apply. */
5637 /* The GNU C library defines this for functions which it implements
5638 to always fail with ENOSYS. Some functions are actually named
5639 something starting with __ and the normal name is an alias. */
5640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5648 if { (eval echo configure:5649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5650 eval "ac_cv_func_$ac_func=yes"
5652 echo "configure: failed program was:" >&5
5653 cat conftest.$ac_ext >&5
5655 eval "ac_cv_func_$ac_func=no"
5660 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5661 echo "$ac_t""yes" 1>&6
5662 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5663 cat >> confdefs.h <<EOF
5664 #define $ac_tr_func 1
5668 echo "$ac_t""no" 1>&6
5669 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5674 if test x$ac_cv_func_copysignl = x"yes"; then
5675 for ac_func in __signbitl
5677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5678 echo "configure:5679: checking for $ac_func" >&5
5679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5680 echo $ac_n "(cached) $ac_c" 1>&6
5682 cat > conftest.$ac_ext <<EOF
5683 #line 5684 "configure"
5684 #include "confdefs.h"
5685 /* System header to define __stub macros and hopefully few prototypes,
5686 which can conflict with char $ac_func(); below. */
5688 /* Override any gcc2 internal prototype to avoid an error. */
5689 /* We use char because int might match the return type of a gcc2
5690 builtin and then its argument prototype would still apply. */
5695 /* The GNU C library defines this for functions which it implements
5696 to always fail with ENOSYS. Some functions are actually named
5697 something starting with __ and the normal name is an alias. */
5698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5706 if { (eval echo configure:5707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5708 eval "ac_cv_func_$ac_func=yes"
5710 echo "configure: failed program was:" >&5
5711 cat conftest.$ac_ext >&5
5713 eval "ac_cv_func_$ac_func=no"
5718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5719 echo "$ac_t""yes" 1>&6
5720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5721 cat >> confdefs.h <<EOF
5722 #define $ac_tr_func 1
5726 echo "$ac_t""no" 1>&6
5727 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5733 if test -n "$LIBMATHOBJS"; then
5740 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5741 echo "configure:5742: checking for mbstate_t" >&5
5742 cat > conftest.$ac_ext <<EOF
5743 #line 5744 "configure"
5744 #include "confdefs.h"
5747 mbstate_t teststate;
5750 if { (eval echo configure:5751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5754 echo "configure: failed program was:" >&5
5755 cat conftest.$ac_ext >&5
5760 echo "$ac_t""$have_mbstate_t" 1>&6
5761 if test x"$have_mbstate_t" = xyes; then
5762 cat >> confdefs.h <<\EOF
5763 #define HAVE_MBSTATE_T 1
5768 for ac_hdr in wchar.h
5770 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5771 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5772 echo "configure:5773: checking for $ac_hdr" >&5
5773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5774 echo $ac_n "(cached) $ac_c" 1>&6
5776 cat > conftest.$ac_ext <<EOF
5777 #line 5778 "configure"
5778 #include "confdefs.h"
5781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5782 { (eval echo configure:5783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5784 if test -z "$ac_err"; then
5786 eval "ac_cv_header_$ac_safe=yes"
5789 echo "configure: failed program was:" >&5
5790 cat conftest.$ac_ext >&5
5792 eval "ac_cv_header_$ac_safe=no"
5796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5797 echo "$ac_t""yes" 1>&6
5798 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5799 cat >> confdefs.h <<EOF
5800 #define $ac_tr_hdr 1
5804 echo "$ac_t""no" 1>&6
5809 for ac_hdr in wctype.h
5811 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5812 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5813 echo "configure:5814: checking for $ac_hdr" >&5
5814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5815 echo $ac_n "(cached) $ac_c" 1>&6
5817 cat > conftest.$ac_ext <<EOF
5818 #line 5819 "configure"
5819 #include "confdefs.h"
5822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5823 { (eval echo configure:5824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5825 if test -z "$ac_err"; then
5827 eval "ac_cv_header_$ac_safe=yes"
5830 echo "configure: failed program was:" >&5
5831 cat conftest.$ac_ext >&5
5833 eval "ac_cv_header_$ac_safe=no"
5837 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5838 echo "$ac_t""yes" 1>&6
5839 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5840 cat >> confdefs.h <<EOF
5841 #define $ac_tr_hdr 1
5845 echo "$ac_t""no" 1>&6
5851 if test x"$ac_has_wchar_h" = xyes &&
5852 test x"$ac_has_wctype_h" = xyes &&
5853 test x"$enable_c_mbchar" != xno; then
5855 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5856 echo "configure:5857: checking for WCHAR_MIN and WCHAR_MAX" >&5
5857 cat > conftest.$ac_ext <<EOF
5858 #line 5859 "configure"
5859 #include "confdefs.h"
5862 int i = WCHAR_MIN; int j = WCHAR_MAX;
5865 if { (eval echo configure:5866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5867 has_wchar_minmax=yes
5869 echo "configure: failed program was:" >&5
5870 cat conftest.$ac_ext >&5
5875 echo "$ac_t""$has_wchar_minmax" 1>&6
5877 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5878 echo "configure:5879: checking for WEOF" >&5
5879 cat > conftest.$ac_ext <<EOF
5880 #line 5881 "configure"
5881 #include "confdefs.h"
5889 if { (eval echo configure:5890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5893 echo "configure: failed program was:" >&5
5894 cat conftest.$ac_ext >&5
5899 echo "$ac_t""$has_weof" 1>&6
5902 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5905 echo "configure:5906: checking for $ac_func" >&5
5906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5907 echo $ac_n "(cached) $ac_c" 1>&6
5909 cat > conftest.$ac_ext <<EOF
5910 #line 5911 "configure"
5911 #include "confdefs.h"
5912 /* System header to define __stub macros and hopefully few prototypes,
5913 which can conflict with char $ac_func(); below. */
5915 /* Override any gcc2 internal prototype to avoid an error. */
5916 /* We use char because int might match the return type of a gcc2
5917 builtin and then its argument prototype would still apply. */
5922 /* The GNU C library defines this for functions which it implements
5923 to always fail with ENOSYS. Some functions are actually named
5924 something starting with __ and the normal name is an alias. */
5925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5933 if { (eval echo configure:5934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5935 eval "ac_cv_func_$ac_func=yes"
5937 echo "configure: failed program was:" >&5
5938 cat conftest.$ac_ext >&5
5940 eval "ac_cv_func_$ac_func=no"
5945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5946 echo "$ac_t""yes" 1>&6
5947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5948 cat >> confdefs.h <<EOF
5949 #define $ac_tr_func 1
5953 echo "$ac_t""no" 1>&6
5960 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5961 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5962 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5963 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5964 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5965 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5968 echo "configure:5969: checking for $ac_func" >&5
5969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5970 echo $ac_n "(cached) $ac_c" 1>&6
5972 cat > conftest.$ac_ext <<EOF
5973 #line 5974 "configure"
5974 #include "confdefs.h"
5975 /* System header to define __stub macros and hopefully few prototypes,
5976 which can conflict with char $ac_func(); below. */
5978 /* Override any gcc2 internal prototype to avoid an error. */
5979 /* We use char because int might match the return type of a gcc2
5980 builtin and then its argument prototype would still apply. */
5985 /* The GNU C library defines this for functions which it implements
5986 to always fail with ENOSYS. Some functions are actually named
5987 something starting with __ and the normal name is an alias. */
5988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5996 if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5998 eval "ac_cv_func_$ac_func=yes"
6000 echo "configure: failed program was:" >&5
6001 cat conftest.$ac_ext >&5
6003 eval "ac_cv_func_$ac_func=no"
6008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6009 echo "$ac_t""yes" 1>&6
6010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6011 cat >> confdefs.h <<EOF
6012 #define $ac_tr_func 1
6016 echo "$ac_t""no" 1>&6
6023 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6024 echo "configure:6025: checking for ISO C99 wchar_t support" >&5
6025 if test x"$has_weof" = xyes &&
6026 test x"$has_wchar_minmax" = xyes &&
6027 test x"$ac_wfuncs" = xyes; then
6028 ac_isoC99_wchar_t=yes
6030 ac_isoC99_wchar_t=no
6032 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6034 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6035 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6036 echo "configure:6037: checking for iconv.h" >&5
6037 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6038 echo $ac_n "(cached) $ac_c" 1>&6
6040 cat > conftest.$ac_ext <<EOF
6041 #line 6042 "configure"
6042 #include "confdefs.h"
6045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6046 { (eval echo configure:6047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6048 if test -z "$ac_err"; then
6050 eval "ac_cv_header_$ac_safe=yes"
6053 echo "configure: failed program was:" >&5
6054 cat conftest.$ac_ext >&5
6056 eval "ac_cv_header_$ac_safe=no"
6060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6061 echo "$ac_t""yes" 1>&6
6064 echo "$ac_t""no" 1>&6
6068 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6069 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6070 echo "configure:6071: checking for langinfo.h" >&5
6071 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6072 echo $ac_n "(cached) $ac_c" 1>&6
6074 cat > conftest.$ac_ext <<EOF
6075 #line 6076 "configure"
6076 #include "confdefs.h"
6077 #include <langinfo.h>
6079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6080 { (eval echo configure:6081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6082 if test -z "$ac_err"; then
6084 eval "ac_cv_header_$ac_safe=yes"
6087 echo "configure: failed program was:" >&5
6088 cat conftest.$ac_ext >&5
6090 eval "ac_cv_header_$ac_safe=no"
6094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6095 echo "$ac_t""yes" 1>&6
6096 ac_has_langinfo_h=yes
6098 echo "$ac_t""no" 1>&6
6099 ac_has_langinfo_h=no
6103 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6104 echo "configure:6105: checking for iconv in -liconv" >&5
6105 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6107 echo $ac_n "(cached) $ac_c" 1>&6
6109 ac_save_LIBS="$LIBS"
6110 LIBS="-liconv $LIBS"
6111 cat > conftest.$ac_ext <<EOF
6112 #line 6113 "configure"
6113 #include "confdefs.h"
6114 /* Override any gcc2 internal prototype to avoid an error. */
6115 /* We use char because int might match the return type of a gcc2
6116 builtin and then its argument prototype would still apply. */
6123 if { (eval echo configure:6124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6125 eval "ac_cv_lib_$ac_lib_var=yes"
6127 echo "configure: failed program was:" >&5
6128 cat conftest.$ac_ext >&5
6130 eval "ac_cv_lib_$ac_lib_var=no"
6133 LIBS="$ac_save_LIBS"
6136 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6137 echo "$ac_t""yes" 1>&6
6140 echo "$ac_t""no" 1>&6
6143 ac_save_LIBS="$LIBS"
6144 LIBS="$LIBS $libiconv"
6146 for ac_func in iconv_open iconv_close iconv nl_langinfo
6148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6149 echo "configure:6150: checking for $ac_func" >&5
6150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6151 echo $ac_n "(cached) $ac_c" 1>&6
6153 cat > conftest.$ac_ext <<EOF
6154 #line 6155 "configure"
6155 #include "confdefs.h"
6156 /* System header to define __stub macros and hopefully few prototypes,
6157 which can conflict with char $ac_func(); below. */
6159 /* Override any gcc2 internal prototype to avoid an error. */
6160 /* We use char because int might match the return type of a gcc2
6161 builtin and then its argument prototype would still apply. */
6166 /* The GNU C library defines this for functions which it implements
6167 to always fail with ENOSYS. Some functions are actually named
6168 something starting with __ and the normal name is an alias. */
6169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6177 if { (eval echo configure:6178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6179 eval "ac_cv_func_$ac_func=yes"
6181 echo "configure: failed program was:" >&5
6182 cat conftest.$ac_ext >&5
6184 eval "ac_cv_func_$ac_func=no"
6189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6190 echo "$ac_t""yes" 1>&6
6191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6192 cat >> confdefs.h <<EOF
6193 #define $ac_tr_func 1
6198 echo "$ac_t""no" 1>&6
6204 LIBS="$ac_save_LIBS"
6206 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6207 echo "configure:6208: checking for XPG2 wchar_t support" >&5
6208 if test x"$ac_has_iconv_h" = xyes &&
6209 test x"$ac_has_langinfo_h" = xyes &&
6210 test x"$ac_XPG2funcs" = xyes; then
6215 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6217 if test x"$ac_isoC99_wchar_t" = xyes &&
6218 test x"$ac_XPG2_wchar_t" = xyes; then
6219 cat >> confdefs.h <<\EOF
6220 #define _GLIBCPP_USE_WCHAR_T 1
6226 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6227 echo "configure:6228: checking for enabled wchar_t specializations" >&5
6228 echo "$ac_t""$enable_wchar_t" 1>&6
6230 cat >> confdefs.h <<\EOF
6231 #define HAVE_COPYSIGN 1
6234 cat >> confdefs.h <<\EOF
6235 #define HAVE_COPYSIGNF 1
6238 cat >> confdefs.h <<\EOF
6239 #define HAVE_FREXPF 1
6242 cat >> confdefs.h <<\EOF
6243 #define HAVE_HYPOT 1
6248 cat >> confdefs.h <<\EOF
6249 #define HAVE_FINITE 1
6252 cat >> confdefs.h <<\EOF
6253 #define HAVE_FINITEF 1
6256 cat >> confdefs.h <<\EOF
6257 #define HAVE_ISINF 1
6260 cat >> confdefs.h <<\EOF
6261 #define HAVE_ISINFF 1
6264 cat >> confdefs.h <<\EOF
6265 #define HAVE_ISNAN 1
6268 cat >> confdefs.h <<\EOF
6269 #define HAVE_ISNANF 1
6276 os_include_dir="os/gnu-linux"
6277 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6278 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6279 fp.h locale.h float.h inttypes.h
6281 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6282 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6283 echo "configure:6284: checking for $ac_hdr" >&5
6284 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6285 echo $ac_n "(cached) $ac_c" 1>&6
6287 cat > conftest.$ac_ext <<EOF
6288 #line 6289 "configure"
6289 #include "confdefs.h"
6292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6293 { (eval echo configure:6294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6295 if test -z "$ac_err"; then
6297 eval "ac_cv_header_$ac_safe=yes"
6300 echo "configure: failed program was:" >&5
6301 cat conftest.$ac_ext >&5
6303 eval "ac_cv_header_$ac_safe=no"
6307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6308 echo "$ac_t""yes" 1>&6
6309 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6310 cat >> confdefs.h <<EOF
6311 #define $ac_tr_hdr 1
6315 echo "$ac_t""no" 1>&6
6319 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6322 # If we're not using GNU ld, then there's no point in even trying these
6323 # tests. Check for that first. We should have already tested for gld
6324 # by now (in libtool), but require it now just to be safe...
6325 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6326 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6329 # The name set by libtool depends on the version of libtool. Shame on us
6330 # for depending on an impl detail, but c'est la vie. Older versions used
6331 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6332 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6333 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6334 # set (hence we're using an older libtool), then set it.
6335 if test x${with_gnu_ld+set} != xset; then
6336 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6337 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6340 with_gnu_ld=$ac_cv_prog_gnu_ld
6344 # Start by getting the version number. I think the libtool test already
6345 # does some of this, but throws away the result.
6347 ldver=`$LD --version 2>/dev/null | head -1 | \
6348 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6350 glibcpp_gnu_ld_version=`echo $ldver | \
6351 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6353 # Set --gc-sections.
6354 if test "$with_gnu_ld" = "notbroken"; then
6355 # GNU ld it is! Joy and bunny rabbits!
6357 # All these tests are for C++; save the language and the compiler flags.
6358 # Need to do this so that g++ won't try to link in libstdc++
6359 ac_test_CFLAGS="${CFLAGS+set}"
6360 ac_save_CFLAGS="$CFLAGS"
6361 CFLAGS='-x c++ -Wl,--gc-sections'
6363 # Check for -Wl,--gc-sections
6364 # XXX This test is broken at the moment, as symbols required for
6365 # linking are now in libsupc++ (not built yet.....). In addition,
6366 # this test has cored on solaris in the past. In addition,
6367 # --gc-sections doesn't really work at the moment (keeps on discarding
6368 # used sections, first .eh_frame and now some of the glibc sections for
6369 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6370 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6371 echo "configure:6372: checking for ld that supports -Wl,--gc-sections" >&5
6372 if test "$cross_compiling" = yes; then
6373 ac_sectionLDflags=yes
6375 cat > conftest.$ac_ext <<EOF
6376 #line 6377 "configure"
6377 #include "confdefs.h"
6387 if { (eval echo configure:6388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6389 ac_sectionLDflags=yes
6391 echo "configure: failed program was:" >&5
6392 cat conftest.$ac_ext >&5
6394 ac_sectionLDflags=no
6399 if test "$ac_test_CFLAGS" = set; then
6400 CFLAGS="$ac_save_CFLAGS"
6402 # this is the suspicious part
6405 if test "$ac_sectionLDflags" = "yes"; then
6406 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6408 echo "$ac_t""$ac_sectionLDflags" 1>&6
6411 # Set linker optimization flags.
6412 if test x"$with_gnu_ld" = x"yes"; then
6413 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6420 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6421 echo "configure:6422: checking for main in -lm" >&5
6422 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6423 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6424 echo $ac_n "(cached) $ac_c" 1>&6
6426 ac_save_LIBS="$LIBS"
6428 cat > conftest.$ac_ext <<EOF
6429 #line 6430 "configure"
6430 #include "confdefs.h"
6436 if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6438 eval "ac_cv_lib_$ac_lib_var=yes"
6440 echo "configure: failed program was:" >&5
6441 cat conftest.$ac_ext >&5
6443 eval "ac_cv_lib_$ac_lib_var=no"
6446 LIBS="$ac_save_LIBS"
6449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6450 echo "$ac_t""yes" 1>&6
6451 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6452 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6453 cat >> confdefs.h <<EOF
6454 #define $ac_tr_lib 1
6460 echo "$ac_t""no" 1>&6
6463 for ac_func in nan copysignf
6465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6466 echo "configure:6467: checking for $ac_func" >&5
6467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6468 echo $ac_n "(cached) $ac_c" 1>&6
6470 cat > conftest.$ac_ext <<EOF
6471 #line 6472 "configure"
6472 #include "confdefs.h"
6473 /* System header to define __stub macros and hopefully few prototypes,
6474 which can conflict with char $ac_func(); below. */
6476 /* Override any gcc2 internal prototype to avoid an error. */
6477 /* We use char because int might match the return type of a gcc2
6478 builtin and then its argument prototype would still apply. */
6483 /* The GNU C library defines this for functions which it implements
6484 to always fail with ENOSYS. Some functions are actually named
6485 something starting with __ and the normal name is an alias. */
6486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6494 if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6496 eval "ac_cv_func_$ac_func=yes"
6498 echo "configure: failed program was:" >&5
6499 cat conftest.$ac_ext >&5
6501 eval "ac_cv_func_$ac_func=no"
6506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6507 echo "$ac_t""yes" 1>&6
6508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6509 cat >> confdefs.h <<EOF
6510 #define $ac_tr_func 1
6514 echo "$ac_t""no" 1>&6
6515 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6520 for ac_func in __signbit
6522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6523 echo "configure:6524: checking for $ac_func" >&5
6524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6525 echo $ac_n "(cached) $ac_c" 1>&6
6527 cat > conftest.$ac_ext <<EOF
6528 #line 6529 "configure"
6529 #include "confdefs.h"
6530 /* System header to define __stub macros and hopefully few prototypes,
6531 which can conflict with char $ac_func(); below. */
6533 /* Override any gcc2 internal prototype to avoid an error. */
6534 /* We use char because int might match the return type of a gcc2
6535 builtin and then its argument prototype would still apply. */
6540 /* The GNU C library defines this for functions which it implements
6541 to always fail with ENOSYS. Some functions are actually named
6542 something starting with __ and the normal name is an alias. */
6543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6551 if { (eval echo configure:6552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6553 eval "ac_cv_func_$ac_func=yes"
6555 echo "configure: failed program was:" >&5
6556 cat conftest.$ac_ext >&5
6558 eval "ac_cv_func_$ac_func=no"
6563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6564 echo "$ac_t""yes" 1>&6
6565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6566 cat >> confdefs.h <<EOF
6567 #define $ac_tr_func 1
6571 echo "$ac_t""no" 1>&6
6572 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6576 for ac_func in __signbitf
6578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6579 echo "configure:6580: checking for $ac_func" >&5
6580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6581 echo $ac_n "(cached) $ac_c" 1>&6
6583 cat > conftest.$ac_ext <<EOF
6584 #line 6585 "configure"
6585 #include "confdefs.h"
6586 /* System header to define __stub macros and hopefully few prototypes,
6587 which can conflict with char $ac_func(); below. */
6589 /* Override any gcc2 internal prototype to avoid an error. */
6590 /* We use char because int might match the return type of a gcc2
6591 builtin and then its argument prototype would still apply. */
6596 /* The GNU C library defines this for functions which it implements
6597 to always fail with ENOSYS. Some functions are actually named
6598 something starting with __ and the normal name is an alias. */
6599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6607 if { (eval echo configure:6608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6609 eval "ac_cv_func_$ac_func=yes"
6611 echo "configure: failed program was:" >&5
6612 cat conftest.$ac_ext >&5
6614 eval "ac_cv_func_$ac_func=no"
6619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6620 echo "$ac_t""yes" 1>&6
6621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6622 cat >> confdefs.h <<EOF
6623 #define $ac_tr_func 1
6627 echo "$ac_t""no" 1>&6
6628 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6633 if test x$ac_cv_func_copysignl = x"yes"; then
6634 for ac_func in __signbitl
6636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6637 echo "configure:6638: checking for $ac_func" >&5
6638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6639 echo $ac_n "(cached) $ac_c" 1>&6
6641 cat > conftest.$ac_ext <<EOF
6642 #line 6643 "configure"
6643 #include "confdefs.h"
6644 /* System header to define __stub macros and hopefully few prototypes,
6645 which can conflict with char $ac_func(); below. */
6647 /* Override any gcc2 internal prototype to avoid an error. */
6648 /* We use char because int might match the return type of a gcc2
6649 builtin and then its argument prototype would still apply. */
6654 /* The GNU C library defines this for functions which it implements
6655 to always fail with ENOSYS. Some functions are actually named
6656 something starting with __ and the normal name is an alias. */
6657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6665 if { (eval echo configure:6666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6667 eval "ac_cv_func_$ac_func=yes"
6669 echo "configure: failed program was:" >&5
6670 cat conftest.$ac_ext >&5
6672 eval "ac_cv_func_$ac_func=no"
6677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6678 echo "$ac_t""yes" 1>&6
6679 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6680 cat >> confdefs.h <<EOF
6681 #define $ac_tr_func 1
6685 echo "$ac_t""no" 1>&6
6686 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6692 if test -n "$LIBMATHOBJS"; then
6699 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6700 echo "configure:6701: checking for mbstate_t" >&5
6701 cat > conftest.$ac_ext <<EOF
6702 #line 6703 "configure"
6703 #include "confdefs.h"
6706 mbstate_t teststate;
6709 if { (eval echo configure:6710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6713 echo "configure: failed program was:" >&5
6714 cat conftest.$ac_ext >&5
6719 echo "$ac_t""$have_mbstate_t" 1>&6
6720 if test x"$have_mbstate_t" = xyes; then
6721 cat >> confdefs.h <<\EOF
6722 #define HAVE_MBSTATE_T 1
6727 for ac_hdr in wchar.h
6729 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6730 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6731 echo "configure:6732: checking for $ac_hdr" >&5
6732 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6733 echo $ac_n "(cached) $ac_c" 1>&6
6735 cat > conftest.$ac_ext <<EOF
6736 #line 6737 "configure"
6737 #include "confdefs.h"
6740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6741 { (eval echo configure:6742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6743 if test -z "$ac_err"; then
6745 eval "ac_cv_header_$ac_safe=yes"
6748 echo "configure: failed program was:" >&5
6749 cat conftest.$ac_ext >&5
6751 eval "ac_cv_header_$ac_safe=no"
6755 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6756 echo "$ac_t""yes" 1>&6
6757 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6758 cat >> confdefs.h <<EOF
6759 #define $ac_tr_hdr 1
6763 echo "$ac_t""no" 1>&6
6768 for ac_hdr in wctype.h
6770 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6771 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6772 echo "configure:6773: checking for $ac_hdr" >&5
6773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6774 echo $ac_n "(cached) $ac_c" 1>&6
6776 cat > conftest.$ac_ext <<EOF
6777 #line 6778 "configure"
6778 #include "confdefs.h"
6781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6782 { (eval echo configure:6783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6784 if test -z "$ac_err"; then
6786 eval "ac_cv_header_$ac_safe=yes"
6789 echo "configure: failed program was:" >&5
6790 cat conftest.$ac_ext >&5
6792 eval "ac_cv_header_$ac_safe=no"
6796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6797 echo "$ac_t""yes" 1>&6
6798 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6799 cat >> confdefs.h <<EOF
6800 #define $ac_tr_hdr 1
6804 echo "$ac_t""no" 1>&6
6810 if test x"$ac_has_wchar_h" = xyes &&
6811 test x"$ac_has_wctype_h" = xyes &&
6812 test x"$enable_c_mbchar" != xno; then
6814 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6815 echo "configure:6816: checking for WCHAR_MIN and WCHAR_MAX" >&5
6816 cat > conftest.$ac_ext <<EOF
6817 #line 6818 "configure"
6818 #include "confdefs.h"
6821 int i = WCHAR_MIN; int j = WCHAR_MAX;
6824 if { (eval echo configure:6825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6826 has_wchar_minmax=yes
6828 echo "configure: failed program was:" >&5
6829 cat conftest.$ac_ext >&5
6834 echo "$ac_t""$has_wchar_minmax" 1>&6
6836 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6837 echo "configure:6838: checking for WEOF" >&5
6838 cat > conftest.$ac_ext <<EOF
6839 #line 6840 "configure"
6840 #include "confdefs.h"
6848 if { (eval echo configure:6849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6852 echo "configure: failed program was:" >&5
6853 cat conftest.$ac_ext >&5
6858 echo "$ac_t""$has_weof" 1>&6
6861 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6864 echo "configure:6865: checking for $ac_func" >&5
6865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6866 echo $ac_n "(cached) $ac_c" 1>&6
6868 cat > conftest.$ac_ext <<EOF
6869 #line 6870 "configure"
6870 #include "confdefs.h"
6871 /* System header to define __stub macros and hopefully few prototypes,
6872 which can conflict with char $ac_func(); below. */
6874 /* Override any gcc2 internal prototype to avoid an error. */
6875 /* We use char because int might match the return type of a gcc2
6876 builtin and then its argument prototype would still apply. */
6881 /* The GNU C library defines this for functions which it implements
6882 to always fail with ENOSYS. Some functions are actually named
6883 something starting with __ and the normal name is an alias. */
6884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6892 if { (eval echo configure:6893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6894 eval "ac_cv_func_$ac_func=yes"
6896 echo "configure: failed program was:" >&5
6897 cat conftest.$ac_ext >&5
6899 eval "ac_cv_func_$ac_func=no"
6904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6905 echo "$ac_t""yes" 1>&6
6906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6907 cat >> confdefs.h <<EOF
6908 #define $ac_tr_func 1
6912 echo "$ac_t""no" 1>&6
6919 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6920 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6921 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6922 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6923 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6924 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6927 echo "configure:6928: checking for $ac_func" >&5
6928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6929 echo $ac_n "(cached) $ac_c" 1>&6
6931 cat > conftest.$ac_ext <<EOF
6932 #line 6933 "configure"
6933 #include "confdefs.h"
6934 /* System header to define __stub macros and hopefully few prototypes,
6935 which can conflict with char $ac_func(); below. */
6937 /* Override any gcc2 internal prototype to avoid an error. */
6938 /* We use char because int might match the return type of a gcc2
6939 builtin and then its argument prototype would still apply. */
6944 /* The GNU C library defines this for functions which it implements
6945 to always fail with ENOSYS. Some functions are actually named
6946 something starting with __ and the normal name is an alias. */
6947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6955 if { (eval echo configure:6956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6957 eval "ac_cv_func_$ac_func=yes"
6959 echo "configure: failed program was:" >&5
6960 cat conftest.$ac_ext >&5
6962 eval "ac_cv_func_$ac_func=no"
6967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6968 echo "$ac_t""yes" 1>&6
6969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6970 cat >> confdefs.h <<EOF
6971 #define $ac_tr_func 1
6975 echo "$ac_t""no" 1>&6
6982 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6983 echo "configure:6984: checking for ISO C99 wchar_t support" >&5
6984 if test x"$has_weof" = xyes &&
6985 test x"$has_wchar_minmax" = xyes &&
6986 test x"$ac_wfuncs" = xyes; then
6987 ac_isoC99_wchar_t=yes
6989 ac_isoC99_wchar_t=no
6991 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6993 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6994 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6995 echo "configure:6996: checking for iconv.h" >&5
6996 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6997 echo $ac_n "(cached) $ac_c" 1>&6
6999 cat > conftest.$ac_ext <<EOF
7000 #line 7001 "configure"
7001 #include "confdefs.h"
7004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7005 { (eval echo configure:7006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7006 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7007 if test -z "$ac_err"; then
7009 eval "ac_cv_header_$ac_safe=yes"
7012 echo "configure: failed program was:" >&5
7013 cat conftest.$ac_ext >&5
7015 eval "ac_cv_header_$ac_safe=no"
7019 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7020 echo "$ac_t""yes" 1>&6
7023 echo "$ac_t""no" 1>&6
7027 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7028 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7029 echo "configure:7030: checking for langinfo.h" >&5
7030 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7031 echo $ac_n "(cached) $ac_c" 1>&6
7033 cat > conftest.$ac_ext <<EOF
7034 #line 7035 "configure"
7035 #include "confdefs.h"
7036 #include <langinfo.h>
7038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7039 { (eval echo configure:7040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7041 if test -z "$ac_err"; then
7043 eval "ac_cv_header_$ac_safe=yes"
7046 echo "configure: failed program was:" >&5
7047 cat conftest.$ac_ext >&5
7049 eval "ac_cv_header_$ac_safe=no"
7053 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7054 echo "$ac_t""yes" 1>&6
7055 ac_has_langinfo_h=yes
7057 echo "$ac_t""no" 1>&6
7058 ac_has_langinfo_h=no
7062 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7063 echo "configure:7064: checking for iconv in -liconv" >&5
7064 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7065 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7066 echo $ac_n "(cached) $ac_c" 1>&6
7068 ac_save_LIBS="$LIBS"
7069 LIBS="-liconv $LIBS"
7070 cat > conftest.$ac_ext <<EOF
7071 #line 7072 "configure"
7072 #include "confdefs.h"
7073 /* Override any gcc2 internal prototype to avoid an error. */
7074 /* We use char because int might match the return type of a gcc2
7075 builtin and then its argument prototype would still apply. */
7082 if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7084 eval "ac_cv_lib_$ac_lib_var=yes"
7086 echo "configure: failed program was:" >&5
7087 cat conftest.$ac_ext >&5
7089 eval "ac_cv_lib_$ac_lib_var=no"
7092 LIBS="$ac_save_LIBS"
7095 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7096 echo "$ac_t""yes" 1>&6
7099 echo "$ac_t""no" 1>&6
7102 ac_save_LIBS="$LIBS"
7103 LIBS="$LIBS $libiconv"
7105 for ac_func in iconv_open iconv_close iconv nl_langinfo
7107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7108 echo "configure:7109: checking for $ac_func" >&5
7109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7110 echo $ac_n "(cached) $ac_c" 1>&6
7112 cat > conftest.$ac_ext <<EOF
7113 #line 7114 "configure"
7114 #include "confdefs.h"
7115 /* System header to define __stub macros and hopefully few prototypes,
7116 which can conflict with char $ac_func(); below. */
7118 /* Override any gcc2 internal prototype to avoid an error. */
7119 /* We use char because int might match the return type of a gcc2
7120 builtin and then its argument prototype would still apply. */
7125 /* The GNU C library defines this for functions which it implements
7126 to always fail with ENOSYS. Some functions are actually named
7127 something starting with __ and the normal name is an alias. */
7128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7136 if { (eval echo configure:7137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7138 eval "ac_cv_func_$ac_func=yes"
7140 echo "configure: failed program was:" >&5
7141 cat conftest.$ac_ext >&5
7143 eval "ac_cv_func_$ac_func=no"
7148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7149 echo "$ac_t""yes" 1>&6
7150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7151 cat >> confdefs.h <<EOF
7152 #define $ac_tr_func 1
7157 echo "$ac_t""no" 1>&6
7163 LIBS="$ac_save_LIBS"
7165 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7166 echo "configure:7167: checking for XPG2 wchar_t support" >&5
7167 if test x"$ac_has_iconv_h" = xyes &&
7168 test x"$ac_has_langinfo_h" = xyes &&
7169 test x"$ac_XPG2funcs" = xyes; then
7174 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7176 if test x"$ac_isoC99_wchar_t" = xyes &&
7177 test x"$ac_XPG2_wchar_t" = xyes; then
7178 cat >> confdefs.h <<\EOF
7179 #define _GLIBCPP_USE_WCHAR_T 1
7185 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7186 echo "configure:7187: checking for enabled wchar_t specializations" >&5
7187 echo "$ac_t""$enable_wchar_t" 1>&6
7189 cat >> confdefs.h <<\EOF
7190 #define HAVE_COPYSIGN 1
7193 cat >> confdefs.h <<\EOF
7194 #define HAVE_COPYSIGNF 1
7197 cat >> confdefs.h <<\EOF
7198 #define HAVE_FINITE 1
7201 cat >> confdefs.h <<\EOF
7202 #define HAVE_FINITEF 1
7205 cat >> confdefs.h <<\EOF
7206 #define HAVE_FREXPF 1
7209 cat >> confdefs.h <<\EOF
7210 #define HAVE_HYPOTF 1
7213 cat >> confdefs.h <<\EOF
7214 #define HAVE_ISINF 1
7217 cat >> confdefs.h <<\EOF
7218 #define HAVE_ISINFF 1
7221 cat >> confdefs.h <<\EOF
7222 #define HAVE_ISNAN 1
7225 cat >> confdefs.h <<\EOF
7226 #define HAVE_ISNANF 1
7229 cat >> confdefs.h <<\EOF
7230 #define HAVE_SINCOS 1
7233 cat >> confdefs.h <<\EOF
7234 #define HAVE_SINCOSF 1
7237 if test x"long_double_math_on_this_cpu" = x"yes"; then
7238 cat >> confdefs.h <<\EOF
7239 #define HAVE_FINITEL 1
7242 cat >> confdefs.h <<\EOF
7243 #define HAVE_HYPOTL 1
7246 cat >> confdefs.h <<\EOF
7247 #define HAVE_ISINFL 1
7250 cat >> confdefs.h <<\EOF
7251 #define HAVE_ISNANL 1
7257 os_include_dir="os/mingw32"
7258 for ac_hdr in sys/types.h locale.h float.h
7260 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7261 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7262 echo "configure:7263: checking for $ac_hdr" >&5
7263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7264 echo $ac_n "(cached) $ac_c" 1>&6
7266 cat > conftest.$ac_ext <<EOF
7267 #line 7268 "configure"
7268 #include "confdefs.h"
7271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7272 { (eval echo configure:7273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7274 if test -z "$ac_err"; then
7276 eval "ac_cv_header_$ac_safe=yes"
7279 echo "configure: failed program was:" >&5
7280 cat conftest.$ac_ext >&5
7282 eval "ac_cv_header_$ac_safe=no"
7286 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7287 echo "$ac_t""yes" 1>&6
7288 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7289 cat >> confdefs.h <<EOF
7290 #define $ac_tr_hdr 1
7294 echo "$ac_t""no" 1>&6
7299 # If we're not using GNU ld, then there's no point in even trying these
7300 # tests. Check for that first. We should have already tested for gld
7301 # by now (in libtool), but require it now just to be safe...
7302 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7303 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7306 # The name set by libtool depends on the version of libtool. Shame on us
7307 # for depending on an impl detail, but c'est la vie. Older versions used
7308 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7309 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7310 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7311 # set (hence we're using an older libtool), then set it.
7312 if test x${with_gnu_ld+set} != xset; then
7313 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7314 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7317 with_gnu_ld=$ac_cv_prog_gnu_ld
7321 # Start by getting the version number. I think the libtool test already
7322 # does some of this, but throws away the result.
7324 ldver=`$LD --version 2>/dev/null | head -1 | \
7325 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7327 glibcpp_gnu_ld_version=`echo $ldver | \
7328 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7330 # Set --gc-sections.
7331 if test "$with_gnu_ld" = "notbroken"; then
7332 # GNU ld it is! Joy and bunny rabbits!
7334 # All these tests are for C++; save the language and the compiler flags.
7335 # Need to do this so that g++ won't try to link in libstdc++
7336 ac_test_CFLAGS="${CFLAGS+set}"
7337 ac_save_CFLAGS="$CFLAGS"
7338 CFLAGS='-x c++ -Wl,--gc-sections'
7340 # Check for -Wl,--gc-sections
7341 # XXX This test is broken at the moment, as symbols required for
7342 # linking are now in libsupc++ (not built yet.....). In addition,
7343 # this test has cored on solaris in the past. In addition,
7344 # --gc-sections doesn't really work at the moment (keeps on discarding
7345 # used sections, first .eh_frame and now some of the glibc sections for
7346 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7347 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7348 echo "configure:7349: checking for ld that supports -Wl,--gc-sections" >&5
7349 if test "$cross_compiling" = yes; then
7350 ac_sectionLDflags=yes
7352 cat > conftest.$ac_ext <<EOF
7353 #line 7354 "configure"
7354 #include "confdefs.h"
7364 if { (eval echo configure:7365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7366 ac_sectionLDflags=yes
7368 echo "configure: failed program was:" >&5
7369 cat conftest.$ac_ext >&5
7371 ac_sectionLDflags=no
7376 if test "$ac_test_CFLAGS" = set; then
7377 CFLAGS="$ac_save_CFLAGS"
7379 # this is the suspicious part
7382 if test "$ac_sectionLDflags" = "yes"; then
7383 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7385 echo "$ac_t""$ac_sectionLDflags" 1>&6
7388 # Set linker optimization flags.
7389 if test x"$with_gnu_ld" = x"yes"; then
7390 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7397 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7398 echo "configure:7399: checking for main in -lm" >&5
7399 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7400 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7401 echo $ac_n "(cached) $ac_c" 1>&6
7403 ac_save_LIBS="$LIBS"
7405 cat > conftest.$ac_ext <<EOF
7406 #line 7407 "configure"
7407 #include "confdefs.h"
7413 if { (eval echo configure:7414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7415 eval "ac_cv_lib_$ac_lib_var=yes"
7417 echo "configure: failed program was:" >&5
7418 cat conftest.$ac_ext >&5
7420 eval "ac_cv_lib_$ac_lib_var=no"
7423 LIBS="$ac_save_LIBS"
7426 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7427 echo "$ac_t""yes" 1>&6
7428 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7429 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7430 cat >> confdefs.h <<EOF
7431 #define $ac_tr_lib 1
7437 echo "$ac_t""no" 1>&6
7440 for ac_func in nan copysignf
7442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7443 echo "configure:7444: checking for $ac_func" >&5
7444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7445 echo $ac_n "(cached) $ac_c" 1>&6
7447 cat > conftest.$ac_ext <<EOF
7448 #line 7449 "configure"
7449 #include "confdefs.h"
7450 /* System header to define __stub macros and hopefully few prototypes,
7451 which can conflict with char $ac_func(); below. */
7453 /* Override any gcc2 internal prototype to avoid an error. */
7454 /* We use char because int might match the return type of a gcc2
7455 builtin and then its argument prototype would still apply. */
7460 /* The GNU C library defines this for functions which it implements
7461 to always fail with ENOSYS. Some functions are actually named
7462 something starting with __ and the normal name is an alias. */
7463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7471 if { (eval echo configure:7472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7473 eval "ac_cv_func_$ac_func=yes"
7475 echo "configure: failed program was:" >&5
7476 cat conftest.$ac_ext >&5
7478 eval "ac_cv_func_$ac_func=no"
7483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7484 echo "$ac_t""yes" 1>&6
7485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7486 cat >> confdefs.h <<EOF
7487 #define $ac_tr_func 1
7491 echo "$ac_t""no" 1>&6
7492 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7497 for ac_func in __signbit
7499 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7500 echo "configure:7501: checking for $ac_func" >&5
7501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7502 echo $ac_n "(cached) $ac_c" 1>&6
7504 cat > conftest.$ac_ext <<EOF
7505 #line 7506 "configure"
7506 #include "confdefs.h"
7507 /* System header to define __stub macros and hopefully few prototypes,
7508 which can conflict with char $ac_func(); below. */
7510 /* Override any gcc2 internal prototype to avoid an error. */
7511 /* We use char because int might match the return type of a gcc2
7512 builtin and then its argument prototype would still apply. */
7517 /* The GNU C library defines this for functions which it implements
7518 to always fail with ENOSYS. Some functions are actually named
7519 something starting with __ and the normal name is an alias. */
7520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7528 if { (eval echo configure:7529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7530 eval "ac_cv_func_$ac_func=yes"
7532 echo "configure: failed program was:" >&5
7533 cat conftest.$ac_ext >&5
7535 eval "ac_cv_func_$ac_func=no"
7540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7541 echo "$ac_t""yes" 1>&6
7542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7543 cat >> confdefs.h <<EOF
7544 #define $ac_tr_func 1
7548 echo "$ac_t""no" 1>&6
7549 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7553 for ac_func in __signbitf
7555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7556 echo "configure:7557: checking for $ac_func" >&5
7557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7558 echo $ac_n "(cached) $ac_c" 1>&6
7560 cat > conftest.$ac_ext <<EOF
7561 #line 7562 "configure"
7562 #include "confdefs.h"
7563 /* System header to define __stub macros and hopefully few prototypes,
7564 which can conflict with char $ac_func(); below. */
7566 /* Override any gcc2 internal prototype to avoid an error. */
7567 /* We use char because int might match the return type of a gcc2
7568 builtin and then its argument prototype would still apply. */
7573 /* The GNU C library defines this for functions which it implements
7574 to always fail with ENOSYS. Some functions are actually named
7575 something starting with __ and the normal name is an alias. */
7576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7584 if { (eval echo configure:7585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7586 eval "ac_cv_func_$ac_func=yes"
7588 echo "configure: failed program was:" >&5
7589 cat conftest.$ac_ext >&5
7591 eval "ac_cv_func_$ac_func=no"
7596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7597 echo "$ac_t""yes" 1>&6
7598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7599 cat >> confdefs.h <<EOF
7600 #define $ac_tr_func 1
7604 echo "$ac_t""no" 1>&6
7605 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7610 if test x$ac_cv_func_copysignl = x"yes"; then
7611 for ac_func in __signbitl
7613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7614 echo "configure:7615: checking for $ac_func" >&5
7615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7616 echo $ac_n "(cached) $ac_c" 1>&6
7618 cat > conftest.$ac_ext <<EOF
7619 #line 7620 "configure"
7620 #include "confdefs.h"
7621 /* System header to define __stub macros and hopefully few prototypes,
7622 which can conflict with char $ac_func(); below. */
7624 /* Override any gcc2 internal prototype to avoid an error. */
7625 /* We use char because int might match the return type of a gcc2
7626 builtin and then its argument prototype would still apply. */
7631 /* The GNU C library defines this for functions which it implements
7632 to always fail with ENOSYS. Some functions are actually named
7633 something starting with __ and the normal name is an alias. */
7634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7642 if { (eval echo configure:7643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7644 eval "ac_cv_func_$ac_func=yes"
7646 echo "configure: failed program was:" >&5
7647 cat conftest.$ac_ext >&5
7649 eval "ac_cv_func_$ac_func=no"
7654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7655 echo "$ac_t""yes" 1>&6
7656 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7657 cat >> confdefs.h <<EOF
7658 #define $ac_tr_func 1
7662 echo "$ac_t""no" 1>&6
7663 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7669 if test -n "$LIBMATHOBJS"; then
7676 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7677 echo "configure:7678: checking for mbstate_t" >&5
7678 cat > conftest.$ac_ext <<EOF
7679 #line 7680 "configure"
7680 #include "confdefs.h"
7683 mbstate_t teststate;
7686 if { (eval echo configure:7687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7690 echo "configure: failed program was:" >&5
7691 cat conftest.$ac_ext >&5
7696 echo "$ac_t""$have_mbstate_t" 1>&6
7697 if test x"$have_mbstate_t" = xyes; then
7698 cat >> confdefs.h <<\EOF
7699 #define HAVE_MBSTATE_T 1
7704 for ac_hdr in wchar.h
7706 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7707 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7708 echo "configure:7709: checking for $ac_hdr" >&5
7709 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7710 echo $ac_n "(cached) $ac_c" 1>&6
7712 cat > conftest.$ac_ext <<EOF
7713 #line 7714 "configure"
7714 #include "confdefs.h"
7717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7718 { (eval echo configure:7719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7720 if test -z "$ac_err"; then
7722 eval "ac_cv_header_$ac_safe=yes"
7725 echo "configure: failed program was:" >&5
7726 cat conftest.$ac_ext >&5
7728 eval "ac_cv_header_$ac_safe=no"
7732 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7733 echo "$ac_t""yes" 1>&6
7734 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7735 cat >> confdefs.h <<EOF
7736 #define $ac_tr_hdr 1
7740 echo "$ac_t""no" 1>&6
7745 for ac_hdr in wctype.h
7747 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7748 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7749 echo "configure:7750: checking for $ac_hdr" >&5
7750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7751 echo $ac_n "(cached) $ac_c" 1>&6
7753 cat > conftest.$ac_ext <<EOF
7754 #line 7755 "configure"
7755 #include "confdefs.h"
7758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7759 { (eval echo configure:7760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7761 if test -z "$ac_err"; then
7763 eval "ac_cv_header_$ac_safe=yes"
7766 echo "configure: failed program was:" >&5
7767 cat conftest.$ac_ext >&5
7769 eval "ac_cv_header_$ac_safe=no"
7773 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7774 echo "$ac_t""yes" 1>&6
7775 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7776 cat >> confdefs.h <<EOF
7777 #define $ac_tr_hdr 1
7781 echo "$ac_t""no" 1>&6
7787 if test x"$ac_has_wchar_h" = xyes &&
7788 test x"$ac_has_wctype_h" = xyes &&
7789 test x"$enable_c_mbchar" != xno; then
7791 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7792 echo "configure:7793: checking for WCHAR_MIN and WCHAR_MAX" >&5
7793 cat > conftest.$ac_ext <<EOF
7794 #line 7795 "configure"
7795 #include "confdefs.h"
7798 int i = WCHAR_MIN; int j = WCHAR_MAX;
7801 if { (eval echo configure:7802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7803 has_wchar_minmax=yes
7805 echo "configure: failed program was:" >&5
7806 cat conftest.$ac_ext >&5
7811 echo "$ac_t""$has_wchar_minmax" 1>&6
7813 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7814 echo "configure:7815: checking for WEOF" >&5
7815 cat > conftest.$ac_ext <<EOF
7816 #line 7817 "configure"
7817 #include "confdefs.h"
7825 if { (eval echo configure:7826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7829 echo "configure: failed program was:" >&5
7830 cat conftest.$ac_ext >&5
7835 echo "$ac_t""$has_weof" 1>&6
7838 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7841 echo "configure:7842: checking for $ac_func" >&5
7842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7843 echo $ac_n "(cached) $ac_c" 1>&6
7845 cat > conftest.$ac_ext <<EOF
7846 #line 7847 "configure"
7847 #include "confdefs.h"
7848 /* System header to define __stub macros and hopefully few prototypes,
7849 which can conflict with char $ac_func(); below. */
7851 /* Override any gcc2 internal prototype to avoid an error. */
7852 /* We use char because int might match the return type of a gcc2
7853 builtin and then its argument prototype would still apply. */
7858 /* The GNU C library defines this for functions which it implements
7859 to always fail with ENOSYS. Some functions are actually named
7860 something starting with __ and the normal name is an alias. */
7861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7869 if { (eval echo configure:7870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7871 eval "ac_cv_func_$ac_func=yes"
7873 echo "configure: failed program was:" >&5
7874 cat conftest.$ac_ext >&5
7876 eval "ac_cv_func_$ac_func=no"
7881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7882 echo "$ac_t""yes" 1>&6
7883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7884 cat >> confdefs.h <<EOF
7885 #define $ac_tr_func 1
7889 echo "$ac_t""no" 1>&6
7896 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7897 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7898 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7899 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7900 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7901 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7904 echo "configure:7905: checking for $ac_func" >&5
7905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7906 echo $ac_n "(cached) $ac_c" 1>&6
7908 cat > conftest.$ac_ext <<EOF
7909 #line 7910 "configure"
7910 #include "confdefs.h"
7911 /* System header to define __stub macros and hopefully few prototypes,
7912 which can conflict with char $ac_func(); below. */
7914 /* Override any gcc2 internal prototype to avoid an error. */
7915 /* We use char because int might match the return type of a gcc2
7916 builtin and then its argument prototype would still apply. */
7921 /* The GNU C library defines this for functions which it implements
7922 to always fail with ENOSYS. Some functions are actually named
7923 something starting with __ and the normal name is an alias. */
7924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7932 if { (eval echo configure:7933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7934 eval "ac_cv_func_$ac_func=yes"
7936 echo "configure: failed program was:" >&5
7937 cat conftest.$ac_ext >&5
7939 eval "ac_cv_func_$ac_func=no"
7944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7945 echo "$ac_t""yes" 1>&6
7946 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7947 cat >> confdefs.h <<EOF
7948 #define $ac_tr_func 1
7952 echo "$ac_t""no" 1>&6
7959 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7960 echo "configure:7961: checking for ISO C99 wchar_t support" >&5
7961 if test x"$has_weof" = xyes &&
7962 test x"$has_wchar_minmax" = xyes &&
7963 test x"$ac_wfuncs" = xyes; then
7964 ac_isoC99_wchar_t=yes
7966 ac_isoC99_wchar_t=no
7968 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7970 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7971 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7972 echo "configure:7973: checking for iconv.h" >&5
7973 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7974 echo $ac_n "(cached) $ac_c" 1>&6
7976 cat > conftest.$ac_ext <<EOF
7977 #line 7978 "configure"
7978 #include "confdefs.h"
7981 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7982 { (eval echo configure:7983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7983 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7984 if test -z "$ac_err"; then
7986 eval "ac_cv_header_$ac_safe=yes"
7989 echo "configure: failed program was:" >&5
7990 cat conftest.$ac_ext >&5
7992 eval "ac_cv_header_$ac_safe=no"
7996 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7997 echo "$ac_t""yes" 1>&6
8000 echo "$ac_t""no" 1>&6
8004 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8005 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8006 echo "configure:8007: checking for langinfo.h" >&5
8007 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8008 echo $ac_n "(cached) $ac_c" 1>&6
8010 cat > conftest.$ac_ext <<EOF
8011 #line 8012 "configure"
8012 #include "confdefs.h"
8013 #include <langinfo.h>
8015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8016 { (eval echo configure:8017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8017 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8018 if test -z "$ac_err"; then
8020 eval "ac_cv_header_$ac_safe=yes"
8023 echo "configure: failed program was:" >&5
8024 cat conftest.$ac_ext >&5
8026 eval "ac_cv_header_$ac_safe=no"
8030 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8031 echo "$ac_t""yes" 1>&6
8032 ac_has_langinfo_h=yes
8034 echo "$ac_t""no" 1>&6
8035 ac_has_langinfo_h=no
8039 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8040 echo "configure:8041: checking for iconv in -liconv" >&5
8041 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8042 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8043 echo $ac_n "(cached) $ac_c" 1>&6
8045 ac_save_LIBS="$LIBS"
8046 LIBS="-liconv $LIBS"
8047 cat > conftest.$ac_ext <<EOF
8048 #line 8049 "configure"
8049 #include "confdefs.h"
8050 /* Override any gcc2 internal prototype to avoid an error. */
8051 /* We use char because int might match the return type of a gcc2
8052 builtin and then its argument prototype would still apply. */
8059 if { (eval echo configure:8060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8061 eval "ac_cv_lib_$ac_lib_var=yes"
8063 echo "configure: failed program was:" >&5
8064 cat conftest.$ac_ext >&5
8066 eval "ac_cv_lib_$ac_lib_var=no"
8069 LIBS="$ac_save_LIBS"
8072 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8073 echo "$ac_t""yes" 1>&6
8076 echo "$ac_t""no" 1>&6
8079 ac_save_LIBS="$LIBS"
8080 LIBS="$LIBS $libiconv"
8082 for ac_func in iconv_open iconv_close iconv nl_langinfo
8084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8085 echo "configure:8086: checking for $ac_func" >&5
8086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8087 echo $ac_n "(cached) $ac_c" 1>&6
8089 cat > conftest.$ac_ext <<EOF
8090 #line 8091 "configure"
8091 #include "confdefs.h"
8092 /* System header to define __stub macros and hopefully few prototypes,
8093 which can conflict with char $ac_func(); below. */
8095 /* Override any gcc2 internal prototype to avoid an error. */
8096 /* We use char because int might match the return type of a gcc2
8097 builtin and then its argument prototype would still apply. */
8102 /* The GNU C library defines this for functions which it implements
8103 to always fail with ENOSYS. Some functions are actually named
8104 something starting with __ and the normal name is an alias. */
8105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8113 if { (eval echo configure:8114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8115 eval "ac_cv_func_$ac_func=yes"
8117 echo "configure: failed program was:" >&5
8118 cat conftest.$ac_ext >&5
8120 eval "ac_cv_func_$ac_func=no"
8125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8126 echo "$ac_t""yes" 1>&6
8127 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8128 cat >> confdefs.h <<EOF
8129 #define $ac_tr_func 1
8134 echo "$ac_t""no" 1>&6
8140 LIBS="$ac_save_LIBS"
8142 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8143 echo "configure:8144: checking for XPG2 wchar_t support" >&5
8144 if test x"$ac_has_iconv_h" = xyes &&
8145 test x"$ac_has_langinfo_h" = xyes &&
8146 test x"$ac_XPG2funcs" = xyes; then
8151 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8153 if test x"$ac_isoC99_wchar_t" = xyes &&
8154 test x"$ac_XPG2_wchar_t" = xyes; then
8155 cat >> confdefs.h <<\EOF
8156 #define _GLIBCPP_USE_WCHAR_T 1
8162 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8163 echo "configure:8164: checking for enabled wchar_t specializations" >&5
8164 echo "$ac_t""$enable_wchar_t" 1>&6
8168 os_include_dir="os/bsd/netbsd"
8169 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
8170 machine/endian.h machine/param.h sys/machine.h sys/types.h \
8171 fp.h locale.h float.h inttypes.h
8173 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8174 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8175 echo "configure:8176: checking for $ac_hdr" >&5
8176 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8177 echo $ac_n "(cached) $ac_c" 1>&6
8179 cat > conftest.$ac_ext <<EOF
8180 #line 8181 "configure"
8181 #include "confdefs.h"
8184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8185 { (eval echo configure:8186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8187 if test -z "$ac_err"; then
8189 eval "ac_cv_header_$ac_safe=yes"
8192 echo "configure: failed program was:" >&5
8193 cat conftest.$ac_ext >&5
8195 eval "ac_cv_header_$ac_safe=no"
8199 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8200 echo "$ac_t""yes" 1>&6
8201 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8202 cat >> confdefs.h <<EOF
8203 #define $ac_tr_hdr 1
8207 echo "$ac_t""no" 1>&6
8211 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8214 # If we're not using GNU ld, then there's no point in even trying these
8215 # tests. Check for that first. We should have already tested for gld
8216 # by now (in libtool), but require it now just to be safe...
8217 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8218 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8221 # The name set by libtool depends on the version of libtool. Shame on us
8222 # for depending on an impl detail, but c'est la vie. Older versions used
8223 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8224 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8225 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8226 # set (hence we're using an older libtool), then set it.
8227 if test x${with_gnu_ld+set} != xset; then
8228 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8229 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8232 with_gnu_ld=$ac_cv_prog_gnu_ld
8236 # Start by getting the version number. I think the libtool test already
8237 # does some of this, but throws away the result.
8239 ldver=`$LD --version 2>/dev/null | head -1 | \
8240 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8242 glibcpp_gnu_ld_version=`echo $ldver | \
8243 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8245 # Set --gc-sections.
8246 if test "$with_gnu_ld" = "notbroken"; then
8247 # GNU ld it is! Joy and bunny rabbits!
8249 # All these tests are for C++; save the language and the compiler flags.
8250 # Need to do this so that g++ won't try to link in libstdc++
8251 ac_test_CFLAGS="${CFLAGS+set}"
8252 ac_save_CFLAGS="$CFLAGS"
8253 CFLAGS='-x c++ -Wl,--gc-sections'
8255 # Check for -Wl,--gc-sections
8256 # XXX This test is broken at the moment, as symbols required for
8257 # linking are now in libsupc++ (not built yet.....). In addition,
8258 # this test has cored on solaris in the past. In addition,
8259 # --gc-sections doesn't really work at the moment (keeps on discarding
8260 # used sections, first .eh_frame and now some of the glibc sections for
8261 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8262 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8263 echo "configure:8264: checking for ld that supports -Wl,--gc-sections" >&5
8264 if test "$cross_compiling" = yes; then
8265 ac_sectionLDflags=yes
8267 cat > conftest.$ac_ext <<EOF
8268 #line 8269 "configure"
8269 #include "confdefs.h"
8279 if { (eval echo configure:8280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8281 ac_sectionLDflags=yes
8283 echo "configure: failed program was:" >&5
8284 cat conftest.$ac_ext >&5
8286 ac_sectionLDflags=no
8291 if test "$ac_test_CFLAGS" = set; then
8292 CFLAGS="$ac_save_CFLAGS"
8294 # this is the suspicious part
8297 if test "$ac_sectionLDflags" = "yes"; then
8298 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8300 echo "$ac_t""$ac_sectionLDflags" 1>&6
8303 # Set linker optimization flags.
8304 if test x"$with_gnu_ld" = x"yes"; then
8305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8312 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8313 echo "configure:8314: checking for main in -lm" >&5
8314 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8316 echo $ac_n "(cached) $ac_c" 1>&6
8318 ac_save_LIBS="$LIBS"
8320 cat > conftest.$ac_ext <<EOF
8321 #line 8322 "configure"
8322 #include "confdefs.h"
8328 if { (eval echo configure:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8330 eval "ac_cv_lib_$ac_lib_var=yes"
8332 echo "configure: failed program was:" >&5
8333 cat conftest.$ac_ext >&5
8335 eval "ac_cv_lib_$ac_lib_var=no"
8338 LIBS="$ac_save_LIBS"
8341 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8342 echo "$ac_t""yes" 1>&6
8343 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8344 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8345 cat >> confdefs.h <<EOF
8346 #define $ac_tr_lib 1
8352 echo "$ac_t""no" 1>&6
8355 for ac_func in nan copysignf
8357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8358 echo "configure:8359: checking for $ac_func" >&5
8359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8360 echo $ac_n "(cached) $ac_c" 1>&6
8362 cat > conftest.$ac_ext <<EOF
8363 #line 8364 "configure"
8364 #include "confdefs.h"
8365 /* System header to define __stub macros and hopefully few prototypes,
8366 which can conflict with char $ac_func(); below. */
8368 /* Override any gcc2 internal prototype to avoid an error. */
8369 /* We use char because int might match the return type of a gcc2
8370 builtin and then its argument prototype would still apply. */
8375 /* The GNU C library defines this for functions which it implements
8376 to always fail with ENOSYS. Some functions are actually named
8377 something starting with __ and the normal name is an alias. */
8378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8386 if { (eval echo configure:8387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8388 eval "ac_cv_func_$ac_func=yes"
8390 echo "configure: failed program was:" >&5
8391 cat conftest.$ac_ext >&5
8393 eval "ac_cv_func_$ac_func=no"
8398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8399 echo "$ac_t""yes" 1>&6
8400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8401 cat >> confdefs.h <<EOF
8402 #define $ac_tr_func 1
8406 echo "$ac_t""no" 1>&6
8407 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8412 for ac_func in __signbit
8414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8415 echo "configure:8416: checking for $ac_func" >&5
8416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8417 echo $ac_n "(cached) $ac_c" 1>&6
8419 cat > conftest.$ac_ext <<EOF
8420 #line 8421 "configure"
8421 #include "confdefs.h"
8422 /* System header to define __stub macros and hopefully few prototypes,
8423 which can conflict with char $ac_func(); below. */
8425 /* Override any gcc2 internal prototype to avoid an error. */
8426 /* We use char because int might match the return type of a gcc2
8427 builtin and then its argument prototype would still apply. */
8432 /* The GNU C library defines this for functions which it implements
8433 to always fail with ENOSYS. Some functions are actually named
8434 something starting with __ and the normal name is an alias. */
8435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8443 if { (eval echo configure:8444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8445 eval "ac_cv_func_$ac_func=yes"
8447 echo "configure: failed program was:" >&5
8448 cat conftest.$ac_ext >&5
8450 eval "ac_cv_func_$ac_func=no"
8455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8456 echo "$ac_t""yes" 1>&6
8457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8458 cat >> confdefs.h <<EOF
8459 #define $ac_tr_func 1
8463 echo "$ac_t""no" 1>&6
8464 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8468 for ac_func in __signbitf
8470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8471 echo "configure:8472: checking for $ac_func" >&5
8472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8473 echo $ac_n "(cached) $ac_c" 1>&6
8475 cat > conftest.$ac_ext <<EOF
8476 #line 8477 "configure"
8477 #include "confdefs.h"
8478 /* System header to define __stub macros and hopefully few prototypes,
8479 which can conflict with char $ac_func(); below. */
8481 /* Override any gcc2 internal prototype to avoid an error. */
8482 /* We use char because int might match the return type of a gcc2
8483 builtin and then its argument prototype would still apply. */
8488 /* The GNU C library defines this for functions which it implements
8489 to always fail with ENOSYS. Some functions are actually named
8490 something starting with __ and the normal name is an alias. */
8491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8499 if { (eval echo configure:8500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8501 eval "ac_cv_func_$ac_func=yes"
8503 echo "configure: failed program was:" >&5
8504 cat conftest.$ac_ext >&5
8506 eval "ac_cv_func_$ac_func=no"
8511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8512 echo "$ac_t""yes" 1>&6
8513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8514 cat >> confdefs.h <<EOF
8515 #define $ac_tr_func 1
8519 echo "$ac_t""no" 1>&6
8520 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8525 if test x$ac_cv_func_copysignl = x"yes"; then
8526 for ac_func in __signbitl
8528 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8529 echo "configure:8530: checking for $ac_func" >&5
8530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8531 echo $ac_n "(cached) $ac_c" 1>&6
8533 cat > conftest.$ac_ext <<EOF
8534 #line 8535 "configure"
8535 #include "confdefs.h"
8536 /* System header to define __stub macros and hopefully few prototypes,
8537 which can conflict with char $ac_func(); below. */
8539 /* Override any gcc2 internal prototype to avoid an error. */
8540 /* We use char because int might match the return type of a gcc2
8541 builtin and then its argument prototype would still apply. */
8546 /* The GNU C library defines this for functions which it implements
8547 to always fail with ENOSYS. Some functions are actually named
8548 something starting with __ and the normal name is an alias. */
8549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8557 if { (eval echo configure:8558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8559 eval "ac_cv_func_$ac_func=yes"
8561 echo "configure: failed program was:" >&5
8562 cat conftest.$ac_ext >&5
8564 eval "ac_cv_func_$ac_func=no"
8569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8570 echo "$ac_t""yes" 1>&6
8571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8572 cat >> confdefs.h <<EOF
8573 #define $ac_tr_func 1
8577 echo "$ac_t""no" 1>&6
8578 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8584 if test -n "$LIBMATHOBJS"; then
8591 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8592 echo "configure:8593: checking for mbstate_t" >&5
8593 cat > conftest.$ac_ext <<EOF
8594 #line 8595 "configure"
8595 #include "confdefs.h"
8598 mbstate_t teststate;
8601 if { (eval echo configure:8602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8605 echo "configure: failed program was:" >&5
8606 cat conftest.$ac_ext >&5
8611 echo "$ac_t""$have_mbstate_t" 1>&6
8612 if test x"$have_mbstate_t" = xyes; then
8613 cat >> confdefs.h <<\EOF
8614 #define HAVE_MBSTATE_T 1
8619 for ac_hdr in wchar.h
8621 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8622 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8623 echo "configure:8624: checking for $ac_hdr" >&5
8624 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8625 echo $ac_n "(cached) $ac_c" 1>&6
8627 cat > conftest.$ac_ext <<EOF
8628 #line 8629 "configure"
8629 #include "confdefs.h"
8632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8633 { (eval echo configure:8634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8635 if test -z "$ac_err"; then
8637 eval "ac_cv_header_$ac_safe=yes"
8640 echo "configure: failed program was:" >&5
8641 cat conftest.$ac_ext >&5
8643 eval "ac_cv_header_$ac_safe=no"
8647 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8648 echo "$ac_t""yes" 1>&6
8649 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8650 cat >> confdefs.h <<EOF
8651 #define $ac_tr_hdr 1
8655 echo "$ac_t""no" 1>&6
8660 for ac_hdr in wctype.h
8662 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8663 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8664 echo "configure:8665: checking for $ac_hdr" >&5
8665 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8666 echo $ac_n "(cached) $ac_c" 1>&6
8668 cat > conftest.$ac_ext <<EOF
8669 #line 8670 "configure"
8670 #include "confdefs.h"
8673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8674 { (eval echo configure:8675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8676 if test -z "$ac_err"; then
8678 eval "ac_cv_header_$ac_safe=yes"
8681 echo "configure: failed program was:" >&5
8682 cat conftest.$ac_ext >&5
8684 eval "ac_cv_header_$ac_safe=no"
8688 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8689 echo "$ac_t""yes" 1>&6
8690 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8691 cat >> confdefs.h <<EOF
8692 #define $ac_tr_hdr 1
8696 echo "$ac_t""no" 1>&6
8702 if test x"$ac_has_wchar_h" = xyes &&
8703 test x"$ac_has_wctype_h" = xyes &&
8704 test x"$enable_c_mbchar" != xno; then
8706 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8707 echo "configure:8708: checking for WCHAR_MIN and WCHAR_MAX" >&5
8708 cat > conftest.$ac_ext <<EOF
8709 #line 8710 "configure"
8710 #include "confdefs.h"
8713 int i = WCHAR_MIN; int j = WCHAR_MAX;
8716 if { (eval echo configure:8717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8718 has_wchar_minmax=yes
8720 echo "configure: failed program was:" >&5
8721 cat conftest.$ac_ext >&5
8726 echo "$ac_t""$has_wchar_minmax" 1>&6
8728 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8729 echo "configure:8730: checking for WEOF" >&5
8730 cat > conftest.$ac_ext <<EOF
8731 #line 8732 "configure"
8732 #include "confdefs.h"
8740 if { (eval echo configure:8741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8744 echo "configure: failed program was:" >&5
8745 cat conftest.$ac_ext >&5
8750 echo "$ac_t""$has_weof" 1>&6
8753 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8756 echo "configure:8757: checking for $ac_func" >&5
8757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8758 echo $ac_n "(cached) $ac_c" 1>&6
8760 cat > conftest.$ac_ext <<EOF
8761 #line 8762 "configure"
8762 #include "confdefs.h"
8763 /* System header to define __stub macros and hopefully few prototypes,
8764 which can conflict with char $ac_func(); below. */
8766 /* Override any gcc2 internal prototype to avoid an error. */
8767 /* We use char because int might match the return type of a gcc2
8768 builtin and then its argument prototype would still apply. */
8773 /* The GNU C library defines this for functions which it implements
8774 to always fail with ENOSYS. Some functions are actually named
8775 something starting with __ and the normal name is an alias. */
8776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8784 if { (eval echo configure:8785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8786 eval "ac_cv_func_$ac_func=yes"
8788 echo "configure: failed program was:" >&5
8789 cat conftest.$ac_ext >&5
8791 eval "ac_cv_func_$ac_func=no"
8796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8797 echo "$ac_t""yes" 1>&6
8798 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8799 cat >> confdefs.h <<EOF
8800 #define $ac_tr_func 1
8804 echo "$ac_t""no" 1>&6
8811 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8812 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8813 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8814 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8815 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8816 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8818 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8819 echo "configure:8820: checking for $ac_func" >&5
8820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8821 echo $ac_n "(cached) $ac_c" 1>&6
8823 cat > conftest.$ac_ext <<EOF
8824 #line 8825 "configure"
8825 #include "confdefs.h"
8826 /* System header to define __stub macros and hopefully few prototypes,
8827 which can conflict with char $ac_func(); below. */
8829 /* Override any gcc2 internal prototype to avoid an error. */
8830 /* We use char because int might match the return type of a gcc2
8831 builtin and then its argument prototype would still apply. */
8836 /* The GNU C library defines this for functions which it implements
8837 to always fail with ENOSYS. Some functions are actually named
8838 something starting with __ and the normal name is an alias. */
8839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8847 if { (eval echo configure:8848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8849 eval "ac_cv_func_$ac_func=yes"
8851 echo "configure: failed program was:" >&5
8852 cat conftest.$ac_ext >&5
8854 eval "ac_cv_func_$ac_func=no"
8859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8860 echo "$ac_t""yes" 1>&6
8861 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8862 cat >> confdefs.h <<EOF
8863 #define $ac_tr_func 1
8867 echo "$ac_t""no" 1>&6
8874 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8875 echo "configure:8876: checking for ISO C99 wchar_t support" >&5
8876 if test x"$has_weof" = xyes &&
8877 test x"$has_wchar_minmax" = xyes &&
8878 test x"$ac_wfuncs" = xyes; then
8879 ac_isoC99_wchar_t=yes
8881 ac_isoC99_wchar_t=no
8883 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8885 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8886 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8887 echo "configure:8888: checking for iconv.h" >&5
8888 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8889 echo $ac_n "(cached) $ac_c" 1>&6
8891 cat > conftest.$ac_ext <<EOF
8892 #line 8893 "configure"
8893 #include "confdefs.h"
8896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8897 { (eval echo configure:8898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8899 if test -z "$ac_err"; then
8901 eval "ac_cv_header_$ac_safe=yes"
8904 echo "configure: failed program was:" >&5
8905 cat conftest.$ac_ext >&5
8907 eval "ac_cv_header_$ac_safe=no"
8911 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8912 echo "$ac_t""yes" 1>&6
8915 echo "$ac_t""no" 1>&6
8919 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8920 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8921 echo "configure:8922: checking for langinfo.h" >&5
8922 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8923 echo $ac_n "(cached) $ac_c" 1>&6
8925 cat > conftest.$ac_ext <<EOF
8926 #line 8927 "configure"
8927 #include "confdefs.h"
8928 #include <langinfo.h>
8930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8931 { (eval echo configure:8932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8933 if test -z "$ac_err"; then
8935 eval "ac_cv_header_$ac_safe=yes"
8938 echo "configure: failed program was:" >&5
8939 cat conftest.$ac_ext >&5
8941 eval "ac_cv_header_$ac_safe=no"
8945 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8946 echo "$ac_t""yes" 1>&6
8947 ac_has_langinfo_h=yes
8949 echo "$ac_t""no" 1>&6
8950 ac_has_langinfo_h=no
8954 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8955 echo "configure:8956: checking for iconv in -liconv" >&5
8956 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8957 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8958 echo $ac_n "(cached) $ac_c" 1>&6
8960 ac_save_LIBS="$LIBS"
8961 LIBS="-liconv $LIBS"
8962 cat > conftest.$ac_ext <<EOF
8963 #line 8964 "configure"
8964 #include "confdefs.h"
8965 /* Override any gcc2 internal prototype to avoid an error. */
8966 /* We use char because int might match the return type of a gcc2
8967 builtin and then its argument prototype would still apply. */
8974 if { (eval echo configure:8975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8976 eval "ac_cv_lib_$ac_lib_var=yes"
8978 echo "configure: failed program was:" >&5
8979 cat conftest.$ac_ext >&5
8981 eval "ac_cv_lib_$ac_lib_var=no"
8984 LIBS="$ac_save_LIBS"
8987 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8988 echo "$ac_t""yes" 1>&6
8991 echo "$ac_t""no" 1>&6
8994 ac_save_LIBS="$LIBS"
8995 LIBS="$LIBS $libiconv"
8997 for ac_func in iconv_open iconv_close iconv nl_langinfo
8999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9000 echo "configure:9001: checking for $ac_func" >&5
9001 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9002 echo $ac_n "(cached) $ac_c" 1>&6
9004 cat > conftest.$ac_ext <<EOF
9005 #line 9006 "configure"
9006 #include "confdefs.h"
9007 /* System header to define __stub macros and hopefully few prototypes,
9008 which can conflict with char $ac_func(); below. */
9010 /* Override any gcc2 internal prototype to avoid an error. */
9011 /* We use char because int might match the return type of a gcc2
9012 builtin and then its argument prototype would still apply. */
9017 /* The GNU C library defines this for functions which it implements
9018 to always fail with ENOSYS. Some functions are actually named
9019 something starting with __ and the normal name is an alias. */
9020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9030 eval "ac_cv_func_$ac_func=yes"
9032 echo "configure: failed program was:" >&5
9033 cat conftest.$ac_ext >&5
9035 eval "ac_cv_func_$ac_func=no"
9040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9041 echo "$ac_t""yes" 1>&6
9042 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9043 cat >> confdefs.h <<EOF
9044 #define $ac_tr_func 1
9049 echo "$ac_t""no" 1>&6
9055 LIBS="$ac_save_LIBS"
9057 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9058 echo "configure:9059: checking for XPG2 wchar_t support" >&5
9059 if test x"$ac_has_iconv_h" = xyes &&
9060 test x"$ac_has_langinfo_h" = xyes &&
9061 test x"$ac_XPG2funcs" = xyes; then
9066 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9068 if test x"$ac_isoC99_wchar_t" = xyes &&
9069 test x"$ac_XPG2_wchar_t" = xyes; then
9070 cat >> confdefs.h <<\EOF
9071 #define _GLIBCPP_USE_WCHAR_T 1
9077 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9078 echo "configure:9079: checking for enabled wchar_t specializations" >&5
9079 echo "$ac_t""$enable_wchar_t" 1>&6
9081 cat >> confdefs.h <<\EOF
9082 #define HAVE_COPYSIGN 1
9085 cat >> confdefs.h <<\EOF
9086 #define HAVE_COPYSIGNF 1
9089 cat >> confdefs.h <<\EOF
9090 #define HAVE_FINITEF 1
9093 cat >> confdefs.h <<\EOF
9094 #define HAVE_FINITE 1
9097 cat >> confdefs.h <<\EOF
9098 #define HAVE_FREXPF 1
9101 cat >> confdefs.h <<\EOF
9102 #define HAVE_HYPOTF 1
9105 cat >> confdefs.h <<\EOF
9106 #define HAVE_ISINF 1
9109 cat >> confdefs.h <<\EOF
9110 #define HAVE_ISINFF 1
9113 cat >> confdefs.h <<\EOF
9114 #define HAVE_ISNAN 1
9117 cat >> confdefs.h <<\EOF
9118 #define HAVE_ISNANF 1
9121 if test x"long_double_math_on_this_cpu" = x"yes"; then
9122 cat >> confdefs.h <<\EOF
9123 #define HAVE_FINITEL 1
9126 cat >> confdefs.h <<\EOF
9127 #define HAVE_ISINFL 1
9130 cat >> confdefs.h <<\EOF
9131 #define HAVE_ISNANL 1
9136 *-qnx6.1* | *-qnx6.2*)
9137 os_include_dir="os/qnx/qnx6.1"
9138 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9141 # If we're not using GNU ld, then there's no point in even trying these
9142 # tests. Check for that first. We should have already tested for gld
9143 # by now (in libtool), but require it now just to be safe...
9144 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9145 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9148 # The name set by libtool depends on the version of libtool. Shame on us
9149 # for depending on an impl detail, but c'est la vie. Older versions used
9150 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9151 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9152 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9153 # set (hence we're using an older libtool), then set it.
9154 if test x${with_gnu_ld+set} != xset; then
9155 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9156 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9159 with_gnu_ld=$ac_cv_prog_gnu_ld
9163 # Start by getting the version number. I think the libtool test already
9164 # does some of this, but throws away the result.
9166 ldver=`$LD --version 2>/dev/null | head -1 | \
9167 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9169 glibcpp_gnu_ld_version=`echo $ldver | \
9170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9172 # Set --gc-sections.
9173 if test "$with_gnu_ld" = "notbroken"; then
9174 # GNU ld it is! Joy and bunny rabbits!
9176 # All these tests are for C++; save the language and the compiler flags.
9177 # Need to do this so that g++ won't try to link in libstdc++
9178 ac_test_CFLAGS="${CFLAGS+set}"
9179 ac_save_CFLAGS="$CFLAGS"
9180 CFLAGS='-x c++ -Wl,--gc-sections'
9182 # Check for -Wl,--gc-sections
9183 # XXX This test is broken at the moment, as symbols required for
9184 # linking are now in libsupc++ (not built yet.....). In addition,
9185 # this test has cored on solaris in the past. In addition,
9186 # --gc-sections doesn't really work at the moment (keeps on discarding
9187 # used sections, first .eh_frame and now some of the glibc sections for
9188 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9189 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9190 echo "configure:9191: checking for ld that supports -Wl,--gc-sections" >&5
9191 if test "$cross_compiling" = yes; then
9192 ac_sectionLDflags=yes
9194 cat > conftest.$ac_ext <<EOF
9195 #line 9196 "configure"
9196 #include "confdefs.h"
9206 if { (eval echo configure:9207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9208 ac_sectionLDflags=yes
9210 echo "configure: failed program was:" >&5
9211 cat conftest.$ac_ext >&5
9213 ac_sectionLDflags=no
9218 if test "$ac_test_CFLAGS" = set; then
9219 CFLAGS="$ac_save_CFLAGS"
9221 # this is the suspicious part
9224 if test "$ac_sectionLDflags" = "yes"; then
9225 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9227 echo "$ac_t""$ac_sectionLDflags" 1>&6
9230 # Set linker optimization flags.
9231 if test x"$with_gnu_ld" = x"yes"; then
9232 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9239 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9240 echo "configure:9241: checking for main in -lm" >&5
9241 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9242 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9243 echo $ac_n "(cached) $ac_c" 1>&6
9245 ac_save_LIBS="$LIBS"
9247 cat > conftest.$ac_ext <<EOF
9248 #line 9249 "configure"
9249 #include "confdefs.h"
9255 if { (eval echo configure:9256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9257 eval "ac_cv_lib_$ac_lib_var=yes"
9259 echo "configure: failed program was:" >&5
9260 cat conftest.$ac_ext >&5
9262 eval "ac_cv_lib_$ac_lib_var=no"
9265 LIBS="$ac_save_LIBS"
9268 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9269 echo "$ac_t""yes" 1>&6
9270 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9271 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9272 cat >> confdefs.h <<EOF
9273 #define $ac_tr_lib 1
9279 echo "$ac_t""no" 1>&6
9282 for ac_func in nan copysignf
9284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9285 echo "configure:9286: checking for $ac_func" >&5
9286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9287 echo $ac_n "(cached) $ac_c" 1>&6
9289 cat > conftest.$ac_ext <<EOF
9290 #line 9291 "configure"
9291 #include "confdefs.h"
9292 /* System header to define __stub macros and hopefully few prototypes,
9293 which can conflict with char $ac_func(); below. */
9295 /* Override any gcc2 internal prototype to avoid an error. */
9296 /* We use char because int might match the return type of a gcc2
9297 builtin and then its argument prototype would still apply. */
9302 /* The GNU C library defines this for functions which it implements
9303 to always fail with ENOSYS. Some functions are actually named
9304 something starting with __ and the normal name is an alias. */
9305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9313 if { (eval echo configure:9314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9315 eval "ac_cv_func_$ac_func=yes"
9317 echo "configure: failed program was:" >&5
9318 cat conftest.$ac_ext >&5
9320 eval "ac_cv_func_$ac_func=no"
9325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9326 echo "$ac_t""yes" 1>&6
9327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9328 cat >> confdefs.h <<EOF
9329 #define $ac_tr_func 1
9333 echo "$ac_t""no" 1>&6
9334 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9339 for ac_func in __signbit
9341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9342 echo "configure:9343: checking for $ac_func" >&5
9343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9344 echo $ac_n "(cached) $ac_c" 1>&6
9346 cat > conftest.$ac_ext <<EOF
9347 #line 9348 "configure"
9348 #include "confdefs.h"
9349 /* System header to define __stub macros and hopefully few prototypes,
9350 which can conflict with char $ac_func(); below. */
9352 /* Override any gcc2 internal prototype to avoid an error. */
9353 /* We use char because int might match the return type of a gcc2
9354 builtin and then its argument prototype would still apply. */
9359 /* The GNU C library defines this for functions which it implements
9360 to always fail with ENOSYS. Some functions are actually named
9361 something starting with __ and the normal name is an alias. */
9362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9370 if { (eval echo configure:9371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9372 eval "ac_cv_func_$ac_func=yes"
9374 echo "configure: failed program was:" >&5
9375 cat conftest.$ac_ext >&5
9377 eval "ac_cv_func_$ac_func=no"
9382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9383 echo "$ac_t""yes" 1>&6
9384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9385 cat >> confdefs.h <<EOF
9386 #define $ac_tr_func 1
9390 echo "$ac_t""no" 1>&6
9391 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9395 for ac_func in __signbitf
9397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9398 echo "configure:9399: checking for $ac_func" >&5
9399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9400 echo $ac_n "(cached) $ac_c" 1>&6
9402 cat > conftest.$ac_ext <<EOF
9403 #line 9404 "configure"
9404 #include "confdefs.h"
9405 /* System header to define __stub macros and hopefully few prototypes,
9406 which can conflict with char $ac_func(); below. */
9408 /* Override any gcc2 internal prototype to avoid an error. */
9409 /* We use char because int might match the return type of a gcc2
9410 builtin and then its argument prototype would still apply. */
9415 /* The GNU C library defines this for functions which it implements
9416 to always fail with ENOSYS. Some functions are actually named
9417 something starting with __ and the normal name is an alias. */
9418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9426 if { (eval echo configure:9427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9428 eval "ac_cv_func_$ac_func=yes"
9430 echo "configure: failed program was:" >&5
9431 cat conftest.$ac_ext >&5
9433 eval "ac_cv_func_$ac_func=no"
9438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9439 echo "$ac_t""yes" 1>&6
9440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9441 cat >> confdefs.h <<EOF
9442 #define $ac_tr_func 1
9446 echo "$ac_t""no" 1>&6
9447 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9452 if test x$ac_cv_func_copysignl = x"yes"; then
9453 for ac_func in __signbitl
9455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9456 echo "configure:9457: checking for $ac_func" >&5
9457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9458 echo $ac_n "(cached) $ac_c" 1>&6
9460 cat > conftest.$ac_ext <<EOF
9461 #line 9462 "configure"
9462 #include "confdefs.h"
9463 /* System header to define __stub macros and hopefully few prototypes,
9464 which can conflict with char $ac_func(); below. */
9466 /* Override any gcc2 internal prototype to avoid an error. */
9467 /* We use char because int might match the return type of a gcc2
9468 builtin and then its argument prototype would still apply. */
9473 /* The GNU C library defines this for functions which it implements
9474 to always fail with ENOSYS. Some functions are actually named
9475 something starting with __ and the normal name is an alias. */
9476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9484 if { (eval echo configure:9485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9486 eval "ac_cv_func_$ac_func=yes"
9488 echo "configure: failed program was:" >&5
9489 cat conftest.$ac_ext >&5
9491 eval "ac_cv_func_$ac_func=no"
9496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9497 echo "$ac_t""yes" 1>&6
9498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9499 cat >> confdefs.h <<EOF
9500 #define $ac_tr_func 1
9504 echo "$ac_t""no" 1>&6
9505 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9511 if test -n "$LIBMATHOBJS"; then
9518 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9519 echo "configure:9520: checking for mbstate_t" >&5
9520 cat > conftest.$ac_ext <<EOF
9521 #line 9522 "configure"
9522 #include "confdefs.h"
9525 mbstate_t teststate;
9528 if { (eval echo configure:9529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9532 echo "configure: failed program was:" >&5
9533 cat conftest.$ac_ext >&5
9538 echo "$ac_t""$have_mbstate_t" 1>&6
9539 if test x"$have_mbstate_t" = xyes; then
9540 cat >> confdefs.h <<\EOF
9541 #define HAVE_MBSTATE_T 1
9546 for ac_hdr in wchar.h
9548 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9549 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9550 echo "configure:9551: checking for $ac_hdr" >&5
9551 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9552 echo $ac_n "(cached) $ac_c" 1>&6
9554 cat > conftest.$ac_ext <<EOF
9555 #line 9556 "configure"
9556 #include "confdefs.h"
9559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9560 { (eval echo configure:9561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9562 if test -z "$ac_err"; then
9564 eval "ac_cv_header_$ac_safe=yes"
9567 echo "configure: failed program was:" >&5
9568 cat conftest.$ac_ext >&5
9570 eval "ac_cv_header_$ac_safe=no"
9574 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9575 echo "$ac_t""yes" 1>&6
9576 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9577 cat >> confdefs.h <<EOF
9578 #define $ac_tr_hdr 1
9582 echo "$ac_t""no" 1>&6
9587 for ac_hdr in wctype.h
9589 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9590 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9591 echo "configure:9592: checking for $ac_hdr" >&5
9592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9593 echo $ac_n "(cached) $ac_c" 1>&6
9595 cat > conftest.$ac_ext <<EOF
9596 #line 9597 "configure"
9597 #include "confdefs.h"
9600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9601 { (eval echo configure:9602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9603 if test -z "$ac_err"; then
9605 eval "ac_cv_header_$ac_safe=yes"
9608 echo "configure: failed program was:" >&5
9609 cat conftest.$ac_ext >&5
9611 eval "ac_cv_header_$ac_safe=no"
9615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9616 echo "$ac_t""yes" 1>&6
9617 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9618 cat >> confdefs.h <<EOF
9619 #define $ac_tr_hdr 1
9623 echo "$ac_t""no" 1>&6
9629 if test x"$ac_has_wchar_h" = xyes &&
9630 test x"$ac_has_wctype_h" = xyes &&
9631 test x"$enable_c_mbchar" != xno; then
9633 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9634 echo "configure:9635: checking for WCHAR_MIN and WCHAR_MAX" >&5
9635 cat > conftest.$ac_ext <<EOF
9636 #line 9637 "configure"
9637 #include "confdefs.h"
9640 int i = WCHAR_MIN; int j = WCHAR_MAX;
9643 if { (eval echo configure:9644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9645 has_wchar_minmax=yes
9647 echo "configure: failed program was:" >&5
9648 cat conftest.$ac_ext >&5
9653 echo "$ac_t""$has_wchar_minmax" 1>&6
9655 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9656 echo "configure:9657: checking for WEOF" >&5
9657 cat > conftest.$ac_ext <<EOF
9658 #line 9659 "configure"
9659 #include "confdefs.h"
9667 if { (eval echo configure:9668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9671 echo "configure: failed program was:" >&5
9672 cat conftest.$ac_ext >&5
9677 echo "$ac_t""$has_weof" 1>&6
9680 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9683 echo "configure:9684: checking for $ac_func" >&5
9684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9685 echo $ac_n "(cached) $ac_c" 1>&6
9687 cat > conftest.$ac_ext <<EOF
9688 #line 9689 "configure"
9689 #include "confdefs.h"
9690 /* System header to define __stub macros and hopefully few prototypes,
9691 which can conflict with char $ac_func(); below. */
9693 /* Override any gcc2 internal prototype to avoid an error. */
9694 /* We use char because int might match the return type of a gcc2
9695 builtin and then its argument prototype would still apply. */
9700 /* The GNU C library defines this for functions which it implements
9701 to always fail with ENOSYS. Some functions are actually named
9702 something starting with __ and the normal name is an alias. */
9703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9711 if { (eval echo configure:9712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9713 eval "ac_cv_func_$ac_func=yes"
9715 echo "configure: failed program was:" >&5
9716 cat conftest.$ac_ext >&5
9718 eval "ac_cv_func_$ac_func=no"
9723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9724 echo "$ac_t""yes" 1>&6
9725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9726 cat >> confdefs.h <<EOF
9727 #define $ac_tr_func 1
9731 echo "$ac_t""no" 1>&6
9738 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9739 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9740 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9741 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9742 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9743 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9746 echo "configure:9747: checking for $ac_func" >&5
9747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9748 echo $ac_n "(cached) $ac_c" 1>&6
9750 cat > conftest.$ac_ext <<EOF
9751 #line 9752 "configure"
9752 #include "confdefs.h"
9753 /* System header to define __stub macros and hopefully few prototypes,
9754 which can conflict with char $ac_func(); below. */
9756 /* Override any gcc2 internal prototype to avoid an error. */
9757 /* We use char because int might match the return type of a gcc2
9758 builtin and then its argument prototype would still apply. */
9763 /* The GNU C library defines this for functions which it implements
9764 to always fail with ENOSYS. Some functions are actually named
9765 something starting with __ and the normal name is an alias. */
9766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9774 if { (eval echo configure:9775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9776 eval "ac_cv_func_$ac_func=yes"
9778 echo "configure: failed program was:" >&5
9779 cat conftest.$ac_ext >&5
9781 eval "ac_cv_func_$ac_func=no"
9786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9787 echo "$ac_t""yes" 1>&6
9788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9789 cat >> confdefs.h <<EOF
9790 #define $ac_tr_func 1
9794 echo "$ac_t""no" 1>&6
9801 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9802 echo "configure:9803: checking for ISO C99 wchar_t support" >&5
9803 if test x"$has_weof" = xyes &&
9804 test x"$has_wchar_minmax" = xyes &&
9805 test x"$ac_wfuncs" = xyes; then
9806 ac_isoC99_wchar_t=yes
9808 ac_isoC99_wchar_t=no
9810 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9812 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9813 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9814 echo "configure:9815: checking for iconv.h" >&5
9815 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9816 echo $ac_n "(cached) $ac_c" 1>&6
9818 cat > conftest.$ac_ext <<EOF
9819 #line 9820 "configure"
9820 #include "confdefs.h"
9823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9824 { (eval echo configure:9825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9826 if test -z "$ac_err"; then
9828 eval "ac_cv_header_$ac_safe=yes"
9831 echo "configure: failed program was:" >&5
9832 cat conftest.$ac_ext >&5
9834 eval "ac_cv_header_$ac_safe=no"
9838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9839 echo "$ac_t""yes" 1>&6
9842 echo "$ac_t""no" 1>&6
9846 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9847 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9848 echo "configure:9849: checking for langinfo.h" >&5
9849 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9850 echo $ac_n "(cached) $ac_c" 1>&6
9852 cat > conftest.$ac_ext <<EOF
9853 #line 9854 "configure"
9854 #include "confdefs.h"
9855 #include <langinfo.h>
9857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9858 { (eval echo configure:9859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9859 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9860 if test -z "$ac_err"; then
9862 eval "ac_cv_header_$ac_safe=yes"
9865 echo "configure: failed program was:" >&5
9866 cat conftest.$ac_ext >&5
9868 eval "ac_cv_header_$ac_safe=no"
9872 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9873 echo "$ac_t""yes" 1>&6
9874 ac_has_langinfo_h=yes
9876 echo "$ac_t""no" 1>&6
9877 ac_has_langinfo_h=no
9881 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9882 echo "configure:9883: checking for iconv in -liconv" >&5
9883 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9884 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9885 echo $ac_n "(cached) $ac_c" 1>&6
9887 ac_save_LIBS="$LIBS"
9888 LIBS="-liconv $LIBS"
9889 cat > conftest.$ac_ext <<EOF
9890 #line 9891 "configure"
9891 #include "confdefs.h"
9892 /* Override any gcc2 internal prototype to avoid an error. */
9893 /* We use char because int might match the return type of a gcc2
9894 builtin and then its argument prototype would still apply. */
9901 if { (eval echo configure:9902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9903 eval "ac_cv_lib_$ac_lib_var=yes"
9905 echo "configure: failed program was:" >&5
9906 cat conftest.$ac_ext >&5
9908 eval "ac_cv_lib_$ac_lib_var=no"
9911 LIBS="$ac_save_LIBS"
9914 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9915 echo "$ac_t""yes" 1>&6
9918 echo "$ac_t""no" 1>&6
9921 ac_save_LIBS="$LIBS"
9922 LIBS="$LIBS $libiconv"
9924 for ac_func in iconv_open iconv_close iconv nl_langinfo
9926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9927 echo "configure:9928: checking for $ac_func" >&5
9928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9929 echo $ac_n "(cached) $ac_c" 1>&6
9931 cat > conftest.$ac_ext <<EOF
9932 #line 9933 "configure"
9933 #include "confdefs.h"
9934 /* System header to define __stub macros and hopefully few prototypes,
9935 which can conflict with char $ac_func(); below. */
9937 /* Override any gcc2 internal prototype to avoid an error. */
9938 /* We use char because int might match the return type of a gcc2
9939 builtin and then its argument prototype would still apply. */
9944 /* The GNU C library defines this for functions which it implements
9945 to always fail with ENOSYS. Some functions are actually named
9946 something starting with __ and the normal name is an alias. */
9947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9955 if { (eval echo configure:9956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9957 eval "ac_cv_func_$ac_func=yes"
9959 echo "configure: failed program was:" >&5
9960 cat conftest.$ac_ext >&5
9962 eval "ac_cv_func_$ac_func=no"
9967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9968 echo "$ac_t""yes" 1>&6
9969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9970 cat >> confdefs.h <<EOF
9971 #define $ac_tr_func 1
9976 echo "$ac_t""no" 1>&6
9982 LIBS="$ac_save_LIBS"
9984 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9985 echo "configure:9986: checking for XPG2 wchar_t support" >&5
9986 if test x"$ac_has_iconv_h" = xyes &&
9987 test x"$ac_has_langinfo_h" = xyes &&
9988 test x"$ac_XPG2funcs" = xyes; then
9993 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9995 if test x"$ac_isoC99_wchar_t" = xyes &&
9996 test x"$ac_XPG2_wchar_t" = xyes; then
9997 cat >> confdefs.h <<\EOF
9998 #define _GLIBCPP_USE_WCHAR_T 1
10004 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
10005 echo "configure:10006: checking for enabled wchar_t specializations" >&5
10006 echo "$ac_t""$enable_wchar_t" 1>&6
10008 cat >> confdefs.h <<\EOF
10009 #define HAVE_COSF 1
10012 cat >> confdefs.h <<\EOF
10013 #define HAVE_COSL 1
10016 cat >> confdefs.h <<\EOF
10017 #define HAVE_COSHF 1
10020 cat >> confdefs.h <<\EOF
10021 #define HAVE_COSHL 1
10024 cat >> confdefs.h <<\EOF
10025 #define HAVE_LOGF 1
10028 cat >> confdefs.h <<\EOF
10029 #define HAVE_LOGL 1
10032 cat >> confdefs.h <<\EOF
10033 #define HAVE_LOG10F 1
10036 cat >> confdefs.h <<\EOF
10037 #define HAVE_LOG10L 1
10040 cat >> confdefs.h <<\EOF
10041 #define HAVE_SINF 1
10044 cat >> confdefs.h <<\EOF
10045 #define HAVE_SINL 1
10048 cat >> confdefs.h <<\EOF
10049 #define HAVE_SINHF 1
10052 cat >> confdefs.h <<\EOF
10053 #define HAVE_SINHL 1
10060 os_include_dir="os/solaris/solaris2.5"
10063 os_include_dir="os/solaris/solaris2.6"
10065 *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
10066 os_include_dir="os/solaris/solaris2.7"
10069 cat >> confdefs.h <<\EOF
10070 #define HAVE_STRTOF 1
10073 cat >> confdefs.h <<\EOF
10074 #define HAVE_STRTOLD 1
10077 cat >> confdefs.h <<\EOF
10078 #define HAVE_MMAP 1
10081 cat >> confdefs.h <<\EOF
10082 #define HAVE_COPYSIGN 1
10085 cat >> confdefs.h <<\EOF
10086 #define HAVE_ISNAN 1
10089 cat >> confdefs.h <<\EOF
10090 #define HAVE_ISNANF 1
10093 cat >> confdefs.h <<\EOF
10094 #define HAVE_MODFF 1
10097 cat >> confdefs.h <<\EOF
10098 #define HAVE_HYPOT 1
10103 os_include_dir="os/windiss"
10104 cat >> confdefs.h <<\EOF
10105 #define HAVE_ACOSF 1
10108 cat >> confdefs.h <<\EOF
10109 #define HAVE_ASINF 1
10112 cat >> confdefs.h <<\EOF
10113 #define HAVE_ATAN2F 1
10116 cat >> confdefs.h <<\EOF
10117 #define HAVE_ATANF 1
10120 cat >> confdefs.h <<\EOF
10121 #define HAVE_CEILF 1
10124 cat >> confdefs.h <<\EOF
10125 #define HAVE_COPYSIGN 1
10128 cat >> confdefs.h <<\EOF
10129 #define HAVE_COPYSIGNF 1
10132 cat >> confdefs.h <<\EOF
10133 #define HAVE_COSF 1
10136 cat >> confdefs.h <<\EOF
10137 #define HAVE_COSHF 1
10140 cat >> confdefs.h <<\EOF
10141 #define HAVE_EXPF 1
10144 cat >> confdefs.h <<\EOF
10145 #define HAVE_FABSF 1
10148 cat >> confdefs.h <<\EOF
10149 #define HAVE_FLOORF 1
10152 cat >> confdefs.h <<\EOF
10153 #define HAVE_FMODF 1
10156 cat >> confdefs.h <<\EOF
10157 #define HAVE_FREXPF 1
10160 cat >> confdefs.h <<\EOF
10161 #define HAVE_LDEXPF 1
10164 cat >> confdefs.h <<\EOF
10165 #define HAVE_LOG10F 1
10168 cat >> confdefs.h <<\EOF
10169 #define HAVE_LOGF 1
10172 cat >> confdefs.h <<\EOF
10173 #define HAVE_MODFF 1
10176 cat >> confdefs.h <<\EOF
10177 #define HAVE_POWF 1
10180 cat >> confdefs.h <<\EOF
10181 #define HAVE_SINF 1
10184 cat >> confdefs.h <<\EOF
10185 #define HAVE_SINHF 1
10188 cat >> confdefs.h <<\EOF
10189 #define HAVE_SQRTF 1
10192 cat >> confdefs.h <<\EOF
10193 #define HAVE_TANF 1
10196 cat >> confdefs.h <<\EOF
10197 #define HAVE_TANHF 1
10202 if test "x${with_newlib}" = "xyes"; then
10203 os_include_dir="os/newlib"
10204 cat >> confdefs.h <<\EOF
10205 #define HAVE_HYPOT 1
10209 # GLIBCPP_CHECK_STDLIB_SUPPORT
10210 cat >> confdefs.h <<\EOF
10211 #define HAVE_STRTOF 1
10214 cat >> confdefs.h <<\EOF
10215 #define HAVE_STRTOLD 1
10219 cat >> confdefs.h <<\EOF
10220 #define HAVE_MMAP 1
10224 cat >> confdefs.h <<\EOF
10225 #define HAVE_ACOSF 1
10228 cat >> confdefs.h <<\EOF
10229 #define HAVE_ASINF 1
10232 cat >> confdefs.h <<\EOF
10233 #define HAVE_ATAN2F 1
10236 cat >> confdefs.h <<\EOF
10237 #define HAVE_ATANF 1
10240 cat >> confdefs.h <<\EOF
10241 #define HAVE_CEILF 1
10244 cat >> confdefs.h <<\EOF
10245 #define HAVE_COPYSIGN 1
10248 cat >> confdefs.h <<\EOF
10249 #define HAVE_COPYSIGNF 1
10252 cat >> confdefs.h <<\EOF
10253 #define HAVE_COSF 1
10256 cat >> confdefs.h <<\EOF
10257 #define HAVE_COSHF 1
10260 cat >> confdefs.h <<\EOF
10261 #define HAVE_EXPF 1
10264 cat >> confdefs.h <<\EOF
10265 #define HAVE_FABSF 1
10268 cat >> confdefs.h <<\EOF
10269 #define HAVE_FLOORF 1
10272 cat >> confdefs.h <<\EOF
10273 #define HAVE_FMODF 1
10276 cat >> confdefs.h <<\EOF
10277 #define HAVE_FREXPF 1
10280 cat >> confdefs.h <<\EOF
10281 #define HAVE_LDEXPF 1
10284 cat >> confdefs.h <<\EOF
10285 #define HAVE_LOG10F 1
10288 cat >> confdefs.h <<\EOF
10289 #define HAVE_LOGF 1
10292 cat >> confdefs.h <<\EOF
10293 #define HAVE_MODFF 1
10296 cat >> confdefs.h <<\EOF
10297 #define HAVE_POWF 1
10300 cat >> confdefs.h <<\EOF
10301 #define HAVE_SINF 1
10304 cat >> confdefs.h <<\EOF
10305 #define HAVE_SINHF 1
10308 cat >> confdefs.h <<\EOF
10309 #define HAVE_SQRTF 1
10312 cat >> confdefs.h <<\EOF
10313 #define HAVE_TANF 1
10316 cat >> confdefs.h <<\EOF
10317 #define HAVE_TANHF 1
10321 { echo "configure: error: No support for this host/target combination." 1>&2; exit 1; }
10326 # At some point, we should differentiate between architectures
10327 # like x86, which have long double versions, and alpha/powerpc/etc.,
10328 # which don't. For the time being, punt.
10329 if test x"long_double_math_on_this_cpu" = x"yes"; then
10330 cat >> confdefs.h <<\EOF
10331 #define HAVE_ACOSL 1
10334 cat >> confdefs.h <<\EOF
10335 #define HAVE_ASINL 1
10338 cat >> confdefs.h <<\EOF
10339 #define HAVE_ATAN2L 1
10342 cat >> confdefs.h <<\EOF
10343 #define HAVE_ATANL 1
10346 cat >> confdefs.h <<\EOF
10347 #define HAVE_CEILL 1
10350 cat >> confdefs.h <<\EOF
10351 #define HAVE_COPYSIGNL 1
10354 cat >> confdefs.h <<\EOF
10355 #define HAVE_COSL 1
10358 cat >> confdefs.h <<\EOF
10359 #define HAVE_COSHL 1
10362 cat >> confdefs.h <<\EOF
10363 #define HAVE_EXPL 1
10366 cat >> confdefs.h <<\EOF
10367 #define HAVE_FABSL 1
10370 cat >> confdefs.h <<\EOF
10371 #define HAVE_FLOORL 1
10374 cat >> confdefs.h <<\EOF
10375 #define HAVE_FMODL 1
10378 cat >> confdefs.h <<\EOF
10379 #define HAVE_FREXPL 1
10382 cat >> confdefs.h <<\EOF
10383 #define HAVE_LDEXPL 1
10386 cat >> confdefs.h <<\EOF
10387 #define HAVE_LOG10L 1
10390 cat >> confdefs.h <<\EOF
10391 #define HAVE_LOGL 1
10394 cat >> confdefs.h <<\EOF
10395 #define HAVE_MODFL 1
10398 cat >> confdefs.h <<\EOF
10399 #define HAVE_POWL 1
10402 cat >> confdefs.h <<\EOF
10403 #define HAVE_SINCOSL 1
10406 cat >> confdefs.h <<\EOF
10407 #define HAVE_SINL 1
10410 cat >> confdefs.h <<\EOF
10411 #define HAVE_SINHL 1
10414 cat >> confdefs.h <<\EOF
10415 #define HAVE_SQRTL 1
10418 cat >> confdefs.h <<\EOF
10419 #define HAVE_TANL 1
10422 cat >> confdefs.h <<\EOF
10423 #define HAVE_TANHL 1
10430 # We are being configured natively. We can do more elaborate tests
10431 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10433 GLIBCPP_IS_CROSS_COMPILING=false
10436 # Check for available headers.
10437 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10438 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10441 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10442 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10443 echo "configure:10444: checking for $ac_hdr" >&5
10444 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10445 echo $ac_n "(cached) $ac_c" 1>&6
10447 cat > conftest.$ac_ext <<EOF
10448 #line 10449 "configure"
10449 #include "confdefs.h"
10452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10453 { (eval echo configure:10454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10455 if test -z "$ac_err"; then
10457 eval "ac_cv_header_$ac_safe=yes"
10460 echo "configure: failed program was:" >&5
10461 cat conftest.$ac_ext >&5
10463 eval "ac_cv_header_$ac_safe=no"
10467 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10468 echo "$ac_t""yes" 1>&6
10469 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10470 cat >> confdefs.h <<EOF
10471 #define $ac_tr_hdr 1
10475 echo "$ac_t""no" 1>&6
10481 # All these tests are for C++; save the language and the compiler flags.
10482 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10483 # found in GLIBCPP_CONFIGURE.
10486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10487 ac_cpp='$CXXCPP $CPPFLAGS'
10488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10490 cross_compiling=$ac_cv_prog_cxx_cross
10492 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10493 ac_save_CXXFLAGS="$CXXFLAGS"
10495 # Check for maintainer-mode bits.
10496 if test x"$USE_MAINTAINER_MODE" = xno; then
10502 # Check for -ffunction-sections -fdata-sections
10503 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10504 echo "configure:10505: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10505 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10506 cat > conftest.$ac_ext <<EOF
10507 #line 10508 "configure"
10508 #include "confdefs.h"
10515 if { (eval echo configure:10516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10519 echo "configure: failed program was:" >&5
10520 cat conftest.$ac_ext >&5
10525 if test "$ac_test_CXXFLAGS" = set; then
10526 CXXFLAGS="$ac_save_CXXFLAGS"
10528 # this is the suspicious part
10531 if test x"$ac_fdsections" = x"yes"; then
10532 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10534 echo "$ac_t""$ac_fdsections" 1>&6
10537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10538 ac_cpp='$CPP $CPPFLAGS'
10539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10541 cross_compiling=$ac_cv_prog_cc_cross
10547 # If we're not using GNU ld, then there's no point in even trying these
10548 # tests. Check for that first. We should have already tested for gld
10549 # by now (in libtool), but require it now just to be safe...
10550 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10551 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10554 # The name set by libtool depends on the version of libtool. Shame on us
10555 # for depending on an impl detail, but c'est la vie. Older versions used
10556 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10557 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10558 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10559 # set (hence we're using an older libtool), then set it.
10560 if test x${with_gnu_ld+set} != xset; then
10561 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10562 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10565 with_gnu_ld=$ac_cv_prog_gnu_ld
10569 # Start by getting the version number. I think the libtool test already
10570 # does some of this, but throws away the result.
10572 ldver=`$LD --version 2>/dev/null | head -1 | \
10573 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10575 glibcpp_gnu_ld_version=`echo $ldver | \
10576 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10578 # Set --gc-sections.
10579 if test "$with_gnu_ld" = "notbroken"; then
10580 # GNU ld it is! Joy and bunny rabbits!
10582 # All these tests are for C++; save the language and the compiler flags.
10583 # Need to do this so that g++ won't try to link in libstdc++
10584 ac_test_CFLAGS="${CFLAGS+set}"
10585 ac_save_CFLAGS="$CFLAGS"
10586 CFLAGS='-x c++ -Wl,--gc-sections'
10588 # Check for -Wl,--gc-sections
10589 # XXX This test is broken at the moment, as symbols required for
10590 # linking are now in libsupc++ (not built yet.....). In addition,
10591 # this test has cored on solaris in the past. In addition,
10592 # --gc-sections doesn't really work at the moment (keeps on discarding
10593 # used sections, first .eh_frame and now some of the glibc sections for
10594 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10595 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10596 echo "configure:10597: checking for ld that supports -Wl,--gc-sections" >&5
10597 if test "$cross_compiling" = yes; then
10598 ac_sectionLDflags=yes
10600 cat > conftest.$ac_ext <<EOF
10601 #line 10602 "configure"
10602 #include "confdefs.h"
10612 if { (eval echo configure:10613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10614 ac_sectionLDflags=yes
10616 echo "configure: failed program was:" >&5
10617 cat conftest.$ac_ext >&5
10619 ac_sectionLDflags=no
10624 if test "$ac_test_CFLAGS" = set; then
10625 CFLAGS="$ac_save_CFLAGS"
10627 # this is the suspicious part
10630 if test "$ac_sectionLDflags" = "yes"; then
10631 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10633 echo "$ac_t""$ac_sectionLDflags" 1>&6
10636 # Set linker optimization flags.
10637 if test x"$with_gnu_ld" = x"yes"; then
10638 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10645 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10646 ac_save_CXXFLAGS="$CXXFLAGS"
10647 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10649 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10650 echo "configure:10651: checking for sin in -lm" >&5
10651 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10652 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10653 echo $ac_n "(cached) $ac_c" 1>&6
10655 ac_save_LIBS="$LIBS"
10657 cat > conftest.$ac_ext <<EOF
10658 #line 10659 "configure"
10659 #include "confdefs.h"
10660 /* Override any gcc2 internal prototype to avoid an error. */
10661 /* We use char because int might match the return type of a gcc2
10662 builtin and then its argument prototype would still apply. */
10669 if { (eval echo configure:10670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10671 eval "ac_cv_lib_$ac_lib_var=yes"
10673 echo "configure: failed program was:" >&5
10674 cat conftest.$ac_ext >&5
10676 eval "ac_cv_lib_$ac_lib_var=no"
10679 LIBS="$ac_save_LIBS"
10682 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10683 echo "$ac_t""yes" 1>&6
10686 echo "$ac_t""no" 1>&6
10689 ac_save_LIBS="$LIBS"
10694 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10695 echo "configure:10696: checking for isinf declaration" >&5
10696 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10697 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10698 echo $ac_n "(cached) $ac_c" 1>&6
10703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10704 ac_cpp='$CXXCPP $CPPFLAGS'
10705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10707 cross_compiling=$ac_cv_prog_cxx_cross
10709 cat > conftest.$ac_ext <<EOF
10710 #line 10711 "configure"
10711 #include "confdefs.h"
10713 #ifdef HAVE_IEEEFP_H
10714 #include <ieeefp.h>
10721 if { (eval echo configure:10722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10723 glibcpp_cv_func_isinf_use=yes
10725 echo "configure: failed program was:" >&5
10726 cat conftest.$ac_ext >&5
10728 glibcpp_cv_func_isinf_use=no
10732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10733 ac_cpp='$CPP $CPPFLAGS'
10734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10736 cross_compiling=$ac_cv_prog_cc_cross
10742 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10744 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10745 for ac_func in isinf
10747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10748 echo "configure:10749: checking for $ac_func" >&5
10749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10750 echo $ac_n "(cached) $ac_c" 1>&6
10752 cat > conftest.$ac_ext <<EOF
10753 #line 10754 "configure"
10754 #include "confdefs.h"
10755 /* System header to define __stub macros and hopefully few prototypes,
10756 which can conflict with char $ac_func(); below. */
10757 #include <assert.h>
10758 /* Override any gcc2 internal prototype to avoid an error. */
10759 /* We use char because int might match the return type of a gcc2
10760 builtin and then its argument prototype would still apply. */
10765 /* The GNU C library defines this for functions which it implements
10766 to always fail with ENOSYS. Some functions are actually named
10767 something starting with __ and the normal name is an alias. */
10768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10776 if { (eval echo configure:10777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10778 eval "ac_cv_func_$ac_func=yes"
10780 echo "configure: failed program was:" >&5
10781 cat conftest.$ac_ext >&5
10783 eval "ac_cv_func_$ac_func=no"
10788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10789 echo "$ac_t""yes" 1>&6
10790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10791 cat >> confdefs.h <<EOF
10792 #define $ac_tr_func 1
10796 echo "$ac_t""no" 1>&6
10802 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10803 echo "configure:10804: checking for _isinf declaration" >&5
10804 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10805 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10806 echo $ac_n "(cached) $ac_c" 1>&6
10811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10812 ac_cpp='$CXXCPP $CPPFLAGS'
10813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10815 cross_compiling=$ac_cv_prog_cxx_cross
10817 cat > conftest.$ac_ext <<EOF
10818 #line 10819 "configure"
10819 #include "confdefs.h"
10821 #ifdef HAVE_IEEEFP_H
10822 #include <ieeefp.h>
10829 if { (eval echo configure:10830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10831 glibcpp_cv_func__isinf_use=yes
10833 echo "configure: failed program was:" >&5
10834 cat conftest.$ac_ext >&5
10836 glibcpp_cv_func__isinf_use=no
10840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10841 ac_cpp='$CPP $CPPFLAGS'
10842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10844 cross_compiling=$ac_cv_prog_cc_cross
10850 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10852 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10853 for ac_func in _isinf
10855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10856 echo "configure:10857: checking for $ac_func" >&5
10857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10858 echo $ac_n "(cached) $ac_c" 1>&6
10860 cat > conftest.$ac_ext <<EOF
10861 #line 10862 "configure"
10862 #include "confdefs.h"
10863 /* System header to define __stub macros and hopefully few prototypes,
10864 which can conflict with char $ac_func(); below. */
10865 #include <assert.h>
10866 /* Override any gcc2 internal prototype to avoid an error. */
10867 /* We use char because int might match the return type of a gcc2
10868 builtin and then its argument prototype would still apply. */
10873 /* The GNU C library defines this for functions which it implements
10874 to always fail with ENOSYS. Some functions are actually named
10875 something starting with __ and the normal name is an alias. */
10876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10884 if { (eval echo configure:10885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10886 eval "ac_cv_func_$ac_func=yes"
10888 echo "configure: failed program was:" >&5
10889 cat conftest.$ac_ext >&5
10891 eval "ac_cv_func_$ac_func=no"
10896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10897 echo "$ac_t""yes" 1>&6
10898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10899 cat >> confdefs.h <<EOF
10900 #define $ac_tr_func 1
10904 echo "$ac_t""no" 1>&6
10913 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10914 echo "configure:10915: checking for isnan declaration" >&5
10915 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10916 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10917 echo $ac_n "(cached) $ac_c" 1>&6
10922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10923 ac_cpp='$CXXCPP $CPPFLAGS'
10924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10926 cross_compiling=$ac_cv_prog_cxx_cross
10928 cat > conftest.$ac_ext <<EOF
10929 #line 10930 "configure"
10930 #include "confdefs.h"
10932 #ifdef HAVE_IEEEFP_H
10933 #include <ieeefp.h>
10940 if { (eval echo configure:10941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10942 glibcpp_cv_func_isnan_use=yes
10944 echo "configure: failed program was:" >&5
10945 cat conftest.$ac_ext >&5
10947 glibcpp_cv_func_isnan_use=no
10951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10952 ac_cpp='$CPP $CPPFLAGS'
10953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10955 cross_compiling=$ac_cv_prog_cc_cross
10961 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10963 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10964 for ac_func in isnan
10966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10967 echo "configure:10968: checking for $ac_func" >&5
10968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10969 echo $ac_n "(cached) $ac_c" 1>&6
10971 cat > conftest.$ac_ext <<EOF
10972 #line 10973 "configure"
10973 #include "confdefs.h"
10974 /* System header to define __stub macros and hopefully few prototypes,
10975 which can conflict with char $ac_func(); below. */
10976 #include <assert.h>
10977 /* Override any gcc2 internal prototype to avoid an error. */
10978 /* We use char because int might match the return type of a gcc2
10979 builtin and then its argument prototype would still apply. */
10984 /* The GNU C library defines this for functions which it implements
10985 to always fail with ENOSYS. Some functions are actually named
10986 something starting with __ and the normal name is an alias. */
10987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10995 if { (eval echo configure:10996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10997 eval "ac_cv_func_$ac_func=yes"
10999 echo "configure: failed program was:" >&5
11000 cat conftest.$ac_ext >&5
11002 eval "ac_cv_func_$ac_func=no"
11007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11008 echo "$ac_t""yes" 1>&6
11009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11010 cat >> confdefs.h <<EOF
11011 #define $ac_tr_func 1
11015 echo "$ac_t""no" 1>&6
11021 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11022 echo "configure:11023: checking for _isnan declaration" >&5
11023 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11024 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11025 echo $ac_n "(cached) $ac_c" 1>&6
11030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11031 ac_cpp='$CXXCPP $CPPFLAGS'
11032 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11033 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11034 cross_compiling=$ac_cv_prog_cxx_cross
11036 cat > conftest.$ac_ext <<EOF
11037 #line 11038 "configure"
11038 #include "confdefs.h"
11040 #ifdef HAVE_IEEEFP_H
11041 #include <ieeefp.h>
11048 if { (eval echo configure:11049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11050 glibcpp_cv_func__isnan_use=yes
11052 echo "configure: failed program was:" >&5
11053 cat conftest.$ac_ext >&5
11055 glibcpp_cv_func__isnan_use=no
11059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11060 ac_cpp='$CPP $CPPFLAGS'
11061 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11062 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11063 cross_compiling=$ac_cv_prog_cc_cross
11069 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11071 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11072 for ac_func in _isnan
11074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11075 echo "configure:11076: checking for $ac_func" >&5
11076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11077 echo $ac_n "(cached) $ac_c" 1>&6
11079 cat > conftest.$ac_ext <<EOF
11080 #line 11081 "configure"
11081 #include "confdefs.h"
11082 /* System header to define __stub macros and hopefully few prototypes,
11083 which can conflict with char $ac_func(); below. */
11084 #include <assert.h>
11085 /* Override any gcc2 internal prototype to avoid an error. */
11086 /* We use char because int might match the return type of a gcc2
11087 builtin and then its argument prototype would still apply. */
11092 /* The GNU C library defines this for functions which it implements
11093 to always fail with ENOSYS. Some functions are actually named
11094 something starting with __ and the normal name is an alias. */
11095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11103 if { (eval echo configure:11104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11105 eval "ac_cv_func_$ac_func=yes"
11107 echo "configure: failed program was:" >&5
11108 cat conftest.$ac_ext >&5
11110 eval "ac_cv_func_$ac_func=no"
11115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11116 echo "$ac_t""yes" 1>&6
11117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11118 cat >> confdefs.h <<EOF
11119 #define $ac_tr_func 1
11123 echo "$ac_t""no" 1>&6
11132 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11133 echo "configure:11134: checking for finite declaration" >&5
11134 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11135 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11136 echo $ac_n "(cached) $ac_c" 1>&6
11141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11142 ac_cpp='$CXXCPP $CPPFLAGS'
11143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11145 cross_compiling=$ac_cv_prog_cxx_cross
11147 cat > conftest.$ac_ext <<EOF
11148 #line 11149 "configure"
11149 #include "confdefs.h"
11151 #ifdef HAVE_IEEEFP_H
11152 #include <ieeefp.h>
11159 if { (eval echo configure:11160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11161 glibcpp_cv_func_finite_use=yes
11163 echo "configure: failed program was:" >&5
11164 cat conftest.$ac_ext >&5
11166 glibcpp_cv_func_finite_use=no
11170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11171 ac_cpp='$CPP $CPPFLAGS'
11172 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11173 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11174 cross_compiling=$ac_cv_prog_cc_cross
11180 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11182 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11183 for ac_func in finite
11185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11186 echo "configure:11187: checking for $ac_func" >&5
11187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11188 echo $ac_n "(cached) $ac_c" 1>&6
11190 cat > conftest.$ac_ext <<EOF
11191 #line 11192 "configure"
11192 #include "confdefs.h"
11193 /* System header to define __stub macros and hopefully few prototypes,
11194 which can conflict with char $ac_func(); below. */
11195 #include <assert.h>
11196 /* Override any gcc2 internal prototype to avoid an error. */
11197 /* We use char because int might match the return type of a gcc2
11198 builtin and then its argument prototype would still apply. */
11203 /* The GNU C library defines this for functions which it implements
11204 to always fail with ENOSYS. Some functions are actually named
11205 something starting with __ and the normal name is an alias. */
11206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11214 if { (eval echo configure:11215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11216 eval "ac_cv_func_$ac_func=yes"
11218 echo "configure: failed program was:" >&5
11219 cat conftest.$ac_ext >&5
11221 eval "ac_cv_func_$ac_func=no"
11226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11227 echo "$ac_t""yes" 1>&6
11228 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11229 cat >> confdefs.h <<EOF
11230 #define $ac_tr_func 1
11234 echo "$ac_t""no" 1>&6
11240 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11241 echo "configure:11242: checking for _finite declaration" >&5
11242 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11243 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11244 echo $ac_n "(cached) $ac_c" 1>&6
11249 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11250 ac_cpp='$CXXCPP $CPPFLAGS'
11251 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11252 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11253 cross_compiling=$ac_cv_prog_cxx_cross
11255 cat > conftest.$ac_ext <<EOF
11256 #line 11257 "configure"
11257 #include "confdefs.h"
11259 #ifdef HAVE_IEEEFP_H
11260 #include <ieeefp.h>
11267 if { (eval echo configure:11268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11269 glibcpp_cv_func__finite_use=yes
11271 echo "configure: failed program was:" >&5
11272 cat conftest.$ac_ext >&5
11274 glibcpp_cv_func__finite_use=no
11278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11279 ac_cpp='$CPP $CPPFLAGS'
11280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11282 cross_compiling=$ac_cv_prog_cc_cross
11288 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11290 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11291 for ac_func in _finite
11293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11294 echo "configure:11295: checking for $ac_func" >&5
11295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11296 echo $ac_n "(cached) $ac_c" 1>&6
11298 cat > conftest.$ac_ext <<EOF
11299 #line 11300 "configure"
11300 #include "confdefs.h"
11301 /* System header to define __stub macros and hopefully few prototypes,
11302 which can conflict with char $ac_func(); below. */
11303 #include <assert.h>
11304 /* Override any gcc2 internal prototype to avoid an error. */
11305 /* We use char because int might match the return type of a gcc2
11306 builtin and then its argument prototype would still apply. */
11311 /* The GNU C library defines this for functions which it implements
11312 to always fail with ENOSYS. Some functions are actually named
11313 something starting with __ and the normal name is an alias. */
11314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11322 if { (eval echo configure:11323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11324 eval "ac_cv_func_$ac_func=yes"
11326 echo "configure: failed program was:" >&5
11327 cat conftest.$ac_ext >&5
11329 eval "ac_cv_func_$ac_func=no"
11334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11335 echo "$ac_t""yes" 1>&6
11336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11337 cat >> confdefs.h <<EOF
11338 #define $ac_tr_func 1
11342 echo "$ac_t""no" 1>&6
11351 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11352 echo "configure:11353: checking for copysign declaration" >&5
11353 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11354 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11355 echo $ac_n "(cached) $ac_c" 1>&6
11360 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11361 ac_cpp='$CXXCPP $CPPFLAGS'
11362 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11363 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11364 cross_compiling=$ac_cv_prog_cxx_cross
11366 cat > conftest.$ac_ext <<EOF
11367 #line 11368 "configure"
11368 #include "confdefs.h"
11374 if { (eval echo configure:11375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11376 glibcpp_cv_func_copysign_use=yes
11378 echo "configure: failed program was:" >&5
11379 cat conftest.$ac_ext >&5
11381 glibcpp_cv_func_copysign_use=no
11385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11386 ac_cpp='$CPP $CPPFLAGS'
11387 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11388 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11389 cross_compiling=$ac_cv_prog_cc_cross
11395 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11397 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11398 for ac_func in copysign
11400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11401 echo "configure:11402: checking for $ac_func" >&5
11402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11403 echo $ac_n "(cached) $ac_c" 1>&6
11405 cat > conftest.$ac_ext <<EOF
11406 #line 11407 "configure"
11407 #include "confdefs.h"
11408 /* System header to define __stub macros and hopefully few prototypes,
11409 which can conflict with char $ac_func(); below. */
11410 #include <assert.h>
11411 /* Override any gcc2 internal prototype to avoid an error. */
11412 /* We use char because int might match the return type of a gcc2
11413 builtin and then its argument prototype would still apply. */
11418 /* The GNU C library defines this for functions which it implements
11419 to always fail with ENOSYS. Some functions are actually named
11420 something starting with __ and the normal name is an alias. */
11421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11429 if { (eval echo configure:11430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11431 eval "ac_cv_func_$ac_func=yes"
11433 echo "configure: failed program was:" >&5
11434 cat conftest.$ac_ext >&5
11436 eval "ac_cv_func_$ac_func=no"
11441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11442 echo "$ac_t""yes" 1>&6
11443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11444 cat >> confdefs.h <<EOF
11445 #define $ac_tr_func 1
11449 echo "$ac_t""no" 1>&6
11455 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11456 echo "configure:11457: checking for _copysign declaration" >&5
11457 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11458 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11459 echo $ac_n "(cached) $ac_c" 1>&6
11464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11465 ac_cpp='$CXXCPP $CPPFLAGS'
11466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11468 cross_compiling=$ac_cv_prog_cxx_cross
11470 cat > conftest.$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11478 if { (eval echo configure:11479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11480 glibcpp_cv_func__copysign_use=yes
11482 echo "configure: failed program was:" >&5
11483 cat conftest.$ac_ext >&5
11485 glibcpp_cv_func__copysign_use=no
11489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11490 ac_cpp='$CPP $CPPFLAGS'
11491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11493 cross_compiling=$ac_cv_prog_cc_cross
11499 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11501 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11502 for ac_func in _copysign
11504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11505 echo "configure:11506: checking for $ac_func" >&5
11506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11507 echo $ac_n "(cached) $ac_c" 1>&6
11509 cat > conftest.$ac_ext <<EOF
11510 #line 11511 "configure"
11511 #include "confdefs.h"
11512 /* System header to define __stub macros and hopefully few prototypes,
11513 which can conflict with char $ac_func(); below. */
11514 #include <assert.h>
11515 /* Override any gcc2 internal prototype to avoid an error. */
11516 /* We use char because int might match the return type of a gcc2
11517 builtin and then its argument prototype would still apply. */
11522 /* The GNU C library defines this for functions which it implements
11523 to always fail with ENOSYS. Some functions are actually named
11524 something starting with __ and the normal name is an alias. */
11525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11533 if { (eval echo configure:11534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11535 eval "ac_cv_func_$ac_func=yes"
11537 echo "configure: failed program was:" >&5
11538 cat conftest.$ac_ext >&5
11540 eval "ac_cv_func_$ac_func=no"
11545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11546 echo "$ac_t""yes" 1>&6
11547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11548 cat >> confdefs.h <<EOF
11549 #define $ac_tr_func 1
11553 echo "$ac_t""no" 1>&6
11562 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11563 echo "configure:11564: checking for sincos declaration" >&5
11564 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11565 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11566 echo $ac_n "(cached) $ac_c" 1>&6
11571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11572 ac_cpp='$CXXCPP $CPPFLAGS'
11573 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11574 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11575 cross_compiling=$ac_cv_prog_cxx_cross
11577 cat > conftest.$ac_ext <<EOF
11578 #line 11579 "configure"
11579 #include "confdefs.h"
11585 if { (eval echo configure:11586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11587 glibcpp_cv_func_sincos_use=yes
11589 echo "configure: failed program was:" >&5
11590 cat conftest.$ac_ext >&5
11592 glibcpp_cv_func_sincos_use=no
11596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11597 ac_cpp='$CPP $CPPFLAGS'
11598 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11599 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11600 cross_compiling=$ac_cv_prog_cc_cross
11606 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11608 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11609 for ac_func in sincos
11611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11612 echo "configure:11613: checking for $ac_func" >&5
11613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11614 echo $ac_n "(cached) $ac_c" 1>&6
11616 cat > conftest.$ac_ext <<EOF
11617 #line 11618 "configure"
11618 #include "confdefs.h"
11619 /* System header to define __stub macros and hopefully few prototypes,
11620 which can conflict with char $ac_func(); below. */
11621 #include <assert.h>
11622 /* Override any gcc2 internal prototype to avoid an error. */
11623 /* We use char because int might match the return type of a gcc2
11624 builtin and then its argument prototype would still apply. */
11629 /* The GNU C library defines this for functions which it implements
11630 to always fail with ENOSYS. Some functions are actually named
11631 something starting with __ and the normal name is an alias. */
11632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11640 if { (eval echo configure:11641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11642 eval "ac_cv_func_$ac_func=yes"
11644 echo "configure: failed program was:" >&5
11645 cat conftest.$ac_ext >&5
11647 eval "ac_cv_func_$ac_func=no"
11652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11653 echo "$ac_t""yes" 1>&6
11654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11655 cat >> confdefs.h <<EOF
11656 #define $ac_tr_func 1
11660 echo "$ac_t""no" 1>&6
11666 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11667 echo "configure:11668: checking for _sincos declaration" >&5
11668 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11669 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11670 echo $ac_n "(cached) $ac_c" 1>&6
11675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11676 ac_cpp='$CXXCPP $CPPFLAGS'
11677 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11678 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11679 cross_compiling=$ac_cv_prog_cxx_cross
11681 cat > conftest.$ac_ext <<EOF
11682 #line 11683 "configure"
11683 #include "confdefs.h"
11689 if { (eval echo configure:11690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11691 glibcpp_cv_func__sincos_use=yes
11693 echo "configure: failed program was:" >&5
11694 cat conftest.$ac_ext >&5
11696 glibcpp_cv_func__sincos_use=no
11700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11701 ac_cpp='$CPP $CPPFLAGS'
11702 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11703 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11704 cross_compiling=$ac_cv_prog_cc_cross
11710 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11712 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11713 for ac_func in _sincos
11715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11716 echo "configure:11717: checking for $ac_func" >&5
11717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11718 echo $ac_n "(cached) $ac_c" 1>&6
11720 cat > conftest.$ac_ext <<EOF
11721 #line 11722 "configure"
11722 #include "confdefs.h"
11723 /* System header to define __stub macros and hopefully few prototypes,
11724 which can conflict with char $ac_func(); below. */
11725 #include <assert.h>
11726 /* Override any gcc2 internal prototype to avoid an error. */
11727 /* We use char because int might match the return type of a gcc2
11728 builtin and then its argument prototype would still apply. */
11733 /* The GNU C library defines this for functions which it implements
11734 to always fail with ENOSYS. Some functions are actually named
11735 something starting with __ and the normal name is an alias. */
11736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11744 if { (eval echo configure:11745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11746 eval "ac_cv_func_$ac_func=yes"
11748 echo "configure: failed program was:" >&5
11749 cat conftest.$ac_ext >&5
11751 eval "ac_cv_func_$ac_func=no"
11756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11757 echo "$ac_t""yes" 1>&6
11758 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11759 cat >> confdefs.h <<EOF
11760 #define $ac_tr_func 1
11764 echo "$ac_t""no" 1>&6
11773 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11774 echo "configure:11775: checking for fpclass declaration" >&5
11775 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11776 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11777 echo $ac_n "(cached) $ac_c" 1>&6
11782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11783 ac_cpp='$CXXCPP $CPPFLAGS'
11784 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11785 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11786 cross_compiling=$ac_cv_prog_cxx_cross
11788 cat > conftest.$ac_ext <<EOF
11789 #line 11790 "configure"
11790 #include "confdefs.h"
11792 #ifdef HAVE_IEEEFP_H
11793 #include <ieeefp.h>
11800 if { (eval echo configure:11801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11802 glibcpp_cv_func_fpclass_use=yes
11804 echo "configure: failed program was:" >&5
11805 cat conftest.$ac_ext >&5
11807 glibcpp_cv_func_fpclass_use=no
11811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11812 ac_cpp='$CPP $CPPFLAGS'
11813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11815 cross_compiling=$ac_cv_prog_cc_cross
11821 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11823 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11824 for ac_func in fpclass
11826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11827 echo "configure:11828: checking for $ac_func" >&5
11828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11829 echo $ac_n "(cached) $ac_c" 1>&6
11831 cat > conftest.$ac_ext <<EOF
11832 #line 11833 "configure"
11833 #include "confdefs.h"
11834 /* System header to define __stub macros and hopefully few prototypes,
11835 which can conflict with char $ac_func(); below. */
11836 #include <assert.h>
11837 /* Override any gcc2 internal prototype to avoid an error. */
11838 /* We use char because int might match the return type of a gcc2
11839 builtin and then its argument prototype would still apply. */
11844 /* The GNU C library defines this for functions which it implements
11845 to always fail with ENOSYS. Some functions are actually named
11846 something starting with __ and the normal name is an alias. */
11847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11855 if { (eval echo configure:11856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11857 eval "ac_cv_func_$ac_func=yes"
11859 echo "configure: failed program was:" >&5
11860 cat conftest.$ac_ext >&5
11862 eval "ac_cv_func_$ac_func=no"
11867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11868 echo "$ac_t""yes" 1>&6
11869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11870 cat >> confdefs.h <<EOF
11871 #define $ac_tr_func 1
11875 echo "$ac_t""no" 1>&6
11881 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11882 echo "configure:11883: checking for _fpclass declaration" >&5
11883 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11884 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11885 echo $ac_n "(cached) $ac_c" 1>&6
11890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11891 ac_cpp='$CXXCPP $CPPFLAGS'
11892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11894 cross_compiling=$ac_cv_prog_cxx_cross
11896 cat > conftest.$ac_ext <<EOF
11897 #line 11898 "configure"
11898 #include "confdefs.h"
11900 #ifdef HAVE_IEEEFP_H
11901 #include <ieeefp.h>
11908 if { (eval echo configure:11909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11910 glibcpp_cv_func__fpclass_use=yes
11912 echo "configure: failed program was:" >&5
11913 cat conftest.$ac_ext >&5
11915 glibcpp_cv_func__fpclass_use=no
11919 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11920 ac_cpp='$CPP $CPPFLAGS'
11921 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11922 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11923 cross_compiling=$ac_cv_prog_cc_cross
11929 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11931 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11932 for ac_func in _fpclass
11934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11935 echo "configure:11936: checking for $ac_func" >&5
11936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11937 echo $ac_n "(cached) $ac_c" 1>&6
11939 cat > conftest.$ac_ext <<EOF
11940 #line 11941 "configure"
11941 #include "confdefs.h"
11942 /* System header to define __stub macros and hopefully few prototypes,
11943 which can conflict with char $ac_func(); below. */
11944 #include <assert.h>
11945 /* Override any gcc2 internal prototype to avoid an error. */
11946 /* We use char because int might match the return type of a gcc2
11947 builtin and then its argument prototype would still apply. */
11952 /* The GNU C library defines this for functions which it implements
11953 to always fail with ENOSYS. Some functions are actually named
11954 something starting with __ and the normal name is an alias. */
11955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11963 if { (eval echo configure:11964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11965 eval "ac_cv_func_$ac_func=yes"
11967 echo "configure: failed program was:" >&5
11968 cat conftest.$ac_ext >&5
11970 eval "ac_cv_func_$ac_func=no"
11975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11976 echo "$ac_t""yes" 1>&6
11977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11978 cat >> confdefs.h <<EOF
11979 #define $ac_tr_func 1
11983 echo "$ac_t""no" 1>&6
11992 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
11993 echo "configure:11994: checking for qfpclass declaration" >&5
11994 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
11995 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
11996 echo $ac_n "(cached) $ac_c" 1>&6
12001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12002 ac_cpp='$CXXCPP $CPPFLAGS'
12003 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12004 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12005 cross_compiling=$ac_cv_prog_cxx_cross
12007 cat > conftest.$ac_ext <<EOF
12008 #line 12009 "configure"
12009 #include "confdefs.h"
12011 #ifdef HAVE_IEEEFP_H
12012 #include <ieeefp.h>
12019 if { (eval echo configure:12020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12021 glibcpp_cv_func_qfpclass_use=yes
12023 echo "configure: failed program was:" >&5
12024 cat conftest.$ac_ext >&5
12026 glibcpp_cv_func_qfpclass_use=no
12030 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12031 ac_cpp='$CPP $CPPFLAGS'
12032 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12033 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12034 cross_compiling=$ac_cv_prog_cc_cross
12040 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12042 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12043 for ac_func in qfpclass
12045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12046 echo "configure:12047: checking for $ac_func" >&5
12047 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12048 echo $ac_n "(cached) $ac_c" 1>&6
12050 cat > conftest.$ac_ext <<EOF
12051 #line 12052 "configure"
12052 #include "confdefs.h"
12053 /* System header to define __stub macros and hopefully few prototypes,
12054 which can conflict with char $ac_func(); below. */
12055 #include <assert.h>
12056 /* Override any gcc2 internal prototype to avoid an error. */
12057 /* We use char because int might match the return type of a gcc2
12058 builtin and then its argument prototype would still apply. */
12063 /* The GNU C library defines this for functions which it implements
12064 to always fail with ENOSYS. Some functions are actually named
12065 something starting with __ and the normal name is an alias. */
12066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12074 if { (eval echo configure:12075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12076 eval "ac_cv_func_$ac_func=yes"
12078 echo "configure: failed program was:" >&5
12079 cat conftest.$ac_ext >&5
12081 eval "ac_cv_func_$ac_func=no"
12086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12087 echo "$ac_t""yes" 1>&6
12088 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12089 cat >> confdefs.h <<EOF
12090 #define $ac_tr_func 1
12094 echo "$ac_t""no" 1>&6
12100 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12101 echo "configure:12102: checking for _qfpclass declaration" >&5
12102 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12103 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12104 echo $ac_n "(cached) $ac_c" 1>&6
12109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12110 ac_cpp='$CXXCPP $CPPFLAGS'
12111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12113 cross_compiling=$ac_cv_prog_cxx_cross
12115 cat > conftest.$ac_ext <<EOF
12116 #line 12117 "configure"
12117 #include "confdefs.h"
12119 #ifdef HAVE_IEEEFP_H
12120 #include <ieeefp.h>
12127 if { (eval echo configure:12128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12129 glibcpp_cv_func__qfpclass_use=yes
12131 echo "configure: failed program was:" >&5
12132 cat conftest.$ac_ext >&5
12134 glibcpp_cv_func__qfpclass_use=no
12138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12139 ac_cpp='$CPP $CPPFLAGS'
12140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12142 cross_compiling=$ac_cv_prog_cc_cross
12148 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12150 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12151 for ac_func in _qfpclass
12153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12154 echo "configure:12155: checking for $ac_func" >&5
12155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12156 echo $ac_n "(cached) $ac_c" 1>&6
12158 cat > conftest.$ac_ext <<EOF
12159 #line 12160 "configure"
12160 #include "confdefs.h"
12161 /* System header to define __stub macros and hopefully few prototypes,
12162 which can conflict with char $ac_func(); below. */
12163 #include <assert.h>
12164 /* Override any gcc2 internal prototype to avoid an error. */
12165 /* We use char because int might match the return type of a gcc2
12166 builtin and then its argument prototype would still apply. */
12171 /* The GNU C library defines this for functions which it implements
12172 to always fail with ENOSYS. Some functions are actually named
12173 something starting with __ and the normal name is an alias. */
12174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12182 if { (eval echo configure:12183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12184 eval "ac_cv_func_$ac_func=yes"
12186 echo "configure: failed program was:" >&5
12187 cat conftest.$ac_ext >&5
12189 eval "ac_cv_func_$ac_func=no"
12194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12195 echo "$ac_t""yes" 1>&6
12196 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12197 cat >> confdefs.h <<EOF
12198 #define $ac_tr_func 1
12202 echo "$ac_t""no" 1>&6
12211 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12212 echo "configure:12213: checking for hypot declaration" >&5
12213 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12214 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12215 echo $ac_n "(cached) $ac_c" 1>&6
12220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12221 ac_cpp='$CXXCPP $CPPFLAGS'
12222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12224 cross_compiling=$ac_cv_prog_cxx_cross
12226 cat > conftest.$ac_ext <<EOF
12227 #line 12228 "configure"
12228 #include "confdefs.h"
12234 if { (eval echo configure:12235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12236 glibcpp_cv_func_hypot_use=yes
12238 echo "configure: failed program was:" >&5
12239 cat conftest.$ac_ext >&5
12241 glibcpp_cv_func_hypot_use=no
12245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12246 ac_cpp='$CPP $CPPFLAGS'
12247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12249 cross_compiling=$ac_cv_prog_cc_cross
12255 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12257 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12258 for ac_func in hypot
12260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12261 echo "configure:12262: checking for $ac_func" >&5
12262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12263 echo $ac_n "(cached) $ac_c" 1>&6
12265 cat > conftest.$ac_ext <<EOF
12266 #line 12267 "configure"
12267 #include "confdefs.h"
12268 /* System header to define __stub macros and hopefully few prototypes,
12269 which can conflict with char $ac_func(); below. */
12270 #include <assert.h>
12271 /* Override any gcc2 internal prototype to avoid an error. */
12272 /* We use char because int might match the return type of a gcc2
12273 builtin and then its argument prototype would still apply. */
12278 /* The GNU C library defines this for functions which it implements
12279 to always fail with ENOSYS. Some functions are actually named
12280 something starting with __ and the normal name is an alias. */
12281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12289 if { (eval echo configure:12290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12291 eval "ac_cv_func_$ac_func=yes"
12293 echo "configure: failed program was:" >&5
12294 cat conftest.$ac_ext >&5
12296 eval "ac_cv_func_$ac_func=no"
12301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12302 echo "$ac_t""yes" 1>&6
12303 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12304 cat >> confdefs.h <<EOF
12305 #define $ac_tr_func 1
12309 echo "$ac_t""no" 1>&6
12315 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12316 echo "configure:12317: checking for _hypot declaration" >&5
12317 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12318 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12319 echo $ac_n "(cached) $ac_c" 1>&6
12324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12325 ac_cpp='$CXXCPP $CPPFLAGS'
12326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12328 cross_compiling=$ac_cv_prog_cxx_cross
12330 cat > conftest.$ac_ext <<EOF
12331 #line 12332 "configure"
12332 #include "confdefs.h"
12338 if { (eval echo configure:12339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12340 glibcpp_cv_func__hypot_use=yes
12342 echo "configure: failed program was:" >&5
12343 cat conftest.$ac_ext >&5
12345 glibcpp_cv_func__hypot_use=no
12349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12350 ac_cpp='$CPP $CPPFLAGS'
12351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12353 cross_compiling=$ac_cv_prog_cc_cross
12359 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12361 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12362 for ac_func in _hypot
12364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12365 echo "configure:12366: checking for $ac_func" >&5
12366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12369 cat > conftest.$ac_ext <<EOF
12370 #line 12371 "configure"
12371 #include "confdefs.h"
12372 /* System header to define __stub macros and hopefully few prototypes,
12373 which can conflict with char $ac_func(); below. */
12374 #include <assert.h>
12375 /* Override any gcc2 internal prototype to avoid an error. */
12376 /* We use char because int might match the return type of a gcc2
12377 builtin and then its argument prototype would still apply. */
12382 /* The GNU C library defines this for functions which it implements
12383 to always fail with ENOSYS. Some functions are actually named
12384 something starting with __ and the normal name is an alias. */
12385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12393 if { (eval echo configure:12394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12395 eval "ac_cv_func_$ac_func=yes"
12397 echo "configure: failed program was:" >&5
12398 cat conftest.$ac_ext >&5
12400 eval "ac_cv_func_$ac_func=no"
12405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12406 echo "$ac_t""yes" 1>&6
12407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12408 cat >> confdefs.h <<EOF
12409 #define $ac_tr_func 1
12413 echo "$ac_t""no" 1>&6
12422 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12423 echo "configure:12424: checking for float trig functions" >&5
12424 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12425 echo $ac_n "(cached) $ac_c" 1>&6
12430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12431 ac_cpp='$CXXCPP $CPPFLAGS'
12432 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12433 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12434 cross_compiling=$ac_cv_prog_cxx_cross
12436 cat > conftest.$ac_ext <<EOF
12437 #line 12438 "configure"
12438 #include "confdefs.h"
12441 `for x in acosf asinf atanf \
12443 coshf sinhf tanhf; do echo "$x (0);"; done`
12446 if { (eval echo configure:12447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12448 glibcpp_cv_func_float_trig_use=yes
12450 echo "configure: failed program was:" >&5
12451 cat conftest.$ac_ext >&5
12453 glibcpp_cv_func_float_trig_use=no
12457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12458 ac_cpp='$CPP $CPPFLAGS'
12459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12461 cross_compiling=$ac_cv_prog_cc_cross
12465 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12466 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12467 for ac_func in acosf asinf atanf \
12471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12472 echo "configure:12473: checking for $ac_func" >&5
12473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12474 echo $ac_n "(cached) $ac_c" 1>&6
12476 cat > conftest.$ac_ext <<EOF
12477 #line 12478 "configure"
12478 #include "confdefs.h"
12479 /* System header to define __stub macros and hopefully few prototypes,
12480 which can conflict with char $ac_func(); below. */
12481 #include <assert.h>
12482 /* Override any gcc2 internal prototype to avoid an error. */
12483 /* We use char because int might match the return type of a gcc2
12484 builtin and then its argument prototype would still apply. */
12489 /* The GNU C library defines this for functions which it implements
12490 to always fail with ENOSYS. Some functions are actually named
12491 something starting with __ and the normal name is an alias. */
12492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12500 if { (eval echo configure:12501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12502 eval "ac_cv_func_$ac_func=yes"
12504 echo "configure: failed program was:" >&5
12505 cat conftest.$ac_ext >&5
12507 eval "ac_cv_func_$ac_func=no"
12512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12513 echo "$ac_t""yes" 1>&6
12514 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12515 cat >> confdefs.h <<EOF
12516 #define $ac_tr_func 1
12520 echo "$ac_t""no" 1>&6
12527 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12528 echo "configure:12529: checking for float round functions" >&5
12529 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12530 echo $ac_n "(cached) $ac_c" 1>&6
12535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12536 ac_cpp='$CXXCPP $CPPFLAGS'
12537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12539 cross_compiling=$ac_cv_prog_cxx_cross
12541 cat > conftest.$ac_ext <<EOF
12542 #line 12543 "configure"
12543 #include "confdefs.h"
12546 `for x in ceilf floorf; do echo "$x (0);"; done`
12549 if { (eval echo configure:12550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12551 glibcpp_cv_func_float_round_use=yes
12553 echo "configure: failed program was:" >&5
12554 cat conftest.$ac_ext >&5
12556 glibcpp_cv_func_float_round_use=no
12560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12561 ac_cpp='$CPP $CPPFLAGS'
12562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12564 cross_compiling=$ac_cv_prog_cc_cross
12568 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12569 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12570 for ac_func in ceilf floorf
12572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12573 echo "configure:12574: checking for $ac_func" >&5
12574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12575 echo $ac_n "(cached) $ac_c" 1>&6
12577 cat > conftest.$ac_ext <<EOF
12578 #line 12579 "configure"
12579 #include "confdefs.h"
12580 /* System header to define __stub macros and hopefully few prototypes,
12581 which can conflict with char $ac_func(); below. */
12582 #include <assert.h>
12583 /* Override any gcc2 internal prototype to avoid an error. */
12584 /* We use char because int might match the return type of a gcc2
12585 builtin and then its argument prototype would still apply. */
12590 /* The GNU C library defines this for functions which it implements
12591 to always fail with ENOSYS. Some functions are actually named
12592 something starting with __ and the normal name is an alias. */
12593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12601 if { (eval echo configure:12602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12603 eval "ac_cv_func_$ac_func=yes"
12605 echo "configure: failed program was:" >&5
12606 cat conftest.$ac_ext >&5
12608 eval "ac_cv_func_$ac_func=no"
12613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12614 echo "$ac_t""yes" 1>&6
12615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12616 cat >> confdefs.h <<EOF
12617 #define $ac_tr_func 1
12621 echo "$ac_t""no" 1>&6
12629 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12630 echo "configure:12631: checking for expf declaration" >&5
12631 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12632 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12633 echo $ac_n "(cached) $ac_c" 1>&6
12638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12639 ac_cpp='$CXXCPP $CPPFLAGS'
12640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12642 cross_compiling=$ac_cv_prog_cxx_cross
12644 cat > conftest.$ac_ext <<EOF
12645 #line 12646 "configure"
12646 #include "confdefs.h"
12648 #ifdef HAVE_IEEEFP_H
12649 #include <ieeefp.h>
12656 if { (eval echo configure:12657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12658 glibcpp_cv_func_expf_use=yes
12660 echo "configure: failed program was:" >&5
12661 cat conftest.$ac_ext >&5
12663 glibcpp_cv_func_expf_use=no
12667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12668 ac_cpp='$CPP $CPPFLAGS'
12669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12671 cross_compiling=$ac_cv_prog_cc_cross
12677 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12679 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12680 for ac_func in expf
12682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12683 echo "configure:12684: checking for $ac_func" >&5
12684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12685 echo $ac_n "(cached) $ac_c" 1>&6
12687 cat > conftest.$ac_ext <<EOF
12688 #line 12689 "configure"
12689 #include "confdefs.h"
12690 /* System header to define __stub macros and hopefully few prototypes,
12691 which can conflict with char $ac_func(); below. */
12692 #include <assert.h>
12693 /* Override any gcc2 internal prototype to avoid an error. */
12694 /* We use char because int might match the return type of a gcc2
12695 builtin and then its argument prototype would still apply. */
12700 /* The GNU C library defines this for functions which it implements
12701 to always fail with ENOSYS. Some functions are actually named
12702 something starting with __ and the normal name is an alias. */
12703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12711 if { (eval echo configure:12712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12713 eval "ac_cv_func_$ac_func=yes"
12715 echo "configure: failed program was:" >&5
12716 cat conftest.$ac_ext >&5
12718 eval "ac_cv_func_$ac_func=no"
12723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12724 echo "$ac_t""yes" 1>&6
12725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12726 cat >> confdefs.h <<EOF
12727 #define $ac_tr_func 1
12731 echo "$ac_t""no" 1>&6
12737 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12738 echo "configure:12739: checking for _expf declaration" >&5
12739 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12740 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12741 echo $ac_n "(cached) $ac_c" 1>&6
12746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12747 ac_cpp='$CXXCPP $CPPFLAGS'
12748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12750 cross_compiling=$ac_cv_prog_cxx_cross
12752 cat > conftest.$ac_ext <<EOF
12753 #line 12754 "configure"
12754 #include "confdefs.h"
12756 #ifdef HAVE_IEEEFP_H
12757 #include <ieeefp.h>
12764 if { (eval echo configure:12765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12766 glibcpp_cv_func__expf_use=yes
12768 echo "configure: failed program was:" >&5
12769 cat conftest.$ac_ext >&5
12771 glibcpp_cv_func__expf_use=no
12775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12776 ac_cpp='$CPP $CPPFLAGS'
12777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12779 cross_compiling=$ac_cv_prog_cc_cross
12785 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12787 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12788 for ac_func in _expf
12790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12791 echo "configure:12792: checking for $ac_func" >&5
12792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12793 echo $ac_n "(cached) $ac_c" 1>&6
12795 cat > conftest.$ac_ext <<EOF
12796 #line 12797 "configure"
12797 #include "confdefs.h"
12798 /* System header to define __stub macros and hopefully few prototypes,
12799 which can conflict with char $ac_func(); below. */
12800 #include <assert.h>
12801 /* Override any gcc2 internal prototype to avoid an error. */
12802 /* We use char because int might match the return type of a gcc2
12803 builtin and then its argument prototype would still apply. */
12808 /* The GNU C library defines this for functions which it implements
12809 to always fail with ENOSYS. Some functions are actually named
12810 something starting with __ and the normal name is an alias. */
12811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12819 if { (eval echo configure:12820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12821 eval "ac_cv_func_$ac_func=yes"
12823 echo "configure: failed program was:" >&5
12824 cat conftest.$ac_ext >&5
12826 eval "ac_cv_func_$ac_func=no"
12831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12832 echo "$ac_t""yes" 1>&6
12833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12834 cat >> confdefs.h <<EOF
12835 #define $ac_tr_func 1
12839 echo "$ac_t""no" 1>&6
12848 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12849 echo "configure:12850: checking for isnanf declaration" >&5
12850 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12851 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12852 echo $ac_n "(cached) $ac_c" 1>&6
12857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12858 ac_cpp='$CXXCPP $CPPFLAGS'
12859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12861 cross_compiling=$ac_cv_prog_cxx_cross
12863 cat > conftest.$ac_ext <<EOF
12864 #line 12865 "configure"
12865 #include "confdefs.h"
12867 #ifdef HAVE_IEEEFP_H
12868 #include <ieeefp.h>
12875 if { (eval echo configure:12876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12877 glibcpp_cv_func_isnanf_use=yes
12879 echo "configure: failed program was:" >&5
12880 cat conftest.$ac_ext >&5
12882 glibcpp_cv_func_isnanf_use=no
12886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12887 ac_cpp='$CPP $CPPFLAGS'
12888 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12889 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12890 cross_compiling=$ac_cv_prog_cc_cross
12896 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12898 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12899 for ac_func in isnanf
12901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12902 echo "configure:12903: checking for $ac_func" >&5
12903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12904 echo $ac_n "(cached) $ac_c" 1>&6
12906 cat > conftest.$ac_ext <<EOF
12907 #line 12908 "configure"
12908 #include "confdefs.h"
12909 /* System header to define __stub macros and hopefully few prototypes,
12910 which can conflict with char $ac_func(); below. */
12911 #include <assert.h>
12912 /* Override any gcc2 internal prototype to avoid an error. */
12913 /* We use char because int might match the return type of a gcc2
12914 builtin and then its argument prototype would still apply. */
12919 /* The GNU C library defines this for functions which it implements
12920 to always fail with ENOSYS. Some functions are actually named
12921 something starting with __ and the normal name is an alias. */
12922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12930 if { (eval echo configure:12931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12932 eval "ac_cv_func_$ac_func=yes"
12934 echo "configure: failed program was:" >&5
12935 cat conftest.$ac_ext >&5
12937 eval "ac_cv_func_$ac_func=no"
12942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12943 echo "$ac_t""yes" 1>&6
12944 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12945 cat >> confdefs.h <<EOF
12946 #define $ac_tr_func 1
12950 echo "$ac_t""no" 1>&6
12956 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12957 echo "configure:12958: checking for _isnanf declaration" >&5
12958 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12959 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12960 echo $ac_n "(cached) $ac_c" 1>&6
12965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12966 ac_cpp='$CXXCPP $CPPFLAGS'
12967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12969 cross_compiling=$ac_cv_prog_cxx_cross
12971 cat > conftest.$ac_ext <<EOF
12972 #line 12973 "configure"
12973 #include "confdefs.h"
12975 #ifdef HAVE_IEEEFP_H
12976 #include <ieeefp.h>
12983 if { (eval echo configure:12984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12985 glibcpp_cv_func__isnanf_use=yes
12987 echo "configure: failed program was:" >&5
12988 cat conftest.$ac_ext >&5
12990 glibcpp_cv_func__isnanf_use=no
12994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12995 ac_cpp='$CPP $CPPFLAGS'
12996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12998 cross_compiling=$ac_cv_prog_cc_cross
13004 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13006 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13007 for ac_func in _isnanf
13009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13010 echo "configure:13011: checking for $ac_func" >&5
13011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13012 echo $ac_n "(cached) $ac_c" 1>&6
13014 cat > conftest.$ac_ext <<EOF
13015 #line 13016 "configure"
13016 #include "confdefs.h"
13017 /* System header to define __stub macros and hopefully few prototypes,
13018 which can conflict with char $ac_func(); below. */
13019 #include <assert.h>
13020 /* Override any gcc2 internal prototype to avoid an error. */
13021 /* We use char because int might match the return type of a gcc2
13022 builtin and then its argument prototype would still apply. */
13027 /* The GNU C library defines this for functions which it implements
13028 to always fail with ENOSYS. Some functions are actually named
13029 something starting with __ and the normal name is an alias. */
13030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13038 if { (eval echo configure:13039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13040 eval "ac_cv_func_$ac_func=yes"
13042 echo "configure: failed program was:" >&5
13043 cat conftest.$ac_ext >&5
13045 eval "ac_cv_func_$ac_func=no"
13050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13051 echo "$ac_t""yes" 1>&6
13052 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13053 cat >> confdefs.h <<EOF
13054 #define $ac_tr_func 1
13058 echo "$ac_t""no" 1>&6
13067 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13068 echo "configure:13069: checking for isinff declaration" >&5
13069 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13070 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13071 echo $ac_n "(cached) $ac_c" 1>&6
13076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13077 ac_cpp='$CXXCPP $CPPFLAGS'
13078 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13079 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13080 cross_compiling=$ac_cv_prog_cxx_cross
13082 cat > conftest.$ac_ext <<EOF
13083 #line 13084 "configure"
13084 #include "confdefs.h"
13086 #ifdef HAVE_IEEEFP_H
13087 #include <ieeefp.h>
13094 if { (eval echo configure:13095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13096 glibcpp_cv_func_isinff_use=yes
13098 echo "configure: failed program was:" >&5
13099 cat conftest.$ac_ext >&5
13101 glibcpp_cv_func_isinff_use=no
13105 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13106 ac_cpp='$CPP $CPPFLAGS'
13107 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13108 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13109 cross_compiling=$ac_cv_prog_cc_cross
13115 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13117 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13118 for ac_func in isinff
13120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13121 echo "configure:13122: checking for $ac_func" >&5
13122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13123 echo $ac_n "(cached) $ac_c" 1>&6
13125 cat > conftest.$ac_ext <<EOF
13126 #line 13127 "configure"
13127 #include "confdefs.h"
13128 /* System header to define __stub macros and hopefully few prototypes,
13129 which can conflict with char $ac_func(); below. */
13130 #include <assert.h>
13131 /* Override any gcc2 internal prototype to avoid an error. */
13132 /* We use char because int might match the return type of a gcc2
13133 builtin and then its argument prototype would still apply. */
13138 /* The GNU C library defines this for functions which it implements
13139 to always fail with ENOSYS. Some functions are actually named
13140 something starting with __ and the normal name is an alias. */
13141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13149 if { (eval echo configure:13150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13151 eval "ac_cv_func_$ac_func=yes"
13153 echo "configure: failed program was:" >&5
13154 cat conftest.$ac_ext >&5
13156 eval "ac_cv_func_$ac_func=no"
13161 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13162 echo "$ac_t""yes" 1>&6
13163 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13164 cat >> confdefs.h <<EOF
13165 #define $ac_tr_func 1
13169 echo "$ac_t""no" 1>&6
13175 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13176 echo "configure:13177: checking for _isinff declaration" >&5
13177 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13178 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13179 echo $ac_n "(cached) $ac_c" 1>&6
13184 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13185 ac_cpp='$CXXCPP $CPPFLAGS'
13186 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13187 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13188 cross_compiling=$ac_cv_prog_cxx_cross
13190 cat > conftest.$ac_ext <<EOF
13191 #line 13192 "configure"
13192 #include "confdefs.h"
13194 #ifdef HAVE_IEEEFP_H
13195 #include <ieeefp.h>
13202 if { (eval echo configure:13203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13204 glibcpp_cv_func__isinff_use=yes
13206 echo "configure: failed program was:" >&5
13207 cat conftest.$ac_ext >&5
13209 glibcpp_cv_func__isinff_use=no
13213 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13214 ac_cpp='$CPP $CPPFLAGS'
13215 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13216 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13217 cross_compiling=$ac_cv_prog_cc_cross
13223 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13225 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13226 for ac_func in _isinff
13228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13229 echo "configure:13230: checking for $ac_func" >&5
13230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13231 echo $ac_n "(cached) $ac_c" 1>&6
13233 cat > conftest.$ac_ext <<EOF
13234 #line 13235 "configure"
13235 #include "confdefs.h"
13236 /* System header to define __stub macros and hopefully few prototypes,
13237 which can conflict with char $ac_func(); below. */
13238 #include <assert.h>
13239 /* Override any gcc2 internal prototype to avoid an error. */
13240 /* We use char because int might match the return type of a gcc2
13241 builtin and then its argument prototype would still apply. */
13246 /* The GNU C library defines this for functions which it implements
13247 to always fail with ENOSYS. Some functions are actually named
13248 something starting with __ and the normal name is an alias. */
13249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13257 if { (eval echo configure:13258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13259 eval "ac_cv_func_$ac_func=yes"
13261 echo "configure: failed program was:" >&5
13262 cat conftest.$ac_ext >&5
13264 eval "ac_cv_func_$ac_func=no"
13269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13270 echo "$ac_t""yes" 1>&6
13271 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13272 cat >> confdefs.h <<EOF
13273 #define $ac_tr_func 1
13277 echo "$ac_t""no" 1>&6
13286 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13287 echo "configure:13288: checking for atan2f declaration" >&5
13288 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13289 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13290 echo $ac_n "(cached) $ac_c" 1>&6
13295 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13296 ac_cpp='$CXXCPP $CPPFLAGS'
13297 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13298 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13299 cross_compiling=$ac_cv_prog_cxx_cross
13301 cat > conftest.$ac_ext <<EOF
13302 #line 13303 "configure"
13303 #include "confdefs.h"
13309 if { (eval echo configure:13310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13311 glibcpp_cv_func_atan2f_use=yes
13313 echo "configure: failed program was:" >&5
13314 cat conftest.$ac_ext >&5
13316 glibcpp_cv_func_atan2f_use=no
13320 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13321 ac_cpp='$CPP $CPPFLAGS'
13322 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13323 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13324 cross_compiling=$ac_cv_prog_cc_cross
13330 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13332 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13333 for ac_func in atan2f
13335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13336 echo "configure:13337: checking for $ac_func" >&5
13337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13338 echo $ac_n "(cached) $ac_c" 1>&6
13340 cat > conftest.$ac_ext <<EOF
13341 #line 13342 "configure"
13342 #include "confdefs.h"
13343 /* System header to define __stub macros and hopefully few prototypes,
13344 which can conflict with char $ac_func(); below. */
13345 #include <assert.h>
13346 /* Override any gcc2 internal prototype to avoid an error. */
13347 /* We use char because int might match the return type of a gcc2
13348 builtin and then its argument prototype would still apply. */
13353 /* The GNU C library defines this for functions which it implements
13354 to always fail with ENOSYS. Some functions are actually named
13355 something starting with __ and the normal name is an alias. */
13356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13364 if { (eval echo configure:13365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13366 eval "ac_cv_func_$ac_func=yes"
13368 echo "configure: failed program was:" >&5
13369 cat conftest.$ac_ext >&5
13371 eval "ac_cv_func_$ac_func=no"
13376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13377 echo "$ac_t""yes" 1>&6
13378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13379 cat >> confdefs.h <<EOF
13380 #define $ac_tr_func 1
13384 echo "$ac_t""no" 1>&6
13390 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13391 echo "configure:13392: checking for _atan2f declaration" >&5
13392 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13393 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13394 echo $ac_n "(cached) $ac_c" 1>&6
13399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13400 ac_cpp='$CXXCPP $CPPFLAGS'
13401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13403 cross_compiling=$ac_cv_prog_cxx_cross
13405 cat > conftest.$ac_ext <<EOF
13406 #line 13407 "configure"
13407 #include "confdefs.h"
13413 if { (eval echo configure:13414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13415 glibcpp_cv_func__atan2f_use=yes
13417 echo "configure: failed program was:" >&5
13418 cat conftest.$ac_ext >&5
13420 glibcpp_cv_func__atan2f_use=no
13424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13425 ac_cpp='$CPP $CPPFLAGS'
13426 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13427 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13428 cross_compiling=$ac_cv_prog_cc_cross
13434 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13436 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13437 for ac_func in _atan2f
13439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13440 echo "configure:13441: checking for $ac_func" >&5
13441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13442 echo $ac_n "(cached) $ac_c" 1>&6
13444 cat > conftest.$ac_ext <<EOF
13445 #line 13446 "configure"
13446 #include "confdefs.h"
13447 /* System header to define __stub macros and hopefully few prototypes,
13448 which can conflict with char $ac_func(); below. */
13449 #include <assert.h>
13450 /* Override any gcc2 internal prototype to avoid an error. */
13451 /* We use char because int might match the return type of a gcc2
13452 builtin and then its argument prototype would still apply. */
13457 /* The GNU C library defines this for functions which it implements
13458 to always fail with ENOSYS. Some functions are actually named
13459 something starting with __ and the normal name is an alias. */
13460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13468 if { (eval echo configure:13469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13470 eval "ac_cv_func_$ac_func=yes"
13472 echo "configure: failed program was:" >&5
13473 cat conftest.$ac_ext >&5
13475 eval "ac_cv_func_$ac_func=no"
13480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13481 echo "$ac_t""yes" 1>&6
13482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13483 cat >> confdefs.h <<EOF
13484 #define $ac_tr_func 1
13488 echo "$ac_t""no" 1>&6
13497 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13498 echo "configure:13499: checking for fabsf declaration" >&5
13499 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13500 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13501 echo $ac_n "(cached) $ac_c" 1>&6
13506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13507 ac_cpp='$CXXCPP $CPPFLAGS'
13508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13510 cross_compiling=$ac_cv_prog_cxx_cross
13512 cat > conftest.$ac_ext <<EOF
13513 #line 13514 "configure"
13514 #include "confdefs.h"
13516 #ifdef HAVE_IEEEFP_H
13517 #include <ieeefp.h>
13524 if { (eval echo configure:13525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13526 glibcpp_cv_func_fabsf_use=yes
13528 echo "configure: failed program was:" >&5
13529 cat conftest.$ac_ext >&5
13531 glibcpp_cv_func_fabsf_use=no
13535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13536 ac_cpp='$CPP $CPPFLAGS'
13537 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13538 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13539 cross_compiling=$ac_cv_prog_cc_cross
13545 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13547 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13548 for ac_func in fabsf
13550 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13551 echo "configure:13552: checking for $ac_func" >&5
13552 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13553 echo $ac_n "(cached) $ac_c" 1>&6
13555 cat > conftest.$ac_ext <<EOF
13556 #line 13557 "configure"
13557 #include "confdefs.h"
13558 /* System header to define __stub macros and hopefully few prototypes,
13559 which can conflict with char $ac_func(); below. */
13560 #include <assert.h>
13561 /* Override any gcc2 internal prototype to avoid an error. */
13562 /* We use char because int might match the return type of a gcc2
13563 builtin and then its argument prototype would still apply. */
13568 /* The GNU C library defines this for functions which it implements
13569 to always fail with ENOSYS. Some functions are actually named
13570 something starting with __ and the normal name is an alias. */
13571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13579 if { (eval echo configure:13580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13581 eval "ac_cv_func_$ac_func=yes"
13583 echo "configure: failed program was:" >&5
13584 cat conftest.$ac_ext >&5
13586 eval "ac_cv_func_$ac_func=no"
13591 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13592 echo "$ac_t""yes" 1>&6
13593 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13594 cat >> confdefs.h <<EOF
13595 #define $ac_tr_func 1
13599 echo "$ac_t""no" 1>&6
13605 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13606 echo "configure:13607: checking for _fabsf declaration" >&5
13607 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13608 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13609 echo $ac_n "(cached) $ac_c" 1>&6
13614 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13615 ac_cpp='$CXXCPP $CPPFLAGS'
13616 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13617 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13618 cross_compiling=$ac_cv_prog_cxx_cross
13620 cat > conftest.$ac_ext <<EOF
13621 #line 13622 "configure"
13622 #include "confdefs.h"
13624 #ifdef HAVE_IEEEFP_H
13625 #include <ieeefp.h>
13632 if { (eval echo configure:13633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13634 glibcpp_cv_func__fabsf_use=yes
13636 echo "configure: failed program was:" >&5
13637 cat conftest.$ac_ext >&5
13639 glibcpp_cv_func__fabsf_use=no
13643 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13644 ac_cpp='$CPP $CPPFLAGS'
13645 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13646 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13647 cross_compiling=$ac_cv_prog_cc_cross
13653 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13655 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13656 for ac_func in _fabsf
13658 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13659 echo "configure:13660: checking for $ac_func" >&5
13660 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13661 echo $ac_n "(cached) $ac_c" 1>&6
13663 cat > conftest.$ac_ext <<EOF
13664 #line 13665 "configure"
13665 #include "confdefs.h"
13666 /* System header to define __stub macros and hopefully few prototypes,
13667 which can conflict with char $ac_func(); below. */
13668 #include <assert.h>
13669 /* Override any gcc2 internal prototype to avoid an error. */
13670 /* We use char because int might match the return type of a gcc2
13671 builtin and then its argument prototype would still apply. */
13676 /* The GNU C library defines this for functions which it implements
13677 to always fail with ENOSYS. Some functions are actually named
13678 something starting with __ and the normal name is an alias. */
13679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13687 if { (eval echo configure:13688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13689 eval "ac_cv_func_$ac_func=yes"
13691 echo "configure: failed program was:" >&5
13692 cat conftest.$ac_ext >&5
13694 eval "ac_cv_func_$ac_func=no"
13699 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13700 echo "$ac_t""yes" 1>&6
13701 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13702 cat >> confdefs.h <<EOF
13703 #define $ac_tr_func 1
13707 echo "$ac_t""no" 1>&6
13716 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13717 echo "configure:13718: checking for fmodf declaration" >&5
13718 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13719 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13720 echo $ac_n "(cached) $ac_c" 1>&6
13725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13726 ac_cpp='$CXXCPP $CPPFLAGS'
13727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13729 cross_compiling=$ac_cv_prog_cxx_cross
13731 cat > conftest.$ac_ext <<EOF
13732 #line 13733 "configure"
13733 #include "confdefs.h"
13739 if { (eval echo configure:13740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13741 glibcpp_cv_func_fmodf_use=yes
13743 echo "configure: failed program was:" >&5
13744 cat conftest.$ac_ext >&5
13746 glibcpp_cv_func_fmodf_use=no
13750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13751 ac_cpp='$CPP $CPPFLAGS'
13752 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13753 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13754 cross_compiling=$ac_cv_prog_cc_cross
13760 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13762 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13763 for ac_func in fmodf
13765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13766 echo "configure:13767: checking for $ac_func" >&5
13767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13768 echo $ac_n "(cached) $ac_c" 1>&6
13770 cat > conftest.$ac_ext <<EOF
13771 #line 13772 "configure"
13772 #include "confdefs.h"
13773 /* System header to define __stub macros and hopefully few prototypes,
13774 which can conflict with char $ac_func(); below. */
13775 #include <assert.h>
13776 /* Override any gcc2 internal prototype to avoid an error. */
13777 /* We use char because int might match the return type of a gcc2
13778 builtin and then its argument prototype would still apply. */
13783 /* The GNU C library defines this for functions which it implements
13784 to always fail with ENOSYS. Some functions are actually named
13785 something starting with __ and the normal name is an alias. */
13786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13794 if { (eval echo configure:13795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13796 eval "ac_cv_func_$ac_func=yes"
13798 echo "configure: failed program was:" >&5
13799 cat conftest.$ac_ext >&5
13801 eval "ac_cv_func_$ac_func=no"
13806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13807 echo "$ac_t""yes" 1>&6
13808 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13809 cat >> confdefs.h <<EOF
13810 #define $ac_tr_func 1
13814 echo "$ac_t""no" 1>&6
13820 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13821 echo "configure:13822: checking for _fmodf declaration" >&5
13822 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13823 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13824 echo $ac_n "(cached) $ac_c" 1>&6
13829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13830 ac_cpp='$CXXCPP $CPPFLAGS'
13831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13833 cross_compiling=$ac_cv_prog_cxx_cross
13835 cat > conftest.$ac_ext <<EOF
13836 #line 13837 "configure"
13837 #include "confdefs.h"
13843 if { (eval echo configure:13844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13845 glibcpp_cv_func__fmodf_use=yes
13847 echo "configure: failed program was:" >&5
13848 cat conftest.$ac_ext >&5
13850 glibcpp_cv_func__fmodf_use=no
13854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13855 ac_cpp='$CPP $CPPFLAGS'
13856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13858 cross_compiling=$ac_cv_prog_cc_cross
13864 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13866 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13867 for ac_func in _fmodf
13869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13870 echo "configure:13871: checking for $ac_func" >&5
13871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13872 echo $ac_n "(cached) $ac_c" 1>&6
13874 cat > conftest.$ac_ext <<EOF
13875 #line 13876 "configure"
13876 #include "confdefs.h"
13877 /* System header to define __stub macros and hopefully few prototypes,
13878 which can conflict with char $ac_func(); below. */
13879 #include <assert.h>
13880 /* Override any gcc2 internal prototype to avoid an error. */
13881 /* We use char because int might match the return type of a gcc2
13882 builtin and then its argument prototype would still apply. */
13887 /* The GNU C library defines this for functions which it implements
13888 to always fail with ENOSYS. Some functions are actually named
13889 something starting with __ and the normal name is an alias. */
13890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13898 if { (eval echo configure:13899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13900 eval "ac_cv_func_$ac_func=yes"
13902 echo "configure: failed program was:" >&5
13903 cat conftest.$ac_ext >&5
13905 eval "ac_cv_func_$ac_func=no"
13910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13911 echo "$ac_t""yes" 1>&6
13912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13913 cat >> confdefs.h <<EOF
13914 #define $ac_tr_func 1
13918 echo "$ac_t""no" 1>&6
13927 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13928 echo "configure:13929: checking for frexpf declaration" >&5
13929 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13930 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13931 echo $ac_n "(cached) $ac_c" 1>&6
13936 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13937 ac_cpp='$CXXCPP $CPPFLAGS'
13938 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13939 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13940 cross_compiling=$ac_cv_prog_cxx_cross
13942 cat > conftest.$ac_ext <<EOF
13943 #line 13944 "configure"
13944 #include "confdefs.h"
13950 if { (eval echo configure:13951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13952 glibcpp_cv_func_frexpf_use=yes
13954 echo "configure: failed program was:" >&5
13955 cat conftest.$ac_ext >&5
13957 glibcpp_cv_func_frexpf_use=no
13961 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13962 ac_cpp='$CPP $CPPFLAGS'
13963 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13964 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13965 cross_compiling=$ac_cv_prog_cc_cross
13971 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13973 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13974 for ac_func in frexpf
13976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13977 echo "configure:13978: checking for $ac_func" >&5
13978 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13979 echo $ac_n "(cached) $ac_c" 1>&6
13981 cat > conftest.$ac_ext <<EOF
13982 #line 13983 "configure"
13983 #include "confdefs.h"
13984 /* System header to define __stub macros and hopefully few prototypes,
13985 which can conflict with char $ac_func(); below. */
13986 #include <assert.h>
13987 /* Override any gcc2 internal prototype to avoid an error. */
13988 /* We use char because int might match the return type of a gcc2
13989 builtin and then its argument prototype would still apply. */
13994 /* The GNU C library defines this for functions which it implements
13995 to always fail with ENOSYS. Some functions are actually named
13996 something starting with __ and the normal name is an alias. */
13997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14005 if { (eval echo configure:14006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14007 eval "ac_cv_func_$ac_func=yes"
14009 echo "configure: failed program was:" >&5
14010 cat conftest.$ac_ext >&5
14012 eval "ac_cv_func_$ac_func=no"
14017 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14018 echo "$ac_t""yes" 1>&6
14019 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14020 cat >> confdefs.h <<EOF
14021 #define $ac_tr_func 1
14025 echo "$ac_t""no" 1>&6
14031 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14032 echo "configure:14033: checking for _frexpf declaration" >&5
14033 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14034 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14035 echo $ac_n "(cached) $ac_c" 1>&6
14040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14041 ac_cpp='$CXXCPP $CPPFLAGS'
14042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14044 cross_compiling=$ac_cv_prog_cxx_cross
14046 cat > conftest.$ac_ext <<EOF
14047 #line 14048 "configure"
14048 #include "confdefs.h"
14054 if { (eval echo configure:14055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14056 glibcpp_cv_func__frexpf_use=yes
14058 echo "configure: failed program was:" >&5
14059 cat conftest.$ac_ext >&5
14061 glibcpp_cv_func__frexpf_use=no
14065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14066 ac_cpp='$CPP $CPPFLAGS'
14067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14069 cross_compiling=$ac_cv_prog_cc_cross
14075 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14077 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14078 for ac_func in _frexpf
14080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14081 echo "configure:14082: checking for $ac_func" >&5
14082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14083 echo $ac_n "(cached) $ac_c" 1>&6
14085 cat > conftest.$ac_ext <<EOF
14086 #line 14087 "configure"
14087 #include "confdefs.h"
14088 /* System header to define __stub macros and hopefully few prototypes,
14089 which can conflict with char $ac_func(); below. */
14090 #include <assert.h>
14091 /* Override any gcc2 internal prototype to avoid an error. */
14092 /* We use char because int might match the return type of a gcc2
14093 builtin and then its argument prototype would still apply. */
14098 /* The GNU C library defines this for functions which it implements
14099 to always fail with ENOSYS. Some functions are actually named
14100 something starting with __ and the normal name is an alias. */
14101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14109 if { (eval echo configure:14110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14111 eval "ac_cv_func_$ac_func=yes"
14113 echo "configure: failed program was:" >&5
14114 cat conftest.$ac_ext >&5
14116 eval "ac_cv_func_$ac_func=no"
14121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14122 echo "$ac_t""yes" 1>&6
14123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14124 cat >> confdefs.h <<EOF
14125 #define $ac_tr_func 1
14129 echo "$ac_t""no" 1>&6
14138 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14139 echo "configure:14140: checking for hypotf declaration" >&5
14140 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14141 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14142 echo $ac_n "(cached) $ac_c" 1>&6
14147 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14148 ac_cpp='$CXXCPP $CPPFLAGS'
14149 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14150 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14151 cross_compiling=$ac_cv_prog_cxx_cross
14153 cat > conftest.$ac_ext <<EOF
14154 #line 14155 "configure"
14155 #include "confdefs.h"
14161 if { (eval echo configure:14162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14163 glibcpp_cv_func_hypotf_use=yes
14165 echo "configure: failed program was:" >&5
14166 cat conftest.$ac_ext >&5
14168 glibcpp_cv_func_hypotf_use=no
14172 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14173 ac_cpp='$CPP $CPPFLAGS'
14174 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14175 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14176 cross_compiling=$ac_cv_prog_cc_cross
14182 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14184 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14185 for ac_func in hypotf
14187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14188 echo "configure:14189: checking for $ac_func" >&5
14189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14190 echo $ac_n "(cached) $ac_c" 1>&6
14192 cat > conftest.$ac_ext <<EOF
14193 #line 14194 "configure"
14194 #include "confdefs.h"
14195 /* System header to define __stub macros and hopefully few prototypes,
14196 which can conflict with char $ac_func(); below. */
14197 #include <assert.h>
14198 /* Override any gcc2 internal prototype to avoid an error. */
14199 /* We use char because int might match the return type of a gcc2
14200 builtin and then its argument prototype would still apply. */
14205 /* The GNU C library defines this for functions which it implements
14206 to always fail with ENOSYS. Some functions are actually named
14207 something starting with __ and the normal name is an alias. */
14208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14216 if { (eval echo configure:14217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14218 eval "ac_cv_func_$ac_func=yes"
14220 echo "configure: failed program was:" >&5
14221 cat conftest.$ac_ext >&5
14223 eval "ac_cv_func_$ac_func=no"
14228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14229 echo "$ac_t""yes" 1>&6
14230 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14231 cat >> confdefs.h <<EOF
14232 #define $ac_tr_func 1
14236 echo "$ac_t""no" 1>&6
14242 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14243 echo "configure:14244: checking for _hypotf declaration" >&5
14244 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14245 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14246 echo $ac_n "(cached) $ac_c" 1>&6
14251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14252 ac_cpp='$CXXCPP $CPPFLAGS'
14253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14255 cross_compiling=$ac_cv_prog_cxx_cross
14257 cat > conftest.$ac_ext <<EOF
14258 #line 14259 "configure"
14259 #include "confdefs.h"
14265 if { (eval echo configure:14266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14267 glibcpp_cv_func__hypotf_use=yes
14269 echo "configure: failed program was:" >&5
14270 cat conftest.$ac_ext >&5
14272 glibcpp_cv_func__hypotf_use=no
14276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14277 ac_cpp='$CPP $CPPFLAGS'
14278 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14279 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14280 cross_compiling=$ac_cv_prog_cc_cross
14286 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14288 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14289 for ac_func in _hypotf
14291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14292 echo "configure:14293: checking for $ac_func" >&5
14293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14294 echo $ac_n "(cached) $ac_c" 1>&6
14296 cat > conftest.$ac_ext <<EOF
14297 #line 14298 "configure"
14298 #include "confdefs.h"
14299 /* System header to define __stub macros and hopefully few prototypes,
14300 which can conflict with char $ac_func(); below. */
14301 #include <assert.h>
14302 /* Override any gcc2 internal prototype to avoid an error. */
14303 /* We use char because int might match the return type of a gcc2
14304 builtin and then its argument prototype would still apply. */
14309 /* The GNU C library defines this for functions which it implements
14310 to always fail with ENOSYS. Some functions are actually named
14311 something starting with __ and the normal name is an alias. */
14312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14320 if { (eval echo configure:14321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14322 eval "ac_cv_func_$ac_func=yes"
14324 echo "configure: failed program was:" >&5
14325 cat conftest.$ac_ext >&5
14327 eval "ac_cv_func_$ac_func=no"
14332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14333 echo "$ac_t""yes" 1>&6
14334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14335 cat >> confdefs.h <<EOF
14336 #define $ac_tr_func 1
14340 echo "$ac_t""no" 1>&6
14349 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14350 echo "configure:14351: checking for ldexpf declaration" >&5
14351 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14352 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14353 echo $ac_n "(cached) $ac_c" 1>&6
14358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14359 ac_cpp='$CXXCPP $CPPFLAGS'
14360 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14361 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14362 cross_compiling=$ac_cv_prog_cxx_cross
14364 cat > conftest.$ac_ext <<EOF
14365 #line 14366 "configure"
14366 #include "confdefs.h"
14372 if { (eval echo configure:14373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14374 glibcpp_cv_func_ldexpf_use=yes
14376 echo "configure: failed program was:" >&5
14377 cat conftest.$ac_ext >&5
14379 glibcpp_cv_func_ldexpf_use=no
14383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14384 ac_cpp='$CPP $CPPFLAGS'
14385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14387 cross_compiling=$ac_cv_prog_cc_cross
14393 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14395 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14396 for ac_func in ldexpf
14398 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14399 echo "configure:14400: checking for $ac_func" >&5
14400 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14401 echo $ac_n "(cached) $ac_c" 1>&6
14403 cat > conftest.$ac_ext <<EOF
14404 #line 14405 "configure"
14405 #include "confdefs.h"
14406 /* System header to define __stub macros and hopefully few prototypes,
14407 which can conflict with char $ac_func(); below. */
14408 #include <assert.h>
14409 /* Override any gcc2 internal prototype to avoid an error. */
14410 /* We use char because int might match the return type of a gcc2
14411 builtin and then its argument prototype would still apply. */
14416 /* The GNU C library defines this for functions which it implements
14417 to always fail with ENOSYS. Some functions are actually named
14418 something starting with __ and the normal name is an alias. */
14419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14427 if { (eval echo configure:14428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14429 eval "ac_cv_func_$ac_func=yes"
14431 echo "configure: failed program was:" >&5
14432 cat conftest.$ac_ext >&5
14434 eval "ac_cv_func_$ac_func=no"
14439 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14440 echo "$ac_t""yes" 1>&6
14441 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14442 cat >> confdefs.h <<EOF
14443 #define $ac_tr_func 1
14447 echo "$ac_t""no" 1>&6
14453 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14454 echo "configure:14455: checking for _ldexpf declaration" >&5
14455 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14456 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14457 echo $ac_n "(cached) $ac_c" 1>&6
14462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14463 ac_cpp='$CXXCPP $CPPFLAGS'
14464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14466 cross_compiling=$ac_cv_prog_cxx_cross
14468 cat > conftest.$ac_ext <<EOF
14469 #line 14470 "configure"
14470 #include "confdefs.h"
14476 if { (eval echo configure:14477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14478 glibcpp_cv_func__ldexpf_use=yes
14480 echo "configure: failed program was:" >&5
14481 cat conftest.$ac_ext >&5
14483 glibcpp_cv_func__ldexpf_use=no
14487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14488 ac_cpp='$CPP $CPPFLAGS'
14489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14491 cross_compiling=$ac_cv_prog_cc_cross
14497 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14499 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14500 for ac_func in _ldexpf
14502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14503 echo "configure:14504: checking for $ac_func" >&5
14504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14505 echo $ac_n "(cached) $ac_c" 1>&6
14507 cat > conftest.$ac_ext <<EOF
14508 #line 14509 "configure"
14509 #include "confdefs.h"
14510 /* System header to define __stub macros and hopefully few prototypes,
14511 which can conflict with char $ac_func(); below. */
14512 #include <assert.h>
14513 /* Override any gcc2 internal prototype to avoid an error. */
14514 /* We use char because int might match the return type of a gcc2
14515 builtin and then its argument prototype would still apply. */
14520 /* The GNU C library defines this for functions which it implements
14521 to always fail with ENOSYS. Some functions are actually named
14522 something starting with __ and the normal name is an alias. */
14523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14531 if { (eval echo configure:14532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14533 eval "ac_cv_func_$ac_func=yes"
14535 echo "configure: failed program was:" >&5
14536 cat conftest.$ac_ext >&5
14538 eval "ac_cv_func_$ac_func=no"
14543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14544 echo "$ac_t""yes" 1>&6
14545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14546 cat >> confdefs.h <<EOF
14547 #define $ac_tr_func 1
14551 echo "$ac_t""no" 1>&6
14560 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14561 echo "configure:14562: checking for logf declaration" >&5
14562 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14563 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14564 echo $ac_n "(cached) $ac_c" 1>&6
14569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14570 ac_cpp='$CXXCPP $CPPFLAGS'
14571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14573 cross_compiling=$ac_cv_prog_cxx_cross
14575 cat > conftest.$ac_ext <<EOF
14576 #line 14577 "configure"
14577 #include "confdefs.h"
14579 #ifdef HAVE_IEEEFP_H
14580 #include <ieeefp.h>
14587 if { (eval echo configure:14588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14589 glibcpp_cv_func_logf_use=yes
14591 echo "configure: failed program was:" >&5
14592 cat conftest.$ac_ext >&5
14594 glibcpp_cv_func_logf_use=no
14598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14599 ac_cpp='$CPP $CPPFLAGS'
14600 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14601 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14602 cross_compiling=$ac_cv_prog_cc_cross
14608 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14610 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14611 for ac_func in logf
14613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14614 echo "configure:14615: checking for $ac_func" >&5
14615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14616 echo $ac_n "(cached) $ac_c" 1>&6
14618 cat > conftest.$ac_ext <<EOF
14619 #line 14620 "configure"
14620 #include "confdefs.h"
14621 /* System header to define __stub macros and hopefully few prototypes,
14622 which can conflict with char $ac_func(); below. */
14623 #include <assert.h>
14624 /* Override any gcc2 internal prototype to avoid an error. */
14625 /* We use char because int might match the return type of a gcc2
14626 builtin and then its argument prototype would still apply. */
14631 /* The GNU C library defines this for functions which it implements
14632 to always fail with ENOSYS. Some functions are actually named
14633 something starting with __ and the normal name is an alias. */
14634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14642 if { (eval echo configure:14643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14644 eval "ac_cv_func_$ac_func=yes"
14646 echo "configure: failed program was:" >&5
14647 cat conftest.$ac_ext >&5
14649 eval "ac_cv_func_$ac_func=no"
14654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14655 echo "$ac_t""yes" 1>&6
14656 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14657 cat >> confdefs.h <<EOF
14658 #define $ac_tr_func 1
14662 echo "$ac_t""no" 1>&6
14668 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14669 echo "configure:14670: checking for _logf declaration" >&5
14670 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14671 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14672 echo $ac_n "(cached) $ac_c" 1>&6
14677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14678 ac_cpp='$CXXCPP $CPPFLAGS'
14679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14681 cross_compiling=$ac_cv_prog_cxx_cross
14683 cat > conftest.$ac_ext <<EOF
14684 #line 14685 "configure"
14685 #include "confdefs.h"
14687 #ifdef HAVE_IEEEFP_H
14688 #include <ieeefp.h>
14695 if { (eval echo configure:14696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14697 glibcpp_cv_func__logf_use=yes
14699 echo "configure: failed program was:" >&5
14700 cat conftest.$ac_ext >&5
14702 glibcpp_cv_func__logf_use=no
14706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14707 ac_cpp='$CPP $CPPFLAGS'
14708 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14709 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14710 cross_compiling=$ac_cv_prog_cc_cross
14716 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14718 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14719 for ac_func in _logf
14721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14722 echo "configure:14723: checking for $ac_func" >&5
14723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14724 echo $ac_n "(cached) $ac_c" 1>&6
14726 cat > conftest.$ac_ext <<EOF
14727 #line 14728 "configure"
14728 #include "confdefs.h"
14729 /* System header to define __stub macros and hopefully few prototypes,
14730 which can conflict with char $ac_func(); below. */
14731 #include <assert.h>
14732 /* Override any gcc2 internal prototype to avoid an error. */
14733 /* We use char because int might match the return type of a gcc2
14734 builtin and then its argument prototype would still apply. */
14739 /* The GNU C library defines this for functions which it implements
14740 to always fail with ENOSYS. Some functions are actually named
14741 something starting with __ and the normal name is an alias. */
14742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14750 if { (eval echo configure:14751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14752 eval "ac_cv_func_$ac_func=yes"
14754 echo "configure: failed program was:" >&5
14755 cat conftest.$ac_ext >&5
14757 eval "ac_cv_func_$ac_func=no"
14762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14763 echo "$ac_t""yes" 1>&6
14764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14765 cat >> confdefs.h <<EOF
14766 #define $ac_tr_func 1
14770 echo "$ac_t""no" 1>&6
14779 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14780 echo "configure:14781: checking for log10f declaration" >&5
14781 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14782 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14783 echo $ac_n "(cached) $ac_c" 1>&6
14788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14789 ac_cpp='$CXXCPP $CPPFLAGS'
14790 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14791 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14792 cross_compiling=$ac_cv_prog_cxx_cross
14794 cat > conftest.$ac_ext <<EOF
14795 #line 14796 "configure"
14796 #include "confdefs.h"
14798 #ifdef HAVE_IEEEFP_H
14799 #include <ieeefp.h>
14806 if { (eval echo configure:14807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14808 glibcpp_cv_func_log10f_use=yes
14810 echo "configure: failed program was:" >&5
14811 cat conftest.$ac_ext >&5
14813 glibcpp_cv_func_log10f_use=no
14817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14818 ac_cpp='$CPP $CPPFLAGS'
14819 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14820 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14821 cross_compiling=$ac_cv_prog_cc_cross
14827 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14829 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14830 for ac_func in log10f
14832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14833 echo "configure:14834: checking for $ac_func" >&5
14834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14835 echo $ac_n "(cached) $ac_c" 1>&6
14837 cat > conftest.$ac_ext <<EOF
14838 #line 14839 "configure"
14839 #include "confdefs.h"
14840 /* System header to define __stub macros and hopefully few prototypes,
14841 which can conflict with char $ac_func(); below. */
14842 #include <assert.h>
14843 /* Override any gcc2 internal prototype to avoid an error. */
14844 /* We use char because int might match the return type of a gcc2
14845 builtin and then its argument prototype would still apply. */
14850 /* The GNU C library defines this for functions which it implements
14851 to always fail with ENOSYS. Some functions are actually named
14852 something starting with __ and the normal name is an alias. */
14853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14861 if { (eval echo configure:14862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14863 eval "ac_cv_func_$ac_func=yes"
14865 echo "configure: failed program was:" >&5
14866 cat conftest.$ac_ext >&5
14868 eval "ac_cv_func_$ac_func=no"
14873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14874 echo "$ac_t""yes" 1>&6
14875 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14876 cat >> confdefs.h <<EOF
14877 #define $ac_tr_func 1
14881 echo "$ac_t""no" 1>&6
14887 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14888 echo "configure:14889: checking for _log10f declaration" >&5
14889 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14890 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14891 echo $ac_n "(cached) $ac_c" 1>&6
14896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14897 ac_cpp='$CXXCPP $CPPFLAGS'
14898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14900 cross_compiling=$ac_cv_prog_cxx_cross
14902 cat > conftest.$ac_ext <<EOF
14903 #line 14904 "configure"
14904 #include "confdefs.h"
14906 #ifdef HAVE_IEEEFP_H
14907 #include <ieeefp.h>
14914 if { (eval echo configure:14915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14916 glibcpp_cv_func__log10f_use=yes
14918 echo "configure: failed program was:" >&5
14919 cat conftest.$ac_ext >&5
14921 glibcpp_cv_func__log10f_use=no
14925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14926 ac_cpp='$CPP $CPPFLAGS'
14927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14929 cross_compiling=$ac_cv_prog_cc_cross
14935 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14937 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14938 for ac_func in _log10f
14940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14941 echo "configure:14942: checking for $ac_func" >&5
14942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14943 echo $ac_n "(cached) $ac_c" 1>&6
14945 cat > conftest.$ac_ext <<EOF
14946 #line 14947 "configure"
14947 #include "confdefs.h"
14948 /* System header to define __stub macros and hopefully few prototypes,
14949 which can conflict with char $ac_func(); below. */
14950 #include <assert.h>
14951 /* Override any gcc2 internal prototype to avoid an error. */
14952 /* We use char because int might match the return type of a gcc2
14953 builtin and then its argument prototype would still apply. */
14958 /* The GNU C library defines this for functions which it implements
14959 to always fail with ENOSYS. Some functions are actually named
14960 something starting with __ and the normal name is an alias. */
14961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14969 if { (eval echo configure:14970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14971 eval "ac_cv_func_$ac_func=yes"
14973 echo "configure: failed program was:" >&5
14974 cat conftest.$ac_ext >&5
14976 eval "ac_cv_func_$ac_func=no"
14981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14982 echo "$ac_t""yes" 1>&6
14983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14984 cat >> confdefs.h <<EOF
14985 #define $ac_tr_func 1
14989 echo "$ac_t""no" 1>&6
14998 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
14999 echo "configure:15000: checking for modff declaration" >&5
15000 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15001 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15002 echo $ac_n "(cached) $ac_c" 1>&6
15007 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15008 ac_cpp='$CXXCPP $CPPFLAGS'
15009 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15010 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15011 cross_compiling=$ac_cv_prog_cxx_cross
15013 cat > conftest.$ac_ext <<EOF
15014 #line 15015 "configure"
15015 #include "confdefs.h"
15021 if { (eval echo configure:15022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15023 glibcpp_cv_func_modff_use=yes
15025 echo "configure: failed program was:" >&5
15026 cat conftest.$ac_ext >&5
15028 glibcpp_cv_func_modff_use=no
15032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15033 ac_cpp='$CPP $CPPFLAGS'
15034 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15035 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15036 cross_compiling=$ac_cv_prog_cc_cross
15042 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15044 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15045 for ac_func in modff
15047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15048 echo "configure:15049: checking for $ac_func" >&5
15049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15050 echo $ac_n "(cached) $ac_c" 1>&6
15052 cat > conftest.$ac_ext <<EOF
15053 #line 15054 "configure"
15054 #include "confdefs.h"
15055 /* System header to define __stub macros and hopefully few prototypes,
15056 which can conflict with char $ac_func(); below. */
15057 #include <assert.h>
15058 /* Override any gcc2 internal prototype to avoid an error. */
15059 /* We use char because int might match the return type of a gcc2
15060 builtin and then its argument prototype would still apply. */
15065 /* The GNU C library defines this for functions which it implements
15066 to always fail with ENOSYS. Some functions are actually named
15067 something starting with __ and the normal name is an alias. */
15068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15076 if { (eval echo configure:15077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15078 eval "ac_cv_func_$ac_func=yes"
15080 echo "configure: failed program was:" >&5
15081 cat conftest.$ac_ext >&5
15083 eval "ac_cv_func_$ac_func=no"
15088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15089 echo "$ac_t""yes" 1>&6
15090 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15091 cat >> confdefs.h <<EOF
15092 #define $ac_tr_func 1
15096 echo "$ac_t""no" 1>&6
15102 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15103 echo "configure:15104: checking for _modff declaration" >&5
15104 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15105 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15106 echo $ac_n "(cached) $ac_c" 1>&6
15111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15112 ac_cpp='$CXXCPP $CPPFLAGS'
15113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15115 cross_compiling=$ac_cv_prog_cxx_cross
15117 cat > conftest.$ac_ext <<EOF
15118 #line 15119 "configure"
15119 #include "confdefs.h"
15125 if { (eval echo configure:15126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15127 glibcpp_cv_func__modff_use=yes
15129 echo "configure: failed program was:" >&5
15130 cat conftest.$ac_ext >&5
15132 glibcpp_cv_func__modff_use=no
15136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15139 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15140 cross_compiling=$ac_cv_prog_cc_cross
15146 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15148 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15149 for ac_func in _modff
15151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15152 echo "configure:15153: checking for $ac_func" >&5
15153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15154 echo $ac_n "(cached) $ac_c" 1>&6
15156 cat > conftest.$ac_ext <<EOF
15157 #line 15158 "configure"
15158 #include "confdefs.h"
15159 /* System header to define __stub macros and hopefully few prototypes,
15160 which can conflict with char $ac_func(); below. */
15161 #include <assert.h>
15162 /* Override any gcc2 internal prototype to avoid an error. */
15163 /* We use char because int might match the return type of a gcc2
15164 builtin and then its argument prototype would still apply. */
15169 /* The GNU C library defines this for functions which it implements
15170 to always fail with ENOSYS. Some functions are actually named
15171 something starting with __ and the normal name is an alias. */
15172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15180 if { (eval echo configure:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15182 eval "ac_cv_func_$ac_func=yes"
15184 echo "configure: failed program was:" >&5
15185 cat conftest.$ac_ext >&5
15187 eval "ac_cv_func_$ac_func=no"
15192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15194 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15195 cat >> confdefs.h <<EOF
15196 #define $ac_tr_func 1
15200 echo "$ac_t""no" 1>&6
15209 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15210 echo "configure:15211: checking for powf declaration" >&5
15211 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15212 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15213 echo $ac_n "(cached) $ac_c" 1>&6
15218 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15219 ac_cpp='$CXXCPP $CPPFLAGS'
15220 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15221 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15222 cross_compiling=$ac_cv_prog_cxx_cross
15224 cat > conftest.$ac_ext <<EOF
15225 #line 15226 "configure"
15226 #include "confdefs.h"
15232 if { (eval echo configure:15233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15234 glibcpp_cv_func_powf_use=yes
15236 echo "configure: failed program was:" >&5
15237 cat conftest.$ac_ext >&5
15239 glibcpp_cv_func_powf_use=no
15243 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15244 ac_cpp='$CPP $CPPFLAGS'
15245 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15246 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15247 cross_compiling=$ac_cv_prog_cc_cross
15253 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15255 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15256 for ac_func in powf
15258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15259 echo "configure:15260: checking for $ac_func" >&5
15260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15261 echo $ac_n "(cached) $ac_c" 1>&6
15263 cat > conftest.$ac_ext <<EOF
15264 #line 15265 "configure"
15265 #include "confdefs.h"
15266 /* System header to define __stub macros and hopefully few prototypes,
15267 which can conflict with char $ac_func(); below. */
15268 #include <assert.h>
15269 /* Override any gcc2 internal prototype to avoid an error. */
15270 /* We use char because int might match the return type of a gcc2
15271 builtin and then its argument prototype would still apply. */
15276 /* The GNU C library defines this for functions which it implements
15277 to always fail with ENOSYS. Some functions are actually named
15278 something starting with __ and the normal name is an alias. */
15279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15287 if { (eval echo configure:15288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15289 eval "ac_cv_func_$ac_func=yes"
15291 echo "configure: failed program was:" >&5
15292 cat conftest.$ac_ext >&5
15294 eval "ac_cv_func_$ac_func=no"
15299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15300 echo "$ac_t""yes" 1>&6
15301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15302 cat >> confdefs.h <<EOF
15303 #define $ac_tr_func 1
15307 echo "$ac_t""no" 1>&6
15313 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15314 echo "configure:15315: checking for _powf declaration" >&5
15315 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15316 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15317 echo $ac_n "(cached) $ac_c" 1>&6
15322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15323 ac_cpp='$CXXCPP $CPPFLAGS'
15324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15326 cross_compiling=$ac_cv_prog_cxx_cross
15328 cat > conftest.$ac_ext <<EOF
15329 #line 15330 "configure"
15330 #include "confdefs.h"
15336 if { (eval echo configure:15337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15338 glibcpp_cv_func__powf_use=yes
15340 echo "configure: failed program was:" >&5
15341 cat conftest.$ac_ext >&5
15343 glibcpp_cv_func__powf_use=no
15347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15348 ac_cpp='$CPP $CPPFLAGS'
15349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15351 cross_compiling=$ac_cv_prog_cc_cross
15357 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15359 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15360 for ac_func in _powf
15362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15363 echo "configure:15364: checking for $ac_func" >&5
15364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15365 echo $ac_n "(cached) $ac_c" 1>&6
15367 cat > conftest.$ac_ext <<EOF
15368 #line 15369 "configure"
15369 #include "confdefs.h"
15370 /* System header to define __stub macros and hopefully few prototypes,
15371 which can conflict with char $ac_func(); below. */
15372 #include <assert.h>
15373 /* Override any gcc2 internal prototype to avoid an error. */
15374 /* We use char because int might match the return type of a gcc2
15375 builtin and then its argument prototype would still apply. */
15380 /* The GNU C library defines this for functions which it implements
15381 to always fail with ENOSYS. Some functions are actually named
15382 something starting with __ and the normal name is an alias. */
15383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15391 if { (eval echo configure:15392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15393 eval "ac_cv_func_$ac_func=yes"
15395 echo "configure: failed program was:" >&5
15396 cat conftest.$ac_ext >&5
15398 eval "ac_cv_func_$ac_func=no"
15403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15404 echo "$ac_t""yes" 1>&6
15405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15406 cat >> confdefs.h <<EOF
15407 #define $ac_tr_func 1
15411 echo "$ac_t""no" 1>&6
15420 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15421 echo "configure:15422: checking for sqrtf declaration" >&5
15422 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15423 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15424 echo $ac_n "(cached) $ac_c" 1>&6
15429 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15430 ac_cpp='$CXXCPP $CPPFLAGS'
15431 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15432 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15433 cross_compiling=$ac_cv_prog_cxx_cross
15435 cat > conftest.$ac_ext <<EOF
15436 #line 15437 "configure"
15437 #include "confdefs.h"
15439 #ifdef HAVE_IEEEFP_H
15440 #include <ieeefp.h>
15447 if { (eval echo configure:15448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15449 glibcpp_cv_func_sqrtf_use=yes
15451 echo "configure: failed program was:" >&5
15452 cat conftest.$ac_ext >&5
15454 glibcpp_cv_func_sqrtf_use=no
15458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15459 ac_cpp='$CPP $CPPFLAGS'
15460 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15461 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15462 cross_compiling=$ac_cv_prog_cc_cross
15468 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15470 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15471 for ac_func in sqrtf
15473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15474 echo "configure:15475: checking for $ac_func" >&5
15475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15476 echo $ac_n "(cached) $ac_c" 1>&6
15478 cat > conftest.$ac_ext <<EOF
15479 #line 15480 "configure"
15480 #include "confdefs.h"
15481 /* System header to define __stub macros and hopefully few prototypes,
15482 which can conflict with char $ac_func(); below. */
15483 #include <assert.h>
15484 /* Override any gcc2 internal prototype to avoid an error. */
15485 /* We use char because int might match the return type of a gcc2
15486 builtin and then its argument prototype would still apply. */
15491 /* The GNU C library defines this for functions which it implements
15492 to always fail with ENOSYS. Some functions are actually named
15493 something starting with __ and the normal name is an alias. */
15494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15502 if { (eval echo configure:15503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15504 eval "ac_cv_func_$ac_func=yes"
15506 echo "configure: failed program was:" >&5
15507 cat conftest.$ac_ext >&5
15509 eval "ac_cv_func_$ac_func=no"
15514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15515 echo "$ac_t""yes" 1>&6
15516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15517 cat >> confdefs.h <<EOF
15518 #define $ac_tr_func 1
15522 echo "$ac_t""no" 1>&6
15528 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15529 echo "configure:15530: checking for _sqrtf declaration" >&5
15530 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15531 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15532 echo $ac_n "(cached) $ac_c" 1>&6
15537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15538 ac_cpp='$CXXCPP $CPPFLAGS'
15539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15541 cross_compiling=$ac_cv_prog_cxx_cross
15543 cat > conftest.$ac_ext <<EOF
15544 #line 15545 "configure"
15545 #include "confdefs.h"
15547 #ifdef HAVE_IEEEFP_H
15548 #include <ieeefp.h>
15555 if { (eval echo configure:15556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15557 glibcpp_cv_func__sqrtf_use=yes
15559 echo "configure: failed program was:" >&5
15560 cat conftest.$ac_ext >&5
15562 glibcpp_cv_func__sqrtf_use=no
15566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15567 ac_cpp='$CPP $CPPFLAGS'
15568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15570 cross_compiling=$ac_cv_prog_cc_cross
15576 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15578 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15579 for ac_func in _sqrtf
15581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15582 echo "configure:15583: checking for $ac_func" >&5
15583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15584 echo $ac_n "(cached) $ac_c" 1>&6
15586 cat > conftest.$ac_ext <<EOF
15587 #line 15588 "configure"
15588 #include "confdefs.h"
15589 /* System header to define __stub macros and hopefully few prototypes,
15590 which can conflict with char $ac_func(); below. */
15591 #include <assert.h>
15592 /* Override any gcc2 internal prototype to avoid an error. */
15593 /* We use char because int might match the return type of a gcc2
15594 builtin and then its argument prototype would still apply. */
15599 /* The GNU C library defines this for functions which it implements
15600 to always fail with ENOSYS. Some functions are actually named
15601 something starting with __ and the normal name is an alias. */
15602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15610 if { (eval echo configure:15611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15612 eval "ac_cv_func_$ac_func=yes"
15614 echo "configure: failed program was:" >&5
15615 cat conftest.$ac_ext >&5
15617 eval "ac_cv_func_$ac_func=no"
15622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15623 echo "$ac_t""yes" 1>&6
15624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15625 cat >> confdefs.h <<EOF
15626 #define $ac_tr_func 1
15630 echo "$ac_t""no" 1>&6
15639 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15640 echo "configure:15641: checking for sincosf declaration" >&5
15641 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15642 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15643 echo $ac_n "(cached) $ac_c" 1>&6
15648 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15649 ac_cpp='$CXXCPP $CPPFLAGS'
15650 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15651 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15652 cross_compiling=$ac_cv_prog_cxx_cross
15654 cat > conftest.$ac_ext <<EOF
15655 #line 15656 "configure"
15656 #include "confdefs.h"
15662 if { (eval echo configure:15663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15664 glibcpp_cv_func_sincosf_use=yes
15666 echo "configure: failed program was:" >&5
15667 cat conftest.$ac_ext >&5
15669 glibcpp_cv_func_sincosf_use=no
15673 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15674 ac_cpp='$CPP $CPPFLAGS'
15675 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15676 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15677 cross_compiling=$ac_cv_prog_cc_cross
15683 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15685 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15686 for ac_func in sincosf
15688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15689 echo "configure:15690: checking for $ac_func" >&5
15690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15691 echo $ac_n "(cached) $ac_c" 1>&6
15693 cat > conftest.$ac_ext <<EOF
15694 #line 15695 "configure"
15695 #include "confdefs.h"
15696 /* System header to define __stub macros and hopefully few prototypes,
15697 which can conflict with char $ac_func(); below. */
15698 #include <assert.h>
15699 /* Override any gcc2 internal prototype to avoid an error. */
15700 /* We use char because int might match the return type of a gcc2
15701 builtin and then its argument prototype would still apply. */
15706 /* The GNU C library defines this for functions which it implements
15707 to always fail with ENOSYS. Some functions are actually named
15708 something starting with __ and the normal name is an alias. */
15709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15717 if { (eval echo configure:15718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15719 eval "ac_cv_func_$ac_func=yes"
15721 echo "configure: failed program was:" >&5
15722 cat conftest.$ac_ext >&5
15724 eval "ac_cv_func_$ac_func=no"
15729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15730 echo "$ac_t""yes" 1>&6
15731 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15732 cat >> confdefs.h <<EOF
15733 #define $ac_tr_func 1
15737 echo "$ac_t""no" 1>&6
15743 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15744 echo "configure:15745: checking for _sincosf declaration" >&5
15745 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15746 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15747 echo $ac_n "(cached) $ac_c" 1>&6
15752 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15753 ac_cpp='$CXXCPP $CPPFLAGS'
15754 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15755 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15756 cross_compiling=$ac_cv_prog_cxx_cross
15758 cat > conftest.$ac_ext <<EOF
15759 #line 15760 "configure"
15760 #include "confdefs.h"
15766 if { (eval echo configure:15767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15768 glibcpp_cv_func__sincosf_use=yes
15770 echo "configure: failed program was:" >&5
15771 cat conftest.$ac_ext >&5
15773 glibcpp_cv_func__sincosf_use=no
15777 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15778 ac_cpp='$CPP $CPPFLAGS'
15779 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15780 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15781 cross_compiling=$ac_cv_prog_cc_cross
15787 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15789 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15790 for ac_func in _sincosf
15792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15793 echo "configure:15794: checking for $ac_func" >&5
15794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15795 echo $ac_n "(cached) $ac_c" 1>&6
15797 cat > conftest.$ac_ext <<EOF
15798 #line 15799 "configure"
15799 #include "confdefs.h"
15800 /* System header to define __stub macros and hopefully few prototypes,
15801 which can conflict with char $ac_func(); below. */
15802 #include <assert.h>
15803 /* Override any gcc2 internal prototype to avoid an error. */
15804 /* We use char because int might match the return type of a gcc2
15805 builtin and then its argument prototype would still apply. */
15810 /* The GNU C library defines this for functions which it implements
15811 to always fail with ENOSYS. Some functions are actually named
15812 something starting with __ and the normal name is an alias. */
15813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15821 if { (eval echo configure:15822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15823 eval "ac_cv_func_$ac_func=yes"
15825 echo "configure: failed program was:" >&5
15826 cat conftest.$ac_ext >&5
15828 eval "ac_cv_func_$ac_func=no"
15833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15834 echo "$ac_t""yes" 1>&6
15835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15836 cat >> confdefs.h <<EOF
15837 #define $ac_tr_func 1
15841 echo "$ac_t""no" 1>&6
15850 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15851 echo "configure:15852: checking for finitef declaration" >&5
15852 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15853 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15854 echo $ac_n "(cached) $ac_c" 1>&6
15859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15860 ac_cpp='$CXXCPP $CPPFLAGS'
15861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15863 cross_compiling=$ac_cv_prog_cxx_cross
15865 cat > conftest.$ac_ext <<EOF
15866 #line 15867 "configure"
15867 #include "confdefs.h"
15869 #ifdef HAVE_IEEEFP_H
15870 #include <ieeefp.h>
15877 if { (eval echo configure:15878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15879 glibcpp_cv_func_finitef_use=yes
15881 echo "configure: failed program was:" >&5
15882 cat conftest.$ac_ext >&5
15884 glibcpp_cv_func_finitef_use=no
15888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15889 ac_cpp='$CPP $CPPFLAGS'
15890 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15891 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15892 cross_compiling=$ac_cv_prog_cc_cross
15898 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15900 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15901 for ac_func in finitef
15903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15904 echo "configure:15905: checking for $ac_func" >&5
15905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15906 echo $ac_n "(cached) $ac_c" 1>&6
15908 cat > conftest.$ac_ext <<EOF
15909 #line 15910 "configure"
15910 #include "confdefs.h"
15911 /* System header to define __stub macros and hopefully few prototypes,
15912 which can conflict with char $ac_func(); below. */
15913 #include <assert.h>
15914 /* Override any gcc2 internal prototype to avoid an error. */
15915 /* We use char because int might match the return type of a gcc2
15916 builtin and then its argument prototype would still apply. */
15921 /* The GNU C library defines this for functions which it implements
15922 to always fail with ENOSYS. Some functions are actually named
15923 something starting with __ and the normal name is an alias. */
15924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15932 if { (eval echo configure:15933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15934 eval "ac_cv_func_$ac_func=yes"
15936 echo "configure: failed program was:" >&5
15937 cat conftest.$ac_ext >&5
15939 eval "ac_cv_func_$ac_func=no"
15944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15945 echo "$ac_t""yes" 1>&6
15946 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15947 cat >> confdefs.h <<EOF
15948 #define $ac_tr_func 1
15952 echo "$ac_t""no" 1>&6
15958 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15959 echo "configure:15960: checking for _finitef declaration" >&5
15960 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15961 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15962 echo $ac_n "(cached) $ac_c" 1>&6
15967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15968 ac_cpp='$CXXCPP $CPPFLAGS'
15969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15971 cross_compiling=$ac_cv_prog_cxx_cross
15973 cat > conftest.$ac_ext <<EOF
15974 #line 15975 "configure"
15975 #include "confdefs.h"
15977 #ifdef HAVE_IEEEFP_H
15978 #include <ieeefp.h>
15985 if { (eval echo configure:15986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15987 glibcpp_cv_func__finitef_use=yes
15989 echo "configure: failed program was:" >&5
15990 cat conftest.$ac_ext >&5
15992 glibcpp_cv_func__finitef_use=no
15996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15997 ac_cpp='$CPP $CPPFLAGS'
15998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16000 cross_compiling=$ac_cv_prog_cc_cross
16006 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16008 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16009 for ac_func in _finitef
16011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16012 echo "configure:16013: checking for $ac_func" >&5
16013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16014 echo $ac_n "(cached) $ac_c" 1>&6
16016 cat > conftest.$ac_ext <<EOF
16017 #line 16018 "configure"
16018 #include "confdefs.h"
16019 /* System header to define __stub macros and hopefully few prototypes,
16020 which can conflict with char $ac_func(); below. */
16021 #include <assert.h>
16022 /* Override any gcc2 internal prototype to avoid an error. */
16023 /* We use char because int might match the return type of a gcc2
16024 builtin and then its argument prototype would still apply. */
16029 /* The GNU C library defines this for functions which it implements
16030 to always fail with ENOSYS. Some functions are actually named
16031 something starting with __ and the normal name is an alias. */
16032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16040 if { (eval echo configure:16041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16042 eval "ac_cv_func_$ac_func=yes"
16044 echo "configure: failed program was:" >&5
16045 cat conftest.$ac_ext >&5
16047 eval "ac_cv_func_$ac_func=no"
16052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16053 echo "$ac_t""yes" 1>&6
16054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16055 cat >> confdefs.h <<EOF
16056 #define $ac_tr_func 1
16060 echo "$ac_t""no" 1>&6
16069 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16070 echo "configure:16071: checking for long double trig functions" >&5
16071 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16072 echo $ac_n "(cached) $ac_c" 1>&6
16077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16078 ac_cpp='$CXXCPP $CPPFLAGS'
16079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16081 cross_compiling=$ac_cv_prog_cxx_cross
16083 cat > conftest.$ac_ext <<EOF
16084 #line 16085 "configure"
16085 #include "confdefs.h"
16088 `for x in acosl asinl atanl \
16090 coshl sinhl tanhl; do echo "$x (0);"; done`
16093 if { (eval echo configure:16094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16095 glibcpp_cv_func_long_double_trig_use=yes
16097 echo "configure: failed program was:" >&5
16098 cat conftest.$ac_ext >&5
16100 glibcpp_cv_func_long_double_trig_use=no
16104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16105 ac_cpp='$CPP $CPPFLAGS'
16106 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16107 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16108 cross_compiling=$ac_cv_prog_cc_cross
16112 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16113 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16114 for ac_func in acosl asinl atanl \
16118 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16119 echo "configure:16120: checking for $ac_func" >&5
16120 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16121 echo $ac_n "(cached) $ac_c" 1>&6
16123 cat > conftest.$ac_ext <<EOF
16124 #line 16125 "configure"
16125 #include "confdefs.h"
16126 /* System header to define __stub macros and hopefully few prototypes,
16127 which can conflict with char $ac_func(); below. */
16128 #include <assert.h>
16129 /* Override any gcc2 internal prototype to avoid an error. */
16130 /* We use char because int might match the return type of a gcc2
16131 builtin and then its argument prototype would still apply. */
16136 /* The GNU C library defines this for functions which it implements
16137 to always fail with ENOSYS. Some functions are actually named
16138 something starting with __ and the normal name is an alias. */
16139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16147 if { (eval echo configure:16148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16149 eval "ac_cv_func_$ac_func=yes"
16151 echo "configure: failed program was:" >&5
16152 cat conftest.$ac_ext >&5
16154 eval "ac_cv_func_$ac_func=no"
16159 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16160 echo "$ac_t""yes" 1>&6
16161 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16162 cat >> confdefs.h <<EOF
16163 #define $ac_tr_func 1
16167 echo "$ac_t""no" 1>&6
16174 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16175 echo "configure:16176: checking for long double round functions" >&5
16176 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16177 echo $ac_n "(cached) $ac_c" 1>&6
16182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16183 ac_cpp='$CXXCPP $CPPFLAGS'
16184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16186 cross_compiling=$ac_cv_prog_cxx_cross
16188 cat > conftest.$ac_ext <<EOF
16189 #line 16190 "configure"
16190 #include "confdefs.h"
16193 `for x in ceill floorl; do echo "$x (0);"; done`
16196 if { (eval echo configure:16197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16198 glibcpp_cv_func_long_double_round_use=yes
16200 echo "configure: failed program was:" >&5
16201 cat conftest.$ac_ext >&5
16203 glibcpp_cv_func_long_double_round_use=no
16207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16208 ac_cpp='$CPP $CPPFLAGS'
16209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16211 cross_compiling=$ac_cv_prog_cc_cross
16215 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16216 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16217 for ac_func in ceill floorl
16219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16220 echo "configure:16221: checking for $ac_func" >&5
16221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16222 echo $ac_n "(cached) $ac_c" 1>&6
16224 cat > conftest.$ac_ext <<EOF
16225 #line 16226 "configure"
16226 #include "confdefs.h"
16227 /* System header to define __stub macros and hopefully few prototypes,
16228 which can conflict with char $ac_func(); below. */
16229 #include <assert.h>
16230 /* Override any gcc2 internal prototype to avoid an error. */
16231 /* We use char because int might match the return type of a gcc2
16232 builtin and then its argument prototype would still apply. */
16237 /* The GNU C library defines this for functions which it implements
16238 to always fail with ENOSYS. Some functions are actually named
16239 something starting with __ and the normal name is an alias. */
16240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16248 if { (eval echo configure:16249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16250 eval "ac_cv_func_$ac_func=yes"
16252 echo "configure: failed program was:" >&5
16253 cat conftest.$ac_ext >&5
16255 eval "ac_cv_func_$ac_func=no"
16260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16261 echo "$ac_t""yes" 1>&6
16262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16263 cat >> confdefs.h <<EOF
16264 #define $ac_tr_func 1
16268 echo "$ac_t""no" 1>&6
16276 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16277 echo "configure:16278: checking for isnanl declaration" >&5
16278 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16279 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16280 echo $ac_n "(cached) $ac_c" 1>&6
16285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16286 ac_cpp='$CXXCPP $CPPFLAGS'
16287 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16288 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16289 cross_compiling=$ac_cv_prog_cxx_cross
16291 cat > conftest.$ac_ext <<EOF
16292 #line 16293 "configure"
16293 #include "confdefs.h"
16295 #ifdef HAVE_IEEEFP_H
16296 #include <ieeefp.h>
16303 if { (eval echo configure:16304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16305 glibcpp_cv_func_isnanl_use=yes
16307 echo "configure: failed program was:" >&5
16308 cat conftest.$ac_ext >&5
16310 glibcpp_cv_func_isnanl_use=no
16314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16315 ac_cpp='$CPP $CPPFLAGS'
16316 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16317 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16318 cross_compiling=$ac_cv_prog_cc_cross
16324 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16326 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16327 for ac_func in isnanl
16329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16330 echo "configure:16331: checking for $ac_func" >&5
16331 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16332 echo $ac_n "(cached) $ac_c" 1>&6
16334 cat > conftest.$ac_ext <<EOF
16335 #line 16336 "configure"
16336 #include "confdefs.h"
16337 /* System header to define __stub macros and hopefully few prototypes,
16338 which can conflict with char $ac_func(); below. */
16339 #include <assert.h>
16340 /* Override any gcc2 internal prototype to avoid an error. */
16341 /* We use char because int might match the return type of a gcc2
16342 builtin and then its argument prototype would still apply. */
16347 /* The GNU C library defines this for functions which it implements
16348 to always fail with ENOSYS. Some functions are actually named
16349 something starting with __ and the normal name is an alias. */
16350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16358 if { (eval echo configure:16359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16360 eval "ac_cv_func_$ac_func=yes"
16362 echo "configure: failed program was:" >&5
16363 cat conftest.$ac_ext >&5
16365 eval "ac_cv_func_$ac_func=no"
16370 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16371 echo "$ac_t""yes" 1>&6
16372 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16373 cat >> confdefs.h <<EOF
16374 #define $ac_tr_func 1
16378 echo "$ac_t""no" 1>&6
16384 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16385 echo "configure:16386: checking for _isnanl declaration" >&5
16386 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16387 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16388 echo $ac_n "(cached) $ac_c" 1>&6
16393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16394 ac_cpp='$CXXCPP $CPPFLAGS'
16395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16397 cross_compiling=$ac_cv_prog_cxx_cross
16399 cat > conftest.$ac_ext <<EOF
16400 #line 16401 "configure"
16401 #include "confdefs.h"
16403 #ifdef HAVE_IEEEFP_H
16404 #include <ieeefp.h>
16411 if { (eval echo configure:16412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16413 glibcpp_cv_func__isnanl_use=yes
16415 echo "configure: failed program was:" >&5
16416 cat conftest.$ac_ext >&5
16418 glibcpp_cv_func__isnanl_use=no
16422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16423 ac_cpp='$CPP $CPPFLAGS'
16424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16426 cross_compiling=$ac_cv_prog_cc_cross
16432 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16434 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16435 for ac_func in _isnanl
16437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16438 echo "configure:16439: checking for $ac_func" >&5
16439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16440 echo $ac_n "(cached) $ac_c" 1>&6
16442 cat > conftest.$ac_ext <<EOF
16443 #line 16444 "configure"
16444 #include "confdefs.h"
16445 /* System header to define __stub macros and hopefully few prototypes,
16446 which can conflict with char $ac_func(); below. */
16447 #include <assert.h>
16448 /* Override any gcc2 internal prototype to avoid an error. */
16449 /* We use char because int might match the return type of a gcc2
16450 builtin and then its argument prototype would still apply. */
16455 /* The GNU C library defines this for functions which it implements
16456 to always fail with ENOSYS. Some functions are actually named
16457 something starting with __ and the normal name is an alias. */
16458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16466 if { (eval echo configure:16467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16468 eval "ac_cv_func_$ac_func=yes"
16470 echo "configure: failed program was:" >&5
16471 cat conftest.$ac_ext >&5
16473 eval "ac_cv_func_$ac_func=no"
16478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16479 echo "$ac_t""yes" 1>&6
16480 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16481 cat >> confdefs.h <<EOF
16482 #define $ac_tr_func 1
16486 echo "$ac_t""no" 1>&6
16495 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16496 echo "configure:16497: checking for isinfl declaration" >&5
16497 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16498 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16499 echo $ac_n "(cached) $ac_c" 1>&6
16504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16505 ac_cpp='$CXXCPP $CPPFLAGS'
16506 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16507 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16508 cross_compiling=$ac_cv_prog_cxx_cross
16510 cat > conftest.$ac_ext <<EOF
16511 #line 16512 "configure"
16512 #include "confdefs.h"
16514 #ifdef HAVE_IEEEFP_H
16515 #include <ieeefp.h>
16522 if { (eval echo configure:16523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16524 glibcpp_cv_func_isinfl_use=yes
16526 echo "configure: failed program was:" >&5
16527 cat conftest.$ac_ext >&5
16529 glibcpp_cv_func_isinfl_use=no
16533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16534 ac_cpp='$CPP $CPPFLAGS'
16535 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16536 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16537 cross_compiling=$ac_cv_prog_cc_cross
16543 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16545 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16546 for ac_func in isinfl
16548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16549 echo "configure:16550: checking for $ac_func" >&5
16550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16551 echo $ac_n "(cached) $ac_c" 1>&6
16553 cat > conftest.$ac_ext <<EOF
16554 #line 16555 "configure"
16555 #include "confdefs.h"
16556 /* System header to define __stub macros and hopefully few prototypes,
16557 which can conflict with char $ac_func(); below. */
16558 #include <assert.h>
16559 /* Override any gcc2 internal prototype to avoid an error. */
16560 /* We use char because int might match the return type of a gcc2
16561 builtin and then its argument prototype would still apply. */
16566 /* The GNU C library defines this for functions which it implements
16567 to always fail with ENOSYS. Some functions are actually named
16568 something starting with __ and the normal name is an alias. */
16569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16577 if { (eval echo configure:16578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16579 eval "ac_cv_func_$ac_func=yes"
16581 echo "configure: failed program was:" >&5
16582 cat conftest.$ac_ext >&5
16584 eval "ac_cv_func_$ac_func=no"
16589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16590 echo "$ac_t""yes" 1>&6
16591 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16592 cat >> confdefs.h <<EOF
16593 #define $ac_tr_func 1
16597 echo "$ac_t""no" 1>&6
16603 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16604 echo "configure:16605: checking for _isinfl declaration" >&5
16605 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16606 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16607 echo $ac_n "(cached) $ac_c" 1>&6
16612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16613 ac_cpp='$CXXCPP $CPPFLAGS'
16614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16616 cross_compiling=$ac_cv_prog_cxx_cross
16618 cat > conftest.$ac_ext <<EOF
16619 #line 16620 "configure"
16620 #include "confdefs.h"
16622 #ifdef HAVE_IEEEFP_H
16623 #include <ieeefp.h>
16630 if { (eval echo configure:16631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16632 glibcpp_cv_func__isinfl_use=yes
16634 echo "configure: failed program was:" >&5
16635 cat conftest.$ac_ext >&5
16637 glibcpp_cv_func__isinfl_use=no
16641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16642 ac_cpp='$CPP $CPPFLAGS'
16643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16645 cross_compiling=$ac_cv_prog_cc_cross
16651 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16653 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16654 for ac_func in _isinfl
16656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16657 echo "configure:16658: checking for $ac_func" >&5
16658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16659 echo $ac_n "(cached) $ac_c" 1>&6
16661 cat > conftest.$ac_ext <<EOF
16662 #line 16663 "configure"
16663 #include "confdefs.h"
16664 /* System header to define __stub macros and hopefully few prototypes,
16665 which can conflict with char $ac_func(); below. */
16666 #include <assert.h>
16667 /* Override any gcc2 internal prototype to avoid an error. */
16668 /* We use char because int might match the return type of a gcc2
16669 builtin and then its argument prototype would still apply. */
16674 /* The GNU C library defines this for functions which it implements
16675 to always fail with ENOSYS. Some functions are actually named
16676 something starting with __ and the normal name is an alias. */
16677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16685 if { (eval echo configure:16686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16687 eval "ac_cv_func_$ac_func=yes"
16689 echo "configure: failed program was:" >&5
16690 cat conftest.$ac_ext >&5
16692 eval "ac_cv_func_$ac_func=no"
16697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16698 echo "$ac_t""yes" 1>&6
16699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16700 cat >> confdefs.h <<EOF
16701 #define $ac_tr_func 1
16705 echo "$ac_t""no" 1>&6
16714 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16715 echo "configure:16716: checking for copysignl declaration" >&5
16716 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16717 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16718 echo $ac_n "(cached) $ac_c" 1>&6
16723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16724 ac_cpp='$CXXCPP $CPPFLAGS'
16725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16727 cross_compiling=$ac_cv_prog_cxx_cross
16729 cat > conftest.$ac_ext <<EOF
16730 #line 16731 "configure"
16731 #include "confdefs.h"
16737 if { (eval echo configure:16738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16739 glibcpp_cv_func_copysignl_use=yes
16741 echo "configure: failed program was:" >&5
16742 cat conftest.$ac_ext >&5
16744 glibcpp_cv_func_copysignl_use=no
16748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16749 ac_cpp='$CPP $CPPFLAGS'
16750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16752 cross_compiling=$ac_cv_prog_cc_cross
16758 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16760 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16761 for ac_func in copysignl
16763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16764 echo "configure:16765: checking for $ac_func" >&5
16765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16766 echo $ac_n "(cached) $ac_c" 1>&6
16768 cat > conftest.$ac_ext <<EOF
16769 #line 16770 "configure"
16770 #include "confdefs.h"
16771 /* System header to define __stub macros and hopefully few prototypes,
16772 which can conflict with char $ac_func(); below. */
16773 #include <assert.h>
16774 /* Override any gcc2 internal prototype to avoid an error. */
16775 /* We use char because int might match the return type of a gcc2
16776 builtin and then its argument prototype would still apply. */
16781 /* The GNU C library defines this for functions which it implements
16782 to always fail with ENOSYS. Some functions are actually named
16783 something starting with __ and the normal name is an alias. */
16784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16792 if { (eval echo configure:16793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16794 eval "ac_cv_func_$ac_func=yes"
16796 echo "configure: failed program was:" >&5
16797 cat conftest.$ac_ext >&5
16799 eval "ac_cv_func_$ac_func=no"
16804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16805 echo "$ac_t""yes" 1>&6
16806 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16807 cat >> confdefs.h <<EOF
16808 #define $ac_tr_func 1
16812 echo "$ac_t""no" 1>&6
16818 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16819 echo "configure:16820: checking for _copysignl declaration" >&5
16820 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16821 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16822 echo $ac_n "(cached) $ac_c" 1>&6
16827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16828 ac_cpp='$CXXCPP $CPPFLAGS'
16829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16831 cross_compiling=$ac_cv_prog_cxx_cross
16833 cat > conftest.$ac_ext <<EOF
16834 #line 16835 "configure"
16835 #include "confdefs.h"
16841 if { (eval echo configure:16842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16843 glibcpp_cv_func__copysignl_use=yes
16845 echo "configure: failed program was:" >&5
16846 cat conftest.$ac_ext >&5
16848 glibcpp_cv_func__copysignl_use=no
16852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16853 ac_cpp='$CPP $CPPFLAGS'
16854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16856 cross_compiling=$ac_cv_prog_cc_cross
16862 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16864 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16865 for ac_func in _copysignl
16867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16868 echo "configure:16869: checking for $ac_func" >&5
16869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16870 echo $ac_n "(cached) $ac_c" 1>&6
16872 cat > conftest.$ac_ext <<EOF
16873 #line 16874 "configure"
16874 #include "confdefs.h"
16875 /* System header to define __stub macros and hopefully few prototypes,
16876 which can conflict with char $ac_func(); below. */
16877 #include <assert.h>
16878 /* Override any gcc2 internal prototype to avoid an error. */
16879 /* We use char because int might match the return type of a gcc2
16880 builtin and then its argument prototype would still apply. */
16885 /* The GNU C library defines this for functions which it implements
16886 to always fail with ENOSYS. Some functions are actually named
16887 something starting with __ and the normal name is an alias. */
16888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16896 if { (eval echo configure:16897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16898 eval "ac_cv_func_$ac_func=yes"
16900 echo "configure: failed program was:" >&5
16901 cat conftest.$ac_ext >&5
16903 eval "ac_cv_func_$ac_func=no"
16908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16909 echo "$ac_t""yes" 1>&6
16910 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16911 cat >> confdefs.h <<EOF
16912 #define $ac_tr_func 1
16916 echo "$ac_t""no" 1>&6
16925 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16926 echo "configure:16927: checking for atan2l declaration" >&5
16927 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16928 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16929 echo $ac_n "(cached) $ac_c" 1>&6
16934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16935 ac_cpp='$CXXCPP $CPPFLAGS'
16936 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16937 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16938 cross_compiling=$ac_cv_prog_cxx_cross
16940 cat > conftest.$ac_ext <<EOF
16941 #line 16942 "configure"
16942 #include "confdefs.h"
16948 if { (eval echo configure:16949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16950 glibcpp_cv_func_atan2l_use=yes
16952 echo "configure: failed program was:" >&5
16953 cat conftest.$ac_ext >&5
16955 glibcpp_cv_func_atan2l_use=no
16959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16960 ac_cpp='$CPP $CPPFLAGS'
16961 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16962 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16963 cross_compiling=$ac_cv_prog_cc_cross
16969 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16971 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16972 for ac_func in atan2l
16974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16975 echo "configure:16976: checking for $ac_func" >&5
16976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16977 echo $ac_n "(cached) $ac_c" 1>&6
16979 cat > conftest.$ac_ext <<EOF
16980 #line 16981 "configure"
16981 #include "confdefs.h"
16982 /* System header to define __stub macros and hopefully few prototypes,
16983 which can conflict with char $ac_func(); below. */
16984 #include <assert.h>
16985 /* Override any gcc2 internal prototype to avoid an error. */
16986 /* We use char because int might match the return type of a gcc2
16987 builtin and then its argument prototype would still apply. */
16992 /* The GNU C library defines this for functions which it implements
16993 to always fail with ENOSYS. Some functions are actually named
16994 something starting with __ and the normal name is an alias. */
16995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17003 if { (eval echo configure:17004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17005 eval "ac_cv_func_$ac_func=yes"
17007 echo "configure: failed program was:" >&5
17008 cat conftest.$ac_ext >&5
17010 eval "ac_cv_func_$ac_func=no"
17015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17016 echo "$ac_t""yes" 1>&6
17017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17018 cat >> confdefs.h <<EOF
17019 #define $ac_tr_func 1
17023 echo "$ac_t""no" 1>&6
17029 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17030 echo "configure:17031: checking for _atan2l declaration" >&5
17031 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17032 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17033 echo $ac_n "(cached) $ac_c" 1>&6
17038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17039 ac_cpp='$CXXCPP $CPPFLAGS'
17040 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17041 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17042 cross_compiling=$ac_cv_prog_cxx_cross
17044 cat > conftest.$ac_ext <<EOF
17045 #line 17046 "configure"
17046 #include "confdefs.h"
17052 if { (eval echo configure:17053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17054 glibcpp_cv_func__atan2l_use=yes
17056 echo "configure: failed program was:" >&5
17057 cat conftest.$ac_ext >&5
17059 glibcpp_cv_func__atan2l_use=no
17063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17064 ac_cpp='$CPP $CPPFLAGS'
17065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17067 cross_compiling=$ac_cv_prog_cc_cross
17073 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17075 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17076 for ac_func in _atan2l
17078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17079 echo "configure:17080: checking for $ac_func" >&5
17080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17081 echo $ac_n "(cached) $ac_c" 1>&6
17083 cat > conftest.$ac_ext <<EOF
17084 #line 17085 "configure"
17085 #include "confdefs.h"
17086 /* System header to define __stub macros and hopefully few prototypes,
17087 which can conflict with char $ac_func(); below. */
17088 #include <assert.h>
17089 /* Override any gcc2 internal prototype to avoid an error. */
17090 /* We use char because int might match the return type of a gcc2
17091 builtin and then its argument prototype would still apply. */
17096 /* The GNU C library defines this for functions which it implements
17097 to always fail with ENOSYS. Some functions are actually named
17098 something starting with __ and the normal name is an alias. */
17099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17107 if { (eval echo configure:17108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17109 eval "ac_cv_func_$ac_func=yes"
17111 echo "configure: failed program was:" >&5
17112 cat conftest.$ac_ext >&5
17114 eval "ac_cv_func_$ac_func=no"
17119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17120 echo "$ac_t""yes" 1>&6
17121 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17122 cat >> confdefs.h <<EOF
17123 #define $ac_tr_func 1
17127 echo "$ac_t""no" 1>&6
17136 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17137 echo "configure:17138: checking for expl declaration" >&5
17138 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17139 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17140 echo $ac_n "(cached) $ac_c" 1>&6
17145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17146 ac_cpp='$CXXCPP $CPPFLAGS'
17147 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17148 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17149 cross_compiling=$ac_cv_prog_cxx_cross
17151 cat > conftest.$ac_ext <<EOF
17152 #line 17153 "configure"
17153 #include "confdefs.h"
17155 #ifdef HAVE_IEEEFP_H
17156 #include <ieeefp.h>
17163 if { (eval echo configure:17164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17165 glibcpp_cv_func_expl_use=yes
17167 echo "configure: failed program was:" >&5
17168 cat conftest.$ac_ext >&5
17170 glibcpp_cv_func_expl_use=no
17174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17175 ac_cpp='$CPP $CPPFLAGS'
17176 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17177 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17178 cross_compiling=$ac_cv_prog_cc_cross
17184 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17186 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17187 for ac_func in expl
17189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17190 echo "configure:17191: checking for $ac_func" >&5
17191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17192 echo $ac_n "(cached) $ac_c" 1>&6
17194 cat > conftest.$ac_ext <<EOF
17195 #line 17196 "configure"
17196 #include "confdefs.h"
17197 /* System header to define __stub macros and hopefully few prototypes,
17198 which can conflict with char $ac_func(); below. */
17199 #include <assert.h>
17200 /* Override any gcc2 internal prototype to avoid an error. */
17201 /* We use char because int might match the return type of a gcc2
17202 builtin and then its argument prototype would still apply. */
17207 /* The GNU C library defines this for functions which it implements
17208 to always fail with ENOSYS. Some functions are actually named
17209 something starting with __ and the normal name is an alias. */
17210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17218 if { (eval echo configure:17219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17220 eval "ac_cv_func_$ac_func=yes"
17222 echo "configure: failed program was:" >&5
17223 cat conftest.$ac_ext >&5
17225 eval "ac_cv_func_$ac_func=no"
17230 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17231 echo "$ac_t""yes" 1>&6
17232 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17233 cat >> confdefs.h <<EOF
17234 #define $ac_tr_func 1
17238 echo "$ac_t""no" 1>&6
17244 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17245 echo "configure:17246: checking for _expl declaration" >&5
17246 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17247 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17248 echo $ac_n "(cached) $ac_c" 1>&6
17253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17254 ac_cpp='$CXXCPP $CPPFLAGS'
17255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17257 cross_compiling=$ac_cv_prog_cxx_cross
17259 cat > conftest.$ac_ext <<EOF
17260 #line 17261 "configure"
17261 #include "confdefs.h"
17263 #ifdef HAVE_IEEEFP_H
17264 #include <ieeefp.h>
17271 if { (eval echo configure:17272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17273 glibcpp_cv_func__expl_use=yes
17275 echo "configure: failed program was:" >&5
17276 cat conftest.$ac_ext >&5
17278 glibcpp_cv_func__expl_use=no
17282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17283 ac_cpp='$CPP $CPPFLAGS'
17284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17286 cross_compiling=$ac_cv_prog_cc_cross
17292 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17294 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17295 for ac_func in _expl
17297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17298 echo "configure:17299: checking for $ac_func" >&5
17299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17300 echo $ac_n "(cached) $ac_c" 1>&6
17302 cat > conftest.$ac_ext <<EOF
17303 #line 17304 "configure"
17304 #include "confdefs.h"
17305 /* System header to define __stub macros and hopefully few prototypes,
17306 which can conflict with char $ac_func(); below. */
17307 #include <assert.h>
17308 /* Override any gcc2 internal prototype to avoid an error. */
17309 /* We use char because int might match the return type of a gcc2
17310 builtin and then its argument prototype would still apply. */
17315 /* The GNU C library defines this for functions which it implements
17316 to always fail with ENOSYS. Some functions are actually named
17317 something starting with __ and the normal name is an alias. */
17318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17326 if { (eval echo configure:17327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17328 eval "ac_cv_func_$ac_func=yes"
17330 echo "configure: failed program was:" >&5
17331 cat conftest.$ac_ext >&5
17333 eval "ac_cv_func_$ac_func=no"
17338 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17339 echo "$ac_t""yes" 1>&6
17340 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17341 cat >> confdefs.h <<EOF
17342 #define $ac_tr_func 1
17346 echo "$ac_t""no" 1>&6
17355 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17356 echo "configure:17357: checking for fabsl declaration" >&5
17357 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17358 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17359 echo $ac_n "(cached) $ac_c" 1>&6
17364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17365 ac_cpp='$CXXCPP $CPPFLAGS'
17366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17368 cross_compiling=$ac_cv_prog_cxx_cross
17370 cat > conftest.$ac_ext <<EOF
17371 #line 17372 "configure"
17372 #include "confdefs.h"
17374 #ifdef HAVE_IEEEFP_H
17375 #include <ieeefp.h>
17382 if { (eval echo configure:17383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17384 glibcpp_cv_func_fabsl_use=yes
17386 echo "configure: failed program was:" >&5
17387 cat conftest.$ac_ext >&5
17389 glibcpp_cv_func_fabsl_use=no
17393 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17394 ac_cpp='$CPP $CPPFLAGS'
17395 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17396 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17397 cross_compiling=$ac_cv_prog_cc_cross
17403 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17405 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17406 for ac_func in fabsl
17408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17409 echo "configure:17410: checking for $ac_func" >&5
17410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17411 echo $ac_n "(cached) $ac_c" 1>&6
17413 cat > conftest.$ac_ext <<EOF
17414 #line 17415 "configure"
17415 #include "confdefs.h"
17416 /* System header to define __stub macros and hopefully few prototypes,
17417 which can conflict with char $ac_func(); below. */
17418 #include <assert.h>
17419 /* Override any gcc2 internal prototype to avoid an error. */
17420 /* We use char because int might match the return type of a gcc2
17421 builtin and then its argument prototype would still apply. */
17426 /* The GNU C library defines this for functions which it implements
17427 to always fail with ENOSYS. Some functions are actually named
17428 something starting with __ and the normal name is an alias. */
17429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17437 if { (eval echo configure:17438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17439 eval "ac_cv_func_$ac_func=yes"
17441 echo "configure: failed program was:" >&5
17442 cat conftest.$ac_ext >&5
17444 eval "ac_cv_func_$ac_func=no"
17449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17450 echo "$ac_t""yes" 1>&6
17451 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17452 cat >> confdefs.h <<EOF
17453 #define $ac_tr_func 1
17457 echo "$ac_t""no" 1>&6
17463 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17464 echo "configure:17465: checking for _fabsl declaration" >&5
17465 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17466 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17467 echo $ac_n "(cached) $ac_c" 1>&6
17472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17473 ac_cpp='$CXXCPP $CPPFLAGS'
17474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17476 cross_compiling=$ac_cv_prog_cxx_cross
17478 cat > conftest.$ac_ext <<EOF
17479 #line 17480 "configure"
17480 #include "confdefs.h"
17482 #ifdef HAVE_IEEEFP_H
17483 #include <ieeefp.h>
17490 if { (eval echo configure:17491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17492 glibcpp_cv_func__fabsl_use=yes
17494 echo "configure: failed program was:" >&5
17495 cat conftest.$ac_ext >&5
17497 glibcpp_cv_func__fabsl_use=no
17501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17502 ac_cpp='$CPP $CPPFLAGS'
17503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17505 cross_compiling=$ac_cv_prog_cc_cross
17511 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17513 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17514 for ac_func in _fabsl
17516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17517 echo "configure:17518: checking for $ac_func" >&5
17518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17519 echo $ac_n "(cached) $ac_c" 1>&6
17521 cat > conftest.$ac_ext <<EOF
17522 #line 17523 "configure"
17523 #include "confdefs.h"
17524 /* System header to define __stub macros and hopefully few prototypes,
17525 which can conflict with char $ac_func(); below. */
17526 #include <assert.h>
17527 /* Override any gcc2 internal prototype to avoid an error. */
17528 /* We use char because int might match the return type of a gcc2
17529 builtin and then its argument prototype would still apply. */
17534 /* The GNU C library defines this for functions which it implements
17535 to always fail with ENOSYS. Some functions are actually named
17536 something starting with __ and the normal name is an alias. */
17537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17545 if { (eval echo configure:17546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17547 eval "ac_cv_func_$ac_func=yes"
17549 echo "configure: failed program was:" >&5
17550 cat conftest.$ac_ext >&5
17552 eval "ac_cv_func_$ac_func=no"
17557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17558 echo "$ac_t""yes" 1>&6
17559 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17560 cat >> confdefs.h <<EOF
17561 #define $ac_tr_func 1
17565 echo "$ac_t""no" 1>&6
17574 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17575 echo "configure:17576: checking for fmodl declaration" >&5
17576 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17577 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17578 echo $ac_n "(cached) $ac_c" 1>&6
17583 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17584 ac_cpp='$CXXCPP $CPPFLAGS'
17585 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17586 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17587 cross_compiling=$ac_cv_prog_cxx_cross
17589 cat > conftest.$ac_ext <<EOF
17590 #line 17591 "configure"
17591 #include "confdefs.h"
17597 if { (eval echo configure:17598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17599 glibcpp_cv_func_fmodl_use=yes
17601 echo "configure: failed program was:" >&5
17602 cat conftest.$ac_ext >&5
17604 glibcpp_cv_func_fmodl_use=no
17608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17609 ac_cpp='$CPP $CPPFLAGS'
17610 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17611 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17612 cross_compiling=$ac_cv_prog_cc_cross
17618 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17620 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17621 for ac_func in fmodl
17623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17624 echo "configure:17625: checking for $ac_func" >&5
17625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17626 echo $ac_n "(cached) $ac_c" 1>&6
17628 cat > conftest.$ac_ext <<EOF
17629 #line 17630 "configure"
17630 #include "confdefs.h"
17631 /* System header to define __stub macros and hopefully few prototypes,
17632 which can conflict with char $ac_func(); below. */
17633 #include <assert.h>
17634 /* Override any gcc2 internal prototype to avoid an error. */
17635 /* We use char because int might match the return type of a gcc2
17636 builtin and then its argument prototype would still apply. */
17641 /* The GNU C library defines this for functions which it implements
17642 to always fail with ENOSYS. Some functions are actually named
17643 something starting with __ and the normal name is an alias. */
17644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17652 if { (eval echo configure:17653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17654 eval "ac_cv_func_$ac_func=yes"
17656 echo "configure: failed program was:" >&5
17657 cat conftest.$ac_ext >&5
17659 eval "ac_cv_func_$ac_func=no"
17664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17665 echo "$ac_t""yes" 1>&6
17666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17667 cat >> confdefs.h <<EOF
17668 #define $ac_tr_func 1
17672 echo "$ac_t""no" 1>&6
17678 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17679 echo "configure:17680: checking for _fmodl declaration" >&5
17680 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17681 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17682 echo $ac_n "(cached) $ac_c" 1>&6
17687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17688 ac_cpp='$CXXCPP $CPPFLAGS'
17689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17691 cross_compiling=$ac_cv_prog_cxx_cross
17693 cat > conftest.$ac_ext <<EOF
17694 #line 17695 "configure"
17695 #include "confdefs.h"
17701 if { (eval echo configure:17702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17703 glibcpp_cv_func__fmodl_use=yes
17705 echo "configure: failed program was:" >&5
17706 cat conftest.$ac_ext >&5
17708 glibcpp_cv_func__fmodl_use=no
17712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17713 ac_cpp='$CPP $CPPFLAGS'
17714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17716 cross_compiling=$ac_cv_prog_cc_cross
17722 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17724 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17725 for ac_func in _fmodl
17727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17728 echo "configure:17729: checking for $ac_func" >&5
17729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17730 echo $ac_n "(cached) $ac_c" 1>&6
17732 cat > conftest.$ac_ext <<EOF
17733 #line 17734 "configure"
17734 #include "confdefs.h"
17735 /* System header to define __stub macros and hopefully few prototypes,
17736 which can conflict with char $ac_func(); below. */
17737 #include <assert.h>
17738 /* Override any gcc2 internal prototype to avoid an error. */
17739 /* We use char because int might match the return type of a gcc2
17740 builtin and then its argument prototype would still apply. */
17745 /* The GNU C library defines this for functions which it implements
17746 to always fail with ENOSYS. Some functions are actually named
17747 something starting with __ and the normal name is an alias. */
17748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17756 if { (eval echo configure:17757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17758 eval "ac_cv_func_$ac_func=yes"
17760 echo "configure: failed program was:" >&5
17761 cat conftest.$ac_ext >&5
17763 eval "ac_cv_func_$ac_func=no"
17768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17769 echo "$ac_t""yes" 1>&6
17770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17771 cat >> confdefs.h <<EOF
17772 #define $ac_tr_func 1
17776 echo "$ac_t""no" 1>&6
17785 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17786 echo "configure:17787: checking for frexpl declaration" >&5
17787 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17788 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17789 echo $ac_n "(cached) $ac_c" 1>&6
17794 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17795 ac_cpp='$CXXCPP $CPPFLAGS'
17796 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17797 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17798 cross_compiling=$ac_cv_prog_cxx_cross
17800 cat > conftest.$ac_ext <<EOF
17801 #line 17802 "configure"
17802 #include "confdefs.h"
17808 if { (eval echo configure:17809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17810 glibcpp_cv_func_frexpl_use=yes
17812 echo "configure: failed program was:" >&5
17813 cat conftest.$ac_ext >&5
17815 glibcpp_cv_func_frexpl_use=no
17819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17820 ac_cpp='$CPP $CPPFLAGS'
17821 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17822 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17823 cross_compiling=$ac_cv_prog_cc_cross
17829 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17831 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17832 for ac_func in frexpl
17834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17835 echo "configure:17836: checking for $ac_func" >&5
17836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17837 echo $ac_n "(cached) $ac_c" 1>&6
17839 cat > conftest.$ac_ext <<EOF
17840 #line 17841 "configure"
17841 #include "confdefs.h"
17842 /* System header to define __stub macros and hopefully few prototypes,
17843 which can conflict with char $ac_func(); below. */
17844 #include <assert.h>
17845 /* Override any gcc2 internal prototype to avoid an error. */
17846 /* We use char because int might match the return type of a gcc2
17847 builtin and then its argument prototype would still apply. */
17852 /* The GNU C library defines this for functions which it implements
17853 to always fail with ENOSYS. Some functions are actually named
17854 something starting with __ and the normal name is an alias. */
17855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17863 if { (eval echo configure:17864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17865 eval "ac_cv_func_$ac_func=yes"
17867 echo "configure: failed program was:" >&5
17868 cat conftest.$ac_ext >&5
17870 eval "ac_cv_func_$ac_func=no"
17875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17876 echo "$ac_t""yes" 1>&6
17877 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17878 cat >> confdefs.h <<EOF
17879 #define $ac_tr_func 1
17883 echo "$ac_t""no" 1>&6
17889 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17890 echo "configure:17891: checking for _frexpl declaration" >&5
17891 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17892 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17893 echo $ac_n "(cached) $ac_c" 1>&6
17898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17899 ac_cpp='$CXXCPP $CPPFLAGS'
17900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17902 cross_compiling=$ac_cv_prog_cxx_cross
17904 cat > conftest.$ac_ext <<EOF
17905 #line 17906 "configure"
17906 #include "confdefs.h"
17912 if { (eval echo configure:17913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17914 glibcpp_cv_func__frexpl_use=yes
17916 echo "configure: failed program was:" >&5
17917 cat conftest.$ac_ext >&5
17919 glibcpp_cv_func__frexpl_use=no
17923 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17924 ac_cpp='$CPP $CPPFLAGS'
17925 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17926 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17927 cross_compiling=$ac_cv_prog_cc_cross
17933 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17935 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17936 for ac_func in _frexpl
17938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17939 echo "configure:17940: checking for $ac_func" >&5
17940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17941 echo $ac_n "(cached) $ac_c" 1>&6
17943 cat > conftest.$ac_ext <<EOF
17944 #line 17945 "configure"
17945 #include "confdefs.h"
17946 /* System header to define __stub macros and hopefully few prototypes,
17947 which can conflict with char $ac_func(); below. */
17948 #include <assert.h>
17949 /* Override any gcc2 internal prototype to avoid an error. */
17950 /* We use char because int might match the return type of a gcc2
17951 builtin and then its argument prototype would still apply. */
17956 /* The GNU C library defines this for functions which it implements
17957 to always fail with ENOSYS. Some functions are actually named
17958 something starting with __ and the normal name is an alias. */
17959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17967 if { (eval echo configure:17968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17969 eval "ac_cv_func_$ac_func=yes"
17971 echo "configure: failed program was:" >&5
17972 cat conftest.$ac_ext >&5
17974 eval "ac_cv_func_$ac_func=no"
17979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17980 echo "$ac_t""yes" 1>&6
17981 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17982 cat >> confdefs.h <<EOF
17983 #define $ac_tr_func 1
17987 echo "$ac_t""no" 1>&6
17996 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
17997 echo "configure:17998: checking for hypotl declaration" >&5
17998 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
17999 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18000 echo $ac_n "(cached) $ac_c" 1>&6
18005 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18006 ac_cpp='$CXXCPP $CPPFLAGS'
18007 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18008 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18009 cross_compiling=$ac_cv_prog_cxx_cross
18011 cat > conftest.$ac_ext <<EOF
18012 #line 18013 "configure"
18013 #include "confdefs.h"
18019 if { (eval echo configure:18020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18021 glibcpp_cv_func_hypotl_use=yes
18023 echo "configure: failed program was:" >&5
18024 cat conftest.$ac_ext >&5
18026 glibcpp_cv_func_hypotl_use=no
18030 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18031 ac_cpp='$CPP $CPPFLAGS'
18032 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18033 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18034 cross_compiling=$ac_cv_prog_cc_cross
18040 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18042 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18043 for ac_func in hypotl
18045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18046 echo "configure:18047: checking for $ac_func" >&5
18047 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18048 echo $ac_n "(cached) $ac_c" 1>&6
18050 cat > conftest.$ac_ext <<EOF
18051 #line 18052 "configure"
18052 #include "confdefs.h"
18053 /* System header to define __stub macros and hopefully few prototypes,
18054 which can conflict with char $ac_func(); below. */
18055 #include <assert.h>
18056 /* Override any gcc2 internal prototype to avoid an error. */
18057 /* We use char because int might match the return type of a gcc2
18058 builtin and then its argument prototype would still apply. */
18063 /* The GNU C library defines this for functions which it implements
18064 to always fail with ENOSYS. Some functions are actually named
18065 something starting with __ and the normal name is an alias. */
18066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18074 if { (eval echo configure:18075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18076 eval "ac_cv_func_$ac_func=yes"
18078 echo "configure: failed program was:" >&5
18079 cat conftest.$ac_ext >&5
18081 eval "ac_cv_func_$ac_func=no"
18086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18087 echo "$ac_t""yes" 1>&6
18088 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18089 cat >> confdefs.h <<EOF
18090 #define $ac_tr_func 1
18094 echo "$ac_t""no" 1>&6
18100 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18101 echo "configure:18102: checking for _hypotl declaration" >&5
18102 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18103 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18104 echo $ac_n "(cached) $ac_c" 1>&6
18109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18110 ac_cpp='$CXXCPP $CPPFLAGS'
18111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18113 cross_compiling=$ac_cv_prog_cxx_cross
18115 cat > conftest.$ac_ext <<EOF
18116 #line 18117 "configure"
18117 #include "confdefs.h"
18123 if { (eval echo configure:18124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18125 glibcpp_cv_func__hypotl_use=yes
18127 echo "configure: failed program was:" >&5
18128 cat conftest.$ac_ext >&5
18130 glibcpp_cv_func__hypotl_use=no
18134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18135 ac_cpp='$CPP $CPPFLAGS'
18136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18138 cross_compiling=$ac_cv_prog_cc_cross
18144 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18146 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18147 for ac_func in _hypotl
18149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18150 echo "configure:18151: checking for $ac_func" >&5
18151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18152 echo $ac_n "(cached) $ac_c" 1>&6
18154 cat > conftest.$ac_ext <<EOF
18155 #line 18156 "configure"
18156 #include "confdefs.h"
18157 /* System header to define __stub macros and hopefully few prototypes,
18158 which can conflict with char $ac_func(); below. */
18159 #include <assert.h>
18160 /* Override any gcc2 internal prototype to avoid an error. */
18161 /* We use char because int might match the return type of a gcc2
18162 builtin and then its argument prototype would still apply. */
18167 /* The GNU C library defines this for functions which it implements
18168 to always fail with ENOSYS. Some functions are actually named
18169 something starting with __ and the normal name is an alias. */
18170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18178 if { (eval echo configure:18179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18180 eval "ac_cv_func_$ac_func=yes"
18182 echo "configure: failed program was:" >&5
18183 cat conftest.$ac_ext >&5
18185 eval "ac_cv_func_$ac_func=no"
18190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18191 echo "$ac_t""yes" 1>&6
18192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18193 cat >> confdefs.h <<EOF
18194 #define $ac_tr_func 1
18198 echo "$ac_t""no" 1>&6
18207 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18208 echo "configure:18209: checking for ldexpl declaration" >&5
18209 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18210 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18211 echo $ac_n "(cached) $ac_c" 1>&6
18216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18217 ac_cpp='$CXXCPP $CPPFLAGS'
18218 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18219 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18220 cross_compiling=$ac_cv_prog_cxx_cross
18222 cat > conftest.$ac_ext <<EOF
18223 #line 18224 "configure"
18224 #include "confdefs.h"
18230 if { (eval echo configure:18231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18232 glibcpp_cv_func_ldexpl_use=yes
18234 echo "configure: failed program was:" >&5
18235 cat conftest.$ac_ext >&5
18237 glibcpp_cv_func_ldexpl_use=no
18241 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18242 ac_cpp='$CPP $CPPFLAGS'
18243 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18244 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18245 cross_compiling=$ac_cv_prog_cc_cross
18251 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18253 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18254 for ac_func in ldexpl
18256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18257 echo "configure:18258: checking for $ac_func" >&5
18258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18259 echo $ac_n "(cached) $ac_c" 1>&6
18261 cat > conftest.$ac_ext <<EOF
18262 #line 18263 "configure"
18263 #include "confdefs.h"
18264 /* System header to define __stub macros and hopefully few prototypes,
18265 which can conflict with char $ac_func(); below. */
18266 #include <assert.h>
18267 /* Override any gcc2 internal prototype to avoid an error. */
18268 /* We use char because int might match the return type of a gcc2
18269 builtin and then its argument prototype would still apply. */
18274 /* The GNU C library defines this for functions which it implements
18275 to always fail with ENOSYS. Some functions are actually named
18276 something starting with __ and the normal name is an alias. */
18277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18285 if { (eval echo configure:18286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18287 eval "ac_cv_func_$ac_func=yes"
18289 echo "configure: failed program was:" >&5
18290 cat conftest.$ac_ext >&5
18292 eval "ac_cv_func_$ac_func=no"
18297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18298 echo "$ac_t""yes" 1>&6
18299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18300 cat >> confdefs.h <<EOF
18301 #define $ac_tr_func 1
18305 echo "$ac_t""no" 1>&6
18311 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18312 echo "configure:18313: checking for _ldexpl declaration" >&5
18313 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18314 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18315 echo $ac_n "(cached) $ac_c" 1>&6
18320 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18321 ac_cpp='$CXXCPP $CPPFLAGS'
18322 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18323 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18324 cross_compiling=$ac_cv_prog_cxx_cross
18326 cat > conftest.$ac_ext <<EOF
18327 #line 18328 "configure"
18328 #include "confdefs.h"
18334 if { (eval echo configure:18335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18336 glibcpp_cv_func__ldexpl_use=yes
18338 echo "configure: failed program was:" >&5
18339 cat conftest.$ac_ext >&5
18341 glibcpp_cv_func__ldexpl_use=no
18345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18346 ac_cpp='$CPP $CPPFLAGS'
18347 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18348 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18349 cross_compiling=$ac_cv_prog_cc_cross
18355 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18357 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18358 for ac_func in _ldexpl
18360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18361 echo "configure:18362: checking for $ac_func" >&5
18362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18363 echo $ac_n "(cached) $ac_c" 1>&6
18365 cat > conftest.$ac_ext <<EOF
18366 #line 18367 "configure"
18367 #include "confdefs.h"
18368 /* System header to define __stub macros and hopefully few prototypes,
18369 which can conflict with char $ac_func(); below. */
18370 #include <assert.h>
18371 /* Override any gcc2 internal prototype to avoid an error. */
18372 /* We use char because int might match the return type of a gcc2
18373 builtin and then its argument prototype would still apply. */
18378 /* The GNU C library defines this for functions which it implements
18379 to always fail with ENOSYS. Some functions are actually named
18380 something starting with __ and the normal name is an alias. */
18381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18389 if { (eval echo configure:18390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18391 eval "ac_cv_func_$ac_func=yes"
18393 echo "configure: failed program was:" >&5
18394 cat conftest.$ac_ext >&5
18396 eval "ac_cv_func_$ac_func=no"
18401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18402 echo "$ac_t""yes" 1>&6
18403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18404 cat >> confdefs.h <<EOF
18405 #define $ac_tr_func 1
18409 echo "$ac_t""no" 1>&6
18418 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18419 echo "configure:18420: checking for logl declaration" >&5
18420 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18421 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18422 echo $ac_n "(cached) $ac_c" 1>&6
18427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18428 ac_cpp='$CXXCPP $CPPFLAGS'
18429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18431 cross_compiling=$ac_cv_prog_cxx_cross
18433 cat > conftest.$ac_ext <<EOF
18434 #line 18435 "configure"
18435 #include "confdefs.h"
18437 #ifdef HAVE_IEEEFP_H
18438 #include <ieeefp.h>
18445 if { (eval echo configure:18446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18447 glibcpp_cv_func_logl_use=yes
18449 echo "configure: failed program was:" >&5
18450 cat conftest.$ac_ext >&5
18452 glibcpp_cv_func_logl_use=no
18456 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18457 ac_cpp='$CPP $CPPFLAGS'
18458 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18459 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18460 cross_compiling=$ac_cv_prog_cc_cross
18466 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18468 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18469 for ac_func in logl
18471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18472 echo "configure:18473: checking for $ac_func" >&5
18473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18474 echo $ac_n "(cached) $ac_c" 1>&6
18476 cat > conftest.$ac_ext <<EOF
18477 #line 18478 "configure"
18478 #include "confdefs.h"
18479 /* System header to define __stub macros and hopefully few prototypes,
18480 which can conflict with char $ac_func(); below. */
18481 #include <assert.h>
18482 /* Override any gcc2 internal prototype to avoid an error. */
18483 /* We use char because int might match the return type of a gcc2
18484 builtin and then its argument prototype would still apply. */
18489 /* The GNU C library defines this for functions which it implements
18490 to always fail with ENOSYS. Some functions are actually named
18491 something starting with __ and the normal name is an alias. */
18492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18500 if { (eval echo configure:18501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18502 eval "ac_cv_func_$ac_func=yes"
18504 echo "configure: failed program was:" >&5
18505 cat conftest.$ac_ext >&5
18507 eval "ac_cv_func_$ac_func=no"
18512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18513 echo "$ac_t""yes" 1>&6
18514 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18515 cat >> confdefs.h <<EOF
18516 #define $ac_tr_func 1
18520 echo "$ac_t""no" 1>&6
18526 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18527 echo "configure:18528: checking for _logl declaration" >&5
18528 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18529 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18530 echo $ac_n "(cached) $ac_c" 1>&6
18535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18536 ac_cpp='$CXXCPP $CPPFLAGS'
18537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18539 cross_compiling=$ac_cv_prog_cxx_cross
18541 cat > conftest.$ac_ext <<EOF
18542 #line 18543 "configure"
18543 #include "confdefs.h"
18545 #ifdef HAVE_IEEEFP_H
18546 #include <ieeefp.h>
18553 if { (eval echo configure:18554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18555 glibcpp_cv_func__logl_use=yes
18557 echo "configure: failed program was:" >&5
18558 cat conftest.$ac_ext >&5
18560 glibcpp_cv_func__logl_use=no
18564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18565 ac_cpp='$CPP $CPPFLAGS'
18566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18568 cross_compiling=$ac_cv_prog_cc_cross
18574 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18576 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18577 for ac_func in _logl
18579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18580 echo "configure:18581: checking for $ac_func" >&5
18581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18582 echo $ac_n "(cached) $ac_c" 1>&6
18584 cat > conftest.$ac_ext <<EOF
18585 #line 18586 "configure"
18586 #include "confdefs.h"
18587 /* System header to define __stub macros and hopefully few prototypes,
18588 which can conflict with char $ac_func(); below. */
18589 #include <assert.h>
18590 /* Override any gcc2 internal prototype to avoid an error. */
18591 /* We use char because int might match the return type of a gcc2
18592 builtin and then its argument prototype would still apply. */
18597 /* The GNU C library defines this for functions which it implements
18598 to always fail with ENOSYS. Some functions are actually named
18599 something starting with __ and the normal name is an alias. */
18600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18608 if { (eval echo configure:18609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18610 eval "ac_cv_func_$ac_func=yes"
18612 echo "configure: failed program was:" >&5
18613 cat conftest.$ac_ext >&5
18615 eval "ac_cv_func_$ac_func=no"
18620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18621 echo "$ac_t""yes" 1>&6
18622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18623 cat >> confdefs.h <<EOF
18624 #define $ac_tr_func 1
18628 echo "$ac_t""no" 1>&6
18637 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18638 echo "configure:18639: checking for log10l declaration" >&5
18639 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18640 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18641 echo $ac_n "(cached) $ac_c" 1>&6
18646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18647 ac_cpp='$CXXCPP $CPPFLAGS'
18648 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18649 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18650 cross_compiling=$ac_cv_prog_cxx_cross
18652 cat > conftest.$ac_ext <<EOF
18653 #line 18654 "configure"
18654 #include "confdefs.h"
18656 #ifdef HAVE_IEEEFP_H
18657 #include <ieeefp.h>
18664 if { (eval echo configure:18665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18666 glibcpp_cv_func_log10l_use=yes
18668 echo "configure: failed program was:" >&5
18669 cat conftest.$ac_ext >&5
18671 glibcpp_cv_func_log10l_use=no
18675 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18676 ac_cpp='$CPP $CPPFLAGS'
18677 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18678 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18679 cross_compiling=$ac_cv_prog_cc_cross
18685 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18687 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18688 for ac_func in log10l
18690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18691 echo "configure:18692: checking for $ac_func" >&5
18692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18693 echo $ac_n "(cached) $ac_c" 1>&6
18695 cat > conftest.$ac_ext <<EOF
18696 #line 18697 "configure"
18697 #include "confdefs.h"
18698 /* System header to define __stub macros and hopefully few prototypes,
18699 which can conflict with char $ac_func(); below. */
18700 #include <assert.h>
18701 /* Override any gcc2 internal prototype to avoid an error. */
18702 /* We use char because int might match the return type of a gcc2
18703 builtin and then its argument prototype would still apply. */
18708 /* The GNU C library defines this for functions which it implements
18709 to always fail with ENOSYS. Some functions are actually named
18710 something starting with __ and the normal name is an alias. */
18711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18719 if { (eval echo configure:18720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18721 eval "ac_cv_func_$ac_func=yes"
18723 echo "configure: failed program was:" >&5
18724 cat conftest.$ac_ext >&5
18726 eval "ac_cv_func_$ac_func=no"
18731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18732 echo "$ac_t""yes" 1>&6
18733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18734 cat >> confdefs.h <<EOF
18735 #define $ac_tr_func 1
18739 echo "$ac_t""no" 1>&6
18745 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18746 echo "configure:18747: checking for _log10l declaration" >&5
18747 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18748 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18749 echo $ac_n "(cached) $ac_c" 1>&6
18754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18755 ac_cpp='$CXXCPP $CPPFLAGS'
18756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18758 cross_compiling=$ac_cv_prog_cxx_cross
18760 cat > conftest.$ac_ext <<EOF
18761 #line 18762 "configure"
18762 #include "confdefs.h"
18764 #ifdef HAVE_IEEEFP_H
18765 #include <ieeefp.h>
18772 if { (eval echo configure:18773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18774 glibcpp_cv_func__log10l_use=yes
18776 echo "configure: failed program was:" >&5
18777 cat conftest.$ac_ext >&5
18779 glibcpp_cv_func__log10l_use=no
18783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18784 ac_cpp='$CPP $CPPFLAGS'
18785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18787 cross_compiling=$ac_cv_prog_cc_cross
18793 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18795 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18796 for ac_func in _log10l
18798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18799 echo "configure:18800: checking for $ac_func" >&5
18800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18801 echo $ac_n "(cached) $ac_c" 1>&6
18803 cat > conftest.$ac_ext <<EOF
18804 #line 18805 "configure"
18805 #include "confdefs.h"
18806 /* System header to define __stub macros and hopefully few prototypes,
18807 which can conflict with char $ac_func(); below. */
18808 #include <assert.h>
18809 /* Override any gcc2 internal prototype to avoid an error. */
18810 /* We use char because int might match the return type of a gcc2
18811 builtin and then its argument prototype would still apply. */
18816 /* The GNU C library defines this for functions which it implements
18817 to always fail with ENOSYS. Some functions are actually named
18818 something starting with __ and the normal name is an alias. */
18819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18827 if { (eval echo configure:18828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18829 eval "ac_cv_func_$ac_func=yes"
18831 echo "configure: failed program was:" >&5
18832 cat conftest.$ac_ext >&5
18834 eval "ac_cv_func_$ac_func=no"
18839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18840 echo "$ac_t""yes" 1>&6
18841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18842 cat >> confdefs.h <<EOF
18843 #define $ac_tr_func 1
18847 echo "$ac_t""no" 1>&6
18856 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18857 echo "configure:18858: checking for modfl declaration" >&5
18858 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18859 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18860 echo $ac_n "(cached) $ac_c" 1>&6
18865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18866 ac_cpp='$CXXCPP $CPPFLAGS'
18867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18869 cross_compiling=$ac_cv_prog_cxx_cross
18871 cat > conftest.$ac_ext <<EOF
18872 #line 18873 "configure"
18873 #include "confdefs.h"
18879 if { (eval echo configure:18880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18881 glibcpp_cv_func_modfl_use=yes
18883 echo "configure: failed program was:" >&5
18884 cat conftest.$ac_ext >&5
18886 glibcpp_cv_func_modfl_use=no
18890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18891 ac_cpp='$CPP $CPPFLAGS'
18892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18894 cross_compiling=$ac_cv_prog_cc_cross
18900 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18902 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18903 for ac_func in modfl
18905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18906 echo "configure:18907: checking for $ac_func" >&5
18907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18908 echo $ac_n "(cached) $ac_c" 1>&6
18910 cat > conftest.$ac_ext <<EOF
18911 #line 18912 "configure"
18912 #include "confdefs.h"
18913 /* System header to define __stub macros and hopefully few prototypes,
18914 which can conflict with char $ac_func(); below. */
18915 #include <assert.h>
18916 /* Override any gcc2 internal prototype to avoid an error. */
18917 /* We use char because int might match the return type of a gcc2
18918 builtin and then its argument prototype would still apply. */
18923 /* The GNU C library defines this for functions which it implements
18924 to always fail with ENOSYS. Some functions are actually named
18925 something starting with __ and the normal name is an alias. */
18926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18934 if { (eval echo configure:18935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18936 eval "ac_cv_func_$ac_func=yes"
18938 echo "configure: failed program was:" >&5
18939 cat conftest.$ac_ext >&5
18941 eval "ac_cv_func_$ac_func=no"
18946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18947 echo "$ac_t""yes" 1>&6
18948 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18949 cat >> confdefs.h <<EOF
18950 #define $ac_tr_func 1
18954 echo "$ac_t""no" 1>&6
18960 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18961 echo "configure:18962: checking for _modfl declaration" >&5
18962 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18963 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18964 echo $ac_n "(cached) $ac_c" 1>&6
18969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18970 ac_cpp='$CXXCPP $CPPFLAGS'
18971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18973 cross_compiling=$ac_cv_prog_cxx_cross
18975 cat > conftest.$ac_ext <<EOF
18976 #line 18977 "configure"
18977 #include "confdefs.h"
18983 if { (eval echo configure:18984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18985 glibcpp_cv_func__modfl_use=yes
18987 echo "configure: failed program was:" >&5
18988 cat conftest.$ac_ext >&5
18990 glibcpp_cv_func__modfl_use=no
18994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18995 ac_cpp='$CPP $CPPFLAGS'
18996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18998 cross_compiling=$ac_cv_prog_cc_cross
19004 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19006 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19007 for ac_func in _modfl
19009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19010 echo "configure:19011: checking for $ac_func" >&5
19011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19012 echo $ac_n "(cached) $ac_c" 1>&6
19014 cat > conftest.$ac_ext <<EOF
19015 #line 19016 "configure"
19016 #include "confdefs.h"
19017 /* System header to define __stub macros and hopefully few prototypes,
19018 which can conflict with char $ac_func(); below. */
19019 #include <assert.h>
19020 /* Override any gcc2 internal prototype to avoid an error. */
19021 /* We use char because int might match the return type of a gcc2
19022 builtin and then its argument prototype would still apply. */
19027 /* The GNU C library defines this for functions which it implements
19028 to always fail with ENOSYS. Some functions are actually named
19029 something starting with __ and the normal name is an alias. */
19030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19038 if { (eval echo configure:19039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19040 eval "ac_cv_func_$ac_func=yes"
19042 echo "configure: failed program was:" >&5
19043 cat conftest.$ac_ext >&5
19045 eval "ac_cv_func_$ac_func=no"
19050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19051 echo "$ac_t""yes" 1>&6
19052 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19053 cat >> confdefs.h <<EOF
19054 #define $ac_tr_func 1
19058 echo "$ac_t""no" 1>&6
19067 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19068 echo "configure:19069: checking for powl declaration" >&5
19069 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19070 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19071 echo $ac_n "(cached) $ac_c" 1>&6
19076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19077 ac_cpp='$CXXCPP $CPPFLAGS'
19078 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19079 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19080 cross_compiling=$ac_cv_prog_cxx_cross
19082 cat > conftest.$ac_ext <<EOF
19083 #line 19084 "configure"
19084 #include "confdefs.h"
19090 if { (eval echo configure:19091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19092 glibcpp_cv_func_powl_use=yes
19094 echo "configure: failed program was:" >&5
19095 cat conftest.$ac_ext >&5
19097 glibcpp_cv_func_powl_use=no
19101 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19102 ac_cpp='$CPP $CPPFLAGS'
19103 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19104 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19105 cross_compiling=$ac_cv_prog_cc_cross
19111 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19113 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19114 for ac_func in powl
19116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19117 echo "configure:19118: checking for $ac_func" >&5
19118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19119 echo $ac_n "(cached) $ac_c" 1>&6
19121 cat > conftest.$ac_ext <<EOF
19122 #line 19123 "configure"
19123 #include "confdefs.h"
19124 /* System header to define __stub macros and hopefully few prototypes,
19125 which can conflict with char $ac_func(); below. */
19126 #include <assert.h>
19127 /* Override any gcc2 internal prototype to avoid an error. */
19128 /* We use char because int might match the return type of a gcc2
19129 builtin and then its argument prototype would still apply. */
19134 /* The GNU C library defines this for functions which it implements
19135 to always fail with ENOSYS. Some functions are actually named
19136 something starting with __ and the normal name is an alias. */
19137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19145 if { (eval echo configure:19146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19147 eval "ac_cv_func_$ac_func=yes"
19149 echo "configure: failed program was:" >&5
19150 cat conftest.$ac_ext >&5
19152 eval "ac_cv_func_$ac_func=no"
19157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19158 echo "$ac_t""yes" 1>&6
19159 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19160 cat >> confdefs.h <<EOF
19161 #define $ac_tr_func 1
19165 echo "$ac_t""no" 1>&6
19171 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19172 echo "configure:19173: checking for _powl declaration" >&5
19173 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19174 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19175 echo $ac_n "(cached) $ac_c" 1>&6
19180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19181 ac_cpp='$CXXCPP $CPPFLAGS'
19182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19184 cross_compiling=$ac_cv_prog_cxx_cross
19186 cat > conftest.$ac_ext <<EOF
19187 #line 19188 "configure"
19188 #include "confdefs.h"
19194 if { (eval echo configure:19195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19196 glibcpp_cv_func__powl_use=yes
19198 echo "configure: failed program was:" >&5
19199 cat conftest.$ac_ext >&5
19201 glibcpp_cv_func__powl_use=no
19205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19206 ac_cpp='$CPP $CPPFLAGS'
19207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19209 cross_compiling=$ac_cv_prog_cc_cross
19215 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19217 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19218 for ac_func in _powl
19220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19221 echo "configure:19222: checking for $ac_func" >&5
19222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19223 echo $ac_n "(cached) $ac_c" 1>&6
19225 cat > conftest.$ac_ext <<EOF
19226 #line 19227 "configure"
19227 #include "confdefs.h"
19228 /* System header to define __stub macros and hopefully few prototypes,
19229 which can conflict with char $ac_func(); below. */
19230 #include <assert.h>
19231 /* Override any gcc2 internal prototype to avoid an error. */
19232 /* We use char because int might match the return type of a gcc2
19233 builtin and then its argument prototype would still apply. */
19238 /* The GNU C library defines this for functions which it implements
19239 to always fail with ENOSYS. Some functions are actually named
19240 something starting with __ and the normal name is an alias. */
19241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19249 if { (eval echo configure:19250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19251 eval "ac_cv_func_$ac_func=yes"
19253 echo "configure: failed program was:" >&5
19254 cat conftest.$ac_ext >&5
19256 eval "ac_cv_func_$ac_func=no"
19261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19262 echo "$ac_t""yes" 1>&6
19263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19264 cat >> confdefs.h <<EOF
19265 #define $ac_tr_func 1
19269 echo "$ac_t""no" 1>&6
19278 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19279 echo "configure:19280: checking for sqrtl declaration" >&5
19280 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19281 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19282 echo $ac_n "(cached) $ac_c" 1>&6
19287 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19288 ac_cpp='$CXXCPP $CPPFLAGS'
19289 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19290 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19291 cross_compiling=$ac_cv_prog_cxx_cross
19293 cat > conftest.$ac_ext <<EOF
19294 #line 19295 "configure"
19295 #include "confdefs.h"
19297 #ifdef HAVE_IEEEFP_H
19298 #include <ieeefp.h>
19305 if { (eval echo configure:19306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19307 glibcpp_cv_func_sqrtl_use=yes
19309 echo "configure: failed program was:" >&5
19310 cat conftest.$ac_ext >&5
19312 glibcpp_cv_func_sqrtl_use=no
19316 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19317 ac_cpp='$CPP $CPPFLAGS'
19318 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19319 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19320 cross_compiling=$ac_cv_prog_cc_cross
19326 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19328 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19329 for ac_func in sqrtl
19331 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19332 echo "configure:19333: checking for $ac_func" >&5
19333 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19334 echo $ac_n "(cached) $ac_c" 1>&6
19336 cat > conftest.$ac_ext <<EOF
19337 #line 19338 "configure"
19338 #include "confdefs.h"
19339 /* System header to define __stub macros and hopefully few prototypes,
19340 which can conflict with char $ac_func(); below. */
19341 #include <assert.h>
19342 /* Override any gcc2 internal prototype to avoid an error. */
19343 /* We use char because int might match the return type of a gcc2
19344 builtin and then its argument prototype would still apply. */
19349 /* The GNU C library defines this for functions which it implements
19350 to always fail with ENOSYS. Some functions are actually named
19351 something starting with __ and the normal name is an alias. */
19352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19360 if { (eval echo configure:19361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19362 eval "ac_cv_func_$ac_func=yes"
19364 echo "configure: failed program was:" >&5
19365 cat conftest.$ac_ext >&5
19367 eval "ac_cv_func_$ac_func=no"
19372 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19373 echo "$ac_t""yes" 1>&6
19374 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19375 cat >> confdefs.h <<EOF
19376 #define $ac_tr_func 1
19380 echo "$ac_t""no" 1>&6
19386 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19387 echo "configure:19388: checking for _sqrtl declaration" >&5
19388 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19389 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19390 echo $ac_n "(cached) $ac_c" 1>&6
19395 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19396 ac_cpp='$CXXCPP $CPPFLAGS'
19397 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19398 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19399 cross_compiling=$ac_cv_prog_cxx_cross
19401 cat > conftest.$ac_ext <<EOF
19402 #line 19403 "configure"
19403 #include "confdefs.h"
19405 #ifdef HAVE_IEEEFP_H
19406 #include <ieeefp.h>
19413 if { (eval echo configure:19414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19415 glibcpp_cv_func__sqrtl_use=yes
19417 echo "configure: failed program was:" >&5
19418 cat conftest.$ac_ext >&5
19420 glibcpp_cv_func__sqrtl_use=no
19424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19425 ac_cpp='$CPP $CPPFLAGS'
19426 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19427 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19428 cross_compiling=$ac_cv_prog_cc_cross
19434 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19436 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19437 for ac_func in _sqrtl
19439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19440 echo "configure:19441: checking for $ac_func" >&5
19441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19442 echo $ac_n "(cached) $ac_c" 1>&6
19444 cat > conftest.$ac_ext <<EOF
19445 #line 19446 "configure"
19446 #include "confdefs.h"
19447 /* System header to define __stub macros and hopefully few prototypes,
19448 which can conflict with char $ac_func(); below. */
19449 #include <assert.h>
19450 /* Override any gcc2 internal prototype to avoid an error. */
19451 /* We use char because int might match the return type of a gcc2
19452 builtin and then its argument prototype would still apply. */
19457 /* The GNU C library defines this for functions which it implements
19458 to always fail with ENOSYS. Some functions are actually named
19459 something starting with __ and the normal name is an alias. */
19460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19468 if { (eval echo configure:19469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19470 eval "ac_cv_func_$ac_func=yes"
19472 echo "configure: failed program was:" >&5
19473 cat conftest.$ac_ext >&5
19475 eval "ac_cv_func_$ac_func=no"
19480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19481 echo "$ac_t""yes" 1>&6
19482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19483 cat >> confdefs.h <<EOF
19484 #define $ac_tr_func 1
19488 echo "$ac_t""no" 1>&6
19497 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19498 echo "configure:19499: checking for sincosl declaration" >&5
19499 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19500 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19501 echo $ac_n "(cached) $ac_c" 1>&6
19506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19507 ac_cpp='$CXXCPP $CPPFLAGS'
19508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19510 cross_compiling=$ac_cv_prog_cxx_cross
19512 cat > conftest.$ac_ext <<EOF
19513 #line 19514 "configure"
19514 #include "confdefs.h"
19520 if { (eval echo configure:19521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19522 glibcpp_cv_func_sincosl_use=yes
19524 echo "configure: failed program was:" >&5
19525 cat conftest.$ac_ext >&5
19527 glibcpp_cv_func_sincosl_use=no
19531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19532 ac_cpp='$CPP $CPPFLAGS'
19533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19535 cross_compiling=$ac_cv_prog_cc_cross
19541 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19543 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19544 for ac_func in sincosl
19546 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19547 echo "configure:19548: checking for $ac_func" >&5
19548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19549 echo $ac_n "(cached) $ac_c" 1>&6
19551 cat > conftest.$ac_ext <<EOF
19552 #line 19553 "configure"
19553 #include "confdefs.h"
19554 /* System header to define __stub macros and hopefully few prototypes,
19555 which can conflict with char $ac_func(); below. */
19556 #include <assert.h>
19557 /* Override any gcc2 internal prototype to avoid an error. */
19558 /* We use char because int might match the return type of a gcc2
19559 builtin and then its argument prototype would still apply. */
19564 /* The GNU C library defines this for functions which it implements
19565 to always fail with ENOSYS. Some functions are actually named
19566 something starting with __ and the normal name is an alias. */
19567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19575 if { (eval echo configure:19576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19577 eval "ac_cv_func_$ac_func=yes"
19579 echo "configure: failed program was:" >&5
19580 cat conftest.$ac_ext >&5
19582 eval "ac_cv_func_$ac_func=no"
19587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19588 echo "$ac_t""yes" 1>&6
19589 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19590 cat >> confdefs.h <<EOF
19591 #define $ac_tr_func 1
19595 echo "$ac_t""no" 1>&6
19601 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19602 echo "configure:19603: checking for _sincosl declaration" >&5
19603 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19604 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19605 echo $ac_n "(cached) $ac_c" 1>&6
19610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19611 ac_cpp='$CXXCPP $CPPFLAGS'
19612 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19613 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19614 cross_compiling=$ac_cv_prog_cxx_cross
19616 cat > conftest.$ac_ext <<EOF
19617 #line 19618 "configure"
19618 #include "confdefs.h"
19624 if { (eval echo configure:19625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19626 glibcpp_cv_func__sincosl_use=yes
19628 echo "configure: failed program was:" >&5
19629 cat conftest.$ac_ext >&5
19631 glibcpp_cv_func__sincosl_use=no
19635 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19636 ac_cpp='$CPP $CPPFLAGS'
19637 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19638 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19639 cross_compiling=$ac_cv_prog_cc_cross
19645 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19647 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19648 for ac_func in _sincosl
19650 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19651 echo "configure:19652: checking for $ac_func" >&5
19652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19653 echo $ac_n "(cached) $ac_c" 1>&6
19655 cat > conftest.$ac_ext <<EOF
19656 #line 19657 "configure"
19657 #include "confdefs.h"
19658 /* System header to define __stub macros and hopefully few prototypes,
19659 which can conflict with char $ac_func(); below. */
19660 #include <assert.h>
19661 /* Override any gcc2 internal prototype to avoid an error. */
19662 /* We use char because int might match the return type of a gcc2
19663 builtin and then its argument prototype would still apply. */
19668 /* The GNU C library defines this for functions which it implements
19669 to always fail with ENOSYS. Some functions are actually named
19670 something starting with __ and the normal name is an alias. */
19671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19679 if { (eval echo configure:19680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19681 eval "ac_cv_func_$ac_func=yes"
19683 echo "configure: failed program was:" >&5
19684 cat conftest.$ac_ext >&5
19686 eval "ac_cv_func_$ac_func=no"
19691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19692 echo "$ac_t""yes" 1>&6
19693 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19694 cat >> confdefs.h <<EOF
19695 #define $ac_tr_func 1
19699 echo "$ac_t""no" 1>&6
19708 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19709 echo "configure:19710: checking for finitel declaration" >&5
19710 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19711 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19712 echo $ac_n "(cached) $ac_c" 1>&6
19717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19718 ac_cpp='$CXXCPP $CPPFLAGS'
19719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19721 cross_compiling=$ac_cv_prog_cxx_cross
19723 cat > conftest.$ac_ext <<EOF
19724 #line 19725 "configure"
19725 #include "confdefs.h"
19727 #ifdef HAVE_IEEEFP_H
19728 #include <ieeefp.h>
19735 if { (eval echo configure:19736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19737 glibcpp_cv_func_finitel_use=yes
19739 echo "configure: failed program was:" >&5
19740 cat conftest.$ac_ext >&5
19742 glibcpp_cv_func_finitel_use=no
19746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19747 ac_cpp='$CPP $CPPFLAGS'
19748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19749 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19750 cross_compiling=$ac_cv_prog_cc_cross
19756 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19758 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19759 for ac_func in finitel
19761 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19762 echo "configure:19763: checking for $ac_func" >&5
19763 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19764 echo $ac_n "(cached) $ac_c" 1>&6
19766 cat > conftest.$ac_ext <<EOF
19767 #line 19768 "configure"
19768 #include "confdefs.h"
19769 /* System header to define __stub macros and hopefully few prototypes,
19770 which can conflict with char $ac_func(); below. */
19771 #include <assert.h>
19772 /* Override any gcc2 internal prototype to avoid an error. */
19773 /* We use char because int might match the return type of a gcc2
19774 builtin and then its argument prototype would still apply. */
19779 /* The GNU C library defines this for functions which it implements
19780 to always fail with ENOSYS. Some functions are actually named
19781 something starting with __ and the normal name is an alias. */
19782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19790 if { (eval echo configure:19791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19792 eval "ac_cv_func_$ac_func=yes"
19794 echo "configure: failed program was:" >&5
19795 cat conftest.$ac_ext >&5
19797 eval "ac_cv_func_$ac_func=no"
19802 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19803 echo "$ac_t""yes" 1>&6
19804 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19805 cat >> confdefs.h <<EOF
19806 #define $ac_tr_func 1
19810 echo "$ac_t""no" 1>&6
19816 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19817 echo "configure:19818: checking for _finitel declaration" >&5
19818 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19819 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19820 echo $ac_n "(cached) $ac_c" 1>&6
19825 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19826 ac_cpp='$CXXCPP $CPPFLAGS'
19827 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19828 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19829 cross_compiling=$ac_cv_prog_cxx_cross
19831 cat > conftest.$ac_ext <<EOF
19832 #line 19833 "configure"
19833 #include "confdefs.h"
19835 #ifdef HAVE_IEEEFP_H
19836 #include <ieeefp.h>
19843 if { (eval echo configure:19844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19845 glibcpp_cv_func__finitel_use=yes
19847 echo "configure: failed program was:" >&5
19848 cat conftest.$ac_ext >&5
19850 glibcpp_cv_func__finitel_use=no
19854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19855 ac_cpp='$CPP $CPPFLAGS'
19856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19858 cross_compiling=$ac_cv_prog_cc_cross
19864 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19866 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19867 for ac_func in _finitel
19869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19870 echo "configure:19871: checking for $ac_func" >&5
19871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19872 echo $ac_n "(cached) $ac_c" 1>&6
19874 cat > conftest.$ac_ext <<EOF
19875 #line 19876 "configure"
19876 #include "confdefs.h"
19877 /* System header to define __stub macros and hopefully few prototypes,
19878 which can conflict with char $ac_func(); below. */
19879 #include <assert.h>
19880 /* Override any gcc2 internal prototype to avoid an error. */
19881 /* We use char because int might match the return type of a gcc2
19882 builtin and then its argument prototype would still apply. */
19887 /* The GNU C library defines this for functions which it implements
19888 to always fail with ENOSYS. Some functions are actually named
19889 something starting with __ and the normal name is an alias. */
19890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19898 if { (eval echo configure:19899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19900 eval "ac_cv_func_$ac_func=yes"
19902 echo "configure: failed program was:" >&5
19903 cat conftest.$ac_ext >&5
19905 eval "ac_cv_func_$ac_func=no"
19910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19911 echo "$ac_t""yes" 1>&6
19912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19913 cat >> confdefs.h <<EOF
19914 #define $ac_tr_func 1
19918 echo "$ac_t""no" 1>&6
19928 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19929 echo "configure:19930: checking for _float trig functions" >&5
19930 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19931 echo $ac_n "(cached) $ac_c" 1>&6
19936 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19937 ac_cpp='$CXXCPP $CPPFLAGS'
19938 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19939 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19940 cross_compiling=$ac_cv_prog_cxx_cross
19942 cat > conftest.$ac_ext <<EOF
19943 #line 19944 "configure"
19944 #include "confdefs.h"
19947 `for x in _acosf _asinf _atanf \
19948 _cosf _sinf _tanf \
19949 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19952 if { (eval echo configure:19953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19954 glibcpp_cv_func__float_trig_use=yes
19956 echo "configure: failed program was:" >&5
19957 cat conftest.$ac_ext >&5
19959 glibcpp_cv_func__float_trig_use=no
19963 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19964 ac_cpp='$CPP $CPPFLAGS'
19965 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19966 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19967 cross_compiling=$ac_cv_prog_cc_cross
19971 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19972 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19973 for ac_func in _acosf _asinf _atanf \
19974 _cosf _sinf _tanf \
19975 _coshf _sinhf _tanhf
19977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19978 echo "configure:19979: checking for $ac_func" >&5
19979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19980 echo $ac_n "(cached) $ac_c" 1>&6
19982 cat > conftest.$ac_ext <<EOF
19983 #line 19984 "configure"
19984 #include "confdefs.h"
19985 /* System header to define __stub macros and hopefully few prototypes,
19986 which can conflict with char $ac_func(); below. */
19987 #include <assert.h>
19988 /* Override any gcc2 internal prototype to avoid an error. */
19989 /* We use char because int might match the return type of a gcc2
19990 builtin and then its argument prototype would still apply. */
19995 /* The GNU C library defines this for functions which it implements
19996 to always fail with ENOSYS. Some functions are actually named
19997 something starting with __ and the normal name is an alias. */
19998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20006 if { (eval echo configure:20007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20008 eval "ac_cv_func_$ac_func=yes"
20010 echo "configure: failed program was:" >&5
20011 cat conftest.$ac_ext >&5
20013 eval "ac_cv_func_$ac_func=no"
20018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20019 echo "$ac_t""yes" 1>&6
20020 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20021 cat >> confdefs.h <<EOF
20022 #define $ac_tr_func 1
20026 echo "$ac_t""no" 1>&6
20033 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20034 echo "configure:20035: checking for _float round functions" >&5
20035 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20036 echo $ac_n "(cached) $ac_c" 1>&6
20041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20042 ac_cpp='$CXXCPP $CPPFLAGS'
20043 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20044 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20045 cross_compiling=$ac_cv_prog_cxx_cross
20047 cat > conftest.$ac_ext <<EOF
20048 #line 20049 "configure"
20049 #include "confdefs.h"
20052 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20055 if { (eval echo configure:20056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20057 glibcpp_cv_func__float_round_use=yes
20059 echo "configure: failed program was:" >&5
20060 cat conftest.$ac_ext >&5
20062 glibcpp_cv_func__float_round_use=no
20066 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20067 ac_cpp='$CPP $CPPFLAGS'
20068 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20069 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20070 cross_compiling=$ac_cv_prog_cc_cross
20074 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20075 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20076 for ac_func in _ceilf _floorf
20078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20079 echo "configure:20080: checking for $ac_func" >&5
20080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20081 echo $ac_n "(cached) $ac_c" 1>&6
20083 cat > conftest.$ac_ext <<EOF
20084 #line 20085 "configure"
20085 #include "confdefs.h"
20086 /* System header to define __stub macros and hopefully few prototypes,
20087 which can conflict with char $ac_func(); below. */
20088 #include <assert.h>
20089 /* Override any gcc2 internal prototype to avoid an error. */
20090 /* We use char because int might match the return type of a gcc2
20091 builtin and then its argument prototype would still apply. */
20096 /* The GNU C library defines this for functions which it implements
20097 to always fail with ENOSYS. Some functions are actually named
20098 something starting with __ and the normal name is an alias. */
20099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20107 if { (eval echo configure:20108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20109 eval "ac_cv_func_$ac_func=yes"
20111 echo "configure: failed program was:" >&5
20112 cat conftest.$ac_ext >&5
20114 eval "ac_cv_func_$ac_func=no"
20119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20120 echo "$ac_t""yes" 1>&6
20121 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20122 cat >> confdefs.h <<EOF
20123 #define $ac_tr_func 1
20127 echo "$ac_t""no" 1>&6
20135 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20136 echo "configure:20137: checking for _long double trig functions" >&5
20137 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20138 echo $ac_n "(cached) $ac_c" 1>&6
20143 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20144 ac_cpp='$CXXCPP $CPPFLAGS'
20145 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20146 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20147 cross_compiling=$ac_cv_prog_cxx_cross
20149 cat > conftest.$ac_ext <<EOF
20150 #line 20151 "configure"
20151 #include "confdefs.h"
20154 `for x in _acosl _asinl _atanl \
20155 _cosl _sinl _tanl \
20156 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20159 if { (eval echo configure:20160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20161 glibcpp_cv_func__long_double_trig_use=yes
20163 echo "configure: failed program was:" >&5
20164 cat conftest.$ac_ext >&5
20166 glibcpp_cv_func__long_double_trig_use=no
20170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20171 ac_cpp='$CPP $CPPFLAGS'
20172 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20173 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20174 cross_compiling=$ac_cv_prog_cc_cross
20178 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20179 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20180 for ac_func in _acosl _asinl _atanl \
20181 _cosl _sinl _tanl \
20182 _coshl _sinhl _tanhl
20184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20185 echo "configure:20186: checking for $ac_func" >&5
20186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20187 echo $ac_n "(cached) $ac_c" 1>&6
20189 cat > conftest.$ac_ext <<EOF
20190 #line 20191 "configure"
20191 #include "confdefs.h"
20192 /* System header to define __stub macros and hopefully few prototypes,
20193 which can conflict with char $ac_func(); below. */
20194 #include <assert.h>
20195 /* Override any gcc2 internal prototype to avoid an error. */
20196 /* We use char because int might match the return type of a gcc2
20197 builtin and then its argument prototype would still apply. */
20202 /* The GNU C library defines this for functions which it implements
20203 to always fail with ENOSYS. Some functions are actually named
20204 something starting with __ and the normal name is an alias. */
20205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20213 if { (eval echo configure:20214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20215 eval "ac_cv_func_$ac_func=yes"
20217 echo "configure: failed program was:" >&5
20218 cat conftest.$ac_ext >&5
20220 eval "ac_cv_func_$ac_func=no"
20225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20226 echo "$ac_t""yes" 1>&6
20227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20228 cat >> confdefs.h <<EOF
20229 #define $ac_tr_func 1
20233 echo "$ac_t""no" 1>&6
20240 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20241 echo "configure:20242: checking for _long double round functions" >&5
20242 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20243 echo $ac_n "(cached) $ac_c" 1>&6
20248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20249 ac_cpp='$CXXCPP $CPPFLAGS'
20250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20252 cross_compiling=$ac_cv_prog_cxx_cross
20254 cat > conftest.$ac_ext <<EOF
20255 #line 20256 "configure"
20256 #include "confdefs.h"
20259 `for x in _ceill _floorl; do echo "$x (0);"; done`
20262 if { (eval echo configure:20263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20264 glibcpp_cv_func__long_double_round_use=yes
20266 echo "configure: failed program was:" >&5
20267 cat conftest.$ac_ext >&5
20269 glibcpp_cv_func__long_double_round_use=no
20273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20274 ac_cpp='$CPP $CPPFLAGS'
20275 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20276 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20277 cross_compiling=$ac_cv_prog_cc_cross
20281 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20282 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20283 for ac_func in _ceill _floorl
20285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20286 echo "configure:20287: checking for $ac_func" >&5
20287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20288 echo $ac_n "(cached) $ac_c" 1>&6
20290 cat > conftest.$ac_ext <<EOF
20291 #line 20292 "configure"
20292 #include "confdefs.h"
20293 /* System header to define __stub macros and hopefully few prototypes,
20294 which can conflict with char $ac_func(); below. */
20295 #include <assert.h>
20296 /* Override any gcc2 internal prototype to avoid an error. */
20297 /* We use char because int might match the return type of a gcc2
20298 builtin and then its argument prototype would still apply. */
20303 /* The GNU C library defines this for functions which it implements
20304 to always fail with ENOSYS. Some functions are actually named
20305 something starting with __ and the normal name is an alias. */
20306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20314 if { (eval echo configure:20315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20316 eval "ac_cv_func_$ac_func=yes"
20318 echo "configure: failed program was:" >&5
20319 cat conftest.$ac_ext >&5
20321 eval "ac_cv_func_$ac_func=no"
20326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20327 echo "$ac_t""yes" 1>&6
20328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20329 cat >> confdefs.h <<EOF
20330 #define $ac_tr_func 1
20334 echo "$ac_t""no" 1>&6
20341 LIBS="$ac_save_LIBS"
20342 CXXFLAGS="$ac_save_CXXFLAGS"
20346 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
20347 echo "configure:20348: checking for __builtin_abs declaration" >&5
20348 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20349 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20350 echo $ac_n "(cached) $ac_c" 1>&6
20355 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20356 ac_cpp='$CXXCPP $CPPFLAGS'
20357 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20358 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20359 cross_compiling=$ac_cv_prog_cxx_cross
20361 cat > conftest.$ac_ext <<EOF
20362 #line 20363 "configure"
20363 #include "confdefs.h"
20369 if { (eval echo configure:20370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20371 glibcpp_cv_func___builtin_abs_use=yes
20373 echo "configure: failed program was:" >&5
20374 cat conftest.$ac_ext >&5
20376 glibcpp_cv_func___builtin_abs_use=no
20380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20381 ac_cpp='$CPP $CPPFLAGS'
20382 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20383 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20384 cross_compiling=$ac_cv_prog_cc_cross
20390 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20391 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20392 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
20393 echo "configure:20394: checking for __builtin_abs linkage" >&5
20394 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20395 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20396 echo $ac_n "(cached) $ac_c" 1>&6
20399 cat > conftest.$ac_ext <<EOF
20400 #line 20401 "configure"
20401 #include "confdefs.h"
20407 if { (eval echo configure:20408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20409 glibcpp_cv_func___builtin_abs_link=yes
20411 echo "configure: failed program was:" >&5
20412 cat conftest.$ac_ext >&5
20414 glibcpp_cv_func___builtin_abs_link=no
20421 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20422 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20423 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20424 cat >> confdefs.h <<EOF
20425 #define ${ac_tr_func} 1
20432 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
20433 echo "configure:20434: checking for __builtin_fabsf declaration" >&5
20434 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20435 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20436 echo $ac_n "(cached) $ac_c" 1>&6
20441 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20442 ac_cpp='$CXXCPP $CPPFLAGS'
20443 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20444 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20445 cross_compiling=$ac_cv_prog_cxx_cross
20447 cat > conftest.$ac_ext <<EOF
20448 #line 20449 "configure"
20449 #include "confdefs.h"
20452 __builtin_fabsf(0);
20455 if { (eval echo configure:20456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20457 glibcpp_cv_func___builtin_fabsf_use=yes
20459 echo "configure: failed program was:" >&5
20460 cat conftest.$ac_ext >&5
20462 glibcpp_cv_func___builtin_fabsf_use=no
20466 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20467 ac_cpp='$CPP $CPPFLAGS'
20468 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20469 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20470 cross_compiling=$ac_cv_prog_cc_cross
20476 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20477 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20478 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
20479 echo "configure:20480: checking for __builtin_fabsf linkage" >&5
20480 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20481 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20482 echo $ac_n "(cached) $ac_c" 1>&6
20485 cat > conftest.$ac_ext <<EOF
20486 #line 20487 "configure"
20487 #include "confdefs.h"
20490 __builtin_fabsf(0);
20493 if { (eval echo configure:20494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20495 glibcpp_cv_func___builtin_fabsf_link=yes
20497 echo "configure: failed program was:" >&5
20498 cat conftest.$ac_ext >&5
20500 glibcpp_cv_func___builtin_fabsf_link=no
20507 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20508 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20509 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20510 cat >> confdefs.h <<EOF
20511 #define ${ac_tr_func} 1
20518 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
20519 echo "configure:20520: checking for __builtin_fabs declaration" >&5
20520 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20521 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20522 echo $ac_n "(cached) $ac_c" 1>&6
20527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20528 ac_cpp='$CXXCPP $CPPFLAGS'
20529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20531 cross_compiling=$ac_cv_prog_cxx_cross
20533 cat > conftest.$ac_ext <<EOF
20534 #line 20535 "configure"
20535 #include "confdefs.h"
20541 if { (eval echo configure:20542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20543 glibcpp_cv_func___builtin_fabs_use=yes
20545 echo "configure: failed program was:" >&5
20546 cat conftest.$ac_ext >&5
20548 glibcpp_cv_func___builtin_fabs_use=no
20552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20553 ac_cpp='$CPP $CPPFLAGS'
20554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20556 cross_compiling=$ac_cv_prog_cc_cross
20562 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20563 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20564 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
20565 echo "configure:20566: checking for __builtin_fabs linkage" >&5
20566 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20567 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20568 echo $ac_n "(cached) $ac_c" 1>&6
20571 cat > conftest.$ac_ext <<EOF
20572 #line 20573 "configure"
20573 #include "confdefs.h"
20579 if { (eval echo configure:20580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20581 glibcpp_cv_func___builtin_fabs_link=yes
20583 echo "configure: failed program was:" >&5
20584 cat conftest.$ac_ext >&5
20586 glibcpp_cv_func___builtin_fabs_link=no
20593 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20594 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20595 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20596 cat >> confdefs.h <<EOF
20597 #define ${ac_tr_func} 1
20604 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
20605 echo "configure:20606: checking for __builtin_fabsl declaration" >&5
20606 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20607 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20608 echo $ac_n "(cached) $ac_c" 1>&6
20613 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20614 ac_cpp='$CXXCPP $CPPFLAGS'
20615 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20616 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20617 cross_compiling=$ac_cv_prog_cxx_cross
20619 cat > conftest.$ac_ext <<EOF
20620 #line 20621 "configure"
20621 #include "confdefs.h"
20624 __builtin_fabsl(0);
20627 if { (eval echo configure:20628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20629 glibcpp_cv_func___builtin_fabsl_use=yes
20631 echo "configure: failed program was:" >&5
20632 cat conftest.$ac_ext >&5
20634 glibcpp_cv_func___builtin_fabsl_use=no
20638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20639 ac_cpp='$CPP $CPPFLAGS'
20640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20642 cross_compiling=$ac_cv_prog_cc_cross
20648 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20649 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20650 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
20651 echo "configure:20652: checking for __builtin_fabsl linkage" >&5
20652 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20653 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20654 echo $ac_n "(cached) $ac_c" 1>&6
20657 cat > conftest.$ac_ext <<EOF
20658 #line 20659 "configure"
20659 #include "confdefs.h"
20662 __builtin_fabsl(0);
20665 if { (eval echo configure:20666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20667 glibcpp_cv_func___builtin_fabsl_link=yes
20669 echo "configure: failed program was:" >&5
20670 cat conftest.$ac_ext >&5
20672 glibcpp_cv_func___builtin_fabsl_link=no
20679 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20680 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20681 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20682 cat >> confdefs.h <<EOF
20683 #define ${ac_tr_func} 1
20690 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
20691 echo "configure:20692: checking for __builtin_labs declaration" >&5
20692 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20693 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20694 echo $ac_n "(cached) $ac_c" 1>&6
20699 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20700 ac_cpp='$CXXCPP $CPPFLAGS'
20701 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20702 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20703 cross_compiling=$ac_cv_prog_cxx_cross
20705 cat > conftest.$ac_ext <<EOF
20706 #line 20707 "configure"
20707 #include "confdefs.h"
20713 if { (eval echo configure:20714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20715 glibcpp_cv_func___builtin_labs_use=yes
20717 echo "configure: failed program was:" >&5
20718 cat conftest.$ac_ext >&5
20720 glibcpp_cv_func___builtin_labs_use=no
20724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20725 ac_cpp='$CPP $CPPFLAGS'
20726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20728 cross_compiling=$ac_cv_prog_cc_cross
20734 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20735 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20736 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
20737 echo "configure:20738: checking for __builtin_labs linkage" >&5
20738 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20739 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20740 echo $ac_n "(cached) $ac_c" 1>&6
20743 cat > conftest.$ac_ext <<EOF
20744 #line 20745 "configure"
20745 #include "confdefs.h"
20751 if { (eval echo configure:20752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20753 glibcpp_cv_func___builtin_labs_link=yes
20755 echo "configure: failed program was:" >&5
20756 cat conftest.$ac_ext >&5
20758 glibcpp_cv_func___builtin_labs_link=no
20765 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
20766 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
20767 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20768 cat >> confdefs.h <<EOF
20769 #define ${ac_tr_func} 1
20777 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
20778 echo "configure:20779: checking for __builtin_sqrtf declaration" >&5
20779 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
20780 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20781 echo $ac_n "(cached) $ac_c" 1>&6
20786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20787 ac_cpp='$CXXCPP $CPPFLAGS'
20788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20790 cross_compiling=$ac_cv_prog_cxx_cross
20792 cat > conftest.$ac_ext <<EOF
20793 #line 20794 "configure"
20794 #include "confdefs.h"
20797 __builtin_sqrtf(0);
20800 if { (eval echo configure:20801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20802 glibcpp_cv_func___builtin_sqrtf_use=yes
20804 echo "configure: failed program was:" >&5
20805 cat conftest.$ac_ext >&5
20807 glibcpp_cv_func___builtin_sqrtf_use=no
20811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20812 ac_cpp='$CPP $CPPFLAGS'
20813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20815 cross_compiling=$ac_cv_prog_cc_cross
20821 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
20822 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
20823 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
20824 echo "configure:20825: checking for __builtin_sqrtf linkage" >&5
20825 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
20826 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
20827 echo $ac_n "(cached) $ac_c" 1>&6
20830 cat > conftest.$ac_ext <<EOF
20831 #line 20832 "configure"
20832 #include "confdefs.h"
20835 __builtin_sqrtf(0);
20838 if { (eval echo configure:20839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20840 glibcpp_cv_func___builtin_sqrtf_link=yes
20842 echo "configure: failed program was:" >&5
20843 cat conftest.$ac_ext >&5
20845 glibcpp_cv_func___builtin_sqrtf_link=no
20852 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
20853 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
20854 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20855 cat >> confdefs.h <<EOF
20856 #define ${ac_tr_func} 1
20863 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
20864 echo "configure:20865: checking for __builtin_sqrt declaration" >&5
20865 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
20866 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
20867 echo $ac_n "(cached) $ac_c" 1>&6
20872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20873 ac_cpp='$CXXCPP $CPPFLAGS'
20874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20876 cross_compiling=$ac_cv_prog_cxx_cross
20878 cat > conftest.$ac_ext <<EOF
20879 #line 20880 "configure"
20880 #include "confdefs.h"
20886 if { (eval echo configure:20887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20888 glibcpp_cv_func___builtin_sqrt_use=yes
20890 echo "configure: failed program was:" >&5
20891 cat conftest.$ac_ext >&5
20893 glibcpp_cv_func___builtin_sqrt_use=no
20897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20898 ac_cpp='$CPP $CPPFLAGS'
20899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20901 cross_compiling=$ac_cv_prog_cc_cross
20907 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
20908 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
20909 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
20910 echo "configure:20911: checking for __builtin_sqrt linkage" >&5
20911 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
20912 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
20913 echo $ac_n "(cached) $ac_c" 1>&6
20916 cat > conftest.$ac_ext <<EOF
20917 #line 20918 "configure"
20918 #include "confdefs.h"
20924 if { (eval echo configure:20925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20926 glibcpp_cv_func___builtin_sqrt_link=yes
20928 echo "configure: failed program was:" >&5
20929 cat conftest.$ac_ext >&5
20931 glibcpp_cv_func___builtin_sqrt_link=no
20938 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
20939 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
20940 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20941 cat >> confdefs.h <<EOF
20942 #define ${ac_tr_func} 1
20949 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
20950 echo "configure:20951: checking for __builtin_sqrtl declaration" >&5
20951 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
20952 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
20953 echo $ac_n "(cached) $ac_c" 1>&6
20958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20959 ac_cpp='$CXXCPP $CPPFLAGS'
20960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20962 cross_compiling=$ac_cv_prog_cxx_cross
20964 cat > conftest.$ac_ext <<EOF
20965 #line 20966 "configure"
20966 #include "confdefs.h"
20969 __builtin_sqrtl(0);
20972 if { (eval echo configure:20973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20974 glibcpp_cv_func___builtin_sqrtl_use=yes
20976 echo "configure: failed program was:" >&5
20977 cat conftest.$ac_ext >&5
20979 glibcpp_cv_func___builtin_sqrtl_use=no
20983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20984 ac_cpp='$CPP $CPPFLAGS'
20985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20987 cross_compiling=$ac_cv_prog_cc_cross
20993 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
20994 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
20995 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
20996 echo "configure:20997: checking for __builtin_sqrtl linkage" >&5
20997 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
20998 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
20999 echo $ac_n "(cached) $ac_c" 1>&6
21002 cat > conftest.$ac_ext <<EOF
21003 #line 21004 "configure"
21004 #include "confdefs.h"
21007 __builtin_sqrtl(0);
21010 if { (eval echo configure:21011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21012 glibcpp_cv_func___builtin_sqrtl_link=yes
21014 echo "configure: failed program was:" >&5
21015 cat conftest.$ac_ext >&5
21017 glibcpp_cv_func___builtin_sqrtl_link=no
21024 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21025 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21026 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21027 cat >> confdefs.h <<EOF
21028 #define ${ac_tr_func} 1
21036 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
21037 echo "configure:21038: checking for __builtin_sinf declaration" >&5
21038 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21039 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21040 echo $ac_n "(cached) $ac_c" 1>&6
21045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21046 ac_cpp='$CXXCPP $CPPFLAGS'
21047 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21048 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21049 cross_compiling=$ac_cv_prog_cxx_cross
21051 cat > conftest.$ac_ext <<EOF
21052 #line 21053 "configure"
21053 #include "confdefs.h"
21059 if { (eval echo configure:21060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21061 glibcpp_cv_func___builtin_sinf_use=yes
21063 echo "configure: failed program was:" >&5
21064 cat conftest.$ac_ext >&5
21066 glibcpp_cv_func___builtin_sinf_use=no
21070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21071 ac_cpp='$CPP $CPPFLAGS'
21072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21074 cross_compiling=$ac_cv_prog_cc_cross
21080 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21081 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21082 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
21083 echo "configure:21084: checking for __builtin_sinf linkage" >&5
21084 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21085 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21086 echo $ac_n "(cached) $ac_c" 1>&6
21089 cat > conftest.$ac_ext <<EOF
21090 #line 21091 "configure"
21091 #include "confdefs.h"
21097 if { (eval echo configure:21098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21099 glibcpp_cv_func___builtin_sinf_link=yes
21101 echo "configure: failed program was:" >&5
21102 cat conftest.$ac_ext >&5
21104 glibcpp_cv_func___builtin_sinf_link=no
21111 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21112 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21113 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21114 cat >> confdefs.h <<EOF
21115 #define ${ac_tr_func} 1
21122 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
21123 echo "configure:21124: checking for __builtin_sin declaration" >&5
21124 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21125 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21126 echo $ac_n "(cached) $ac_c" 1>&6
21131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21132 ac_cpp='$CXXCPP $CPPFLAGS'
21133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21135 cross_compiling=$ac_cv_prog_cxx_cross
21137 cat > conftest.$ac_ext <<EOF
21138 #line 21139 "configure"
21139 #include "confdefs.h"
21145 if { (eval echo configure:21146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21147 glibcpp_cv_func___builtin_sin_use=yes
21149 echo "configure: failed program was:" >&5
21150 cat conftest.$ac_ext >&5
21152 glibcpp_cv_func___builtin_sin_use=no
21156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21157 ac_cpp='$CPP $CPPFLAGS'
21158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21160 cross_compiling=$ac_cv_prog_cc_cross
21166 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21167 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21168 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
21169 echo "configure:21170: checking for __builtin_sin linkage" >&5
21170 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21171 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21172 echo $ac_n "(cached) $ac_c" 1>&6
21175 cat > conftest.$ac_ext <<EOF
21176 #line 21177 "configure"
21177 #include "confdefs.h"
21183 if { (eval echo configure:21184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21185 glibcpp_cv_func___builtin_sin_link=yes
21187 echo "configure: failed program was:" >&5
21188 cat conftest.$ac_ext >&5
21190 glibcpp_cv_func___builtin_sin_link=no
21197 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21198 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21199 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21200 cat >> confdefs.h <<EOF
21201 #define ${ac_tr_func} 1
21208 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
21209 echo "configure:21210: checking for __builtin_sinl declaration" >&5
21210 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21211 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21212 echo $ac_n "(cached) $ac_c" 1>&6
21217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21218 ac_cpp='$CXXCPP $CPPFLAGS'
21219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21221 cross_compiling=$ac_cv_prog_cxx_cross
21223 cat > conftest.$ac_ext <<EOF
21224 #line 21225 "configure"
21225 #include "confdefs.h"
21231 if { (eval echo configure:21232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21233 glibcpp_cv_func___builtin_sinl_use=yes
21235 echo "configure: failed program was:" >&5
21236 cat conftest.$ac_ext >&5
21238 glibcpp_cv_func___builtin_sinl_use=no
21242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21243 ac_cpp='$CPP $CPPFLAGS'
21244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21246 cross_compiling=$ac_cv_prog_cc_cross
21252 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21253 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21254 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
21255 echo "configure:21256: checking for __builtin_sinl linkage" >&5
21256 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21257 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21258 echo $ac_n "(cached) $ac_c" 1>&6
21261 cat > conftest.$ac_ext <<EOF
21262 #line 21263 "configure"
21263 #include "confdefs.h"
21269 if { (eval echo configure:21270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21271 glibcpp_cv_func___builtin_sinl_link=yes
21273 echo "configure: failed program was:" >&5
21274 cat conftest.$ac_ext >&5
21276 glibcpp_cv_func___builtin_sinl_link=no
21283 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21284 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21285 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21286 cat >> confdefs.h <<EOF
21287 #define ${ac_tr_func} 1
21295 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
21296 echo "configure:21297: checking for __builtin_cosf declaration" >&5
21297 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21298 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21299 echo $ac_n "(cached) $ac_c" 1>&6
21304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21305 ac_cpp='$CXXCPP $CPPFLAGS'
21306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21308 cross_compiling=$ac_cv_prog_cxx_cross
21310 cat > conftest.$ac_ext <<EOF
21311 #line 21312 "configure"
21312 #include "confdefs.h"
21318 if { (eval echo configure:21319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21320 glibcpp_cv_func___builtin_cosf_use=yes
21322 echo "configure: failed program was:" >&5
21323 cat conftest.$ac_ext >&5
21325 glibcpp_cv_func___builtin_cosf_use=no
21329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21330 ac_cpp='$CPP $CPPFLAGS'
21331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21333 cross_compiling=$ac_cv_prog_cc_cross
21339 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21340 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21341 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
21342 echo "configure:21343: checking for __builtin_cosf linkage" >&5
21343 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21344 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21345 echo $ac_n "(cached) $ac_c" 1>&6
21348 cat > conftest.$ac_ext <<EOF
21349 #line 21350 "configure"
21350 #include "confdefs.h"
21356 if { (eval echo configure:21357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21358 glibcpp_cv_func___builtin_cosf_link=yes
21360 echo "configure: failed program was:" >&5
21361 cat conftest.$ac_ext >&5
21363 glibcpp_cv_func___builtin_cosf_link=no
21370 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21371 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21372 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21373 cat >> confdefs.h <<EOF
21374 #define ${ac_tr_func} 1
21381 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
21382 echo "configure:21383: checking for __builtin_cos declaration" >&5
21383 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21384 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21385 echo $ac_n "(cached) $ac_c" 1>&6
21390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21391 ac_cpp='$CXXCPP $CPPFLAGS'
21392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21394 cross_compiling=$ac_cv_prog_cxx_cross
21396 cat > conftest.$ac_ext <<EOF
21397 #line 21398 "configure"
21398 #include "confdefs.h"
21404 if { (eval echo configure:21405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21406 glibcpp_cv_func___builtin_cos_use=yes
21408 echo "configure: failed program was:" >&5
21409 cat conftest.$ac_ext >&5
21411 glibcpp_cv_func___builtin_cos_use=no
21415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21416 ac_cpp='$CPP $CPPFLAGS'
21417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21419 cross_compiling=$ac_cv_prog_cc_cross
21425 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21426 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21427 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
21428 echo "configure:21429: checking for __builtin_cos linkage" >&5
21429 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21430 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21431 echo $ac_n "(cached) $ac_c" 1>&6
21434 cat > conftest.$ac_ext <<EOF
21435 #line 21436 "configure"
21436 #include "confdefs.h"
21442 if { (eval echo configure:21443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21444 glibcpp_cv_func___builtin_cos_link=yes
21446 echo "configure: failed program was:" >&5
21447 cat conftest.$ac_ext >&5
21449 glibcpp_cv_func___builtin_cos_link=no
21456 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21457 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21458 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21459 cat >> confdefs.h <<EOF
21460 #define ${ac_tr_func} 1
21467 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
21468 echo "configure:21469: checking for __builtin_cosl declaration" >&5
21469 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21470 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21471 echo $ac_n "(cached) $ac_c" 1>&6
21476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21477 ac_cpp='$CXXCPP $CPPFLAGS'
21478 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21479 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21480 cross_compiling=$ac_cv_prog_cxx_cross
21482 cat > conftest.$ac_ext <<EOF
21483 #line 21484 "configure"
21484 #include "confdefs.h"
21490 if { (eval echo configure:21491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21492 glibcpp_cv_func___builtin_cosl_use=yes
21494 echo "configure: failed program was:" >&5
21495 cat conftest.$ac_ext >&5
21497 glibcpp_cv_func___builtin_cosl_use=no
21501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21502 ac_cpp='$CPP $CPPFLAGS'
21503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21505 cross_compiling=$ac_cv_prog_cc_cross
21511 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21512 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21513 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
21514 echo "configure:21515: checking for __builtin_cosl linkage" >&5
21515 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21516 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21517 echo $ac_n "(cached) $ac_c" 1>&6
21520 cat > conftest.$ac_ext <<EOF
21521 #line 21522 "configure"
21522 #include "confdefs.h"
21528 if { (eval echo configure:21529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21530 glibcpp_cv_func___builtin_cosl_link=yes
21532 echo "configure: failed program was:" >&5
21533 cat conftest.$ac_ext >&5
21535 glibcpp_cv_func___builtin_cosl_link=no
21542 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21543 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21544 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21545 cat >> confdefs.h <<EOF
21546 #define ${ac_tr_func} 1
21554 if test x$dummyvar = x"yes"; then
21555 cat >> confdefs.h <<\EOF
21556 #define HAVE___BUILTIN_ABS 1
21559 cat >> confdefs.h <<\EOF
21560 #define HAVE___BUILTIN_LABS 1
21563 cat >> confdefs.h <<\EOF
21564 #define HAVE___BUILTIN_COS 1
21567 cat >> confdefs.h <<\EOF
21568 #define HAVE___BUILTIN_COSF 1
21571 cat >> confdefs.h <<\EOF
21572 #define HAVE___BUILTIN_COSL 1
21575 cat >> confdefs.h <<\EOF
21576 #define HAVE___BUILTIN_FABS 1
21579 cat >> confdefs.h <<\EOF
21580 #define HAVE___BUILTIN_FABSF 1
21583 cat >> confdefs.h <<\EOF
21584 #define HAVE___BUILTIN_FABSL 1
21587 cat >> confdefs.h <<\EOF
21588 #define HAVE___BUILTIN_SIN 1
21591 cat >> confdefs.h <<\EOF
21592 #define HAVE___BUILTIN_SINF 1
21595 cat >> confdefs.h <<\EOF
21596 #define HAVE___BUILTIN_SINL 1
21599 cat >> confdefs.h <<\EOF
21600 #define HAVE___BUILTIN_SQRT 1
21603 cat >> confdefs.h <<\EOF
21604 #define HAVE___BUILTIN_SQRTF 1
21607 cat >> confdefs.h <<\EOF
21608 #define HAVE___BUILTIN_SQRTL 1
21614 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21615 echo "configure:21616: checking for main in -lm" >&5
21616 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21617 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21618 echo $ac_n "(cached) $ac_c" 1>&6
21620 ac_save_LIBS="$LIBS"
21622 cat > conftest.$ac_ext <<EOF
21623 #line 21624 "configure"
21624 #include "confdefs.h"
21630 if { (eval echo configure:21631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21632 eval "ac_cv_lib_$ac_lib_var=yes"
21634 echo "configure: failed program was:" >&5
21635 cat conftest.$ac_ext >&5
21637 eval "ac_cv_lib_$ac_lib_var=no"
21640 LIBS="$ac_save_LIBS"
21643 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21644 echo "$ac_t""yes" 1>&6
21645 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21646 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21647 cat >> confdefs.h <<EOF
21648 #define $ac_tr_lib 1
21654 echo "$ac_t""no" 1>&6
21657 for ac_func in nan copysignf
21659 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21660 echo "configure:21661: checking for $ac_func" >&5
21661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21662 echo $ac_n "(cached) $ac_c" 1>&6
21664 cat > conftest.$ac_ext <<EOF
21665 #line 21666 "configure"
21666 #include "confdefs.h"
21667 /* System header to define __stub macros and hopefully few prototypes,
21668 which can conflict with char $ac_func(); below. */
21669 #include <assert.h>
21670 /* Override any gcc2 internal prototype to avoid an error. */
21671 /* We use char because int might match the return type of a gcc2
21672 builtin and then its argument prototype would still apply. */
21677 /* The GNU C library defines this for functions which it implements
21678 to always fail with ENOSYS. Some functions are actually named
21679 something starting with __ and the normal name is an alias. */
21680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21688 if { (eval echo configure:21689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21690 eval "ac_cv_func_$ac_func=yes"
21692 echo "configure: failed program was:" >&5
21693 cat conftest.$ac_ext >&5
21695 eval "ac_cv_func_$ac_func=no"
21700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21701 echo "$ac_t""yes" 1>&6
21702 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21703 cat >> confdefs.h <<EOF
21704 #define $ac_tr_func 1
21708 echo "$ac_t""no" 1>&6
21709 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21714 for ac_func in __signbit
21716 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21717 echo "configure:21718: checking for $ac_func" >&5
21718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21719 echo $ac_n "(cached) $ac_c" 1>&6
21721 cat > conftest.$ac_ext <<EOF
21722 #line 21723 "configure"
21723 #include "confdefs.h"
21724 /* System header to define __stub macros and hopefully few prototypes,
21725 which can conflict with char $ac_func(); below. */
21726 #include <assert.h>
21727 /* Override any gcc2 internal prototype to avoid an error. */
21728 /* We use char because int might match the return type of a gcc2
21729 builtin and then its argument prototype would still apply. */
21734 /* The GNU C library defines this for functions which it implements
21735 to always fail with ENOSYS. Some functions are actually named
21736 something starting with __ and the normal name is an alias. */
21737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21745 if { (eval echo configure:21746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21747 eval "ac_cv_func_$ac_func=yes"
21749 echo "configure: failed program was:" >&5
21750 cat conftest.$ac_ext >&5
21752 eval "ac_cv_func_$ac_func=no"
21757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21758 echo "$ac_t""yes" 1>&6
21759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21760 cat >> confdefs.h <<EOF
21761 #define $ac_tr_func 1
21765 echo "$ac_t""no" 1>&6
21766 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21770 for ac_func in __signbitf
21772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21773 echo "configure:21774: checking for $ac_func" >&5
21774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21775 echo $ac_n "(cached) $ac_c" 1>&6
21777 cat > conftest.$ac_ext <<EOF
21778 #line 21779 "configure"
21779 #include "confdefs.h"
21780 /* System header to define __stub macros and hopefully few prototypes,
21781 which can conflict with char $ac_func(); below. */
21782 #include <assert.h>
21783 /* Override any gcc2 internal prototype to avoid an error. */
21784 /* We use char because int might match the return type of a gcc2
21785 builtin and then its argument prototype would still apply. */
21790 /* The GNU C library defines this for functions which it implements
21791 to always fail with ENOSYS. Some functions are actually named
21792 something starting with __ and the normal name is an alias. */
21793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21801 if { (eval echo configure:21802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21803 eval "ac_cv_func_$ac_func=yes"
21805 echo "configure: failed program was:" >&5
21806 cat conftest.$ac_ext >&5
21808 eval "ac_cv_func_$ac_func=no"
21813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21814 echo "$ac_t""yes" 1>&6
21815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21816 cat >> confdefs.h <<EOF
21817 #define $ac_tr_func 1
21821 echo "$ac_t""no" 1>&6
21822 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21827 if test x$ac_cv_func_copysignl = x"yes"; then
21828 for ac_func in __signbitl
21830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21831 echo "configure:21832: checking for $ac_func" >&5
21832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21833 echo $ac_n "(cached) $ac_c" 1>&6
21835 cat > conftest.$ac_ext <<EOF
21836 #line 21837 "configure"
21837 #include "confdefs.h"
21838 /* System header to define __stub macros and hopefully few prototypes,
21839 which can conflict with char $ac_func(); below. */
21840 #include <assert.h>
21841 /* Override any gcc2 internal prototype to avoid an error. */
21842 /* We use char because int might match the return type of a gcc2
21843 builtin and then its argument prototype would still apply. */
21848 /* The GNU C library defines this for functions which it implements
21849 to always fail with ENOSYS. Some functions are actually named
21850 something starting with __ and the normal name is an alias. */
21851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21859 if { (eval echo configure:21860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21861 eval "ac_cv_func_$ac_func=yes"
21863 echo "configure: failed program was:" >&5
21864 cat conftest.$ac_ext >&5
21866 eval "ac_cv_func_$ac_func=no"
21871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21872 echo "$ac_t""yes" 1>&6
21873 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21874 cat >> confdefs.h <<EOF
21875 #define $ac_tr_func 1
21879 echo "$ac_t""no" 1>&6
21880 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21886 if test -n "$LIBMATHOBJS"; then
21893 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21894 echo "configure:21895: checking for mbstate_t" >&5
21895 cat > conftest.$ac_ext <<EOF
21896 #line 21897 "configure"
21897 #include "confdefs.h"
21900 mbstate_t teststate;
21903 if { (eval echo configure:21904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21907 echo "configure: failed program was:" >&5
21908 cat conftest.$ac_ext >&5
21913 echo "$ac_t""$have_mbstate_t" 1>&6
21914 if test x"$have_mbstate_t" = xyes; then
21915 cat >> confdefs.h <<\EOF
21916 #define HAVE_MBSTATE_T 1
21921 for ac_hdr in wchar.h
21923 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21924 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21925 echo "configure:21926: checking for $ac_hdr" >&5
21926 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21927 echo $ac_n "(cached) $ac_c" 1>&6
21929 cat > conftest.$ac_ext <<EOF
21930 #line 21931 "configure"
21931 #include "confdefs.h"
21934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21935 { (eval echo configure:21936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21936 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21937 if test -z "$ac_err"; then
21939 eval "ac_cv_header_$ac_safe=yes"
21942 echo "configure: failed program was:" >&5
21943 cat conftest.$ac_ext >&5
21945 eval "ac_cv_header_$ac_safe=no"
21949 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21950 echo "$ac_t""yes" 1>&6
21951 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21952 cat >> confdefs.h <<EOF
21953 #define $ac_tr_hdr 1
21957 echo "$ac_t""no" 1>&6
21962 for ac_hdr in wctype.h
21964 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21965 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21966 echo "configure:21967: checking for $ac_hdr" >&5
21967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21968 echo $ac_n "(cached) $ac_c" 1>&6
21970 cat > conftest.$ac_ext <<EOF
21971 #line 21972 "configure"
21972 #include "confdefs.h"
21975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21976 { (eval echo configure:21977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21978 if test -z "$ac_err"; then
21980 eval "ac_cv_header_$ac_safe=yes"
21983 echo "configure: failed program was:" >&5
21984 cat conftest.$ac_ext >&5
21986 eval "ac_cv_header_$ac_safe=no"
21990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21991 echo "$ac_t""yes" 1>&6
21992 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21993 cat >> confdefs.h <<EOF
21994 #define $ac_tr_hdr 1
21996 ac_has_wctype_h=yes
21998 echo "$ac_t""no" 1>&6
22004 if test x"$ac_has_wchar_h" = xyes &&
22005 test x"$ac_has_wctype_h" = xyes &&
22006 test x"$enable_c_mbchar" != xno; then
22008 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22009 echo "configure:22010: checking for WCHAR_MIN and WCHAR_MAX" >&5
22010 cat > conftest.$ac_ext <<EOF
22011 #line 22012 "configure"
22012 #include "confdefs.h"
22015 int i = WCHAR_MIN; int j = WCHAR_MAX;
22018 if { (eval echo configure:22019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22020 has_wchar_minmax=yes
22022 echo "configure: failed program was:" >&5
22023 cat conftest.$ac_ext >&5
22025 has_wchar_minmax=no
22028 echo "$ac_t""$has_wchar_minmax" 1>&6
22030 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22031 echo "configure:22032: checking for WEOF" >&5
22032 cat > conftest.$ac_ext <<EOF
22033 #line 22034 "configure"
22034 #include "confdefs.h"
22037 #include <stddef.h>
22042 if { (eval echo configure:22043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22046 echo "configure: failed program was:" >&5
22047 cat conftest.$ac_ext >&5
22052 echo "$ac_t""$has_weof" 1>&6
22055 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22058 echo "configure:22059: checking for $ac_func" >&5
22059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22060 echo $ac_n "(cached) $ac_c" 1>&6
22062 cat > conftest.$ac_ext <<EOF
22063 #line 22064 "configure"
22064 #include "confdefs.h"
22065 /* System header to define __stub macros and hopefully few prototypes,
22066 which can conflict with char $ac_func(); below. */
22067 #include <assert.h>
22068 /* Override any gcc2 internal prototype to avoid an error. */
22069 /* We use char because int might match the return type of a gcc2
22070 builtin and then its argument prototype would still apply. */
22075 /* The GNU C library defines this for functions which it implements
22076 to always fail with ENOSYS. Some functions are actually named
22077 something starting with __ and the normal name is an alias. */
22078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22086 if { (eval echo configure:22087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22088 eval "ac_cv_func_$ac_func=yes"
22090 echo "configure: failed program was:" >&5
22091 cat conftest.$ac_ext >&5
22093 eval "ac_cv_func_$ac_func=no"
22098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22099 echo "$ac_t""yes" 1>&6
22100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22101 cat >> confdefs.h <<EOF
22102 #define $ac_tr_func 1
22106 echo "$ac_t""no" 1>&6
22113 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22114 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22115 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22116 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22117 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22118 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22121 echo "configure:22122: checking for $ac_func" >&5
22122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22123 echo $ac_n "(cached) $ac_c" 1>&6
22125 cat > conftest.$ac_ext <<EOF
22126 #line 22127 "configure"
22127 #include "confdefs.h"
22128 /* System header to define __stub macros and hopefully few prototypes,
22129 which can conflict with char $ac_func(); below. */
22130 #include <assert.h>
22131 /* Override any gcc2 internal prototype to avoid an error. */
22132 /* We use char because int might match the return type of a gcc2
22133 builtin and then its argument prototype would still apply. */
22138 /* The GNU C library defines this for functions which it implements
22139 to always fail with ENOSYS. Some functions are actually named
22140 something starting with __ and the normal name is an alias. */
22141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22149 if { (eval echo configure:22150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22151 eval "ac_cv_func_$ac_func=yes"
22153 echo "configure: failed program was:" >&5
22154 cat conftest.$ac_ext >&5
22156 eval "ac_cv_func_$ac_func=no"
22161 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22162 echo "$ac_t""yes" 1>&6
22163 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22164 cat >> confdefs.h <<EOF
22165 #define $ac_tr_func 1
22169 echo "$ac_t""no" 1>&6
22176 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22177 echo "configure:22178: checking for ISO C99 wchar_t support" >&5
22178 if test x"$has_weof" = xyes &&
22179 test x"$has_wchar_minmax" = xyes &&
22180 test x"$ac_wfuncs" = xyes; then
22181 ac_isoC99_wchar_t=yes
22183 ac_isoC99_wchar_t=no
22185 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22187 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22188 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22189 echo "configure:22190: checking for iconv.h" >&5
22190 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22191 echo $ac_n "(cached) $ac_c" 1>&6
22193 cat > conftest.$ac_ext <<EOF
22194 #line 22195 "configure"
22195 #include "confdefs.h"
22198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22199 { (eval echo configure:22200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22201 if test -z "$ac_err"; then
22203 eval "ac_cv_header_$ac_safe=yes"
22206 echo "configure: failed program was:" >&5
22207 cat conftest.$ac_ext >&5
22209 eval "ac_cv_header_$ac_safe=no"
22213 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22214 echo "$ac_t""yes" 1>&6
22217 echo "$ac_t""no" 1>&6
22221 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22222 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22223 echo "configure:22224: checking for langinfo.h" >&5
22224 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22225 echo $ac_n "(cached) $ac_c" 1>&6
22227 cat > conftest.$ac_ext <<EOF
22228 #line 22229 "configure"
22229 #include "confdefs.h"
22230 #include <langinfo.h>
22232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22233 { (eval echo configure:22234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22235 if test -z "$ac_err"; then
22237 eval "ac_cv_header_$ac_safe=yes"
22240 echo "configure: failed program was:" >&5
22241 cat conftest.$ac_ext >&5
22243 eval "ac_cv_header_$ac_safe=no"
22247 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22248 echo "$ac_t""yes" 1>&6
22249 ac_has_langinfo_h=yes
22251 echo "$ac_t""no" 1>&6
22252 ac_has_langinfo_h=no
22256 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22257 echo "configure:22258: checking for iconv in -liconv" >&5
22258 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22259 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22260 echo $ac_n "(cached) $ac_c" 1>&6
22262 ac_save_LIBS="$LIBS"
22263 LIBS="-liconv $LIBS"
22264 cat > conftest.$ac_ext <<EOF
22265 #line 22266 "configure"
22266 #include "confdefs.h"
22267 /* Override any gcc2 internal prototype to avoid an error. */
22268 /* We use char because int might match the return type of a gcc2
22269 builtin and then its argument prototype would still apply. */
22276 if { (eval echo configure:22277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22278 eval "ac_cv_lib_$ac_lib_var=yes"
22280 echo "configure: failed program was:" >&5
22281 cat conftest.$ac_ext >&5
22283 eval "ac_cv_lib_$ac_lib_var=no"
22286 LIBS="$ac_save_LIBS"
22289 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22290 echo "$ac_t""yes" 1>&6
22293 echo "$ac_t""no" 1>&6
22296 ac_save_LIBS="$LIBS"
22297 LIBS="$LIBS $libiconv"
22299 for ac_func in iconv_open iconv_close iconv nl_langinfo
22301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22302 echo "configure:22303: checking for $ac_func" >&5
22303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22304 echo $ac_n "(cached) $ac_c" 1>&6
22306 cat > conftest.$ac_ext <<EOF
22307 #line 22308 "configure"
22308 #include "confdefs.h"
22309 /* System header to define __stub macros and hopefully few prototypes,
22310 which can conflict with char $ac_func(); below. */
22311 #include <assert.h>
22312 /* Override any gcc2 internal prototype to avoid an error. */
22313 /* We use char because int might match the return type of a gcc2
22314 builtin and then its argument prototype would still apply. */
22319 /* The GNU C library defines this for functions which it implements
22320 to always fail with ENOSYS. Some functions are actually named
22321 something starting with __ and the normal name is an alias. */
22322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22330 if { (eval echo configure:22331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22332 eval "ac_cv_func_$ac_func=yes"
22334 echo "configure: failed program was:" >&5
22335 cat conftest.$ac_ext >&5
22337 eval "ac_cv_func_$ac_func=no"
22342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22343 echo "$ac_t""yes" 1>&6
22344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22345 cat >> confdefs.h <<EOF
22346 #define $ac_tr_func 1
22351 echo "$ac_t""no" 1>&6
22357 LIBS="$ac_save_LIBS"
22359 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22360 echo "configure:22361: checking for XPG2 wchar_t support" >&5
22361 if test x"$ac_has_iconv_h" = xyes &&
22362 test x"$ac_has_langinfo_h" = xyes &&
22363 test x"$ac_XPG2funcs" = xyes; then
22364 ac_XPG2_wchar_t=yes
22368 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22370 if test x"$ac_isoC99_wchar_t" = xyes &&
22371 test x"$ac_XPG2_wchar_t" = xyes; then
22372 cat >> confdefs.h <<\EOF
22373 #define _GLIBCPP_USE_WCHAR_T 1
22379 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22380 echo "configure:22381: checking for enabled wchar_t specializations" >&5
22381 echo "$ac_t""$enable_wchar_t" 1>&6
22384 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22385 ac_save_CXXFLAGS="$CXXFLAGS"
22386 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22389 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22390 echo "configure:22391: checking for strtold declaration" >&5
22391 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22392 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22393 echo $ac_n "(cached) $ac_c" 1>&6
22398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22399 ac_cpp='$CXXCPP $CPPFLAGS'
22400 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22401 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22402 cross_compiling=$ac_cv_prog_cxx_cross
22404 cat > conftest.$ac_ext <<EOF
22405 #line 22406 "configure"
22406 #include "confdefs.h"
22407 #include <stdlib.h>
22412 if { (eval echo configure:22413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22414 glibcpp_cv_func_strtold_use=yes
22416 echo "configure: failed program was:" >&5
22417 cat conftest.$ac_ext >&5
22419 glibcpp_cv_func_strtold_use=no
22423 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22424 ac_cpp='$CPP $CPPFLAGS'
22425 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22426 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22427 cross_compiling=$ac_cv_prog_cc_cross
22433 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22434 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22435 for ac_func in strtold
22437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22438 echo "configure:22439: checking for $ac_func" >&5
22439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22440 echo $ac_n "(cached) $ac_c" 1>&6
22442 cat > conftest.$ac_ext <<EOF
22443 #line 22444 "configure"
22444 #include "confdefs.h"
22445 /* System header to define __stub macros and hopefully few prototypes,
22446 which can conflict with char $ac_func(); below. */
22447 #include <assert.h>
22448 /* Override any gcc2 internal prototype to avoid an error. */
22449 /* We use char because int might match the return type of a gcc2
22450 builtin and then its argument prototype would still apply. */
22455 /* The GNU C library defines this for functions which it implements
22456 to always fail with ENOSYS. Some functions are actually named
22457 something starting with __ and the normal name is an alias. */
22458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22466 if { (eval echo configure:22467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22468 eval "ac_cv_func_$ac_func=yes"
22470 echo "configure: failed program was:" >&5
22471 cat conftest.$ac_ext >&5
22473 eval "ac_cv_func_$ac_func=no"
22478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22479 echo "$ac_t""yes" 1>&6
22480 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22481 cat >> confdefs.h <<EOF
22482 #define $ac_tr_func 1
22486 echo "$ac_t""no" 1>&6
22493 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22494 echo "configure:22495: checking for strtof declaration" >&5
22495 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22496 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22497 echo $ac_n "(cached) $ac_c" 1>&6
22502 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22503 ac_cpp='$CXXCPP $CPPFLAGS'
22504 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22505 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22506 cross_compiling=$ac_cv_prog_cxx_cross
22508 cat > conftest.$ac_ext <<EOF
22509 #line 22510 "configure"
22510 #include "confdefs.h"
22511 #include <stdlib.h>
22516 if { (eval echo configure:22517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22518 glibcpp_cv_func_strtof_use=yes
22520 echo "configure: failed program was:" >&5
22521 cat conftest.$ac_ext >&5
22523 glibcpp_cv_func_strtof_use=no
22527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22528 ac_cpp='$CPP $CPPFLAGS'
22529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22531 cross_compiling=$ac_cv_prog_cc_cross
22537 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22538 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22539 for ac_func in strtof
22541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22542 echo "configure:22543: checking for $ac_func" >&5
22543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22544 echo $ac_n "(cached) $ac_c" 1>&6
22546 cat > conftest.$ac_ext <<EOF
22547 #line 22548 "configure"
22548 #include "confdefs.h"
22549 /* System header to define __stub macros and hopefully few prototypes,
22550 which can conflict with char $ac_func(); below. */
22551 #include <assert.h>
22552 /* Override any gcc2 internal prototype to avoid an error. */
22553 /* We use char because int might match the return type of a gcc2
22554 builtin and then its argument prototype would still apply. */
22559 /* The GNU C library defines this for functions which it implements
22560 to always fail with ENOSYS. Some functions are actually named
22561 something starting with __ and the normal name is an alias. */
22562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22570 if { (eval echo configure:22571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22572 eval "ac_cv_func_$ac_func=yes"
22574 echo "configure: failed program was:" >&5
22575 cat conftest.$ac_ext >&5
22577 eval "ac_cv_func_$ac_func=no"
22582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22583 echo "$ac_t""yes" 1>&6
22584 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22585 cat >> confdefs.h <<EOF
22586 #define $ac_tr_func 1
22590 echo "$ac_t""no" 1>&6
22596 for ac_func in drand48
22598 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22599 echo "configure:22600: checking for $ac_func" >&5
22600 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22601 echo $ac_n "(cached) $ac_c" 1>&6
22603 cat > conftest.$ac_ext <<EOF
22604 #line 22605 "configure"
22605 #include "confdefs.h"
22606 /* System header to define __stub macros and hopefully few prototypes,
22607 which can conflict with char $ac_func(); below. */
22608 #include <assert.h>
22609 /* Override any gcc2 internal prototype to avoid an error. */
22610 /* We use char because int might match the return type of a gcc2
22611 builtin and then its argument prototype would still apply. */
22616 /* The GNU C library defines this for functions which it implements
22617 to always fail with ENOSYS. Some functions are actually named
22618 something starting with __ and the normal name is an alias. */
22619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22627 if { (eval echo configure:22628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22629 eval "ac_cv_func_$ac_func=yes"
22631 echo "configure: failed program was:" >&5
22632 cat conftest.$ac_ext >&5
22634 eval "ac_cv_func_$ac_func=no"
22639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22640 echo "$ac_t""yes" 1>&6
22641 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22642 cat >> confdefs.h <<EOF
22643 #define $ac_tr_func 1
22647 echo "$ac_t""no" 1>&6
22652 CXXFLAGS="$ac_save_CXXFLAGS"
22655 # For showmanyc_helper().
22656 for ac_hdr in sys/ioctl.h sys/filio.h
22658 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22659 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22660 echo "configure:22661: checking for $ac_hdr" >&5
22661 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22662 echo $ac_n "(cached) $ac_c" 1>&6
22664 cat > conftest.$ac_ext <<EOF
22665 #line 22666 "configure"
22666 #include "confdefs.h"
22669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22670 { (eval echo configure:22671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22672 if test -z "$ac_err"; then
22674 eval "ac_cv_header_$ac_safe=yes"
22677 echo "configure: failed program was:" >&5
22678 cat conftest.$ac_ext >&5
22680 eval "ac_cv_header_$ac_safe=no"
22684 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22685 echo "$ac_t""yes" 1>&6
22686 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22687 cat >> confdefs.h <<EOF
22688 #define $ac_tr_hdr 1
22692 echo "$ac_t""no" 1>&6
22697 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22698 echo $ac_n "(cached) $ac_c" 1>&6
22701 cat > conftest.$ac_ext <<EOF
22702 #line 22703 "configure"
22703 #include "confdefs.h"
22706 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22709 if { (eval echo configure:22710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22711 glibcpp_cv_POLL=yes
22713 echo "configure: failed program was:" >&5
22714 cat conftest.$ac_ext >&5
22722 if test x$glibcpp_cv_POLL = xyes; then
22723 cat >> confdefs.h <<\EOF
22724 #define HAVE_POLL 1
22730 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22731 echo $ac_n "(cached) $ac_c" 1>&6
22734 cat > conftest.$ac_ext <<EOF
22735 #line 22736 "configure"
22736 #include "confdefs.h"
22737 #include <sys/stat.h>
22739 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22742 if { (eval echo configure:22743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22744 glibcpp_cv_S_ISREG=yes
22746 echo "configure: failed program was:" >&5
22747 cat conftest.$ac_ext >&5
22749 glibcpp_cv_S_ISREG=no
22755 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
22756 echo $ac_n "(cached) $ac_c" 1>&6
22759 cat > conftest.$ac_ext <<EOF
22760 #line 22761 "configure"
22761 #include "confdefs.h"
22762 #include <sys/stat.h>
22764 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22767 if { (eval echo configure:22768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22769 glibcpp_cv_S_IFREG=yes
22771 echo "configure: failed program was:" >&5
22772 cat conftest.$ac_ext >&5
22774 glibcpp_cv_S_IFREG=no
22780 if test x$glibcpp_cv_S_ISREG = xyes; then
22781 cat >> confdefs.h <<\EOF
22782 #define HAVE_S_ISREG 1
22785 elif test x$glibcpp_cv_S_IFREG = xyes; then
22786 cat >> confdefs.h <<\EOF
22787 #define HAVE_S_IFREG 1
22794 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22795 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22796 echo "configure:22797: checking for locale.h" >&5
22797 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22798 echo $ac_n "(cached) $ac_c" 1>&6
22800 cat > conftest.$ac_ext <<EOF
22801 #line 22802 "configure"
22802 #include "confdefs.h"
22803 #include <locale.h>
22805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22806 { (eval echo configure:22807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22808 if test -z "$ac_err"; then
22810 eval "ac_cv_header_$ac_safe=yes"
22813 echo "configure: failed program was:" >&5
22814 cat conftest.$ac_ext >&5
22816 eval "ac_cv_header_$ac_safe=no"
22820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22821 echo "$ac_t""yes" 1>&6
22823 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22824 echo "configure:22825: checking for LC_MESSAGES" >&5
22825 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22826 echo $ac_n "(cached) $ac_c" 1>&6
22828 cat > conftest.$ac_ext <<EOF
22829 #line 22830 "configure"
22830 #include "confdefs.h"
22831 #include <locale.h>
22836 if { (eval echo configure:22837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22838 ac_cv_val_LC_MESSAGES=yes
22840 echo "configure: failed program was:" >&5
22841 cat conftest.$ac_ext >&5
22843 ac_cv_val_LC_MESSAGES=no
22848 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22849 if test $ac_cv_val_LC_MESSAGES = yes; then
22850 cat >> confdefs.h <<\EOF
22851 #define HAVE_LC_MESSAGES 1
22857 echo "$ac_t""no" 1>&6
22862 cat > conftest.$ac_ext <<EOF
22863 #line 22864 "configure"
22864 #include "confdefs.h"
22866 #include <setjmp.h>
22869 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22872 if { (eval echo configure:22873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22874 cat >> confdefs.h <<\EOF
22875 #define HAVE_SIGSETJMP 1
22880 echo "configure: failed program was:" >&5
22881 cat conftest.$ac_ext >&5
22885 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22887 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22888 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22889 echo "configure:22890: checking for $ac_hdr" >&5
22890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22891 echo $ac_n "(cached) $ac_c" 1>&6
22893 cat > conftest.$ac_ext <<EOF
22894 #line 22895 "configure"
22895 #include "confdefs.h"
22898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22899 { (eval echo configure:22900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22901 if test -z "$ac_err"; then
22903 eval "ac_cv_header_$ac_safe=yes"
22906 echo "configure: failed program was:" >&5
22907 cat conftest.$ac_ext >&5
22909 eval "ac_cv_header_$ac_safe=no"
22913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22914 echo "$ac_t""yes" 1>&6
22915 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22916 cat >> confdefs.h <<EOF
22917 #define $ac_tr_hdr 1
22921 echo "$ac_t""no" 1>&6
22925 for ac_func in getpagesize
22927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22928 echo "configure:22929: checking for $ac_func" >&5
22929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22930 echo $ac_n "(cached) $ac_c" 1>&6
22932 cat > conftest.$ac_ext <<EOF
22933 #line 22934 "configure"
22934 #include "confdefs.h"
22935 /* System header to define __stub macros and hopefully few prototypes,
22936 which can conflict with char $ac_func(); below. */
22937 #include <assert.h>
22938 /* Override any gcc2 internal prototype to avoid an error. */
22939 /* We use char because int might match the return type of a gcc2
22940 builtin and then its argument prototype would still apply. */
22945 /* The GNU C library defines this for functions which it implements
22946 to always fail with ENOSYS. Some functions are actually named
22947 something starting with __ and the normal name is an alias. */
22948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22956 if { (eval echo configure:22957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22958 eval "ac_cv_func_$ac_func=yes"
22960 echo "configure: failed program was:" >&5
22961 cat conftest.$ac_ext >&5
22963 eval "ac_cv_func_$ac_func=no"
22968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22969 echo "$ac_t""yes" 1>&6
22970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22971 cat >> confdefs.h <<EOF
22972 #define $ac_tr_func 1
22976 echo "$ac_t""no" 1>&6
22980 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
22981 echo "configure:22982: checking for working mmap" >&5
22982 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
22983 echo $ac_n "(cached) $ac_c" 1>&6
22985 if test "$cross_compiling" = yes; then
22986 ac_cv_func_mmap_fixed_mapped=no
22988 cat > conftest.$ac_ext <<EOF
22989 #line 22990 "configure"
22990 #include "confdefs.h"
22992 /* Thanks to Mike Haertel and Jim Avera for this test.
22993 Here is a matrix of mmap possibilities:
22994 mmap private not fixed
22995 mmap private fixed at somewhere currently unmapped
22996 mmap private fixed at somewhere already mapped
22997 mmap shared not fixed
22998 mmap shared fixed at somewhere currently unmapped
22999 mmap shared fixed at somewhere already mapped
23000 For private mappings, we should verify that changes cannot be read()
23001 back from the file, nor mmap's back from the file at a different
23002 address. (There have been systems where private was not correctly
23003 implemented like the infamous i386 svr4.0, and systems where the
23004 VM page cache was not coherent with the filesystem buffer cache
23005 like early versions of FreeBSD and possibly contemporary NetBSD.)
23006 For shared mappings, we should conversely verify that changes get
23007 propogated back to all the places they're supposed to be.
23009 Grep wants private fixed already mapped.
23010 The main things grep needs to know about mmap are:
23011 * does it exist and is it safe to write into the mmap'd area
23012 * how to use it (BSD variants) */
23013 #include <sys/types.h>
23015 #include <sys/mman.h>
23017 #if HAVE_SYS_TYPES_H
23018 # include <sys/types.h>
23022 # include <stdlib.h>
23025 #if HAVE_SYS_STAT_H
23026 # include <sys/stat.h>
23030 # include <unistd.h>
23033 /* This mess was copied from the GNU getpagesize.h. */
23034 #ifndef HAVE_GETPAGESIZE
23036 /* Assume that all systems that can run configure have sys/param.h. */
23037 # ifndef HAVE_SYS_PARAM_H
23038 # define HAVE_SYS_PARAM_H 1
23041 # ifdef _SC_PAGESIZE
23042 # define getpagesize() sysconf(_SC_PAGESIZE)
23043 # else /* no _SC_PAGESIZE */
23044 # ifdef HAVE_SYS_PARAM_H
23045 # include <sys/param.h>
23046 # ifdef EXEC_PAGESIZE
23047 # define getpagesize() EXEC_PAGESIZE
23048 # else /* no EXEC_PAGESIZE */
23050 # define getpagesize() NBPG * CLSIZE
23053 # endif /* no CLSIZE */
23054 # else /* no NBPG */
23056 # define getpagesize() NBPC
23057 # else /* no NBPC */
23059 # define getpagesize() PAGESIZE
23060 # endif /* PAGESIZE */
23061 # endif /* no NBPC */
23062 # endif /* no NBPG */
23063 # endif /* no EXEC_PAGESIZE */
23064 # else /* no HAVE_SYS_PARAM_H */
23065 # define getpagesize() 8192 /* punt totally */
23066 # endif /* no HAVE_SYS_PARAM_H */
23067 # endif /* no _SC_PAGESIZE */
23069 #endif /* no HAVE_GETPAGESIZE */
23072 extern "C" { void *malloc(unsigned); }
23080 char *data, *data2, *data3;
23084 pagesize = getpagesize();
23087 * First, make a file with some known garbage in it.
23089 data = malloc(pagesize);
23092 for (i = 0; i < pagesize; ++i)
23093 *(data + i) = rand();
23095 fd = creat("conftestmmap", 0600);
23098 if (write(fd, data, pagesize) != pagesize)
23103 * Next, try to mmap the file at a fixed address which
23104 * already has something else allocated at it. If we can,
23105 * also make sure that we see the same garbage.
23107 fd = open("conftestmmap", O_RDWR);
23110 data2 = malloc(2 * pagesize);
23113 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23114 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23115 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23117 for (i = 0; i < pagesize; ++i)
23118 if (*(data + i) != *(data2 + i))
23122 * Finally, make sure that changes to the mapped area
23123 * do not percolate back to the file as seen by read().
23124 * (This is a bug on some variants of i386 svr4.0.)
23126 for (i = 0; i < pagesize; ++i)
23127 *(data2 + i) = *(data2 + i) + 1;
23128 data3 = malloc(pagesize);
23131 if (read(fd, data3, pagesize) != pagesize)
23133 for (i = 0; i < pagesize; ++i)
23134 if (*(data + i) != *(data3 + i))
23137 unlink("conftestmmap");
23142 if { (eval echo configure:23143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23144 ac_cv_func_mmap_fixed_mapped=yes
23146 echo "configure: failed program was:" >&5
23147 cat conftest.$ac_ext >&5
23149 ac_cv_func_mmap_fixed_mapped=no
23156 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23157 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23158 cat >> confdefs.h <<\EOF
23159 #define HAVE_MMAP 1
23166 # This depends on GLIBCPP_CHECK_LINKER_FEATURES, but without it assumes no.
23167 # Check whether --enable-symvers or --disable-symvers was given.
23168 if test "${enable_symvers+set}" = set; then
23169 enableval="$enable_symvers"
23170 case "$enableval" in
23171 yes) enable_symvers=yes ;;
23172 no) enable_symvers=no ;;
23173 # other names here, just as sanity checks
23174 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23175 gnu) enable_symvers=$enableval ;;
23176 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23182 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23183 # don't know enough about $LD to do tricks...
23184 if test x$enable_shared = xno ||
23186 test x$glibcpp_gnu_ld_version = x; then
23190 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23191 if test $enable_symvers != no; then
23192 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23193 echo "configure:23194: checking for shared libgcc" >&5
23194 ac_save_CFLAGS="$CFLAGS"
23196 cat > conftest.$ac_ext <<EOF
23197 #line 23198 "configure"
23198 #include "confdefs.h"
23204 if { (eval echo configure:23205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23206 glibcpp_shared_libgcc=yes
23208 echo "configure: failed program was:" >&5
23209 cat conftest.$ac_ext >&5
23211 glibcpp_shared_libgcc=no
23214 CFLAGS="$ac_save_CFLAGS"
23215 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23218 # For GNU ld, we need at least this version. It's 2.12 in the same format
23219 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23220 glibcpp_min_gnu_ld_version=21200
23222 # Check to see if unspecified "yes" value can win, given results
23224 if test $enable_symvers = yes ; then
23225 if test $with_gnu_ld = yes &&
23226 test $glibcpp_shared_libgcc = yes ;
23228 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23231 ac_test_CFLAGS="${CFLAGS+set}"
23232 ac_save_CFLAGS="$CFLAGS"
23233 CFLAGS='-shared -Wl,--version-script,conftest.map'
23236 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23238 cat > conftest.$ac_ext <<EOF
23239 #line 23240 "configure"
23240 #include "confdefs.h"
23246 if { (eval echo configure:23247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23250 echo "configure: failed program was:" >&5
23251 cat conftest.$ac_ext >&5
23254 if test "$ac_test_CFLAGS" = set; then
23255 CFLAGS="$ac_save_CFLAGS"
23257 # this is the suspicious part
23263 # just fail for now
23268 case $enable_symvers in
23270 SYMVER_MAP=config/linker-map.dummy
23273 SYMVER_MAP=config/linker-map.gnu
23274 cat >> confdefs.h <<\EOF
23275 #define _GLIBCPP_SYMVER 1
23284 if test $enable_symvers != no; then
23285 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23286 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23288 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23289 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23291 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23292 echo "configure:23293: checking versioning on shared library symbols" >&5
23293 echo "$ac_t""$enable_symvers" 1>&6
23296 # This depends on GLIBCPP_ENABLE_SYMVERS and GLIBCPP_IS_CROSS_COMPILING.
23299 if test x"$GLIBCPP_IS_CROSS_COMPILING" = xfalse; then
23300 # Do checks for memory limit functions.
23302 setrlimit_have_headers=yes
23303 for ac_hdr in unistd.h sys/time.h sys/resource.h
23305 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23306 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23307 echo "configure:23308: checking for $ac_hdr" >&5
23308 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23309 echo $ac_n "(cached) $ac_c" 1>&6
23311 cat > conftest.$ac_ext <<EOF
23312 #line 23313 "configure"
23313 #include "confdefs.h"
23316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23317 { (eval echo configure:23318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23319 if test -z "$ac_err"; then
23321 eval "ac_cv_header_$ac_safe=yes"
23324 echo "configure: failed program was:" >&5
23325 cat conftest.$ac_ext >&5
23327 eval "ac_cv_header_$ac_safe=no"
23331 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23332 echo "$ac_t""yes" 1>&6
23333 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23334 cat >> confdefs.h <<EOF
23335 #define $ac_tr_hdr 1
23339 echo "$ac_t""no" 1>&6
23340 setrlimit_have_headers=no
23344 # If don't have the headers, then we can't run the tests now, and we
23345 # won't be seeing any of these during testsuite compilation.
23346 if test $setrlimit_have_headers = yes; then
23347 # Can't do these in a loop, else the resulting syntax is wrong.
23349 cat > conftest.$ac_ext <<EOF
23350 #line 23351 "configure"
23351 #include "confdefs.h"
23352 #include <unistd.h>
23353 #include <sys/time.h>
23354 #include <sys/resource.h>
23357 int f = RLIMIT_DATA ;
23360 if { (eval echo configure:23361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23364 echo "configure: failed program was:" >&5
23365 cat conftest.$ac_ext >&5
23370 cat >> confdefs.h <<EOF
23371 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23376 cat > conftest.$ac_ext <<EOF
23377 #line 23378 "configure"
23378 #include "confdefs.h"
23379 #include <unistd.h>
23380 #include <sys/time.h>
23381 #include <sys/resource.h>
23384 int f = RLIMIT_RSS ;
23387 if { (eval echo configure:23388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23391 echo "configure: failed program was:" >&5
23392 cat conftest.$ac_ext >&5
23397 cat >> confdefs.h <<EOF
23398 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23403 cat > conftest.$ac_ext <<EOF
23404 #line 23405 "configure"
23405 #include "confdefs.h"
23406 #include <unistd.h>
23407 #include <sys/time.h>
23408 #include <sys/resource.h>
23411 int f = RLIMIT_VMEM ;
23414 if { (eval echo configure:23415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23418 echo "configure: failed program was:" >&5
23419 cat conftest.$ac_ext >&5
23424 cat >> confdefs.h <<EOF
23425 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23430 cat > conftest.$ac_ext <<EOF
23431 #line 23432 "configure"
23432 #include "confdefs.h"
23433 #include <unistd.h>
23434 #include <sys/time.h>
23435 #include <sys/resource.h>
23438 int f = RLIMIT_AS ;
23441 if { (eval echo configure:23442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23445 echo "configure: failed program was:" >&5
23446 cat conftest.$ac_ext >&5
23451 cat >> confdefs.h <<EOF
23452 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23457 # Check for rlimit, setrlimit.
23458 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23459 echo $ac_n "(cached) $ac_c" 1>&6
23462 cat > conftest.$ac_ext <<EOF
23463 #line 23464 "configure"
23464 #include "confdefs.h"
23465 #include <unistd.h>
23466 #include <sys/time.h>
23467 #include <sys/resource.h>
23470 struct rlimit r; setrlimit(0, &r);
23473 if { (eval echo configure:23474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23477 echo "configure: failed program was:" >&5
23478 cat conftest.$ac_ext >&5
23488 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23489 echo "configure:23490: checking for testsuite memory limit support" >&5
23490 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23492 cat >> confdefs.h <<\EOF
23493 #define _GLIBCPP_MEM_LIMITS 1
23499 echo "$ac_t""$ac_mem_limits" 1>&6
23502 # Look for setenv, so that extended locale tests can be performed.
23504 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23505 echo "configure:23506: checking for setenv declaration" >&5
23506 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23507 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23508 echo $ac_n "(cached) $ac_c" 1>&6
23513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23514 ac_cpp='$CXXCPP $CPPFLAGS'
23515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23517 cross_compiling=$ac_cv_prog_cxx_cross
23519 cat > conftest.$ac_ext <<EOF
23520 #line 23521 "configure"
23521 #include "confdefs.h"
23522 #include <stdlib.h>
23527 if { (eval echo configure:23528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23529 glibcpp_cv_func_setenv_use=yes
23531 echo "configure: failed program was:" >&5
23532 cat conftest.$ac_ext >&5
23534 glibcpp_cv_func_setenv_use=no
23538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23539 ac_cpp='$CPP $CPPFLAGS'
23540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23542 cross_compiling=$ac_cv_prog_cc_cross
23548 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23549 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23550 for ac_func in setenv
23552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23553 echo "configure:23554: checking for $ac_func" >&5
23554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23555 echo $ac_n "(cached) $ac_c" 1>&6
23557 cat > conftest.$ac_ext <<EOF
23558 #line 23559 "configure"
23559 #include "confdefs.h"
23560 /* System header to define __stub macros and hopefully few prototypes,
23561 which can conflict with char $ac_func(); below. */
23562 #include <assert.h>
23563 /* Override any gcc2 internal prototype to avoid an error. */
23564 /* We use char because int might match the return type of a gcc2
23565 builtin and then its argument prototype would still apply. */
23570 /* The GNU C library defines this for functions which it implements
23571 to always fail with ENOSYS. Some functions are actually named
23572 something starting with __ and the normal name is an alias. */
23573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23581 if { (eval echo configure:23582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23583 eval "ac_cv_func_$ac_func=yes"
23585 echo "configure: failed program was:" >&5
23586 cat conftest.$ac_ext >&5
23588 eval "ac_cv_func_$ac_func=no"
23593 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23594 echo "$ac_t""yes" 1>&6
23595 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23596 cat >> confdefs.h <<EOF
23597 #define $ac_tr_func 1
23601 echo "$ac_t""no" 1>&6
23609 # Export file names for ABI checking.
23610 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)/baseline_symbols.txt"
23613 # Determine if checking the ABI is desirable.
23614 if test x$enable_symvers = xno; then
23615 enable_abi_check=no
23619 enable_abi_check=no ;;
23621 enable_abi_check=yes ;;
23627 if test "$enable_wchar_t" = yes; then
23628 GLIBCPP_TEST_WCHAR_T_TRUE=
23629 GLIBCPP_TEST_WCHAR_T_FALSE='#'
23631 GLIBCPP_TEST_WCHAR_T_TRUE='#'
23632 GLIBCPP_TEST_WCHAR_T_FALSE=
23636 if test "$enable_abi_check" = yes; then
23637 GLIBCPP_TEST_ABI_TRUE=
23638 GLIBCPP_TEST_ABI_FALSE='#'
23640 GLIBCPP_TEST_ABI_TRUE='#'
23641 GLIBCPP_TEST_ABI_FALSE=
23645 # Propagate the target-specific source directories through the build chain.
23646 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23647 # uses it, and it only gets used in this file.)
23648 OS_INC_SRCDIR=config/${os_include_dir}
23649 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23653 # Determine cross-compile flags and all AM_CONDITIONALs.
23657 if test "$CANADIAN" = yes; then
23666 if test "$need_libmath" = yes; then
23667 GLIBCPP_BUILD_LIBMATH_TRUE=
23668 GLIBCPP_BUILD_LIBMATH_FALSE='#'
23670 GLIBCPP_BUILD_LIBMATH_TRUE='#'
23671 GLIBCPP_BUILD_LIBMATH_FALSE=
23674 cat > confcache <<\EOF
23675 # This file is a shell script that caches the results of configure
23676 # tests run on this system so they can be shared between configure
23677 # scripts and configure runs. It is not useful on other systems.
23678 # If it contains results you don't want to keep, you may remove or edit it.
23680 # By default, configure uses ./config.cache as the cache file,
23681 # creating it if it does not exist already. You can give configure
23682 # the --cache-file=FILE option to use a different cache file; that is
23683 # what configure does when it calls configure scripts in
23684 # subdirectories, so they share the cache.
23685 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23686 # config.status only pays attention to the cache file if you give it the
23687 # --recheck option to rerun configure.
23690 # The following way of writing the cache mishandles newlines in values,
23691 # but we know of no workaround that is simple, portable, and efficient.
23692 # So, don't put newlines in cache variables' values.
23693 # Ultrix sh set writes to stderr and can't be redirected directly,
23694 # and sets the high bit in the cache file unless we assign to the vars.
23696 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23698 # `set' does not quote correctly, so add quotes (double-quote substitution
23699 # turns \\\\ into \\, and sed turns \\ into \).
23701 -e "s/'/'\\\\''/g" \
23702 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23705 # `set' quotes correctly as required by POSIX, so do not add quotes.
23706 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23709 if cmp -s $cache_file confcache; then
23712 if test -w $cache_file; then
23713 echo "updating cache $cache_file"
23714 cat confcache > $cache_file
23716 echo "not updating unwritable cache $cache_file"
23722 if test "${multilib}" = "yes"; then
23723 multilib_arg="--enable-multilib"
23728 # Export all the install information
23730 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23731 # exported correctly in GLIBCPP_CONFIGURE.
23732 glibcpp_toolexecdir=no
23733 glibcpp_toolexeclibdir=no
23734 glibcpp_prefixdir=${prefix}
23736 # Process the option --with-gxx-include-dir=<path to include-files directory>
23737 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23738 echo "configure:23739: checking for --with-gxx-include-dir" >&5
23739 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23740 if test "${with_gxx_include_dir+set}" = set; then
23741 withval="$with_gxx_include_dir"
23742 case "${withval}" in
23744 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23751 gxx_include_dir=${withval}
23758 echo "$ac_t""$gxx_include_dir" 1>&6
23760 # Process the option "--enable-version-specific-runtime-libs"
23761 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23762 echo "configure:23763: checking for --enable-version-specific-runtime-libs" >&5
23763 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23764 if test "${enable_version_specific_runtime_libs+set}" = set; then
23765 enableval="$enable_version_specific_runtime_libs"
23766 case "$enableval" in
23767 yes) version_specific_libs=yes ;;
23768 no) version_specific_libs=no ;;
23769 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23772 version_specific_libs=no
23774 # Option set, now we can test it.
23775 echo "$ac_t""$version_specific_libs" 1>&6
23777 # Default case for install directory for include files.
23778 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23779 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23782 # Version-specific runtime libs processing.
23783 if test $version_specific_libs = yes; then
23784 # Need the gcc compiler version to know where to install libraries
23785 # and header files if --enable-version-specific-runtime-libs option
23787 if test x"$gxx_include_dir" = x"no"; then
23788 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23790 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23791 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23794 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23795 # Install a library built with a cross compiler in tooldir, not libdir.
23796 if test x"$glibcpp_toolexecdir" = x"no"; then
23797 if test -n "$with_cross_host" &&
23798 test x"$with_cross_host" != x"no"; then
23799 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23800 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23802 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23803 glibcpp_toolexeclibdir='$(libdir)'
23805 multi_os_directory=`$CC -print-multi-os-directory`
23806 case $multi_os_directory in
23807 .) ;; # Avoid trailing /.
23808 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
23812 echo $ac_n "checking for install location""... $ac_c" 1>&6
23813 echo "configure:23814: checking for install location" >&5
23814 echo "$ac_t""$gxx_include_dir" 1>&6
23822 # Export all the include and flag information to Makefiles.
23824 # Root level of the build directory include sources.
23825 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23827 # Passed down for canadian crosses.
23828 if test x"$CANADIAN" = xyes; then
23829 TOPLEVEL_INCLUDES='-I$(includedir)'
23832 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23834 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23836 # Now, export this to all the little Makefiles....
23843 # Optimization flags that are probably a good idea for thrill-seekers. Just
23844 # uncomment the lines below and make, everything else is ready to go...
23845 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23849 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
23853 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23854 grep "enable shared" > /dev/null; then
23855 LIBSUPCXX_PICFLAGS=-prefer-pic
23857 LIBSUPCXX_PICFLAGS=
23861 # Generate the various Makefiles, include files, and scripts.
23862 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23863 # and libsupc++/Makefile.am so that multilib installs will end up
23864 # installed in the correct place. To work around this not being passed
23865 # down from config-ml.in -> top_srcdir/Makefile.am ->
23866 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23868 cat > confcache <<\EOF
23869 # This file is a shell script that caches the results of configure
23870 # tests run on this system so they can be shared between configure
23871 # scripts and configure runs. It is not useful on other systems.
23872 # If it contains results you don't want to keep, you may remove or edit it.
23874 # By default, configure uses ./config.cache as the cache file,
23875 # creating it if it does not exist already. You can give configure
23876 # the --cache-file=FILE option to use a different cache file; that is
23877 # what configure does when it calls configure scripts in
23878 # subdirectories, so they share the cache.
23879 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23880 # config.status only pays attention to the cache file if you give it the
23881 # --recheck option to rerun configure.
23884 # The following way of writing the cache mishandles newlines in values,
23885 # but we know of no workaround that is simple, portable, and efficient.
23886 # So, don't put newlines in cache variables' values.
23887 # Ultrix sh set writes to stderr and can't be redirected directly,
23888 # and sets the high bit in the cache file unless we assign to the vars.
23890 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23892 # `set' does not quote correctly, so add quotes (double-quote substitution
23893 # turns \\\\ into \\, and sed turns \\ into \).
23895 -e "s/'/'\\\\''/g" \
23896 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23899 # `set' quotes correctly as required by POSIX, so do not add quotes.
23900 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23903 if cmp -s $cache_file confcache; then
23906 if test -w $cache_file; then
23907 echo "updating cache $cache_file"
23908 cat confcache > $cache_file
23910 echo "not updating unwritable cache $cache_file"
23915 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23917 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23918 # Let make expand exec_prefix.
23919 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23921 # Any assignment to VPATH causes Sun make to only execute
23922 # the first set of double-colon rules, so remove it if not needed.
23923 # If there is a colon in the path, we need to keep it.
23924 if test "x$srcdir" = x.; then
23925 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23928 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23930 DEFS=-DHAVE_CONFIG_H
23932 # Without the "./", some shells look in PATH for config.status.
23933 : ${CONFIG_STATUS=./config.status}
23935 echo creating $CONFIG_STATUS
23936 rm -f $CONFIG_STATUS
23937 cat > $CONFIG_STATUS <<EOF
23939 # Generated automatically by configure.
23940 # Run this file to recreate the current configuration.
23941 # This directory was configured as follows,
23942 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23944 # $0 $ac_configure_args
23946 # Compiler output produced by configure, useful for debugging
23947 # configure, is in ./config.log if it exists.
23949 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23952 case "\$ac_option" in
23953 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23954 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23955 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23956 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23957 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23959 -help | --help | --hel | --he | --h)
23960 echo "\$ac_cs_usage"; exit 0 ;;
23961 *) echo "\$ac_cs_usage"; exit 1 ;;
23965 ac_given_srcdir=$srcdir
23966 ac_given_INSTALL="$INSTALL"
23968 trap 'rm -fr `echo "Makefile \
23969 include/Makefile src/Makefile \
23970 libmath/Makefile libsupc++/Makefile \
23971 po/Makefile testsuite/Makefile scripts/check scripts/testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23973 cat >> $CONFIG_STATUS <<EOF
23975 # Protect against being on the right side of a sed subst in config.status.
23976 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23977 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
23981 s%@CFLAGS@%$CFLAGS%g
23982 s%@CPPFLAGS@%$CPPFLAGS%g
23983 s%@CXXFLAGS@%$CXXFLAGS%g
23984 s%@FFLAGS@%$FFLAGS%g
23986 s%@LDFLAGS@%$LDFLAGS%g
23988 s%@exec_prefix@%$exec_prefix%g
23989 s%@prefix@%$prefix%g
23990 s%@program_transform_name@%$program_transform_name%g
23991 s%@bindir@%$bindir%g
23992 s%@sbindir@%$sbindir%g
23993 s%@libexecdir@%$libexecdir%g
23994 s%@datadir@%$datadir%g
23995 s%@sysconfdir@%$sysconfdir%g
23996 s%@sharedstatedir@%$sharedstatedir%g
23997 s%@localstatedir@%$localstatedir%g
23998 s%@libdir@%$libdir%g
23999 s%@includedir@%$includedir%g
24000 s%@oldincludedir@%$oldincludedir%g
24001 s%@infodir@%$infodir%g
24002 s%@mandir@%$mandir%g
24003 s%@PACKAGE@%$PACKAGE%g
24004 s%@libtool_VERSION@%$libtool_VERSION%g
24005 s%@toplevel_srcdir@%$toplevel_srcdir%g
24007 s%@host_alias@%$host_alias%g
24008 s%@host_cpu@%$host_cpu%g
24009 s%@host_vendor@%$host_vendor%g
24010 s%@host_os@%$host_os%g
24011 s%@target@%$target%g
24012 s%@target_alias@%$target_alias%g
24013 s%@target_cpu@%$target_cpu%g
24014 s%@target_vendor@%$target_vendor%g
24015 s%@target_os@%$target_os%g
24017 s%@build_alias@%$build_alias%g
24018 s%@build_cpu@%$build_cpu%g
24019 s%@build_vendor@%$build_vendor%g
24020 s%@build_os@%$build_os%g
24021 s%@glibcpp_builddir@%$glibcpp_builddir%g
24022 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24025 s%@glibcpp_basedir@%$glibcpp_basedir%g
24027 s%@glibcpp_CXX@%$glibcpp_CXX%g
24030 s%@RANLIB@%$RANLIB%g
24031 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24032 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24033 s%@INSTALL_DATA@%$INSTALL_DATA%g
24034 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24035 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24037 s%@EXEEXT@%$EXEEXT%g
24038 s%@VERSION@%$VERSION%g
24039 s%@ACLOCAL@%$ACLOCAL%g
24040 s%@AUTOCONF@%$AUTOCONF%g
24041 s%@AUTOMAKE@%$AUTOMAKE%g
24042 s%@AUTOHEADER@%$AUTOHEADER%g
24043 s%@MAKEINFO@%$MAKEINFO%g
24044 s%@SET_MAKE@%$SET_MAKE%g
24045 s%@OBJEXT@%$OBJEXT%g
24047 s%@LIBTOOL@%$LIBTOOL%g
24048 s%@CXXCPP@%$CXXCPP%g
24049 s%@enable_shared@%$enable_shared%g
24050 s%@enable_static@%$enable_static%g
24051 s%@ifGNUmake@%$ifGNUmake%g
24052 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24053 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24054 s%@glibcpp_PCHFLAGS@%$glibcpp_PCHFLAGS%g
24055 s%@CSTDIO_H@%$CSTDIO_H%g
24056 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24057 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24059 s%@check_msgfmt@%$check_msgfmt%g
24060 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24061 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24062 s%@glibcpp_localedir@%$glibcpp_localedir%g
24063 s%@USE_NLS@%$USE_NLS%g
24064 s%@CLOCALE_H@%$CLOCALE_H%g
24065 s%@CCODECVT_H@%$CCODECVT_H%g
24066 s%@CMESSAGES_H@%$CMESSAGES_H%g
24067 s%@CCODECVT_CC@%$CCODECVT_CC%g
24068 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24069 s%@CCTYPE_CC@%$CCTYPE_CC%g
24070 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24071 s%@CMONEY_CC@%$CMONEY_CC%g
24072 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24073 s%@CTIME_H@%$CTIME_H%g
24074 s%@CTIME_CC@%$CTIME_CC%g
24075 s%@CLOCALE_CC@%$CLOCALE_CC%g
24076 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24077 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24078 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24079 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24080 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24081 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24082 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24083 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24084 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24085 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24086 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24087 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24088 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24089 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24090 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24091 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24092 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24093 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24094 s%@WERROR@%$WERROR%g
24095 s%@SYMVER_MAP@%$SYMVER_MAP%g
24096 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24097 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24098 s%@baseline_file@%$baseline_file%g
24099 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24100 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24101 s%@GLIBCPP_TEST_ABI_TRUE@%$GLIBCPP_TEST_ABI_TRUE%g
24102 s%@GLIBCPP_TEST_ABI_FALSE@%$GLIBCPP_TEST_ABI_FALSE%g
24103 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24104 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24105 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24106 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24107 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24108 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24109 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24110 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24111 s%@gxx_include_dir@%$gxx_include_dir%g
24112 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24113 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24114 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24115 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24116 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24117 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24118 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24119 s%@WARN_FLAGS@%$WARN_FLAGS%g
24120 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24125 cat >> $CONFIG_STATUS <<\EOF
24127 # Split the substitutions into bite-sized pieces for seds with
24128 # small command number limits, like on Digital OSF/1 and HP-UX.
24129 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24130 ac_file=1 # Number of current file.
24131 ac_beg=1 # First line for current file.
24132 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24135 while $ac_more_lines; do
24136 if test $ac_beg -gt 1; then
24137 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24139 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24141 if test ! -s conftest.s$ac_file; then
24142 ac_more_lines=false
24143 rm -f conftest.s$ac_file
24145 if test -z "$ac_sed_cmds"; then
24146 ac_sed_cmds="sed -f conftest.s$ac_file"
24148 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24150 ac_file=`expr $ac_file + 1`
24152 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24155 if test -z "$ac_sed_cmds"; then
24160 cat >> $CONFIG_STATUS <<EOF
24162 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24163 include/Makefile src/Makefile \
24164 libmath/Makefile libsupc++/Makefile \
24165 po/Makefile testsuite/Makefile scripts/check scripts/testsuite_flags"}
24167 cat >> $CONFIG_STATUS <<\EOF
24168 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24169 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24171 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24172 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24173 *) ac_file_in="${ac_file}.in" ;;
24176 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24178 # Remove last slash and all that follows it. Not all systems have dirname.
24179 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24180 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24181 # The file is in a subdirectory.
24182 test ! -d "$ac_dir" && mkdir "$ac_dir"
24183 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24184 # A "../" for each directory in $ac_dir_suffix.
24185 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24187 ac_dir_suffix= ac_dots=
24190 case "$ac_given_srcdir" in
24192 if test -z "$ac_dots"; then top_srcdir=.
24193 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24194 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24195 *) # Relative path.
24196 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24197 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24200 case "$ac_given_INSTALL" in
24201 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24202 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24205 echo creating "$ac_file"
24207 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24209 *Makefile*) ac_comsub="1i\\
24210 # $configure_input" ;;
24214 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24216 s%@configure_input@%$configure_input%g
24217 s%@srcdir@%$srcdir%g
24218 s%@top_srcdir@%$top_srcdir%g
24219 s%@INSTALL@%$INSTALL%g
24220 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24224 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24225 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24227 # ac_d sets the value in "#define NAME VALUE" lines.
24228 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24229 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24232 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24233 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24234 ac_uB='\([ ]\)%\1#\2define\3'
24237 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24238 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24239 ac_eB='$%\1#\2define\3'
24243 if test "${CONFIG_HEADERS+set}" != set; then
24245 cat >> $CONFIG_STATUS <<EOF
24246 CONFIG_HEADERS="config.h"
24248 cat >> $CONFIG_STATUS <<\EOF
24250 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24251 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24253 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24254 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24255 *) ac_file_in="${ac_file}.in" ;;
24258 echo creating $ac_file
24260 rm -f conftest.frag conftest.in conftest.out
24261 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24262 cat $ac_file_inputs > conftest.in
24266 # Transform confdefs.h into a sed script conftest.vals that substitutes
24267 # the proper values into config.h.in to produce config.h. And first:
24268 # Protect against being on the right side of a sed subst in config.status.
24269 # Protect against being in an unquoted here document in config.status.
24270 rm -f conftest.vals
24271 cat > conftest.hdr <<\EOF
24274 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24278 sed -n -f conftest.hdr confdefs.h > conftest.vals
24281 # This sed command replaces #undef with comments. This is necessary, for
24282 # example, in the case of _POSIX_SOURCE, which is predefined and required
24283 # on some systems where configure will not decide to define it.
24284 cat >> conftest.vals <<\EOF
24285 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24288 # Break up conftest.vals because some shells have a limit on
24289 # the size of here documents, and old seds have small limits too.
24291 rm -f conftest.tail
24294 ac_lines=`grep -c . conftest.vals`
24295 # grep -c gives empty output for an empty file on some AIX systems.
24296 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24297 # Write a limited-size here document to conftest.frag.
24298 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24299 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24301 sed -f conftest.frag conftest.in > conftest.out
24303 mv conftest.out conftest.in
24304 ' >> $CONFIG_STATUS
24305 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24306 rm -f conftest.vals
24307 mv conftest.tail conftest.vals
24309 rm -f conftest.vals
24311 cat >> $CONFIG_STATUS <<\EOF
24312 rm -f conftest.frag conftest.h
24313 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24314 cat conftest.in >> conftest.h
24316 if cmp -s $ac_file conftest.h 2>/dev/null; then
24317 echo "$ac_file is unchanged"
24320 # Remove last slash and all that follows it. Not all systems have dirname.
24321 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24322 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24323 # The file is in a subdirectory.
24324 test ! -d "$ac_dir" && mkdir "$ac_dir"
24327 mv conftest.h $ac_file
24332 cat >> $CONFIG_STATUS <<EOF
24337 with_target_subdir=${with_target_subdir}
24338 with_build_subdir=${with_build_subdir}
24339 with_multisubdir=${with_multisubdir}
24340 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24341 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24342 glibcpp_basedir=${glibcpp_basedir}
24345 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24348 cat >> $CONFIG_STATUS <<\EOF
24349 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24350 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24351 if test -n "$CONFIG_FILES"; then
24352 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24353 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24354 # Ony modify Makefiles that are just being created.
24355 case " $CONFIG_FILES" in
24357 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24360 case $CONFIG_FILES in
24362 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24365 case $CONFIG_FILES in
24366 *libsupc++/Makefile*)
24367 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24372 chmod +x scripts/check
24373 chmod +x scripts/testsuite_flags
24376 chmod +x $CONFIG_STATUS
24377 rm -fr confdefs* $ac_clean_files
24378 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24382 # Sanity checking & User-visible messages.
24383 # Checks down here, otherwise they get scrolled off before
24384 # the user will notice.
24386 # Trying to get more people to read documentation. Possibly remove
24387 # check and warn all the time. There is no "informational" AC_MSG_
24388 # macro, so these are going to be printed even when --quiet/--silent
24390 if test ! -f stamp-sanity-warned; then
24391 touch stamp-sanity-warned
24393 echo "Please make certain that you read the installation information here:"
24394 echo " faster => ${srcdir}/docs/html/install.html"
24395 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24397 echo "and the configuration information here:"
24398 echo " faster => ${srcdir}/docs/html/configopts.html"
24399 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24401 echo "before proceeding with ${_cv_gnu_make_command}."