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 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-cstdio enable stdio for target io package.
38 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
41 --enable-clocale enable model for target locale package.
42 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
45 --enable-nls use Native Language Support (default)"
47 --enable-cheaders=MODEL construct "C" header files for g++ [default=c_std]"
49 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
51 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
53 --enable-long-long turns on 'long long' [default=yes]"
55 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
57 --enable-libunwind-exceptions force use of libunwind for exceptions"
59 --enable-concept-checks use Boost-derived template checks [default=no]"
61 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
64 --enable-debug build extra debug library [default=no]"
66 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
67 library;[default=none]"
69 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
71 --with-gxx-include-dir the installation directory for include files"
73 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
75 # Initialize some variables set by options.
76 # The variables have the same names as the options, with
77 # dashes changed to underlines.
79 cache_file=./config.cache
88 program_transform_name=s,x,x,
96 bindir='${exec_prefix}/bin'
97 sbindir='${exec_prefix}/sbin'
98 libexecdir='${exec_prefix}/libexec'
99 datadir='${prefix}/share'
100 sysconfdir='${prefix}/etc'
101 sharedstatedir='${prefix}/com'
102 localstatedir='${prefix}/var'
103 libdir='${exec_prefix}/lib'
104 includedir='${prefix}/include'
105 oldincludedir='/usr/include'
106 infodir='${prefix}/info'
107 mandir='${prefix}/man'
109 # Initialize some other variables.
112 SHELL=${CONFIG_SHELL-/bin/sh}
113 # Maximum number of lines to put in a shell here document.
120 # If the previous option needs an argument, assign it.
121 if test -n "$ac_prev"; then
122 eval "$ac_prev=\$ac_option"
128 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
132 # Accept the important Cygnus configure options, so we can diagnose typos.
136 -bindir | --bindir | --bindi | --bind | --bin | --bi)
138 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
139 bindir="$ac_optarg" ;;
141 -build | --build | --buil | --bui | --bu)
143 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
144 build="$ac_optarg" ;;
146 -cache-file | --cache-file | --cache-fil | --cache-fi \
147 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
148 ac_prev=cache_file ;;
149 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
150 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
151 cache_file="$ac_optarg" ;;
153 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
155 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
157 datadir="$ac_optarg" ;;
159 -disable-* | --disable-*)
160 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
166 eval "enable_${ac_feature}=no" ;;
168 -enable-* | --enable-*)
169 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
170 # Reject names that are not valid shell variable names.
171 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
172 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
174 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
179 eval "enable_${ac_feature}='$ac_optarg'" ;;
181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
183 | --exec | --exe | --ex)
184 ac_prev=exec_prefix ;;
185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
187 | --exec=* | --exe=* | --ex=*)
188 exec_prefix="$ac_optarg" ;;
190 -gas | --gas | --ga | --g)
191 # Obsolete; use --with-gas.
194 -help | --help | --hel | --he)
195 # Omit some internal or obsolete options to make the list less imposing.
196 # This message is too long to be a string in the A/UX 3.1 sh.
198 Usage: configure [options] [host]
199 Options: [defaults in brackets after descriptions]
201 --cache-file=FILE cache test results in FILE
202 --help print this message
203 --no-create do not create output files
204 --quiet, --silent do not print \`checking...' messages
205 --version print the version of autoconf that created configure
206 Directory and file names:
207 --prefix=PREFIX install architecture-independent files in PREFIX
209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
211 --bindir=DIR user executables in DIR [EPREFIX/bin]
212 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
213 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
214 --datadir=DIR read-only architecture-independent data in DIR
216 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
217 --sharedstatedir=DIR modifiable architecture-independent data in DIR
219 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
220 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
221 --includedir=DIR C header files in DIR [PREFIX/include]
222 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
223 --infodir=DIR info documentation in DIR [PREFIX/info]
224 --mandir=DIR man documentation in DIR [PREFIX/man]
225 --srcdir=DIR find the sources in DIR [configure dir or ..]
226 --program-prefix=PREFIX prepend PREFIX to installed program names
227 --program-suffix=SUFFIX append SUFFIX to installed program names
228 --program-transform-name=PROGRAM
229 run sed PROGRAM on installed program names
233 --build=BUILD configure for building on BUILD [BUILD=HOST]
234 --host=HOST configure for HOST [guessed]
235 --target=TARGET configure for TARGET [TARGET=HOST]
236 Features and packages:
237 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
238 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
239 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
240 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
241 --x-includes=DIR X include files are in DIR
242 --x-libraries=DIR X library files are in DIR
244 if test -n "$ac_help"; then
245 echo "--enable and --with options recognized:$ac_help"
249 -host | --host | --hos | --ho)
251 -host=* | --host=* | --hos=* | --ho=*)
254 -includedir | --includedir | --includedi | --included | --include \
255 | --includ | --inclu | --incl | --inc)
256 ac_prev=includedir ;;
257 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
258 | --includ=* | --inclu=* | --incl=* | --inc=*)
259 includedir="$ac_optarg" ;;
261 -infodir | --infodir | --infodi | --infod | --info | --inf)
263 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
264 infodir="$ac_optarg" ;;
266 -libdir | --libdir | --libdi | --libd)
268 -libdir=* | --libdir=* | --libdi=* | --libd=*)
269 libdir="$ac_optarg" ;;
271 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
272 | --libexe | --libex | --libe)
273 ac_prev=libexecdir ;;
274 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
275 | --libexe=* | --libex=* | --libe=*)
276 libexecdir="$ac_optarg" ;;
278 -localstatedir | --localstatedir | --localstatedi | --localstated \
279 | --localstate | --localstat | --localsta | --localst \
280 | --locals | --local | --loca | --loc | --lo)
281 ac_prev=localstatedir ;;
282 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
283 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
284 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
285 localstatedir="$ac_optarg" ;;
287 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
289 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
290 mandir="$ac_optarg" ;;
293 # Obsolete; use --without-fp.
296 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
300 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
301 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
304 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
305 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
306 | --oldin | --oldi | --old | --ol | --o)
307 ac_prev=oldincludedir ;;
308 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
309 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
310 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
311 oldincludedir="$ac_optarg" ;;
313 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
315 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
316 prefix="$ac_optarg" ;;
318 -program-prefix | --program-prefix | --program-prefi | --program-pref \
319 | --program-pre | --program-pr | --program-p)
320 ac_prev=program_prefix ;;
321 -program-prefix=* | --program-prefix=* | --program-prefi=* \
322 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
323 program_prefix="$ac_optarg" ;;
325 -program-suffix | --program-suffix | --program-suffi | --program-suff \
326 | --program-suf | --program-su | --program-s)
327 ac_prev=program_suffix ;;
328 -program-suffix=* | --program-suffix=* | --program-suffi=* \
329 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
330 program_suffix="$ac_optarg" ;;
332 -program-transform-name | --program-transform-name \
333 | --program-transform-nam | --program-transform-na \
334 | --program-transform-n | --program-transform- \
335 | --program-transform | --program-transfor \
336 | --program-transfo | --program-transf \
337 | --program-trans | --program-tran \
338 | --progr-tra | --program-tr | --program-t)
339 ac_prev=program_transform_name ;;
340 -program-transform-name=* | --program-transform-name=* \
341 | --program-transform-nam=* | --program-transform-na=* \
342 | --program-transform-n=* | --program-transform-=* \
343 | --program-transform=* | --program-transfor=* \
344 | --program-transfo=* | --program-transf=* \
345 | --program-trans=* | --program-tran=* \
346 | --progr-tra=* | --program-tr=* | --program-t=*)
347 program_transform_name="$ac_optarg" ;;
349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
350 | -silent | --silent | --silen | --sile | --sil)
353 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
355 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
357 sbindir="$ac_optarg" ;;
359 -sharedstatedir | --sharedstatedir | --sharedstatedi \
360 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
361 | --sharedst | --shareds | --shared | --share | --shar \
363 ac_prev=sharedstatedir ;;
364 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
365 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
366 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
368 sharedstatedir="$ac_optarg" ;;
370 -site | --site | --sit)
372 -site=* | --site=* | --sit=*)
375 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
377 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
378 srcdir="$ac_optarg" ;;
380 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
381 | --syscon | --sysco | --sysc | --sys | --sy)
382 ac_prev=sysconfdir ;;
383 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
384 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
385 sysconfdir="$ac_optarg" ;;
387 -target | --target | --targe | --targ | --tar | --ta | --t)
389 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
390 target="$ac_optarg" ;;
392 -v | -verbose | --verbose | --verbos | --verbo | --verb)
395 -version | --version | --versio | --versi | --vers)
396 echo "configure generated by autoconf version 2.13"
400 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
403 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
405 ac_package=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}='$ac_optarg'" ;;
412 -without-* | --without-*)
413 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package=`echo $ac_package| sed 's/-/_/g'`
419 eval "with_${ac_package}=no" ;;
422 # Obsolete; use --with-x.
425 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
426 | --x-incl | --x-inc | --x-in | --x-i)
427 ac_prev=x_includes ;;
428 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
429 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
430 x_includes="$ac_optarg" ;;
432 -x-libraries | --x-libraries | --x-librarie | --x-librari \
433 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
434 ac_prev=x_libraries ;;
435 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
436 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
437 x_libraries="$ac_optarg" ;;
439 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
443 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
444 echo "configure: warning: $ac_option: invalid host type" 1>&2
446 if test "x$nonopt" != xNONE; then
447 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
455 if test -n "$ac_prev"; then
456 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
459 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
461 # File descriptor usage:
464 # 2 errors and warnings
465 # 3 some systems may open it to /dev/tty
466 # 4 used on the Kubota Titan
467 # 6 checking for... messages and results
468 # 5 compiler messages saved in config.log
469 if test "$silent" = yes; then
477 This file contains any messages produced by compilers while
478 running configure, to aid debugging if configure makes a mistake.
481 # Strip out --no-create and --no-recursion so they do not pile up.
482 # Also quote any args containing shell metacharacters.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c) ;;
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
492 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
493 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
498 # Only set these to C if already set. These must not be set unconditionally
499 # because not all systems understand e.g. LANG=C (notably SCO).
500 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
501 # Non-C LC_CTYPE values break the ctype check.
502 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
503 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
504 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
505 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
508 rm -rf conftest* confdefs.h
509 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
512 # A filename unique to this package, relative to the directory that
513 # configure is in, which we can look for to find out if srcdir is correct.
514 ac_unique_file=src/ios.cc
516 # Find the source files, if location was not specified.
517 if test -z "$srcdir"; then
518 ac_srcdir_defaulted=yes
519 # Try the directory containing this script, then its parent.
521 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
522 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
524 if test ! -r $srcdir/$ac_unique_file; then
528 ac_srcdir_defaulted=no
530 if test ! -r $srcdir/$ac_unique_file; then
531 if test "$ac_srcdir_defaulted" = yes; then
532 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
534 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
537 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
539 # Prefer explicitly selected file to automatically selected ones.
540 if test -z "$CONFIG_SITE"; then
541 if test "x$prefix" != xNONE; then
542 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
544 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
547 for ac_site_file in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp='$CPP $CPPFLAGS'
565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
580 ac_n= ac_c='\c' ac_t=
585 # This works around the fact that libtool configuration may change LD
586 # for this particular configuration, but some shells, instead of
587 # keeping the changes in LD private, export them just because LD is
588 # exported. Only used at the end of this file.
589 ORIGINAL_LD_FOR_MULTILIBS=$LD
593 # For libtool versioning info, format is CURRENT:REVISION:AGE
594 libtool_VERSION=6:0:0
598 # Check whether --enable-multilib or --disable-multilib was given.
599 if test "${enable_multilib+set}" = set; then
600 enableval="$enable_multilib"
601 case "${enableval}" in
604 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
610 # When building with srcdir == objdir, links to the source files will
611 # be created in directories within the target_subdir. We have to
612 # adjust toplevel_srcdir accordingly, so that configure finds
613 # install-sh and other auxiliary files that live in the top-level
615 if test "${srcdir}" = "."; then
616 if test -z "${with_target_subdir}"; then
619 if test "${with_target_subdir}" != "."; then
620 toprel="${with_multisrctop}../.."
622 toprel="${with_multisrctop}.."
629 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
630 if test -f $ac_dir/install-sh; then
632 ac_install_sh="$ac_aux_dir/install-sh -c"
634 elif test -f $ac_dir/install.sh; then
636 ac_install_sh="$ac_aux_dir/install.sh -c"
640 if test -z "$ac_aux_dir"; then
641 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
643 ac_config_guess=$ac_aux_dir/config.guess
644 ac_config_sub=$ac_aux_dir/config.sub
645 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
647 toplevel_srcdir=\${top_srcdir}/$toprel
651 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
653 # You will slowly go insane if you do not grok the following fact: when
654 # building v3 as part of the compiler, the top-level /target/ becomes the
655 # library's /host/. `configure' then causes --target to default to --host,
656 # exactly like any other package using autoconf. Therefore, 'target' and
657 # 'host' will always be the same. This makes sense both for native and
658 # cross compilers, just think about it for a little while. :-)
660 # Also, if v3 is being configured as part of a cross compiler, the top-level
661 # configure script will pass the "real" host as $with_cross_host.
663 # AC 2.5x sets target_alias iff the user specified --target, but we use it
664 # everywhere, so we set it here just to be sure. In AC 2.13
665 # 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}-
755 target_alias=${target_alias-$target}
758 # Runs configure.target, finds CC, CXX and assorted other critical bits.
759 # Must run this before the GLIBCPP_ENABLE_* macros below.
760 if test $host != $build; then
761 ac_tool_prefix=${host_alias}-
766 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
767 echo "configure:768: checking for Cygwin environment" >&5
768 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
769 echo $ac_n "(cached) $ac_c" 1>&6
771 cat > conftest.$ac_ext <<EOF
772 #line 773 "configure"
773 #include "confdefs.h"
778 #define __CYGWIN__ __CYGWIN32__
783 if { (eval echo configure:784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
787 echo "configure: failed program was:" >&5
788 cat conftest.$ac_ext >&5
796 echo "$ac_t""$ac_cv_cygwin" 1>&6
798 test "$ac_cv_cygwin" = yes && CYGWIN=yes
799 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
800 echo "configure:801: checking for mingw32 environment" >&5
801 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
802 echo $ac_n "(cached) $ac_c" 1>&6
804 cat > conftest.$ac_ext <<EOF
805 #line 806 "configure"
806 #include "confdefs.h"
812 if { (eval echo configure:813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
816 echo "configure: failed program was:" >&5
817 cat conftest.$ac_ext >&5
825 echo "$ac_t""$ac_cv_mingw32" 1>&6
827 test "$ac_cv_mingw32" = yes && MINGW32=yes
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in gawk mawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
848 echo "configure:849: checking for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
882 echo "configure:883: checking whether ln -s works" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
920 # Never versions of autoconf add an underscore to these functions.
921 # Prevent future problems ...
928 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
929 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
930 # are probably using a cross compiler, which will not be able to fully
931 # link an executable. This is addressed in later versions of autoconf.
936 # Extract the first word of "gcc", so it can be a program name with args.
937 set dummy gcc; ac_word=$2
938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
939 echo "configure:940: checking for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC="$CC" # Let the user override the test.
946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
948 for ac_dir in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no" 1>&6
965 if test -z "$CC"; then
966 # Extract the first word of "cc", so it can be a program name with args.
967 set dummy cc; ac_word=$2
968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
969 echo "configure:970: checking for $ac_word" >&5
970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
971 echo $ac_n "(cached) $ac_c" 1>&6
973 if test -n "$CC"; then
974 ac_cv_prog_CC="$CC" # Let the user override the test.
976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 for ac_dir in $ac_dummy; do
980 test -z "$ac_dir" && ac_dir=.
981 if test -f $ac_dir/$ac_word; then
982 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
991 if test $ac_prog_rejected = yes; then
992 # We found a bogon in the path, so make sure we never use it.
993 set dummy $ac_cv_prog_CC
995 if test $# -gt 0; then
996 # We chose a different compiler from the bogus one.
997 # However, it has the same basename, so the bogon will be chosen
998 # first if we set CC to just the basename; use the full file name.
1000 set dummy "$ac_dir/$ac_word" "$@"
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no" 1>&6
1014 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1017 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1018 echo "configure:1019: checking whether we are using GNU C" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached) $ac_c" 1>&6
1022 cat > conftest.c <<EOF
1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1038 ac_test_CFLAGS="${CFLAGS+set}"
1039 ac_save_CFLAGS="$CFLAGS"
1041 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1042 echo "configure:1043: checking whether ${CC-cc} accepts -g" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1044 echo $ac_n "(cached) $ac_c" 1>&6
1046 echo 'void f(){}' > conftest.c
1047 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1056 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1057 if test "$ac_test_CFLAGS" = set; then
1058 CFLAGS="$ac_save_CFLAGS"
1059 elif test $ac_cv_prog_cc_g = yes; then
1066 test "${CFLAGS+set}" = set || CFLAGS="-g"
1070 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1071 # will try to link in libstdc++.
1075 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1076 # flags that come in CXX while configuring libstdc++. They're different
1077 # from those used for all other target libraries. If CXX is set in
1078 # the environment, respect that here.
1080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1085 echo "configure:1086: checking for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1087 echo $ac_n "(cached) $ac_c" 1>&6
1089 if test -n "$glibcpp_CXX"; then
1090 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_glibcpp_CXX="$ac_prog"
1104 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1105 if test -n "$glibcpp_CXX"; then
1106 echo "$ac_t""$glibcpp_CXX" 1>&6
1108 echo "$ac_t""no" 1>&6
1111 test -n "$glibcpp_CXX" && break
1113 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1117 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1119 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1120 echo "configure:1121: checking whether we are using GNU C++" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1122 echo $ac_n "(cached) $ac_c" 1>&6
1124 cat > conftest.C <<EOF
1129 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1136 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1138 if test $ac_cv_prog_gxx = yes; then
1140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1141 ac_save_CXXFLAGS="$CXXFLAGS"
1143 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1144 echo "configure:1145: checking whether ${CXX-g++} accepts -g" >&5
1145 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1146 echo $ac_n "(cached) $ac_c" 1>&6
1148 echo 'void f(){}' > conftest.cc
1149 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1150 ac_cv_prog_cxx_g=yes
1158 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1159 if test "$ac_test_CXXFLAGS" = set; then
1160 CXXFLAGS="$ac_save_CXXFLAGS"
1161 elif test $ac_cv_prog_cxx_g = yes; then
1168 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1172 # For directory versioning (e.g., headers) and other variables.
1173 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1174 echo "configure:1175: checking for GCC version number" >&5
1175 gcc_version=`$glibcpp_CXX -dumpversion`
1176 echo "$ac_t""$gcc_version" 1>&6
1178 # For some reason, gettext needs this.
1180 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1181 echo "configure:1182: checking for strerror in -lcposix" >&5
1182 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 ac_save_LIBS="$LIBS"
1187 LIBS="-lcposix $LIBS"
1188 cat > conftest.$ac_ext <<EOF
1189 #line 1190 "configure"
1190 #include "confdefs.h"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202 eval "ac_cv_lib_$ac_lib_var=yes"
1204 echo "configure: failed program was:" >&5
1205 cat conftest.$ac_ext >&5
1207 eval "ac_cv_lib_$ac_lib_var=no"
1210 LIBS="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 LIBS="$LIBS -lcposix"
1217 echo "$ac_t""no" 1>&6
1223 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1224 set dummy ${ac_tool_prefix}as; ac_word=$2
1225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1226 echo "configure:1227: checking for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1228 echo $ac_n "(cached) $ac_c" 1>&6
1230 if test -n "$AS"; then
1231 ac_cv_prog_AS="$AS" # Let the user override the test.
1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 ac_cv_prog_AS="${ac_tool_prefix}as"
1243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1247 if test -n "$AS"; then
1248 echo "$ac_t""$AS" 1>&6
1250 echo "$ac_t""no" 1>&6
1255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1256 set dummy ${ac_tool_prefix}ar; ac_word=$2
1257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1258 echo "configure:1259: checking for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR="$AR" # Let the user override the test.
1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1267 for ac_dir in $ac_dummy; do
1268 test -z "$ac_dir" && ac_dir=.
1269 if test -f $ac_dir/$ac_word; then
1270 ac_cv_prog_AR="${ac_tool_prefix}ar"
1275 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1279 if test -n "$AR"; then
1280 echo "$ac_t""$AR" 1>&6
1282 echo "$ac_t""no" 1>&6
1287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1290 echo "configure:1291: checking for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1292 echo $ac_n "(cached) $ac_c" 1>&6
1294 if test -n "$RANLIB"; then
1295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1309 RANLIB="$ac_cv_prog_RANLIB"
1310 if test -n "$RANLIB"; then
1311 echo "$ac_t""$RANLIB" 1>&6
1313 echo "$ac_t""no" 1>&6
1317 if test -z "$ac_cv_prog_RANLIB"; then
1318 if test -n "$ac_tool_prefix"; then
1319 # Extract the first word of "ranlib", so it can be a program name with args.
1320 set dummy ranlib; ac_word=$2
1321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1322 echo "configure:1323: checking for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 if test -n "$RANLIB"; then
1327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_RANLIB="ranlib"
1339 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1342 RANLIB="$ac_cv_prog_RANLIB"
1343 if test -n "$RANLIB"; then
1344 echo "$ac_t""$RANLIB" 1>&6
1346 echo "$ac_t""no" 1>&6
1350 RANLIB="ranlib-not-found-in-path-error"
1354 # Find a good install program. We prefer a C program (faster),
1355 # so one script is as good as another. But avoid the broken or
1356 # incompatible versions:
1357 # SysV /etc/install, /usr/sbin/install
1358 # SunOS /usr/etc/install
1359 # IRIX /sbin/install
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1364 # ./install, which can be erroneously created by make from ./install.sh.
1365 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1366 echo "configure:1367: checking for a BSD compatible install" >&5
1367 if test -z "$INSTALL"; then
1368 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1369 echo $ac_n "(cached) $ac_c" 1>&6
1371 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1372 for ac_dir in $PATH; do
1373 # Account for people who put trailing slashes in PATH elements.
1375 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1380 for ac_prog in ginstall scoinst install; do
1381 if test -f $ac_dir/$ac_prog; then
1382 if test $ac_prog = install &&
1383 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1384 # AIX install. It has an incompatible calling convention.
1387 ac_cv_path_install="$ac_dir/$ac_prog -c"
1398 if test "${ac_cv_path_install+set}" = set; then
1399 INSTALL="$ac_cv_path_install"
1401 # As a last resort, use the slow shell script. We don't cache a
1402 # path for INSTALL within a source directory, because that will
1403 # break other packages using the cache if that directory is
1404 # removed, or if the path is relative.
1405 INSTALL="$ac_install_sh"
1408 echo "$ac_t""$INSTALL" 1>&6
1410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411 # It thinks the first close brace ends the variable substitution.
1412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1420 echo "configure:1421: checking whether to enable maintainer-specific portions of Makefiles" >&5
1421 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1422 if test "${enable_maintainer_mode+set}" = set; then
1423 enableval="$enable_maintainer_mode"
1424 USE_MAINTAINER_MODE=$enableval
1426 USE_MAINTAINER_MODE=no
1429 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1432 if test $USE_MAINTAINER_MODE = yes; then
1433 MAINTAINER_MODE_TRUE=
1434 MAINTAINER_MODE_FALSE='#'
1436 MAINTAINER_MODE_TRUE='#'
1437 MAINTAINER_MODE_FALSE=
1439 MAINT=$MAINTAINER_MODE_TRUE
1443 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1444 # at least currently, we never actually build a program, so we never
1445 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1446 # fails, because we are probably configuring with a cross compiler
1447 # which can't create executables. So we include AC_EXEEXT to keep
1448 # automake happy, but we don't execute it, since we don't care about
1451 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1452 # to nothing, so nothing would remain between `then' and `fi' if it
1453 # were not for the `:' below.
1457 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1458 echo "configure:1459: checking for executable suffix" >&5
1459 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1460 echo $ac_n "(cached) $ac_c" 1>&6
1462 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1466 echo 'int main () { return 0; }' > conftest.$ac_ext
1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1469 for file in conftest.*; do
1471 *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1504 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1505 echo "configure:1506: checking whether build environment is sane" >&5
1508 echo timestamp > conftestfile
1509 # Do `set' in a subshell so we don't clobber the current shell's
1510 # arguments. Must try -L first in case configure is actually a
1511 # symlink; some systems play weird games with the mod time of symlinks
1512 # (eg FreeBSD returns the mod time of the symlink's containing
1515 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1516 if test "$*" = "X"; then
1518 set X `ls -t $srcdir/configure conftestfile`
1520 if test "$*" != "X $srcdir/configure conftestfile" \
1521 && test "$*" != "X conftestfile $srcdir/configure"; then
1523 # If neither matched, then we have a broken ls. This can happen
1524 # if, for instance, CONFIG_SHELL is bash and it inherits a
1525 # broken ls alias from the environment. This has actually
1526 # happened. Such a system could not be considered "sane".
1527 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1528 alias in your environment" 1>&2; exit 1; }
1531 test "$2" = conftestfile
1537 { echo "configure: error: newly created file is older than distributed files!
1538 Check your system clock" 1>&2; exit 1; }
1541 echo "$ac_t""yes" 1>&6
1542 if test "$program_transform_name" = s,x,x,; then
1543 program_transform_name=
1545 # Double any \ or $. echo might interpret backslashes.
1546 cat <<\EOF_SED > conftestsed
1547 s,\\,\\\\,g; s,\$,$$,g
1549 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1552 test "$program_prefix" != NONE &&
1553 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1554 # Use a double $ so make ignores it.
1555 test "$program_suffix" != NONE &&
1556 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1558 # sed with no file args requires a program.
1559 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1561 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1562 echo "configure:1563: checking whether ${MAKE-make} sets \${MAKE}" >&5
1563 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1564 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1565 echo $ac_n "(cached) $ac_c" 1>&6
1567 cat > conftestmake <<\EOF
1569 @echo 'ac_maketemp="${MAKE}"'
1571 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1572 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1573 if test -n "$ac_maketemp"; then
1574 eval ac_cv_prog_make_${ac_make}_set=yes
1576 eval ac_cv_prog_make_${ac_make}_set=no
1580 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1581 echo "$ac_t""yes" 1>&6
1584 echo "$ac_t""no" 1>&6
1585 SET_MAKE="MAKE=${MAKE-make}"
1591 VERSION=$gcc_version
1593 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1594 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1596 cat >> confdefs.h <<EOF
1597 #define PACKAGE "$PACKAGE"
1600 cat >> confdefs.h <<EOF
1601 #define VERSION "$VERSION"
1606 missing_dir=`cd $ac_aux_dir && pwd`
1607 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1608 echo "configure:1609: checking for working aclocal" >&5
1609 # Run test in a subshell; some versions of sh will print an error if
1610 # an executable is not found, even if stderr is redirected.
1611 # Redirect stdin to placate older versions of autoconf. Sigh.
1612 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1614 echo "$ac_t""found" 1>&6
1616 ACLOCAL="$missing_dir/missing aclocal"
1617 echo "$ac_t""missing" 1>&6
1620 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1621 echo "configure:1622: checking for working autoconf" >&5
1622 # Run test in a subshell; some versions of sh will print an error if
1623 # an executable is not found, even if stderr is redirected.
1624 # Redirect stdin to placate older versions of autoconf. Sigh.
1625 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1627 echo "$ac_t""found" 1>&6
1629 AUTOCONF="$missing_dir/missing autoconf"
1630 echo "$ac_t""missing" 1>&6
1633 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1634 echo "configure:1635: checking for working automake" >&5
1635 # Run test in a subshell; some versions of sh will print an error if
1636 # an executable is not found, even if stderr is redirected.
1637 # Redirect stdin to placate older versions of autoconf. Sigh.
1638 if (automake --version) < /dev/null > /dev/null 2>&1; then
1640 echo "$ac_t""found" 1>&6
1642 AUTOMAKE="$missing_dir/missing automake"
1643 echo "$ac_t""missing" 1>&6
1646 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1647 echo "configure:1648: checking for working autoheader" >&5
1648 # Run test in a subshell; some versions of sh will print an error if
1649 # an executable is not found, even if stderr is redirected.
1650 # Redirect stdin to placate older versions of autoconf. Sigh.
1651 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1652 AUTOHEADER=autoheader
1653 echo "$ac_t""found" 1>&6
1655 AUTOHEADER="$missing_dir/missing autoheader"
1656 echo "$ac_t""missing" 1>&6
1659 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1660 echo "configure:1661: checking for working makeinfo" >&5
1661 # Run test in a subshell; some versions of sh will print an error if
1662 # an executable is not found, even if stderr is redirected.
1663 # Redirect stdin to placate older versions of autoconf. Sigh.
1664 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1666 echo "$ac_t""found" 1>&6
1668 MAKEINFO="$missing_dir/missing makeinfo"
1669 echo "$ac_t""missing" 1>&6
1678 # Check whether --enable-shared or --disable-shared was given.
1679 if test "${enable_shared+set}" = set; then
1680 enableval="$enable_shared"
1681 p=${PACKAGE-default}
1683 yes) enable_shared=yes ;;
1684 no) enable_shared=no ;;
1687 # Look at the argument we got. We use all the common list separators.
1688 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1689 for pkg in $enableval; do
1690 if test "X$pkg" = "X$p"; then
1701 # Check whether --enable-static or --disable-static was given.
1702 if test "${enable_static+set}" = set; then
1703 enableval="$enable_static"
1704 p=${PACKAGE-default}
1706 yes) enable_static=yes ;;
1707 no) enable_static=no ;;
1710 # Look at the argument we got. We use all the common list separators.
1711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1712 for pkg in $enableval; do
1713 if test "X$pkg" = "X$p"; then
1724 # Check whether --enable-fast-install or --disable-fast-install was given.
1725 if test "${enable_fast_install+set}" = set; then
1726 enableval="$enable_fast_install"
1727 p=${PACKAGE-default}
1729 yes) enable_fast_install=yes ;;
1730 no) enable_fast_install=no ;;
1732 enable_fast_install=no
1733 # Look at the argument we got. We use all the common list separators.
1734 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1735 for pkg in $enableval; do
1736 if test "X$pkg" = "X$p"; then
1737 enable_fast_install=yes
1744 enable_fast_install=yes
1747 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1748 if test "${with_gnu_ld+set}" = set; then
1749 withval="$with_gnu_ld"
1750 test "$withval" = no || with_gnu_ld=yes
1756 if test "$GCC" = yes; then
1757 # Check if gcc -print-prog-name=ld gives a path.
1758 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1759 echo "configure:1760: checking for ld used by GCC" >&5
1762 # gcc leaves a trailing carriage return which upsets mingw
1763 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1765 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1768 # Accept absolute paths.
1769 [\\/]* | [A-Za-z]:[\\/]*)
1770 re_direlt='/[^/][^/]*/\.\./'
1771 # Canonicalize the path of ld
1772 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1773 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1774 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1776 test -z "$LD" && LD="$ac_prog"
1779 # If it fails, then pretend we aren't using GCC.
1783 # If it is relative, then search for the first ld in PATH.
1787 elif test "$with_gnu_ld" = yes; then
1788 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1789 echo "configure:1790: checking for GNU ld" >&5
1791 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1792 echo "configure:1793: checking for non-GNU ld" >&5
1794 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1795 echo $ac_n "(cached) $ac_c" 1>&6
1797 if test -z "$LD"; then
1798 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1799 for ac_dir in $PATH; do
1800 test -z "$ac_dir" && ac_dir=.
1801 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1802 lt_cv_path_LD="$ac_dir/$ac_prog"
1803 # Check to see if the program is GNU ld. I'd rather use --version,
1804 # but apparently some GNU ld's only accept -v.
1805 # Break only if it was the GNU/non-GNU ld that we prefer.
1806 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1807 test "$with_gnu_ld" != no && break
1809 test "$with_gnu_ld" != yes && break
1815 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1820 if test -n "$LD"; then
1821 echo "$ac_t""$LD" 1>&6
1823 echo "$ac_t""no" 1>&6
1825 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1826 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1827 echo "configure:1828: checking if the linker ($LD) is GNU ld" >&5
1828 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1829 echo $ac_n "(cached) $ac_c" 1>&6
1831 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1832 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1833 lt_cv_prog_gnu_ld=yes
1835 lt_cv_prog_gnu_ld=no
1839 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1840 with_gnu_ld=$lt_cv_prog_gnu_ld
1843 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1844 echo "configure:1845: checking for $LD option to reload object files" >&5
1845 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1846 echo $ac_n "(cached) $ac_c" 1>&6
1848 lt_cv_ld_reload_flag='-r'
1851 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1852 reload_flag=$lt_cv_ld_reload_flag
1853 test -n "$reload_flag" && reload_flag=" $reload_flag"
1855 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1856 echo "configure:1857: checking for BSD-compatible nm" >&5
1857 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1858 echo $ac_n "(cached) $ac_c" 1>&6
1860 if test -n "$NM"; then
1861 # Let the user override the test.
1864 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1865 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1866 test -z "$ac_dir" && ac_dir=.
1867 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1868 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1869 # Check to see if the nm accepts a BSD-compat flag.
1870 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1871 # nm: unknown option "B" ignored
1872 # Tru64's nm complains that /dev/null is an invalid object file
1873 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1874 lt_cv_path_NM="$tmp_nm -B"
1876 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1877 lt_cv_path_NM="$tmp_nm -p"
1880 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1881 continue # so that we can try to find one that supports BSD flags
1886 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1891 echo "$ac_t""$NM" 1>&6
1893 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1894 echo "configure:1895: checking how to recognise dependant libraries" >&5
1895 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1896 echo $ac_n "(cached) $ac_c" 1>&6
1898 lt_cv_file_magic_cmd='$MAGIC_CMD'
1899 lt_cv_file_magic_test_file=
1900 lt_cv_deplibs_check_method='unknown'
1901 # Need to set the preceding variable on all platforms that support
1902 # interlibrary dependencies.
1903 # 'none' -- dependencies not supported.
1904 # `unknown' -- same as none, but documents that we really don't know.
1905 # 'pass_all' -- all dependencies passed with no checks.
1906 # 'test_compile' -- check by making test program.
1907 # 'file_magic [regex]' -- check by looking for files in library path
1908 # which responds to the $file_magic_cmd with a given egrep regex.
1909 # If you have `file' or equivalent on your system and you're not sure
1910 # whether `pass_all' will *always* work, you probably want this one.
1914 lt_cv_deplibs_check_method=pass_all
1918 lt_cv_deplibs_check_method=pass_all
1922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1923 lt_cv_file_magic_cmd='/usr/bin/file -L'
1924 lt_cv_file_magic_test_file=/shlib/libc.so
1927 cygwin* | mingw* |pw32*)
1928 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1929 lt_cv_file_magic_cmd='$OBJDUMP -f'
1932 darwin* | rhapsody*)
1933 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1934 lt_cv_file_magic_cmd='/usr/bin/file -L'
1936 rhapsody* | darwin1.012)
1937 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1940 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1946 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1949 # Not sure whether the presence of OpenBSD here was a mistake.
1950 # Let's accept both of them until this is cleared up.
1951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1952 lt_cv_file_magic_cmd=/usr/bin/file
1953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1957 lt_cv_deplibs_check_method=pass_all
1962 lt_cv_deplibs_check_method=pass_all
1968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1969 lt_cv_file_magic_cmd=/usr/bin/file
1970 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1974 lt_cv_file_magic_cmd=/usr/bin/file
1975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1983 # this will be overridden with pass_all, but let us keep it just in case
1984 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1988 *-32|*"-32 ") libmagic=32-bit;;
1989 *-n32|*"-n32 ") libmagic=N32;;
1990 *-64|*"-64 ") libmagic=64-bit;;
1991 *) libmagic=never-match;;
1993 # this will be overridden with pass_all, but let us keep it just in case
1994 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1997 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1998 lt_cv_deplibs_check_method=pass_all
2001 # This must be Linux ELF.
2004 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2005 lt_cv_deplibs_check_method=pass_all ;;
2007 # glibc up to 2.1.1 does not perform some relocations on ARM
2008 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2010 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2014 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2015 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2017 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2022 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2023 lt_cv_file_magic_cmd=/usr/bin/file
2024 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2027 osf3* | osf4* | osf5*)
2028 # this will be overridden with pass_all, but let us keep it just in case
2029 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2030 lt_cv_file_magic_test_file=/shlib/libc.so
2031 lt_cv_deplibs_check_method=pass_all
2035 lt_cv_deplibs_check_method=pass_all
2039 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_file_magic_test_file=/lib/libc.so
2043 sysv5uw[78]* | sysv4*uw2*)
2044 lt_cv_deplibs_check_method=pass_all
2047 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2048 case $host_vendor in
2050 lt_cv_deplibs_check_method=pass_all
2053 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]'
2054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2062 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2063 file_magic_cmd=$lt_cv_file_magic_cmd
2064 deplibs_check_method=$lt_cv_deplibs_check_method
2066 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2067 echo "configure:2068: checking for object suffix" >&5
2068 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2069 echo $ac_n "(cached) $ac_c" 1>&6
2072 echo 'int i = 1;' > conftest.$ac_ext
2073 if { (eval echo configure:2074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2074 for ac_file in conftest.*; do
2077 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2081 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2086 echo "$ac_t""$ac_cv_objext" 1>&6
2087 OBJEXT=$ac_cv_objext
2088 ac_objext=$ac_cv_objext
2090 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2092 # Only perform the check for file, if the check method requires it
2093 case $deplibs_check_method in
2095 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2096 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2097 echo "configure:2098: checking for ${ac_tool_prefix}file" >&5
2098 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2099 echo $ac_n "(cached) $ac_c" 1>&6
2103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2106 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2109 ac_save_MAGIC_CMD="$MAGIC_CMD"
2110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2111 ac_dummy="/usr/bin:$PATH"
2112 for ac_dir in $ac_dummy; do
2113 test -z "$ac_dir" && ac_dir=.
2114 if test -f $ac_dir/${ac_tool_prefix}file; then
2115 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2116 if test -n "$file_magic_test_file"; then
2117 case $deplibs_check_method in
2119 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2120 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2121 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2122 egrep "$file_magic_regex" > /dev/null; then
2127 *** Warning: the command libtool uses to detect shared libraries,
2128 *** $file_magic_cmd, produces output that libtool cannot recognize.
2129 *** The result is that libtool may fail to recognize shared libraries
2130 *** as such. This will affect the creation of libtool libraries that
2131 *** depend on shared libraries, but programs linked with such libtool
2132 *** libraries will work regardless of this problem. Nevertheless, you
2133 *** may want to report the problem to your system manager and/or to
2134 *** bug-libtool@gnu.org
2144 MAGIC_CMD="$ac_save_MAGIC_CMD"
2149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2150 if test -n "$MAGIC_CMD"; then
2151 echo "$ac_t""$MAGIC_CMD" 1>&6
2153 echo "$ac_t""no" 1>&6
2156 if test -z "$lt_cv_path_MAGIC_CMD"; then
2157 if test -n "$ac_tool_prefix"; then
2158 echo $ac_n "checking for file""... $ac_c" 1>&6
2159 echo "configure:2160: checking for file" >&5
2160 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2161 echo $ac_n "(cached) $ac_c" 1>&6
2165 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2168 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2171 ac_save_MAGIC_CMD="$MAGIC_CMD"
2172 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2173 ac_dummy="/usr/bin:$PATH"
2174 for ac_dir in $ac_dummy; do
2175 test -z "$ac_dir" && ac_dir=.
2176 if test -f $ac_dir/file; then
2177 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2178 if test -n "$file_magic_test_file"; then
2179 case $deplibs_check_method in
2181 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2183 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2184 egrep "$file_magic_regex" > /dev/null; then
2189 *** Warning: the command libtool uses to detect shared libraries,
2190 *** $file_magic_cmd, produces output that libtool cannot recognize.
2191 *** The result is that libtool may fail to recognize shared libraries
2192 *** as such. This will affect the creation of libtool libraries that
2193 *** depend on shared libraries, but programs linked with such libtool
2194 *** libraries will work regardless of this problem. Nevertheless, you
2195 *** may want to report the problem to your system manager and/or to
2196 *** bug-libtool@gnu.org
2206 MAGIC_CMD="$ac_save_MAGIC_CMD"
2211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2212 if test -n "$MAGIC_CMD"; then
2213 echo "$ac_t""$MAGIC_CMD" 1>&6
2215 echo "$ac_t""no" 1>&6
2227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2229 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2230 echo "configure:2231: checking for $ac_word" >&5
2231 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2232 echo $ac_n "(cached) $ac_c" 1>&6
2234 if test -n "$RANLIB"; then
2235 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2237 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2239 for ac_dir in $ac_dummy; do
2240 test -z "$ac_dir" && ac_dir=.
2241 if test -f $ac_dir/$ac_word; then
2242 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2249 RANLIB="$ac_cv_prog_RANLIB"
2250 if test -n "$RANLIB"; then
2251 echo "$ac_t""$RANLIB" 1>&6
2253 echo "$ac_t""no" 1>&6
2257 if test -z "$ac_cv_prog_RANLIB"; then
2258 if test -n "$ac_tool_prefix"; then
2259 # Extract the first word of "ranlib", so it can be a program name with args.
2260 set dummy ranlib; ac_word=$2
2261 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2262 echo "configure:2263: checking for $ac_word" >&5
2263 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2264 echo $ac_n "(cached) $ac_c" 1>&6
2266 if test -n "$RANLIB"; then
2267 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2269 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2271 for ac_dir in $ac_dummy; do
2272 test -z "$ac_dir" && ac_dir=.
2273 if test -f $ac_dir/$ac_word; then
2274 ac_cv_prog_RANLIB="ranlib"
2279 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2282 RANLIB="$ac_cv_prog_RANLIB"
2283 if test -n "$RANLIB"; then
2284 echo "$ac_t""$RANLIB" 1>&6
2286 echo "$ac_t""no" 1>&6
2294 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2295 set dummy ${ac_tool_prefix}strip; ac_word=$2
2296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2297 echo "configure:2298: checking for $ac_word" >&5
2298 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2299 echo $ac_n "(cached) $ac_c" 1>&6
2301 if test -n "$STRIP"; then
2302 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2306 for ac_dir in $ac_dummy; do
2307 test -z "$ac_dir" && ac_dir=.
2308 if test -f $ac_dir/$ac_word; then
2309 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2316 STRIP="$ac_cv_prog_STRIP"
2317 if test -n "$STRIP"; then
2318 echo "$ac_t""$STRIP" 1>&6
2320 echo "$ac_t""no" 1>&6
2324 if test -z "$ac_cv_prog_STRIP"; then
2325 if test -n "$ac_tool_prefix"; then
2326 # Extract the first word of "strip", so it can be a program name with args.
2327 set dummy strip; ac_word=$2
2328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2329 echo "configure:2330: checking for $ac_word" >&5
2330 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2331 echo $ac_n "(cached) $ac_c" 1>&6
2333 if test -n "$STRIP"; then
2334 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2338 for ac_dir in $ac_dummy; do
2339 test -z "$ac_dir" && ac_dir=.
2340 if test -f $ac_dir/$ac_word; then
2341 ac_cv_prog_STRIP="strip"
2346 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2349 STRIP="$ac_cv_prog_STRIP"
2350 if test -n "$STRIP"; then
2351 echo "$ac_t""$STRIP" 1>&6
2353 echo "$ac_t""no" 1>&6
2362 # Check for any special flags to pass to ltconfig.
2363 libtool_flags="--cache-file=$cache_file"
2364 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2365 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2366 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2367 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2368 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2369 libtool_flags="$libtool_flags --enable-dlopen"
2371 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2372 if test "${enable_libtool_lock+set}" = set; then
2373 enableval="$enable_libtool_lock"
2377 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2378 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2380 # Check whether --with-pic or --without-pic was given.
2381 if test "${with_pic+set}" = set; then
2388 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2389 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2391 # Some flags need to be propagated to the compiler or linker for good
2395 # Find out which ABI we are using.
2396 echo '#line 2397 "configure"' > conftest.$ac_ext
2397 if { (eval echo configure:2398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2398 case `/usr/bin/file conftest.$ac_objext` in
2414 # Find out which ABI we are using.
2415 echo 'int i;' > conftest.$ac_ext
2416 if { (eval echo configure:2417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2417 case "`/usr/bin/file conftest.o`" in
2429 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2430 # Find out which ABI we are using.
2431 echo 'int i;' > conftest.$ac_ext
2432 if { (eval echo configure:2433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2433 case "`/usr/bin/file conftest.o`" in
2437 LD="${LD-ld} -m elf_i386"
2440 LD="${LD-ld} -m elf32ppclinux"
2443 LD="${LD-ld} -m elf_s390"
2446 LD="${LD-ld} -m elf32_sparc"
2453 LD="${LD-ld} -m elf_x86_64"
2455 ppc*-*linux*|powerpc*-*linux*)
2456 LD="${LD-ld} -m elf64ppc"
2459 LD="${LD-ld} -m elf64_s390"
2462 LD="${LD-ld} -m elf64_sparc"
2472 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2473 SAVE_CFLAGS="$CFLAGS"
2474 CFLAGS="$CFLAGS -belf"
2475 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2476 echo "configure:2477: checking whether the C compiler needs -belf" >&5
2477 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2478 echo $ac_n "(cached) $ac_c" 1>&6
2482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2486 cross_compiling=$ac_cv_prog_cc_cross
2488 cat > conftest.$ac_ext <<EOF
2489 #line 2490 "configure"
2490 #include "confdefs.h"
2496 if { (eval echo configure:2497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2498 lt_cv_cc_needs_belf=yes
2500 echo "configure: failed program was:" >&5
2501 cat conftest.$ac_ext >&5
2503 lt_cv_cc_needs_belf=no
2507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2508 ac_cpp='$CPP $CPPFLAGS'
2509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2511 cross_compiling=$ac_cv_prog_cc_cross
2515 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2516 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2517 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2518 CFLAGS="$SAVE_CFLAGS"
2525 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2526 echo "configure:2527: checking how to run the C++ preprocessor" >&5
2527 if test -z "$CXXCPP"; then
2528 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2529 echo $ac_n "(cached) $ac_c" 1>&6
2532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2533 ac_cpp='$CXXCPP $CPPFLAGS'
2534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2536 cross_compiling=$ac_cv_prog_cxx_cross
2537 CXXCPP="${CXX-g++} -E"
2538 cat > conftest.$ac_ext <<EOF
2539 #line 2540 "configure"
2540 #include "confdefs.h"
2543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2544 { (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2546 if test -z "$ac_err"; then
2550 echo "configure: failed program was:" >&5
2551 cat conftest.$ac_ext >&5
2556 ac_cv_prog_CXXCPP="$CXXCPP"
2558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2559 ac_cpp='$CPP $CPPFLAGS'
2560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2562 cross_compiling=$ac_cv_prog_cc_cross
2565 CXXCPP="$ac_cv_prog_CXXCPP"
2566 echo "$ac_t""$CXXCPP" 1>&6
2569 # Save cache, so that ltconfig can load it
2570 cat > confcache <<\EOF
2571 # This file is a shell script that caches the results of configure
2572 # tests run on this system so they can be shared between configure
2573 # scripts and configure runs. It is not useful on other systems.
2574 # If it contains results you don't want to keep, you may remove or edit it.
2576 # By default, configure uses ./config.cache as the cache file,
2577 # creating it if it does not exist already. You can give configure
2578 # the --cache-file=FILE option to use a different cache file; that is
2579 # what configure does when it calls configure scripts in
2580 # subdirectories, so they share the cache.
2581 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2582 # config.status only pays attention to the cache file if you give it the
2583 # --recheck option to rerun configure.
2586 # The following way of writing the cache mishandles newlines in values,
2587 # but we know of no workaround that is simple, portable, and efficient.
2588 # So, don't put newlines in cache variables' values.
2589 # Ultrix sh set writes to stderr and can't be redirected directly,
2590 # and sets the high bit in the cache file unless we assign to the vars.
2592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2594 # `set' does not quote correctly, so add quotes (double-quote substitution
2595 # turns \\\\ into \\, and sed turns \\ into \).
2597 -e "s/'/'\\\\''/g" \
2598 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2601 # `set' quotes correctly as required by POSIX, so do not add quotes.
2602 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2605 if cmp -s $cache_file confcache; then
2608 if test -w $cache_file; then
2609 echo "updating cache $cache_file"
2610 cat confcache > $cache_file
2612 echo "not updating unwritable cache $cache_file"
2618 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2619 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2620 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2621 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2622 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2623 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2624 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2625 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2626 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2627 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2629 # Reload cache, that may have been modified by ltconfig
2630 if test -r "$cache_file"; then
2631 echo "loading cache $cache_file"
2634 echo "creating cache $cache_file"
2639 # This can be used to rebuild libtool when needed
2640 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2642 # Always use our own libtool.
2643 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2645 # Redirect the config.log output again, so that the ltconfig log is not
2646 # clobbered by the next message.
2647 exec 5>>./config.log
2651 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2653 lt_save_CFLAGS="$CFLAGS"
2654 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2655 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2656 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2657 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2658 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2659 deplibs_check_method="$deplibs_check_method" \
2660 file_magic_cmd="$file_magic_cmd" \
2661 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2662 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2663 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2665 CFLAGS="$lt_save_CFLAGS"
2667 # Redirect the config.log output again, so that the ltconfig log is not
2668 # clobbered by the next message.
2669 exec 5>>./config.log
2679 # Check for c++ or library specific bits that don't require linking.
2680 #GLIBCPP_CHECK_COMPILER_VERSION
2681 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2682 echo "configure:2683: checking for GNU make" >&5
2683 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2684 echo $ac_n "(cached) $ac_c" 1>&6
2686 _cv_gnu_make_command='' ;
2687 for a in "${MAKE-make}" make gmake gnumake ; do
2688 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2690 _cv_gnu_make_command=$a ;
2697 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2698 if test "x$_cv_gnu_make_command" != "x" ; then
2706 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2707 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2708 echo "configure:2709: checking how to run the C preprocessor" >&5
2709 # On Suns, sometimes $CPP names a directory.
2710 if test -n "$CPP" && test -d "$CPP"; then
2713 if test -z "$CPP"; then
2714 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2715 echo $ac_n "(cached) $ac_c" 1>&6
2717 # This must be in double quotes, not single quotes, because CPP may get
2718 # substituted into the Makefile and "${CC-cc}" will confuse make.
2720 # On the NeXT, cc -E runs the code through the compiler's parser,
2721 # not just through cpp.
2722 cat > conftest.$ac_ext <<EOF
2723 #line 2724 "configure"
2724 #include "confdefs.h"
2728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2729 { (eval echo configure:2730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2731 if test -z "$ac_err"; then
2735 echo "configure: failed program was:" >&5
2736 cat conftest.$ac_ext >&5
2738 CPP="${CC-cc} -E -traditional-cpp"
2739 cat > conftest.$ac_ext <<EOF
2740 #line 2741 "configure"
2741 #include "confdefs.h"
2745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2746 { (eval echo configure:2747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2748 if test -z "$ac_err"; then
2752 echo "configure: failed program was:" >&5
2753 cat conftest.$ac_ext >&5
2755 CPP="${CC-cc} -nologo -E"
2756 cat > conftest.$ac_ext <<EOF
2757 #line 2758 "configure"
2758 #include "confdefs.h"
2762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2763 { (eval echo configure:2764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2765 if test -z "$ac_err"; then
2769 echo "configure: failed program was:" >&5
2770 cat conftest.$ac_ext >&5
2779 ac_cv_prog_CPP="$CPP"
2781 CPP="$ac_cv_prog_CPP"
2783 ac_cv_prog_CPP="$CPP"
2785 echo "$ac_t""$CPP" 1>&6
2788 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2789 echo "configure:2790: checking for cstdio to use" >&5
2790 # Check whether --enable-cstdio or --disable-cstdio was given.
2791 if test "${enable_cstdio+set}" = set; then
2792 enableval="$enable_cstdio"
2793 if test x$enable_cstdio = xno; then
2801 enable_cstdio_flag=$enable_cstdio
2803 case x${enable_cstdio_flag} in
2805 CSTDIO_H=config/io/c_io_libio.h
2806 BASIC_FILE_H=config/io/basic_file_libio.h
2807 BASIC_FILE_CC=config/io/basic_file_libio.cc
2808 echo "$ac_t""libio" 1>&6
2810 # see if we are on a system with libio native (ie, linux)
2811 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2812 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2813 echo "configure:2814: checking for libio.h" >&5
2814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2815 echo $ac_n "(cached) $ac_c" 1>&6
2817 cat > conftest.$ac_ext <<EOF
2818 #line 2819 "configure"
2819 #include "confdefs.h"
2822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2823 { (eval echo configure:2824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2825 if test -z "$ac_err"; then
2827 eval "ac_cv_header_$ac_safe=yes"
2830 echo "configure: failed program was:" >&5
2831 cat conftest.$ac_ext >&5
2833 eval "ac_cv_header_$ac_safe=no"
2837 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2838 echo "$ac_t""yes" 1>&6
2841 echo "$ac_t""no" 1>&6
2846 # Need to check and see what version of glibc is being used. If
2847 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2848 # compile most of libio for linux systems.
2849 if test x$has_libio = x"yes"; then
2852 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2853 echo "configure:2854: checking for glibc version >= 2.2" >&5
2854 cat > conftest.$ac_ext <<EOF
2855 #line 2856 "configure"
2856 #include "confdefs.h"
2858 #include <features.h>
2859 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2865 egrep "ok" >/dev/null 2>&1; then
2867 glibc_satisfactory=yes
2870 glibc_satisfactory=no
2874 echo "$ac_t""$glibc_satisfactory" 1>&6
2878 # XXX at the moment, admit defeat and force the recompilation
2879 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2880 glibc_satisfactory=no
2882 if test x$glibc_satisfactory = x"yes"; then
2887 # bkoz XXX need to add checks to enable this
2888 # pme XXX here's a first pass at such a check
2889 if test x$enable_c_mbchar != xno; then
2897 # Using libio, but <libio.h> doesn't exist on the target system. . .
2899 # bkoz XXX need to add checks to enable this
2900 # pme XXX here's a first pass at such a check
2901 if test x$enable_c_mbchar != xno; then
2908 xstdio | x | xno | xnone | xyes)
2910 CSTDIO_H=config/io/c_io_stdio.h
2911 BASIC_FILE_H=config/io/basic_file_stdio.h
2912 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2913 echo "$ac_t""stdio" 1>&6
2915 # We're not using stdio.
2920 echo "$enable_cstdio is an unknown io package" 1>&2
2928 # 2000-08-04 bkoz hack
2929 CCODECVT_C=config/io/c_io_libio_codecvt.c
2931 # 2000-08-04 bkoz hack
2935 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2936 GLIBCPP_BUILD_LIBIO_TRUE=
2937 GLIBCPP_BUILD_LIBIO_FALSE='#'
2939 GLIBCPP_BUILD_LIBIO_TRUE='#'
2940 GLIBCPP_BUILD_LIBIO_FALSE=
2944 if test "$need_libio" = yes; then
2945 GLIBCPP_NEED_LIBIO_TRUE=
2946 GLIBCPP_NEED_LIBIO_FALSE='#'
2948 GLIBCPP_NEED_LIBIO_TRUE='#'
2949 GLIBCPP_NEED_LIBIO_FALSE=
2953 if test "$need_wlibio" = yes; then
2954 GLIBCPP_NEED_WLIBIO_TRUE=
2955 GLIBCPP_NEED_WLIBIO_FALSE='#'
2957 GLIBCPP_NEED_WLIBIO_TRUE='#'
2958 GLIBCPP_NEED_WLIBIO_FALSE=
2960 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2961 libio_la=../libio/libio.la
2968 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2969 echo "configure:2970: checking for clocale to use" >&5
2970 # Check whether --enable-clocale or --disable-clocale was given.
2971 if test "${enable_clocale+set}" = set; then
2972 enableval="$enable_clocale"
2973 if test x$enable_clocale = xno; then
2981 enable_clocale_flag=$enable_clocale
2983 if test x$enable_clocale_flag = xno; then
2984 case x${target_os} in
2986 cat > conftest.$ac_ext <<EOF
2987 #line 2988 "configure"
2988 #include "confdefs.h"
2990 #include <features.h>
2991 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2997 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2999 enable_clocale_flag=gnu
3002 enable_clocale_flag=generic
3007 # Test for bugs early in glibc-2.2.x series
3008 if test x$enable_clocale_flag = xgnu; then
3009 if test "$cross_compiling" = yes; then
3010 enable_clocale_flag=generic
3012 cat > conftest.$ac_ext <<EOF
3013 #line 3014 "configure"
3014 #include "confdefs.h"
3016 #define _GNU_SOURCE 1
3019 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3020 extern __typeof(newlocale) __newlocale;
3021 extern __typeof(duplocale) __duplocale;
3022 extern __typeof(strcoll_l) __strcoll_l;
3026 const char __one[] = "Äuglein Augmen";
3027 const char __two[] = "Äuglein";
3032 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3033 loc_dup = __duplocale(loc);
3034 i = __strcoll_l(__one, __two, loc);
3035 j = __strcoll_l(__one, __two, loc_dup);
3040 if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3042 enable_clocale_flag=gnu
3044 echo "configure: failed program was:" >&5
3045 cat conftest.$ac_ext >&5
3047 enable_clocale_flag=generic
3054 # ... at some point put __strxfrm_l tests in as well.
3057 enable_clocale_flag=generic
3062 # Check whether --enable-nls or --disable-nls was given.
3063 if test "${enable_nls+set}" = set; then
3064 enableval="$enable_nls"
3072 case x${enable_clocale_flag} in
3074 echo "$ac_t""generic" 1>&6
3076 CLOCALE_H=config/locale/generic/c_locale.h
3077 CLOCALE_CC=config/locale/generic/c_locale.cc
3078 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3079 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3080 CCOLLATE_CC=config/locale/generic/collate_members.cc
3081 CCTYPE_CC=config/locale/generic/ctype_members.cc
3082 CMESSAGES_H=config/locale/generic/messages_members.h
3083 CMESSAGES_CC=config/locale/generic/messages_members.cc
3084 CMONEY_CC=config/locale/generic/monetary_members.cc
3085 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3086 CTIME_H=config/locale/generic/time_members.h
3087 CTIME_CC=config/locale/generic/time_members.cc
3088 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3091 echo "$ac_t""gnu" 1>&6
3093 # Declare intention to use gettext, and add support for specific
3095 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3098 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3099 # Extract the first word of "msgfmt", so it can be a program name with args.
3100 set dummy msgfmt; ac_word=$2
3101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3102 echo "configure:3103: checking for $ac_word" >&5
3103 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3104 echo $ac_n "(cached) $ac_c" 1>&6
3106 if test -n "$check_msgfmt"; then
3107 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3109 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3111 for ac_dir in $ac_dummy; do
3112 test -z "$ac_dir" && ac_dir=.
3113 if test -f $ac_dir/$ac_word; then
3114 ac_cv_prog_check_msgfmt="yes"
3119 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3122 check_msgfmt="$ac_cv_prog_check_msgfmt"
3123 if test -n "$check_msgfmt"; then
3124 echo "$ac_t""$check_msgfmt" 1>&6
3126 echo "$ac_t""no" 1>&6
3129 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3132 # Export the build objects.
3133 for ling in $ALL_LINGUAS; do \
3134 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3135 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3140 CLOCALE_H=config/locale/gnu/c_locale.h
3141 CLOCALE_CC=config/locale/gnu/c_locale.cc
3142 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3143 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3144 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3145 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3146 CMESSAGES_H=config/locale/gnu/messages_members.h
3147 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3148 CMONEY_CC=config/locale/gnu/monetary_members.cc
3149 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3150 CTIME_H=config/locale/gnu/time_members.h
3151 CTIME_CC=config/locale/gnu/time_members.cc
3152 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3155 echo "$ac_t""generic" 1>&6
3157 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3158 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3159 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3160 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3161 CCOLLATE_CC=config/locale/generic/collate_members.cc
3162 CCTYPE_CC=config/locale/generic/ctype_members.cc
3163 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3164 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3165 CMONEY_CC=config/locale/generic/monetary_members.cc
3166 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3167 CTIME_H=config/locale/generic/time_members.h
3168 CTIME_CC=config/locale/generic/time_members.cc
3169 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3172 echo "$enable_clocale is an unknown locale package" 1>&2
3177 # This is where the testsuite looks for locale catalogs, using the
3178 # -DLOCALEDIR define during testsuite compilation.
3179 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3197 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3198 echo "configure:3199: checking for c header strategy to use" >&5
3199 # Check whether --enable-cheaders or --disable-cheaders was given.
3200 if test "${enable_cheaders+set}" = set; then
3201 enableval="$enable_cheaders"
3203 case "$enableval" in
3208 enable_cheaders=c_std
3210 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3214 enable_cheaders=c_std
3217 echo "$ac_t""$enable_cheaders" 1>&6
3219 case "$enable_cheaders" in
3221 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3224 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3231 if test "$enable_cheaders" = c; then
3232 GLIBCPP_C_HEADERS_C_TRUE=
3233 GLIBCPP_C_HEADERS_C_FALSE='#'
3235 GLIBCPP_C_HEADERS_C_TRUE='#'
3236 GLIBCPP_C_HEADERS_C_FALSE=
3240 if test "$enable_cheaders" = c_std; then
3241 GLIBCPP_C_HEADERS_C_STD_TRUE=
3242 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3244 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3245 GLIBCPP_C_HEADERS_C_STD_FALSE=
3249 if test "$c_compatibility" = yes; then
3250 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3251 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3253 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3254 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3257 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3258 if test "${enable_c_mbchar+set}" = set; then
3259 enableval="$enable_c_mbchar"
3260 case "$enableval" in
3261 yes) enable_c_mbchar=yes ;;
3262 no) enable_c_mbchar=no ;;
3263 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3270 # Check whether --enable-c99 or --disable-c99 was given.
3271 if test "${enable_c99+set}" = set; then
3272 enableval="$enable_c99"
3273 case "$enableval" in
3274 yes) enable_c99=yes ;;
3275 no) enable_c99=no ;;
3276 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3285 ac_cpp='$CXXCPP $CPPFLAGS'
3286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3288 cross_compiling=$ac_cv_prog_cxx_cross
3291 # Check for the existence of <math.h> functions used if C99 is enabled.
3293 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3294 echo "configure:3295: checking for ISO C99 support in <math.h>" >&5
3295 cat > conftest.$ac_ext <<EOF
3296 #line 3297 "configure"
3297 #include "confdefs.h"
3303 if { (eval echo configure:3304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3306 echo "configure: failed program was:" >&5
3307 cat conftest.$ac_ext >&5
3312 cat > conftest.$ac_ext <<EOF
3313 #line 3314 "configure"
3314 #include "confdefs.h"
3320 if { (eval echo configure:3321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3323 echo "configure: failed program was:" >&5
3324 cat conftest.$ac_ext >&5
3329 cat > conftest.$ac_ext <<EOF
3330 #line 3331 "configure"
3331 #include "confdefs.h"
3337 if { (eval echo configure:3338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3340 echo "configure: failed program was:" >&5
3341 cat conftest.$ac_ext >&5
3346 cat > conftest.$ac_ext <<EOF
3347 #line 3348 "configure"
3348 #include "confdefs.h"
3354 if { (eval echo configure:3355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3357 echo "configure: failed program was:" >&5
3358 cat conftest.$ac_ext >&5
3363 cat > conftest.$ac_ext <<EOF
3364 #line 3365 "configure"
3365 #include "confdefs.h"
3371 if { (eval echo configure:3372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3374 echo "configure: failed program was:" >&5
3375 cat conftest.$ac_ext >&5
3380 cat > conftest.$ac_ext <<EOF
3381 #line 3382 "configure"
3382 #include "confdefs.h"
3388 if { (eval echo configure:3389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3391 echo "configure: failed program was:" >&5
3392 cat conftest.$ac_ext >&5
3397 cat > conftest.$ac_ext <<EOF
3398 #line 3399 "configure"
3399 #include "confdefs.h"
3405 if { (eval echo configure:3406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3408 echo "configure: failed program was:" >&5
3409 cat conftest.$ac_ext >&5
3414 cat > conftest.$ac_ext <<EOF
3415 #line 3416 "configure"
3416 #include "confdefs.h"
3419 isgreaterequal(0.0,0.0);
3422 if { (eval echo configure:3423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3425 echo "configure: failed program was:" >&5
3426 cat conftest.$ac_ext >&5
3431 cat > conftest.$ac_ext <<EOF
3432 #line 3433 "configure"
3433 #include "confdefs.h"
3439 if { (eval echo configure:3440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3442 echo "configure: failed program was:" >&5
3443 cat conftest.$ac_ext >&5
3448 cat > conftest.$ac_ext <<EOF
3449 #line 3450 "configure"
3450 #include "confdefs.h"
3453 islessequal(0.0,0.0);
3456 if { (eval echo configure:3457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3459 echo "configure: failed program was:" >&5
3460 cat conftest.$ac_ext >&5
3465 cat > conftest.$ac_ext <<EOF
3466 #line 3467 "configure"
3467 #include "confdefs.h"
3470 islessgreater(0.0,0.0);
3473 if { (eval echo configure:3474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3476 echo "configure: failed program was:" >&5
3477 cat conftest.$ac_ext >&5
3482 cat > conftest.$ac_ext <<EOF
3483 #line 3484 "configure"
3484 #include "confdefs.h"
3487 isunordered(0.0,0.0);
3490 if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3493 echo "configure: failed program was:" >&5
3494 cat conftest.$ac_ext >&5
3499 echo "$ac_t""$ac_c99_math" 1>&6
3501 # Check for the existence in <stdio.h> of vscanf, et. al.
3503 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3504 echo "configure:3505: checking for ISO C99 support in <stdio.h>" >&5
3505 cat > conftest.$ac_ext <<EOF
3506 #line 3507 "configure"
3507 #include "confdefs.h"
3510 snprintf("12", 0, "%i");
3513 if { (eval echo configure:3514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3516 echo "configure: failed program was:" >&5
3517 cat conftest.$ac_ext >&5
3522 cat > conftest.$ac_ext <<EOF
3523 #line 3524 "configure"
3524 #include "confdefs.h"
3527 void foo(char* fmt, ...)
3528 {va_list args; va_start(args, fmt);
3529 vfscanf(stderr, "%i", args);}
3534 if { (eval echo configure:3535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3537 echo "configure: failed program was:" >&5
3538 cat conftest.$ac_ext >&5
3543 cat > conftest.$ac_ext <<EOF
3544 #line 3545 "configure"
3545 #include "confdefs.h"
3548 void foo(char* fmt, ...)
3549 {va_list args; va_start(args, fmt);
3550 vscanf("%i", args);}
3555 if { (eval echo configure:3556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3558 echo "configure: failed program was:" >&5
3559 cat conftest.$ac_ext >&5
3564 cat > conftest.$ac_ext <<EOF
3565 #line 3566 "configure"
3566 #include "confdefs.h"
3569 void foo(char* fmt, ...)
3570 {va_list args; va_start(args, fmt);
3571 vsnprintf(fmt, 0, "%i", args);}
3576 if { (eval echo configure:3577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3579 echo "configure: failed program was:" >&5
3580 cat conftest.$ac_ext >&5
3585 cat > conftest.$ac_ext <<EOF
3586 #line 3587 "configure"
3587 #include "confdefs.h"
3590 void foo(char* fmt, ...)
3591 {va_list args; va_start(args, fmt);
3592 vsscanf(fmt, "%i", args);}
3597 if { (eval echo configure:3598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3600 echo "configure: failed program was:" >&5
3601 cat conftest.$ac_ext >&5
3606 echo "$ac_t""$ac_c99_stdio" 1>&6
3608 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3610 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3611 echo "configure:3612: checking for lldiv_t declaration" >&5
3612 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3613 echo $ac_n "(cached) $ac_c" 1>&6
3616 cat > conftest.$ac_ext <<EOF
3617 #line 3618 "configure"
3618 #include "confdefs.h"
3624 if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3628 echo "configure: failed program was:" >&5
3629 cat conftest.$ac_ext >&5
3637 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3639 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3640 echo "configure:3641: checking for ISO C99 support in <stdlib.h>" >&5
3641 cat > conftest.$ac_ext <<EOF
3642 #line 3643 "configure"
3643 #include "confdefs.h"
3646 char* tmp; strtof("gnu", &tmp);
3649 if { (eval echo configure:3650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3652 echo "configure: failed program was:" >&5
3653 cat conftest.$ac_ext >&5
3658 cat > conftest.$ac_ext <<EOF
3659 #line 3660 "configure"
3660 #include "confdefs.h"
3663 char* tmp; strtold("gnu", &tmp);
3666 if { (eval echo configure:3667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3669 echo "configure: failed program was:" >&5
3670 cat conftest.$ac_ext >&5
3675 cat > conftest.$ac_ext <<EOF
3676 #line 3677 "configure"
3677 #include "confdefs.h"
3683 if { (eval echo configure:3684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3686 echo "configure: failed program was:" >&5
3687 cat conftest.$ac_ext >&5
3692 cat > conftest.$ac_ext <<EOF
3693 #line 3694 "configure"
3694 #include "confdefs.h"
3700 if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3703 echo "configure: failed program was:" >&5
3704 cat conftest.$ac_ext >&5
3709 cat > conftest.$ac_ext <<EOF
3710 #line 3711 "configure"
3711 #include "confdefs.h"
3717 if { (eval echo configure:3718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3720 echo "configure: failed program was:" >&5
3721 cat conftest.$ac_ext >&5
3726 cat > conftest.$ac_ext <<EOF
3727 #line 3728 "configure"
3728 #include "confdefs.h"
3734 if { (eval echo configure:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3737 echo "configure: failed program was:" >&5
3738 cat conftest.$ac_ext >&5
3743 if test x"$ac_c99_lldiv_t" = x"no"; then
3746 echo "$ac_t""$ac_c99_stdlib" 1>&6
3748 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3749 # XXX the wchar.h checks should be rolled into the general C99 bits.
3751 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3752 echo "configure:3753: checking for additional ISO C99 support in <wchar.h>" >&5
3753 cat > conftest.$ac_ext <<EOF
3754 #line 3755 "configure"
3755 #include "confdefs.h"
3758 wcstold(L"10.0", NULL);
3761 if { (eval echo configure:3762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3764 echo "configure: failed program was:" >&5
3765 cat conftest.$ac_ext >&5
3770 cat > conftest.$ac_ext <<EOF
3771 #line 3772 "configure"
3772 #include "confdefs.h"
3775 wcstoll(L"10", NULL, 10);
3778 if { (eval echo configure:3779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3781 echo "configure: failed program was:" >&5
3782 cat conftest.$ac_ext >&5
3787 cat > conftest.$ac_ext <<EOF
3788 #line 3789 "configure"
3789 #include "confdefs.h"
3792 wcstoull(L"10", NULL, 10);
3795 if { (eval echo configure:3796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3798 echo "configure: failed program was:" >&5
3799 cat conftest.$ac_ext >&5
3804 echo "$ac_t""$ac_c99_wchar" 1>&6
3806 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3807 echo "configure:3808: checking for enabled ISO C99 support" >&5
3808 if test x"$ac_c99_math" = x"no" ||
3809 test x"$ac_c99_stdio" = x"no" ||
3810 test x"$ac_c99_stdlib" = x"no" ||
3811 test x"$ac_c99_wchar" = x"no"; then
3814 echo "$ac_t""$enable_c99" 1>&6
3816 # Option parsed, now set things appropriately
3817 if test x"$enable_c99" = x"yes"; then
3818 cat >> confdefs.h <<\EOF
3819 #define _GLIBCPP_USE_C99 1
3825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3826 ac_cpp='$CPP $CPPFLAGS'
3827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3829 cross_compiling=$ac_cv_prog_cc_cross
3833 # Check whether --enable-long-long or --disable-long-long was given.
3834 if test "${enable_long_long+set}" = set; then
3835 enableval="$enable_long_long"
3836 case "$enableval" in
3837 yes) enable_long_long=yes ;;
3838 no) enable_long_long=no ;;
3839 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3842 enable_long_long=yes
3847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3848 ac_cpp='$CXXCPP $CPPFLAGS'
3849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3851 cross_compiling=$ac_cv_prog_cxx_cross
3854 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3855 echo "configure:3856: checking for enabled long long I/O support" >&5
3856 # iostreams require strtoll, strtoull to compile
3857 cat > conftest.$ac_ext <<EOF
3858 #line 3859 "configure"
3859 #include "confdefs.h"
3862 char* tmp; strtoll("gnu", &tmp, 10);
3865 if { (eval echo configure:3866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3868 echo "configure: failed program was:" >&5
3869 cat conftest.$ac_ext >&5
3874 cat > conftest.$ac_ext <<EOF
3875 #line 3876 "configure"
3876 #include "confdefs.h"
3879 char* tmp; strtoull("gnu", &tmp, 10);
3882 if { (eval echo configure:3883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3885 echo "configure: failed program was:" >&5
3886 cat conftest.$ac_ext >&5
3892 # Option parsed, now set things appropriately
3893 if test x"$enable_long_long" = xyes; then
3894 cat >> confdefs.h <<\EOF
3895 #define _GLIBCPP_USE_LONG_LONG 1
3899 echo "$ac_t""$enable_long_long" 1>&6
3902 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3903 ac_cpp='$CPP $CPPFLAGS'
3904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3906 cross_compiling=$ac_cv_prog_cc_cross
3910 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3911 echo "configure:3912: checking for thread model used by GCC" >&5
3912 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3913 echo "$ac_t""$target_thread_file" 1>&6
3915 if test $target_thread_file != single; then
3916 cat >> confdefs.h <<\EOF
3917 #define HAVE_GTHR_DEFAULT 1
3920 cat >> confdefs.h <<\EOF
3921 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3926 glibcpp_thread_h=gthr-$target_thread_file.h
3930 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3931 echo "configure:3932: checking for exception model to use" >&5
3934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3935 ac_cpp='$CXXCPP $CPPFLAGS'
3936 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3937 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3938 cross_compiling=$ac_cv_prog_cxx_cross
3940 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3941 if test "${enable_sjlj_exceptions+set}" = set; then
3942 enableval="$enable_sjlj_exceptions"
3945 cat > conftest.$ac_ext << EOF
3946 #line 3947 "configure"
3955 old_CXXFLAGS="$CXXFLAGS"
3957 if { (eval echo configure:3958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3958 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3959 enable_sjlj_exceptions=yes
3960 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3961 enable_sjlj_exceptions=no
3964 CXXFLAGS="$old_CXXFLAGS"
3968 if test x$enable_sjlj_exceptions = xyes; then
3969 cat >> confdefs.h <<\EOF
3970 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3973 ac_exception_model_name=sjlj
3974 elif test x$enable_sjlj_exceptions = xno; then
3975 ac_exception_model_name="call frame"
3977 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3981 ac_cpp='$CPP $CPPFLAGS'
3982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3984 cross_compiling=$ac_cv_prog_cc_cross
3986 echo "$ac_t""$ac_exception_model_name" 1>&6
3989 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
3990 echo "configure:3991: checking for use of libunwind" >&5
3991 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3992 if test "${enable_libunwind_exceptions+set}" = set; then
3993 enableval="$enable_libunwind_exceptions"
3994 use_libunwind_exceptions=$enableval
3996 use_libunwind_exceptions=no
3999 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4000 if test x"$use_libunwind_exceptions" = xyes; then
4001 LIBUNWIND_FLAG="-lunwind"
4007 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4008 if test "${enable_concept_checks+set}" = set; then
4009 enableval="$enable_concept_checks"
4010 case "$enableval" in
4011 yes) enable_concept_checks=yes ;;
4012 no) enable_concept_checks=no ;;
4013 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4016 enable_concept_checks=no
4018 if test x"$enable_concept_checks" = xyes; then
4019 cat >> confdefs.h <<\EOF
4020 #define _GLIBCPP_CONCEPT_CHECKS 1
4025 echo $ac_n "checking for extra compiler flags for building""... $ac_c" 1>&6
4026 echo "configure:4027: checking for extra compiler flags for building" >&5
4027 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4028 if test "${enable_cxx_flags+set}" = set; then
4029 enableval="$enable_cxx_flags"
4030 case "x$enable_cxx_flags" in
4032 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
4034 enable_cxx_flags='' ;;
4036 enable_cxx_flags="$enableval" ;;
4043 if test -n "$enable_cxx_flags"; then
4044 for f in $enable_cxx_flags; do
4048 *) # and we're trying to pass /what/ exactly?
4049 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
4053 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4054 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4057 # Check whether --enable-debug or --disable-debug was given.
4058 if test "${enable_debug+set}" = set; then
4059 enableval="$enable_debug"
4060 case "${enableval}" in
4061 yes) enable_debug=yes ;;
4062 no) enable_debug=no ;;
4063 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
4068 echo $ac_n "checking for additional debug build""... $ac_c" 1>&6
4069 echo "configure:4070: checking for additional debug build" >&5
4070 echo "$ac_t""$enable_debug" 1>&6
4073 if test "$enable_debug" = yes; then
4074 GLIBCPP_BUILD_DEBUG_TRUE=
4075 GLIBCPP_BUILD_DEBUG_FALSE='#'
4077 GLIBCPP_BUILD_DEBUG_TRUE='#'
4078 GLIBCPP_BUILD_DEBUG_FALSE=
4081 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4082 if test "${enable_debug_flags+set}" = set; then
4083 enableval="$enable_debug_flags"
4084 case "${enableval}" in
4086 -*) enable_debug_flags="${enableval}" ;;
4087 *) { echo "configure: error: Unknown argument to extra debugging flags" 1>&2; exit 1; } ;;
4090 enable_debug_flags=none
4093 case x"$enable_debug" in
4095 case "$enable_debug_flags" in
4097 DEBUG_FLAGS="-g3 -O0";;
4099 DEBUG_FLAGS="${enableval}"
4108 echo $ac_n "checking for debug build flags""... $ac_c" 1>&6
4109 echo "configure:4110: checking for debug build flags" >&5
4110 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4113 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4114 for ac_hdr in string.h stdlib.h
4116 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4117 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4118 echo "configure:4119: checking for $ac_hdr" >&5
4119 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4120 echo $ac_n "(cached) $ac_c" 1>&6
4122 cat > conftest.$ac_ext <<EOF
4123 #line 4124 "configure"
4124 #include "confdefs.h"
4127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4128 { (eval echo configure:4129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4130 if test -z "$ac_err"; then
4132 eval "ac_cv_header_$ac_safe=yes"
4135 echo "configure: failed program was:" >&5
4136 cat conftest.$ac_ext >&5
4138 eval "ac_cv_header_$ac_safe=no"
4142 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4143 echo "$ac_t""yes" 1>&6
4144 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4145 cat >> confdefs.h <<EOF
4146 #define $ac_tr_hdr 1
4150 echo "$ac_t""no" 1>&6
4155 # No surprises, no surprises...
4156 if test $ATOMICITYH = cpu/generic ; then
4157 echo "configure: warning: No native atomic operations are provided yet for this platform." 1>&2
4158 if test $target_thread_file = single; then
4159 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4160 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4162 echo "configure: warning: They will be faked using a mutex." 1>&2
4163 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4168 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4170 # We are being configured with some form of cross compiler.
4171 GLIBCPP_IS_CROSS_COMPILING=1
4173 # This lets us hard-code the functionality we know we'll have in the cross
4174 # target environment. "Let" is a sugar-coated word placed on an especially
4175 # dull and tedious hack, actually.
4177 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4178 # that involve linking, can't be used:
4179 # "cannot open sim-crt0.o"
4180 # "cannot open crt0.o"
4181 # etc. All this is because there currently exists no unified, consistent
4182 # way for top level CC information to be passed down to target directories:
4183 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4184 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4185 # crosses can be removed.
4187 # If Canadian cross, then don't pick up tools from the build directory.
4188 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4189 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4195 # Construct crosses by hand, eliminating bits that need ld...
4196 # GLIBCPP_CHECK_COMPILER_FEATURES
4197 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4198 # GLIBCPP_CHECK_MATH_SUPPORT
4202 os_include_dir="os/gnu-linux"
4203 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4204 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4205 fp.h locale.h float.h inttypes.h
4207 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4209 echo "configure:4210: checking for $ac_hdr" >&5
4210 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4211 echo $ac_n "(cached) $ac_c" 1>&6
4213 cat > conftest.$ac_ext <<EOF
4214 #line 4215 "configure"
4215 #include "confdefs.h"
4218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4219 { (eval echo configure:4220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4221 if test -z "$ac_err"; then
4223 eval "ac_cv_header_$ac_safe=yes"
4226 echo "configure: failed program was:" >&5
4227 cat conftest.$ac_ext >&5
4229 eval "ac_cv_header_$ac_safe=no"
4233 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4234 echo "$ac_t""yes" 1>&6
4235 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4236 cat >> confdefs.h <<EOF
4237 #define $ac_tr_hdr 1
4241 echo "$ac_t""no" 1>&6
4245 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4248 # If we're not using GNU ld, then there's no point in even trying these
4249 # tests. Check for that first. We should have already tested for gld
4250 # by now (in libtool), but require it now just to be safe...
4251 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4252 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4255 # The name set by libtool depends on the version of libtool. Shame on us
4256 # for depending on an impl detail, but c'est la vie. Older versions used
4257 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4258 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4259 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4260 # set (hence we're using an older libtool), then set it.
4261 if test x${with_gnu_ld+set} != xset; then
4262 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4263 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4266 with_gnu_ld=$ac_cv_prog_gnu_ld
4270 # Start by getting the version number. I think the libtool test already
4271 # does some of this, but throws away the result.
4273 ldver=`$LD --version 2>/dev/null | head -1 | \
4274 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4276 glibcpp_gnu_ld_version=`echo $ldver | \
4277 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4279 # Set --gc-sections.
4280 if test "$with_gnu_ld" = "notbroken"; then
4281 # GNU ld it is! Joy and bunny rabbits!
4283 # All these tests are for C++; save the language and the compiler flags.
4284 # Need to do this so that g++ won't try to link in libstdc++
4285 ac_test_CFLAGS="${CFLAGS+set}"
4286 ac_save_CFLAGS="$CFLAGS"
4287 CFLAGS='-x c++ -Wl,--gc-sections'
4289 # Check for -Wl,--gc-sections
4290 # XXX This test is broken at the moment, as symbols required for
4291 # linking are now in libsupc++ (not built yet.....). In addition,
4292 # this test has cored on solaris in the past. In addition,
4293 # --gc-sections doesn't really work at the moment (keeps on discarding
4294 # used sections, first .eh_frame and now some of the glibc sections for
4295 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4296 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4297 echo "configure:4298: checking for ld that supports -Wl,--gc-sections" >&5
4298 if test "$cross_compiling" = yes; then
4299 ac_sectionLDflags=yes
4301 cat > conftest.$ac_ext <<EOF
4302 #line 4303 "configure"
4303 #include "confdefs.h"
4313 if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4315 ac_sectionLDflags=yes
4317 echo "configure: failed program was:" >&5
4318 cat conftest.$ac_ext >&5
4320 ac_sectionLDflags=no
4325 if test "$ac_test_CFLAGS" = set; then
4326 CFLAGS="$ac_save_CFLAGS"
4328 # this is the suspicious part
4331 if test "$ac_sectionLDflags" = "yes"; then
4332 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4334 echo "$ac_t""$ac_sectionLDflags" 1>&6
4337 # Set linker optimization flags.
4338 if test x"$with_gnu_ld" = x"yes"; then
4339 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4346 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4347 echo "configure:4348: checking for main in -lm" >&5
4348 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4349 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4350 echo $ac_n "(cached) $ac_c" 1>&6
4352 ac_save_LIBS="$LIBS"
4354 cat > conftest.$ac_ext <<EOF
4355 #line 4356 "configure"
4356 #include "confdefs.h"
4362 if { (eval echo configure:4363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4364 eval "ac_cv_lib_$ac_lib_var=yes"
4366 echo "configure: failed program was:" >&5
4367 cat conftest.$ac_ext >&5
4369 eval "ac_cv_lib_$ac_lib_var=no"
4372 LIBS="$ac_save_LIBS"
4375 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4376 echo "$ac_t""yes" 1>&6
4377 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4378 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4379 cat >> confdefs.h <<EOF
4380 #define $ac_tr_lib 1
4386 echo "$ac_t""no" 1>&6
4389 for ac_func in nan copysignf
4391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4392 echo "configure:4393: checking for $ac_func" >&5
4393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4394 echo $ac_n "(cached) $ac_c" 1>&6
4396 cat > conftest.$ac_ext <<EOF
4397 #line 4398 "configure"
4398 #include "confdefs.h"
4399 /* System header to define __stub macros and hopefully few prototypes,
4400 which can conflict with char $ac_func(); below. */
4402 /* Override any gcc2 internal prototype to avoid an error. */
4403 /* We use char because int might match the return type of a gcc2
4404 builtin and then its argument prototype would still apply. */
4409 /* The GNU C library defines this for functions which it implements
4410 to always fail with ENOSYS. Some functions are actually named
4411 something starting with __ and the normal name is an alias. */
4412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4420 if { (eval echo configure:4421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4422 eval "ac_cv_func_$ac_func=yes"
4424 echo "configure: failed program was:" >&5
4425 cat conftest.$ac_ext >&5
4427 eval "ac_cv_func_$ac_func=no"
4432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4433 echo "$ac_t""yes" 1>&6
4434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4435 cat >> confdefs.h <<EOF
4436 #define $ac_tr_func 1
4440 echo "$ac_t""no" 1>&6
4441 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4446 for ac_func in __signbit
4448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4449 echo "configure:4450: checking for $ac_func" >&5
4450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4451 echo $ac_n "(cached) $ac_c" 1>&6
4453 cat > conftest.$ac_ext <<EOF
4454 #line 4455 "configure"
4455 #include "confdefs.h"
4456 /* System header to define __stub macros and hopefully few prototypes,
4457 which can conflict with char $ac_func(); below. */
4459 /* Override any gcc2 internal prototype to avoid an error. */
4460 /* We use char because int might match the return type of a gcc2
4461 builtin and then its argument prototype would still apply. */
4466 /* The GNU C library defines this for functions which it implements
4467 to always fail with ENOSYS. Some functions are actually named
4468 something starting with __ and the normal name is an alias. */
4469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4477 if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4479 eval "ac_cv_func_$ac_func=yes"
4481 echo "configure: failed program was:" >&5
4482 cat conftest.$ac_ext >&5
4484 eval "ac_cv_func_$ac_func=no"
4489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4490 echo "$ac_t""yes" 1>&6
4491 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4492 cat >> confdefs.h <<EOF
4493 #define $ac_tr_func 1
4497 echo "$ac_t""no" 1>&6
4498 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4502 for ac_func in __signbitf
4504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4505 echo "configure:4506: checking for $ac_func" >&5
4506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4507 echo $ac_n "(cached) $ac_c" 1>&6
4509 cat > conftest.$ac_ext <<EOF
4510 #line 4511 "configure"
4511 #include "confdefs.h"
4512 /* System header to define __stub macros and hopefully few prototypes,
4513 which can conflict with char $ac_func(); below. */
4515 /* Override any gcc2 internal prototype to avoid an error. */
4516 /* We use char because int might match the return type of a gcc2
4517 builtin and then its argument prototype would still apply. */
4522 /* The GNU C library defines this for functions which it implements
4523 to always fail with ENOSYS. Some functions are actually named
4524 something starting with __ and the normal name is an alias. */
4525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4533 if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4535 eval "ac_cv_func_$ac_func=yes"
4537 echo "configure: failed program was:" >&5
4538 cat conftest.$ac_ext >&5
4540 eval "ac_cv_func_$ac_func=no"
4545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4546 echo "$ac_t""yes" 1>&6
4547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4548 cat >> confdefs.h <<EOF
4549 #define $ac_tr_func 1
4553 echo "$ac_t""no" 1>&6
4554 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4559 if test x$ac_cv_func_copysignl = x"yes"; then
4560 for ac_func in __signbitl
4562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4563 echo "configure:4564: checking for $ac_func" >&5
4564 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4565 echo $ac_n "(cached) $ac_c" 1>&6
4567 cat > conftest.$ac_ext <<EOF
4568 #line 4569 "configure"
4569 #include "confdefs.h"
4570 /* System header to define __stub macros and hopefully few prototypes,
4571 which can conflict with char $ac_func(); below. */
4573 /* Override any gcc2 internal prototype to avoid an error. */
4574 /* We use char because int might match the return type of a gcc2
4575 builtin and then its argument prototype would still apply. */
4580 /* The GNU C library defines this for functions which it implements
4581 to always fail with ENOSYS. Some functions are actually named
4582 something starting with __ and the normal name is an alias. */
4583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4591 if { (eval echo configure:4592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4593 eval "ac_cv_func_$ac_func=yes"
4595 echo "configure: failed program was:" >&5
4596 cat conftest.$ac_ext >&5
4598 eval "ac_cv_func_$ac_func=no"
4603 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4604 echo "$ac_t""yes" 1>&6
4605 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4606 cat >> confdefs.h <<EOF
4607 #define $ac_tr_func 1
4611 echo "$ac_t""no" 1>&6
4612 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4618 if test -n "$LIBMATHOBJS"; then
4624 if test "$need_libmath" = yes; then
4625 GLIBCPP_BUILD_LIBMATH_TRUE=
4626 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4628 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4629 GLIBCPP_BUILD_LIBMATH_FALSE=
4635 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4636 echo "configure:4637: checking for mbstate_t" >&5
4637 cat > conftest.$ac_ext <<EOF
4638 #line 4639 "configure"
4639 #include "confdefs.h"
4642 mbstate_t teststate;
4645 if { (eval echo configure:4646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4649 echo "configure: failed program was:" >&5
4650 cat conftest.$ac_ext >&5
4655 echo "$ac_t""$have_mbstate_t" 1>&6
4656 if test x"$have_mbstate_t" = xyes; then
4657 cat >> confdefs.h <<\EOF
4658 #define HAVE_MBSTATE_T 1
4663 for ac_hdr in wchar.h
4665 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4666 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4667 echo "configure:4668: checking for $ac_hdr" >&5
4668 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4669 echo $ac_n "(cached) $ac_c" 1>&6
4671 cat > conftest.$ac_ext <<EOF
4672 #line 4673 "configure"
4673 #include "confdefs.h"
4676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4677 { (eval echo configure:4678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4679 if test -z "$ac_err"; then
4681 eval "ac_cv_header_$ac_safe=yes"
4684 echo "configure: failed program was:" >&5
4685 cat conftest.$ac_ext >&5
4687 eval "ac_cv_header_$ac_safe=no"
4691 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4692 echo "$ac_t""yes" 1>&6
4693 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4694 cat >> confdefs.h <<EOF
4695 #define $ac_tr_hdr 1
4699 echo "$ac_t""no" 1>&6
4704 for ac_hdr in wctype.h
4706 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4707 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4708 echo "configure:4709: checking for $ac_hdr" >&5
4709 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4710 echo $ac_n "(cached) $ac_c" 1>&6
4712 cat > conftest.$ac_ext <<EOF
4713 #line 4714 "configure"
4714 #include "confdefs.h"
4717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4718 { (eval echo configure:4719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4720 if test -z "$ac_err"; then
4722 eval "ac_cv_header_$ac_safe=yes"
4725 echo "configure: failed program was:" >&5
4726 cat conftest.$ac_ext >&5
4728 eval "ac_cv_header_$ac_safe=no"
4732 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4733 echo "$ac_t""yes" 1>&6
4734 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4735 cat >> confdefs.h <<EOF
4736 #define $ac_tr_hdr 1
4740 echo "$ac_t""no" 1>&6
4746 if test x"$ac_has_wchar_h" = xyes &&
4747 test x"$ac_has_wctype_h" = xyes &&
4748 test x"$enable_c_mbchar" != xno; then
4750 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4751 echo "configure:4752: checking for WCHAR_MIN and WCHAR_MAX" >&5
4752 cat > conftest.$ac_ext <<EOF
4753 #line 4754 "configure"
4754 #include "confdefs.h"
4757 int i = WCHAR_MIN; int j = WCHAR_MAX;
4760 if { (eval echo configure:4761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4762 has_wchar_minmax=yes
4764 echo "configure: failed program was:" >&5
4765 cat conftest.$ac_ext >&5
4770 echo "$ac_t""$has_wchar_minmax" 1>&6
4772 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4773 echo "configure:4774: checking for WEOF" >&5
4774 cat > conftest.$ac_ext <<EOF
4775 #line 4776 "configure"
4776 #include "confdefs.h"
4784 if { (eval echo configure:4785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4788 echo "configure: failed program was:" >&5
4789 cat conftest.$ac_ext >&5
4794 echo "$ac_t""$has_weof" 1>&6
4797 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4800 echo "configure:4801: checking for $ac_func" >&5
4801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4802 echo $ac_n "(cached) $ac_c" 1>&6
4804 cat > conftest.$ac_ext <<EOF
4805 #line 4806 "configure"
4806 #include "confdefs.h"
4807 /* System header to define __stub macros and hopefully few prototypes,
4808 which can conflict with char $ac_func(); below. */
4810 /* Override any gcc2 internal prototype to avoid an error. */
4811 /* We use char because int might match the return type of a gcc2
4812 builtin and then its argument prototype would still apply. */
4817 /* The GNU C library defines this for functions which it implements
4818 to always fail with ENOSYS. Some functions are actually named
4819 something starting with __ and the normal name is an alias. */
4820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4828 if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4830 eval "ac_cv_func_$ac_func=yes"
4832 echo "configure: failed program was:" >&5
4833 cat conftest.$ac_ext >&5
4835 eval "ac_cv_func_$ac_func=no"
4840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4841 echo "$ac_t""yes" 1>&6
4842 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4843 cat >> confdefs.h <<EOF
4844 #define $ac_tr_func 1
4848 echo "$ac_t""no" 1>&6
4855 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4856 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4857 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4858 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4859 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4860 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4863 echo "configure:4864: checking for $ac_func" >&5
4864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4865 echo $ac_n "(cached) $ac_c" 1>&6
4867 cat > conftest.$ac_ext <<EOF
4868 #line 4869 "configure"
4869 #include "confdefs.h"
4870 /* System header to define __stub macros and hopefully few prototypes,
4871 which can conflict with char $ac_func(); below. */
4873 /* Override any gcc2 internal prototype to avoid an error. */
4874 /* We use char because int might match the return type of a gcc2
4875 builtin and then its argument prototype would still apply. */
4880 /* The GNU C library defines this for functions which it implements
4881 to always fail with ENOSYS. Some functions are actually named
4882 something starting with __ and the normal name is an alias. */
4883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4891 if { (eval echo configure:4892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4893 eval "ac_cv_func_$ac_func=yes"
4895 echo "configure: failed program was:" >&5
4896 cat conftest.$ac_ext >&5
4898 eval "ac_cv_func_$ac_func=no"
4903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4904 echo "$ac_t""yes" 1>&6
4905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4906 cat >> confdefs.h <<EOF
4907 #define $ac_tr_func 1
4911 echo "$ac_t""no" 1>&6
4918 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4919 echo "configure:4920: checking for ISO C99 wchar_t support" >&5
4920 if test x"$has_weof" = xyes &&
4921 test x"$has_wchar_minmax" = xyes &&
4922 test x"$ac_wfuncs" = xyes; then
4923 ac_isoC99_wchar_t=yes
4925 ac_isoC99_wchar_t=no
4927 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4929 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4930 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4931 echo "configure:4932: checking for iconv.h" >&5
4932 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4933 echo $ac_n "(cached) $ac_c" 1>&6
4935 cat > conftest.$ac_ext <<EOF
4936 #line 4937 "configure"
4937 #include "confdefs.h"
4940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4941 { (eval echo configure:4942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4943 if test -z "$ac_err"; then
4945 eval "ac_cv_header_$ac_safe=yes"
4948 echo "configure: failed program was:" >&5
4949 cat conftest.$ac_ext >&5
4951 eval "ac_cv_header_$ac_safe=no"
4955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4956 echo "$ac_t""yes" 1>&6
4959 echo "$ac_t""no" 1>&6
4963 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4964 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4965 echo "configure:4966: checking for langinfo.h" >&5
4966 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4967 echo $ac_n "(cached) $ac_c" 1>&6
4969 cat > conftest.$ac_ext <<EOF
4970 #line 4971 "configure"
4971 #include "confdefs.h"
4972 #include <langinfo.h>
4974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4975 { (eval echo configure:4976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4977 if test -z "$ac_err"; then
4979 eval "ac_cv_header_$ac_safe=yes"
4982 echo "configure: failed program was:" >&5
4983 cat conftest.$ac_ext >&5
4985 eval "ac_cv_header_$ac_safe=no"
4989 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4990 echo "$ac_t""yes" 1>&6
4991 ac_has_langinfo_h=yes
4993 echo "$ac_t""no" 1>&6
4994 ac_has_langinfo_h=no
4998 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4999 echo "configure:5000: checking for iconv in -liconv" >&5
5000 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5001 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5002 echo $ac_n "(cached) $ac_c" 1>&6
5004 ac_save_LIBS="$LIBS"
5005 LIBS="-liconv $LIBS"
5006 cat > conftest.$ac_ext <<EOF
5007 #line 5008 "configure"
5008 #include "confdefs.h"
5009 /* Override any gcc2 internal prototype to avoid an error. */
5010 /* We use char because int might match the return type of a gcc2
5011 builtin and then its argument prototype would still apply. */
5018 if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5020 eval "ac_cv_lib_$ac_lib_var=yes"
5022 echo "configure: failed program was:" >&5
5023 cat conftest.$ac_ext >&5
5025 eval "ac_cv_lib_$ac_lib_var=no"
5028 LIBS="$ac_save_LIBS"
5031 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5032 echo "$ac_t""yes" 1>&6
5035 echo "$ac_t""no" 1>&6
5038 ac_save_LIBS="$LIBS"
5039 LIBS="$LIBS $libiconv"
5041 for ac_func in iconv_open iconv_close iconv nl_langinfo
5043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5044 echo "configure:5045: checking for $ac_func" >&5
5045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5046 echo $ac_n "(cached) $ac_c" 1>&6
5048 cat > conftest.$ac_ext <<EOF
5049 #line 5050 "configure"
5050 #include "confdefs.h"
5051 /* System header to define __stub macros and hopefully few prototypes,
5052 which can conflict with char $ac_func(); below. */
5054 /* Override any gcc2 internal prototype to avoid an error. */
5055 /* We use char because int might match the return type of a gcc2
5056 builtin and then its argument prototype would still apply. */
5061 /* The GNU C library defines this for functions which it implements
5062 to always fail with ENOSYS. Some functions are actually named
5063 something starting with __ and the normal name is an alias. */
5064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5074 eval "ac_cv_func_$ac_func=yes"
5076 echo "configure: failed program was:" >&5
5077 cat conftest.$ac_ext >&5
5079 eval "ac_cv_func_$ac_func=no"
5084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5085 echo "$ac_t""yes" 1>&6
5086 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5087 cat >> confdefs.h <<EOF
5088 #define $ac_tr_func 1
5093 echo "$ac_t""no" 1>&6
5099 LIBS="$ac_save_LIBS"
5101 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5102 echo "configure:5103: checking for XPG2 wchar_t support" >&5
5103 if test x"$ac_has_iconv_h" = xyes &&
5104 test x"$ac_has_langinfo_h" = xyes &&
5105 test x"$ac_XPG2funcs" = xyes; then
5110 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5112 if test x"$ac_isoC99_wchar_t" = xyes &&
5113 test x"$ac_XPG2_wchar_t" = xyes; then
5114 cat >> confdefs.h <<\EOF
5115 #define _GLIBCPP_USE_WCHAR_T 1
5121 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5122 echo "configure:5123: checking for enabled wchar_t specializations" >&5
5123 echo "$ac_t""$enable_wchar_t" 1>&6
5126 if test "$enable_wchar_t" = yes; then
5127 GLIBCPP_TEST_WCHAR_T_TRUE=
5128 GLIBCPP_TEST_WCHAR_T_FALSE='#'
5130 GLIBCPP_TEST_WCHAR_T_TRUE='#'
5131 GLIBCPP_TEST_WCHAR_T_FALSE=
5134 cat >> confdefs.h <<\EOF
5135 #define HAVE_COPYSIGN 1
5138 cat >> confdefs.h <<\EOF
5139 #define HAVE_COPYSIGNF 1
5142 cat >> confdefs.h <<\EOF
5143 #define HAVE_FINITE 1
5146 cat >> confdefs.h <<\EOF
5147 #define HAVE_FINITEF 1
5150 cat >> confdefs.h <<\EOF
5151 #define HAVE_FREXPF 1
5154 cat >> confdefs.h <<\EOF
5155 #define HAVE_HYPOTF 1
5158 cat >> confdefs.h <<\EOF
5159 #define HAVE_ISINF 1
5162 cat >> confdefs.h <<\EOF
5163 #define HAVE_ISINFF 1
5166 cat >> confdefs.h <<\EOF
5167 #define HAVE_ISNAN 1
5170 cat >> confdefs.h <<\EOF
5171 #define HAVE_ISNANF 1
5174 cat >> confdefs.h <<\EOF
5175 #define HAVE_SINCOS 1
5178 cat >> confdefs.h <<\EOF
5179 #define HAVE_SINCOSF 1
5182 if test x"long_double_math_on_this_cpu" = x"yes"; then
5183 cat >> confdefs.h <<\EOF
5184 #define HAVE_FINITEL 1
5187 cat >> confdefs.h <<\EOF
5188 #define HAVE_HYPOTL 1
5191 cat >> confdefs.h <<\EOF
5192 #define HAVE_ISINFL 1
5195 cat >> confdefs.h <<\EOF
5196 #define HAVE_ISNANL 1
5202 # Check for available headers.
5203 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5204 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5205 fp.h locale.h float.h inttypes.h
5207 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5209 echo "configure:5210: checking for $ac_hdr" >&5
5210 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5211 echo $ac_n "(cached) $ac_c" 1>&6
5213 cat > conftest.$ac_ext <<EOF
5214 #line 5215 "configure"
5215 #include "confdefs.h"
5218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5219 { (eval echo configure:5220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5221 if test -z "$ac_err"; then
5223 eval "ac_cv_header_$ac_safe=yes"
5226 echo "configure: failed program was:" >&5
5227 cat conftest.$ac_ext >&5
5229 eval "ac_cv_header_$ac_safe=no"
5233 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5234 echo "$ac_t""yes" 1>&6
5235 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5236 cat >> confdefs.h <<EOF
5237 #define $ac_tr_hdr 1
5241 echo "$ac_t""no" 1>&6
5245 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5248 # If we're not using GNU ld, then there's no point in even trying these
5249 # tests. Check for that first. We should have already tested for gld
5250 # by now (in libtool), but require it now just to be safe...
5251 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5252 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5255 # The name set by libtool depends on the version of libtool. Shame on us
5256 # for depending on an impl detail, but c'est la vie. Older versions used
5257 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5258 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5259 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5260 # set (hence we're using an older libtool), then set it.
5261 if test x${with_gnu_ld+set} != xset; then
5262 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5263 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5266 with_gnu_ld=$ac_cv_prog_gnu_ld
5270 # Start by getting the version number. I think the libtool test already
5271 # does some of this, but throws away the result.
5273 ldver=`$LD --version 2>/dev/null | head -1 | \
5274 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5276 glibcpp_gnu_ld_version=`echo $ldver | \
5277 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5279 # Set --gc-sections.
5280 if test "$with_gnu_ld" = "notbroken"; then
5281 # GNU ld it is! Joy and bunny rabbits!
5283 # All these tests are for C++; save the language and the compiler flags.
5284 # Need to do this so that g++ won't try to link in libstdc++
5285 ac_test_CFLAGS="${CFLAGS+set}"
5286 ac_save_CFLAGS="$CFLAGS"
5287 CFLAGS='-x c++ -Wl,--gc-sections'
5289 # Check for -Wl,--gc-sections
5290 # XXX This test is broken at the moment, as symbols required for
5291 # linking are now in libsupc++ (not built yet.....). In addition,
5292 # this test has cored on solaris in the past. In addition,
5293 # --gc-sections doesn't really work at the moment (keeps on discarding
5294 # used sections, first .eh_frame and now some of the glibc sections for
5295 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5296 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5297 echo "configure:5298: checking for ld that supports -Wl,--gc-sections" >&5
5298 if test "$cross_compiling" = yes; then
5299 ac_sectionLDflags=yes
5301 cat > conftest.$ac_ext <<EOF
5302 #line 5303 "configure"
5303 #include "confdefs.h"
5313 if { (eval echo configure:5314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5315 ac_sectionLDflags=yes
5317 echo "configure: failed program was:" >&5
5318 cat conftest.$ac_ext >&5
5320 ac_sectionLDflags=no
5325 if test "$ac_test_CFLAGS" = set; then
5326 CFLAGS="$ac_save_CFLAGS"
5328 # this is the suspicious part
5331 if test "$ac_sectionLDflags" = "yes"; then
5332 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5334 echo "$ac_t""$ac_sectionLDflags" 1>&6
5337 # Set linker optimization flags.
5338 if test x"$with_gnu_ld" = x"yes"; then
5339 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5346 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5347 echo "configure:5348: checking for main in -lm" >&5
5348 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5349 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5350 echo $ac_n "(cached) $ac_c" 1>&6
5352 ac_save_LIBS="$LIBS"
5354 cat > conftest.$ac_ext <<EOF
5355 #line 5356 "configure"
5356 #include "confdefs.h"
5362 if { (eval echo configure:5363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5364 eval "ac_cv_lib_$ac_lib_var=yes"
5366 echo "configure: failed program was:" >&5
5367 cat conftest.$ac_ext >&5
5369 eval "ac_cv_lib_$ac_lib_var=no"
5372 LIBS="$ac_save_LIBS"
5375 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5376 echo "$ac_t""yes" 1>&6
5377 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5378 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5379 cat >> confdefs.h <<EOF
5380 #define $ac_tr_lib 1
5386 echo "$ac_t""no" 1>&6
5389 for ac_func in nan copysignf
5391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5392 echo "configure:5393: checking for $ac_func" >&5
5393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5394 echo $ac_n "(cached) $ac_c" 1>&6
5396 cat > conftest.$ac_ext <<EOF
5397 #line 5398 "configure"
5398 #include "confdefs.h"
5399 /* System header to define __stub macros and hopefully few prototypes,
5400 which can conflict with char $ac_func(); below. */
5402 /* Override any gcc2 internal prototype to avoid an error. */
5403 /* We use char because int might match the return type of a gcc2
5404 builtin and then its argument prototype would still apply. */
5409 /* The GNU C library defines this for functions which it implements
5410 to always fail with ENOSYS. Some functions are actually named
5411 something starting with __ and the normal name is an alias. */
5412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5420 if { (eval echo configure:5421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5422 eval "ac_cv_func_$ac_func=yes"
5424 echo "configure: failed program was:" >&5
5425 cat conftest.$ac_ext >&5
5427 eval "ac_cv_func_$ac_func=no"
5432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5433 echo "$ac_t""yes" 1>&6
5434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5435 cat >> confdefs.h <<EOF
5436 #define $ac_tr_func 1
5440 echo "$ac_t""no" 1>&6
5441 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5446 for ac_func in __signbit
5448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5449 echo "configure:5450: checking for $ac_func" >&5
5450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5451 echo $ac_n "(cached) $ac_c" 1>&6
5453 cat > conftest.$ac_ext <<EOF
5454 #line 5455 "configure"
5455 #include "confdefs.h"
5456 /* System header to define __stub macros and hopefully few prototypes,
5457 which can conflict with char $ac_func(); below. */
5459 /* Override any gcc2 internal prototype to avoid an error. */
5460 /* We use char because int might match the return type of a gcc2
5461 builtin and then its argument prototype would still apply. */
5466 /* The GNU C library defines this for functions which it implements
5467 to always fail with ENOSYS. Some functions are actually named
5468 something starting with __ and the normal name is an alias. */
5469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
5481 echo "configure: failed program was:" >&5
5482 cat conftest.$ac_ext >&5
5484 eval "ac_cv_func_$ac_func=no"
5489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5490 echo "$ac_t""yes" 1>&6
5491 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5492 cat >> confdefs.h <<EOF
5493 #define $ac_tr_func 1
5497 echo "$ac_t""no" 1>&6
5498 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5502 for ac_func in __signbitf
5504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5505 echo "configure:5506: checking for $ac_func" >&5
5506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5507 echo $ac_n "(cached) $ac_c" 1>&6
5509 cat > conftest.$ac_ext <<EOF
5510 #line 5511 "configure"
5511 #include "confdefs.h"
5512 /* System header to define __stub macros and hopefully few prototypes,
5513 which can conflict with char $ac_func(); below. */
5515 /* Override any gcc2 internal prototype to avoid an error. */
5516 /* We use char because int might match the return type of a gcc2
5517 builtin and then its argument prototype would still apply. */
5522 /* The GNU C library defines this for functions which it implements
5523 to always fail with ENOSYS. Some functions are actually named
5524 something starting with __ and the normal name is an alias. */
5525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5533 if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5535 eval "ac_cv_func_$ac_func=yes"
5537 echo "configure: failed program was:" >&5
5538 cat conftest.$ac_ext >&5
5540 eval "ac_cv_func_$ac_func=no"
5545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5546 echo "$ac_t""yes" 1>&6
5547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5548 cat >> confdefs.h <<EOF
5549 #define $ac_tr_func 1
5553 echo "$ac_t""no" 1>&6
5554 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5559 if test x$ac_cv_func_copysignl = x"yes"; then
5560 for ac_func in __signbitl
5562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5563 echo "configure:5564: checking for $ac_func" >&5
5564 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5565 echo $ac_n "(cached) $ac_c" 1>&6
5567 cat > conftest.$ac_ext <<EOF
5568 #line 5569 "configure"
5569 #include "confdefs.h"
5570 /* System header to define __stub macros and hopefully few prototypes,
5571 which can conflict with char $ac_func(); below. */
5573 /* Override any gcc2 internal prototype to avoid an error. */
5574 /* We use char because int might match the return type of a gcc2
5575 builtin and then its argument prototype would still apply. */
5580 /* The GNU C library defines this for functions which it implements
5581 to always fail with ENOSYS. Some functions are actually named
5582 something starting with __ and the normal name is an alias. */
5583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5591 if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5593 eval "ac_cv_func_$ac_func=yes"
5595 echo "configure: failed program was:" >&5
5596 cat conftest.$ac_ext >&5
5598 eval "ac_cv_func_$ac_func=no"
5603 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5604 echo "$ac_t""yes" 1>&6
5605 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5606 cat >> confdefs.h <<EOF
5607 #define $ac_tr_func 1
5611 echo "$ac_t""no" 1>&6
5612 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5618 if test -n "$LIBMATHOBJS"; then
5624 if test "$need_libmath" = yes; then
5625 GLIBCPP_BUILD_LIBMATH_TRUE=
5626 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5628 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5629 GLIBCPP_BUILD_LIBMATH_FALSE=
5635 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5636 echo "configure:5637: checking for mbstate_t" >&5
5637 cat > conftest.$ac_ext <<EOF
5638 #line 5639 "configure"
5639 #include "confdefs.h"
5642 mbstate_t teststate;
5645 if { (eval echo configure:5646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5649 echo "configure: failed program was:" >&5
5650 cat conftest.$ac_ext >&5
5655 echo "$ac_t""$have_mbstate_t" 1>&6
5656 if test x"$have_mbstate_t" = xyes; then
5657 cat >> confdefs.h <<\EOF
5658 #define HAVE_MBSTATE_T 1
5663 for ac_hdr in wchar.h
5665 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5666 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5667 echo "configure:5668: checking for $ac_hdr" >&5
5668 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5669 echo $ac_n "(cached) $ac_c" 1>&6
5671 cat > conftest.$ac_ext <<EOF
5672 #line 5673 "configure"
5673 #include "confdefs.h"
5676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5677 { (eval echo configure:5678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5679 if test -z "$ac_err"; then
5681 eval "ac_cv_header_$ac_safe=yes"
5684 echo "configure: failed program was:" >&5
5685 cat conftest.$ac_ext >&5
5687 eval "ac_cv_header_$ac_safe=no"
5691 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5692 echo "$ac_t""yes" 1>&6
5693 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5694 cat >> confdefs.h <<EOF
5695 #define $ac_tr_hdr 1
5699 echo "$ac_t""no" 1>&6
5704 for ac_hdr in wctype.h
5706 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5707 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5708 echo "configure:5709: checking for $ac_hdr" >&5
5709 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5710 echo $ac_n "(cached) $ac_c" 1>&6
5712 cat > conftest.$ac_ext <<EOF
5713 #line 5714 "configure"
5714 #include "confdefs.h"
5717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5718 { (eval echo configure:5719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5720 if test -z "$ac_err"; then
5722 eval "ac_cv_header_$ac_safe=yes"
5725 echo "configure: failed program was:" >&5
5726 cat conftest.$ac_ext >&5
5728 eval "ac_cv_header_$ac_safe=no"
5732 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5733 echo "$ac_t""yes" 1>&6
5734 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5735 cat >> confdefs.h <<EOF
5736 #define $ac_tr_hdr 1
5740 echo "$ac_t""no" 1>&6
5746 if test x"$ac_has_wchar_h" = xyes &&
5747 test x"$ac_has_wctype_h" = xyes &&
5748 test x"$enable_c_mbchar" != xno; then
5750 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5751 echo "configure:5752: checking for WCHAR_MIN and WCHAR_MAX" >&5
5752 cat > conftest.$ac_ext <<EOF
5753 #line 5754 "configure"
5754 #include "confdefs.h"
5757 int i = WCHAR_MIN; int j = WCHAR_MAX;
5760 if { (eval echo configure:5761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5762 has_wchar_minmax=yes
5764 echo "configure: failed program was:" >&5
5765 cat conftest.$ac_ext >&5
5770 echo "$ac_t""$has_wchar_minmax" 1>&6
5772 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5773 echo "configure:5774: checking for WEOF" >&5
5774 cat > conftest.$ac_ext <<EOF
5775 #line 5776 "configure"
5776 #include "confdefs.h"
5784 if { (eval echo configure:5785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5788 echo "configure: failed program was:" >&5
5789 cat conftest.$ac_ext >&5
5794 echo "$ac_t""$has_weof" 1>&6
5797 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5800 echo "configure:5801: checking for $ac_func" >&5
5801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5802 echo $ac_n "(cached) $ac_c" 1>&6
5804 cat > conftest.$ac_ext <<EOF
5805 #line 5806 "configure"
5806 #include "confdefs.h"
5807 /* System header to define __stub macros and hopefully few prototypes,
5808 which can conflict with char $ac_func(); below. */
5810 /* Override any gcc2 internal prototype to avoid an error. */
5811 /* We use char because int might match the return type of a gcc2
5812 builtin and then its argument prototype would still apply. */
5817 /* The GNU C library defines this for functions which it implements
5818 to always fail with ENOSYS. Some functions are actually named
5819 something starting with __ and the normal name is an alias. */
5820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5828 if { (eval echo configure:5829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5830 eval "ac_cv_func_$ac_func=yes"
5832 echo "configure: failed program was:" >&5
5833 cat conftest.$ac_ext >&5
5835 eval "ac_cv_func_$ac_func=no"
5840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5841 echo "$ac_t""yes" 1>&6
5842 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5843 cat >> confdefs.h <<EOF
5844 #define $ac_tr_func 1
5848 echo "$ac_t""no" 1>&6
5855 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5856 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5857 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5858 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5859 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5860 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5863 echo "configure:5864: checking for $ac_func" >&5
5864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5865 echo $ac_n "(cached) $ac_c" 1>&6
5867 cat > conftest.$ac_ext <<EOF
5868 #line 5869 "configure"
5869 #include "confdefs.h"
5870 /* System header to define __stub macros and hopefully few prototypes,
5871 which can conflict with char $ac_func(); below. */
5873 /* Override any gcc2 internal prototype to avoid an error. */
5874 /* We use char because int might match the return type of a gcc2
5875 builtin and then its argument prototype would still apply. */
5880 /* The GNU C library defines this for functions which it implements
5881 to always fail with ENOSYS. Some functions are actually named
5882 something starting with __ and the normal name is an alias. */
5883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5891 if { (eval echo configure:5892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5893 eval "ac_cv_func_$ac_func=yes"
5895 echo "configure: failed program was:" >&5
5896 cat conftest.$ac_ext >&5
5898 eval "ac_cv_func_$ac_func=no"
5903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5904 echo "$ac_t""yes" 1>&6
5905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5906 cat >> confdefs.h <<EOF
5907 #define $ac_tr_func 1
5911 echo "$ac_t""no" 1>&6
5918 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5919 echo "configure:5920: checking for ISO C99 wchar_t support" >&5
5920 if test x"$has_weof" = xyes &&
5921 test x"$has_wchar_minmax" = xyes &&
5922 test x"$ac_wfuncs" = xyes; then
5923 ac_isoC99_wchar_t=yes
5925 ac_isoC99_wchar_t=no
5927 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5929 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5930 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5931 echo "configure:5932: checking for iconv.h" >&5
5932 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5933 echo $ac_n "(cached) $ac_c" 1>&6
5935 cat > conftest.$ac_ext <<EOF
5936 #line 5937 "configure"
5937 #include "confdefs.h"
5940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5941 { (eval echo configure:5942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5943 if test -z "$ac_err"; then
5945 eval "ac_cv_header_$ac_safe=yes"
5948 echo "configure: failed program was:" >&5
5949 cat conftest.$ac_ext >&5
5951 eval "ac_cv_header_$ac_safe=no"
5955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5956 echo "$ac_t""yes" 1>&6
5959 echo "$ac_t""no" 1>&6
5963 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5964 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5965 echo "configure:5966: checking for langinfo.h" >&5
5966 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5967 echo $ac_n "(cached) $ac_c" 1>&6
5969 cat > conftest.$ac_ext <<EOF
5970 #line 5971 "configure"
5971 #include "confdefs.h"
5972 #include <langinfo.h>
5974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5975 { (eval echo configure:5976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5977 if test -z "$ac_err"; then
5979 eval "ac_cv_header_$ac_safe=yes"
5982 echo "configure: failed program was:" >&5
5983 cat conftest.$ac_ext >&5
5985 eval "ac_cv_header_$ac_safe=no"
5989 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5990 echo "$ac_t""yes" 1>&6
5991 ac_has_langinfo_h=yes
5993 echo "$ac_t""no" 1>&6
5994 ac_has_langinfo_h=no
5998 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5999 echo "configure:6000: checking for iconv in -liconv" >&5
6000 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6001 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6002 echo $ac_n "(cached) $ac_c" 1>&6
6004 ac_save_LIBS="$LIBS"
6005 LIBS="-liconv $LIBS"
6006 cat > conftest.$ac_ext <<EOF
6007 #line 6008 "configure"
6008 #include "confdefs.h"
6009 /* Override any gcc2 internal prototype to avoid an error. */
6010 /* We use char because int might match the return type of a gcc2
6011 builtin and then its argument prototype would still apply. */
6018 if { (eval echo configure:6019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6020 eval "ac_cv_lib_$ac_lib_var=yes"
6022 echo "configure: failed program was:" >&5
6023 cat conftest.$ac_ext >&5
6025 eval "ac_cv_lib_$ac_lib_var=no"
6028 LIBS="$ac_save_LIBS"
6031 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6032 echo "$ac_t""yes" 1>&6
6035 echo "$ac_t""no" 1>&6
6038 ac_save_LIBS="$LIBS"
6039 LIBS="$LIBS $libiconv"
6041 for ac_func in iconv_open iconv_close iconv nl_langinfo
6043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6044 echo "configure:6045: checking for $ac_func" >&5
6045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6046 echo $ac_n "(cached) $ac_c" 1>&6
6048 cat > conftest.$ac_ext <<EOF
6049 #line 6050 "configure"
6050 #include "confdefs.h"
6051 /* System header to define __stub macros and hopefully few prototypes,
6052 which can conflict with char $ac_func(); below. */
6054 /* Override any gcc2 internal prototype to avoid an error. */
6055 /* We use char because int might match the return type of a gcc2
6056 builtin and then its argument prototype would still apply. */
6061 /* The GNU C library defines this for functions which it implements
6062 to always fail with ENOSYS. Some functions are actually named
6063 something starting with __ and the normal name is an alias. */
6064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6072 if { (eval echo configure:6073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6074 eval "ac_cv_func_$ac_func=yes"
6076 echo "configure: failed program was:" >&5
6077 cat conftest.$ac_ext >&5
6079 eval "ac_cv_func_$ac_func=no"
6084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6085 echo "$ac_t""yes" 1>&6
6086 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6087 cat >> confdefs.h <<EOF
6088 #define $ac_tr_func 1
6093 echo "$ac_t""no" 1>&6
6099 LIBS="$ac_save_LIBS"
6101 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6102 echo "configure:6103: checking for XPG2 wchar_t support" >&5
6103 if test x"$ac_has_iconv_h" = xyes &&
6104 test x"$ac_has_langinfo_h" = xyes &&
6105 test x"$ac_XPG2funcs" = xyes; then
6110 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6112 if test x"$ac_isoC99_wchar_t" = xyes &&
6113 test x"$ac_XPG2_wchar_t" = xyes; then
6114 cat >> confdefs.h <<\EOF
6115 #define _GLIBCPP_USE_WCHAR_T 1
6121 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6122 echo "configure:6123: checking for enabled wchar_t specializations" >&5
6123 echo "$ac_t""$enable_wchar_t" 1>&6
6126 if test "$enable_wchar_t" = yes; then
6127 GLIBCPP_TEST_WCHAR_T_TRUE=
6128 GLIBCPP_TEST_WCHAR_T_FALSE='#'
6130 GLIBCPP_TEST_WCHAR_T_TRUE='#'
6131 GLIBCPP_TEST_WCHAR_T_FALSE=
6134 os_include_dir="os/hpux"
6135 cat >> confdefs.h <<\EOF
6136 #define HAVE_COPYSIGN 1
6139 cat >> confdefs.h <<\EOF
6140 #define HAVE_COPYSIGNF 1
6143 cat >> confdefs.h <<\EOF
6144 #define HAVE_FREXPF 1
6147 cat >> confdefs.h <<\EOF
6148 #define HAVE_HYPOT 1
6153 cat >> confdefs.h <<\EOF
6154 #define HAVE_FINITE 1
6157 cat >> confdefs.h <<\EOF
6158 #define HAVE_FINITEF 1
6161 cat >> confdefs.h <<\EOF
6162 #define HAVE_ISINF 1
6165 cat >> confdefs.h <<\EOF
6166 #define HAVE_ISINFF 1
6169 cat >> confdefs.h <<\EOF
6170 #define HAVE_ISNAN 1
6173 cat >> confdefs.h <<\EOF
6174 #define HAVE_ISNANF 1
6182 # Check for available headers.
6183 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6184 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6185 fp.h locale.h float.h inttypes.h
6187 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6188 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6189 echo "configure:6190: checking for $ac_hdr" >&5
6190 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6191 echo $ac_n "(cached) $ac_c" 1>&6
6193 cat > conftest.$ac_ext <<EOF
6194 #line 6195 "configure"
6195 #include "confdefs.h"
6198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6199 { (eval echo configure:6200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6201 if test -z "$ac_err"; then
6203 eval "ac_cv_header_$ac_safe=yes"
6206 echo "configure: failed program was:" >&5
6207 cat conftest.$ac_ext >&5
6209 eval "ac_cv_header_$ac_safe=no"
6213 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6214 echo "$ac_t""yes" 1>&6
6215 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6216 cat >> confdefs.h <<EOF
6217 #define $ac_tr_hdr 1
6221 echo "$ac_t""no" 1>&6
6225 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6228 # If we're not using GNU ld, then there's no point in even trying these
6229 # tests. Check for that first. We should have already tested for gld
6230 # by now (in libtool), but require it now just to be safe...
6231 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6232 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6235 # The name set by libtool depends on the version of libtool. Shame on us
6236 # for depending on an impl detail, but c'est la vie. Older versions used
6237 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6238 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6239 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6240 # set (hence we're using an older libtool), then set it.
6241 if test x${with_gnu_ld+set} != xset; then
6242 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6243 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6246 with_gnu_ld=$ac_cv_prog_gnu_ld
6250 # Start by getting the version number. I think the libtool test already
6251 # does some of this, but throws away the result.
6253 ldver=`$LD --version 2>/dev/null | head -1 | \
6254 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6256 glibcpp_gnu_ld_version=`echo $ldver | \
6257 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6259 # Set --gc-sections.
6260 if test "$with_gnu_ld" = "notbroken"; then
6261 # GNU ld it is! Joy and bunny rabbits!
6263 # All these tests are for C++; save the language and the compiler flags.
6264 # Need to do this so that g++ won't try to link in libstdc++
6265 ac_test_CFLAGS="${CFLAGS+set}"
6266 ac_save_CFLAGS="$CFLAGS"
6267 CFLAGS='-x c++ -Wl,--gc-sections'
6269 # Check for -Wl,--gc-sections
6270 # XXX This test is broken at the moment, as symbols required for
6271 # linking are now in libsupc++ (not built yet.....). In addition,
6272 # this test has cored on solaris in the past. In addition,
6273 # --gc-sections doesn't really work at the moment (keeps on discarding
6274 # used sections, first .eh_frame and now some of the glibc sections for
6275 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6276 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6277 echo "configure:6278: checking for ld that supports -Wl,--gc-sections" >&5
6278 if test "$cross_compiling" = yes; then
6279 ac_sectionLDflags=yes
6281 cat > conftest.$ac_ext <<EOF
6282 #line 6283 "configure"
6283 #include "confdefs.h"
6293 if { (eval echo configure:6294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6295 ac_sectionLDflags=yes
6297 echo "configure: failed program was:" >&5
6298 cat conftest.$ac_ext >&5
6300 ac_sectionLDflags=no
6305 if test "$ac_test_CFLAGS" = set; then
6306 CFLAGS="$ac_save_CFLAGS"
6308 # this is the suspicious part
6311 if test "$ac_sectionLDflags" = "yes"; then
6312 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6314 echo "$ac_t""$ac_sectionLDflags" 1>&6
6317 # Set linker optimization flags.
6318 if test x"$with_gnu_ld" = x"yes"; then
6319 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6326 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6327 echo "configure:6328: checking for main in -lm" >&5
6328 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6329 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6330 echo $ac_n "(cached) $ac_c" 1>&6
6332 ac_save_LIBS="$LIBS"
6334 cat > conftest.$ac_ext <<EOF
6335 #line 6336 "configure"
6336 #include "confdefs.h"
6342 if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6344 eval "ac_cv_lib_$ac_lib_var=yes"
6346 echo "configure: failed program was:" >&5
6347 cat conftest.$ac_ext >&5
6349 eval "ac_cv_lib_$ac_lib_var=no"
6352 LIBS="$ac_save_LIBS"
6355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6356 echo "$ac_t""yes" 1>&6
6357 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6358 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6359 cat >> confdefs.h <<EOF
6360 #define $ac_tr_lib 1
6366 echo "$ac_t""no" 1>&6
6369 for ac_func in nan copysignf
6371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6372 echo "configure:6373: checking for $ac_func" >&5
6373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6374 echo $ac_n "(cached) $ac_c" 1>&6
6376 cat > conftest.$ac_ext <<EOF
6377 #line 6378 "configure"
6378 #include "confdefs.h"
6379 /* System header to define __stub macros and hopefully few prototypes,
6380 which can conflict with char $ac_func(); below. */
6382 /* Override any gcc2 internal prototype to avoid an error. */
6383 /* We use char because int might match the return type of a gcc2
6384 builtin and then its argument prototype would still apply. */
6389 /* The GNU C library defines this for functions which it implements
6390 to always fail with ENOSYS. Some functions are actually named
6391 something starting with __ and the normal name is an alias. */
6392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6400 if { (eval echo configure:6401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6402 eval "ac_cv_func_$ac_func=yes"
6404 echo "configure: failed program was:" >&5
6405 cat conftest.$ac_ext >&5
6407 eval "ac_cv_func_$ac_func=no"
6412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6413 echo "$ac_t""yes" 1>&6
6414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6415 cat >> confdefs.h <<EOF
6416 #define $ac_tr_func 1
6420 echo "$ac_t""no" 1>&6
6421 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6426 for ac_func in __signbit
6428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6429 echo "configure:6430: checking for $ac_func" >&5
6430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6431 echo $ac_n "(cached) $ac_c" 1>&6
6433 cat > conftest.$ac_ext <<EOF
6434 #line 6435 "configure"
6435 #include "confdefs.h"
6436 /* System header to define __stub macros and hopefully few prototypes,
6437 which can conflict with char $ac_func(); below. */
6439 /* Override any gcc2 internal prototype to avoid an error. */
6440 /* We use char because int might match the return type of a gcc2
6441 builtin and then its argument prototype would still apply. */
6446 /* The GNU C library defines this for functions which it implements
6447 to always fail with ENOSYS. Some functions are actually named
6448 something starting with __ and the normal name is an alias. */
6449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6457 if { (eval echo configure:6458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6459 eval "ac_cv_func_$ac_func=yes"
6461 echo "configure: failed program was:" >&5
6462 cat conftest.$ac_ext >&5
6464 eval "ac_cv_func_$ac_func=no"
6469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6470 echo "$ac_t""yes" 1>&6
6471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6472 cat >> confdefs.h <<EOF
6473 #define $ac_tr_func 1
6477 echo "$ac_t""no" 1>&6
6478 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6482 for ac_func in __signbitf
6484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6485 echo "configure:6486: checking for $ac_func" >&5
6486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6487 echo $ac_n "(cached) $ac_c" 1>&6
6489 cat > conftest.$ac_ext <<EOF
6490 #line 6491 "configure"
6491 #include "confdefs.h"
6492 /* System header to define __stub macros and hopefully few prototypes,
6493 which can conflict with char $ac_func(); below. */
6495 /* Override any gcc2 internal prototype to avoid an error. */
6496 /* We use char because int might match the return type of a gcc2
6497 builtin and then its argument prototype would still apply. */
6502 /* The GNU C library defines this for functions which it implements
6503 to always fail with ENOSYS. Some functions are actually named
6504 something starting with __ and the normal name is an alias. */
6505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6513 if { (eval echo configure:6514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6515 eval "ac_cv_func_$ac_func=yes"
6517 echo "configure: failed program was:" >&5
6518 cat conftest.$ac_ext >&5
6520 eval "ac_cv_func_$ac_func=no"
6525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6526 echo "$ac_t""yes" 1>&6
6527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6528 cat >> confdefs.h <<EOF
6529 #define $ac_tr_func 1
6533 echo "$ac_t""no" 1>&6
6534 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6539 if test x$ac_cv_func_copysignl = x"yes"; then
6540 for ac_func in __signbitl
6542 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6543 echo "configure:6544: checking for $ac_func" >&5
6544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6545 echo $ac_n "(cached) $ac_c" 1>&6
6547 cat > conftest.$ac_ext <<EOF
6548 #line 6549 "configure"
6549 #include "confdefs.h"
6550 /* System header to define __stub macros and hopefully few prototypes,
6551 which can conflict with char $ac_func(); below. */
6553 /* Override any gcc2 internal prototype to avoid an error. */
6554 /* We use char because int might match the return type of a gcc2
6555 builtin and then its argument prototype would still apply. */
6560 /* The GNU C library defines this for functions which it implements
6561 to always fail with ENOSYS. Some functions are actually named
6562 something starting with __ and the normal name is an alias. */
6563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6571 if { (eval echo configure:6572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6573 eval "ac_cv_func_$ac_func=yes"
6575 echo "configure: failed program was:" >&5
6576 cat conftest.$ac_ext >&5
6578 eval "ac_cv_func_$ac_func=no"
6583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6584 echo "$ac_t""yes" 1>&6
6585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6586 cat >> confdefs.h <<EOF
6587 #define $ac_tr_func 1
6591 echo "$ac_t""no" 1>&6
6592 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6598 if test -n "$LIBMATHOBJS"; then
6604 if test "$need_libmath" = yes; then
6605 GLIBCPP_BUILD_LIBMATH_TRUE=
6606 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6608 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6609 GLIBCPP_BUILD_LIBMATH_FALSE=
6615 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6616 echo "configure:6617: checking for mbstate_t" >&5
6617 cat > conftest.$ac_ext <<EOF
6618 #line 6619 "configure"
6619 #include "confdefs.h"
6622 mbstate_t teststate;
6625 if { (eval echo configure:6626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6629 echo "configure: failed program was:" >&5
6630 cat conftest.$ac_ext >&5
6635 echo "$ac_t""$have_mbstate_t" 1>&6
6636 if test x"$have_mbstate_t" = xyes; then
6637 cat >> confdefs.h <<\EOF
6638 #define HAVE_MBSTATE_T 1
6643 for ac_hdr in wchar.h
6645 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6646 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6647 echo "configure:6648: checking for $ac_hdr" >&5
6648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6649 echo $ac_n "(cached) $ac_c" 1>&6
6651 cat > conftest.$ac_ext <<EOF
6652 #line 6653 "configure"
6653 #include "confdefs.h"
6656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6657 { (eval echo configure:6658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6659 if test -z "$ac_err"; then
6661 eval "ac_cv_header_$ac_safe=yes"
6664 echo "configure: failed program was:" >&5
6665 cat conftest.$ac_ext >&5
6667 eval "ac_cv_header_$ac_safe=no"
6671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6672 echo "$ac_t""yes" 1>&6
6673 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6674 cat >> confdefs.h <<EOF
6675 #define $ac_tr_hdr 1
6679 echo "$ac_t""no" 1>&6
6684 for ac_hdr in wctype.h
6686 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6687 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6688 echo "configure:6689: checking for $ac_hdr" >&5
6689 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6690 echo $ac_n "(cached) $ac_c" 1>&6
6692 cat > conftest.$ac_ext <<EOF
6693 #line 6694 "configure"
6694 #include "confdefs.h"
6697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6698 { (eval echo configure:6699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6700 if test -z "$ac_err"; then
6702 eval "ac_cv_header_$ac_safe=yes"
6705 echo "configure: failed program was:" >&5
6706 cat conftest.$ac_ext >&5
6708 eval "ac_cv_header_$ac_safe=no"
6712 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6713 echo "$ac_t""yes" 1>&6
6714 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6715 cat >> confdefs.h <<EOF
6716 #define $ac_tr_hdr 1
6720 echo "$ac_t""no" 1>&6
6726 if test x"$ac_has_wchar_h" = xyes &&
6727 test x"$ac_has_wctype_h" = xyes &&
6728 test x"$enable_c_mbchar" != xno; then
6730 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6731 echo "configure:6732: checking for WCHAR_MIN and WCHAR_MAX" >&5
6732 cat > conftest.$ac_ext <<EOF
6733 #line 6734 "configure"
6734 #include "confdefs.h"
6737 int i = WCHAR_MIN; int j = WCHAR_MAX;
6740 if { (eval echo configure:6741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6742 has_wchar_minmax=yes
6744 echo "configure: failed program was:" >&5
6745 cat conftest.$ac_ext >&5
6750 echo "$ac_t""$has_wchar_minmax" 1>&6
6752 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6753 echo "configure:6754: checking for WEOF" >&5
6754 cat > conftest.$ac_ext <<EOF
6755 #line 6756 "configure"
6756 #include "confdefs.h"
6764 if { (eval echo configure:6765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6768 echo "configure: failed program was:" >&5
6769 cat conftest.$ac_ext >&5
6774 echo "$ac_t""$has_weof" 1>&6
6777 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6780 echo "configure:6781: checking for $ac_func" >&5
6781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6782 echo $ac_n "(cached) $ac_c" 1>&6
6784 cat > conftest.$ac_ext <<EOF
6785 #line 6786 "configure"
6786 #include "confdefs.h"
6787 /* System header to define __stub macros and hopefully few prototypes,
6788 which can conflict with char $ac_func(); below. */
6790 /* Override any gcc2 internal prototype to avoid an error. */
6791 /* We use char because int might match the return type of a gcc2
6792 builtin and then its argument prototype would still apply. */
6797 /* The GNU C library defines this for functions which it implements
6798 to always fail with ENOSYS. Some functions are actually named
6799 something starting with __ and the normal name is an alias. */
6800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6808 if { (eval echo configure:6809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6810 eval "ac_cv_func_$ac_func=yes"
6812 echo "configure: failed program was:" >&5
6813 cat conftest.$ac_ext >&5
6815 eval "ac_cv_func_$ac_func=no"
6820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6821 echo "$ac_t""yes" 1>&6
6822 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6823 cat >> confdefs.h <<EOF
6824 #define $ac_tr_func 1
6828 echo "$ac_t""no" 1>&6
6835 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6836 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6837 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6838 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6839 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6840 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6843 echo "configure:6844: checking for $ac_func" >&5
6844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6845 echo $ac_n "(cached) $ac_c" 1>&6
6847 cat > conftest.$ac_ext <<EOF
6848 #line 6849 "configure"
6849 #include "confdefs.h"
6850 /* System header to define __stub macros and hopefully few prototypes,
6851 which can conflict with char $ac_func(); below. */
6853 /* Override any gcc2 internal prototype to avoid an error. */
6854 /* We use char because int might match the return type of a gcc2
6855 builtin and then its argument prototype would still apply. */
6860 /* The GNU C library defines this for functions which it implements
6861 to always fail with ENOSYS. Some functions are actually named
6862 something starting with __ and the normal name is an alias. */
6863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6871 if { (eval echo configure:6872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6873 eval "ac_cv_func_$ac_func=yes"
6875 echo "configure: failed program was:" >&5
6876 cat conftest.$ac_ext >&5
6878 eval "ac_cv_func_$ac_func=no"
6883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6884 echo "$ac_t""yes" 1>&6
6885 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6886 cat >> confdefs.h <<EOF
6887 #define $ac_tr_func 1
6891 echo "$ac_t""no" 1>&6
6898 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6899 echo "configure:6900: checking for ISO C99 wchar_t support" >&5
6900 if test x"$has_weof" = xyes &&
6901 test x"$has_wchar_minmax" = xyes &&
6902 test x"$ac_wfuncs" = xyes; then
6903 ac_isoC99_wchar_t=yes
6905 ac_isoC99_wchar_t=no
6907 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6909 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6910 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6911 echo "configure:6912: checking for iconv.h" >&5
6912 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6913 echo $ac_n "(cached) $ac_c" 1>&6
6915 cat > conftest.$ac_ext <<EOF
6916 #line 6917 "configure"
6917 #include "confdefs.h"
6920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6921 { (eval echo configure:6922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6922 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6923 if test -z "$ac_err"; then
6925 eval "ac_cv_header_$ac_safe=yes"
6928 echo "configure: failed program was:" >&5
6929 cat conftest.$ac_ext >&5
6931 eval "ac_cv_header_$ac_safe=no"
6935 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6936 echo "$ac_t""yes" 1>&6
6939 echo "$ac_t""no" 1>&6
6943 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6944 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6945 echo "configure:6946: checking for langinfo.h" >&5
6946 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6947 echo $ac_n "(cached) $ac_c" 1>&6
6949 cat > conftest.$ac_ext <<EOF
6950 #line 6951 "configure"
6951 #include "confdefs.h"
6952 #include <langinfo.h>
6954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6955 { (eval echo configure:6956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6957 if test -z "$ac_err"; then
6959 eval "ac_cv_header_$ac_safe=yes"
6962 echo "configure: failed program was:" >&5
6963 cat conftest.$ac_ext >&5
6965 eval "ac_cv_header_$ac_safe=no"
6969 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6970 echo "$ac_t""yes" 1>&6
6971 ac_has_langinfo_h=yes
6973 echo "$ac_t""no" 1>&6
6974 ac_has_langinfo_h=no
6978 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6979 echo "configure:6980: checking for iconv in -liconv" >&5
6980 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6981 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6982 echo $ac_n "(cached) $ac_c" 1>&6
6984 ac_save_LIBS="$LIBS"
6985 LIBS="-liconv $LIBS"
6986 cat > conftest.$ac_ext <<EOF
6987 #line 6988 "configure"
6988 #include "confdefs.h"
6989 /* Override any gcc2 internal prototype to avoid an error. */
6990 /* We use char because int might match the return type of a gcc2
6991 builtin and then its argument prototype would still apply. */
6998 if { (eval echo configure:6999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7000 eval "ac_cv_lib_$ac_lib_var=yes"
7002 echo "configure: failed program was:" >&5
7003 cat conftest.$ac_ext >&5
7005 eval "ac_cv_lib_$ac_lib_var=no"
7008 LIBS="$ac_save_LIBS"
7011 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7012 echo "$ac_t""yes" 1>&6
7015 echo "$ac_t""no" 1>&6
7018 ac_save_LIBS="$LIBS"
7019 LIBS="$LIBS $libiconv"
7021 for ac_func in iconv_open iconv_close iconv nl_langinfo
7023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7024 echo "configure:7025: checking for $ac_func" >&5
7025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7026 echo $ac_n "(cached) $ac_c" 1>&6
7028 cat > conftest.$ac_ext <<EOF
7029 #line 7030 "configure"
7030 #include "confdefs.h"
7031 /* System header to define __stub macros and hopefully few prototypes,
7032 which can conflict with char $ac_func(); below. */
7034 /* Override any gcc2 internal prototype to avoid an error. */
7035 /* We use char because int might match the return type of a gcc2
7036 builtin and then its argument prototype would still apply. */
7041 /* The GNU C library defines this for functions which it implements
7042 to always fail with ENOSYS. Some functions are actually named
7043 something starting with __ and the normal name is an alias. */
7044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7052 if { (eval echo configure:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7054 eval "ac_cv_func_$ac_func=yes"
7056 echo "configure: failed program was:" >&5
7057 cat conftest.$ac_ext >&5
7059 eval "ac_cv_func_$ac_func=no"
7064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7065 echo "$ac_t""yes" 1>&6
7066 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7067 cat >> confdefs.h <<EOF
7068 #define $ac_tr_func 1
7073 echo "$ac_t""no" 1>&6
7079 LIBS="$ac_save_LIBS"
7081 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7082 echo "configure:7083: checking for XPG2 wchar_t support" >&5
7083 if test x"$ac_has_iconv_h" = xyes &&
7084 test x"$ac_has_langinfo_h" = xyes &&
7085 test x"$ac_XPG2funcs" = xyes; then
7090 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7092 if test x"$ac_isoC99_wchar_t" = xyes &&
7093 test x"$ac_XPG2_wchar_t" = xyes; then
7094 cat >> confdefs.h <<\EOF
7095 #define _GLIBCPP_USE_WCHAR_T 1
7101 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7102 echo "configure:7103: checking for enabled wchar_t specializations" >&5
7103 echo "$ac_t""$enable_wchar_t" 1>&6
7106 if test "$enable_wchar_t" = yes; then
7107 GLIBCPP_TEST_WCHAR_T_TRUE=
7108 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7110 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7111 GLIBCPP_TEST_WCHAR_T_FALSE=
7114 os_include_dir="os/bsd/netbsd"
7115 cat >> confdefs.h <<\EOF
7116 #define HAVE_COPYSIGN 1
7119 cat >> confdefs.h <<\EOF
7120 #define HAVE_COPYSIGNF 1
7123 cat >> confdefs.h <<\EOF
7124 #define HAVE_FINITEF 1
7127 cat >> confdefs.h <<\EOF
7128 #define HAVE_FINITE 1
7131 cat >> confdefs.h <<\EOF
7132 #define HAVE_FREXPF 1
7135 cat >> confdefs.h <<\EOF
7136 #define HAVE_HYPOTF 1
7139 cat >> confdefs.h <<\EOF
7140 #define HAVE_ISINF 1
7143 cat >> confdefs.h <<\EOF
7144 #define HAVE_ISINFF 1
7147 cat >> confdefs.h <<\EOF
7148 #define HAVE_ISNAN 1
7151 cat >> confdefs.h <<\EOF
7152 #define HAVE_ISNANF 1
7155 if test x"long_double_math_on_this_cpu" = x"yes"; then
7156 cat >> confdefs.h <<\EOF
7157 #define HAVE_FINITEL 1
7160 cat >> confdefs.h <<\EOF
7161 #define HAVE_ISINFL 1
7164 cat >> confdefs.h <<\EOF
7165 #define HAVE_ISNANL 1
7171 # Check for available headers.
7172 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7173 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7174 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7177 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7178 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7179 echo "configure:7180: checking for $ac_hdr" >&5
7180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7181 echo $ac_n "(cached) $ac_c" 1>&6
7183 cat > conftest.$ac_ext <<EOF
7184 #line 7185 "configure"
7185 #include "confdefs.h"
7188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7189 { (eval echo configure:7190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7191 if test -z "$ac_err"; then
7193 eval "ac_cv_header_$ac_safe=yes"
7196 echo "configure: failed program was:" >&5
7197 cat conftest.$ac_ext >&5
7199 eval "ac_cv_header_$ac_safe=no"
7203 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7204 echo "$ac_t""yes" 1>&6
7205 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7206 cat >> confdefs.h <<EOF
7207 #define $ac_tr_hdr 1
7211 echo "$ac_t""no" 1>&6
7215 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7218 # If we're not using GNU ld, then there's no point in even trying these
7219 # tests. Check for that first. We should have already tested for gld
7220 # by now (in libtool), but require it now just to be safe...
7221 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7222 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7225 # The name set by libtool depends on the version of libtool. Shame on us
7226 # for depending on an impl detail, but c'est la vie. Older versions used
7227 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7228 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7229 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7230 # set (hence we're using an older libtool), then set it.
7231 if test x${with_gnu_ld+set} != xset; then
7232 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7233 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7236 with_gnu_ld=$ac_cv_prog_gnu_ld
7240 # Start by getting the version number. I think the libtool test already
7241 # does some of this, but throws away the result.
7243 ldver=`$LD --version 2>/dev/null | head -1 | \
7244 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7246 glibcpp_gnu_ld_version=`echo $ldver | \
7247 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7249 # Set --gc-sections.
7250 if test "$with_gnu_ld" = "notbroken"; then
7251 # GNU ld it is! Joy and bunny rabbits!
7253 # All these tests are for C++; save the language and the compiler flags.
7254 # Need to do this so that g++ won't try to link in libstdc++
7255 ac_test_CFLAGS="${CFLAGS+set}"
7256 ac_save_CFLAGS="$CFLAGS"
7257 CFLAGS='-x c++ -Wl,--gc-sections'
7259 # Check for -Wl,--gc-sections
7260 # XXX This test is broken at the moment, as symbols required for
7261 # linking are now in libsupc++ (not built yet.....). In addition,
7262 # this test has cored on solaris in the past. In addition,
7263 # --gc-sections doesn't really work at the moment (keeps on discarding
7264 # used sections, first .eh_frame and now some of the glibc sections for
7265 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7266 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7267 echo "configure:7268: checking for ld that supports -Wl,--gc-sections" >&5
7268 if test "$cross_compiling" = yes; then
7269 ac_sectionLDflags=yes
7271 cat > conftest.$ac_ext <<EOF
7272 #line 7273 "configure"
7273 #include "confdefs.h"
7283 if { (eval echo configure:7284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7285 ac_sectionLDflags=yes
7287 echo "configure: failed program was:" >&5
7288 cat conftest.$ac_ext >&5
7290 ac_sectionLDflags=no
7295 if test "$ac_test_CFLAGS" = set; then
7296 CFLAGS="$ac_save_CFLAGS"
7298 # this is the suspicious part
7301 if test "$ac_sectionLDflags" = "yes"; then
7302 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7304 echo "$ac_t""$ac_sectionLDflags" 1>&6
7307 # Set linker optimization flags.
7308 if test x"$with_gnu_ld" = x"yes"; then
7309 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7316 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7317 echo "configure:7318: checking for main in -lm" >&5
7318 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7319 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7320 echo $ac_n "(cached) $ac_c" 1>&6
7322 ac_save_LIBS="$LIBS"
7324 cat > conftest.$ac_ext <<EOF
7325 #line 7326 "configure"
7326 #include "confdefs.h"
7332 if { (eval echo configure:7333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7334 eval "ac_cv_lib_$ac_lib_var=yes"
7336 echo "configure: failed program was:" >&5
7337 cat conftest.$ac_ext >&5
7339 eval "ac_cv_lib_$ac_lib_var=no"
7342 LIBS="$ac_save_LIBS"
7345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7346 echo "$ac_t""yes" 1>&6
7347 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7348 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7349 cat >> confdefs.h <<EOF
7350 #define $ac_tr_lib 1
7356 echo "$ac_t""no" 1>&6
7359 for ac_func in nan copysignf
7361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7362 echo "configure:7363: checking for $ac_func" >&5
7363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7364 echo $ac_n "(cached) $ac_c" 1>&6
7366 cat > conftest.$ac_ext <<EOF
7367 #line 7368 "configure"
7368 #include "confdefs.h"
7369 /* System header to define __stub macros and hopefully few prototypes,
7370 which can conflict with char $ac_func(); below. */
7372 /* Override any gcc2 internal prototype to avoid an error. */
7373 /* We use char because int might match the return type of a gcc2
7374 builtin and then its argument prototype would still apply. */
7379 /* The GNU C library defines this for functions which it implements
7380 to always fail with ENOSYS. Some functions are actually named
7381 something starting with __ and the normal name is an alias. */
7382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7390 if { (eval echo configure:7391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7392 eval "ac_cv_func_$ac_func=yes"
7394 echo "configure: failed program was:" >&5
7395 cat conftest.$ac_ext >&5
7397 eval "ac_cv_func_$ac_func=no"
7402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7403 echo "$ac_t""yes" 1>&6
7404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7405 cat >> confdefs.h <<EOF
7406 #define $ac_tr_func 1
7410 echo "$ac_t""no" 1>&6
7411 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7416 for ac_func in __signbit
7418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7419 echo "configure:7420: checking for $ac_func" >&5
7420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7421 echo $ac_n "(cached) $ac_c" 1>&6
7423 cat > conftest.$ac_ext <<EOF
7424 #line 7425 "configure"
7425 #include "confdefs.h"
7426 /* System header to define __stub macros and hopefully few prototypes,
7427 which can conflict with char $ac_func(); below. */
7429 /* Override any gcc2 internal prototype to avoid an error. */
7430 /* We use char because int might match the return type of a gcc2
7431 builtin and then its argument prototype would still apply. */
7436 /* The GNU C library defines this for functions which it implements
7437 to always fail with ENOSYS. Some functions are actually named
7438 something starting with __ and the normal name is an alias. */
7439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7447 if { (eval echo configure:7448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7449 eval "ac_cv_func_$ac_func=yes"
7451 echo "configure: failed program was:" >&5
7452 cat conftest.$ac_ext >&5
7454 eval "ac_cv_func_$ac_func=no"
7459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7460 echo "$ac_t""yes" 1>&6
7461 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7462 cat >> confdefs.h <<EOF
7463 #define $ac_tr_func 1
7467 echo "$ac_t""no" 1>&6
7468 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7472 for ac_func in __signbitf
7474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7475 echo "configure:7476: checking for $ac_func" >&5
7476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7477 echo $ac_n "(cached) $ac_c" 1>&6
7479 cat > conftest.$ac_ext <<EOF
7480 #line 7481 "configure"
7481 #include "confdefs.h"
7482 /* System header to define __stub macros and hopefully few prototypes,
7483 which can conflict with char $ac_func(); below. */
7485 /* Override any gcc2 internal prototype to avoid an error. */
7486 /* We use char because int might match the return type of a gcc2
7487 builtin and then its argument prototype would still apply. */
7492 /* The GNU C library defines this for functions which it implements
7493 to always fail with ENOSYS. Some functions are actually named
7494 something starting with __ and the normal name is an alias. */
7495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7503 if { (eval echo configure:7504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7505 eval "ac_cv_func_$ac_func=yes"
7507 echo "configure: failed program was:" >&5
7508 cat conftest.$ac_ext >&5
7510 eval "ac_cv_func_$ac_func=no"
7515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7516 echo "$ac_t""yes" 1>&6
7517 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7518 cat >> confdefs.h <<EOF
7519 #define $ac_tr_func 1
7523 echo "$ac_t""no" 1>&6
7524 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7529 if test x$ac_cv_func_copysignl = x"yes"; then
7530 for ac_func in __signbitl
7532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7533 echo "configure:7534: checking for $ac_func" >&5
7534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7535 echo $ac_n "(cached) $ac_c" 1>&6
7537 cat > conftest.$ac_ext <<EOF
7538 #line 7539 "configure"
7539 #include "confdefs.h"
7540 /* System header to define __stub macros and hopefully few prototypes,
7541 which can conflict with char $ac_func(); below. */
7543 /* Override any gcc2 internal prototype to avoid an error. */
7544 /* We use char because int might match the return type of a gcc2
7545 builtin and then its argument prototype would still apply. */
7550 /* The GNU C library defines this for functions which it implements
7551 to always fail with ENOSYS. Some functions are actually named
7552 something starting with __ and the normal name is an alias. */
7553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7561 if { (eval echo configure:7562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7563 eval "ac_cv_func_$ac_func=yes"
7565 echo "configure: failed program was:" >&5
7566 cat conftest.$ac_ext >&5
7568 eval "ac_cv_func_$ac_func=no"
7573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7574 echo "$ac_t""yes" 1>&6
7575 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7576 cat >> confdefs.h <<EOF
7577 #define $ac_tr_func 1
7581 echo "$ac_t""no" 1>&6
7582 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7588 if test -n "$LIBMATHOBJS"; then
7594 if test "$need_libmath" = yes; then
7595 GLIBCPP_BUILD_LIBMATH_TRUE=
7596 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7598 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7599 GLIBCPP_BUILD_LIBMATH_FALSE=
7605 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7606 echo "configure:7607: checking for mbstate_t" >&5
7607 cat > conftest.$ac_ext <<EOF
7608 #line 7609 "configure"
7609 #include "confdefs.h"
7612 mbstate_t teststate;
7615 if { (eval echo configure:7616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7619 echo "configure: failed program was:" >&5
7620 cat conftest.$ac_ext >&5
7625 echo "$ac_t""$have_mbstate_t" 1>&6
7626 if test x"$have_mbstate_t" = xyes; then
7627 cat >> confdefs.h <<\EOF
7628 #define HAVE_MBSTATE_T 1
7633 for ac_hdr in wchar.h
7635 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7636 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7637 echo "configure:7638: checking for $ac_hdr" >&5
7638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7639 echo $ac_n "(cached) $ac_c" 1>&6
7641 cat > conftest.$ac_ext <<EOF
7642 #line 7643 "configure"
7643 #include "confdefs.h"
7646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7647 { (eval echo configure:7648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7649 if test -z "$ac_err"; then
7651 eval "ac_cv_header_$ac_safe=yes"
7654 echo "configure: failed program was:" >&5
7655 cat conftest.$ac_ext >&5
7657 eval "ac_cv_header_$ac_safe=no"
7661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7662 echo "$ac_t""yes" 1>&6
7663 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7664 cat >> confdefs.h <<EOF
7665 #define $ac_tr_hdr 1
7669 echo "$ac_t""no" 1>&6
7674 for ac_hdr in wctype.h
7676 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7677 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7678 echo "configure:7679: checking for $ac_hdr" >&5
7679 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7680 echo $ac_n "(cached) $ac_c" 1>&6
7682 cat > conftest.$ac_ext <<EOF
7683 #line 7684 "configure"
7684 #include "confdefs.h"
7687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7688 { (eval echo configure:7689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7690 if test -z "$ac_err"; then
7692 eval "ac_cv_header_$ac_safe=yes"
7695 echo "configure: failed program was:" >&5
7696 cat conftest.$ac_ext >&5
7698 eval "ac_cv_header_$ac_safe=no"
7702 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7703 echo "$ac_t""yes" 1>&6
7704 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7705 cat >> confdefs.h <<EOF
7706 #define $ac_tr_hdr 1
7710 echo "$ac_t""no" 1>&6
7716 if test x"$ac_has_wchar_h" = xyes &&
7717 test x"$ac_has_wctype_h" = xyes &&
7718 test x"$enable_c_mbchar" != xno; then
7720 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7721 echo "configure:7722: checking for WCHAR_MIN and WCHAR_MAX" >&5
7722 cat > conftest.$ac_ext <<EOF
7723 #line 7724 "configure"
7724 #include "confdefs.h"
7727 int i = WCHAR_MIN; int j = WCHAR_MAX;
7730 if { (eval echo configure:7731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7732 has_wchar_minmax=yes
7734 echo "configure: failed program was:" >&5
7735 cat conftest.$ac_ext >&5
7740 echo "$ac_t""$has_wchar_minmax" 1>&6
7742 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7743 echo "configure:7744: checking for WEOF" >&5
7744 cat > conftest.$ac_ext <<EOF
7745 #line 7746 "configure"
7746 #include "confdefs.h"
7754 if { (eval echo configure:7755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7758 echo "configure: failed program was:" >&5
7759 cat conftest.$ac_ext >&5
7764 echo "$ac_t""$has_weof" 1>&6
7767 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7770 echo "configure:7771: checking for $ac_func" >&5
7771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7772 echo $ac_n "(cached) $ac_c" 1>&6
7774 cat > conftest.$ac_ext <<EOF
7775 #line 7776 "configure"
7776 #include "confdefs.h"
7777 /* System header to define __stub macros and hopefully few prototypes,
7778 which can conflict with char $ac_func(); below. */
7780 /* Override any gcc2 internal prototype to avoid an error. */
7781 /* We use char because int might match the return type of a gcc2
7782 builtin and then its argument prototype would still apply. */
7787 /* The GNU C library defines this for functions which it implements
7788 to always fail with ENOSYS. Some functions are actually named
7789 something starting with __ and the normal name is an alias. */
7790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7798 if { (eval echo configure:7799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7800 eval "ac_cv_func_$ac_func=yes"
7802 echo "configure: failed program was:" >&5
7803 cat conftest.$ac_ext >&5
7805 eval "ac_cv_func_$ac_func=no"
7810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7811 echo "$ac_t""yes" 1>&6
7812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7813 cat >> confdefs.h <<EOF
7814 #define $ac_tr_func 1
7818 echo "$ac_t""no" 1>&6
7825 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7826 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7827 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7828 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7829 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7830 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7833 echo "configure:7834: checking for $ac_func" >&5
7834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7835 echo $ac_n "(cached) $ac_c" 1>&6
7837 cat > conftest.$ac_ext <<EOF
7838 #line 7839 "configure"
7839 #include "confdefs.h"
7840 /* System header to define __stub macros and hopefully few prototypes,
7841 which can conflict with char $ac_func(); below. */
7843 /* Override any gcc2 internal prototype to avoid an error. */
7844 /* We use char because int might match the return type of a gcc2
7845 builtin and then its argument prototype would still apply. */
7850 /* The GNU C library defines this for functions which it implements
7851 to always fail with ENOSYS. Some functions are actually named
7852 something starting with __ and the normal name is an alias. */
7853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7861 if { (eval echo configure:7862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7863 eval "ac_cv_func_$ac_func=yes"
7865 echo "configure: failed program was:" >&5
7866 cat conftest.$ac_ext >&5
7868 eval "ac_cv_func_$ac_func=no"
7873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7874 echo "$ac_t""yes" 1>&6
7875 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7876 cat >> confdefs.h <<EOF
7877 #define $ac_tr_func 1
7881 echo "$ac_t""no" 1>&6
7888 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7889 echo "configure:7890: checking for ISO C99 wchar_t support" >&5
7890 if test x"$has_weof" = xyes &&
7891 test x"$has_wchar_minmax" = xyes &&
7892 test x"$ac_wfuncs" = xyes; then
7893 ac_isoC99_wchar_t=yes
7895 ac_isoC99_wchar_t=no
7897 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7899 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7900 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7901 echo "configure:7902: checking for iconv.h" >&5
7902 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7903 echo $ac_n "(cached) $ac_c" 1>&6
7905 cat > conftest.$ac_ext <<EOF
7906 #line 7907 "configure"
7907 #include "confdefs.h"
7910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7911 { (eval echo configure:7912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7912 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7913 if test -z "$ac_err"; then
7915 eval "ac_cv_header_$ac_safe=yes"
7918 echo "configure: failed program was:" >&5
7919 cat conftest.$ac_ext >&5
7921 eval "ac_cv_header_$ac_safe=no"
7925 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7926 echo "$ac_t""yes" 1>&6
7929 echo "$ac_t""no" 1>&6
7933 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7934 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7935 echo "configure:7936: checking for langinfo.h" >&5
7936 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7937 echo $ac_n "(cached) $ac_c" 1>&6
7939 cat > conftest.$ac_ext <<EOF
7940 #line 7941 "configure"
7941 #include "confdefs.h"
7942 #include <langinfo.h>
7944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7945 { (eval echo configure:7946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7947 if test -z "$ac_err"; then
7949 eval "ac_cv_header_$ac_safe=yes"
7952 echo "configure: failed program was:" >&5
7953 cat conftest.$ac_ext >&5
7955 eval "ac_cv_header_$ac_safe=no"
7959 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7960 echo "$ac_t""yes" 1>&6
7961 ac_has_langinfo_h=yes
7963 echo "$ac_t""no" 1>&6
7964 ac_has_langinfo_h=no
7968 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7969 echo "configure:7970: checking for iconv in -liconv" >&5
7970 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7972 echo $ac_n "(cached) $ac_c" 1>&6
7974 ac_save_LIBS="$LIBS"
7975 LIBS="-liconv $LIBS"
7976 cat > conftest.$ac_ext <<EOF
7977 #line 7978 "configure"
7978 #include "confdefs.h"
7979 /* Override any gcc2 internal prototype to avoid an error. */
7980 /* We use char because int might match the return type of a gcc2
7981 builtin and then its argument prototype would still apply. */
7988 if { (eval echo configure:7989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7990 eval "ac_cv_lib_$ac_lib_var=yes"
7992 echo "configure: failed program was:" >&5
7993 cat conftest.$ac_ext >&5
7995 eval "ac_cv_lib_$ac_lib_var=no"
7998 LIBS="$ac_save_LIBS"
8001 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8002 echo "$ac_t""yes" 1>&6
8005 echo "$ac_t""no" 1>&6
8008 ac_save_LIBS="$LIBS"
8009 LIBS="$LIBS $libiconv"
8011 for ac_func in iconv_open iconv_close iconv nl_langinfo
8013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8014 echo "configure:8015: checking for $ac_func" >&5
8015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8016 echo $ac_n "(cached) $ac_c" 1>&6
8018 cat > conftest.$ac_ext <<EOF
8019 #line 8020 "configure"
8020 #include "confdefs.h"
8021 /* System header to define __stub macros and hopefully few prototypes,
8022 which can conflict with char $ac_func(); below. */
8024 /* Override any gcc2 internal prototype to avoid an error. */
8025 /* We use char because int might match the return type of a gcc2
8026 builtin and then its argument prototype would still apply. */
8031 /* The GNU C library defines this for functions which it implements
8032 to always fail with ENOSYS. Some functions are actually named
8033 something starting with __ and the normal name is an alias. */
8034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8042 if { (eval echo configure:8043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8044 eval "ac_cv_func_$ac_func=yes"
8046 echo "configure: failed program was:" >&5
8047 cat conftest.$ac_ext >&5
8049 eval "ac_cv_func_$ac_func=no"
8054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8055 echo "$ac_t""yes" 1>&6
8056 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8057 cat >> confdefs.h <<EOF
8058 #define $ac_tr_func 1
8063 echo "$ac_t""no" 1>&6
8069 LIBS="$ac_save_LIBS"
8071 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8072 echo "configure:8073: checking for XPG2 wchar_t support" >&5
8073 if test x"$ac_has_iconv_h" = xyes &&
8074 test x"$ac_has_langinfo_h" = xyes &&
8075 test x"$ac_XPG2funcs" = xyes; then
8080 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8082 if test x"$ac_isoC99_wchar_t" = xyes &&
8083 test x"$ac_XPG2_wchar_t" = xyes; then
8084 cat >> confdefs.h <<\EOF
8085 #define _GLIBCPP_USE_WCHAR_T 1
8091 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8092 echo "configure:8093: checking for enabled wchar_t specializations" >&5
8093 echo "$ac_t""$enable_wchar_t" 1>&6
8096 if test "$enable_wchar_t" = yes; then
8097 GLIBCPP_TEST_WCHAR_T_TRUE=
8098 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8100 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8101 GLIBCPP_TEST_WCHAR_T_FALSE=
8104 os_include_dir="os/bsd/freebsd"
8105 cat >> confdefs.h <<\EOF
8106 #define HAVE_LC_MESSAGES 1
8109 cat >> confdefs.h <<\EOF
8110 #define HAVE_DRAND48 1
8113 cat >> confdefs.h <<\EOF
8114 #define HAVE_GETPAGESIZE 1
8117 cat >> confdefs.h <<\EOF
8118 #define HAVE_SETENV 1
8121 cat >> confdefs.h <<\EOF
8122 #define HAVE_SIGSETJMP 1
8125 cat >> confdefs.h <<\EOF
8126 #define HAVE_COPYSIGN 1
8129 cat >> confdefs.h <<\EOF
8130 #define HAVE_COPYSIGNF 1
8133 cat >> confdefs.h <<\EOF
8134 #define HAVE_FINITEF 1
8137 cat >> confdefs.h <<\EOF
8138 #define HAVE_FINITE 1
8141 cat >> confdefs.h <<\EOF
8142 #define HAVE_FREXPF 1
8145 cat >> confdefs.h <<\EOF
8146 #define HAVE_HYPOT 1
8149 cat >> confdefs.h <<\EOF
8150 #define HAVE_HYPOTF 1
8153 cat >> confdefs.h <<\EOF
8154 #define HAVE_ISINF 1
8157 cat >> confdefs.h <<\EOF
8158 #define HAVE_ISNAN 1
8161 cat >> confdefs.h <<\EOF
8162 #define HAVE_ISNANF 1
8165 if test x"long_double_math_on_this_cpu" = x"yes"; then
8166 cat >> confdefs.h <<\EOF
8167 #define HAVE_FINITEL 1
8170 cat >> confdefs.h <<\EOF
8171 #define HAVE_ISINFL 1
8174 cat >> confdefs.h <<\EOF
8175 #define HAVE_ISNANL 1
8181 for ac_hdr in sys/types.h locale.h float.h
8183 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8184 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8185 echo "configure:8186: checking for $ac_hdr" >&5
8186 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8187 echo $ac_n "(cached) $ac_c" 1>&6
8189 cat > conftest.$ac_ext <<EOF
8190 #line 8191 "configure"
8191 #include "confdefs.h"
8194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8195 { (eval echo configure:8196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8197 if test -z "$ac_err"; then
8199 eval "ac_cv_header_$ac_safe=yes"
8202 echo "configure: failed program was:" >&5
8203 cat conftest.$ac_ext >&5
8205 eval "ac_cv_header_$ac_safe=no"
8209 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8210 echo "$ac_t""yes" 1>&6
8211 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8212 cat >> confdefs.h <<EOF
8213 #define $ac_tr_hdr 1
8217 echo "$ac_t""no" 1>&6
8222 # If we're not using GNU ld, then there's no point in even trying these
8223 # tests. Check for that first. We should have already tested for gld
8224 # by now (in libtool), but require it now just to be safe...
8225 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8226 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8229 # The name set by libtool depends on the version of libtool. Shame on us
8230 # for depending on an impl detail, but c'est la vie. Older versions used
8231 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8232 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8233 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8234 # set (hence we're using an older libtool), then set it.
8235 if test x${with_gnu_ld+set} != xset; then
8236 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8237 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8240 with_gnu_ld=$ac_cv_prog_gnu_ld
8244 # Start by getting the version number. I think the libtool test already
8245 # does some of this, but throws away the result.
8247 ldver=`$LD --version 2>/dev/null | head -1 | \
8248 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8250 glibcpp_gnu_ld_version=`echo $ldver | \
8251 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8253 # Set --gc-sections.
8254 if test "$with_gnu_ld" = "notbroken"; then
8255 # GNU ld it is! Joy and bunny rabbits!
8257 # All these tests are for C++; save the language and the compiler flags.
8258 # Need to do this so that g++ won't try to link in libstdc++
8259 ac_test_CFLAGS="${CFLAGS+set}"
8260 ac_save_CFLAGS="$CFLAGS"
8261 CFLAGS='-x c++ -Wl,--gc-sections'
8263 # Check for -Wl,--gc-sections
8264 # XXX This test is broken at the moment, as symbols required for
8265 # linking are now in libsupc++ (not built yet.....). In addition,
8266 # this test has cored on solaris in the past. In addition,
8267 # --gc-sections doesn't really work at the moment (keeps on discarding
8268 # used sections, first .eh_frame and now some of the glibc sections for
8269 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8270 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8271 echo "configure:8272: checking for ld that supports -Wl,--gc-sections" >&5
8272 if test "$cross_compiling" = yes; then
8273 ac_sectionLDflags=yes
8275 cat > conftest.$ac_ext <<EOF
8276 #line 8277 "configure"
8277 #include "confdefs.h"
8287 if { (eval echo configure:8288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8289 ac_sectionLDflags=yes
8291 echo "configure: failed program was:" >&5
8292 cat conftest.$ac_ext >&5
8294 ac_sectionLDflags=no
8299 if test "$ac_test_CFLAGS" = set; then
8300 CFLAGS="$ac_save_CFLAGS"
8302 # this is the suspicious part
8305 if test "$ac_sectionLDflags" = "yes"; then
8306 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8308 echo "$ac_t""$ac_sectionLDflags" 1>&6
8311 # Set linker optimization flags.
8312 if test x"$with_gnu_ld" = x"yes"; then
8313 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8320 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8321 echo "configure:8322: checking for main in -lm" >&5
8322 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8324 echo $ac_n "(cached) $ac_c" 1>&6
8326 ac_save_LIBS="$LIBS"
8328 cat > conftest.$ac_ext <<EOF
8329 #line 8330 "configure"
8330 #include "confdefs.h"
8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8338 eval "ac_cv_lib_$ac_lib_var=yes"
8340 echo "configure: failed program was:" >&5
8341 cat conftest.$ac_ext >&5
8343 eval "ac_cv_lib_$ac_lib_var=no"
8346 LIBS="$ac_save_LIBS"
8349 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8350 echo "$ac_t""yes" 1>&6
8351 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8352 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8353 cat >> confdefs.h <<EOF
8354 #define $ac_tr_lib 1
8360 echo "$ac_t""no" 1>&6
8363 for ac_func in nan copysignf
8365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8366 echo "configure:8367: checking for $ac_func" >&5
8367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8368 echo $ac_n "(cached) $ac_c" 1>&6
8370 cat > conftest.$ac_ext <<EOF
8371 #line 8372 "configure"
8372 #include "confdefs.h"
8373 /* System header to define __stub macros and hopefully few prototypes,
8374 which can conflict with char $ac_func(); below. */
8376 /* Override any gcc2 internal prototype to avoid an error. */
8377 /* We use char because int might match the return type of a gcc2
8378 builtin and then its argument prototype would still apply. */
8383 /* The GNU C library defines this for functions which it implements
8384 to always fail with ENOSYS. Some functions are actually named
8385 something starting with __ and the normal name is an alias. */
8386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8394 if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8396 eval "ac_cv_func_$ac_func=yes"
8398 echo "configure: failed program was:" >&5
8399 cat conftest.$ac_ext >&5
8401 eval "ac_cv_func_$ac_func=no"
8406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8407 echo "$ac_t""yes" 1>&6
8408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8409 cat >> confdefs.h <<EOF
8410 #define $ac_tr_func 1
8414 echo "$ac_t""no" 1>&6
8415 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8420 for ac_func in __signbit
8422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8423 echo "configure:8424: checking for $ac_func" >&5
8424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8425 echo $ac_n "(cached) $ac_c" 1>&6
8427 cat > conftest.$ac_ext <<EOF
8428 #line 8429 "configure"
8429 #include "confdefs.h"
8430 /* System header to define __stub macros and hopefully few prototypes,
8431 which can conflict with char $ac_func(); below. */
8433 /* Override any gcc2 internal prototype to avoid an error. */
8434 /* We use char because int might match the return type of a gcc2
8435 builtin and then its argument prototype would still apply. */
8440 /* The GNU C library defines this for functions which it implements
8441 to always fail with ENOSYS. Some functions are actually named
8442 something starting with __ and the normal name is an alias. */
8443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8451 if { (eval echo configure:8452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8453 eval "ac_cv_func_$ac_func=yes"
8455 echo "configure: failed program was:" >&5
8456 cat conftest.$ac_ext >&5
8458 eval "ac_cv_func_$ac_func=no"
8463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8464 echo "$ac_t""yes" 1>&6
8465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8466 cat >> confdefs.h <<EOF
8467 #define $ac_tr_func 1
8471 echo "$ac_t""no" 1>&6
8472 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8476 for ac_func in __signbitf
8478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8479 echo "configure:8480: checking for $ac_func" >&5
8480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8481 echo $ac_n "(cached) $ac_c" 1>&6
8483 cat > conftest.$ac_ext <<EOF
8484 #line 8485 "configure"
8485 #include "confdefs.h"
8486 /* System header to define __stub macros and hopefully few prototypes,
8487 which can conflict with char $ac_func(); below. */
8489 /* Override any gcc2 internal prototype to avoid an error. */
8490 /* We use char because int might match the return type of a gcc2
8491 builtin and then its argument prototype would still apply. */
8496 /* The GNU C library defines this for functions which it implements
8497 to always fail with ENOSYS. Some functions are actually named
8498 something starting with __ and the normal name is an alias. */
8499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8507 if { (eval echo configure:8508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8509 eval "ac_cv_func_$ac_func=yes"
8511 echo "configure: failed program was:" >&5
8512 cat conftest.$ac_ext >&5
8514 eval "ac_cv_func_$ac_func=no"
8519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8520 echo "$ac_t""yes" 1>&6
8521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8522 cat >> confdefs.h <<EOF
8523 #define $ac_tr_func 1
8527 echo "$ac_t""no" 1>&6
8528 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8533 if test x$ac_cv_func_copysignl = x"yes"; then
8534 for ac_func in __signbitl
8536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8537 echo "configure:8538: checking for $ac_func" >&5
8538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8539 echo $ac_n "(cached) $ac_c" 1>&6
8541 cat > conftest.$ac_ext <<EOF
8542 #line 8543 "configure"
8543 #include "confdefs.h"
8544 /* System header to define __stub macros and hopefully few prototypes,
8545 which can conflict with char $ac_func(); below. */
8547 /* Override any gcc2 internal prototype to avoid an error. */
8548 /* We use char because int might match the return type of a gcc2
8549 builtin and then its argument prototype would still apply. */
8554 /* The GNU C library defines this for functions which it implements
8555 to always fail with ENOSYS. Some functions are actually named
8556 something starting with __ and the normal name is an alias. */
8557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8565 if { (eval echo configure:8566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8567 eval "ac_cv_func_$ac_func=yes"
8569 echo "configure: failed program was:" >&5
8570 cat conftest.$ac_ext >&5
8572 eval "ac_cv_func_$ac_func=no"
8577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8578 echo "$ac_t""yes" 1>&6
8579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8580 cat >> confdefs.h <<EOF
8581 #define $ac_tr_func 1
8585 echo "$ac_t""no" 1>&6
8586 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8592 if test -n "$LIBMATHOBJS"; then
8598 if test "$need_libmath" = yes; then
8599 GLIBCPP_BUILD_LIBMATH_TRUE=
8600 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8602 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8603 GLIBCPP_BUILD_LIBMATH_FALSE=
8609 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8610 echo "configure:8611: checking for mbstate_t" >&5
8611 cat > conftest.$ac_ext <<EOF
8612 #line 8613 "configure"
8613 #include "confdefs.h"
8616 mbstate_t teststate;
8619 if { (eval echo configure:8620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8623 echo "configure: failed program was:" >&5
8624 cat conftest.$ac_ext >&5
8629 echo "$ac_t""$have_mbstate_t" 1>&6
8630 if test x"$have_mbstate_t" = xyes; then
8631 cat >> confdefs.h <<\EOF
8632 #define HAVE_MBSTATE_T 1
8637 for ac_hdr in wchar.h
8639 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8640 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8641 echo "configure:8642: checking for $ac_hdr" >&5
8642 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8643 echo $ac_n "(cached) $ac_c" 1>&6
8645 cat > conftest.$ac_ext <<EOF
8646 #line 8647 "configure"
8647 #include "confdefs.h"
8650 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8651 { (eval echo configure:8652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8652 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8653 if test -z "$ac_err"; then
8655 eval "ac_cv_header_$ac_safe=yes"
8658 echo "configure: failed program was:" >&5
8659 cat conftest.$ac_ext >&5
8661 eval "ac_cv_header_$ac_safe=no"
8665 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8666 echo "$ac_t""yes" 1>&6
8667 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8668 cat >> confdefs.h <<EOF
8669 #define $ac_tr_hdr 1
8673 echo "$ac_t""no" 1>&6
8678 for ac_hdr in wctype.h
8680 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8681 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8682 echo "configure:8683: checking for $ac_hdr" >&5
8683 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8686 cat > conftest.$ac_ext <<EOF
8687 #line 8688 "configure"
8688 #include "confdefs.h"
8691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8692 { (eval echo configure:8693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8694 if test -z "$ac_err"; then
8696 eval "ac_cv_header_$ac_safe=yes"
8699 echo "configure: failed program was:" >&5
8700 cat conftest.$ac_ext >&5
8702 eval "ac_cv_header_$ac_safe=no"
8706 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8707 echo "$ac_t""yes" 1>&6
8708 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8709 cat >> confdefs.h <<EOF
8710 #define $ac_tr_hdr 1
8714 echo "$ac_t""no" 1>&6
8720 if test x"$ac_has_wchar_h" = xyes &&
8721 test x"$ac_has_wctype_h" = xyes &&
8722 test x"$enable_c_mbchar" != xno; then
8724 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8725 echo "configure:8726: checking for WCHAR_MIN and WCHAR_MAX" >&5
8726 cat > conftest.$ac_ext <<EOF
8727 #line 8728 "configure"
8728 #include "confdefs.h"
8731 int i = WCHAR_MIN; int j = WCHAR_MAX;
8734 if { (eval echo configure:8735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8736 has_wchar_minmax=yes
8738 echo "configure: failed program was:" >&5
8739 cat conftest.$ac_ext >&5
8744 echo "$ac_t""$has_wchar_minmax" 1>&6
8746 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8747 echo "configure:8748: checking for WEOF" >&5
8748 cat > conftest.$ac_ext <<EOF
8749 #line 8750 "configure"
8750 #include "confdefs.h"
8758 if { (eval echo configure:8759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8762 echo "configure: failed program was:" >&5
8763 cat conftest.$ac_ext >&5
8768 echo "$ac_t""$has_weof" 1>&6
8771 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8774 echo "configure:8775: checking for $ac_func" >&5
8775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8776 echo $ac_n "(cached) $ac_c" 1>&6
8778 cat > conftest.$ac_ext <<EOF
8779 #line 8780 "configure"
8780 #include "confdefs.h"
8781 /* System header to define __stub macros and hopefully few prototypes,
8782 which can conflict with char $ac_func(); below. */
8784 /* Override any gcc2 internal prototype to avoid an error. */
8785 /* We use char because int might match the return type of a gcc2
8786 builtin and then its argument prototype would still apply. */
8791 /* The GNU C library defines this for functions which it implements
8792 to always fail with ENOSYS. Some functions are actually named
8793 something starting with __ and the normal name is an alias. */
8794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8802 if { (eval echo configure:8803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8804 eval "ac_cv_func_$ac_func=yes"
8806 echo "configure: failed program was:" >&5
8807 cat conftest.$ac_ext >&5
8809 eval "ac_cv_func_$ac_func=no"
8814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8815 echo "$ac_t""yes" 1>&6
8816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8817 cat >> confdefs.h <<EOF
8818 #define $ac_tr_func 1
8822 echo "$ac_t""no" 1>&6
8829 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8830 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8831 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8832 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8833 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8834 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8837 echo "configure:8838: checking for $ac_func" >&5
8838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8839 echo $ac_n "(cached) $ac_c" 1>&6
8841 cat > conftest.$ac_ext <<EOF
8842 #line 8843 "configure"
8843 #include "confdefs.h"
8844 /* System header to define __stub macros and hopefully few prototypes,
8845 which can conflict with char $ac_func(); below. */
8847 /* Override any gcc2 internal prototype to avoid an error. */
8848 /* We use char because int might match the return type of a gcc2
8849 builtin and then its argument prototype would still apply. */
8854 /* The GNU C library defines this for functions which it implements
8855 to always fail with ENOSYS. Some functions are actually named
8856 something starting with __ and the normal name is an alias. */
8857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8865 if { (eval echo configure:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8867 eval "ac_cv_func_$ac_func=yes"
8869 echo "configure: failed program was:" >&5
8870 cat conftest.$ac_ext >&5
8872 eval "ac_cv_func_$ac_func=no"
8877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8878 echo "$ac_t""yes" 1>&6
8879 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8880 cat >> confdefs.h <<EOF
8881 #define $ac_tr_func 1
8885 echo "$ac_t""no" 1>&6
8892 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8893 echo "configure:8894: checking for ISO C99 wchar_t support" >&5
8894 if test x"$has_weof" = xyes &&
8895 test x"$has_wchar_minmax" = xyes &&
8896 test x"$ac_wfuncs" = xyes; then
8897 ac_isoC99_wchar_t=yes
8899 ac_isoC99_wchar_t=no
8901 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8903 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8904 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8905 echo "configure:8906: checking for iconv.h" >&5
8906 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8907 echo $ac_n "(cached) $ac_c" 1>&6
8909 cat > conftest.$ac_ext <<EOF
8910 #line 8911 "configure"
8911 #include "confdefs.h"
8914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8915 { (eval echo configure:8916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8916 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8917 if test -z "$ac_err"; then
8919 eval "ac_cv_header_$ac_safe=yes"
8922 echo "configure: failed program was:" >&5
8923 cat conftest.$ac_ext >&5
8925 eval "ac_cv_header_$ac_safe=no"
8929 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8930 echo "$ac_t""yes" 1>&6
8933 echo "$ac_t""no" 1>&6
8937 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8938 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8939 echo "configure:8940: checking for langinfo.h" >&5
8940 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8941 echo $ac_n "(cached) $ac_c" 1>&6
8943 cat > conftest.$ac_ext <<EOF
8944 #line 8945 "configure"
8945 #include "confdefs.h"
8946 #include <langinfo.h>
8948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8949 { (eval echo configure:8950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8951 if test -z "$ac_err"; then
8953 eval "ac_cv_header_$ac_safe=yes"
8956 echo "configure: failed program was:" >&5
8957 cat conftest.$ac_ext >&5
8959 eval "ac_cv_header_$ac_safe=no"
8963 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8964 echo "$ac_t""yes" 1>&6
8965 ac_has_langinfo_h=yes
8967 echo "$ac_t""no" 1>&6
8968 ac_has_langinfo_h=no
8972 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8973 echo "configure:8974: checking for iconv in -liconv" >&5
8974 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8975 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8976 echo $ac_n "(cached) $ac_c" 1>&6
8978 ac_save_LIBS="$LIBS"
8979 LIBS="-liconv $LIBS"
8980 cat > conftest.$ac_ext <<EOF
8981 #line 8982 "configure"
8982 #include "confdefs.h"
8983 /* Override any gcc2 internal prototype to avoid an error. */
8984 /* We use char because int might match the return type of a gcc2
8985 builtin and then its argument prototype would still apply. */
8992 if { (eval echo configure:8993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8994 eval "ac_cv_lib_$ac_lib_var=yes"
8996 echo "configure: failed program was:" >&5
8997 cat conftest.$ac_ext >&5
8999 eval "ac_cv_lib_$ac_lib_var=no"
9002 LIBS="$ac_save_LIBS"
9005 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9006 echo "$ac_t""yes" 1>&6
9009 echo "$ac_t""no" 1>&6
9012 ac_save_LIBS="$LIBS"
9013 LIBS="$LIBS $libiconv"
9015 for ac_func in iconv_open iconv_close iconv nl_langinfo
9017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9018 echo "configure:9019: checking for $ac_func" >&5
9019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9020 echo $ac_n "(cached) $ac_c" 1>&6
9022 cat > conftest.$ac_ext <<EOF
9023 #line 9024 "configure"
9024 #include "confdefs.h"
9025 /* System header to define __stub macros and hopefully few prototypes,
9026 which can conflict with char $ac_func(); below. */
9028 /* Override any gcc2 internal prototype to avoid an error. */
9029 /* We use char because int might match the return type of a gcc2
9030 builtin and then its argument prototype would still apply. */
9035 /* The GNU C library defines this for functions which it implements
9036 to always fail with ENOSYS. Some functions are actually named
9037 something starting with __ and the normal name is an alias. */
9038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9046 if { (eval echo configure:9047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9048 eval "ac_cv_func_$ac_func=yes"
9050 echo "configure: failed program was:" >&5
9051 cat conftest.$ac_ext >&5
9053 eval "ac_cv_func_$ac_func=no"
9058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9059 echo "$ac_t""yes" 1>&6
9060 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9061 cat >> confdefs.h <<EOF
9062 #define $ac_tr_func 1
9067 echo "$ac_t""no" 1>&6
9073 LIBS="$ac_save_LIBS"
9075 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9076 echo "configure:9077: checking for XPG2 wchar_t support" >&5
9077 if test x"$ac_has_iconv_h" = xyes &&
9078 test x"$ac_has_langinfo_h" = xyes &&
9079 test x"$ac_XPG2funcs" = xyes; then
9084 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9086 if test x"$ac_isoC99_wchar_t" = xyes &&
9087 test x"$ac_XPG2_wchar_t" = xyes; then
9088 cat >> confdefs.h <<\EOF
9089 #define _GLIBCPP_USE_WCHAR_T 1
9095 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9096 echo "configure:9097: checking for enabled wchar_t specializations" >&5
9097 echo "$ac_t""$enable_wchar_t" 1>&6
9100 if test "$enable_wchar_t" = yes; then
9101 GLIBCPP_TEST_WCHAR_T_TRUE=
9102 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9104 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9105 GLIBCPP_TEST_WCHAR_T_FALSE=
9108 os_include_dir="os/mingw32"
9111 os_include_dir="os/windiss"
9114 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9117 # If we're not using GNU ld, then there's no point in even trying these
9118 # tests. Check for that first. We should have already tested for gld
9119 # by now (in libtool), but require it now just to be safe...
9120 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9121 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9124 # The name set by libtool depends on the version of libtool. Shame on us
9125 # for depending on an impl detail, but c'est la vie. Older versions used
9126 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9127 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9128 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9129 # set (hence we're using an older libtool), then set it.
9130 if test x${with_gnu_ld+set} != xset; then
9131 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9132 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9135 with_gnu_ld=$ac_cv_prog_gnu_ld
9139 # Start by getting the version number. I think the libtool test already
9140 # does some of this, but throws away the result.
9142 ldver=`$LD --version 2>/dev/null | head -1 | \
9143 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9145 glibcpp_gnu_ld_version=`echo $ldver | \
9146 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9148 # Set --gc-sections.
9149 if test "$with_gnu_ld" = "notbroken"; then
9150 # GNU ld it is! Joy and bunny rabbits!
9152 # All these tests are for C++; save the language and the compiler flags.
9153 # Need to do this so that g++ won't try to link in libstdc++
9154 ac_test_CFLAGS="${CFLAGS+set}"
9155 ac_save_CFLAGS="$CFLAGS"
9156 CFLAGS='-x c++ -Wl,--gc-sections'
9158 # Check for -Wl,--gc-sections
9159 # XXX This test is broken at the moment, as symbols required for
9160 # linking are now in libsupc++ (not built yet.....). In addition,
9161 # this test has cored on solaris in the past. In addition,
9162 # --gc-sections doesn't really work at the moment (keeps on discarding
9163 # used sections, first .eh_frame and now some of the glibc sections for
9164 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9165 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9166 echo "configure:9167: checking for ld that supports -Wl,--gc-sections" >&5
9167 if test "$cross_compiling" = yes; then
9168 ac_sectionLDflags=yes
9170 cat > conftest.$ac_ext <<EOF
9171 #line 9172 "configure"
9172 #include "confdefs.h"
9182 if { (eval echo configure:9183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9184 ac_sectionLDflags=yes
9186 echo "configure: failed program was:" >&5
9187 cat conftest.$ac_ext >&5
9189 ac_sectionLDflags=no
9194 if test "$ac_test_CFLAGS" = set; then
9195 CFLAGS="$ac_save_CFLAGS"
9197 # this is the suspicious part
9200 if test "$ac_sectionLDflags" = "yes"; then
9201 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9203 echo "$ac_t""$ac_sectionLDflags" 1>&6
9206 # Set linker optimization flags.
9207 if test x"$with_gnu_ld" = x"yes"; then
9208 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9215 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9216 echo "configure:9217: checking for main in -lm" >&5
9217 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9218 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9219 echo $ac_n "(cached) $ac_c" 1>&6
9221 ac_save_LIBS="$LIBS"
9223 cat > conftest.$ac_ext <<EOF
9224 #line 9225 "configure"
9225 #include "confdefs.h"
9231 if { (eval echo configure:9232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9233 eval "ac_cv_lib_$ac_lib_var=yes"
9235 echo "configure: failed program was:" >&5
9236 cat conftest.$ac_ext >&5
9238 eval "ac_cv_lib_$ac_lib_var=no"
9241 LIBS="$ac_save_LIBS"
9244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9245 echo "$ac_t""yes" 1>&6
9246 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9247 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9248 cat >> confdefs.h <<EOF
9249 #define $ac_tr_lib 1
9255 echo "$ac_t""no" 1>&6
9258 for ac_func in nan copysignf
9260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9261 echo "configure:9262: checking for $ac_func" >&5
9262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9263 echo $ac_n "(cached) $ac_c" 1>&6
9265 cat > conftest.$ac_ext <<EOF
9266 #line 9267 "configure"
9267 #include "confdefs.h"
9268 /* System header to define __stub macros and hopefully few prototypes,
9269 which can conflict with char $ac_func(); below. */
9271 /* Override any gcc2 internal prototype to avoid an error. */
9272 /* We use char because int might match the return type of a gcc2
9273 builtin and then its argument prototype would still apply. */
9278 /* The GNU C library defines this for functions which it implements
9279 to always fail with ENOSYS. Some functions are actually named
9280 something starting with __ and the normal name is an alias. */
9281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9289 if { (eval echo configure:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9291 eval "ac_cv_func_$ac_func=yes"
9293 echo "configure: failed program was:" >&5
9294 cat conftest.$ac_ext >&5
9296 eval "ac_cv_func_$ac_func=no"
9301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9302 echo "$ac_t""yes" 1>&6
9303 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9304 cat >> confdefs.h <<EOF
9305 #define $ac_tr_func 1
9309 echo "$ac_t""no" 1>&6
9310 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9315 for ac_func in __signbit
9317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9318 echo "configure:9319: checking for $ac_func" >&5
9319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9320 echo $ac_n "(cached) $ac_c" 1>&6
9322 cat > conftest.$ac_ext <<EOF
9323 #line 9324 "configure"
9324 #include "confdefs.h"
9325 /* System header to define __stub macros and hopefully few prototypes,
9326 which can conflict with char $ac_func(); below. */
9328 /* Override any gcc2 internal prototype to avoid an error. */
9329 /* We use char because int might match the return type of a gcc2
9330 builtin and then its argument prototype would still apply. */
9335 /* The GNU C library defines this for functions which it implements
9336 to always fail with ENOSYS. Some functions are actually named
9337 something starting with __ and the normal name is an alias. */
9338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9346 if { (eval echo configure:9347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9348 eval "ac_cv_func_$ac_func=yes"
9350 echo "configure: failed program was:" >&5
9351 cat conftest.$ac_ext >&5
9353 eval "ac_cv_func_$ac_func=no"
9358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9359 echo "$ac_t""yes" 1>&6
9360 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9361 cat >> confdefs.h <<EOF
9362 #define $ac_tr_func 1
9366 echo "$ac_t""no" 1>&6
9367 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9371 for ac_func in __signbitf
9373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9374 echo "configure:9375: checking for $ac_func" >&5
9375 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9376 echo $ac_n "(cached) $ac_c" 1>&6
9378 cat > conftest.$ac_ext <<EOF
9379 #line 9380 "configure"
9380 #include "confdefs.h"
9381 /* System header to define __stub macros and hopefully few prototypes,
9382 which can conflict with char $ac_func(); below. */
9384 /* Override any gcc2 internal prototype to avoid an error. */
9385 /* We use char because int might match the return type of a gcc2
9386 builtin and then its argument prototype would still apply. */
9391 /* The GNU C library defines this for functions which it implements
9392 to always fail with ENOSYS. Some functions are actually named
9393 something starting with __ and the normal name is an alias. */
9394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9402 if { (eval echo configure:9403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9404 eval "ac_cv_func_$ac_func=yes"
9406 echo "configure: failed program was:" >&5
9407 cat conftest.$ac_ext >&5
9409 eval "ac_cv_func_$ac_func=no"
9414 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9415 echo "$ac_t""yes" 1>&6
9416 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9417 cat >> confdefs.h <<EOF
9418 #define $ac_tr_func 1
9422 echo "$ac_t""no" 1>&6
9423 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9428 if test x$ac_cv_func_copysignl = x"yes"; then
9429 for ac_func in __signbitl
9431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9432 echo "configure:9433: checking for $ac_func" >&5
9433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9434 echo $ac_n "(cached) $ac_c" 1>&6
9436 cat > conftest.$ac_ext <<EOF
9437 #line 9438 "configure"
9438 #include "confdefs.h"
9439 /* System header to define __stub macros and hopefully few prototypes,
9440 which can conflict with char $ac_func(); below. */
9442 /* Override any gcc2 internal prototype to avoid an error. */
9443 /* We use char because int might match the return type of a gcc2
9444 builtin and then its argument prototype would still apply. */
9449 /* The GNU C library defines this for functions which it implements
9450 to always fail with ENOSYS. Some functions are actually named
9451 something starting with __ and the normal name is an alias. */
9452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9462 eval "ac_cv_func_$ac_func=yes"
9464 echo "configure: failed program was:" >&5
9465 cat conftest.$ac_ext >&5
9467 eval "ac_cv_func_$ac_func=no"
9472 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9473 echo "$ac_t""yes" 1>&6
9474 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9475 cat >> confdefs.h <<EOF
9476 #define $ac_tr_func 1
9480 echo "$ac_t""no" 1>&6
9481 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9487 if test -n "$LIBMATHOBJS"; then
9493 if test "$need_libmath" = yes; then
9494 GLIBCPP_BUILD_LIBMATH_TRUE=
9495 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9497 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9498 GLIBCPP_BUILD_LIBMATH_FALSE=
9504 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9505 echo "configure:9506: checking for mbstate_t" >&5
9506 cat > conftest.$ac_ext <<EOF
9507 #line 9508 "configure"
9508 #include "confdefs.h"
9511 mbstate_t teststate;
9514 if { (eval echo configure:9515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9518 echo "configure: failed program was:" >&5
9519 cat conftest.$ac_ext >&5
9524 echo "$ac_t""$have_mbstate_t" 1>&6
9525 if test x"$have_mbstate_t" = xyes; then
9526 cat >> confdefs.h <<\EOF
9527 #define HAVE_MBSTATE_T 1
9532 for ac_hdr in wchar.h
9534 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9535 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9536 echo "configure:9537: checking for $ac_hdr" >&5
9537 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9538 echo $ac_n "(cached) $ac_c" 1>&6
9540 cat > conftest.$ac_ext <<EOF
9541 #line 9542 "configure"
9542 #include "confdefs.h"
9545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9546 { (eval echo configure:9547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9548 if test -z "$ac_err"; then
9550 eval "ac_cv_header_$ac_safe=yes"
9553 echo "configure: failed program was:" >&5
9554 cat conftest.$ac_ext >&5
9556 eval "ac_cv_header_$ac_safe=no"
9560 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9561 echo "$ac_t""yes" 1>&6
9562 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9563 cat >> confdefs.h <<EOF
9564 #define $ac_tr_hdr 1
9568 echo "$ac_t""no" 1>&6
9573 for ac_hdr in wctype.h
9575 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9576 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9577 echo "configure:9578: checking for $ac_hdr" >&5
9578 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9579 echo $ac_n "(cached) $ac_c" 1>&6
9581 cat > conftest.$ac_ext <<EOF
9582 #line 9583 "configure"
9583 #include "confdefs.h"
9586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9587 { (eval echo configure:9588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9589 if test -z "$ac_err"; then
9591 eval "ac_cv_header_$ac_safe=yes"
9594 echo "configure: failed program was:" >&5
9595 cat conftest.$ac_ext >&5
9597 eval "ac_cv_header_$ac_safe=no"
9601 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9602 echo "$ac_t""yes" 1>&6
9603 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9604 cat >> confdefs.h <<EOF
9605 #define $ac_tr_hdr 1
9609 echo "$ac_t""no" 1>&6
9615 if test x"$ac_has_wchar_h" = xyes &&
9616 test x"$ac_has_wctype_h" = xyes &&
9617 test x"$enable_c_mbchar" != xno; then
9619 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9620 echo "configure:9621: checking for WCHAR_MIN and WCHAR_MAX" >&5
9621 cat > conftest.$ac_ext <<EOF
9622 #line 9623 "configure"
9623 #include "confdefs.h"
9626 int i = WCHAR_MIN; int j = WCHAR_MAX;
9629 if { (eval echo configure:9630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9631 has_wchar_minmax=yes
9633 echo "configure: failed program was:" >&5
9634 cat conftest.$ac_ext >&5
9639 echo "$ac_t""$has_wchar_minmax" 1>&6
9641 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9642 echo "configure:9643: checking for WEOF" >&5
9643 cat > conftest.$ac_ext <<EOF
9644 #line 9645 "configure"
9645 #include "confdefs.h"
9653 if { (eval echo configure:9654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9657 echo "configure: failed program was:" >&5
9658 cat conftest.$ac_ext >&5
9663 echo "$ac_t""$has_weof" 1>&6
9666 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9669 echo "configure:9670: checking for $ac_func" >&5
9670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9671 echo $ac_n "(cached) $ac_c" 1>&6
9673 cat > conftest.$ac_ext <<EOF
9674 #line 9675 "configure"
9675 #include "confdefs.h"
9676 /* System header to define __stub macros and hopefully few prototypes,
9677 which can conflict with char $ac_func(); below. */
9679 /* Override any gcc2 internal prototype to avoid an error. */
9680 /* We use char because int might match the return type of a gcc2
9681 builtin and then its argument prototype would still apply. */
9686 /* The GNU C library defines this for functions which it implements
9687 to always fail with ENOSYS. Some functions are actually named
9688 something starting with __ and the normal name is an alias. */
9689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9697 if { (eval echo configure:9698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9699 eval "ac_cv_func_$ac_func=yes"
9701 echo "configure: failed program was:" >&5
9702 cat conftest.$ac_ext >&5
9704 eval "ac_cv_func_$ac_func=no"
9709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9710 echo "$ac_t""yes" 1>&6
9711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9712 cat >> confdefs.h <<EOF
9713 #define $ac_tr_func 1
9717 echo "$ac_t""no" 1>&6
9724 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9725 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9726 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9727 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9728 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9729 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9732 echo "configure:9733: checking for $ac_func" >&5
9733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9734 echo $ac_n "(cached) $ac_c" 1>&6
9736 cat > conftest.$ac_ext <<EOF
9737 #line 9738 "configure"
9738 #include "confdefs.h"
9739 /* System header to define __stub macros and hopefully few prototypes,
9740 which can conflict with char $ac_func(); below. */
9742 /* Override any gcc2 internal prototype to avoid an error. */
9743 /* We use char because int might match the return type of a gcc2
9744 builtin and then its argument prototype would still apply. */
9749 /* The GNU C library defines this for functions which it implements
9750 to always fail with ENOSYS. Some functions are actually named
9751 something starting with __ and the normal name is an alias. */
9752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9760 if { (eval echo configure:9761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9762 eval "ac_cv_func_$ac_func=yes"
9764 echo "configure: failed program was:" >&5
9765 cat conftest.$ac_ext >&5
9767 eval "ac_cv_func_$ac_func=no"
9772 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9773 echo "$ac_t""yes" 1>&6
9774 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9775 cat >> confdefs.h <<EOF
9776 #define $ac_tr_func 1
9780 echo "$ac_t""no" 1>&6
9787 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9788 echo "configure:9789: checking for ISO C99 wchar_t support" >&5
9789 if test x"$has_weof" = xyes &&
9790 test x"$has_wchar_minmax" = xyes &&
9791 test x"$ac_wfuncs" = xyes; then
9792 ac_isoC99_wchar_t=yes
9794 ac_isoC99_wchar_t=no
9796 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9798 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9799 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9800 echo "configure:9801: checking for iconv.h" >&5
9801 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9802 echo $ac_n "(cached) $ac_c" 1>&6
9804 cat > conftest.$ac_ext <<EOF
9805 #line 9806 "configure"
9806 #include "confdefs.h"
9809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9810 { (eval echo configure:9811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9811 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9812 if test -z "$ac_err"; then
9814 eval "ac_cv_header_$ac_safe=yes"
9817 echo "configure: failed program was:" >&5
9818 cat conftest.$ac_ext >&5
9820 eval "ac_cv_header_$ac_safe=no"
9824 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9825 echo "$ac_t""yes" 1>&6
9828 echo "$ac_t""no" 1>&6
9832 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9833 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9834 echo "configure:9835: checking for langinfo.h" >&5
9835 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9836 echo $ac_n "(cached) $ac_c" 1>&6
9838 cat > conftest.$ac_ext <<EOF
9839 #line 9840 "configure"
9840 #include "confdefs.h"
9841 #include <langinfo.h>
9843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9844 { (eval echo configure:9845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9846 if test -z "$ac_err"; then
9848 eval "ac_cv_header_$ac_safe=yes"
9851 echo "configure: failed program was:" >&5
9852 cat conftest.$ac_ext >&5
9854 eval "ac_cv_header_$ac_safe=no"
9858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9859 echo "$ac_t""yes" 1>&6
9860 ac_has_langinfo_h=yes
9862 echo "$ac_t""no" 1>&6
9863 ac_has_langinfo_h=no
9867 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9868 echo "configure:9869: checking for iconv in -liconv" >&5
9869 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9870 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9871 echo $ac_n "(cached) $ac_c" 1>&6
9873 ac_save_LIBS="$LIBS"
9874 LIBS="-liconv $LIBS"
9875 cat > conftest.$ac_ext <<EOF
9876 #line 9877 "configure"
9877 #include "confdefs.h"
9878 /* Override any gcc2 internal prototype to avoid an error. */
9879 /* We use char because int might match the return type of a gcc2
9880 builtin and then its argument prototype would still apply. */
9887 if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9889 eval "ac_cv_lib_$ac_lib_var=yes"
9891 echo "configure: failed program was:" >&5
9892 cat conftest.$ac_ext >&5
9894 eval "ac_cv_lib_$ac_lib_var=no"
9897 LIBS="$ac_save_LIBS"
9900 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9901 echo "$ac_t""yes" 1>&6
9904 echo "$ac_t""no" 1>&6
9907 ac_save_LIBS="$LIBS"
9908 LIBS="$LIBS $libiconv"
9910 for ac_func in iconv_open iconv_close iconv nl_langinfo
9912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9913 echo "configure:9914: checking for $ac_func" >&5
9914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9915 echo $ac_n "(cached) $ac_c" 1>&6
9917 cat > conftest.$ac_ext <<EOF
9918 #line 9919 "configure"
9919 #include "confdefs.h"
9920 /* System header to define __stub macros and hopefully few prototypes,
9921 which can conflict with char $ac_func(); below. */
9923 /* Override any gcc2 internal prototype to avoid an error. */
9924 /* We use char because int might match the return type of a gcc2
9925 builtin and then its argument prototype would still apply. */
9930 /* The GNU C library defines this for functions which it implements
9931 to always fail with ENOSYS. Some functions are actually named
9932 something starting with __ and the normal name is an alias. */
9933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9941 if { (eval echo configure:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9943 eval "ac_cv_func_$ac_func=yes"
9945 echo "configure: failed program was:" >&5
9946 cat conftest.$ac_ext >&5
9948 eval "ac_cv_func_$ac_func=no"
9953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9954 echo "$ac_t""yes" 1>&6
9955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9956 cat >> confdefs.h <<EOF
9957 #define $ac_tr_func 1
9962 echo "$ac_t""no" 1>&6
9968 LIBS="$ac_save_LIBS"
9970 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9971 echo "configure:9972: checking for XPG2 wchar_t support" >&5
9972 if test x"$ac_has_iconv_h" = xyes &&
9973 test x"$ac_has_langinfo_h" = xyes &&
9974 test x"$ac_XPG2funcs" = xyes; then
9979 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9981 if test x"$ac_isoC99_wchar_t" = xyes &&
9982 test x"$ac_XPG2_wchar_t" = xyes; then
9983 cat >> confdefs.h <<\EOF
9984 #define _GLIBCPP_USE_WCHAR_T 1
9990 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9991 echo "configure:9992: checking for enabled wchar_t specializations" >&5
9992 echo "$ac_t""$enable_wchar_t" 1>&6
9995 if test "$enable_wchar_t" = yes; then
9996 GLIBCPP_TEST_WCHAR_T_TRUE=
9997 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9999 GLIBCPP_TEST_WCHAR_T_TRUE='#'
10000 GLIBCPP_TEST_WCHAR_T_FALSE=
10003 os_include_dir="os/qnx/qnx6.1"
10004 cat >> confdefs.h <<\EOF
10005 #define HAVE_COSF 1
10008 cat >> confdefs.h <<\EOF
10009 #define HAVE_COSL 1
10012 cat >> confdefs.h <<\EOF
10013 #define HAVE_COSHF 1
10016 cat >> confdefs.h <<\EOF
10017 #define HAVE_COSHL 1
10020 cat >> confdefs.h <<\EOF
10021 #define HAVE_LOGF 1
10024 cat >> confdefs.h <<\EOF
10025 #define HAVE_LOGL 1
10028 cat >> confdefs.h <<\EOF
10029 #define HAVE_LOG10F 1
10032 cat >> confdefs.h <<\EOF
10033 #define HAVE_LOG10L 1
10036 cat >> confdefs.h <<\EOF
10037 #define HAVE_SINF 1
10040 cat >> confdefs.h <<\EOF
10041 #define HAVE_SINL 1
10044 cat >> confdefs.h <<\EOF
10045 #define HAVE_SINHF 1
10048 cat >> confdefs.h <<\EOF
10049 #define HAVE_SINHL 1
10054 os_include_dir="os/newlib"
10055 cat >> confdefs.h <<\EOF
10056 #define HAVE_HYPOT 1
10066 cat >> confdefs.h <<\EOF
10067 #define HAVE_ACOSF 1
10070 cat >> confdefs.h <<\EOF
10071 #define HAVE_ASINF 1
10074 cat >> confdefs.h <<\EOF
10075 #define HAVE_ATAN2F 1
10078 cat >> confdefs.h <<\EOF
10079 #define HAVE_ATANF 1
10082 cat >> confdefs.h <<\EOF
10083 #define HAVE_CEILF 1
10086 cat >> confdefs.h <<\EOF
10087 #define HAVE_COPYSIGN 1
10090 cat >> confdefs.h <<\EOF
10091 #define HAVE_COPYSIGNF 1
10094 cat >> confdefs.h <<\EOF
10095 #define HAVE_COSF 1
10098 cat >> confdefs.h <<\EOF
10099 #define HAVE_COSHF 1
10102 cat >> confdefs.h <<\EOF
10103 #define HAVE_EXPF 1
10106 cat >> confdefs.h <<\EOF
10107 #define HAVE_FABSF 1
10110 cat >> confdefs.h <<\EOF
10111 #define HAVE_FLOORF 1
10114 cat >> confdefs.h <<\EOF
10115 #define HAVE_FMODF 1
10118 cat >> confdefs.h <<\EOF
10119 #define HAVE_FREXPF 1
10122 cat >> confdefs.h <<\EOF
10123 #define HAVE_LDEXPF 1
10126 cat >> confdefs.h <<\EOF
10127 #define HAVE_LOG10F 1
10130 cat >> confdefs.h <<\EOF
10131 #define HAVE_LOGF 1
10134 cat >> confdefs.h <<\EOF
10135 #define HAVE_MODFF 1
10138 cat >> confdefs.h <<\EOF
10139 #define HAVE_POWF 1
10142 cat >> confdefs.h <<\EOF
10143 #define HAVE_SINF 1
10146 cat >> confdefs.h <<\EOF
10147 #define HAVE_SINHF 1
10150 cat >> confdefs.h <<\EOF
10151 #define HAVE_SQRTF 1
10154 cat >> confdefs.h <<\EOF
10155 #define HAVE_TANF 1
10158 cat >> confdefs.h <<\EOF
10159 #define HAVE_TANHF 1
10164 # Must replicate generic section since we don't have strtof or strtold.
10165 cat >> confdefs.h <<\EOF
10166 #define HAVE_MMAP 1
10169 cat >> confdefs.h <<\EOF
10170 #define HAVE_ACOSF 1
10173 cat >> confdefs.h <<\EOF
10174 #define HAVE_ASINF 1
10177 cat >> confdefs.h <<\EOF
10178 #define HAVE_ATAN2F 1
10181 cat >> confdefs.h <<\EOF
10182 #define HAVE_ATANF 1
10185 cat >> confdefs.h <<\EOF
10186 #define HAVE_CEILF 1
10189 cat >> confdefs.h <<\EOF
10190 #define HAVE_COPYSIGN 1
10193 cat >> confdefs.h <<\EOF
10194 #define HAVE_COPYSIGNF 1
10197 cat >> confdefs.h <<\EOF
10198 #define HAVE_COSF 1
10201 cat >> confdefs.h <<\EOF
10202 #define HAVE_COSHF 1
10205 cat >> confdefs.h <<\EOF
10206 #define HAVE_EXPF 1
10209 cat >> confdefs.h <<\EOF
10210 #define HAVE_FABSF 1
10213 cat >> confdefs.h <<\EOF
10214 #define HAVE_FLOORF 1
10217 cat >> confdefs.h <<\EOF
10218 #define HAVE_FMODF 1
10221 cat >> confdefs.h <<\EOF
10222 #define HAVE_FREXPF 1
10225 cat >> confdefs.h <<\EOF
10226 #define HAVE_LDEXPF 1
10229 cat >> confdefs.h <<\EOF
10230 #define HAVE_LOG10F 1
10233 cat >> confdefs.h <<\EOF
10234 #define HAVE_LOGF 1
10237 cat >> confdefs.h <<\EOF
10238 #define HAVE_MODFF 1
10241 cat >> confdefs.h <<\EOF
10242 #define HAVE_POWF 1
10245 cat >> confdefs.h <<\EOF
10246 #define HAVE_SINF 1
10249 cat >> confdefs.h <<\EOF
10250 #define HAVE_SINHF 1
10253 cat >> confdefs.h <<\EOF
10254 #define HAVE_SQRTF 1
10257 cat >> confdefs.h <<\EOF
10258 #define HAVE_TANF 1
10261 cat >> confdefs.h <<\EOF
10262 #define HAVE_TANHF 1
10267 # GLIBCPP_CHECK_STDLIB_SUPPORT
10268 cat >> confdefs.h <<\EOF
10269 #define HAVE_STRTOF 1
10272 cat >> confdefs.h <<\EOF
10273 #define HAVE_STRTOLD 1
10277 cat >> confdefs.h <<\EOF
10278 #define HAVE_MMAP 1
10282 cat >> confdefs.h <<\EOF
10283 #define HAVE_ACOSF 1
10286 cat >> confdefs.h <<\EOF
10287 #define HAVE_ASINF 1
10290 cat >> confdefs.h <<\EOF
10291 #define HAVE_ATAN2F 1
10294 cat >> confdefs.h <<\EOF
10295 #define HAVE_ATANF 1
10298 cat >> confdefs.h <<\EOF
10299 #define HAVE_CEILF 1
10302 cat >> confdefs.h <<\EOF
10303 #define HAVE_COPYSIGN 1
10306 cat >> confdefs.h <<\EOF
10307 #define HAVE_COPYSIGNF 1
10310 cat >> confdefs.h <<\EOF
10311 #define HAVE_COSF 1
10314 cat >> confdefs.h <<\EOF
10315 #define HAVE_COSHF 1
10318 cat >> confdefs.h <<\EOF
10319 #define HAVE_EXPF 1
10322 cat >> confdefs.h <<\EOF
10323 #define HAVE_FABSF 1
10326 cat >> confdefs.h <<\EOF
10327 #define HAVE_FLOORF 1
10330 cat >> confdefs.h <<\EOF
10331 #define HAVE_FMODF 1
10334 cat >> confdefs.h <<\EOF
10335 #define HAVE_FREXPF 1
10338 cat >> confdefs.h <<\EOF
10339 #define HAVE_LDEXPF 1
10342 cat >> confdefs.h <<\EOF
10343 #define HAVE_LOG10F 1
10346 cat >> confdefs.h <<\EOF
10347 #define HAVE_LOGF 1
10350 cat >> confdefs.h <<\EOF
10351 #define HAVE_MODFF 1
10354 cat >> confdefs.h <<\EOF
10355 #define HAVE_POWF 1
10358 cat >> confdefs.h <<\EOF
10359 #define HAVE_SINF 1
10362 cat >> confdefs.h <<\EOF
10363 #define HAVE_SINHF 1
10366 cat >> confdefs.h <<\EOF
10367 #define HAVE_SQRTF 1
10370 cat >> confdefs.h <<\EOF
10371 #define HAVE_TANF 1
10374 cat >> confdefs.h <<\EOF
10375 #define HAVE_TANHF 1
10381 # At some point, we should differentiate between architectures
10382 # like x86, which have long double versions, and alpha/powerpc/etc.,
10383 # which don't. For the time being, punt.
10384 if test x"long_double_math_on_this_cpu" = x"yes"; then
10385 cat >> confdefs.h <<\EOF
10386 #define HAVE_ACOSL 1
10389 cat >> confdefs.h <<\EOF
10390 #define HAVE_ASINL 1
10393 cat >> confdefs.h <<\EOF
10394 #define HAVE_ATAN2L 1
10397 cat >> confdefs.h <<\EOF
10398 #define HAVE_ATANL 1
10401 cat >> confdefs.h <<\EOF
10402 #define HAVE_CEILL 1
10405 cat >> confdefs.h <<\EOF
10406 #define HAVE_COPYSIGNL 1
10409 cat >> confdefs.h <<\EOF
10410 #define HAVE_COSL 1
10413 cat >> confdefs.h <<\EOF
10414 #define HAVE_COSHL 1
10417 cat >> confdefs.h <<\EOF
10418 #define HAVE_EXPL 1
10421 cat >> confdefs.h <<\EOF
10422 #define HAVE_FABSL 1
10425 cat >> confdefs.h <<\EOF
10426 #define HAVE_FLOORL 1
10429 cat >> confdefs.h <<\EOF
10430 #define HAVE_FMODL 1
10433 cat >> confdefs.h <<\EOF
10434 #define HAVE_FREXPL 1
10437 cat >> confdefs.h <<\EOF
10438 #define HAVE_LDEXPL 1
10441 cat >> confdefs.h <<\EOF
10442 #define HAVE_LOG10L 1
10445 cat >> confdefs.h <<\EOF
10446 #define HAVE_LOGL 1
10449 cat >> confdefs.h <<\EOF
10450 #define HAVE_MODFL 1
10453 cat >> confdefs.h <<\EOF
10454 #define HAVE_POWL 1
10457 cat >> confdefs.h <<\EOF
10458 #define HAVE_SINCOSL 1
10461 cat >> confdefs.h <<\EOF
10462 #define HAVE_SINL 1
10465 cat >> confdefs.h <<\EOF
10466 #define HAVE_SINHL 1
10469 cat >> confdefs.h <<\EOF
10470 #define HAVE_SQRTL 1
10473 cat >> confdefs.h <<\EOF
10474 #define HAVE_TANL 1
10477 cat >> confdefs.h <<\EOF
10478 #define HAVE_TANHL 1
10485 # We are being configured natively. We can do more elaborate tests
10486 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10488 GLIBCPP_IS_CROSS_COMPILING=0
10491 # Check for available headers.
10492 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10493 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10495 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10496 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10497 echo "configure:10498: checking for $ac_hdr" >&5
10498 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10499 echo $ac_n "(cached) $ac_c" 1>&6
10501 cat > conftest.$ac_ext <<EOF
10502 #line 10503 "configure"
10503 #include "confdefs.h"
10506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10507 { (eval echo configure:10508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10509 if test -z "$ac_err"; then
10511 eval "ac_cv_header_$ac_safe=yes"
10514 echo "configure: failed program was:" >&5
10515 cat conftest.$ac_ext >&5
10517 eval "ac_cv_header_$ac_safe=no"
10521 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10522 echo "$ac_t""yes" 1>&6
10523 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10524 cat >> confdefs.h <<EOF
10525 #define $ac_tr_hdr 1
10529 echo "$ac_t""no" 1>&6
10535 # All these tests are for C++; save the language and the compiler flags.
10536 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10537 # found in GLIBCPP_CONFIGURE.
10540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10541 ac_cpp='$CXXCPP $CPPFLAGS'
10542 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10543 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10544 cross_compiling=$ac_cv_prog_cxx_cross
10546 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10547 ac_save_CXXFLAGS="$CXXFLAGS"
10549 # Check for maintainer-mode bits.
10550 if test x"$USE_MAINTAINER_MODE" = xno; then
10556 # Check for -ffunction-sections -fdata-sections
10557 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10558 echo "configure:10559: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10559 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10560 cat > conftest.$ac_ext <<EOF
10561 #line 10562 "configure"
10562 #include "confdefs.h"
10569 if { (eval echo configure:10570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10573 echo "configure: failed program was:" >&5
10574 cat conftest.$ac_ext >&5
10579 if test "$ac_test_CXXFLAGS" = set; then
10580 CXXFLAGS="$ac_save_CXXFLAGS"
10582 # this is the suspicious part
10585 if test x"$ac_fdsections" = x"yes"; then
10586 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10588 echo "$ac_t""$ac_fdsections" 1>&6
10591 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10592 ac_cpp='$CPP $CPPFLAGS'
10593 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10594 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10595 cross_compiling=$ac_cv_prog_cc_cross
10601 # If we're not using GNU ld, then there's no point in even trying these
10602 # tests. Check for that first. We should have already tested for gld
10603 # by now (in libtool), but require it now just to be safe...
10604 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10605 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10608 # The name set by libtool depends on the version of libtool. Shame on us
10609 # for depending on an impl detail, but c'est la vie. Older versions used
10610 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10611 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10612 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10613 # set (hence we're using an older libtool), then set it.
10614 if test x${with_gnu_ld+set} != xset; then
10615 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10616 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10619 with_gnu_ld=$ac_cv_prog_gnu_ld
10623 # Start by getting the version number. I think the libtool test already
10624 # does some of this, but throws away the result.
10626 ldver=`$LD --version 2>/dev/null | head -1 | \
10627 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10629 glibcpp_gnu_ld_version=`echo $ldver | \
10630 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10632 # Set --gc-sections.
10633 if test "$with_gnu_ld" = "notbroken"; then
10634 # GNU ld it is! Joy and bunny rabbits!
10636 # All these tests are for C++; save the language and the compiler flags.
10637 # Need to do this so that g++ won't try to link in libstdc++
10638 ac_test_CFLAGS="${CFLAGS+set}"
10639 ac_save_CFLAGS="$CFLAGS"
10640 CFLAGS='-x c++ -Wl,--gc-sections'
10642 # Check for -Wl,--gc-sections
10643 # XXX This test is broken at the moment, as symbols required for
10644 # linking are now in libsupc++ (not built yet.....). In addition,
10645 # this test has cored on solaris in the past. In addition,
10646 # --gc-sections doesn't really work at the moment (keeps on discarding
10647 # used sections, first .eh_frame and now some of the glibc sections for
10648 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10649 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10650 echo "configure:10651: checking for ld that supports -Wl,--gc-sections" >&5
10651 if test "$cross_compiling" = yes; then
10652 ac_sectionLDflags=yes
10654 cat > conftest.$ac_ext <<EOF
10655 #line 10656 "configure"
10656 #include "confdefs.h"
10666 if { (eval echo configure:10667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10668 ac_sectionLDflags=yes
10670 echo "configure: failed program was:" >&5
10671 cat conftest.$ac_ext >&5
10673 ac_sectionLDflags=no
10678 if test "$ac_test_CFLAGS" = set; then
10679 CFLAGS="$ac_save_CFLAGS"
10681 # this is the suspicious part
10684 if test "$ac_sectionLDflags" = "yes"; then
10685 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10687 echo "$ac_t""$ac_sectionLDflags" 1>&6
10690 # Set linker optimization flags.
10691 if test x"$with_gnu_ld" = x"yes"; then
10692 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10700 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
10701 echo "configure:10702: checking for __builtin_abs declaration" >&5
10702 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10703 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10704 echo $ac_n "(cached) $ac_c" 1>&6
10709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10710 ac_cpp='$CXXCPP $CPPFLAGS'
10711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10713 cross_compiling=$ac_cv_prog_cxx_cross
10715 cat > conftest.$ac_ext <<EOF
10716 #line 10717 "configure"
10717 #include "confdefs.h"
10723 if { (eval echo configure:10724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10725 glibcpp_cv_func___builtin_abs_use=yes
10727 echo "configure: failed program was:" >&5
10728 cat conftest.$ac_ext >&5
10730 glibcpp_cv_func___builtin_abs_use=no
10734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10735 ac_cpp='$CPP $CPPFLAGS'
10736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10738 cross_compiling=$ac_cv_prog_cc_cross
10744 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10745 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10746 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
10747 echo "configure:10748: checking for __builtin_abs linkage" >&5
10748 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10749 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10750 echo $ac_n "(cached) $ac_c" 1>&6
10753 cat > conftest.$ac_ext <<EOF
10754 #line 10755 "configure"
10755 #include "confdefs.h"
10761 if { (eval echo configure:10762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10763 glibcpp_cv_func___builtin_abs_link=yes
10765 echo "configure: failed program was:" >&5
10766 cat conftest.$ac_ext >&5
10768 glibcpp_cv_func___builtin_abs_link=no
10775 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10776 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10777 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10778 cat >> confdefs.h <<EOF
10779 #define ${ac_tr_func} 1
10786 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
10787 echo "configure:10788: checking for __builtin_fabsf declaration" >&5
10788 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10789 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10790 echo $ac_n "(cached) $ac_c" 1>&6
10795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10796 ac_cpp='$CXXCPP $CPPFLAGS'
10797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10799 cross_compiling=$ac_cv_prog_cxx_cross
10801 cat > conftest.$ac_ext <<EOF
10802 #line 10803 "configure"
10803 #include "confdefs.h"
10806 __builtin_fabsf(0);
10809 if { (eval echo configure:10810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10811 glibcpp_cv_func___builtin_fabsf_use=yes
10813 echo "configure: failed program was:" >&5
10814 cat conftest.$ac_ext >&5
10816 glibcpp_cv_func___builtin_fabsf_use=no
10820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10821 ac_cpp='$CPP $CPPFLAGS'
10822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10824 cross_compiling=$ac_cv_prog_cc_cross
10830 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10831 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10832 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
10833 echo "configure:10834: checking for __builtin_fabsf linkage" >&5
10834 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10835 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10836 echo $ac_n "(cached) $ac_c" 1>&6
10839 cat > conftest.$ac_ext <<EOF
10840 #line 10841 "configure"
10841 #include "confdefs.h"
10844 __builtin_fabsf(0);
10847 if { (eval echo configure:10848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10849 glibcpp_cv_func___builtin_fabsf_link=yes
10851 echo "configure: failed program was:" >&5
10852 cat conftest.$ac_ext >&5
10854 glibcpp_cv_func___builtin_fabsf_link=no
10861 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10862 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10863 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10864 cat >> confdefs.h <<EOF
10865 #define ${ac_tr_func} 1
10872 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
10873 echo "configure:10874: checking for __builtin_fabs declaration" >&5
10874 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10875 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10876 echo $ac_n "(cached) $ac_c" 1>&6
10881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10882 ac_cpp='$CXXCPP $CPPFLAGS'
10883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10885 cross_compiling=$ac_cv_prog_cxx_cross
10887 cat > conftest.$ac_ext <<EOF
10888 #line 10889 "configure"
10889 #include "confdefs.h"
10895 if { (eval echo configure:10896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10897 glibcpp_cv_func___builtin_fabs_use=yes
10899 echo "configure: failed program was:" >&5
10900 cat conftest.$ac_ext >&5
10902 glibcpp_cv_func___builtin_fabs_use=no
10906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10907 ac_cpp='$CPP $CPPFLAGS'
10908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10910 cross_compiling=$ac_cv_prog_cc_cross
10916 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10917 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10918 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
10919 echo "configure:10920: checking for __builtin_fabs linkage" >&5
10920 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10921 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10922 echo $ac_n "(cached) $ac_c" 1>&6
10925 cat > conftest.$ac_ext <<EOF
10926 #line 10927 "configure"
10927 #include "confdefs.h"
10933 if { (eval echo configure:10934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10935 glibcpp_cv_func___builtin_fabs_link=yes
10937 echo "configure: failed program was:" >&5
10938 cat conftest.$ac_ext >&5
10940 glibcpp_cv_func___builtin_fabs_link=no
10947 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10948 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10949 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10950 cat >> confdefs.h <<EOF
10951 #define ${ac_tr_func} 1
10958 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
10959 echo "configure:10960: checking for __builtin_fabsl declaration" >&5
10960 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10961 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10962 echo $ac_n "(cached) $ac_c" 1>&6
10967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10968 ac_cpp='$CXXCPP $CPPFLAGS'
10969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10971 cross_compiling=$ac_cv_prog_cxx_cross
10973 cat > conftest.$ac_ext <<EOF
10974 #line 10975 "configure"
10975 #include "confdefs.h"
10978 __builtin_fabsl(0);
10981 if { (eval echo configure:10982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10983 glibcpp_cv_func___builtin_fabsl_use=yes
10985 echo "configure: failed program was:" >&5
10986 cat conftest.$ac_ext >&5
10988 glibcpp_cv_func___builtin_fabsl_use=no
10992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10993 ac_cpp='$CPP $CPPFLAGS'
10994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10996 cross_compiling=$ac_cv_prog_cc_cross
11002 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
11003 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
11004 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
11005 echo "configure:11006: checking for __builtin_fabsl linkage" >&5
11006 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
11007 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
11008 echo $ac_n "(cached) $ac_c" 1>&6
11011 cat > conftest.$ac_ext <<EOF
11012 #line 11013 "configure"
11013 #include "confdefs.h"
11016 __builtin_fabsl(0);
11019 if { (eval echo configure:11020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11021 glibcpp_cv_func___builtin_fabsl_link=yes
11023 echo "configure: failed program was:" >&5
11024 cat conftest.$ac_ext >&5
11026 glibcpp_cv_func___builtin_fabsl_link=no
11033 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
11034 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
11035 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11036 cat >> confdefs.h <<EOF
11037 #define ${ac_tr_func} 1
11044 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
11045 echo "configure:11046: checking for __builtin_labs declaration" >&5
11046 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
11047 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
11048 echo $ac_n "(cached) $ac_c" 1>&6
11053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11054 ac_cpp='$CXXCPP $CPPFLAGS'
11055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11057 cross_compiling=$ac_cv_prog_cxx_cross
11059 cat > conftest.$ac_ext <<EOF
11060 #line 11061 "configure"
11061 #include "confdefs.h"
11067 if { (eval echo configure:11068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11069 glibcpp_cv_func___builtin_labs_use=yes
11071 echo "configure: failed program was:" >&5
11072 cat conftest.$ac_ext >&5
11074 glibcpp_cv_func___builtin_labs_use=no
11078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11079 ac_cpp='$CPP $CPPFLAGS'
11080 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11081 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11082 cross_compiling=$ac_cv_prog_cc_cross
11088 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
11089 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
11090 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
11091 echo "configure:11092: checking for __builtin_labs linkage" >&5
11092 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
11093 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
11094 echo $ac_n "(cached) $ac_c" 1>&6
11097 cat > conftest.$ac_ext <<EOF
11098 #line 11099 "configure"
11099 #include "confdefs.h"
11105 if { (eval echo configure:11106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11107 glibcpp_cv_func___builtin_labs_link=yes
11109 echo "configure: failed program was:" >&5
11110 cat conftest.$ac_ext >&5
11112 glibcpp_cv_func___builtin_labs_link=no
11119 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
11120 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
11121 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11122 cat >> confdefs.h <<EOF
11123 #define ${ac_tr_func} 1
11131 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
11132 echo "configure:11133: checking for __builtin_sqrtf declaration" >&5
11133 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
11134 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
11135 echo $ac_n "(cached) $ac_c" 1>&6
11140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11141 ac_cpp='$CXXCPP $CPPFLAGS'
11142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11144 cross_compiling=$ac_cv_prog_cxx_cross
11146 cat > conftest.$ac_ext <<EOF
11147 #line 11148 "configure"
11148 #include "confdefs.h"
11151 __builtin_sqrtf(0);
11154 if { (eval echo configure:11155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11156 glibcpp_cv_func___builtin_sqrtf_use=yes
11158 echo "configure: failed program was:" >&5
11159 cat conftest.$ac_ext >&5
11161 glibcpp_cv_func___builtin_sqrtf_use=no
11165 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11166 ac_cpp='$CPP $CPPFLAGS'
11167 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11168 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11169 cross_compiling=$ac_cv_prog_cc_cross
11175 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
11176 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
11177 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
11178 echo "configure:11179: checking for __builtin_sqrtf linkage" >&5
11179 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
11180 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
11181 echo $ac_n "(cached) $ac_c" 1>&6
11184 cat > conftest.$ac_ext <<EOF
11185 #line 11186 "configure"
11186 #include "confdefs.h"
11189 __builtin_sqrtf(0);
11192 if { (eval echo configure:11193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11194 glibcpp_cv_func___builtin_sqrtf_link=yes
11196 echo "configure: failed program was:" >&5
11197 cat conftest.$ac_ext >&5
11199 glibcpp_cv_func___builtin_sqrtf_link=no
11206 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11207 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11208 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11209 cat >> confdefs.h <<EOF
11210 #define ${ac_tr_func} 1
11217 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
11218 echo "configure:11219: checking for __builtin_sqrt declaration" >&5
11219 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11220 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11221 echo $ac_n "(cached) $ac_c" 1>&6
11226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11227 ac_cpp='$CXXCPP $CPPFLAGS'
11228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11230 cross_compiling=$ac_cv_prog_cxx_cross
11232 cat > conftest.$ac_ext <<EOF
11233 #line 11234 "configure"
11234 #include "confdefs.h"
11240 if { (eval echo configure:11241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11242 glibcpp_cv_func___builtin_sqrt_use=yes
11244 echo "configure: failed program was:" >&5
11245 cat conftest.$ac_ext >&5
11247 glibcpp_cv_func___builtin_sqrt_use=no
11251 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11252 ac_cpp='$CPP $CPPFLAGS'
11253 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11254 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11255 cross_compiling=$ac_cv_prog_cc_cross
11261 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11262 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11263 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
11264 echo "configure:11265: checking for __builtin_sqrt linkage" >&5
11265 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11266 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11267 echo $ac_n "(cached) $ac_c" 1>&6
11270 cat > conftest.$ac_ext <<EOF
11271 #line 11272 "configure"
11272 #include "confdefs.h"
11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11280 glibcpp_cv_func___builtin_sqrt_link=yes
11282 echo "configure: failed program was:" >&5
11283 cat conftest.$ac_ext >&5
11285 glibcpp_cv_func___builtin_sqrt_link=no
11292 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11293 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11294 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11295 cat >> confdefs.h <<EOF
11296 #define ${ac_tr_func} 1
11303 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
11304 echo "configure:11305: checking for __builtin_sqrtl declaration" >&5
11305 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11306 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11307 echo $ac_n "(cached) $ac_c" 1>&6
11312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11313 ac_cpp='$CXXCPP $CPPFLAGS'
11314 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11315 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11316 cross_compiling=$ac_cv_prog_cxx_cross
11318 cat > conftest.$ac_ext <<EOF
11319 #line 11320 "configure"
11320 #include "confdefs.h"
11323 __builtin_sqrtl(0);
11326 if { (eval echo configure:11327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11328 glibcpp_cv_func___builtin_sqrtl_use=yes
11330 echo "configure: failed program was:" >&5
11331 cat conftest.$ac_ext >&5
11333 glibcpp_cv_func___builtin_sqrtl_use=no
11337 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11338 ac_cpp='$CPP $CPPFLAGS'
11339 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11340 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11341 cross_compiling=$ac_cv_prog_cc_cross
11347 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11348 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11349 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
11350 echo "configure:11351: checking for __builtin_sqrtl linkage" >&5
11351 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11352 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11353 echo $ac_n "(cached) $ac_c" 1>&6
11356 cat > conftest.$ac_ext <<EOF
11357 #line 11358 "configure"
11358 #include "confdefs.h"
11361 __builtin_sqrtl(0);
11364 if { (eval echo configure:11365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11366 glibcpp_cv_func___builtin_sqrtl_link=yes
11368 echo "configure: failed program was:" >&5
11369 cat conftest.$ac_ext >&5
11371 glibcpp_cv_func___builtin_sqrtl_link=no
11378 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11379 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11380 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11381 cat >> confdefs.h <<EOF
11382 #define ${ac_tr_func} 1
11390 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
11391 echo "configure:11392: checking for __builtin_sinf declaration" >&5
11392 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11393 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11394 echo $ac_n "(cached) $ac_c" 1>&6
11399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11400 ac_cpp='$CXXCPP $CPPFLAGS'
11401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11403 cross_compiling=$ac_cv_prog_cxx_cross
11405 cat > conftest.$ac_ext <<EOF
11406 #line 11407 "configure"
11407 #include "confdefs.h"
11413 if { (eval echo configure:11414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11415 glibcpp_cv_func___builtin_sinf_use=yes
11417 echo "configure: failed program was:" >&5
11418 cat conftest.$ac_ext >&5
11420 glibcpp_cv_func___builtin_sinf_use=no
11424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11425 ac_cpp='$CPP $CPPFLAGS'
11426 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11427 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11428 cross_compiling=$ac_cv_prog_cc_cross
11434 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11435 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11436 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
11437 echo "configure:11438: checking for __builtin_sinf linkage" >&5
11438 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11439 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11440 echo $ac_n "(cached) $ac_c" 1>&6
11443 cat > conftest.$ac_ext <<EOF
11444 #line 11445 "configure"
11445 #include "confdefs.h"
11451 if { (eval echo configure:11452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11453 glibcpp_cv_func___builtin_sinf_link=yes
11455 echo "configure: failed program was:" >&5
11456 cat conftest.$ac_ext >&5
11458 glibcpp_cv_func___builtin_sinf_link=no
11465 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11466 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11467 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11468 cat >> confdefs.h <<EOF
11469 #define ${ac_tr_func} 1
11476 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
11477 echo "configure:11478: checking for __builtin_sin declaration" >&5
11478 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11479 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11480 echo $ac_n "(cached) $ac_c" 1>&6
11485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11486 ac_cpp='$CXXCPP $CPPFLAGS'
11487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11489 cross_compiling=$ac_cv_prog_cxx_cross
11491 cat > conftest.$ac_ext <<EOF
11492 #line 11493 "configure"
11493 #include "confdefs.h"
11499 if { (eval echo configure:11500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11501 glibcpp_cv_func___builtin_sin_use=yes
11503 echo "configure: failed program was:" >&5
11504 cat conftest.$ac_ext >&5
11506 glibcpp_cv_func___builtin_sin_use=no
11510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11511 ac_cpp='$CPP $CPPFLAGS'
11512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11514 cross_compiling=$ac_cv_prog_cc_cross
11520 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11521 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11522 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
11523 echo "configure:11524: checking for __builtin_sin linkage" >&5
11524 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11525 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11526 echo $ac_n "(cached) $ac_c" 1>&6
11529 cat > conftest.$ac_ext <<EOF
11530 #line 11531 "configure"
11531 #include "confdefs.h"
11537 if { (eval echo configure:11538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11539 glibcpp_cv_func___builtin_sin_link=yes
11541 echo "configure: failed program was:" >&5
11542 cat conftest.$ac_ext >&5
11544 glibcpp_cv_func___builtin_sin_link=no
11551 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11552 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11553 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11554 cat >> confdefs.h <<EOF
11555 #define ${ac_tr_func} 1
11562 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
11563 echo "configure:11564: checking for __builtin_sinl declaration" >&5
11564 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11565 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_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___builtin_sinl_use=yes
11589 echo "configure: failed program was:" >&5
11590 cat conftest.$ac_ext >&5
11592 glibcpp_cv_func___builtin_sinl_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___builtin_sinl_use" 1>&6
11607 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11608 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
11609 echo "configure:11610: checking for __builtin_sinl linkage" >&5
11610 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11611 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11612 echo $ac_n "(cached) $ac_c" 1>&6
11615 cat > conftest.$ac_ext <<EOF
11616 #line 11617 "configure"
11617 #include "confdefs.h"
11623 if { (eval echo configure:11624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11625 glibcpp_cv_func___builtin_sinl_link=yes
11627 echo "configure: failed program was:" >&5
11628 cat conftest.$ac_ext >&5
11630 glibcpp_cv_func___builtin_sinl_link=no
11637 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11638 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11639 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11640 cat >> confdefs.h <<EOF
11641 #define ${ac_tr_func} 1
11649 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
11650 echo "configure:11651: checking for __builtin_cosf declaration" >&5
11651 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11652 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11653 echo $ac_n "(cached) $ac_c" 1>&6
11658 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11659 ac_cpp='$CXXCPP $CPPFLAGS'
11660 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11661 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11662 cross_compiling=$ac_cv_prog_cxx_cross
11664 cat > conftest.$ac_ext <<EOF
11665 #line 11666 "configure"
11666 #include "confdefs.h"
11672 if { (eval echo configure:11673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11674 glibcpp_cv_func___builtin_cosf_use=yes
11676 echo "configure: failed program was:" >&5
11677 cat conftest.$ac_ext >&5
11679 glibcpp_cv_func___builtin_cosf_use=no
11683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11684 ac_cpp='$CPP $CPPFLAGS'
11685 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11686 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11687 cross_compiling=$ac_cv_prog_cc_cross
11693 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11694 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11695 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
11696 echo "configure:11697: checking for __builtin_cosf linkage" >&5
11697 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11698 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11699 echo $ac_n "(cached) $ac_c" 1>&6
11702 cat > conftest.$ac_ext <<EOF
11703 #line 11704 "configure"
11704 #include "confdefs.h"
11710 if { (eval echo configure:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11712 glibcpp_cv_func___builtin_cosf_link=yes
11714 echo "configure: failed program was:" >&5
11715 cat conftest.$ac_ext >&5
11717 glibcpp_cv_func___builtin_cosf_link=no
11724 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11725 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11726 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11727 cat >> confdefs.h <<EOF
11728 #define ${ac_tr_func} 1
11735 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
11736 echo "configure:11737: checking for __builtin_cos declaration" >&5
11737 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11738 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11739 echo $ac_n "(cached) $ac_c" 1>&6
11744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11745 ac_cpp='$CXXCPP $CPPFLAGS'
11746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11748 cross_compiling=$ac_cv_prog_cxx_cross
11750 cat > conftest.$ac_ext <<EOF
11751 #line 11752 "configure"
11752 #include "confdefs.h"
11758 if { (eval echo configure:11759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11760 glibcpp_cv_func___builtin_cos_use=yes
11762 echo "configure: failed program was:" >&5
11763 cat conftest.$ac_ext >&5
11765 glibcpp_cv_func___builtin_cos_use=no
11769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11770 ac_cpp='$CPP $CPPFLAGS'
11771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11773 cross_compiling=$ac_cv_prog_cc_cross
11779 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11780 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11781 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
11782 echo "configure:11783: checking for __builtin_cos linkage" >&5
11783 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11784 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11785 echo $ac_n "(cached) $ac_c" 1>&6
11788 cat > conftest.$ac_ext <<EOF
11789 #line 11790 "configure"
11790 #include "confdefs.h"
11796 if { (eval echo configure:11797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11798 glibcpp_cv_func___builtin_cos_link=yes
11800 echo "configure: failed program was:" >&5
11801 cat conftest.$ac_ext >&5
11803 glibcpp_cv_func___builtin_cos_link=no
11810 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11811 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11812 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11813 cat >> confdefs.h <<EOF
11814 #define ${ac_tr_func} 1
11821 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
11822 echo "configure:11823: checking for __builtin_cosl declaration" >&5
11823 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11824 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11825 echo $ac_n "(cached) $ac_c" 1>&6
11830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11831 ac_cpp='$CXXCPP $CPPFLAGS'
11832 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11833 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11834 cross_compiling=$ac_cv_prog_cxx_cross
11836 cat > conftest.$ac_ext <<EOF
11837 #line 11838 "configure"
11838 #include "confdefs.h"
11844 if { (eval echo configure:11845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11846 glibcpp_cv_func___builtin_cosl_use=yes
11848 echo "configure: failed program was:" >&5
11849 cat conftest.$ac_ext >&5
11851 glibcpp_cv_func___builtin_cosl_use=no
11855 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11856 ac_cpp='$CPP $CPPFLAGS'
11857 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11858 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11859 cross_compiling=$ac_cv_prog_cc_cross
11865 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11866 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11867 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
11868 echo "configure:11869: checking for __builtin_cosl linkage" >&5
11869 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11870 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11871 echo $ac_n "(cached) $ac_c" 1>&6
11874 cat > conftest.$ac_ext <<EOF
11875 #line 11876 "configure"
11876 #include "confdefs.h"
11882 if { (eval echo configure:11883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11884 glibcpp_cv_func___builtin_cosl_link=yes
11886 echo "configure: failed program was:" >&5
11887 cat conftest.$ac_ext >&5
11889 glibcpp_cv_func___builtin_cosl_link=no
11896 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11897 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11898 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11899 cat >> confdefs.h <<EOF
11900 #define ${ac_tr_func} 1
11908 if test x$dummyvar = x"yes"; then
11909 cat >> confdefs.h <<\EOF
11910 #define HAVE___BUILTIN_ABS 1
11913 cat >> confdefs.h <<\EOF
11914 #define HAVE___BUILTIN_LABS 1
11917 cat >> confdefs.h <<\EOF
11918 #define HAVE___BUILTIN_COS 1
11921 cat >> confdefs.h <<\EOF
11922 #define HAVE___BUILTIN_COSF 1
11925 cat >> confdefs.h <<\EOF
11926 #define HAVE___BUILTIN_COSL 1
11929 cat >> confdefs.h <<\EOF
11930 #define HAVE___BUILTIN_FABS 1
11933 cat >> confdefs.h <<\EOF
11934 #define HAVE___BUILTIN_FABSF 1
11937 cat >> confdefs.h <<\EOF
11938 #define HAVE___BUILTIN_FABSL 1
11941 cat >> confdefs.h <<\EOF
11942 #define HAVE___BUILTIN_SIN 1
11945 cat >> confdefs.h <<\EOF
11946 #define HAVE___BUILTIN_SINF 1
11949 cat >> confdefs.h <<\EOF
11950 #define HAVE___BUILTIN_SINL 1
11953 cat >> confdefs.h <<\EOF
11954 #define HAVE___BUILTIN_SQRT 1
11957 cat >> confdefs.h <<\EOF
11958 #define HAVE___BUILTIN_SQRTF 1
11961 cat >> confdefs.h <<\EOF
11962 #define HAVE___BUILTIN_SQRTL 1
11968 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11969 ac_save_CXXFLAGS="$CXXFLAGS"
11970 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
11972 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
11973 echo "configure:11974: checking for sin in -lm" >&5
11974 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11975 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11976 echo $ac_n "(cached) $ac_c" 1>&6
11978 ac_save_LIBS="$LIBS"
11980 cat > conftest.$ac_ext <<EOF
11981 #line 11982 "configure"
11982 #include "confdefs.h"
11983 /* Override any gcc2 internal prototype to avoid an error. */
11984 /* We use char because int might match the return type of a gcc2
11985 builtin and then its argument prototype would still apply. */
11992 if { (eval echo configure:11993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11994 eval "ac_cv_lib_$ac_lib_var=yes"
11996 echo "configure: failed program was:" >&5
11997 cat conftest.$ac_ext >&5
11999 eval "ac_cv_lib_$ac_lib_var=no"
12002 LIBS="$ac_save_LIBS"
12005 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12006 echo "$ac_t""yes" 1>&6
12009 echo "$ac_t""no" 1>&6
12012 ac_save_LIBS="$LIBS"
12017 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
12018 echo "configure:12019: checking for isinf declaration" >&5
12019 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
12020 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
12021 echo $ac_n "(cached) $ac_c" 1>&6
12026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12027 ac_cpp='$CXXCPP $CPPFLAGS'
12028 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12029 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12030 cross_compiling=$ac_cv_prog_cxx_cross
12032 cat > conftest.$ac_ext <<EOF
12033 #line 12034 "configure"
12034 #include "confdefs.h"
12036 #ifdef HAVE_IEEEFP_H
12037 #include <ieeefp.h>
12044 if { (eval echo configure:12045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12046 glibcpp_cv_func_isinf_use=yes
12048 echo "configure: failed program was:" >&5
12049 cat conftest.$ac_ext >&5
12051 glibcpp_cv_func_isinf_use=no
12055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12056 ac_cpp='$CPP $CPPFLAGS'
12057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12059 cross_compiling=$ac_cv_prog_cc_cross
12065 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
12067 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
12068 for ac_func in isinf
12070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12071 echo "configure:12072: checking for $ac_func" >&5
12072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12073 echo $ac_n "(cached) $ac_c" 1>&6
12075 cat > conftest.$ac_ext <<EOF
12076 #line 12077 "configure"
12077 #include "confdefs.h"
12078 /* System header to define __stub macros and hopefully few prototypes,
12079 which can conflict with char $ac_func(); below. */
12080 #include <assert.h>
12081 /* Override any gcc2 internal prototype to avoid an error. */
12082 /* We use char because int might match the return type of a gcc2
12083 builtin and then its argument prototype would still apply. */
12088 /* The GNU C library defines this for functions which it implements
12089 to always fail with ENOSYS. Some functions are actually named
12090 something starting with __ and the normal name is an alias. */
12091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12099 if { (eval echo configure:12100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12101 eval "ac_cv_func_$ac_func=yes"
12103 echo "configure: failed program was:" >&5
12104 cat conftest.$ac_ext >&5
12106 eval "ac_cv_func_$ac_func=no"
12111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12112 echo "$ac_t""yes" 1>&6
12113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12114 cat >> confdefs.h <<EOF
12115 #define $ac_tr_func 1
12119 echo "$ac_t""no" 1>&6
12125 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
12126 echo "configure:12127: checking for _isinf declaration" >&5
12127 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
12128 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
12129 echo $ac_n "(cached) $ac_c" 1>&6
12134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12135 ac_cpp='$CXXCPP $CPPFLAGS'
12136 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12137 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12138 cross_compiling=$ac_cv_prog_cxx_cross
12140 cat > conftest.$ac_ext <<EOF
12141 #line 12142 "configure"
12142 #include "confdefs.h"
12144 #ifdef HAVE_IEEEFP_H
12145 #include <ieeefp.h>
12152 if { (eval echo configure:12153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12154 glibcpp_cv_func__isinf_use=yes
12156 echo "configure: failed program was:" >&5
12157 cat conftest.$ac_ext >&5
12159 glibcpp_cv_func__isinf_use=no
12163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12164 ac_cpp='$CPP $CPPFLAGS'
12165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12167 cross_compiling=$ac_cv_prog_cc_cross
12173 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
12175 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
12176 for ac_func in _isinf
12178 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12179 echo "configure:12180: checking for $ac_func" >&5
12180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12181 echo $ac_n "(cached) $ac_c" 1>&6
12183 cat > conftest.$ac_ext <<EOF
12184 #line 12185 "configure"
12185 #include "confdefs.h"
12186 /* System header to define __stub macros and hopefully few prototypes,
12187 which can conflict with char $ac_func(); below. */
12188 #include <assert.h>
12189 /* Override any gcc2 internal prototype to avoid an error. */
12190 /* We use char because int might match the return type of a gcc2
12191 builtin and then its argument prototype would still apply. */
12196 /* The GNU C library defines this for functions which it implements
12197 to always fail with ENOSYS. Some functions are actually named
12198 something starting with __ and the normal name is an alias. */
12199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12207 if { (eval echo configure:12208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12209 eval "ac_cv_func_$ac_func=yes"
12211 echo "configure: failed program was:" >&5
12212 cat conftest.$ac_ext >&5
12214 eval "ac_cv_func_$ac_func=no"
12219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12220 echo "$ac_t""yes" 1>&6
12221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12222 cat >> confdefs.h <<EOF
12223 #define $ac_tr_func 1
12227 echo "$ac_t""no" 1>&6
12236 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
12237 echo "configure:12238: checking for isnan declaration" >&5
12238 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12239 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12240 echo $ac_n "(cached) $ac_c" 1>&6
12245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12246 ac_cpp='$CXXCPP $CPPFLAGS'
12247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12249 cross_compiling=$ac_cv_prog_cxx_cross
12251 cat > conftest.$ac_ext <<EOF
12252 #line 12253 "configure"
12253 #include "confdefs.h"
12255 #ifdef HAVE_IEEEFP_H
12256 #include <ieeefp.h>
12263 if { (eval echo configure:12264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12265 glibcpp_cv_func_isnan_use=yes
12267 echo "configure: failed program was:" >&5
12268 cat conftest.$ac_ext >&5
12270 glibcpp_cv_func_isnan_use=no
12274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12275 ac_cpp='$CPP $CPPFLAGS'
12276 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12277 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12278 cross_compiling=$ac_cv_prog_cc_cross
12284 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12286 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12287 for ac_func in isnan
12289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12290 echo "configure:12291: checking for $ac_func" >&5
12291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12292 echo $ac_n "(cached) $ac_c" 1>&6
12294 cat > conftest.$ac_ext <<EOF
12295 #line 12296 "configure"
12296 #include "confdefs.h"
12297 /* System header to define __stub macros and hopefully few prototypes,
12298 which can conflict with char $ac_func(); below. */
12299 #include <assert.h>
12300 /* Override any gcc2 internal prototype to avoid an error. */
12301 /* We use char because int might match the return type of a gcc2
12302 builtin and then its argument prototype would still apply. */
12307 /* The GNU C library defines this for functions which it implements
12308 to always fail with ENOSYS. Some functions are actually named
12309 something starting with __ and the normal name is an alias. */
12310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12318 if { (eval echo configure:12319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12320 eval "ac_cv_func_$ac_func=yes"
12322 echo "configure: failed program was:" >&5
12323 cat conftest.$ac_ext >&5
12325 eval "ac_cv_func_$ac_func=no"
12330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12331 echo "$ac_t""yes" 1>&6
12332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12333 cat >> confdefs.h <<EOF
12334 #define $ac_tr_func 1
12338 echo "$ac_t""no" 1>&6
12344 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
12345 echo "configure:12346: checking for _isnan declaration" >&5
12346 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12347 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12348 echo $ac_n "(cached) $ac_c" 1>&6
12353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12354 ac_cpp='$CXXCPP $CPPFLAGS'
12355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12357 cross_compiling=$ac_cv_prog_cxx_cross
12359 cat > conftest.$ac_ext <<EOF
12360 #line 12361 "configure"
12361 #include "confdefs.h"
12363 #ifdef HAVE_IEEEFP_H
12364 #include <ieeefp.h>
12371 if { (eval echo configure:12372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12373 glibcpp_cv_func__isnan_use=yes
12375 echo "configure: failed program was:" >&5
12376 cat conftest.$ac_ext >&5
12378 glibcpp_cv_func__isnan_use=no
12382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12383 ac_cpp='$CPP $CPPFLAGS'
12384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12386 cross_compiling=$ac_cv_prog_cc_cross
12392 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12394 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12395 for ac_func in _isnan
12397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12398 echo "configure:12399: checking for $ac_func" >&5
12399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12400 echo $ac_n "(cached) $ac_c" 1>&6
12402 cat > conftest.$ac_ext <<EOF
12403 #line 12404 "configure"
12404 #include "confdefs.h"
12405 /* System header to define __stub macros and hopefully few prototypes,
12406 which can conflict with char $ac_func(); below. */
12407 #include <assert.h>
12408 /* Override any gcc2 internal prototype to avoid an error. */
12409 /* We use char because int might match the return type of a gcc2
12410 builtin and then its argument prototype would still apply. */
12415 /* The GNU C library defines this for functions which it implements
12416 to always fail with ENOSYS. Some functions are actually named
12417 something starting with __ and the normal name is an alias. */
12418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12426 if { (eval echo configure:12427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12428 eval "ac_cv_func_$ac_func=yes"
12430 echo "configure: failed program was:" >&5
12431 cat conftest.$ac_ext >&5
12433 eval "ac_cv_func_$ac_func=no"
12438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12439 echo "$ac_t""yes" 1>&6
12440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12441 cat >> confdefs.h <<EOF
12442 #define $ac_tr_func 1
12446 echo "$ac_t""no" 1>&6
12455 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
12456 echo "configure:12457: checking for finite declaration" >&5
12457 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12458 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12459 echo $ac_n "(cached) $ac_c" 1>&6
12464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12465 ac_cpp='$CXXCPP $CPPFLAGS'
12466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12468 cross_compiling=$ac_cv_prog_cxx_cross
12470 cat > conftest.$ac_ext <<EOF
12471 #line 12472 "configure"
12472 #include "confdefs.h"
12474 #ifdef HAVE_IEEEFP_H
12475 #include <ieeefp.h>
12482 if { (eval echo configure:12483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12484 glibcpp_cv_func_finite_use=yes
12486 echo "configure: failed program was:" >&5
12487 cat conftest.$ac_ext >&5
12489 glibcpp_cv_func_finite_use=no
12493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12494 ac_cpp='$CPP $CPPFLAGS'
12495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12497 cross_compiling=$ac_cv_prog_cc_cross
12503 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12505 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12506 for ac_func in finite
12508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12509 echo "configure:12510: checking for $ac_func" >&5
12510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12511 echo $ac_n "(cached) $ac_c" 1>&6
12513 cat > conftest.$ac_ext <<EOF
12514 #line 12515 "configure"
12515 #include "confdefs.h"
12516 /* System header to define __stub macros and hopefully few prototypes,
12517 which can conflict with char $ac_func(); below. */
12518 #include <assert.h>
12519 /* Override any gcc2 internal prototype to avoid an error. */
12520 /* We use char because int might match the return type of a gcc2
12521 builtin and then its argument prototype would still apply. */
12526 /* The GNU C library defines this for functions which it implements
12527 to always fail with ENOSYS. Some functions are actually named
12528 something starting with __ and the normal name is an alias. */
12529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12537 if { (eval echo configure:12538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12539 eval "ac_cv_func_$ac_func=yes"
12541 echo "configure: failed program was:" >&5
12542 cat conftest.$ac_ext >&5
12544 eval "ac_cv_func_$ac_func=no"
12549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12550 echo "$ac_t""yes" 1>&6
12551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12552 cat >> confdefs.h <<EOF
12553 #define $ac_tr_func 1
12557 echo "$ac_t""no" 1>&6
12563 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
12564 echo "configure:12565: checking for _finite declaration" >&5
12565 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12566 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12567 echo $ac_n "(cached) $ac_c" 1>&6
12572 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12573 ac_cpp='$CXXCPP $CPPFLAGS'
12574 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12575 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12576 cross_compiling=$ac_cv_prog_cxx_cross
12578 cat > conftest.$ac_ext <<EOF
12579 #line 12580 "configure"
12580 #include "confdefs.h"
12582 #ifdef HAVE_IEEEFP_H
12583 #include <ieeefp.h>
12590 if { (eval echo configure:12591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12592 glibcpp_cv_func__finite_use=yes
12594 echo "configure: failed program was:" >&5
12595 cat conftest.$ac_ext >&5
12597 glibcpp_cv_func__finite_use=no
12601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12602 ac_cpp='$CPP $CPPFLAGS'
12603 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12604 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12605 cross_compiling=$ac_cv_prog_cc_cross
12611 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12613 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12614 for ac_func in _finite
12616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12617 echo "configure:12618: checking for $ac_func" >&5
12618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12619 echo $ac_n "(cached) $ac_c" 1>&6
12621 cat > conftest.$ac_ext <<EOF
12622 #line 12623 "configure"
12623 #include "confdefs.h"
12624 /* System header to define __stub macros and hopefully few prototypes,
12625 which can conflict with char $ac_func(); below. */
12626 #include <assert.h>
12627 /* Override any gcc2 internal prototype to avoid an error. */
12628 /* We use char because int might match the return type of a gcc2
12629 builtin and then its argument prototype would still apply. */
12634 /* The GNU C library defines this for functions which it implements
12635 to always fail with ENOSYS. Some functions are actually named
12636 something starting with __ and the normal name is an alias. */
12637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12645 if { (eval echo configure:12646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12647 eval "ac_cv_func_$ac_func=yes"
12649 echo "configure: failed program was:" >&5
12650 cat conftest.$ac_ext >&5
12652 eval "ac_cv_func_$ac_func=no"
12657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12658 echo "$ac_t""yes" 1>&6
12659 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12660 cat >> confdefs.h <<EOF
12661 #define $ac_tr_func 1
12665 echo "$ac_t""no" 1>&6
12674 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
12675 echo "configure:12676: checking for copysign declaration" >&5
12676 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12677 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12678 echo $ac_n "(cached) $ac_c" 1>&6
12683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12684 ac_cpp='$CXXCPP $CPPFLAGS'
12685 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12686 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12687 cross_compiling=$ac_cv_prog_cxx_cross
12689 cat > conftest.$ac_ext <<EOF
12690 #line 12691 "configure"
12691 #include "confdefs.h"
12697 if { (eval echo configure:12698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12699 glibcpp_cv_func_copysign_use=yes
12701 echo "configure: failed program was:" >&5
12702 cat conftest.$ac_ext >&5
12704 glibcpp_cv_func_copysign_use=no
12708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12709 ac_cpp='$CPP $CPPFLAGS'
12710 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12711 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12712 cross_compiling=$ac_cv_prog_cc_cross
12718 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12720 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12721 for ac_func in copysign
12723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12724 echo "configure:12725: checking for $ac_func" >&5
12725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12726 echo $ac_n "(cached) $ac_c" 1>&6
12728 cat > conftest.$ac_ext <<EOF
12729 #line 12730 "configure"
12730 #include "confdefs.h"
12731 /* System header to define __stub macros and hopefully few prototypes,
12732 which can conflict with char $ac_func(); below. */
12733 #include <assert.h>
12734 /* Override any gcc2 internal prototype to avoid an error. */
12735 /* We use char because int might match the return type of a gcc2
12736 builtin and then its argument prototype would still apply. */
12741 /* The GNU C library defines this for functions which it implements
12742 to always fail with ENOSYS. Some functions are actually named
12743 something starting with __ and the normal name is an alias. */
12744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12752 if { (eval echo configure:12753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12754 eval "ac_cv_func_$ac_func=yes"
12756 echo "configure: failed program was:" >&5
12757 cat conftest.$ac_ext >&5
12759 eval "ac_cv_func_$ac_func=no"
12764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12765 echo "$ac_t""yes" 1>&6
12766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12767 cat >> confdefs.h <<EOF
12768 #define $ac_tr_func 1
12772 echo "$ac_t""no" 1>&6
12778 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
12779 echo "configure:12780: checking for _copysign declaration" >&5
12780 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12781 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12782 echo $ac_n "(cached) $ac_c" 1>&6
12787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12788 ac_cpp='$CXXCPP $CPPFLAGS'
12789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12791 cross_compiling=$ac_cv_prog_cxx_cross
12793 cat > conftest.$ac_ext <<EOF
12794 #line 12795 "configure"
12795 #include "confdefs.h"
12801 if { (eval echo configure:12802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12803 glibcpp_cv_func__copysign_use=yes
12805 echo "configure: failed program was:" >&5
12806 cat conftest.$ac_ext >&5
12808 glibcpp_cv_func__copysign_use=no
12812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12813 ac_cpp='$CPP $CPPFLAGS'
12814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12816 cross_compiling=$ac_cv_prog_cc_cross
12822 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12824 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12825 for ac_func in _copysign
12827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12828 echo "configure:12829: checking for $ac_func" >&5
12829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12830 echo $ac_n "(cached) $ac_c" 1>&6
12832 cat > conftest.$ac_ext <<EOF
12833 #line 12834 "configure"
12834 #include "confdefs.h"
12835 /* System header to define __stub macros and hopefully few prototypes,
12836 which can conflict with char $ac_func(); below. */
12837 #include <assert.h>
12838 /* Override any gcc2 internal prototype to avoid an error. */
12839 /* We use char because int might match the return type of a gcc2
12840 builtin and then its argument prototype would still apply. */
12845 /* The GNU C library defines this for functions which it implements
12846 to always fail with ENOSYS. Some functions are actually named
12847 something starting with __ and the normal name is an alias. */
12848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12856 if { (eval echo configure:12857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12858 eval "ac_cv_func_$ac_func=yes"
12860 echo "configure: failed program was:" >&5
12861 cat conftest.$ac_ext >&5
12863 eval "ac_cv_func_$ac_func=no"
12868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12869 echo "$ac_t""yes" 1>&6
12870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12871 cat >> confdefs.h <<EOF
12872 #define $ac_tr_func 1
12876 echo "$ac_t""no" 1>&6
12885 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
12886 echo "configure:12887: checking for sincos declaration" >&5
12887 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12888 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12889 echo $ac_n "(cached) $ac_c" 1>&6
12894 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12895 ac_cpp='$CXXCPP $CPPFLAGS'
12896 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12897 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12898 cross_compiling=$ac_cv_prog_cxx_cross
12900 cat > conftest.$ac_ext <<EOF
12901 #line 12902 "configure"
12902 #include "confdefs.h"
12908 if { (eval echo configure:12909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12910 glibcpp_cv_func_sincos_use=yes
12912 echo "configure: failed program was:" >&5
12913 cat conftest.$ac_ext >&5
12915 glibcpp_cv_func_sincos_use=no
12919 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12920 ac_cpp='$CPP $CPPFLAGS'
12921 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12922 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12923 cross_compiling=$ac_cv_prog_cc_cross
12929 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12931 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12932 for ac_func in sincos
12934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12935 echo "configure:12936: checking for $ac_func" >&5
12936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12937 echo $ac_n "(cached) $ac_c" 1>&6
12939 cat > conftest.$ac_ext <<EOF
12940 #line 12941 "configure"
12941 #include "confdefs.h"
12942 /* System header to define __stub macros and hopefully few prototypes,
12943 which can conflict with char $ac_func(); below. */
12944 #include <assert.h>
12945 /* Override any gcc2 internal prototype to avoid an error. */
12946 /* We use char because int might match the return type of a gcc2
12947 builtin and then its argument prototype would still apply. */
12952 /* The GNU C library defines this for functions which it implements
12953 to always fail with ENOSYS. Some functions are actually named
12954 something starting with __ and the normal name is an alias. */
12955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12963 if { (eval echo configure:12964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12965 eval "ac_cv_func_$ac_func=yes"
12967 echo "configure: failed program was:" >&5
12968 cat conftest.$ac_ext >&5
12970 eval "ac_cv_func_$ac_func=no"
12975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12976 echo "$ac_t""yes" 1>&6
12977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12978 cat >> confdefs.h <<EOF
12979 #define $ac_tr_func 1
12983 echo "$ac_t""no" 1>&6
12989 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
12990 echo "configure:12991: checking for _sincos declaration" >&5
12991 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
12992 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
12993 echo $ac_n "(cached) $ac_c" 1>&6
12998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12999 ac_cpp='$CXXCPP $CPPFLAGS'
13000 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13001 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13002 cross_compiling=$ac_cv_prog_cxx_cross
13004 cat > conftest.$ac_ext <<EOF
13005 #line 13006 "configure"
13006 #include "confdefs.h"
13012 if { (eval echo configure:13013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13014 glibcpp_cv_func__sincos_use=yes
13016 echo "configure: failed program was:" >&5
13017 cat conftest.$ac_ext >&5
13019 glibcpp_cv_func__sincos_use=no
13023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13024 ac_cpp='$CPP $CPPFLAGS'
13025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13027 cross_compiling=$ac_cv_prog_cc_cross
13033 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
13035 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
13036 for ac_func in _sincos
13038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13039 echo "configure:13040: checking for $ac_func" >&5
13040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13041 echo $ac_n "(cached) $ac_c" 1>&6
13043 cat > conftest.$ac_ext <<EOF
13044 #line 13045 "configure"
13045 #include "confdefs.h"
13046 /* System header to define __stub macros and hopefully few prototypes,
13047 which can conflict with char $ac_func(); below. */
13048 #include <assert.h>
13049 /* Override any gcc2 internal prototype to avoid an error. */
13050 /* We use char because int might match the return type of a gcc2
13051 builtin and then its argument prototype would still apply. */
13056 /* The GNU C library defines this for functions which it implements
13057 to always fail with ENOSYS. Some functions are actually named
13058 something starting with __ and the normal name is an alias. */
13059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13067 if { (eval echo configure:13068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13069 eval "ac_cv_func_$ac_func=yes"
13071 echo "configure: failed program was:" >&5
13072 cat conftest.$ac_ext >&5
13074 eval "ac_cv_func_$ac_func=no"
13079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13080 echo "$ac_t""yes" 1>&6
13081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13082 cat >> confdefs.h <<EOF
13083 #define $ac_tr_func 1
13087 echo "$ac_t""no" 1>&6
13096 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
13097 echo "configure:13098: checking for fpclass declaration" >&5
13098 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
13099 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
13100 echo $ac_n "(cached) $ac_c" 1>&6
13105 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13106 ac_cpp='$CXXCPP $CPPFLAGS'
13107 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13108 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13109 cross_compiling=$ac_cv_prog_cxx_cross
13111 cat > conftest.$ac_ext <<EOF
13112 #line 13113 "configure"
13113 #include "confdefs.h"
13115 #ifdef HAVE_IEEEFP_H
13116 #include <ieeefp.h>
13123 if { (eval echo configure:13124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13125 glibcpp_cv_func_fpclass_use=yes
13127 echo "configure: failed program was:" >&5
13128 cat conftest.$ac_ext >&5
13130 glibcpp_cv_func_fpclass_use=no
13134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13135 ac_cpp='$CPP $CPPFLAGS'
13136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13138 cross_compiling=$ac_cv_prog_cc_cross
13144 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
13146 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
13147 for ac_func in fpclass
13149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13150 echo "configure:13151: checking for $ac_func" >&5
13151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13152 echo $ac_n "(cached) $ac_c" 1>&6
13154 cat > conftest.$ac_ext <<EOF
13155 #line 13156 "configure"
13156 #include "confdefs.h"
13157 /* System header to define __stub macros and hopefully few prototypes,
13158 which can conflict with char $ac_func(); below. */
13159 #include <assert.h>
13160 /* Override any gcc2 internal prototype to avoid an error. */
13161 /* We use char because int might match the return type of a gcc2
13162 builtin and then its argument prototype would still apply. */
13167 /* The GNU C library defines this for functions which it implements
13168 to always fail with ENOSYS. Some functions are actually named
13169 something starting with __ and the normal name is an alias. */
13170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13178 if { (eval echo configure:13179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13180 eval "ac_cv_func_$ac_func=yes"
13182 echo "configure: failed program was:" >&5
13183 cat conftest.$ac_ext >&5
13185 eval "ac_cv_func_$ac_func=no"
13190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13191 echo "$ac_t""yes" 1>&6
13192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13193 cat >> confdefs.h <<EOF
13194 #define $ac_tr_func 1
13198 echo "$ac_t""no" 1>&6
13204 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
13205 echo "configure:13206: checking for _fpclass declaration" >&5
13206 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13207 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13208 echo $ac_n "(cached) $ac_c" 1>&6
13213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13214 ac_cpp='$CXXCPP $CPPFLAGS'
13215 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13216 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13217 cross_compiling=$ac_cv_prog_cxx_cross
13219 cat > conftest.$ac_ext <<EOF
13220 #line 13221 "configure"
13221 #include "confdefs.h"
13223 #ifdef HAVE_IEEEFP_H
13224 #include <ieeefp.h>
13231 if { (eval echo configure:13232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13233 glibcpp_cv_func__fpclass_use=yes
13235 echo "configure: failed program was:" >&5
13236 cat conftest.$ac_ext >&5
13238 glibcpp_cv_func__fpclass_use=no
13242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13243 ac_cpp='$CPP $CPPFLAGS'
13244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13246 cross_compiling=$ac_cv_prog_cc_cross
13252 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13254 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13255 for ac_func in _fpclass
13257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13258 echo "configure:13259: checking for $ac_func" >&5
13259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13260 echo $ac_n "(cached) $ac_c" 1>&6
13262 cat > conftest.$ac_ext <<EOF
13263 #line 13264 "configure"
13264 #include "confdefs.h"
13265 /* System header to define __stub macros and hopefully few prototypes,
13266 which can conflict with char $ac_func(); below. */
13267 #include <assert.h>
13268 /* Override any gcc2 internal prototype to avoid an error. */
13269 /* We use char because int might match the return type of a gcc2
13270 builtin and then its argument prototype would still apply. */
13275 /* The GNU C library defines this for functions which it implements
13276 to always fail with ENOSYS. Some functions are actually named
13277 something starting with __ and the normal name is an alias. */
13278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13286 if { (eval echo configure:13287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13288 eval "ac_cv_func_$ac_func=yes"
13290 echo "configure: failed program was:" >&5
13291 cat conftest.$ac_ext >&5
13293 eval "ac_cv_func_$ac_func=no"
13298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13299 echo "$ac_t""yes" 1>&6
13300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13301 cat >> confdefs.h <<EOF
13302 #define $ac_tr_func 1
13306 echo "$ac_t""no" 1>&6
13315 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
13316 echo "configure:13317: checking for qfpclass declaration" >&5
13317 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13318 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13319 echo $ac_n "(cached) $ac_c" 1>&6
13324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13325 ac_cpp='$CXXCPP $CPPFLAGS'
13326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13328 cross_compiling=$ac_cv_prog_cxx_cross
13330 cat > conftest.$ac_ext <<EOF
13331 #line 13332 "configure"
13332 #include "confdefs.h"
13334 #ifdef HAVE_IEEEFP_H
13335 #include <ieeefp.h>
13342 if { (eval echo configure:13343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13344 glibcpp_cv_func_qfpclass_use=yes
13346 echo "configure: failed program was:" >&5
13347 cat conftest.$ac_ext >&5
13349 glibcpp_cv_func_qfpclass_use=no
13353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13354 ac_cpp='$CPP $CPPFLAGS'
13355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13357 cross_compiling=$ac_cv_prog_cc_cross
13363 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13365 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13366 for ac_func in qfpclass
13368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13369 echo "configure:13370: checking for $ac_func" >&5
13370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13371 echo $ac_n "(cached) $ac_c" 1>&6
13373 cat > conftest.$ac_ext <<EOF
13374 #line 13375 "configure"
13375 #include "confdefs.h"
13376 /* System header to define __stub macros and hopefully few prototypes,
13377 which can conflict with char $ac_func(); below. */
13378 #include <assert.h>
13379 /* Override any gcc2 internal prototype to avoid an error. */
13380 /* We use char because int might match the return type of a gcc2
13381 builtin and then its argument prototype would still apply. */
13386 /* The GNU C library defines this for functions which it implements
13387 to always fail with ENOSYS. Some functions are actually named
13388 something starting with __ and the normal name is an alias. */
13389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13397 if { (eval echo configure:13398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13399 eval "ac_cv_func_$ac_func=yes"
13401 echo "configure: failed program was:" >&5
13402 cat conftest.$ac_ext >&5
13404 eval "ac_cv_func_$ac_func=no"
13409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13410 echo "$ac_t""yes" 1>&6
13411 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13412 cat >> confdefs.h <<EOF
13413 #define $ac_tr_func 1
13417 echo "$ac_t""no" 1>&6
13423 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
13424 echo "configure:13425: checking for _qfpclass declaration" >&5
13425 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13426 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13427 echo $ac_n "(cached) $ac_c" 1>&6
13432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13433 ac_cpp='$CXXCPP $CPPFLAGS'
13434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13436 cross_compiling=$ac_cv_prog_cxx_cross
13438 cat > conftest.$ac_ext <<EOF
13439 #line 13440 "configure"
13440 #include "confdefs.h"
13442 #ifdef HAVE_IEEEFP_H
13443 #include <ieeefp.h>
13450 if { (eval echo configure:13451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13452 glibcpp_cv_func__qfpclass_use=yes
13454 echo "configure: failed program was:" >&5
13455 cat conftest.$ac_ext >&5
13457 glibcpp_cv_func__qfpclass_use=no
13461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13462 ac_cpp='$CPP $CPPFLAGS'
13463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13465 cross_compiling=$ac_cv_prog_cc_cross
13471 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13473 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13474 for ac_func in _qfpclass
13476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13477 echo "configure:13478: checking for $ac_func" >&5
13478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13479 echo $ac_n "(cached) $ac_c" 1>&6
13481 cat > conftest.$ac_ext <<EOF
13482 #line 13483 "configure"
13483 #include "confdefs.h"
13484 /* System header to define __stub macros and hopefully few prototypes,
13485 which can conflict with char $ac_func(); below. */
13486 #include <assert.h>
13487 /* Override any gcc2 internal prototype to avoid an error. */
13488 /* We use char because int might match the return type of a gcc2
13489 builtin and then its argument prototype would still apply. */
13494 /* The GNU C library defines this for functions which it implements
13495 to always fail with ENOSYS. Some functions are actually named
13496 something starting with __ and the normal name is an alias. */
13497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13505 if { (eval echo configure:13506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13507 eval "ac_cv_func_$ac_func=yes"
13509 echo "configure: failed program was:" >&5
13510 cat conftest.$ac_ext >&5
13512 eval "ac_cv_func_$ac_func=no"
13517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13518 echo "$ac_t""yes" 1>&6
13519 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13520 cat >> confdefs.h <<EOF
13521 #define $ac_tr_func 1
13525 echo "$ac_t""no" 1>&6
13534 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
13535 echo "configure:13536: checking for hypot declaration" >&5
13536 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13537 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13538 echo $ac_n "(cached) $ac_c" 1>&6
13543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13544 ac_cpp='$CXXCPP $CPPFLAGS'
13545 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13546 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13547 cross_compiling=$ac_cv_prog_cxx_cross
13549 cat > conftest.$ac_ext <<EOF
13550 #line 13551 "configure"
13551 #include "confdefs.h"
13557 if { (eval echo configure:13558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13559 glibcpp_cv_func_hypot_use=yes
13561 echo "configure: failed program was:" >&5
13562 cat conftest.$ac_ext >&5
13564 glibcpp_cv_func_hypot_use=no
13568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13569 ac_cpp='$CPP $CPPFLAGS'
13570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13572 cross_compiling=$ac_cv_prog_cc_cross
13578 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13580 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13581 for ac_func in hypot
13583 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13584 echo "configure:13585: checking for $ac_func" >&5
13585 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13586 echo $ac_n "(cached) $ac_c" 1>&6
13588 cat > conftest.$ac_ext <<EOF
13589 #line 13590 "configure"
13590 #include "confdefs.h"
13591 /* System header to define __stub macros and hopefully few prototypes,
13592 which can conflict with char $ac_func(); below. */
13593 #include <assert.h>
13594 /* Override any gcc2 internal prototype to avoid an error. */
13595 /* We use char because int might match the return type of a gcc2
13596 builtin and then its argument prototype would still apply. */
13601 /* The GNU C library defines this for functions which it implements
13602 to always fail with ENOSYS. Some functions are actually named
13603 something starting with __ and the normal name is an alias. */
13604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13612 if { (eval echo configure:13613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13614 eval "ac_cv_func_$ac_func=yes"
13616 echo "configure: failed program was:" >&5
13617 cat conftest.$ac_ext >&5
13619 eval "ac_cv_func_$ac_func=no"
13624 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13625 echo "$ac_t""yes" 1>&6
13626 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13627 cat >> confdefs.h <<EOF
13628 #define $ac_tr_func 1
13632 echo "$ac_t""no" 1>&6
13638 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
13639 echo "configure:13640: checking for _hypot declaration" >&5
13640 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13641 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13642 echo $ac_n "(cached) $ac_c" 1>&6
13647 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13648 ac_cpp='$CXXCPP $CPPFLAGS'
13649 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13650 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13651 cross_compiling=$ac_cv_prog_cxx_cross
13653 cat > conftest.$ac_ext <<EOF
13654 #line 13655 "configure"
13655 #include "confdefs.h"
13661 if { (eval echo configure:13662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13663 glibcpp_cv_func__hypot_use=yes
13665 echo "configure: failed program was:" >&5
13666 cat conftest.$ac_ext >&5
13668 glibcpp_cv_func__hypot_use=no
13672 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13673 ac_cpp='$CPP $CPPFLAGS'
13674 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13675 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13676 cross_compiling=$ac_cv_prog_cc_cross
13682 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13684 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13685 for ac_func in _hypot
13687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13688 echo "configure:13689: checking for $ac_func" >&5
13689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13690 echo $ac_n "(cached) $ac_c" 1>&6
13692 cat > conftest.$ac_ext <<EOF
13693 #line 13694 "configure"
13694 #include "confdefs.h"
13695 /* System header to define __stub macros and hopefully few prototypes,
13696 which can conflict with char $ac_func(); below. */
13697 #include <assert.h>
13698 /* Override any gcc2 internal prototype to avoid an error. */
13699 /* We use char because int might match the return type of a gcc2
13700 builtin and then its argument prototype would still apply. */
13705 /* The GNU C library defines this for functions which it implements
13706 to always fail with ENOSYS. Some functions are actually named
13707 something starting with __ and the normal name is an alias. */
13708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13716 if { (eval echo configure:13717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13718 eval "ac_cv_func_$ac_func=yes"
13720 echo "configure: failed program was:" >&5
13721 cat conftest.$ac_ext >&5
13723 eval "ac_cv_func_$ac_func=no"
13728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13729 echo "$ac_t""yes" 1>&6
13730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13731 cat >> confdefs.h <<EOF
13732 #define $ac_tr_func 1
13736 echo "$ac_t""no" 1>&6
13745 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
13746 echo "configure:13747: checking for float trig functions" >&5
13747 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13748 echo $ac_n "(cached) $ac_c" 1>&6
13753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13754 ac_cpp='$CXXCPP $CPPFLAGS'
13755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13757 cross_compiling=$ac_cv_prog_cxx_cross
13759 cat > conftest.$ac_ext <<EOF
13760 #line 13761 "configure"
13761 #include "confdefs.h"
13764 `for x in acosf asinf atanf \
13766 coshf sinhf tanhf; do echo "$x (0);"; done`
13769 if { (eval echo configure:13770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13771 glibcpp_cv_func_float_trig_use=yes
13773 echo "configure: failed program was:" >&5
13774 cat conftest.$ac_ext >&5
13776 glibcpp_cv_func_float_trig_use=no
13780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13781 ac_cpp='$CPP $CPPFLAGS'
13782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13784 cross_compiling=$ac_cv_prog_cc_cross
13788 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13789 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13790 for ac_func in acosf asinf atanf \
13794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13795 echo "configure:13796: checking for $ac_func" >&5
13796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13797 echo $ac_n "(cached) $ac_c" 1>&6
13799 cat > conftest.$ac_ext <<EOF
13800 #line 13801 "configure"
13801 #include "confdefs.h"
13802 /* System header to define __stub macros and hopefully few prototypes,
13803 which can conflict with char $ac_func(); below. */
13804 #include <assert.h>
13805 /* Override any gcc2 internal prototype to avoid an error. */
13806 /* We use char because int might match the return type of a gcc2
13807 builtin and then its argument prototype would still apply. */
13812 /* The GNU C library defines this for functions which it implements
13813 to always fail with ENOSYS. Some functions are actually named
13814 something starting with __ and the normal name is an alias. */
13815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13823 if { (eval echo configure:13824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13825 eval "ac_cv_func_$ac_func=yes"
13827 echo "configure: failed program was:" >&5
13828 cat conftest.$ac_ext >&5
13830 eval "ac_cv_func_$ac_func=no"
13835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13836 echo "$ac_t""yes" 1>&6
13837 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13838 cat >> confdefs.h <<EOF
13839 #define $ac_tr_func 1
13843 echo "$ac_t""no" 1>&6
13850 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
13851 echo "configure:13852: checking for float round functions" >&5
13852 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13853 echo $ac_n "(cached) $ac_c" 1>&6
13858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13859 ac_cpp='$CXXCPP $CPPFLAGS'
13860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13862 cross_compiling=$ac_cv_prog_cxx_cross
13864 cat > conftest.$ac_ext <<EOF
13865 #line 13866 "configure"
13866 #include "confdefs.h"
13869 `for x in ceilf floorf; do echo "$x (0);"; done`
13872 if { (eval echo configure:13873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13874 glibcpp_cv_func_float_round_use=yes
13876 echo "configure: failed program was:" >&5
13877 cat conftest.$ac_ext >&5
13879 glibcpp_cv_func_float_round_use=no
13883 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13884 ac_cpp='$CPP $CPPFLAGS'
13885 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13886 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13887 cross_compiling=$ac_cv_prog_cc_cross
13891 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13892 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13893 for ac_func in ceilf floorf
13895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13896 echo "configure:13897: checking for $ac_func" >&5
13897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13898 echo $ac_n "(cached) $ac_c" 1>&6
13900 cat > conftest.$ac_ext <<EOF
13901 #line 13902 "configure"
13902 #include "confdefs.h"
13903 /* System header to define __stub macros and hopefully few prototypes,
13904 which can conflict with char $ac_func(); below. */
13905 #include <assert.h>
13906 /* Override any gcc2 internal prototype to avoid an error. */
13907 /* We use char because int might match the return type of a gcc2
13908 builtin and then its argument prototype would still apply. */
13913 /* The GNU C library defines this for functions which it implements
13914 to always fail with ENOSYS. Some functions are actually named
13915 something starting with __ and the normal name is an alias. */
13916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13924 if { (eval echo configure:13925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13926 eval "ac_cv_func_$ac_func=yes"
13928 echo "configure: failed program was:" >&5
13929 cat conftest.$ac_ext >&5
13931 eval "ac_cv_func_$ac_func=no"
13936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13937 echo "$ac_t""yes" 1>&6
13938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13939 cat >> confdefs.h <<EOF
13940 #define $ac_tr_func 1
13944 echo "$ac_t""no" 1>&6
13952 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
13953 echo "configure:13954: checking for expf declaration" >&5
13954 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13955 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13956 echo $ac_n "(cached) $ac_c" 1>&6
13961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13962 ac_cpp='$CXXCPP $CPPFLAGS'
13963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13965 cross_compiling=$ac_cv_prog_cxx_cross
13967 cat > conftest.$ac_ext <<EOF
13968 #line 13969 "configure"
13969 #include "confdefs.h"
13971 #ifdef HAVE_IEEEFP_H
13972 #include <ieeefp.h>
13979 if { (eval echo configure:13980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13981 glibcpp_cv_func_expf_use=yes
13983 echo "configure: failed program was:" >&5
13984 cat conftest.$ac_ext >&5
13986 glibcpp_cv_func_expf_use=no
13990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13991 ac_cpp='$CPP $CPPFLAGS'
13992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13994 cross_compiling=$ac_cv_prog_cc_cross
14000 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
14002 if test x$glibcpp_cv_func_expf_use = x"yes"; then
14003 for ac_func in expf
14005 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14006 echo "configure:14007: checking for $ac_func" >&5
14007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14008 echo $ac_n "(cached) $ac_c" 1>&6
14010 cat > conftest.$ac_ext <<EOF
14011 #line 14012 "configure"
14012 #include "confdefs.h"
14013 /* System header to define __stub macros and hopefully few prototypes,
14014 which can conflict with char $ac_func(); below. */
14015 #include <assert.h>
14016 /* Override any gcc2 internal prototype to avoid an error. */
14017 /* We use char because int might match the return type of a gcc2
14018 builtin and then its argument prototype would still apply. */
14023 /* The GNU C library defines this for functions which it implements
14024 to always fail with ENOSYS. Some functions are actually named
14025 something starting with __ and the normal name is an alias. */
14026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14034 if { (eval echo configure:14035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14036 eval "ac_cv_func_$ac_func=yes"
14038 echo "configure: failed program was:" >&5
14039 cat conftest.$ac_ext >&5
14041 eval "ac_cv_func_$ac_func=no"
14046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14047 echo "$ac_t""yes" 1>&6
14048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14049 cat >> confdefs.h <<EOF
14050 #define $ac_tr_func 1
14054 echo "$ac_t""no" 1>&6
14060 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
14061 echo "configure:14062: checking for _expf declaration" >&5
14062 if test x${glibcpp_cv_func__expf_use+set} != xset; then
14063 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
14064 echo $ac_n "(cached) $ac_c" 1>&6
14069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14070 ac_cpp='$CXXCPP $CPPFLAGS'
14071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14073 cross_compiling=$ac_cv_prog_cxx_cross
14075 cat > conftest.$ac_ext <<EOF
14076 #line 14077 "configure"
14077 #include "confdefs.h"
14079 #ifdef HAVE_IEEEFP_H
14080 #include <ieeefp.h>
14087 if { (eval echo configure:14088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14089 glibcpp_cv_func__expf_use=yes
14091 echo "configure: failed program was:" >&5
14092 cat conftest.$ac_ext >&5
14094 glibcpp_cv_func__expf_use=no
14098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14099 ac_cpp='$CPP $CPPFLAGS'
14100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14102 cross_compiling=$ac_cv_prog_cc_cross
14108 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
14110 if test x$glibcpp_cv_func__expf_use = x"yes"; then
14111 for ac_func in _expf
14113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14114 echo "configure:14115: checking for $ac_func" >&5
14115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14116 echo $ac_n "(cached) $ac_c" 1>&6
14118 cat > conftest.$ac_ext <<EOF
14119 #line 14120 "configure"
14120 #include "confdefs.h"
14121 /* System header to define __stub macros and hopefully few prototypes,
14122 which can conflict with char $ac_func(); below. */
14123 #include <assert.h>
14124 /* Override any gcc2 internal prototype to avoid an error. */
14125 /* We use char because int might match the return type of a gcc2
14126 builtin and then its argument prototype would still apply. */
14131 /* The GNU C library defines this for functions which it implements
14132 to always fail with ENOSYS. Some functions are actually named
14133 something starting with __ and the normal name is an alias. */
14134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14142 if { (eval echo configure:14143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14144 eval "ac_cv_func_$ac_func=yes"
14146 echo "configure: failed program was:" >&5
14147 cat conftest.$ac_ext >&5
14149 eval "ac_cv_func_$ac_func=no"
14154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14155 echo "$ac_t""yes" 1>&6
14156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14157 cat >> confdefs.h <<EOF
14158 #define $ac_tr_func 1
14162 echo "$ac_t""no" 1>&6
14171 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
14172 echo "configure:14173: checking for isnanf declaration" >&5
14173 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
14174 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
14175 echo $ac_n "(cached) $ac_c" 1>&6
14180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14181 ac_cpp='$CXXCPP $CPPFLAGS'
14182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14184 cross_compiling=$ac_cv_prog_cxx_cross
14186 cat > conftest.$ac_ext <<EOF
14187 #line 14188 "configure"
14188 #include "confdefs.h"
14190 #ifdef HAVE_IEEEFP_H
14191 #include <ieeefp.h>
14198 if { (eval echo configure:14199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14200 glibcpp_cv_func_isnanf_use=yes
14202 echo "configure: failed program was:" >&5
14203 cat conftest.$ac_ext >&5
14205 glibcpp_cv_func_isnanf_use=no
14209 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14210 ac_cpp='$CPP $CPPFLAGS'
14211 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14212 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14213 cross_compiling=$ac_cv_prog_cc_cross
14219 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14221 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14222 for ac_func in isnanf
14224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14225 echo "configure:14226: checking for $ac_func" >&5
14226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14227 echo $ac_n "(cached) $ac_c" 1>&6
14229 cat > conftest.$ac_ext <<EOF
14230 #line 14231 "configure"
14231 #include "confdefs.h"
14232 /* System header to define __stub macros and hopefully few prototypes,
14233 which can conflict with char $ac_func(); below. */
14234 #include <assert.h>
14235 /* Override any gcc2 internal prototype to avoid an error. */
14236 /* We use char because int might match the return type of a gcc2
14237 builtin and then its argument prototype would still apply. */
14242 /* The GNU C library defines this for functions which it implements
14243 to always fail with ENOSYS. Some functions are actually named
14244 something starting with __ and the normal name is an alias. */
14245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14253 if { (eval echo configure:14254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14255 eval "ac_cv_func_$ac_func=yes"
14257 echo "configure: failed program was:" >&5
14258 cat conftest.$ac_ext >&5
14260 eval "ac_cv_func_$ac_func=no"
14265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14266 echo "$ac_t""yes" 1>&6
14267 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14268 cat >> confdefs.h <<EOF
14269 #define $ac_tr_func 1
14273 echo "$ac_t""no" 1>&6
14279 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
14280 echo "configure:14281: checking for _isnanf declaration" >&5
14281 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14282 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14283 echo $ac_n "(cached) $ac_c" 1>&6
14288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14289 ac_cpp='$CXXCPP $CPPFLAGS'
14290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14292 cross_compiling=$ac_cv_prog_cxx_cross
14294 cat > conftest.$ac_ext <<EOF
14295 #line 14296 "configure"
14296 #include "confdefs.h"
14298 #ifdef HAVE_IEEEFP_H
14299 #include <ieeefp.h>
14306 if { (eval echo configure:14307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14308 glibcpp_cv_func__isnanf_use=yes
14310 echo "configure: failed program was:" >&5
14311 cat conftest.$ac_ext >&5
14313 glibcpp_cv_func__isnanf_use=no
14317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14318 ac_cpp='$CPP $CPPFLAGS'
14319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14321 cross_compiling=$ac_cv_prog_cc_cross
14327 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14329 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14330 for ac_func in _isnanf
14332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14333 echo "configure:14334: checking for $ac_func" >&5
14334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14335 echo $ac_n "(cached) $ac_c" 1>&6
14337 cat > conftest.$ac_ext <<EOF
14338 #line 14339 "configure"
14339 #include "confdefs.h"
14340 /* System header to define __stub macros and hopefully few prototypes,
14341 which can conflict with char $ac_func(); below. */
14342 #include <assert.h>
14343 /* Override any gcc2 internal prototype to avoid an error. */
14344 /* We use char because int might match the return type of a gcc2
14345 builtin and then its argument prototype would still apply. */
14350 /* The GNU C library defines this for functions which it implements
14351 to always fail with ENOSYS. Some functions are actually named
14352 something starting with __ and the normal name is an alias. */
14353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14361 if { (eval echo configure:14362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14363 eval "ac_cv_func_$ac_func=yes"
14365 echo "configure: failed program was:" >&5
14366 cat conftest.$ac_ext >&5
14368 eval "ac_cv_func_$ac_func=no"
14373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14374 echo "$ac_t""yes" 1>&6
14375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14376 cat >> confdefs.h <<EOF
14377 #define $ac_tr_func 1
14381 echo "$ac_t""no" 1>&6
14390 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
14391 echo "configure:14392: checking for isinff declaration" >&5
14392 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14393 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14394 echo $ac_n "(cached) $ac_c" 1>&6
14399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14400 ac_cpp='$CXXCPP $CPPFLAGS'
14401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14403 cross_compiling=$ac_cv_prog_cxx_cross
14405 cat > conftest.$ac_ext <<EOF
14406 #line 14407 "configure"
14407 #include "confdefs.h"
14409 #ifdef HAVE_IEEEFP_H
14410 #include <ieeefp.h>
14417 if { (eval echo configure:14418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14419 glibcpp_cv_func_isinff_use=yes
14421 echo "configure: failed program was:" >&5
14422 cat conftest.$ac_ext >&5
14424 glibcpp_cv_func_isinff_use=no
14428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14429 ac_cpp='$CPP $CPPFLAGS'
14430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14432 cross_compiling=$ac_cv_prog_cc_cross
14438 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14440 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14441 for ac_func in isinff
14443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14444 echo "configure:14445: checking for $ac_func" >&5
14445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14446 echo $ac_n "(cached) $ac_c" 1>&6
14448 cat > conftest.$ac_ext <<EOF
14449 #line 14450 "configure"
14450 #include "confdefs.h"
14451 /* System header to define __stub macros and hopefully few prototypes,
14452 which can conflict with char $ac_func(); below. */
14453 #include <assert.h>
14454 /* Override any gcc2 internal prototype to avoid an error. */
14455 /* We use char because int might match the return type of a gcc2
14456 builtin and then its argument prototype would still apply. */
14461 /* The GNU C library defines this for functions which it implements
14462 to always fail with ENOSYS. Some functions are actually named
14463 something starting with __ and the normal name is an alias. */
14464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14472 if { (eval echo configure:14473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14474 eval "ac_cv_func_$ac_func=yes"
14476 echo "configure: failed program was:" >&5
14477 cat conftest.$ac_ext >&5
14479 eval "ac_cv_func_$ac_func=no"
14484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14485 echo "$ac_t""yes" 1>&6
14486 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14487 cat >> confdefs.h <<EOF
14488 #define $ac_tr_func 1
14492 echo "$ac_t""no" 1>&6
14498 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
14499 echo "configure:14500: checking for _isinff declaration" >&5
14500 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14501 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14502 echo $ac_n "(cached) $ac_c" 1>&6
14507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14508 ac_cpp='$CXXCPP $CPPFLAGS'
14509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14511 cross_compiling=$ac_cv_prog_cxx_cross
14513 cat > conftest.$ac_ext <<EOF
14514 #line 14515 "configure"
14515 #include "confdefs.h"
14517 #ifdef HAVE_IEEEFP_H
14518 #include <ieeefp.h>
14525 if { (eval echo configure:14526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14527 glibcpp_cv_func__isinff_use=yes
14529 echo "configure: failed program was:" >&5
14530 cat conftest.$ac_ext >&5
14532 glibcpp_cv_func__isinff_use=no
14536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14537 ac_cpp='$CPP $CPPFLAGS'
14538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14539 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14540 cross_compiling=$ac_cv_prog_cc_cross
14546 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14548 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14549 for ac_func in _isinff
14551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14552 echo "configure:14553: checking for $ac_func" >&5
14553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14554 echo $ac_n "(cached) $ac_c" 1>&6
14556 cat > conftest.$ac_ext <<EOF
14557 #line 14558 "configure"
14558 #include "confdefs.h"
14559 /* System header to define __stub macros and hopefully few prototypes,
14560 which can conflict with char $ac_func(); below. */
14561 #include <assert.h>
14562 /* Override any gcc2 internal prototype to avoid an error. */
14563 /* We use char because int might match the return type of a gcc2
14564 builtin and then its argument prototype would still apply. */
14569 /* The GNU C library defines this for functions which it implements
14570 to always fail with ENOSYS. Some functions are actually named
14571 something starting with __ and the normal name is an alias. */
14572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14580 if { (eval echo configure:14581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14582 eval "ac_cv_func_$ac_func=yes"
14584 echo "configure: failed program was:" >&5
14585 cat conftest.$ac_ext >&5
14587 eval "ac_cv_func_$ac_func=no"
14592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14593 echo "$ac_t""yes" 1>&6
14594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14595 cat >> confdefs.h <<EOF
14596 #define $ac_tr_func 1
14600 echo "$ac_t""no" 1>&6
14609 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
14610 echo "configure:14611: checking for atan2f declaration" >&5
14611 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14612 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14613 echo $ac_n "(cached) $ac_c" 1>&6
14618 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14619 ac_cpp='$CXXCPP $CPPFLAGS'
14620 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14621 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14622 cross_compiling=$ac_cv_prog_cxx_cross
14624 cat > conftest.$ac_ext <<EOF
14625 #line 14626 "configure"
14626 #include "confdefs.h"
14632 if { (eval echo configure:14633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14634 glibcpp_cv_func_atan2f_use=yes
14636 echo "configure: failed program was:" >&5
14637 cat conftest.$ac_ext >&5
14639 glibcpp_cv_func_atan2f_use=no
14643 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14644 ac_cpp='$CPP $CPPFLAGS'
14645 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14646 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14647 cross_compiling=$ac_cv_prog_cc_cross
14653 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14655 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14656 for ac_func in atan2f
14658 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14659 echo "configure:14660: checking for $ac_func" >&5
14660 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14661 echo $ac_n "(cached) $ac_c" 1>&6
14663 cat > conftest.$ac_ext <<EOF
14664 #line 14665 "configure"
14665 #include "confdefs.h"
14666 /* System header to define __stub macros and hopefully few prototypes,
14667 which can conflict with char $ac_func(); below. */
14668 #include <assert.h>
14669 /* Override any gcc2 internal prototype to avoid an error. */
14670 /* We use char because int might match the return type of a gcc2
14671 builtin and then its argument prototype would still apply. */
14676 /* The GNU C library defines this for functions which it implements
14677 to always fail with ENOSYS. Some functions are actually named
14678 something starting with __ and the normal name is an alias. */
14679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14687 if { (eval echo configure:14688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14689 eval "ac_cv_func_$ac_func=yes"
14691 echo "configure: failed program was:" >&5
14692 cat conftest.$ac_ext >&5
14694 eval "ac_cv_func_$ac_func=no"
14699 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14700 echo "$ac_t""yes" 1>&6
14701 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14702 cat >> confdefs.h <<EOF
14703 #define $ac_tr_func 1
14707 echo "$ac_t""no" 1>&6
14713 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
14714 echo "configure:14715: checking for _atan2f declaration" >&5
14715 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14716 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14717 echo $ac_n "(cached) $ac_c" 1>&6
14722 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14723 ac_cpp='$CXXCPP $CPPFLAGS'
14724 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14725 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14726 cross_compiling=$ac_cv_prog_cxx_cross
14728 cat > conftest.$ac_ext <<EOF
14729 #line 14730 "configure"
14730 #include "confdefs.h"
14736 if { (eval echo configure:14737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14738 glibcpp_cv_func__atan2f_use=yes
14740 echo "configure: failed program was:" >&5
14741 cat conftest.$ac_ext >&5
14743 glibcpp_cv_func__atan2f_use=no
14747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14748 ac_cpp='$CPP $CPPFLAGS'
14749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14751 cross_compiling=$ac_cv_prog_cc_cross
14757 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14759 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14760 for ac_func in _atan2f
14762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14763 echo "configure:14764: checking for $ac_func" >&5
14764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14765 echo $ac_n "(cached) $ac_c" 1>&6
14767 cat > conftest.$ac_ext <<EOF
14768 #line 14769 "configure"
14769 #include "confdefs.h"
14770 /* System header to define __stub macros and hopefully few prototypes,
14771 which can conflict with char $ac_func(); below. */
14772 #include <assert.h>
14773 /* Override any gcc2 internal prototype to avoid an error. */
14774 /* We use char because int might match the return type of a gcc2
14775 builtin and then its argument prototype would still apply. */
14780 /* The GNU C library defines this for functions which it implements
14781 to always fail with ENOSYS. Some functions are actually named
14782 something starting with __ and the normal name is an alias. */
14783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14791 if { (eval echo configure:14792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14793 eval "ac_cv_func_$ac_func=yes"
14795 echo "configure: failed program was:" >&5
14796 cat conftest.$ac_ext >&5
14798 eval "ac_cv_func_$ac_func=no"
14803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14804 echo "$ac_t""yes" 1>&6
14805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14806 cat >> confdefs.h <<EOF
14807 #define $ac_tr_func 1
14811 echo "$ac_t""no" 1>&6
14820 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
14821 echo "configure:14822: checking for fabsf declaration" >&5
14822 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14823 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14824 echo $ac_n "(cached) $ac_c" 1>&6
14829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14830 ac_cpp='$CXXCPP $CPPFLAGS'
14831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14833 cross_compiling=$ac_cv_prog_cxx_cross
14835 cat > conftest.$ac_ext <<EOF
14836 #line 14837 "configure"
14837 #include "confdefs.h"
14839 #ifdef HAVE_IEEEFP_H
14840 #include <ieeefp.h>
14847 if { (eval echo configure:14848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14849 glibcpp_cv_func_fabsf_use=yes
14851 echo "configure: failed program was:" >&5
14852 cat conftest.$ac_ext >&5
14854 glibcpp_cv_func_fabsf_use=no
14858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14862 cross_compiling=$ac_cv_prog_cc_cross
14868 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14870 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14871 for ac_func in fabsf
14873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14874 echo "configure:14875: checking for $ac_func" >&5
14875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14876 echo $ac_n "(cached) $ac_c" 1>&6
14878 cat > conftest.$ac_ext <<EOF
14879 #line 14880 "configure"
14880 #include "confdefs.h"
14881 /* System header to define __stub macros and hopefully few prototypes,
14882 which can conflict with char $ac_func(); below. */
14883 #include <assert.h>
14884 /* Override any gcc2 internal prototype to avoid an error. */
14885 /* We use char because int might match the return type of a gcc2
14886 builtin and then its argument prototype would still apply. */
14891 /* The GNU C library defines this for functions which it implements
14892 to always fail with ENOSYS. Some functions are actually named
14893 something starting with __ and the normal name is an alias. */
14894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14902 if { (eval echo configure:14903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14904 eval "ac_cv_func_$ac_func=yes"
14906 echo "configure: failed program was:" >&5
14907 cat conftest.$ac_ext >&5
14909 eval "ac_cv_func_$ac_func=no"
14914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14915 echo "$ac_t""yes" 1>&6
14916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14917 cat >> confdefs.h <<EOF
14918 #define $ac_tr_func 1
14922 echo "$ac_t""no" 1>&6
14928 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
14929 echo "configure:14930: checking for _fabsf declaration" >&5
14930 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14931 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14932 echo $ac_n "(cached) $ac_c" 1>&6
14937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14938 ac_cpp='$CXXCPP $CPPFLAGS'
14939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14941 cross_compiling=$ac_cv_prog_cxx_cross
14943 cat > conftest.$ac_ext <<EOF
14944 #line 14945 "configure"
14945 #include "confdefs.h"
14947 #ifdef HAVE_IEEEFP_H
14948 #include <ieeefp.h>
14955 if { (eval echo configure:14956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14957 glibcpp_cv_func__fabsf_use=yes
14959 echo "configure: failed program was:" >&5
14960 cat conftest.$ac_ext >&5
14962 glibcpp_cv_func__fabsf_use=no
14966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14967 ac_cpp='$CPP $CPPFLAGS'
14968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14970 cross_compiling=$ac_cv_prog_cc_cross
14976 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14978 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14979 for ac_func in _fabsf
14981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14982 echo "configure:14983: checking for $ac_func" >&5
14983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14984 echo $ac_n "(cached) $ac_c" 1>&6
14986 cat > conftest.$ac_ext <<EOF
14987 #line 14988 "configure"
14988 #include "confdefs.h"
14989 /* System header to define __stub macros and hopefully few prototypes,
14990 which can conflict with char $ac_func(); below. */
14991 #include <assert.h>
14992 /* Override any gcc2 internal prototype to avoid an error. */
14993 /* We use char because int might match the return type of a gcc2
14994 builtin and then its argument prototype would still apply. */
14999 /* The GNU C library defines this for functions which it implements
15000 to always fail with ENOSYS. Some functions are actually named
15001 something starting with __ and the normal name is an alias. */
15002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15010 if { (eval echo configure:15011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15012 eval "ac_cv_func_$ac_func=yes"
15014 echo "configure: failed program was:" >&5
15015 cat conftest.$ac_ext >&5
15017 eval "ac_cv_func_$ac_func=no"
15022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15023 echo "$ac_t""yes" 1>&6
15024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15025 cat >> confdefs.h <<EOF
15026 #define $ac_tr_func 1
15030 echo "$ac_t""no" 1>&6
15039 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
15040 echo "configure:15041: checking for fmodf declaration" >&5
15041 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
15042 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
15043 echo $ac_n "(cached) $ac_c" 1>&6
15048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15049 ac_cpp='$CXXCPP $CPPFLAGS'
15050 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15051 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15052 cross_compiling=$ac_cv_prog_cxx_cross
15054 cat > conftest.$ac_ext <<EOF
15055 #line 15056 "configure"
15056 #include "confdefs.h"
15062 if { (eval echo configure:15063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15064 glibcpp_cv_func_fmodf_use=yes
15066 echo "configure: failed program was:" >&5
15067 cat conftest.$ac_ext >&5
15069 glibcpp_cv_func_fmodf_use=no
15073 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15074 ac_cpp='$CPP $CPPFLAGS'
15075 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15076 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15077 cross_compiling=$ac_cv_prog_cc_cross
15083 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
15085 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
15086 for ac_func in fmodf
15088 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15089 echo "configure:15090: checking for $ac_func" >&5
15090 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15091 echo $ac_n "(cached) $ac_c" 1>&6
15093 cat > conftest.$ac_ext <<EOF
15094 #line 15095 "configure"
15095 #include "confdefs.h"
15096 /* System header to define __stub macros and hopefully few prototypes,
15097 which can conflict with char $ac_func(); below. */
15098 #include <assert.h>
15099 /* Override any gcc2 internal prototype to avoid an error. */
15100 /* We use char because int might match the return type of a gcc2
15101 builtin and then its argument prototype would still apply. */
15106 /* The GNU C library defines this for functions which it implements
15107 to always fail with ENOSYS. Some functions are actually named
15108 something starting with __ and the normal name is an alias. */
15109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15117 if { (eval echo configure:15118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15119 eval "ac_cv_func_$ac_func=yes"
15121 echo "configure: failed program was:" >&5
15122 cat conftest.$ac_ext >&5
15124 eval "ac_cv_func_$ac_func=no"
15129 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15130 echo "$ac_t""yes" 1>&6
15131 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15132 cat >> confdefs.h <<EOF
15133 #define $ac_tr_func 1
15137 echo "$ac_t""no" 1>&6
15143 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
15144 echo "configure:15145: checking for _fmodf declaration" >&5
15145 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
15146 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
15147 echo $ac_n "(cached) $ac_c" 1>&6
15152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15153 ac_cpp='$CXXCPP $CPPFLAGS'
15154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15156 cross_compiling=$ac_cv_prog_cxx_cross
15158 cat > conftest.$ac_ext <<EOF
15159 #line 15160 "configure"
15160 #include "confdefs.h"
15166 if { (eval echo configure:15167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15168 glibcpp_cv_func__fmodf_use=yes
15170 echo "configure: failed program was:" >&5
15171 cat conftest.$ac_ext >&5
15173 glibcpp_cv_func__fmodf_use=no
15177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15178 ac_cpp='$CPP $CPPFLAGS'
15179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15181 cross_compiling=$ac_cv_prog_cc_cross
15187 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
15189 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
15190 for ac_func in _fmodf
15192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15193 echo "configure:15194: checking for $ac_func" >&5
15194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15195 echo $ac_n "(cached) $ac_c" 1>&6
15197 cat > conftest.$ac_ext <<EOF
15198 #line 15199 "configure"
15199 #include "confdefs.h"
15200 /* System header to define __stub macros and hopefully few prototypes,
15201 which can conflict with char $ac_func(); below. */
15202 #include <assert.h>
15203 /* Override any gcc2 internal prototype to avoid an error. */
15204 /* We use char because int might match the return type of a gcc2
15205 builtin and then its argument prototype would still apply. */
15210 /* The GNU C library defines this for functions which it implements
15211 to always fail with ENOSYS. Some functions are actually named
15212 something starting with __ and the normal name is an alias. */
15213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15221 if { (eval echo configure:15222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15223 eval "ac_cv_func_$ac_func=yes"
15225 echo "configure: failed program was:" >&5
15226 cat conftest.$ac_ext >&5
15228 eval "ac_cv_func_$ac_func=no"
15233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15234 echo "$ac_t""yes" 1>&6
15235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15236 cat >> confdefs.h <<EOF
15237 #define $ac_tr_func 1
15241 echo "$ac_t""no" 1>&6
15250 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
15251 echo "configure:15252: checking for frexpf declaration" >&5
15252 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15253 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15254 echo $ac_n "(cached) $ac_c" 1>&6
15259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15260 ac_cpp='$CXXCPP $CPPFLAGS'
15261 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15262 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15263 cross_compiling=$ac_cv_prog_cxx_cross
15265 cat > conftest.$ac_ext <<EOF
15266 #line 15267 "configure"
15267 #include "confdefs.h"
15273 if { (eval echo configure:15274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15275 glibcpp_cv_func_frexpf_use=yes
15277 echo "configure: failed program was:" >&5
15278 cat conftest.$ac_ext >&5
15280 glibcpp_cv_func_frexpf_use=no
15284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15285 ac_cpp='$CPP $CPPFLAGS'
15286 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15287 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15288 cross_compiling=$ac_cv_prog_cc_cross
15294 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15296 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15297 for ac_func in frexpf
15299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15300 echo "configure:15301: checking for $ac_func" >&5
15301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15302 echo $ac_n "(cached) $ac_c" 1>&6
15304 cat > conftest.$ac_ext <<EOF
15305 #line 15306 "configure"
15306 #include "confdefs.h"
15307 /* System header to define __stub macros and hopefully few prototypes,
15308 which can conflict with char $ac_func(); below. */
15309 #include <assert.h>
15310 /* Override any gcc2 internal prototype to avoid an error. */
15311 /* We use char because int might match the return type of a gcc2
15312 builtin and then its argument prototype would still apply. */
15317 /* The GNU C library defines this for functions which it implements
15318 to always fail with ENOSYS. Some functions are actually named
15319 something starting with __ and the normal name is an alias. */
15320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15328 if { (eval echo configure:15329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15330 eval "ac_cv_func_$ac_func=yes"
15332 echo "configure: failed program was:" >&5
15333 cat conftest.$ac_ext >&5
15335 eval "ac_cv_func_$ac_func=no"
15340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15341 echo "$ac_t""yes" 1>&6
15342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15343 cat >> confdefs.h <<EOF
15344 #define $ac_tr_func 1
15348 echo "$ac_t""no" 1>&6
15354 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
15355 echo "configure:15356: checking for _frexpf declaration" >&5
15356 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15357 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15358 echo $ac_n "(cached) $ac_c" 1>&6
15363 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15364 ac_cpp='$CXXCPP $CPPFLAGS'
15365 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15366 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15367 cross_compiling=$ac_cv_prog_cxx_cross
15369 cat > conftest.$ac_ext <<EOF
15370 #line 15371 "configure"
15371 #include "confdefs.h"
15377 if { (eval echo configure:15378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15379 glibcpp_cv_func__frexpf_use=yes
15381 echo "configure: failed program was:" >&5
15382 cat conftest.$ac_ext >&5
15384 glibcpp_cv_func__frexpf_use=no
15388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15392 cross_compiling=$ac_cv_prog_cc_cross
15398 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15400 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15401 for ac_func in _frexpf
15403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15404 echo "configure:15405: checking for $ac_func" >&5
15405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15406 echo $ac_n "(cached) $ac_c" 1>&6
15408 cat > conftest.$ac_ext <<EOF
15409 #line 15410 "configure"
15410 #include "confdefs.h"
15411 /* System header to define __stub macros and hopefully few prototypes,
15412 which can conflict with char $ac_func(); below. */
15413 #include <assert.h>
15414 /* Override any gcc2 internal prototype to avoid an error. */
15415 /* We use char because int might match the return type of a gcc2
15416 builtin and then its argument prototype would still apply. */
15421 /* The GNU C library defines this for functions which it implements
15422 to always fail with ENOSYS. Some functions are actually named
15423 something starting with __ and the normal name is an alias. */
15424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15432 if { (eval echo configure:15433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15434 eval "ac_cv_func_$ac_func=yes"
15436 echo "configure: failed program was:" >&5
15437 cat conftest.$ac_ext >&5
15439 eval "ac_cv_func_$ac_func=no"
15444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15445 echo "$ac_t""yes" 1>&6
15446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15447 cat >> confdefs.h <<EOF
15448 #define $ac_tr_func 1
15452 echo "$ac_t""no" 1>&6
15461 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
15462 echo "configure:15463: checking for hypotf declaration" >&5
15463 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15464 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15465 echo $ac_n "(cached) $ac_c" 1>&6
15470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15471 ac_cpp='$CXXCPP $CPPFLAGS'
15472 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15473 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15474 cross_compiling=$ac_cv_prog_cxx_cross
15476 cat > conftest.$ac_ext <<EOF
15477 #line 15478 "configure"
15478 #include "confdefs.h"
15484 if { (eval echo configure:15485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15486 glibcpp_cv_func_hypotf_use=yes
15488 echo "configure: failed program was:" >&5
15489 cat conftest.$ac_ext >&5
15491 glibcpp_cv_func_hypotf_use=no
15495 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15496 ac_cpp='$CPP $CPPFLAGS'
15497 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15498 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15499 cross_compiling=$ac_cv_prog_cc_cross
15505 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15507 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15508 for ac_func in hypotf
15510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15511 echo "configure:15512: checking for $ac_func" >&5
15512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15513 echo $ac_n "(cached) $ac_c" 1>&6
15515 cat > conftest.$ac_ext <<EOF
15516 #line 15517 "configure"
15517 #include "confdefs.h"
15518 /* System header to define __stub macros and hopefully few prototypes,
15519 which can conflict with char $ac_func(); below. */
15520 #include <assert.h>
15521 /* Override any gcc2 internal prototype to avoid an error. */
15522 /* We use char because int might match the return type of a gcc2
15523 builtin and then its argument prototype would still apply. */
15528 /* The GNU C library defines this for functions which it implements
15529 to always fail with ENOSYS. Some functions are actually named
15530 something starting with __ and the normal name is an alias. */
15531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15539 if { (eval echo configure:15540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15541 eval "ac_cv_func_$ac_func=yes"
15543 echo "configure: failed program was:" >&5
15544 cat conftest.$ac_ext >&5
15546 eval "ac_cv_func_$ac_func=no"
15551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15552 echo "$ac_t""yes" 1>&6
15553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15554 cat >> confdefs.h <<EOF
15555 #define $ac_tr_func 1
15559 echo "$ac_t""no" 1>&6
15565 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
15566 echo "configure:15567: checking for _hypotf declaration" >&5
15567 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15568 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15569 echo $ac_n "(cached) $ac_c" 1>&6
15574 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15575 ac_cpp='$CXXCPP $CPPFLAGS'
15576 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15577 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15578 cross_compiling=$ac_cv_prog_cxx_cross
15580 cat > conftest.$ac_ext <<EOF
15581 #line 15582 "configure"
15582 #include "confdefs.h"
15588 if { (eval echo configure:15589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15590 glibcpp_cv_func__hypotf_use=yes
15592 echo "configure: failed program was:" >&5
15593 cat conftest.$ac_ext >&5
15595 glibcpp_cv_func__hypotf_use=no
15599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15600 ac_cpp='$CPP $CPPFLAGS'
15601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15603 cross_compiling=$ac_cv_prog_cc_cross
15609 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15611 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15612 for ac_func in _hypotf
15614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15615 echo "configure:15616: checking for $ac_func" >&5
15616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15617 echo $ac_n "(cached) $ac_c" 1>&6
15619 cat > conftest.$ac_ext <<EOF
15620 #line 15621 "configure"
15621 #include "confdefs.h"
15622 /* System header to define __stub macros and hopefully few prototypes,
15623 which can conflict with char $ac_func(); below. */
15624 #include <assert.h>
15625 /* Override any gcc2 internal prototype to avoid an error. */
15626 /* We use char because int might match the return type of a gcc2
15627 builtin and then its argument prototype would still apply. */
15632 /* The GNU C library defines this for functions which it implements
15633 to always fail with ENOSYS. Some functions are actually named
15634 something starting with __ and the normal name is an alias. */
15635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15643 if { (eval echo configure:15644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15645 eval "ac_cv_func_$ac_func=yes"
15647 echo "configure: failed program was:" >&5
15648 cat conftest.$ac_ext >&5
15650 eval "ac_cv_func_$ac_func=no"
15655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15656 echo "$ac_t""yes" 1>&6
15657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15658 cat >> confdefs.h <<EOF
15659 #define $ac_tr_func 1
15663 echo "$ac_t""no" 1>&6
15672 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
15673 echo "configure:15674: checking for ldexpf declaration" >&5
15674 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15675 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15676 echo $ac_n "(cached) $ac_c" 1>&6
15681 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15682 ac_cpp='$CXXCPP $CPPFLAGS'
15683 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15684 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15685 cross_compiling=$ac_cv_prog_cxx_cross
15687 cat > conftest.$ac_ext <<EOF
15688 #line 15689 "configure"
15689 #include "confdefs.h"
15695 if { (eval echo configure:15696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15697 glibcpp_cv_func_ldexpf_use=yes
15699 echo "configure: failed program was:" >&5
15700 cat conftest.$ac_ext >&5
15702 glibcpp_cv_func_ldexpf_use=no
15706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15709 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15710 cross_compiling=$ac_cv_prog_cc_cross
15716 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15718 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15719 for ac_func in ldexpf
15721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15722 echo "configure:15723: checking for $ac_func" >&5
15723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15724 echo $ac_n "(cached) $ac_c" 1>&6
15726 cat > conftest.$ac_ext <<EOF
15727 #line 15728 "configure"
15728 #include "confdefs.h"
15729 /* System header to define __stub macros and hopefully few prototypes,
15730 which can conflict with char $ac_func(); below. */
15731 #include <assert.h>
15732 /* Override any gcc2 internal prototype to avoid an error. */
15733 /* We use char because int might match the return type of a gcc2
15734 builtin and then its argument prototype would still apply. */
15739 /* The GNU C library defines this for functions which it implements
15740 to always fail with ENOSYS. Some functions are actually named
15741 something starting with __ and the normal name is an alias. */
15742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15750 if { (eval echo configure:15751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15752 eval "ac_cv_func_$ac_func=yes"
15754 echo "configure: failed program was:" >&5
15755 cat conftest.$ac_ext >&5
15757 eval "ac_cv_func_$ac_func=no"
15762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15763 echo "$ac_t""yes" 1>&6
15764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15765 cat >> confdefs.h <<EOF
15766 #define $ac_tr_func 1
15770 echo "$ac_t""no" 1>&6
15776 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
15777 echo "configure:15778: checking for _ldexpf declaration" >&5
15778 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15779 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15780 echo $ac_n "(cached) $ac_c" 1>&6
15785 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15786 ac_cpp='$CXXCPP $CPPFLAGS'
15787 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15788 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15789 cross_compiling=$ac_cv_prog_cxx_cross
15791 cat > conftest.$ac_ext <<EOF
15792 #line 15793 "configure"
15793 #include "confdefs.h"
15799 if { (eval echo configure:15800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15801 glibcpp_cv_func__ldexpf_use=yes
15803 echo "configure: failed program was:" >&5
15804 cat conftest.$ac_ext >&5
15806 glibcpp_cv_func__ldexpf_use=no
15810 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15811 ac_cpp='$CPP $CPPFLAGS'
15812 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15813 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15814 cross_compiling=$ac_cv_prog_cc_cross
15820 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15822 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15823 for ac_func in _ldexpf
15825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15826 echo "configure:15827: checking for $ac_func" >&5
15827 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15828 echo $ac_n "(cached) $ac_c" 1>&6
15830 cat > conftest.$ac_ext <<EOF
15831 #line 15832 "configure"
15832 #include "confdefs.h"
15833 /* System header to define __stub macros and hopefully few prototypes,
15834 which can conflict with char $ac_func(); below. */
15835 #include <assert.h>
15836 /* Override any gcc2 internal prototype to avoid an error. */
15837 /* We use char because int might match the return type of a gcc2
15838 builtin and then its argument prototype would still apply. */
15843 /* The GNU C library defines this for functions which it implements
15844 to always fail with ENOSYS. Some functions are actually named
15845 something starting with __ and the normal name is an alias. */
15846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15854 if { (eval echo configure:15855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15856 eval "ac_cv_func_$ac_func=yes"
15858 echo "configure: failed program was:" >&5
15859 cat conftest.$ac_ext >&5
15861 eval "ac_cv_func_$ac_func=no"
15866 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15867 echo "$ac_t""yes" 1>&6
15868 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15869 cat >> confdefs.h <<EOF
15870 #define $ac_tr_func 1
15874 echo "$ac_t""no" 1>&6
15883 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
15884 echo "configure:15885: checking for logf declaration" >&5
15885 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15886 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15887 echo $ac_n "(cached) $ac_c" 1>&6
15892 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15893 ac_cpp='$CXXCPP $CPPFLAGS'
15894 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15895 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15896 cross_compiling=$ac_cv_prog_cxx_cross
15898 cat > conftest.$ac_ext <<EOF
15899 #line 15900 "configure"
15900 #include "confdefs.h"
15902 #ifdef HAVE_IEEEFP_H
15903 #include <ieeefp.h>
15910 if { (eval echo configure:15911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15912 glibcpp_cv_func_logf_use=yes
15914 echo "configure: failed program was:" >&5
15915 cat conftest.$ac_ext >&5
15917 glibcpp_cv_func_logf_use=no
15921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15922 ac_cpp='$CPP $CPPFLAGS'
15923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15925 cross_compiling=$ac_cv_prog_cc_cross
15931 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15933 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15934 for ac_func in logf
15936 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15937 echo "configure:15938: checking for $ac_func" >&5
15938 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15939 echo $ac_n "(cached) $ac_c" 1>&6
15941 cat > conftest.$ac_ext <<EOF
15942 #line 15943 "configure"
15943 #include "confdefs.h"
15944 /* System header to define __stub macros and hopefully few prototypes,
15945 which can conflict with char $ac_func(); below. */
15946 #include <assert.h>
15947 /* Override any gcc2 internal prototype to avoid an error. */
15948 /* We use char because int might match the return type of a gcc2
15949 builtin and then its argument prototype would still apply. */
15954 /* The GNU C library defines this for functions which it implements
15955 to always fail with ENOSYS. Some functions are actually named
15956 something starting with __ and the normal name is an alias. */
15957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15965 if { (eval echo configure:15966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15967 eval "ac_cv_func_$ac_func=yes"
15969 echo "configure: failed program was:" >&5
15970 cat conftest.$ac_ext >&5
15972 eval "ac_cv_func_$ac_func=no"
15977 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15978 echo "$ac_t""yes" 1>&6
15979 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15980 cat >> confdefs.h <<EOF
15981 #define $ac_tr_func 1
15985 echo "$ac_t""no" 1>&6
15991 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
15992 echo "configure:15993: checking for _logf declaration" >&5
15993 if test x${glibcpp_cv_func__logf_use+set} != xset; then
15994 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
15995 echo $ac_n "(cached) $ac_c" 1>&6
16000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16001 ac_cpp='$CXXCPP $CPPFLAGS'
16002 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16003 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16004 cross_compiling=$ac_cv_prog_cxx_cross
16006 cat > conftest.$ac_ext <<EOF
16007 #line 16008 "configure"
16008 #include "confdefs.h"
16010 #ifdef HAVE_IEEEFP_H
16011 #include <ieeefp.h>
16018 if { (eval echo configure:16019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16020 glibcpp_cv_func__logf_use=yes
16022 echo "configure: failed program was:" >&5
16023 cat conftest.$ac_ext >&5
16025 glibcpp_cv_func__logf_use=no
16029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16030 ac_cpp='$CPP $CPPFLAGS'
16031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16033 cross_compiling=$ac_cv_prog_cc_cross
16039 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
16041 if test x$glibcpp_cv_func__logf_use = x"yes"; then
16042 for ac_func in _logf
16044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16045 echo "configure:16046: checking for $ac_func" >&5
16046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16047 echo $ac_n "(cached) $ac_c" 1>&6
16049 cat > conftest.$ac_ext <<EOF
16050 #line 16051 "configure"
16051 #include "confdefs.h"
16052 /* System header to define __stub macros and hopefully few prototypes,
16053 which can conflict with char $ac_func(); below. */
16054 #include <assert.h>
16055 /* Override any gcc2 internal prototype to avoid an error. */
16056 /* We use char because int might match the return type of a gcc2
16057 builtin and then its argument prototype would still apply. */
16062 /* The GNU C library defines this for functions which it implements
16063 to always fail with ENOSYS. Some functions are actually named
16064 something starting with __ and the normal name is an alias. */
16065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16073 if { (eval echo configure:16074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16075 eval "ac_cv_func_$ac_func=yes"
16077 echo "configure: failed program was:" >&5
16078 cat conftest.$ac_ext >&5
16080 eval "ac_cv_func_$ac_func=no"
16085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16086 echo "$ac_t""yes" 1>&6
16087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16088 cat >> confdefs.h <<EOF
16089 #define $ac_tr_func 1
16093 echo "$ac_t""no" 1>&6
16102 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
16103 echo "configure:16104: checking for log10f declaration" >&5
16104 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
16105 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
16106 echo $ac_n "(cached) $ac_c" 1>&6
16111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16112 ac_cpp='$CXXCPP $CPPFLAGS'
16113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16115 cross_compiling=$ac_cv_prog_cxx_cross
16117 cat > conftest.$ac_ext <<EOF
16118 #line 16119 "configure"
16119 #include "confdefs.h"
16121 #ifdef HAVE_IEEEFP_H
16122 #include <ieeefp.h>
16129 if { (eval echo configure:16130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16131 glibcpp_cv_func_log10f_use=yes
16133 echo "configure: failed program was:" >&5
16134 cat conftest.$ac_ext >&5
16136 glibcpp_cv_func_log10f_use=no
16140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16141 ac_cpp='$CPP $CPPFLAGS'
16142 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16143 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16144 cross_compiling=$ac_cv_prog_cc_cross
16150 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
16152 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
16153 for ac_func in log10f
16155 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16156 echo "configure:16157: checking for $ac_func" >&5
16157 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16158 echo $ac_n "(cached) $ac_c" 1>&6
16160 cat > conftest.$ac_ext <<EOF
16161 #line 16162 "configure"
16162 #include "confdefs.h"
16163 /* System header to define __stub macros and hopefully few prototypes,
16164 which can conflict with char $ac_func(); below. */
16165 #include <assert.h>
16166 /* Override any gcc2 internal prototype to avoid an error. */
16167 /* We use char because int might match the return type of a gcc2
16168 builtin and then its argument prototype would still apply. */
16173 /* The GNU C library defines this for functions which it implements
16174 to always fail with ENOSYS. Some functions are actually named
16175 something starting with __ and the normal name is an alias. */
16176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16184 if { (eval echo configure:16185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16186 eval "ac_cv_func_$ac_func=yes"
16188 echo "configure: failed program was:" >&5
16189 cat conftest.$ac_ext >&5
16191 eval "ac_cv_func_$ac_func=no"
16196 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16197 echo "$ac_t""yes" 1>&6
16198 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16199 cat >> confdefs.h <<EOF
16200 #define $ac_tr_func 1
16204 echo "$ac_t""no" 1>&6
16210 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
16211 echo "configure:16212: checking for _log10f declaration" >&5
16212 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16213 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16214 echo $ac_n "(cached) $ac_c" 1>&6
16219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16220 ac_cpp='$CXXCPP $CPPFLAGS'
16221 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16222 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16223 cross_compiling=$ac_cv_prog_cxx_cross
16225 cat > conftest.$ac_ext <<EOF
16226 #line 16227 "configure"
16227 #include "confdefs.h"
16229 #ifdef HAVE_IEEEFP_H
16230 #include <ieeefp.h>
16237 if { (eval echo configure:16238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16239 glibcpp_cv_func__log10f_use=yes
16241 echo "configure: failed program was:" >&5
16242 cat conftest.$ac_ext >&5
16244 glibcpp_cv_func__log10f_use=no
16248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16249 ac_cpp='$CPP $CPPFLAGS'
16250 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16251 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16252 cross_compiling=$ac_cv_prog_cc_cross
16258 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16260 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16261 for ac_func in _log10f
16263 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16264 echo "configure:16265: checking for $ac_func" >&5
16265 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16266 echo $ac_n "(cached) $ac_c" 1>&6
16268 cat > conftest.$ac_ext <<EOF
16269 #line 16270 "configure"
16270 #include "confdefs.h"
16271 /* System header to define __stub macros and hopefully few prototypes,
16272 which can conflict with char $ac_func(); below. */
16273 #include <assert.h>
16274 /* Override any gcc2 internal prototype to avoid an error. */
16275 /* We use char because int might match the return type of a gcc2
16276 builtin and then its argument prototype would still apply. */
16281 /* The GNU C library defines this for functions which it implements
16282 to always fail with ENOSYS. Some functions are actually named
16283 something starting with __ and the normal name is an alias. */
16284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16292 if { (eval echo configure:16293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16294 eval "ac_cv_func_$ac_func=yes"
16296 echo "configure: failed program was:" >&5
16297 cat conftest.$ac_ext >&5
16299 eval "ac_cv_func_$ac_func=no"
16304 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16305 echo "$ac_t""yes" 1>&6
16306 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16307 cat >> confdefs.h <<EOF
16308 #define $ac_tr_func 1
16312 echo "$ac_t""no" 1>&6
16321 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
16322 echo "configure:16323: checking for modff declaration" >&5
16323 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16324 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16325 echo $ac_n "(cached) $ac_c" 1>&6
16330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16331 ac_cpp='$CXXCPP $CPPFLAGS'
16332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16334 cross_compiling=$ac_cv_prog_cxx_cross
16336 cat > conftest.$ac_ext <<EOF
16337 #line 16338 "configure"
16338 #include "confdefs.h"
16344 if { (eval echo configure:16345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16346 glibcpp_cv_func_modff_use=yes
16348 echo "configure: failed program was:" >&5
16349 cat conftest.$ac_ext >&5
16351 glibcpp_cv_func_modff_use=no
16355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16356 ac_cpp='$CPP $CPPFLAGS'
16357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16359 cross_compiling=$ac_cv_prog_cc_cross
16365 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16367 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16368 for ac_func in modff
16370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16371 echo "configure:16372: checking for $ac_func" >&5
16372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16373 echo $ac_n "(cached) $ac_c" 1>&6
16375 cat > conftest.$ac_ext <<EOF
16376 #line 16377 "configure"
16377 #include "confdefs.h"
16378 /* System header to define __stub macros and hopefully few prototypes,
16379 which can conflict with char $ac_func(); below. */
16380 #include <assert.h>
16381 /* Override any gcc2 internal prototype to avoid an error. */
16382 /* We use char because int might match the return type of a gcc2
16383 builtin and then its argument prototype would still apply. */
16388 /* The GNU C library defines this for functions which it implements
16389 to always fail with ENOSYS. Some functions are actually named
16390 something starting with __ and the normal name is an alias. */
16391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16399 if { (eval echo configure:16400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16401 eval "ac_cv_func_$ac_func=yes"
16403 echo "configure: failed program was:" >&5
16404 cat conftest.$ac_ext >&5
16406 eval "ac_cv_func_$ac_func=no"
16411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16412 echo "$ac_t""yes" 1>&6
16413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16414 cat >> confdefs.h <<EOF
16415 #define $ac_tr_func 1
16419 echo "$ac_t""no" 1>&6
16425 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
16426 echo "configure:16427: checking for _modff declaration" >&5
16427 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16428 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16429 echo $ac_n "(cached) $ac_c" 1>&6
16434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16435 ac_cpp='$CXXCPP $CPPFLAGS'
16436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16438 cross_compiling=$ac_cv_prog_cxx_cross
16440 cat > conftest.$ac_ext <<EOF
16441 #line 16442 "configure"
16442 #include "confdefs.h"
16448 if { (eval echo configure:16449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16450 glibcpp_cv_func__modff_use=yes
16452 echo "configure: failed program was:" >&5
16453 cat conftest.$ac_ext >&5
16455 glibcpp_cv_func__modff_use=no
16459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16460 ac_cpp='$CPP $CPPFLAGS'
16461 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16462 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16463 cross_compiling=$ac_cv_prog_cc_cross
16469 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16471 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16472 for ac_func in _modff
16474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16475 echo "configure:16476: checking for $ac_func" >&5
16476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16477 echo $ac_n "(cached) $ac_c" 1>&6
16479 cat > conftest.$ac_ext <<EOF
16480 #line 16481 "configure"
16481 #include "confdefs.h"
16482 /* System header to define __stub macros and hopefully few prototypes,
16483 which can conflict with char $ac_func(); below. */
16484 #include <assert.h>
16485 /* Override any gcc2 internal prototype to avoid an error. */
16486 /* We use char because int might match the return type of a gcc2
16487 builtin and then its argument prototype would still apply. */
16492 /* The GNU C library defines this for functions which it implements
16493 to always fail with ENOSYS. Some functions are actually named
16494 something starting with __ and the normal name is an alias. */
16495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16503 if { (eval echo configure:16504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16505 eval "ac_cv_func_$ac_func=yes"
16507 echo "configure: failed program was:" >&5
16508 cat conftest.$ac_ext >&5
16510 eval "ac_cv_func_$ac_func=no"
16515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16516 echo "$ac_t""yes" 1>&6
16517 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16518 cat >> confdefs.h <<EOF
16519 #define $ac_tr_func 1
16523 echo "$ac_t""no" 1>&6
16532 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
16533 echo "configure:16534: checking for powf declaration" >&5
16534 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16535 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16536 echo $ac_n "(cached) $ac_c" 1>&6
16541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16542 ac_cpp='$CXXCPP $CPPFLAGS'
16543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16545 cross_compiling=$ac_cv_prog_cxx_cross
16547 cat > conftest.$ac_ext <<EOF
16548 #line 16549 "configure"
16549 #include "confdefs.h"
16555 if { (eval echo configure:16556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16557 glibcpp_cv_func_powf_use=yes
16559 echo "configure: failed program was:" >&5
16560 cat conftest.$ac_ext >&5
16562 glibcpp_cv_func_powf_use=no
16566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16567 ac_cpp='$CPP $CPPFLAGS'
16568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16570 cross_compiling=$ac_cv_prog_cc_cross
16576 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16578 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16579 for ac_func in powf
16581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16582 echo "configure:16583: checking for $ac_func" >&5
16583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16584 echo $ac_n "(cached) $ac_c" 1>&6
16586 cat > conftest.$ac_ext <<EOF
16587 #line 16588 "configure"
16588 #include "confdefs.h"
16589 /* System header to define __stub macros and hopefully few prototypes,
16590 which can conflict with char $ac_func(); below. */
16591 #include <assert.h>
16592 /* Override any gcc2 internal prototype to avoid an error. */
16593 /* We use char because int might match the return type of a gcc2
16594 builtin and then its argument prototype would still apply. */
16599 /* The GNU C library defines this for functions which it implements
16600 to always fail with ENOSYS. Some functions are actually named
16601 something starting with __ and the normal name is an alias. */
16602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16610 if { (eval echo configure:16611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16612 eval "ac_cv_func_$ac_func=yes"
16614 echo "configure: failed program was:" >&5
16615 cat conftest.$ac_ext >&5
16617 eval "ac_cv_func_$ac_func=no"
16622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16623 echo "$ac_t""yes" 1>&6
16624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16625 cat >> confdefs.h <<EOF
16626 #define $ac_tr_func 1
16630 echo "$ac_t""no" 1>&6
16636 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
16637 echo "configure:16638: checking for _powf declaration" >&5
16638 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16639 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16640 echo $ac_n "(cached) $ac_c" 1>&6
16645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16646 ac_cpp='$CXXCPP $CPPFLAGS'
16647 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16648 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16649 cross_compiling=$ac_cv_prog_cxx_cross
16651 cat > conftest.$ac_ext <<EOF
16652 #line 16653 "configure"
16653 #include "confdefs.h"
16659 if { (eval echo configure:16660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16661 glibcpp_cv_func__powf_use=yes
16663 echo "configure: failed program was:" >&5
16664 cat conftest.$ac_ext >&5
16666 glibcpp_cv_func__powf_use=no
16670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16671 ac_cpp='$CPP $CPPFLAGS'
16672 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16673 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16674 cross_compiling=$ac_cv_prog_cc_cross
16680 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16682 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16683 for ac_func in _powf
16685 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16686 echo "configure:16687: checking for $ac_func" >&5
16687 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16688 echo $ac_n "(cached) $ac_c" 1>&6
16690 cat > conftest.$ac_ext <<EOF
16691 #line 16692 "configure"
16692 #include "confdefs.h"
16693 /* System header to define __stub macros and hopefully few prototypes,
16694 which can conflict with char $ac_func(); below. */
16695 #include <assert.h>
16696 /* Override any gcc2 internal prototype to avoid an error. */
16697 /* We use char because int might match the return type of a gcc2
16698 builtin and then its argument prototype would still apply. */
16703 /* The GNU C library defines this for functions which it implements
16704 to always fail with ENOSYS. Some functions are actually named
16705 something starting with __ and the normal name is an alias. */
16706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16714 if { (eval echo configure:16715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16716 eval "ac_cv_func_$ac_func=yes"
16718 echo "configure: failed program was:" >&5
16719 cat conftest.$ac_ext >&5
16721 eval "ac_cv_func_$ac_func=no"
16726 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16727 echo "$ac_t""yes" 1>&6
16728 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16729 cat >> confdefs.h <<EOF
16730 #define $ac_tr_func 1
16734 echo "$ac_t""no" 1>&6
16743 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
16744 echo "configure:16745: checking for sqrtf declaration" >&5
16745 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16746 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16747 echo $ac_n "(cached) $ac_c" 1>&6
16752 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16753 ac_cpp='$CXXCPP $CPPFLAGS'
16754 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16755 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16756 cross_compiling=$ac_cv_prog_cxx_cross
16758 cat > conftest.$ac_ext <<EOF
16759 #line 16760 "configure"
16760 #include "confdefs.h"
16762 #ifdef HAVE_IEEEFP_H
16763 #include <ieeefp.h>
16770 if { (eval echo configure:16771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16772 glibcpp_cv_func_sqrtf_use=yes
16774 echo "configure: failed program was:" >&5
16775 cat conftest.$ac_ext >&5
16777 glibcpp_cv_func_sqrtf_use=no
16781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16782 ac_cpp='$CPP $CPPFLAGS'
16783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16785 cross_compiling=$ac_cv_prog_cc_cross
16791 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16793 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16794 for ac_func in sqrtf
16796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16797 echo "configure:16798: checking for $ac_func" >&5
16798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16799 echo $ac_n "(cached) $ac_c" 1>&6
16801 cat > conftest.$ac_ext <<EOF
16802 #line 16803 "configure"
16803 #include "confdefs.h"
16804 /* System header to define __stub macros and hopefully few prototypes,
16805 which can conflict with char $ac_func(); below. */
16806 #include <assert.h>
16807 /* Override any gcc2 internal prototype to avoid an error. */
16808 /* We use char because int might match the return type of a gcc2
16809 builtin and then its argument prototype would still apply. */
16814 /* The GNU C library defines this for functions which it implements
16815 to always fail with ENOSYS. Some functions are actually named
16816 something starting with __ and the normal name is an alias. */
16817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16825 if { (eval echo configure:16826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16827 eval "ac_cv_func_$ac_func=yes"
16829 echo "configure: failed program was:" >&5
16830 cat conftest.$ac_ext >&5
16832 eval "ac_cv_func_$ac_func=no"
16837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16838 echo "$ac_t""yes" 1>&6
16839 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16840 cat >> confdefs.h <<EOF
16841 #define $ac_tr_func 1
16845 echo "$ac_t""no" 1>&6
16851 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
16852 echo "configure:16853: checking for _sqrtf declaration" >&5
16853 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16854 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16855 echo $ac_n "(cached) $ac_c" 1>&6
16860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16861 ac_cpp='$CXXCPP $CPPFLAGS'
16862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16864 cross_compiling=$ac_cv_prog_cxx_cross
16866 cat > conftest.$ac_ext <<EOF
16867 #line 16868 "configure"
16868 #include "confdefs.h"
16870 #ifdef HAVE_IEEEFP_H
16871 #include <ieeefp.h>
16878 if { (eval echo configure:16879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16880 glibcpp_cv_func__sqrtf_use=yes
16882 echo "configure: failed program was:" >&5
16883 cat conftest.$ac_ext >&5
16885 glibcpp_cv_func__sqrtf_use=no
16889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16890 ac_cpp='$CPP $CPPFLAGS'
16891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16893 cross_compiling=$ac_cv_prog_cc_cross
16899 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16901 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16902 for ac_func in _sqrtf
16904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16905 echo "configure:16906: checking for $ac_func" >&5
16906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16907 echo $ac_n "(cached) $ac_c" 1>&6
16909 cat > conftest.$ac_ext <<EOF
16910 #line 16911 "configure"
16911 #include "confdefs.h"
16912 /* System header to define __stub macros and hopefully few prototypes,
16913 which can conflict with char $ac_func(); below. */
16914 #include <assert.h>
16915 /* Override any gcc2 internal prototype to avoid an error. */
16916 /* We use char because int might match the return type of a gcc2
16917 builtin and then its argument prototype would still apply. */
16922 /* The GNU C library defines this for functions which it implements
16923 to always fail with ENOSYS. Some functions are actually named
16924 something starting with __ and the normal name is an alias. */
16925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16933 if { (eval echo configure:16934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16935 eval "ac_cv_func_$ac_func=yes"
16937 echo "configure: failed program was:" >&5
16938 cat conftest.$ac_ext >&5
16940 eval "ac_cv_func_$ac_func=no"
16945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16946 echo "$ac_t""yes" 1>&6
16947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16948 cat >> confdefs.h <<EOF
16949 #define $ac_tr_func 1
16953 echo "$ac_t""no" 1>&6
16962 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
16963 echo "configure:16964: checking for sincosf declaration" >&5
16964 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16965 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16966 echo $ac_n "(cached) $ac_c" 1>&6
16971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16972 ac_cpp='$CXXCPP $CPPFLAGS'
16973 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16974 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16975 cross_compiling=$ac_cv_prog_cxx_cross
16977 cat > conftest.$ac_ext <<EOF
16978 #line 16979 "configure"
16979 #include "confdefs.h"
16985 if { (eval echo configure:16986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16987 glibcpp_cv_func_sincosf_use=yes
16989 echo "configure: failed program was:" >&5
16990 cat conftest.$ac_ext >&5
16992 glibcpp_cv_func_sincosf_use=no
16996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16997 ac_cpp='$CPP $CPPFLAGS'
16998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17000 cross_compiling=$ac_cv_prog_cc_cross
17006 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
17008 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
17009 for ac_func in sincosf
17011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17012 echo "configure:17013: checking for $ac_func" >&5
17013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17014 echo $ac_n "(cached) $ac_c" 1>&6
17016 cat > conftest.$ac_ext <<EOF
17017 #line 17018 "configure"
17018 #include "confdefs.h"
17019 /* System header to define __stub macros and hopefully few prototypes,
17020 which can conflict with char $ac_func(); below. */
17021 #include <assert.h>
17022 /* Override any gcc2 internal prototype to avoid an error. */
17023 /* We use char because int might match the return type of a gcc2
17024 builtin and then its argument prototype would still apply. */
17029 /* The GNU C library defines this for functions which it implements
17030 to always fail with ENOSYS. Some functions are actually named
17031 something starting with __ and the normal name is an alias. */
17032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17040 if { (eval echo configure:17041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17042 eval "ac_cv_func_$ac_func=yes"
17044 echo "configure: failed program was:" >&5
17045 cat conftest.$ac_ext >&5
17047 eval "ac_cv_func_$ac_func=no"
17052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17053 echo "$ac_t""yes" 1>&6
17054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17055 cat >> confdefs.h <<EOF
17056 #define $ac_tr_func 1
17060 echo "$ac_t""no" 1>&6
17066 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
17067 echo "configure:17068: checking for _sincosf declaration" >&5
17068 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
17069 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
17070 echo $ac_n "(cached) $ac_c" 1>&6
17075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17076 ac_cpp='$CXXCPP $CPPFLAGS'
17077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17079 cross_compiling=$ac_cv_prog_cxx_cross
17081 cat > conftest.$ac_ext <<EOF
17082 #line 17083 "configure"
17083 #include "confdefs.h"
17089 if { (eval echo configure:17090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17091 glibcpp_cv_func__sincosf_use=yes
17093 echo "configure: failed program was:" >&5
17094 cat conftest.$ac_ext >&5
17096 glibcpp_cv_func__sincosf_use=no
17100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17101 ac_cpp='$CPP $CPPFLAGS'
17102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17104 cross_compiling=$ac_cv_prog_cc_cross
17110 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
17112 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
17113 for ac_func in _sincosf
17115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17116 echo "configure:17117: checking for $ac_func" >&5
17117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17118 echo $ac_n "(cached) $ac_c" 1>&6
17120 cat > conftest.$ac_ext <<EOF
17121 #line 17122 "configure"
17122 #include "confdefs.h"
17123 /* System header to define __stub macros and hopefully few prototypes,
17124 which can conflict with char $ac_func(); below. */
17125 #include <assert.h>
17126 /* Override any gcc2 internal prototype to avoid an error. */
17127 /* We use char because int might match the return type of a gcc2
17128 builtin and then its argument prototype would still apply. */
17133 /* The GNU C library defines this for functions which it implements
17134 to always fail with ENOSYS. Some functions are actually named
17135 something starting with __ and the normal name is an alias. */
17136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17144 if { (eval echo configure:17145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17146 eval "ac_cv_func_$ac_func=yes"
17148 echo "configure: failed program was:" >&5
17149 cat conftest.$ac_ext >&5
17151 eval "ac_cv_func_$ac_func=no"
17156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17157 echo "$ac_t""yes" 1>&6
17158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17159 cat >> confdefs.h <<EOF
17160 #define $ac_tr_func 1
17164 echo "$ac_t""no" 1>&6
17173 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
17174 echo "configure:17175: checking for finitef declaration" >&5
17175 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
17176 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
17177 echo $ac_n "(cached) $ac_c" 1>&6
17182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17183 ac_cpp='$CXXCPP $CPPFLAGS'
17184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17186 cross_compiling=$ac_cv_prog_cxx_cross
17188 cat > conftest.$ac_ext <<EOF
17189 #line 17190 "configure"
17190 #include "confdefs.h"
17192 #ifdef HAVE_IEEEFP_H
17193 #include <ieeefp.h>
17200 if { (eval echo configure:17201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17202 glibcpp_cv_func_finitef_use=yes
17204 echo "configure: failed program was:" >&5
17205 cat conftest.$ac_ext >&5
17207 glibcpp_cv_func_finitef_use=no
17211 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17212 ac_cpp='$CPP $CPPFLAGS'
17213 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17214 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17215 cross_compiling=$ac_cv_prog_cc_cross
17221 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17223 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17224 for ac_func in finitef
17226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17227 echo "configure:17228: checking for $ac_func" >&5
17228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17229 echo $ac_n "(cached) $ac_c" 1>&6
17231 cat > conftest.$ac_ext <<EOF
17232 #line 17233 "configure"
17233 #include "confdefs.h"
17234 /* System header to define __stub macros and hopefully few prototypes,
17235 which can conflict with char $ac_func(); below. */
17236 #include <assert.h>
17237 /* Override any gcc2 internal prototype to avoid an error. */
17238 /* We use char because int might match the return type of a gcc2
17239 builtin and then its argument prototype would still apply. */
17244 /* The GNU C library defines this for functions which it implements
17245 to always fail with ENOSYS. Some functions are actually named
17246 something starting with __ and the normal name is an alias. */
17247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17255 if { (eval echo configure:17256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17257 eval "ac_cv_func_$ac_func=yes"
17259 echo "configure: failed program was:" >&5
17260 cat conftest.$ac_ext >&5
17262 eval "ac_cv_func_$ac_func=no"
17267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17268 echo "$ac_t""yes" 1>&6
17269 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17270 cat >> confdefs.h <<EOF
17271 #define $ac_tr_func 1
17275 echo "$ac_t""no" 1>&6
17281 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
17282 echo "configure:17283: checking for _finitef declaration" >&5
17283 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17284 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17285 echo $ac_n "(cached) $ac_c" 1>&6
17290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17291 ac_cpp='$CXXCPP $CPPFLAGS'
17292 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17293 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17294 cross_compiling=$ac_cv_prog_cxx_cross
17296 cat > conftest.$ac_ext <<EOF
17297 #line 17298 "configure"
17298 #include "confdefs.h"
17300 #ifdef HAVE_IEEEFP_H
17301 #include <ieeefp.h>
17308 if { (eval echo configure:17309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17310 glibcpp_cv_func__finitef_use=yes
17312 echo "configure: failed program was:" >&5
17313 cat conftest.$ac_ext >&5
17315 glibcpp_cv_func__finitef_use=no
17319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17320 ac_cpp='$CPP $CPPFLAGS'
17321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17323 cross_compiling=$ac_cv_prog_cc_cross
17329 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17331 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17332 for ac_func in _finitef
17334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17335 echo "configure:17336: checking for $ac_func" >&5
17336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17337 echo $ac_n "(cached) $ac_c" 1>&6
17339 cat > conftest.$ac_ext <<EOF
17340 #line 17341 "configure"
17341 #include "confdefs.h"
17342 /* System header to define __stub macros and hopefully few prototypes,
17343 which can conflict with char $ac_func(); below. */
17344 #include <assert.h>
17345 /* Override any gcc2 internal prototype to avoid an error. */
17346 /* We use char because int might match the return type of a gcc2
17347 builtin and then its argument prototype would still apply. */
17352 /* The GNU C library defines this for functions which it implements
17353 to always fail with ENOSYS. Some functions are actually named
17354 something starting with __ and the normal name is an alias. */
17355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17363 if { (eval echo configure:17364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17365 eval "ac_cv_func_$ac_func=yes"
17367 echo "configure: failed program was:" >&5
17368 cat conftest.$ac_ext >&5
17370 eval "ac_cv_func_$ac_func=no"
17375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17376 echo "$ac_t""yes" 1>&6
17377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17378 cat >> confdefs.h <<EOF
17379 #define $ac_tr_func 1
17383 echo "$ac_t""no" 1>&6
17392 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
17393 echo "configure:17394: checking for long double trig functions" >&5
17394 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17395 echo $ac_n "(cached) $ac_c" 1>&6
17400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17401 ac_cpp='$CXXCPP $CPPFLAGS'
17402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17404 cross_compiling=$ac_cv_prog_cxx_cross
17406 cat > conftest.$ac_ext <<EOF
17407 #line 17408 "configure"
17408 #include "confdefs.h"
17411 `for x in acosl asinl atanl \
17413 coshl sinhl tanhl; do echo "$x (0);"; done`
17416 if { (eval echo configure:17417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17418 glibcpp_cv_func_long_double_trig_use=yes
17420 echo "configure: failed program was:" >&5
17421 cat conftest.$ac_ext >&5
17423 glibcpp_cv_func_long_double_trig_use=no
17427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17428 ac_cpp='$CPP $CPPFLAGS'
17429 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17430 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17431 cross_compiling=$ac_cv_prog_cc_cross
17435 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17436 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17437 for ac_func in acosl asinl atanl \
17441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17442 echo "configure:17443: checking for $ac_func" >&5
17443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17444 echo $ac_n "(cached) $ac_c" 1>&6
17446 cat > conftest.$ac_ext <<EOF
17447 #line 17448 "configure"
17448 #include "confdefs.h"
17449 /* System header to define __stub macros and hopefully few prototypes,
17450 which can conflict with char $ac_func(); below. */
17451 #include <assert.h>
17452 /* Override any gcc2 internal prototype to avoid an error. */
17453 /* We use char because int might match the return type of a gcc2
17454 builtin and then its argument prototype would still apply. */
17459 /* The GNU C library defines this for functions which it implements
17460 to always fail with ENOSYS. Some functions are actually named
17461 something starting with __ and the normal name is an alias. */
17462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17470 if { (eval echo configure:17471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17472 eval "ac_cv_func_$ac_func=yes"
17474 echo "configure: failed program was:" >&5
17475 cat conftest.$ac_ext >&5
17477 eval "ac_cv_func_$ac_func=no"
17482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17483 echo "$ac_t""yes" 1>&6
17484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17485 cat >> confdefs.h <<EOF
17486 #define $ac_tr_func 1
17490 echo "$ac_t""no" 1>&6
17497 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
17498 echo "configure:17499: checking for long double round functions" >&5
17499 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17500 echo $ac_n "(cached) $ac_c" 1>&6
17505 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17506 ac_cpp='$CXXCPP $CPPFLAGS'
17507 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17508 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17509 cross_compiling=$ac_cv_prog_cxx_cross
17511 cat > conftest.$ac_ext <<EOF
17512 #line 17513 "configure"
17513 #include "confdefs.h"
17516 `for x in ceill floorl; do echo "$x (0);"; done`
17519 if { (eval echo configure:17520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17521 glibcpp_cv_func_long_double_round_use=yes
17523 echo "configure: failed program was:" >&5
17524 cat conftest.$ac_ext >&5
17526 glibcpp_cv_func_long_double_round_use=no
17530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17531 ac_cpp='$CPP $CPPFLAGS'
17532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17534 cross_compiling=$ac_cv_prog_cc_cross
17538 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17539 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17540 for ac_func in ceill floorl
17542 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17543 echo "configure:17544: checking for $ac_func" >&5
17544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17545 echo $ac_n "(cached) $ac_c" 1>&6
17547 cat > conftest.$ac_ext <<EOF
17548 #line 17549 "configure"
17549 #include "confdefs.h"
17550 /* System header to define __stub macros and hopefully few prototypes,
17551 which can conflict with char $ac_func(); below. */
17552 #include <assert.h>
17553 /* Override any gcc2 internal prototype to avoid an error. */
17554 /* We use char because int might match the return type of a gcc2
17555 builtin and then its argument prototype would still apply. */
17560 /* The GNU C library defines this for functions which it implements
17561 to always fail with ENOSYS. Some functions are actually named
17562 something starting with __ and the normal name is an alias. */
17563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17571 if { (eval echo configure:17572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17573 eval "ac_cv_func_$ac_func=yes"
17575 echo "configure: failed program was:" >&5
17576 cat conftest.$ac_ext >&5
17578 eval "ac_cv_func_$ac_func=no"
17583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17584 echo "$ac_t""yes" 1>&6
17585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17586 cat >> confdefs.h <<EOF
17587 #define $ac_tr_func 1
17591 echo "$ac_t""no" 1>&6
17599 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
17600 echo "configure:17601: checking for isnanl declaration" >&5
17601 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17602 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17603 echo $ac_n "(cached) $ac_c" 1>&6
17608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17609 ac_cpp='$CXXCPP $CPPFLAGS'
17610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17612 cross_compiling=$ac_cv_prog_cxx_cross
17614 cat > conftest.$ac_ext <<EOF
17615 #line 17616 "configure"
17616 #include "confdefs.h"
17618 #ifdef HAVE_IEEEFP_H
17619 #include <ieeefp.h>
17626 if { (eval echo configure:17627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17628 glibcpp_cv_func_isnanl_use=yes
17630 echo "configure: failed program was:" >&5
17631 cat conftest.$ac_ext >&5
17633 glibcpp_cv_func_isnanl_use=no
17637 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17638 ac_cpp='$CPP $CPPFLAGS'
17639 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17640 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17641 cross_compiling=$ac_cv_prog_cc_cross
17647 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17649 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17650 for ac_func in isnanl
17652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17653 echo "configure:17654: checking for $ac_func" >&5
17654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17655 echo $ac_n "(cached) $ac_c" 1>&6
17657 cat > conftest.$ac_ext <<EOF
17658 #line 17659 "configure"
17659 #include "confdefs.h"
17660 /* System header to define __stub macros and hopefully few prototypes,
17661 which can conflict with char $ac_func(); below. */
17662 #include <assert.h>
17663 /* Override any gcc2 internal prototype to avoid an error. */
17664 /* We use char because int might match the return type of a gcc2
17665 builtin and then its argument prototype would still apply. */
17670 /* The GNU C library defines this for functions which it implements
17671 to always fail with ENOSYS. Some functions are actually named
17672 something starting with __ and the normal name is an alias. */
17673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17681 if { (eval echo configure:17682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17683 eval "ac_cv_func_$ac_func=yes"
17685 echo "configure: failed program was:" >&5
17686 cat conftest.$ac_ext >&5
17688 eval "ac_cv_func_$ac_func=no"
17693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17694 echo "$ac_t""yes" 1>&6
17695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17696 cat >> confdefs.h <<EOF
17697 #define $ac_tr_func 1
17701 echo "$ac_t""no" 1>&6
17707 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
17708 echo "configure:17709: checking for _isnanl declaration" >&5
17709 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17710 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17711 echo $ac_n "(cached) $ac_c" 1>&6
17716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17717 ac_cpp='$CXXCPP $CPPFLAGS'
17718 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17719 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17720 cross_compiling=$ac_cv_prog_cxx_cross
17722 cat > conftest.$ac_ext <<EOF
17723 #line 17724 "configure"
17724 #include "confdefs.h"
17726 #ifdef HAVE_IEEEFP_H
17727 #include <ieeefp.h>
17734 if { (eval echo configure:17735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17736 glibcpp_cv_func__isnanl_use=yes
17738 echo "configure: failed program was:" >&5
17739 cat conftest.$ac_ext >&5
17741 glibcpp_cv_func__isnanl_use=no
17745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17746 ac_cpp='$CPP $CPPFLAGS'
17747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17749 cross_compiling=$ac_cv_prog_cc_cross
17755 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17757 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17758 for ac_func in _isnanl
17760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17761 echo "configure:17762: checking for $ac_func" >&5
17762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17763 echo $ac_n "(cached) $ac_c" 1>&6
17765 cat > conftest.$ac_ext <<EOF
17766 #line 17767 "configure"
17767 #include "confdefs.h"
17768 /* System header to define __stub macros and hopefully few prototypes,
17769 which can conflict with char $ac_func(); below. */
17770 #include <assert.h>
17771 /* Override any gcc2 internal prototype to avoid an error. */
17772 /* We use char because int might match the return type of a gcc2
17773 builtin and then its argument prototype would still apply. */
17778 /* The GNU C library defines this for functions which it implements
17779 to always fail with ENOSYS. Some functions are actually named
17780 something starting with __ and the normal name is an alias. */
17781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17789 if { (eval echo configure:17790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17791 eval "ac_cv_func_$ac_func=yes"
17793 echo "configure: failed program was:" >&5
17794 cat conftest.$ac_ext >&5
17796 eval "ac_cv_func_$ac_func=no"
17801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17802 echo "$ac_t""yes" 1>&6
17803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17804 cat >> confdefs.h <<EOF
17805 #define $ac_tr_func 1
17809 echo "$ac_t""no" 1>&6
17818 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
17819 echo "configure:17820: checking for isinfl declaration" >&5
17820 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17821 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17822 echo $ac_n "(cached) $ac_c" 1>&6
17827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17828 ac_cpp='$CXXCPP $CPPFLAGS'
17829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17831 cross_compiling=$ac_cv_prog_cxx_cross
17833 cat > conftest.$ac_ext <<EOF
17834 #line 17835 "configure"
17835 #include "confdefs.h"
17837 #ifdef HAVE_IEEEFP_H
17838 #include <ieeefp.h>
17845 if { (eval echo configure:17846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17847 glibcpp_cv_func_isinfl_use=yes
17849 echo "configure: failed program was:" >&5
17850 cat conftest.$ac_ext >&5
17852 glibcpp_cv_func_isinfl_use=no
17856 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17857 ac_cpp='$CPP $CPPFLAGS'
17858 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17859 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17860 cross_compiling=$ac_cv_prog_cc_cross
17866 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17868 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17869 for ac_func in isinfl
17871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17872 echo "configure:17873: checking for $ac_func" >&5
17873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17874 echo $ac_n "(cached) $ac_c" 1>&6
17876 cat > conftest.$ac_ext <<EOF
17877 #line 17878 "configure"
17878 #include "confdefs.h"
17879 /* System header to define __stub macros and hopefully few prototypes,
17880 which can conflict with char $ac_func(); below. */
17881 #include <assert.h>
17882 /* Override any gcc2 internal prototype to avoid an error. */
17883 /* We use char because int might match the return type of a gcc2
17884 builtin and then its argument prototype would still apply. */
17889 /* The GNU C library defines this for functions which it implements
17890 to always fail with ENOSYS. Some functions are actually named
17891 something starting with __ and the normal name is an alias. */
17892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17900 if { (eval echo configure:17901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17902 eval "ac_cv_func_$ac_func=yes"
17904 echo "configure: failed program was:" >&5
17905 cat conftest.$ac_ext >&5
17907 eval "ac_cv_func_$ac_func=no"
17912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17913 echo "$ac_t""yes" 1>&6
17914 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17915 cat >> confdefs.h <<EOF
17916 #define $ac_tr_func 1
17920 echo "$ac_t""no" 1>&6
17926 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
17927 echo "configure:17928: checking for _isinfl declaration" >&5
17928 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17929 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17930 echo $ac_n "(cached) $ac_c" 1>&6
17935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17936 ac_cpp='$CXXCPP $CPPFLAGS'
17937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17939 cross_compiling=$ac_cv_prog_cxx_cross
17941 cat > conftest.$ac_ext <<EOF
17942 #line 17943 "configure"
17943 #include "confdefs.h"
17945 #ifdef HAVE_IEEEFP_H
17946 #include <ieeefp.h>
17953 if { (eval echo configure:17954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17955 glibcpp_cv_func__isinfl_use=yes
17957 echo "configure: failed program was:" >&5
17958 cat conftest.$ac_ext >&5
17960 glibcpp_cv_func__isinfl_use=no
17964 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17965 ac_cpp='$CPP $CPPFLAGS'
17966 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17967 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17968 cross_compiling=$ac_cv_prog_cc_cross
17974 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17976 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17977 for ac_func in _isinfl
17979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17980 echo "configure:17981: checking for $ac_func" >&5
17981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17982 echo $ac_n "(cached) $ac_c" 1>&6
17984 cat > conftest.$ac_ext <<EOF
17985 #line 17986 "configure"
17986 #include "confdefs.h"
17987 /* System header to define __stub macros and hopefully few prototypes,
17988 which can conflict with char $ac_func(); below. */
17989 #include <assert.h>
17990 /* Override any gcc2 internal prototype to avoid an error. */
17991 /* We use char because int might match the return type of a gcc2
17992 builtin and then its argument prototype would still apply. */
17997 /* The GNU C library defines this for functions which it implements
17998 to always fail with ENOSYS. Some functions are actually named
17999 something starting with __ and the normal name is an alias. */
18000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18008 if { (eval echo configure:18009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18010 eval "ac_cv_func_$ac_func=yes"
18012 echo "configure: failed program was:" >&5
18013 cat conftest.$ac_ext >&5
18015 eval "ac_cv_func_$ac_func=no"
18020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18021 echo "$ac_t""yes" 1>&6
18022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18023 cat >> confdefs.h <<EOF
18024 #define $ac_tr_func 1
18028 echo "$ac_t""no" 1>&6
18037 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
18038 echo "configure:18039: checking for copysignl declaration" >&5
18039 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
18040 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
18041 echo $ac_n "(cached) $ac_c" 1>&6
18046 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18047 ac_cpp='$CXXCPP $CPPFLAGS'
18048 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18049 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18050 cross_compiling=$ac_cv_prog_cxx_cross
18052 cat > conftest.$ac_ext <<EOF
18053 #line 18054 "configure"
18054 #include "confdefs.h"
18060 if { (eval echo configure:18061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18062 glibcpp_cv_func_copysignl_use=yes
18064 echo "configure: failed program was:" >&5
18065 cat conftest.$ac_ext >&5
18067 glibcpp_cv_func_copysignl_use=no
18071 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18072 ac_cpp='$CPP $CPPFLAGS'
18073 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18074 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18075 cross_compiling=$ac_cv_prog_cc_cross
18081 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
18083 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
18084 for ac_func in copysignl
18086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18087 echo "configure:18088: checking for $ac_func" >&5
18088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18089 echo $ac_n "(cached) $ac_c" 1>&6
18091 cat > conftest.$ac_ext <<EOF
18092 #line 18093 "configure"
18093 #include "confdefs.h"
18094 /* System header to define __stub macros and hopefully few prototypes,
18095 which can conflict with char $ac_func(); below. */
18096 #include <assert.h>
18097 /* Override any gcc2 internal prototype to avoid an error. */
18098 /* We use char because int might match the return type of a gcc2
18099 builtin and then its argument prototype would still apply. */
18104 /* The GNU C library defines this for functions which it implements
18105 to always fail with ENOSYS. Some functions are actually named
18106 something starting with __ and the normal name is an alias. */
18107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18115 if { (eval echo configure:18116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18117 eval "ac_cv_func_$ac_func=yes"
18119 echo "configure: failed program was:" >&5
18120 cat conftest.$ac_ext >&5
18122 eval "ac_cv_func_$ac_func=no"
18127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18128 echo "$ac_t""yes" 1>&6
18129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18130 cat >> confdefs.h <<EOF
18131 #define $ac_tr_func 1
18135 echo "$ac_t""no" 1>&6
18141 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
18142 echo "configure:18143: checking for _copysignl declaration" >&5
18143 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
18144 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
18145 echo $ac_n "(cached) $ac_c" 1>&6
18150 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18151 ac_cpp='$CXXCPP $CPPFLAGS'
18152 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18153 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18154 cross_compiling=$ac_cv_prog_cxx_cross
18156 cat > conftest.$ac_ext <<EOF
18157 #line 18158 "configure"
18158 #include "confdefs.h"
18164 if { (eval echo configure:18165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18166 glibcpp_cv_func__copysignl_use=yes
18168 echo "configure: failed program was:" >&5
18169 cat conftest.$ac_ext >&5
18171 glibcpp_cv_func__copysignl_use=no
18175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18176 ac_cpp='$CPP $CPPFLAGS'
18177 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18178 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18179 cross_compiling=$ac_cv_prog_cc_cross
18185 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
18187 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
18188 for ac_func in _copysignl
18190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18191 echo "configure:18192: checking for $ac_func" >&5
18192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18193 echo $ac_n "(cached) $ac_c" 1>&6
18195 cat > conftest.$ac_ext <<EOF
18196 #line 18197 "configure"
18197 #include "confdefs.h"
18198 /* System header to define __stub macros and hopefully few prototypes,
18199 which can conflict with char $ac_func(); below. */
18200 #include <assert.h>
18201 /* Override any gcc2 internal prototype to avoid an error. */
18202 /* We use char because int might match the return type of a gcc2
18203 builtin and then its argument prototype would still apply. */
18208 /* The GNU C library defines this for functions which it implements
18209 to always fail with ENOSYS. Some functions are actually named
18210 something starting with __ and the normal name is an alias. */
18211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18219 if { (eval echo configure:18220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18221 eval "ac_cv_func_$ac_func=yes"
18223 echo "configure: failed program was:" >&5
18224 cat conftest.$ac_ext >&5
18226 eval "ac_cv_func_$ac_func=no"
18231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18232 echo "$ac_t""yes" 1>&6
18233 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18234 cat >> confdefs.h <<EOF
18235 #define $ac_tr_func 1
18239 echo "$ac_t""no" 1>&6
18248 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
18249 echo "configure:18250: checking for atan2l declaration" >&5
18250 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18251 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18252 echo $ac_n "(cached) $ac_c" 1>&6
18257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18258 ac_cpp='$CXXCPP $CPPFLAGS'
18259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18261 cross_compiling=$ac_cv_prog_cxx_cross
18263 cat > conftest.$ac_ext <<EOF
18264 #line 18265 "configure"
18265 #include "confdefs.h"
18271 if { (eval echo configure:18272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18273 glibcpp_cv_func_atan2l_use=yes
18275 echo "configure: failed program was:" >&5
18276 cat conftest.$ac_ext >&5
18278 glibcpp_cv_func_atan2l_use=no
18282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18286 cross_compiling=$ac_cv_prog_cc_cross
18292 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18294 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18295 for ac_func in atan2l
18297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18298 echo "configure:18299: checking for $ac_func" >&5
18299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18300 echo $ac_n "(cached) $ac_c" 1>&6
18302 cat > conftest.$ac_ext <<EOF
18303 #line 18304 "configure"
18304 #include "confdefs.h"
18305 /* System header to define __stub macros and hopefully few prototypes,
18306 which can conflict with char $ac_func(); below. */
18307 #include <assert.h>
18308 /* Override any gcc2 internal prototype to avoid an error. */
18309 /* We use char because int might match the return type of a gcc2
18310 builtin and then its argument prototype would still apply. */
18315 /* The GNU C library defines this for functions which it implements
18316 to always fail with ENOSYS. Some functions are actually named
18317 something starting with __ and the normal name is an alias. */
18318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18326 if { (eval echo configure:18327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18328 eval "ac_cv_func_$ac_func=yes"
18330 echo "configure: failed program was:" >&5
18331 cat conftest.$ac_ext >&5
18333 eval "ac_cv_func_$ac_func=no"
18338 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18339 echo "$ac_t""yes" 1>&6
18340 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18341 cat >> confdefs.h <<EOF
18342 #define $ac_tr_func 1
18346 echo "$ac_t""no" 1>&6
18352 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
18353 echo "configure:18354: checking for _atan2l declaration" >&5
18354 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18355 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18356 echo $ac_n "(cached) $ac_c" 1>&6
18361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18362 ac_cpp='$CXXCPP $CPPFLAGS'
18363 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18364 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18365 cross_compiling=$ac_cv_prog_cxx_cross
18367 cat > conftest.$ac_ext <<EOF
18368 #line 18369 "configure"
18369 #include "confdefs.h"
18375 if { (eval echo configure:18376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18377 glibcpp_cv_func__atan2l_use=yes
18379 echo "configure: failed program was:" >&5
18380 cat conftest.$ac_ext >&5
18382 glibcpp_cv_func__atan2l_use=no
18386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18387 ac_cpp='$CPP $CPPFLAGS'
18388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18390 cross_compiling=$ac_cv_prog_cc_cross
18396 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18398 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18399 for ac_func in _atan2l
18401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18402 echo "configure:18403: checking for $ac_func" >&5
18403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18404 echo $ac_n "(cached) $ac_c" 1>&6
18406 cat > conftest.$ac_ext <<EOF
18407 #line 18408 "configure"
18408 #include "confdefs.h"
18409 /* System header to define __stub macros and hopefully few prototypes,
18410 which can conflict with char $ac_func(); below. */
18411 #include <assert.h>
18412 /* Override any gcc2 internal prototype to avoid an error. */
18413 /* We use char because int might match the return type of a gcc2
18414 builtin and then its argument prototype would still apply. */
18419 /* The GNU C library defines this for functions which it implements
18420 to always fail with ENOSYS. Some functions are actually named
18421 something starting with __ and the normal name is an alias. */
18422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18430 if { (eval echo configure:18431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18432 eval "ac_cv_func_$ac_func=yes"
18434 echo "configure: failed program was:" >&5
18435 cat conftest.$ac_ext >&5
18437 eval "ac_cv_func_$ac_func=no"
18442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18443 echo "$ac_t""yes" 1>&6
18444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18445 cat >> confdefs.h <<EOF
18446 #define $ac_tr_func 1
18450 echo "$ac_t""no" 1>&6
18459 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
18460 echo "configure:18461: checking for expl declaration" >&5
18461 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18462 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18463 echo $ac_n "(cached) $ac_c" 1>&6
18468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18469 ac_cpp='$CXXCPP $CPPFLAGS'
18470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18472 cross_compiling=$ac_cv_prog_cxx_cross
18474 cat > conftest.$ac_ext <<EOF
18475 #line 18476 "configure"
18476 #include "confdefs.h"
18478 #ifdef HAVE_IEEEFP_H
18479 #include <ieeefp.h>
18486 if { (eval echo configure:18487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18488 glibcpp_cv_func_expl_use=yes
18490 echo "configure: failed program was:" >&5
18491 cat conftest.$ac_ext >&5
18493 glibcpp_cv_func_expl_use=no
18497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18498 ac_cpp='$CPP $CPPFLAGS'
18499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18501 cross_compiling=$ac_cv_prog_cc_cross
18507 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18509 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18510 for ac_func in expl
18512 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18513 echo "configure:18514: checking for $ac_func" >&5
18514 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18515 echo $ac_n "(cached) $ac_c" 1>&6
18517 cat > conftest.$ac_ext <<EOF
18518 #line 18519 "configure"
18519 #include "confdefs.h"
18520 /* System header to define __stub macros and hopefully few prototypes,
18521 which can conflict with char $ac_func(); below. */
18522 #include <assert.h>
18523 /* Override any gcc2 internal prototype to avoid an error. */
18524 /* We use char because int might match the return type of a gcc2
18525 builtin and then its argument prototype would still apply. */
18530 /* The GNU C library defines this for functions which it implements
18531 to always fail with ENOSYS. Some functions are actually named
18532 something starting with __ and the normal name is an alias. */
18533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18541 if { (eval echo configure:18542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18543 eval "ac_cv_func_$ac_func=yes"
18545 echo "configure: failed program was:" >&5
18546 cat conftest.$ac_ext >&5
18548 eval "ac_cv_func_$ac_func=no"
18553 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18554 echo "$ac_t""yes" 1>&6
18555 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18556 cat >> confdefs.h <<EOF
18557 #define $ac_tr_func 1
18561 echo "$ac_t""no" 1>&6
18567 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
18568 echo "configure:18569: checking for _expl declaration" >&5
18569 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18570 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18571 echo $ac_n "(cached) $ac_c" 1>&6
18576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18577 ac_cpp='$CXXCPP $CPPFLAGS'
18578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18580 cross_compiling=$ac_cv_prog_cxx_cross
18582 cat > conftest.$ac_ext <<EOF
18583 #line 18584 "configure"
18584 #include "confdefs.h"
18586 #ifdef HAVE_IEEEFP_H
18587 #include <ieeefp.h>
18594 if { (eval echo configure:18595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18596 glibcpp_cv_func__expl_use=yes
18598 echo "configure: failed program was:" >&5
18599 cat conftest.$ac_ext >&5
18601 glibcpp_cv_func__expl_use=no
18605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18606 ac_cpp='$CPP $CPPFLAGS'
18607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18609 cross_compiling=$ac_cv_prog_cc_cross
18615 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18617 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18618 for ac_func in _expl
18620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18621 echo "configure:18622: checking for $ac_func" >&5
18622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18623 echo $ac_n "(cached) $ac_c" 1>&6
18625 cat > conftest.$ac_ext <<EOF
18626 #line 18627 "configure"
18627 #include "confdefs.h"
18628 /* System header to define __stub macros and hopefully few prototypes,
18629 which can conflict with char $ac_func(); below. */
18630 #include <assert.h>
18631 /* Override any gcc2 internal prototype to avoid an error. */
18632 /* We use char because int might match the return type of a gcc2
18633 builtin and then its argument prototype would still apply. */
18638 /* The GNU C library defines this for functions which it implements
18639 to always fail with ENOSYS. Some functions are actually named
18640 something starting with __ and the normal name is an alias. */
18641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18649 if { (eval echo configure:18650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18651 eval "ac_cv_func_$ac_func=yes"
18653 echo "configure: failed program was:" >&5
18654 cat conftest.$ac_ext >&5
18656 eval "ac_cv_func_$ac_func=no"
18661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18662 echo "$ac_t""yes" 1>&6
18663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18664 cat >> confdefs.h <<EOF
18665 #define $ac_tr_func 1
18669 echo "$ac_t""no" 1>&6
18678 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
18679 echo "configure:18680: checking for fabsl declaration" >&5
18680 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18681 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18682 echo $ac_n "(cached) $ac_c" 1>&6
18687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18688 ac_cpp='$CXXCPP $CPPFLAGS'
18689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18691 cross_compiling=$ac_cv_prog_cxx_cross
18693 cat > conftest.$ac_ext <<EOF
18694 #line 18695 "configure"
18695 #include "confdefs.h"
18697 #ifdef HAVE_IEEEFP_H
18698 #include <ieeefp.h>
18705 if { (eval echo configure:18706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18707 glibcpp_cv_func_fabsl_use=yes
18709 echo "configure: failed program was:" >&5
18710 cat conftest.$ac_ext >&5
18712 glibcpp_cv_func_fabsl_use=no
18716 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18717 ac_cpp='$CPP $CPPFLAGS'
18718 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18719 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18720 cross_compiling=$ac_cv_prog_cc_cross
18726 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18728 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18729 for ac_func in fabsl
18731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18732 echo "configure:18733: checking for $ac_func" >&5
18733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18734 echo $ac_n "(cached) $ac_c" 1>&6
18736 cat > conftest.$ac_ext <<EOF
18737 #line 18738 "configure"
18738 #include "confdefs.h"
18739 /* System header to define __stub macros and hopefully few prototypes,
18740 which can conflict with char $ac_func(); below. */
18741 #include <assert.h>
18742 /* Override any gcc2 internal prototype to avoid an error. */
18743 /* We use char because int might match the return type of a gcc2
18744 builtin and then its argument prototype would still apply. */
18749 /* The GNU C library defines this for functions which it implements
18750 to always fail with ENOSYS. Some functions are actually named
18751 something starting with __ and the normal name is an alias. */
18752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18760 if { (eval echo configure:18761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18762 eval "ac_cv_func_$ac_func=yes"
18764 echo "configure: failed program was:" >&5
18765 cat conftest.$ac_ext >&5
18767 eval "ac_cv_func_$ac_func=no"
18772 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18773 echo "$ac_t""yes" 1>&6
18774 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18775 cat >> confdefs.h <<EOF
18776 #define $ac_tr_func 1
18780 echo "$ac_t""no" 1>&6
18786 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
18787 echo "configure:18788: checking for _fabsl declaration" >&5
18788 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18789 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18790 echo $ac_n "(cached) $ac_c" 1>&6
18795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18796 ac_cpp='$CXXCPP $CPPFLAGS'
18797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18799 cross_compiling=$ac_cv_prog_cxx_cross
18801 cat > conftest.$ac_ext <<EOF
18802 #line 18803 "configure"
18803 #include "confdefs.h"
18805 #ifdef HAVE_IEEEFP_H
18806 #include <ieeefp.h>
18813 if { (eval echo configure:18814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18815 glibcpp_cv_func__fabsl_use=yes
18817 echo "configure: failed program was:" >&5
18818 cat conftest.$ac_ext >&5
18820 glibcpp_cv_func__fabsl_use=no
18824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18825 ac_cpp='$CPP $CPPFLAGS'
18826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18828 cross_compiling=$ac_cv_prog_cc_cross
18834 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18836 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18837 for ac_func in _fabsl
18839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18840 echo "configure:18841: checking for $ac_func" >&5
18841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18842 echo $ac_n "(cached) $ac_c" 1>&6
18844 cat > conftest.$ac_ext <<EOF
18845 #line 18846 "configure"
18846 #include "confdefs.h"
18847 /* System header to define __stub macros and hopefully few prototypes,
18848 which can conflict with char $ac_func(); below. */
18849 #include <assert.h>
18850 /* Override any gcc2 internal prototype to avoid an error. */
18851 /* We use char because int might match the return type of a gcc2
18852 builtin and then its argument prototype would still apply. */
18857 /* The GNU C library defines this for functions which it implements
18858 to always fail with ENOSYS. Some functions are actually named
18859 something starting with __ and the normal name is an alias. */
18860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18868 if { (eval echo configure:18869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18870 eval "ac_cv_func_$ac_func=yes"
18872 echo "configure: failed program was:" >&5
18873 cat conftest.$ac_ext >&5
18875 eval "ac_cv_func_$ac_func=no"
18880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18881 echo "$ac_t""yes" 1>&6
18882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18883 cat >> confdefs.h <<EOF
18884 #define $ac_tr_func 1
18888 echo "$ac_t""no" 1>&6
18897 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
18898 echo "configure:18899: checking for fmodl declaration" >&5
18899 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18900 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18901 echo $ac_n "(cached) $ac_c" 1>&6
18906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18907 ac_cpp='$CXXCPP $CPPFLAGS'
18908 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18909 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18910 cross_compiling=$ac_cv_prog_cxx_cross
18912 cat > conftest.$ac_ext <<EOF
18913 #line 18914 "configure"
18914 #include "confdefs.h"
18920 if { (eval echo configure:18921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18922 glibcpp_cv_func_fmodl_use=yes
18924 echo "configure: failed program was:" >&5
18925 cat conftest.$ac_ext >&5
18927 glibcpp_cv_func_fmodl_use=no
18931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18932 ac_cpp='$CPP $CPPFLAGS'
18933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18935 cross_compiling=$ac_cv_prog_cc_cross
18941 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18943 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18944 for ac_func in fmodl
18946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18947 echo "configure:18948: checking for $ac_func" >&5
18948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18949 echo $ac_n "(cached) $ac_c" 1>&6
18951 cat > conftest.$ac_ext <<EOF
18952 #line 18953 "configure"
18953 #include "confdefs.h"
18954 /* System header to define __stub macros and hopefully few prototypes,
18955 which can conflict with char $ac_func(); below. */
18956 #include <assert.h>
18957 /* Override any gcc2 internal prototype to avoid an error. */
18958 /* We use char because int might match the return type of a gcc2
18959 builtin and then its argument prototype would still apply. */
18964 /* The GNU C library defines this for functions which it implements
18965 to always fail with ENOSYS. Some functions are actually named
18966 something starting with __ and the normal name is an alias. */
18967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18975 if { (eval echo configure:18976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18977 eval "ac_cv_func_$ac_func=yes"
18979 echo "configure: failed program was:" >&5
18980 cat conftest.$ac_ext >&5
18982 eval "ac_cv_func_$ac_func=no"
18987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18988 echo "$ac_t""yes" 1>&6
18989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18990 cat >> confdefs.h <<EOF
18991 #define $ac_tr_func 1
18995 echo "$ac_t""no" 1>&6
19001 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
19002 echo "configure:19003: checking for _fmodl declaration" >&5
19003 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
19004 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
19005 echo $ac_n "(cached) $ac_c" 1>&6
19010 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19011 ac_cpp='$CXXCPP $CPPFLAGS'
19012 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19013 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19014 cross_compiling=$ac_cv_prog_cxx_cross
19016 cat > conftest.$ac_ext <<EOF
19017 #line 19018 "configure"
19018 #include "confdefs.h"
19024 if { (eval echo configure:19025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19026 glibcpp_cv_func__fmodl_use=yes
19028 echo "configure: failed program was:" >&5
19029 cat conftest.$ac_ext >&5
19031 glibcpp_cv_func__fmodl_use=no
19035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19036 ac_cpp='$CPP $CPPFLAGS'
19037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19039 cross_compiling=$ac_cv_prog_cc_cross
19045 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
19047 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
19048 for ac_func in _fmodl
19050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19051 echo "configure:19052: checking for $ac_func" >&5
19052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19053 echo $ac_n "(cached) $ac_c" 1>&6
19055 cat > conftest.$ac_ext <<EOF
19056 #line 19057 "configure"
19057 #include "confdefs.h"
19058 /* System header to define __stub macros and hopefully few prototypes,
19059 which can conflict with char $ac_func(); below. */
19060 #include <assert.h>
19061 /* Override any gcc2 internal prototype to avoid an error. */
19062 /* We use char because int might match the return type of a gcc2
19063 builtin and then its argument prototype would still apply. */
19068 /* The GNU C library defines this for functions which it implements
19069 to always fail with ENOSYS. Some functions are actually named
19070 something starting with __ and the normal name is an alias. */
19071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19079 if { (eval echo configure:19080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19081 eval "ac_cv_func_$ac_func=yes"
19083 echo "configure: failed program was:" >&5
19084 cat conftest.$ac_ext >&5
19086 eval "ac_cv_func_$ac_func=no"
19091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19092 echo "$ac_t""yes" 1>&6
19093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19094 cat >> confdefs.h <<EOF
19095 #define $ac_tr_func 1
19099 echo "$ac_t""no" 1>&6
19108 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
19109 echo "configure:19110: checking for frexpl declaration" >&5
19110 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
19111 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
19112 echo $ac_n "(cached) $ac_c" 1>&6
19117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19118 ac_cpp='$CXXCPP $CPPFLAGS'
19119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19121 cross_compiling=$ac_cv_prog_cxx_cross
19123 cat > conftest.$ac_ext <<EOF
19124 #line 19125 "configure"
19125 #include "confdefs.h"
19131 if { (eval echo configure:19132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19133 glibcpp_cv_func_frexpl_use=yes
19135 echo "configure: failed program was:" >&5
19136 cat conftest.$ac_ext >&5
19138 glibcpp_cv_func_frexpl_use=no
19142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19143 ac_cpp='$CPP $CPPFLAGS'
19144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19146 cross_compiling=$ac_cv_prog_cc_cross
19152 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
19154 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
19155 for ac_func in frexpl
19157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19158 echo "configure:19159: checking for $ac_func" >&5
19159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19160 echo $ac_n "(cached) $ac_c" 1>&6
19162 cat > conftest.$ac_ext <<EOF
19163 #line 19164 "configure"
19164 #include "confdefs.h"
19165 /* System header to define __stub macros and hopefully few prototypes,
19166 which can conflict with char $ac_func(); below. */
19167 #include <assert.h>
19168 /* Override any gcc2 internal prototype to avoid an error. */
19169 /* We use char because int might match the return type of a gcc2
19170 builtin and then its argument prototype would still apply. */
19175 /* The GNU C library defines this for functions which it implements
19176 to always fail with ENOSYS. Some functions are actually named
19177 something starting with __ and the normal name is an alias. */
19178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19186 if { (eval echo configure:19187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19188 eval "ac_cv_func_$ac_func=yes"
19190 echo "configure: failed program was:" >&5
19191 cat conftest.$ac_ext >&5
19193 eval "ac_cv_func_$ac_func=no"
19198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19199 echo "$ac_t""yes" 1>&6
19200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19201 cat >> confdefs.h <<EOF
19202 #define $ac_tr_func 1
19206 echo "$ac_t""no" 1>&6
19212 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
19213 echo "configure:19214: checking for _frexpl declaration" >&5
19214 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19215 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19216 echo $ac_n "(cached) $ac_c" 1>&6
19221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19222 ac_cpp='$CXXCPP $CPPFLAGS'
19223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19225 cross_compiling=$ac_cv_prog_cxx_cross
19227 cat > conftest.$ac_ext <<EOF
19228 #line 19229 "configure"
19229 #include "confdefs.h"
19235 if { (eval echo configure:19236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19237 glibcpp_cv_func__frexpl_use=yes
19239 echo "configure: failed program was:" >&5
19240 cat conftest.$ac_ext >&5
19242 glibcpp_cv_func__frexpl_use=no
19246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19247 ac_cpp='$CPP $CPPFLAGS'
19248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19250 cross_compiling=$ac_cv_prog_cc_cross
19256 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19258 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19259 for ac_func in _frexpl
19261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19262 echo "configure:19263: checking for $ac_func" >&5
19263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19264 echo $ac_n "(cached) $ac_c" 1>&6
19266 cat > conftest.$ac_ext <<EOF
19267 #line 19268 "configure"
19268 #include "confdefs.h"
19269 /* System header to define __stub macros and hopefully few prototypes,
19270 which can conflict with char $ac_func(); below. */
19271 #include <assert.h>
19272 /* Override any gcc2 internal prototype to avoid an error. */
19273 /* We use char because int might match the return type of a gcc2
19274 builtin and then its argument prototype would still apply. */
19279 /* The GNU C library defines this for functions which it implements
19280 to always fail with ENOSYS. Some functions are actually named
19281 something starting with __ and the normal name is an alias. */
19282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19290 if { (eval echo configure:19291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19292 eval "ac_cv_func_$ac_func=yes"
19294 echo "configure: failed program was:" >&5
19295 cat conftest.$ac_ext >&5
19297 eval "ac_cv_func_$ac_func=no"
19302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19303 echo "$ac_t""yes" 1>&6
19304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19305 cat >> confdefs.h <<EOF
19306 #define $ac_tr_func 1
19310 echo "$ac_t""no" 1>&6
19319 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
19320 echo "configure:19321: checking for hypotl declaration" >&5
19321 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19322 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19323 echo $ac_n "(cached) $ac_c" 1>&6
19328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19329 ac_cpp='$CXXCPP $CPPFLAGS'
19330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19332 cross_compiling=$ac_cv_prog_cxx_cross
19334 cat > conftest.$ac_ext <<EOF
19335 #line 19336 "configure"
19336 #include "confdefs.h"
19342 if { (eval echo configure:19343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19344 glibcpp_cv_func_hypotl_use=yes
19346 echo "configure: failed program was:" >&5
19347 cat conftest.$ac_ext >&5
19349 glibcpp_cv_func_hypotl_use=no
19353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19354 ac_cpp='$CPP $CPPFLAGS'
19355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19357 cross_compiling=$ac_cv_prog_cc_cross
19363 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19365 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19366 for ac_func in hypotl
19368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19369 echo "configure:19370: checking for $ac_func" >&5
19370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19371 echo $ac_n "(cached) $ac_c" 1>&6
19373 cat > conftest.$ac_ext <<EOF
19374 #line 19375 "configure"
19375 #include "confdefs.h"
19376 /* System header to define __stub macros and hopefully few prototypes,
19377 which can conflict with char $ac_func(); below. */
19378 #include <assert.h>
19379 /* Override any gcc2 internal prototype to avoid an error. */
19380 /* We use char because int might match the return type of a gcc2
19381 builtin and then its argument prototype would still apply. */
19386 /* The GNU C library defines this for functions which it implements
19387 to always fail with ENOSYS. Some functions are actually named
19388 something starting with __ and the normal name is an alias. */
19389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19397 if { (eval echo configure:19398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19399 eval "ac_cv_func_$ac_func=yes"
19401 echo "configure: failed program was:" >&5
19402 cat conftest.$ac_ext >&5
19404 eval "ac_cv_func_$ac_func=no"
19409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19410 echo "$ac_t""yes" 1>&6
19411 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19412 cat >> confdefs.h <<EOF
19413 #define $ac_tr_func 1
19417 echo "$ac_t""no" 1>&6
19423 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
19424 echo "configure:19425: checking for _hypotl declaration" >&5
19425 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19426 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19427 echo $ac_n "(cached) $ac_c" 1>&6
19432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19433 ac_cpp='$CXXCPP $CPPFLAGS'
19434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19436 cross_compiling=$ac_cv_prog_cxx_cross
19438 cat > conftest.$ac_ext <<EOF
19439 #line 19440 "configure"
19440 #include "confdefs.h"
19446 if { (eval echo configure:19447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19448 glibcpp_cv_func__hypotl_use=yes
19450 echo "configure: failed program was:" >&5
19451 cat conftest.$ac_ext >&5
19453 glibcpp_cv_func__hypotl_use=no
19457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19458 ac_cpp='$CPP $CPPFLAGS'
19459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19461 cross_compiling=$ac_cv_prog_cc_cross
19467 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19469 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19470 for ac_func in _hypotl
19472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19473 echo "configure:19474: checking for $ac_func" >&5
19474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19475 echo $ac_n "(cached) $ac_c" 1>&6
19477 cat > conftest.$ac_ext <<EOF
19478 #line 19479 "configure"
19479 #include "confdefs.h"
19480 /* System header to define __stub macros and hopefully few prototypes,
19481 which can conflict with char $ac_func(); below. */
19482 #include <assert.h>
19483 /* Override any gcc2 internal prototype to avoid an error. */
19484 /* We use char because int might match the return type of a gcc2
19485 builtin and then its argument prototype would still apply. */
19490 /* The GNU C library defines this for functions which it implements
19491 to always fail with ENOSYS. Some functions are actually named
19492 something starting with __ and the normal name is an alias. */
19493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19501 if { (eval echo configure:19502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19503 eval "ac_cv_func_$ac_func=yes"
19505 echo "configure: failed program was:" >&5
19506 cat conftest.$ac_ext >&5
19508 eval "ac_cv_func_$ac_func=no"
19513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19514 echo "$ac_t""yes" 1>&6
19515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19516 cat >> confdefs.h <<EOF
19517 #define $ac_tr_func 1
19521 echo "$ac_t""no" 1>&6
19530 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
19531 echo "configure:19532: checking for ldexpl declaration" >&5
19532 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19533 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19534 echo $ac_n "(cached) $ac_c" 1>&6
19539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19540 ac_cpp='$CXXCPP $CPPFLAGS'
19541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19543 cross_compiling=$ac_cv_prog_cxx_cross
19545 cat > conftest.$ac_ext <<EOF
19546 #line 19547 "configure"
19547 #include "confdefs.h"
19553 if { (eval echo configure:19554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19555 glibcpp_cv_func_ldexpl_use=yes
19557 echo "configure: failed program was:" >&5
19558 cat conftest.$ac_ext >&5
19560 glibcpp_cv_func_ldexpl_use=no
19564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19565 ac_cpp='$CPP $CPPFLAGS'
19566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19568 cross_compiling=$ac_cv_prog_cc_cross
19574 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19576 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19577 for ac_func in ldexpl
19579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19580 echo "configure:19581: checking for $ac_func" >&5
19581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19582 echo $ac_n "(cached) $ac_c" 1>&6
19584 cat > conftest.$ac_ext <<EOF
19585 #line 19586 "configure"
19586 #include "confdefs.h"
19587 /* System header to define __stub macros and hopefully few prototypes,
19588 which can conflict with char $ac_func(); below. */
19589 #include <assert.h>
19590 /* Override any gcc2 internal prototype to avoid an error. */
19591 /* We use char because int might match the return type of a gcc2
19592 builtin and then its argument prototype would still apply. */
19597 /* The GNU C library defines this for functions which it implements
19598 to always fail with ENOSYS. Some functions are actually named
19599 something starting with __ and the normal name is an alias. */
19600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19608 if { (eval echo configure:19609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19610 eval "ac_cv_func_$ac_func=yes"
19612 echo "configure: failed program was:" >&5
19613 cat conftest.$ac_ext >&5
19615 eval "ac_cv_func_$ac_func=no"
19620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19621 echo "$ac_t""yes" 1>&6
19622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19623 cat >> confdefs.h <<EOF
19624 #define $ac_tr_func 1
19628 echo "$ac_t""no" 1>&6
19634 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
19635 echo "configure:19636: checking for _ldexpl declaration" >&5
19636 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19637 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19638 echo $ac_n "(cached) $ac_c" 1>&6
19643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19644 ac_cpp='$CXXCPP $CPPFLAGS'
19645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19647 cross_compiling=$ac_cv_prog_cxx_cross
19649 cat > conftest.$ac_ext <<EOF
19650 #line 19651 "configure"
19651 #include "confdefs.h"
19657 if { (eval echo configure:19658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19659 glibcpp_cv_func__ldexpl_use=yes
19661 echo "configure: failed program was:" >&5
19662 cat conftest.$ac_ext >&5
19664 glibcpp_cv_func__ldexpl_use=no
19668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19669 ac_cpp='$CPP $CPPFLAGS'
19670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19672 cross_compiling=$ac_cv_prog_cc_cross
19678 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19680 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19681 for ac_func in _ldexpl
19683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19684 echo "configure:19685: checking for $ac_func" >&5
19685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19686 echo $ac_n "(cached) $ac_c" 1>&6
19688 cat > conftest.$ac_ext <<EOF
19689 #line 19690 "configure"
19690 #include "confdefs.h"
19691 /* System header to define __stub macros and hopefully few prototypes,
19692 which can conflict with char $ac_func(); below. */
19693 #include <assert.h>
19694 /* Override any gcc2 internal prototype to avoid an error. */
19695 /* We use char because int might match the return type of a gcc2
19696 builtin and then its argument prototype would still apply. */
19701 /* The GNU C library defines this for functions which it implements
19702 to always fail with ENOSYS. Some functions are actually named
19703 something starting with __ and the normal name is an alias. */
19704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19712 if { (eval echo configure:19713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19714 eval "ac_cv_func_$ac_func=yes"
19716 echo "configure: failed program was:" >&5
19717 cat conftest.$ac_ext >&5
19719 eval "ac_cv_func_$ac_func=no"
19724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19725 echo "$ac_t""yes" 1>&6
19726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19727 cat >> confdefs.h <<EOF
19728 #define $ac_tr_func 1
19732 echo "$ac_t""no" 1>&6
19741 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
19742 echo "configure:19743: checking for logl declaration" >&5
19743 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19744 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19745 echo $ac_n "(cached) $ac_c" 1>&6
19750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19751 ac_cpp='$CXXCPP $CPPFLAGS'
19752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19754 cross_compiling=$ac_cv_prog_cxx_cross
19756 cat > conftest.$ac_ext <<EOF
19757 #line 19758 "configure"
19758 #include "confdefs.h"
19760 #ifdef HAVE_IEEEFP_H
19761 #include <ieeefp.h>
19768 if { (eval echo configure:19769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19770 glibcpp_cv_func_logl_use=yes
19772 echo "configure: failed program was:" >&5
19773 cat conftest.$ac_ext >&5
19775 glibcpp_cv_func_logl_use=no
19779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19780 ac_cpp='$CPP $CPPFLAGS'
19781 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19782 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19783 cross_compiling=$ac_cv_prog_cc_cross
19789 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19791 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19792 for ac_func in logl
19794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19795 echo "configure:19796: checking for $ac_func" >&5
19796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19797 echo $ac_n "(cached) $ac_c" 1>&6
19799 cat > conftest.$ac_ext <<EOF
19800 #line 19801 "configure"
19801 #include "confdefs.h"
19802 /* System header to define __stub macros and hopefully few prototypes,
19803 which can conflict with char $ac_func(); below. */
19804 #include <assert.h>
19805 /* Override any gcc2 internal prototype to avoid an error. */
19806 /* We use char because int might match the return type of a gcc2
19807 builtin and then its argument prototype would still apply. */
19812 /* The GNU C library defines this for functions which it implements
19813 to always fail with ENOSYS. Some functions are actually named
19814 something starting with __ and the normal name is an alias. */
19815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19823 if { (eval echo configure:19824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19825 eval "ac_cv_func_$ac_func=yes"
19827 echo "configure: failed program was:" >&5
19828 cat conftest.$ac_ext >&5
19830 eval "ac_cv_func_$ac_func=no"
19835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19836 echo "$ac_t""yes" 1>&6
19837 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19838 cat >> confdefs.h <<EOF
19839 #define $ac_tr_func 1
19843 echo "$ac_t""no" 1>&6
19849 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
19850 echo "configure:19851: checking for _logl declaration" >&5
19851 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19852 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19853 echo $ac_n "(cached) $ac_c" 1>&6
19858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19859 ac_cpp='$CXXCPP $CPPFLAGS'
19860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19862 cross_compiling=$ac_cv_prog_cxx_cross
19864 cat > conftest.$ac_ext <<EOF
19865 #line 19866 "configure"
19866 #include "confdefs.h"
19868 #ifdef HAVE_IEEEFP_H
19869 #include <ieeefp.h>
19876 if { (eval echo configure:19877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19878 glibcpp_cv_func__logl_use=yes
19880 echo "configure: failed program was:" >&5
19881 cat conftest.$ac_ext >&5
19883 glibcpp_cv_func__logl_use=no
19887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19888 ac_cpp='$CPP $CPPFLAGS'
19889 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19890 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19891 cross_compiling=$ac_cv_prog_cc_cross
19897 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19899 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19900 for ac_func in _logl
19902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19903 echo "configure:19904: checking for $ac_func" >&5
19904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19905 echo $ac_n "(cached) $ac_c" 1>&6
19907 cat > conftest.$ac_ext <<EOF
19908 #line 19909 "configure"
19909 #include "confdefs.h"
19910 /* System header to define __stub macros and hopefully few prototypes,
19911 which can conflict with char $ac_func(); below. */
19912 #include <assert.h>
19913 /* Override any gcc2 internal prototype to avoid an error. */
19914 /* We use char because int might match the return type of a gcc2
19915 builtin and then its argument prototype would still apply. */
19920 /* The GNU C library defines this for functions which it implements
19921 to always fail with ENOSYS. Some functions are actually named
19922 something starting with __ and the normal name is an alias. */
19923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19931 if { (eval echo configure:19932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19933 eval "ac_cv_func_$ac_func=yes"
19935 echo "configure: failed program was:" >&5
19936 cat conftest.$ac_ext >&5
19938 eval "ac_cv_func_$ac_func=no"
19943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19944 echo "$ac_t""yes" 1>&6
19945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19946 cat >> confdefs.h <<EOF
19947 #define $ac_tr_func 1
19951 echo "$ac_t""no" 1>&6
19960 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
19961 echo "configure:19962: checking for log10l declaration" >&5
19962 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19963 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19964 echo $ac_n "(cached) $ac_c" 1>&6
19969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19970 ac_cpp='$CXXCPP $CPPFLAGS'
19971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19973 cross_compiling=$ac_cv_prog_cxx_cross
19975 cat > conftest.$ac_ext <<EOF
19976 #line 19977 "configure"
19977 #include "confdefs.h"
19979 #ifdef HAVE_IEEEFP_H
19980 #include <ieeefp.h>
19987 if { (eval echo configure:19988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19989 glibcpp_cv_func_log10l_use=yes
19991 echo "configure: failed program was:" >&5
19992 cat conftest.$ac_ext >&5
19994 glibcpp_cv_func_log10l_use=no
19998 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19999 ac_cpp='$CPP $CPPFLAGS'
20000 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20001 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20002 cross_compiling=$ac_cv_prog_cc_cross
20008 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
20010 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
20011 for ac_func in log10l
20013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20014 echo "configure:20015: checking for $ac_func" >&5
20015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20016 echo $ac_n "(cached) $ac_c" 1>&6
20018 cat > conftest.$ac_ext <<EOF
20019 #line 20020 "configure"
20020 #include "confdefs.h"
20021 /* System header to define __stub macros and hopefully few prototypes,
20022 which can conflict with char $ac_func(); below. */
20023 #include <assert.h>
20024 /* Override any gcc2 internal prototype to avoid an error. */
20025 /* We use char because int might match the return type of a gcc2
20026 builtin and then its argument prototype would still apply. */
20031 /* The GNU C library defines this for functions which it implements
20032 to always fail with ENOSYS. Some functions are actually named
20033 something starting with __ and the normal name is an alias. */
20034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20042 if { (eval echo configure:20043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20044 eval "ac_cv_func_$ac_func=yes"
20046 echo "configure: failed program was:" >&5
20047 cat conftest.$ac_ext >&5
20049 eval "ac_cv_func_$ac_func=no"
20054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20055 echo "$ac_t""yes" 1>&6
20056 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20057 cat >> confdefs.h <<EOF
20058 #define $ac_tr_func 1
20062 echo "$ac_t""no" 1>&6
20068 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
20069 echo "configure:20070: checking for _log10l declaration" >&5
20070 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
20071 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
20072 echo $ac_n "(cached) $ac_c" 1>&6
20077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20078 ac_cpp='$CXXCPP $CPPFLAGS'
20079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20081 cross_compiling=$ac_cv_prog_cxx_cross
20083 cat > conftest.$ac_ext <<EOF
20084 #line 20085 "configure"
20085 #include "confdefs.h"
20087 #ifdef HAVE_IEEEFP_H
20088 #include <ieeefp.h>
20095 if { (eval echo configure:20096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20097 glibcpp_cv_func__log10l_use=yes
20099 echo "configure: failed program was:" >&5
20100 cat conftest.$ac_ext >&5
20102 glibcpp_cv_func__log10l_use=no
20106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20107 ac_cpp='$CPP $CPPFLAGS'
20108 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20109 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20110 cross_compiling=$ac_cv_prog_cc_cross
20116 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
20118 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
20119 for ac_func in _log10l
20121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20122 echo "configure:20123: checking for $ac_func" >&5
20123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20124 echo $ac_n "(cached) $ac_c" 1>&6
20126 cat > conftest.$ac_ext <<EOF
20127 #line 20128 "configure"
20128 #include "confdefs.h"
20129 /* System header to define __stub macros and hopefully few prototypes,
20130 which can conflict with char $ac_func(); below. */
20131 #include <assert.h>
20132 /* Override any gcc2 internal prototype to avoid an error. */
20133 /* We use char because int might match the return type of a gcc2
20134 builtin and then its argument prototype would still apply. */
20139 /* The GNU C library defines this for functions which it implements
20140 to always fail with ENOSYS. Some functions are actually named
20141 something starting with __ and the normal name is an alias. */
20142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20150 if { (eval echo configure:20151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20152 eval "ac_cv_func_$ac_func=yes"
20154 echo "configure: failed program was:" >&5
20155 cat conftest.$ac_ext >&5
20157 eval "ac_cv_func_$ac_func=no"
20162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20163 echo "$ac_t""yes" 1>&6
20164 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20165 cat >> confdefs.h <<EOF
20166 #define $ac_tr_func 1
20170 echo "$ac_t""no" 1>&6
20179 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
20180 echo "configure:20181: checking for modfl declaration" >&5
20181 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
20182 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
20183 echo $ac_n "(cached) $ac_c" 1>&6
20188 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20189 ac_cpp='$CXXCPP $CPPFLAGS'
20190 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20191 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20192 cross_compiling=$ac_cv_prog_cxx_cross
20194 cat > conftest.$ac_ext <<EOF
20195 #line 20196 "configure"
20196 #include "confdefs.h"
20202 if { (eval echo configure:20203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20204 glibcpp_cv_func_modfl_use=yes
20206 echo "configure: failed program was:" >&5
20207 cat conftest.$ac_ext >&5
20209 glibcpp_cv_func_modfl_use=no
20213 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20214 ac_cpp='$CPP $CPPFLAGS'
20215 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20216 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20217 cross_compiling=$ac_cv_prog_cc_cross
20223 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20225 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20226 for ac_func in modfl
20228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20229 echo "configure:20230: checking for $ac_func" >&5
20230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20231 echo $ac_n "(cached) $ac_c" 1>&6
20233 cat > conftest.$ac_ext <<EOF
20234 #line 20235 "configure"
20235 #include "confdefs.h"
20236 /* System header to define __stub macros and hopefully few prototypes,
20237 which can conflict with char $ac_func(); below. */
20238 #include <assert.h>
20239 /* Override any gcc2 internal prototype to avoid an error. */
20240 /* We use char because int might match the return type of a gcc2
20241 builtin and then its argument prototype would still apply. */
20246 /* The GNU C library defines this for functions which it implements
20247 to always fail with ENOSYS. Some functions are actually named
20248 something starting with __ and the normal name is an alias. */
20249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20257 if { (eval echo configure:20258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20259 eval "ac_cv_func_$ac_func=yes"
20261 echo "configure: failed program was:" >&5
20262 cat conftest.$ac_ext >&5
20264 eval "ac_cv_func_$ac_func=no"
20269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20270 echo "$ac_t""yes" 1>&6
20271 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20272 cat >> confdefs.h <<EOF
20273 #define $ac_tr_func 1
20277 echo "$ac_t""no" 1>&6
20283 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
20284 echo "configure:20285: checking for _modfl declaration" >&5
20285 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20286 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20287 echo $ac_n "(cached) $ac_c" 1>&6
20292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20293 ac_cpp='$CXXCPP $CPPFLAGS'
20294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20296 cross_compiling=$ac_cv_prog_cxx_cross
20298 cat > conftest.$ac_ext <<EOF
20299 #line 20300 "configure"
20300 #include "confdefs.h"
20306 if { (eval echo configure:20307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20308 glibcpp_cv_func__modfl_use=yes
20310 echo "configure: failed program was:" >&5
20311 cat conftest.$ac_ext >&5
20313 glibcpp_cv_func__modfl_use=no
20317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20318 ac_cpp='$CPP $CPPFLAGS'
20319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20321 cross_compiling=$ac_cv_prog_cc_cross
20327 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20329 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20330 for ac_func in _modfl
20332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20333 echo "configure:20334: checking for $ac_func" >&5
20334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20335 echo $ac_n "(cached) $ac_c" 1>&6
20337 cat > conftest.$ac_ext <<EOF
20338 #line 20339 "configure"
20339 #include "confdefs.h"
20340 /* System header to define __stub macros and hopefully few prototypes,
20341 which can conflict with char $ac_func(); below. */
20342 #include <assert.h>
20343 /* Override any gcc2 internal prototype to avoid an error. */
20344 /* We use char because int might match the return type of a gcc2
20345 builtin and then its argument prototype would still apply. */
20350 /* The GNU C library defines this for functions which it implements
20351 to always fail with ENOSYS. Some functions are actually named
20352 something starting with __ and the normal name is an alias. */
20353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20361 if { (eval echo configure:20362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20363 eval "ac_cv_func_$ac_func=yes"
20365 echo "configure: failed program was:" >&5
20366 cat conftest.$ac_ext >&5
20368 eval "ac_cv_func_$ac_func=no"
20373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20374 echo "$ac_t""yes" 1>&6
20375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20376 cat >> confdefs.h <<EOF
20377 #define $ac_tr_func 1
20381 echo "$ac_t""no" 1>&6
20390 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
20391 echo "configure:20392: checking for powl declaration" >&5
20392 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20393 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20394 echo $ac_n "(cached) $ac_c" 1>&6
20399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20400 ac_cpp='$CXXCPP $CPPFLAGS'
20401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20403 cross_compiling=$ac_cv_prog_cxx_cross
20405 cat > conftest.$ac_ext <<EOF
20406 #line 20407 "configure"
20407 #include "confdefs.h"
20413 if { (eval echo configure:20414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20415 glibcpp_cv_func_powl_use=yes
20417 echo "configure: failed program was:" >&5
20418 cat conftest.$ac_ext >&5
20420 glibcpp_cv_func_powl_use=no
20424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20425 ac_cpp='$CPP $CPPFLAGS'
20426 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20427 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20428 cross_compiling=$ac_cv_prog_cc_cross
20434 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20436 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20437 for ac_func in powl
20439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20440 echo "configure:20441: checking for $ac_func" >&5
20441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20442 echo $ac_n "(cached) $ac_c" 1>&6
20444 cat > conftest.$ac_ext <<EOF
20445 #line 20446 "configure"
20446 #include "confdefs.h"
20447 /* System header to define __stub macros and hopefully few prototypes,
20448 which can conflict with char $ac_func(); below. */
20449 #include <assert.h>
20450 /* Override any gcc2 internal prototype to avoid an error. */
20451 /* We use char because int might match the return type of a gcc2
20452 builtin and then its argument prototype would still apply. */
20457 /* The GNU C library defines this for functions which it implements
20458 to always fail with ENOSYS. Some functions are actually named
20459 something starting with __ and the normal name is an alias. */
20460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20468 if { (eval echo configure:20469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20470 eval "ac_cv_func_$ac_func=yes"
20472 echo "configure: failed program was:" >&5
20473 cat conftest.$ac_ext >&5
20475 eval "ac_cv_func_$ac_func=no"
20480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20481 echo "$ac_t""yes" 1>&6
20482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20483 cat >> confdefs.h <<EOF
20484 #define $ac_tr_func 1
20488 echo "$ac_t""no" 1>&6
20494 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
20495 echo "configure:20496: checking for _powl declaration" >&5
20496 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20497 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20498 echo $ac_n "(cached) $ac_c" 1>&6
20503 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20504 ac_cpp='$CXXCPP $CPPFLAGS'
20505 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20506 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20507 cross_compiling=$ac_cv_prog_cxx_cross
20509 cat > conftest.$ac_ext <<EOF
20510 #line 20511 "configure"
20511 #include "confdefs.h"
20517 if { (eval echo configure:20518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20519 glibcpp_cv_func__powl_use=yes
20521 echo "configure: failed program was:" >&5
20522 cat conftest.$ac_ext >&5
20524 glibcpp_cv_func__powl_use=no
20528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20529 ac_cpp='$CPP $CPPFLAGS'
20530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20532 cross_compiling=$ac_cv_prog_cc_cross
20538 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20540 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20541 for ac_func in _powl
20543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20544 echo "configure:20545: checking for $ac_func" >&5
20545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20546 echo $ac_n "(cached) $ac_c" 1>&6
20548 cat > conftest.$ac_ext <<EOF
20549 #line 20550 "configure"
20550 #include "confdefs.h"
20551 /* System header to define __stub macros and hopefully few prototypes,
20552 which can conflict with char $ac_func(); below. */
20553 #include <assert.h>
20554 /* Override any gcc2 internal prototype to avoid an error. */
20555 /* We use char because int might match the return type of a gcc2
20556 builtin and then its argument prototype would still apply. */
20561 /* The GNU C library defines this for functions which it implements
20562 to always fail with ENOSYS. Some functions are actually named
20563 something starting with __ and the normal name is an alias. */
20564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20572 if { (eval echo configure:20573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20574 eval "ac_cv_func_$ac_func=yes"
20576 echo "configure: failed program was:" >&5
20577 cat conftest.$ac_ext >&5
20579 eval "ac_cv_func_$ac_func=no"
20584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20585 echo "$ac_t""yes" 1>&6
20586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20587 cat >> confdefs.h <<EOF
20588 #define $ac_tr_func 1
20592 echo "$ac_t""no" 1>&6
20601 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
20602 echo "configure:20603: checking for sqrtl declaration" >&5
20603 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20604 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20605 echo $ac_n "(cached) $ac_c" 1>&6
20610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20611 ac_cpp='$CXXCPP $CPPFLAGS'
20612 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20613 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20614 cross_compiling=$ac_cv_prog_cxx_cross
20616 cat > conftest.$ac_ext <<EOF
20617 #line 20618 "configure"
20618 #include "confdefs.h"
20620 #ifdef HAVE_IEEEFP_H
20621 #include <ieeefp.h>
20628 if { (eval echo configure:20629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20630 glibcpp_cv_func_sqrtl_use=yes
20632 echo "configure: failed program was:" >&5
20633 cat conftest.$ac_ext >&5
20635 glibcpp_cv_func_sqrtl_use=no
20639 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20640 ac_cpp='$CPP $CPPFLAGS'
20641 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20642 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20643 cross_compiling=$ac_cv_prog_cc_cross
20649 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20651 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20652 for ac_func in sqrtl
20654 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20655 echo "configure:20656: checking for $ac_func" >&5
20656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20657 echo $ac_n "(cached) $ac_c" 1>&6
20659 cat > conftest.$ac_ext <<EOF
20660 #line 20661 "configure"
20661 #include "confdefs.h"
20662 /* System header to define __stub macros and hopefully few prototypes,
20663 which can conflict with char $ac_func(); below. */
20664 #include <assert.h>
20665 /* Override any gcc2 internal prototype to avoid an error. */
20666 /* We use char because int might match the return type of a gcc2
20667 builtin and then its argument prototype would still apply. */
20672 /* The GNU C library defines this for functions which it implements
20673 to always fail with ENOSYS. Some functions are actually named
20674 something starting with __ and the normal name is an alias. */
20675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20683 if { (eval echo configure:20684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20685 eval "ac_cv_func_$ac_func=yes"
20687 echo "configure: failed program was:" >&5
20688 cat conftest.$ac_ext >&5
20690 eval "ac_cv_func_$ac_func=no"
20695 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20696 echo "$ac_t""yes" 1>&6
20697 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20698 cat >> confdefs.h <<EOF
20699 #define $ac_tr_func 1
20703 echo "$ac_t""no" 1>&6
20709 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
20710 echo "configure:20711: checking for _sqrtl declaration" >&5
20711 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20712 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20713 echo $ac_n "(cached) $ac_c" 1>&6
20718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20719 ac_cpp='$CXXCPP $CPPFLAGS'
20720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20722 cross_compiling=$ac_cv_prog_cxx_cross
20724 cat > conftest.$ac_ext <<EOF
20725 #line 20726 "configure"
20726 #include "confdefs.h"
20728 #ifdef HAVE_IEEEFP_H
20729 #include <ieeefp.h>
20736 if { (eval echo configure:20737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20738 glibcpp_cv_func__sqrtl_use=yes
20740 echo "configure: failed program was:" >&5
20741 cat conftest.$ac_ext >&5
20743 glibcpp_cv_func__sqrtl_use=no
20747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20748 ac_cpp='$CPP $CPPFLAGS'
20749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20751 cross_compiling=$ac_cv_prog_cc_cross
20757 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20759 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20760 for ac_func in _sqrtl
20762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20763 echo "configure:20764: checking for $ac_func" >&5
20764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20765 echo $ac_n "(cached) $ac_c" 1>&6
20767 cat > conftest.$ac_ext <<EOF
20768 #line 20769 "configure"
20769 #include "confdefs.h"
20770 /* System header to define __stub macros and hopefully few prototypes,
20771 which can conflict with char $ac_func(); below. */
20772 #include <assert.h>
20773 /* Override any gcc2 internal prototype to avoid an error. */
20774 /* We use char because int might match the return type of a gcc2
20775 builtin and then its argument prototype would still apply. */
20780 /* The GNU C library defines this for functions which it implements
20781 to always fail with ENOSYS. Some functions are actually named
20782 something starting with __ and the normal name is an alias. */
20783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20791 if { (eval echo configure:20792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20793 eval "ac_cv_func_$ac_func=yes"
20795 echo "configure: failed program was:" >&5
20796 cat conftest.$ac_ext >&5
20798 eval "ac_cv_func_$ac_func=no"
20803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20804 echo "$ac_t""yes" 1>&6
20805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20806 cat >> confdefs.h <<EOF
20807 #define $ac_tr_func 1
20811 echo "$ac_t""no" 1>&6
20820 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
20821 echo "configure:20822: checking for sincosl declaration" >&5
20822 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20823 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20824 echo $ac_n "(cached) $ac_c" 1>&6
20829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20830 ac_cpp='$CXXCPP $CPPFLAGS'
20831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20833 cross_compiling=$ac_cv_prog_cxx_cross
20835 cat > conftest.$ac_ext <<EOF
20836 #line 20837 "configure"
20837 #include "confdefs.h"
20843 if { (eval echo configure:20844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20845 glibcpp_cv_func_sincosl_use=yes
20847 echo "configure: failed program was:" >&5
20848 cat conftest.$ac_ext >&5
20850 glibcpp_cv_func_sincosl_use=no
20854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20855 ac_cpp='$CPP $CPPFLAGS'
20856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20858 cross_compiling=$ac_cv_prog_cc_cross
20864 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20866 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20867 for ac_func in sincosl
20869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20870 echo "configure:20871: checking for $ac_func" >&5
20871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20872 echo $ac_n "(cached) $ac_c" 1>&6
20874 cat > conftest.$ac_ext <<EOF
20875 #line 20876 "configure"
20876 #include "confdefs.h"
20877 /* System header to define __stub macros and hopefully few prototypes,
20878 which can conflict with char $ac_func(); below. */
20879 #include <assert.h>
20880 /* Override any gcc2 internal prototype to avoid an error. */
20881 /* We use char because int might match the return type of a gcc2
20882 builtin and then its argument prototype would still apply. */
20887 /* The GNU C library defines this for functions which it implements
20888 to always fail with ENOSYS. Some functions are actually named
20889 something starting with __ and the normal name is an alias. */
20890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20898 if { (eval echo configure:20899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20900 eval "ac_cv_func_$ac_func=yes"
20902 echo "configure: failed program was:" >&5
20903 cat conftest.$ac_ext >&5
20905 eval "ac_cv_func_$ac_func=no"
20910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20911 echo "$ac_t""yes" 1>&6
20912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20913 cat >> confdefs.h <<EOF
20914 #define $ac_tr_func 1
20918 echo "$ac_t""no" 1>&6
20924 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
20925 echo "configure:20926: checking for _sincosl declaration" >&5
20926 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20927 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20928 echo $ac_n "(cached) $ac_c" 1>&6
20933 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20934 ac_cpp='$CXXCPP $CPPFLAGS'
20935 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20936 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20937 cross_compiling=$ac_cv_prog_cxx_cross
20939 cat > conftest.$ac_ext <<EOF
20940 #line 20941 "configure"
20941 #include "confdefs.h"
20947 if { (eval echo configure:20948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20949 glibcpp_cv_func__sincosl_use=yes
20951 echo "configure: failed program was:" >&5
20952 cat conftest.$ac_ext >&5
20954 glibcpp_cv_func__sincosl_use=no
20958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20959 ac_cpp='$CPP $CPPFLAGS'
20960 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20961 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20962 cross_compiling=$ac_cv_prog_cc_cross
20968 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20970 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20971 for ac_func in _sincosl
20973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20974 echo "configure:20975: checking for $ac_func" >&5
20975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20976 echo $ac_n "(cached) $ac_c" 1>&6
20978 cat > conftest.$ac_ext <<EOF
20979 #line 20980 "configure"
20980 #include "confdefs.h"
20981 /* System header to define __stub macros and hopefully few prototypes,
20982 which can conflict with char $ac_func(); below. */
20983 #include <assert.h>
20984 /* Override any gcc2 internal prototype to avoid an error. */
20985 /* We use char because int might match the return type of a gcc2
20986 builtin and then its argument prototype would still apply. */
20991 /* The GNU C library defines this for functions which it implements
20992 to always fail with ENOSYS. Some functions are actually named
20993 something starting with __ and the normal name is an alias. */
20994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21002 if { (eval echo configure:21003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21004 eval "ac_cv_func_$ac_func=yes"
21006 echo "configure: failed program was:" >&5
21007 cat conftest.$ac_ext >&5
21009 eval "ac_cv_func_$ac_func=no"
21014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21015 echo "$ac_t""yes" 1>&6
21016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21017 cat >> confdefs.h <<EOF
21018 #define $ac_tr_func 1
21022 echo "$ac_t""no" 1>&6
21031 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
21032 echo "configure:21033: checking for finitel declaration" >&5
21033 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
21034 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
21035 echo $ac_n "(cached) $ac_c" 1>&6
21040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21041 ac_cpp='$CXXCPP $CPPFLAGS'
21042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21044 cross_compiling=$ac_cv_prog_cxx_cross
21046 cat > conftest.$ac_ext <<EOF
21047 #line 21048 "configure"
21048 #include "confdefs.h"
21050 #ifdef HAVE_IEEEFP_H
21051 #include <ieeefp.h>
21058 if { (eval echo configure:21059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21060 glibcpp_cv_func_finitel_use=yes
21062 echo "configure: failed program was:" >&5
21063 cat conftest.$ac_ext >&5
21065 glibcpp_cv_func_finitel_use=no
21069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21070 ac_cpp='$CPP $CPPFLAGS'
21071 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21072 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21073 cross_compiling=$ac_cv_prog_cc_cross
21079 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
21081 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
21082 for ac_func in finitel
21084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21085 echo "configure:21086: checking for $ac_func" >&5
21086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21087 echo $ac_n "(cached) $ac_c" 1>&6
21089 cat > conftest.$ac_ext <<EOF
21090 #line 21091 "configure"
21091 #include "confdefs.h"
21092 /* System header to define __stub macros and hopefully few prototypes,
21093 which can conflict with char $ac_func(); below. */
21094 #include <assert.h>
21095 /* Override any gcc2 internal prototype to avoid an error. */
21096 /* We use char because int might match the return type of a gcc2
21097 builtin and then its argument prototype would still apply. */
21102 /* The GNU C library defines this for functions which it implements
21103 to always fail with ENOSYS. Some functions are actually named
21104 something starting with __ and the normal name is an alias. */
21105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21113 if { (eval echo configure:21114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21115 eval "ac_cv_func_$ac_func=yes"
21117 echo "configure: failed program was:" >&5
21118 cat conftest.$ac_ext >&5
21120 eval "ac_cv_func_$ac_func=no"
21125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21126 echo "$ac_t""yes" 1>&6
21127 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21128 cat >> confdefs.h <<EOF
21129 #define $ac_tr_func 1
21133 echo "$ac_t""no" 1>&6
21139 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
21140 echo "configure:21141: checking for _finitel declaration" >&5
21141 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
21142 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
21143 echo $ac_n "(cached) $ac_c" 1>&6
21148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21149 ac_cpp='$CXXCPP $CPPFLAGS'
21150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21152 cross_compiling=$ac_cv_prog_cxx_cross
21154 cat > conftest.$ac_ext <<EOF
21155 #line 21156 "configure"
21156 #include "confdefs.h"
21158 #ifdef HAVE_IEEEFP_H
21159 #include <ieeefp.h>
21166 if { (eval echo configure:21167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21168 glibcpp_cv_func__finitel_use=yes
21170 echo "configure: failed program was:" >&5
21171 cat conftest.$ac_ext >&5
21173 glibcpp_cv_func__finitel_use=no
21177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21181 cross_compiling=$ac_cv_prog_cc_cross
21187 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
21189 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
21190 for ac_func in _finitel
21192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21193 echo "configure:21194: checking for $ac_func" >&5
21194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21195 echo $ac_n "(cached) $ac_c" 1>&6
21197 cat > conftest.$ac_ext <<EOF
21198 #line 21199 "configure"
21199 #include "confdefs.h"
21200 /* System header to define __stub macros and hopefully few prototypes,
21201 which can conflict with char $ac_func(); below. */
21202 #include <assert.h>
21203 /* Override any gcc2 internal prototype to avoid an error. */
21204 /* We use char because int might match the return type of a gcc2
21205 builtin and then its argument prototype would still apply. */
21210 /* The GNU C library defines this for functions which it implements
21211 to always fail with ENOSYS. Some functions are actually named
21212 something starting with __ and the normal name is an alias. */
21213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21221 if { (eval echo configure:21222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21223 eval "ac_cv_func_$ac_func=yes"
21225 echo "configure: failed program was:" >&5
21226 cat conftest.$ac_ext >&5
21228 eval "ac_cv_func_$ac_func=no"
21233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21234 echo "$ac_t""yes" 1>&6
21235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21236 cat >> confdefs.h <<EOF
21237 #define $ac_tr_func 1
21241 echo "$ac_t""no" 1>&6
21251 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
21252 echo "configure:21253: checking for _float trig functions" >&5
21253 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21254 echo $ac_n "(cached) $ac_c" 1>&6
21259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21260 ac_cpp='$CXXCPP $CPPFLAGS'
21261 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21262 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21263 cross_compiling=$ac_cv_prog_cxx_cross
21265 cat > conftest.$ac_ext <<EOF
21266 #line 21267 "configure"
21267 #include "confdefs.h"
21270 `for x in _acosf _asinf _atanf \
21271 _cosf _sinf _tanf \
21272 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21275 if { (eval echo configure:21276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21277 glibcpp_cv_func__float_trig_use=yes
21279 echo "configure: failed program was:" >&5
21280 cat conftest.$ac_ext >&5
21282 glibcpp_cv_func__float_trig_use=no
21286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21287 ac_cpp='$CPP $CPPFLAGS'
21288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21290 cross_compiling=$ac_cv_prog_cc_cross
21294 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21295 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21296 for ac_func in _acosf _asinf _atanf \
21297 _cosf _sinf _tanf \
21298 _coshf _sinhf _tanhf
21300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21301 echo "configure:21302: checking for $ac_func" >&5
21302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21303 echo $ac_n "(cached) $ac_c" 1>&6
21305 cat > conftest.$ac_ext <<EOF
21306 #line 21307 "configure"
21307 #include "confdefs.h"
21308 /* System header to define __stub macros and hopefully few prototypes,
21309 which can conflict with char $ac_func(); below. */
21310 #include <assert.h>
21311 /* Override any gcc2 internal prototype to avoid an error. */
21312 /* We use char because int might match the return type of a gcc2
21313 builtin and then its argument prototype would still apply. */
21318 /* The GNU C library defines this for functions which it implements
21319 to always fail with ENOSYS. Some functions are actually named
21320 something starting with __ and the normal name is an alias. */
21321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21329 if { (eval echo configure:21330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21331 eval "ac_cv_func_$ac_func=yes"
21333 echo "configure: failed program was:" >&5
21334 cat conftest.$ac_ext >&5
21336 eval "ac_cv_func_$ac_func=no"
21341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21342 echo "$ac_t""yes" 1>&6
21343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21344 cat >> confdefs.h <<EOF
21345 #define $ac_tr_func 1
21349 echo "$ac_t""no" 1>&6
21356 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
21357 echo "configure:21358: checking for _float round functions" >&5
21358 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
21359 echo $ac_n "(cached) $ac_c" 1>&6
21364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21365 ac_cpp='$CXXCPP $CPPFLAGS'
21366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21368 cross_compiling=$ac_cv_prog_cxx_cross
21370 cat > conftest.$ac_ext <<EOF
21371 #line 21372 "configure"
21372 #include "confdefs.h"
21375 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21378 if { (eval echo configure:21379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21380 glibcpp_cv_func__float_round_use=yes
21382 echo "configure: failed program was:" >&5
21383 cat conftest.$ac_ext >&5
21385 glibcpp_cv_func__float_round_use=no
21389 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21390 ac_cpp='$CPP $CPPFLAGS'
21391 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21392 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21393 cross_compiling=$ac_cv_prog_cc_cross
21397 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21398 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21399 for ac_func in _ceilf _floorf
21401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21402 echo "configure:21403: checking for $ac_func" >&5
21403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21404 echo $ac_n "(cached) $ac_c" 1>&6
21406 cat > conftest.$ac_ext <<EOF
21407 #line 21408 "configure"
21408 #include "confdefs.h"
21409 /* System header to define __stub macros and hopefully few prototypes,
21410 which can conflict with char $ac_func(); below. */
21411 #include <assert.h>
21412 /* Override any gcc2 internal prototype to avoid an error. */
21413 /* We use char because int might match the return type of a gcc2
21414 builtin and then its argument prototype would still apply. */
21419 /* The GNU C library defines this for functions which it implements
21420 to always fail with ENOSYS. Some functions are actually named
21421 something starting with __ and the normal name is an alias. */
21422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21430 if { (eval echo configure:21431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21432 eval "ac_cv_func_$ac_func=yes"
21434 echo "configure: failed program was:" >&5
21435 cat conftest.$ac_ext >&5
21437 eval "ac_cv_func_$ac_func=no"
21442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21443 echo "$ac_t""yes" 1>&6
21444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21445 cat >> confdefs.h <<EOF
21446 #define $ac_tr_func 1
21450 echo "$ac_t""no" 1>&6
21458 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
21459 echo "configure:21460: checking for _long double trig functions" >&5
21460 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21461 echo $ac_n "(cached) $ac_c" 1>&6
21466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21467 ac_cpp='$CXXCPP $CPPFLAGS'
21468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21470 cross_compiling=$ac_cv_prog_cxx_cross
21472 cat > conftest.$ac_ext <<EOF
21473 #line 21474 "configure"
21474 #include "confdefs.h"
21477 `for x in _acosl _asinl _atanl \
21478 _cosl _sinl _tanl \
21479 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21482 if { (eval echo configure:21483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21484 glibcpp_cv_func__long_double_trig_use=yes
21486 echo "configure: failed program was:" >&5
21487 cat conftest.$ac_ext >&5
21489 glibcpp_cv_func__long_double_trig_use=no
21493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21494 ac_cpp='$CPP $CPPFLAGS'
21495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21497 cross_compiling=$ac_cv_prog_cc_cross
21501 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21502 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21503 for ac_func in _acosl _asinl _atanl \
21504 _cosl _sinl _tanl \
21505 _coshl _sinhl _tanhl
21507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21508 echo "configure:21509: checking for $ac_func" >&5
21509 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21510 echo $ac_n "(cached) $ac_c" 1>&6
21512 cat > conftest.$ac_ext <<EOF
21513 #line 21514 "configure"
21514 #include "confdefs.h"
21515 /* System header to define __stub macros and hopefully few prototypes,
21516 which can conflict with char $ac_func(); below. */
21517 #include <assert.h>
21518 /* Override any gcc2 internal prototype to avoid an error. */
21519 /* We use char because int might match the return type of a gcc2
21520 builtin and then its argument prototype would still apply. */
21525 /* The GNU C library defines this for functions which it implements
21526 to always fail with ENOSYS. Some functions are actually named
21527 something starting with __ and the normal name is an alias. */
21528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21536 if { (eval echo configure:21537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21538 eval "ac_cv_func_$ac_func=yes"
21540 echo "configure: failed program was:" >&5
21541 cat conftest.$ac_ext >&5
21543 eval "ac_cv_func_$ac_func=no"
21548 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21549 echo "$ac_t""yes" 1>&6
21550 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21551 cat >> confdefs.h <<EOF
21552 #define $ac_tr_func 1
21556 echo "$ac_t""no" 1>&6
21563 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
21564 echo "configure:21565: checking for _long double round functions" >&5
21565 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21566 echo $ac_n "(cached) $ac_c" 1>&6
21571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21572 ac_cpp='$CXXCPP $CPPFLAGS'
21573 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21574 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21575 cross_compiling=$ac_cv_prog_cxx_cross
21577 cat > conftest.$ac_ext <<EOF
21578 #line 21579 "configure"
21579 #include "confdefs.h"
21582 `for x in _ceill _floorl; do echo "$x (0);"; done`
21585 if { (eval echo configure:21586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21587 glibcpp_cv_func__long_double_round_use=yes
21589 echo "configure: failed program was:" >&5
21590 cat conftest.$ac_ext >&5
21592 glibcpp_cv_func__long_double_round_use=no
21596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21597 ac_cpp='$CPP $CPPFLAGS'
21598 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21599 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21600 cross_compiling=$ac_cv_prog_cc_cross
21604 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21605 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21606 for ac_func in _ceill _floorl
21608 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21609 echo "configure:21610: checking for $ac_func" >&5
21610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21611 echo $ac_n "(cached) $ac_c" 1>&6
21613 cat > conftest.$ac_ext <<EOF
21614 #line 21615 "configure"
21615 #include "confdefs.h"
21616 /* System header to define __stub macros and hopefully few prototypes,
21617 which can conflict with char $ac_func(); below. */
21618 #include <assert.h>
21619 /* Override any gcc2 internal prototype to avoid an error. */
21620 /* We use char because int might match the return type of a gcc2
21621 builtin and then its argument prototype would still apply. */
21626 /* The GNU C library defines this for functions which it implements
21627 to always fail with ENOSYS. Some functions are actually named
21628 something starting with __ and the normal name is an alias. */
21629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21637 if { (eval echo configure:21638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21639 eval "ac_cv_func_$ac_func=yes"
21641 echo "configure: failed program was:" >&5
21642 cat conftest.$ac_ext >&5
21644 eval "ac_cv_func_$ac_func=no"
21649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21650 echo "$ac_t""yes" 1>&6
21651 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21652 cat >> confdefs.h <<EOF
21653 #define $ac_tr_func 1
21657 echo "$ac_t""no" 1>&6
21664 LIBS="$ac_save_LIBS"
21665 CXXFLAGS="$ac_save_CXXFLAGS"
21668 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21669 echo "configure:21670: checking for main in -lm" >&5
21670 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21672 echo $ac_n "(cached) $ac_c" 1>&6
21674 ac_save_LIBS="$LIBS"
21676 cat > conftest.$ac_ext <<EOF
21677 #line 21678 "configure"
21678 #include "confdefs.h"
21684 if { (eval echo configure:21685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21686 eval "ac_cv_lib_$ac_lib_var=yes"
21688 echo "configure: failed program was:" >&5
21689 cat conftest.$ac_ext >&5
21691 eval "ac_cv_lib_$ac_lib_var=no"
21694 LIBS="$ac_save_LIBS"
21697 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21698 echo "$ac_t""yes" 1>&6
21699 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21700 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21701 cat >> confdefs.h <<EOF
21702 #define $ac_tr_lib 1
21708 echo "$ac_t""no" 1>&6
21711 for ac_func in nan copysignf
21713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21714 echo "configure:21715: checking for $ac_func" >&5
21715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21716 echo $ac_n "(cached) $ac_c" 1>&6
21718 cat > conftest.$ac_ext <<EOF
21719 #line 21720 "configure"
21720 #include "confdefs.h"
21721 /* System header to define __stub macros and hopefully few prototypes,
21722 which can conflict with char $ac_func(); below. */
21723 #include <assert.h>
21724 /* Override any gcc2 internal prototype to avoid an error. */
21725 /* We use char because int might match the return type of a gcc2
21726 builtin and then its argument prototype would still apply. */
21731 /* The GNU C library defines this for functions which it implements
21732 to always fail with ENOSYS. Some functions are actually named
21733 something starting with __ and the normal name is an alias. */
21734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21742 if { (eval echo configure:21743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21744 eval "ac_cv_func_$ac_func=yes"
21746 echo "configure: failed program was:" >&5
21747 cat conftest.$ac_ext >&5
21749 eval "ac_cv_func_$ac_func=no"
21754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21755 echo "$ac_t""yes" 1>&6
21756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21757 cat >> confdefs.h <<EOF
21758 #define $ac_tr_func 1
21762 echo "$ac_t""no" 1>&6
21763 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21768 for ac_func in __signbit
21770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21771 echo "configure:21772: checking for $ac_func" >&5
21772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21773 echo $ac_n "(cached) $ac_c" 1>&6
21775 cat > conftest.$ac_ext <<EOF
21776 #line 21777 "configure"
21777 #include "confdefs.h"
21778 /* System header to define __stub macros and hopefully few prototypes,
21779 which can conflict with char $ac_func(); below. */
21780 #include <assert.h>
21781 /* Override any gcc2 internal prototype to avoid an error. */
21782 /* We use char because int might match the return type of a gcc2
21783 builtin and then its argument prototype would still apply. */
21788 /* The GNU C library defines this for functions which it implements
21789 to always fail with ENOSYS. Some functions are actually named
21790 something starting with __ and the normal name is an alias. */
21791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21799 if { (eval echo configure:21800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21801 eval "ac_cv_func_$ac_func=yes"
21803 echo "configure: failed program was:" >&5
21804 cat conftest.$ac_ext >&5
21806 eval "ac_cv_func_$ac_func=no"
21811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21812 echo "$ac_t""yes" 1>&6
21813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21814 cat >> confdefs.h <<EOF
21815 #define $ac_tr_func 1
21819 echo "$ac_t""no" 1>&6
21820 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21824 for ac_func in __signbitf
21826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21827 echo "configure:21828: checking for $ac_func" >&5
21828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21829 echo $ac_n "(cached) $ac_c" 1>&6
21831 cat > conftest.$ac_ext <<EOF
21832 #line 21833 "configure"
21833 #include "confdefs.h"
21834 /* System header to define __stub macros and hopefully few prototypes,
21835 which can conflict with char $ac_func(); below. */
21836 #include <assert.h>
21837 /* Override any gcc2 internal prototype to avoid an error. */
21838 /* We use char because int might match the return type of a gcc2
21839 builtin and then its argument prototype would still apply. */
21844 /* The GNU C library defines this for functions which it implements
21845 to always fail with ENOSYS. Some functions are actually named
21846 something starting with __ and the normal name is an alias. */
21847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21855 if { (eval echo configure:21856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21857 eval "ac_cv_func_$ac_func=yes"
21859 echo "configure: failed program was:" >&5
21860 cat conftest.$ac_ext >&5
21862 eval "ac_cv_func_$ac_func=no"
21867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21868 echo "$ac_t""yes" 1>&6
21869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21870 cat >> confdefs.h <<EOF
21871 #define $ac_tr_func 1
21875 echo "$ac_t""no" 1>&6
21876 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21881 if test x$ac_cv_func_copysignl = x"yes"; then
21882 for ac_func in __signbitl
21884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21885 echo "configure:21886: checking for $ac_func" >&5
21886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21887 echo $ac_n "(cached) $ac_c" 1>&6
21889 cat > conftest.$ac_ext <<EOF
21890 #line 21891 "configure"
21891 #include "confdefs.h"
21892 /* System header to define __stub macros and hopefully few prototypes,
21893 which can conflict with char $ac_func(); below. */
21894 #include <assert.h>
21895 /* Override any gcc2 internal prototype to avoid an error. */
21896 /* We use char because int might match the return type of a gcc2
21897 builtin and then its argument prototype would still apply. */
21902 /* The GNU C library defines this for functions which it implements
21903 to always fail with ENOSYS. Some functions are actually named
21904 something starting with __ and the normal name is an alias. */
21905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21913 if { (eval echo configure:21914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21915 eval "ac_cv_func_$ac_func=yes"
21917 echo "configure: failed program was:" >&5
21918 cat conftest.$ac_ext >&5
21920 eval "ac_cv_func_$ac_func=no"
21925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21926 echo "$ac_t""yes" 1>&6
21927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21928 cat >> confdefs.h <<EOF
21929 #define $ac_tr_func 1
21933 echo "$ac_t""no" 1>&6
21934 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21940 if test -n "$LIBMATHOBJS"; then
21946 if test "$need_libmath" = yes; then
21947 GLIBCPP_BUILD_LIBMATH_TRUE=
21948 GLIBCPP_BUILD_LIBMATH_FALSE='#'
21950 GLIBCPP_BUILD_LIBMATH_TRUE='#'
21951 GLIBCPP_BUILD_LIBMATH_FALSE=
21957 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21958 echo "configure:21959: checking for mbstate_t" >&5
21959 cat > conftest.$ac_ext <<EOF
21960 #line 21961 "configure"
21961 #include "confdefs.h"
21964 mbstate_t teststate;
21967 if { (eval echo configure:21968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21971 echo "configure: failed program was:" >&5
21972 cat conftest.$ac_ext >&5
21977 echo "$ac_t""$have_mbstate_t" 1>&6
21978 if test x"$have_mbstate_t" = xyes; then
21979 cat >> confdefs.h <<\EOF
21980 #define HAVE_MBSTATE_T 1
21985 for ac_hdr in wchar.h
21987 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21988 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21989 echo "configure:21990: checking for $ac_hdr" >&5
21990 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21991 echo $ac_n "(cached) $ac_c" 1>&6
21993 cat > conftest.$ac_ext <<EOF
21994 #line 21995 "configure"
21995 #include "confdefs.h"
21998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21999 { (eval echo configure:22000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22001 if test -z "$ac_err"; then
22003 eval "ac_cv_header_$ac_safe=yes"
22006 echo "configure: failed program was:" >&5
22007 cat conftest.$ac_ext >&5
22009 eval "ac_cv_header_$ac_safe=no"
22013 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22014 echo "$ac_t""yes" 1>&6
22015 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22016 cat >> confdefs.h <<EOF
22017 #define $ac_tr_hdr 1
22021 echo "$ac_t""no" 1>&6
22026 for ac_hdr in wctype.h
22028 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22029 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22030 echo "configure:22031: checking for $ac_hdr" >&5
22031 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22032 echo $ac_n "(cached) $ac_c" 1>&6
22034 cat > conftest.$ac_ext <<EOF
22035 #line 22036 "configure"
22036 #include "confdefs.h"
22039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22040 { (eval echo configure:22041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22042 if test -z "$ac_err"; then
22044 eval "ac_cv_header_$ac_safe=yes"
22047 echo "configure: failed program was:" >&5
22048 cat conftest.$ac_ext >&5
22050 eval "ac_cv_header_$ac_safe=no"
22054 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22055 echo "$ac_t""yes" 1>&6
22056 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22057 cat >> confdefs.h <<EOF
22058 #define $ac_tr_hdr 1
22060 ac_has_wctype_h=yes
22062 echo "$ac_t""no" 1>&6
22068 if test x"$ac_has_wchar_h" = xyes &&
22069 test x"$ac_has_wctype_h" = xyes &&
22070 test x"$enable_c_mbchar" != xno; then
22072 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22073 echo "configure:22074: checking for WCHAR_MIN and WCHAR_MAX" >&5
22074 cat > conftest.$ac_ext <<EOF
22075 #line 22076 "configure"
22076 #include "confdefs.h"
22079 int i = WCHAR_MIN; int j = WCHAR_MAX;
22082 if { (eval echo configure:22083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22084 has_wchar_minmax=yes
22086 echo "configure: failed program was:" >&5
22087 cat conftest.$ac_ext >&5
22089 has_wchar_minmax=no
22092 echo "$ac_t""$has_wchar_minmax" 1>&6
22094 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22095 echo "configure:22096: checking for WEOF" >&5
22096 cat > conftest.$ac_ext <<EOF
22097 #line 22098 "configure"
22098 #include "confdefs.h"
22101 #include <stddef.h>
22106 if { (eval echo configure:22107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22110 echo "configure: failed program was:" >&5
22111 cat conftest.$ac_ext >&5
22116 echo "$ac_t""$has_weof" 1>&6
22119 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22122 echo "configure:22123: checking for $ac_func" >&5
22123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22124 echo $ac_n "(cached) $ac_c" 1>&6
22126 cat > conftest.$ac_ext <<EOF
22127 #line 22128 "configure"
22128 #include "confdefs.h"
22129 /* System header to define __stub macros and hopefully few prototypes,
22130 which can conflict with char $ac_func(); below. */
22131 #include <assert.h>
22132 /* Override any gcc2 internal prototype to avoid an error. */
22133 /* We use char because int might match the return type of a gcc2
22134 builtin and then its argument prototype would still apply. */
22139 /* The GNU C library defines this for functions which it implements
22140 to always fail with ENOSYS. Some functions are actually named
22141 something starting with __ and the normal name is an alias. */
22142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22150 if { (eval echo configure:22151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22152 eval "ac_cv_func_$ac_func=yes"
22154 echo "configure: failed program was:" >&5
22155 cat conftest.$ac_ext >&5
22157 eval "ac_cv_func_$ac_func=no"
22162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22163 echo "$ac_t""yes" 1>&6
22164 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22165 cat >> confdefs.h <<EOF
22166 #define $ac_tr_func 1
22170 echo "$ac_t""no" 1>&6
22177 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22178 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22179 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22180 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22181 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22182 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22185 echo "configure:22186: checking for $ac_func" >&5
22186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22187 echo $ac_n "(cached) $ac_c" 1>&6
22189 cat > conftest.$ac_ext <<EOF
22190 #line 22191 "configure"
22191 #include "confdefs.h"
22192 /* System header to define __stub macros and hopefully few prototypes,
22193 which can conflict with char $ac_func(); below. */
22194 #include <assert.h>
22195 /* Override any gcc2 internal prototype to avoid an error. */
22196 /* We use char because int might match the return type of a gcc2
22197 builtin and then its argument prototype would still apply. */
22202 /* The GNU C library defines this for functions which it implements
22203 to always fail with ENOSYS. Some functions are actually named
22204 something starting with __ and the normal name is an alias. */
22205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22213 if { (eval echo configure:22214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22215 eval "ac_cv_func_$ac_func=yes"
22217 echo "configure: failed program was:" >&5
22218 cat conftest.$ac_ext >&5
22220 eval "ac_cv_func_$ac_func=no"
22225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22226 echo "$ac_t""yes" 1>&6
22227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22228 cat >> confdefs.h <<EOF
22229 #define $ac_tr_func 1
22233 echo "$ac_t""no" 1>&6
22240 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22241 echo "configure:22242: checking for ISO C99 wchar_t support" >&5
22242 if test x"$has_weof" = xyes &&
22243 test x"$has_wchar_minmax" = xyes &&
22244 test x"$ac_wfuncs" = xyes; then
22245 ac_isoC99_wchar_t=yes
22247 ac_isoC99_wchar_t=no
22249 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22251 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22252 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22253 echo "configure:22254: checking for iconv.h" >&5
22254 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22255 echo $ac_n "(cached) $ac_c" 1>&6
22257 cat > conftest.$ac_ext <<EOF
22258 #line 22259 "configure"
22259 #include "confdefs.h"
22262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22263 { (eval echo configure:22264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22265 if test -z "$ac_err"; then
22267 eval "ac_cv_header_$ac_safe=yes"
22270 echo "configure: failed program was:" >&5
22271 cat conftest.$ac_ext >&5
22273 eval "ac_cv_header_$ac_safe=no"
22277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22278 echo "$ac_t""yes" 1>&6
22281 echo "$ac_t""no" 1>&6
22285 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22286 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22287 echo "configure:22288: checking for langinfo.h" >&5
22288 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22289 echo $ac_n "(cached) $ac_c" 1>&6
22291 cat > conftest.$ac_ext <<EOF
22292 #line 22293 "configure"
22293 #include "confdefs.h"
22294 #include <langinfo.h>
22296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22297 { (eval echo configure:22298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22299 if test -z "$ac_err"; then
22301 eval "ac_cv_header_$ac_safe=yes"
22304 echo "configure: failed program was:" >&5
22305 cat conftest.$ac_ext >&5
22307 eval "ac_cv_header_$ac_safe=no"
22311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22312 echo "$ac_t""yes" 1>&6
22313 ac_has_langinfo_h=yes
22315 echo "$ac_t""no" 1>&6
22316 ac_has_langinfo_h=no
22320 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22321 echo "configure:22322: checking for iconv in -liconv" >&5
22322 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22324 echo $ac_n "(cached) $ac_c" 1>&6
22326 ac_save_LIBS="$LIBS"
22327 LIBS="-liconv $LIBS"
22328 cat > conftest.$ac_ext <<EOF
22329 #line 22330 "configure"
22330 #include "confdefs.h"
22331 /* Override any gcc2 internal prototype to avoid an error. */
22332 /* We use char because int might match the return type of a gcc2
22333 builtin and then its argument prototype would still apply. */
22340 if { (eval echo configure:22341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22342 eval "ac_cv_lib_$ac_lib_var=yes"
22344 echo "configure: failed program was:" >&5
22345 cat conftest.$ac_ext >&5
22347 eval "ac_cv_lib_$ac_lib_var=no"
22350 LIBS="$ac_save_LIBS"
22353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22354 echo "$ac_t""yes" 1>&6
22357 echo "$ac_t""no" 1>&6
22360 ac_save_LIBS="$LIBS"
22361 LIBS="$LIBS $libiconv"
22363 for ac_func in iconv_open iconv_close iconv nl_langinfo
22365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22366 echo "configure:22367: checking for $ac_func" >&5
22367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22368 echo $ac_n "(cached) $ac_c" 1>&6
22370 cat > conftest.$ac_ext <<EOF
22371 #line 22372 "configure"
22372 #include "confdefs.h"
22373 /* System header to define __stub macros and hopefully few prototypes,
22374 which can conflict with char $ac_func(); below. */
22375 #include <assert.h>
22376 /* Override any gcc2 internal prototype to avoid an error. */
22377 /* We use char because int might match the return type of a gcc2
22378 builtin and then its argument prototype would still apply. */
22383 /* The GNU C library defines this for functions which it implements
22384 to always fail with ENOSYS. Some functions are actually named
22385 something starting with __ and the normal name is an alias. */
22386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22394 if { (eval echo configure:22395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22396 eval "ac_cv_func_$ac_func=yes"
22398 echo "configure: failed program was:" >&5
22399 cat conftest.$ac_ext >&5
22401 eval "ac_cv_func_$ac_func=no"
22406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22407 echo "$ac_t""yes" 1>&6
22408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22409 cat >> confdefs.h <<EOF
22410 #define $ac_tr_func 1
22415 echo "$ac_t""no" 1>&6
22421 LIBS="$ac_save_LIBS"
22423 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22424 echo "configure:22425: checking for XPG2 wchar_t support" >&5
22425 if test x"$ac_has_iconv_h" = xyes &&
22426 test x"$ac_has_langinfo_h" = xyes &&
22427 test x"$ac_XPG2funcs" = xyes; then
22428 ac_XPG2_wchar_t=yes
22432 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22434 if test x"$ac_isoC99_wchar_t" = xyes &&
22435 test x"$ac_XPG2_wchar_t" = xyes; then
22436 cat >> confdefs.h <<\EOF
22437 #define _GLIBCPP_USE_WCHAR_T 1
22443 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22444 echo "configure:22445: checking for enabled wchar_t specializations" >&5
22445 echo "$ac_t""$enable_wchar_t" 1>&6
22448 if test "$enable_wchar_t" = yes; then
22449 GLIBCPP_TEST_WCHAR_T_TRUE=
22450 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22452 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22453 GLIBCPP_TEST_WCHAR_T_FALSE=
22457 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22458 ac_save_CXXFLAGS="$CXXFLAGS"
22459 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22462 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22463 echo "configure:22464: checking for strtold declaration" >&5
22464 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22465 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22466 echo $ac_n "(cached) $ac_c" 1>&6
22471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22472 ac_cpp='$CXXCPP $CPPFLAGS'
22473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22475 cross_compiling=$ac_cv_prog_cxx_cross
22477 cat > conftest.$ac_ext <<EOF
22478 #line 22479 "configure"
22479 #include "confdefs.h"
22480 #include <stdlib.h>
22485 if { (eval echo configure:22486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22487 glibcpp_cv_func_strtold_use=yes
22489 echo "configure: failed program was:" >&5
22490 cat conftest.$ac_ext >&5
22492 glibcpp_cv_func_strtold_use=no
22496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22497 ac_cpp='$CPP $CPPFLAGS'
22498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22500 cross_compiling=$ac_cv_prog_cc_cross
22506 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22507 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22508 for ac_func in strtold
22510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22511 echo "configure:22512: checking for $ac_func" >&5
22512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22513 echo $ac_n "(cached) $ac_c" 1>&6
22515 cat > conftest.$ac_ext <<EOF
22516 #line 22517 "configure"
22517 #include "confdefs.h"
22518 /* System header to define __stub macros and hopefully few prototypes,
22519 which can conflict with char $ac_func(); below. */
22520 #include <assert.h>
22521 /* Override any gcc2 internal prototype to avoid an error. */
22522 /* We use char because int might match the return type of a gcc2
22523 builtin and then its argument prototype would still apply. */
22528 /* The GNU C library defines this for functions which it implements
22529 to always fail with ENOSYS. Some functions are actually named
22530 something starting with __ and the normal name is an alias. */
22531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22539 if { (eval echo configure:22540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22541 eval "ac_cv_func_$ac_func=yes"
22543 echo "configure: failed program was:" >&5
22544 cat conftest.$ac_ext >&5
22546 eval "ac_cv_func_$ac_func=no"
22551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22552 echo "$ac_t""yes" 1>&6
22553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22554 cat >> confdefs.h <<EOF
22555 #define $ac_tr_func 1
22559 echo "$ac_t""no" 1>&6
22566 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22567 echo "configure:22568: checking for strtof declaration" >&5
22568 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22569 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22570 echo $ac_n "(cached) $ac_c" 1>&6
22575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22576 ac_cpp='$CXXCPP $CPPFLAGS'
22577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22579 cross_compiling=$ac_cv_prog_cxx_cross
22581 cat > conftest.$ac_ext <<EOF
22582 #line 22583 "configure"
22583 #include "confdefs.h"
22584 #include <stdlib.h>
22589 if { (eval echo configure:22590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22591 glibcpp_cv_func_strtof_use=yes
22593 echo "configure: failed program was:" >&5
22594 cat conftest.$ac_ext >&5
22596 glibcpp_cv_func_strtof_use=no
22600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22601 ac_cpp='$CPP $CPPFLAGS'
22602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22604 cross_compiling=$ac_cv_prog_cc_cross
22610 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22611 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22612 for ac_func in strtof
22614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22615 echo "configure:22616: checking for $ac_func" >&5
22616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22617 echo $ac_n "(cached) $ac_c" 1>&6
22619 cat > conftest.$ac_ext <<EOF
22620 #line 22621 "configure"
22621 #include "confdefs.h"
22622 /* System header to define __stub macros and hopefully few prototypes,
22623 which can conflict with char $ac_func(); below. */
22624 #include <assert.h>
22625 /* Override any gcc2 internal prototype to avoid an error. */
22626 /* We use char because int might match the return type of a gcc2
22627 builtin and then its argument prototype would still apply. */
22632 /* The GNU C library defines this for functions which it implements
22633 to always fail with ENOSYS. Some functions are actually named
22634 something starting with __ and the normal name is an alias. */
22635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22643 if { (eval echo configure:22644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22645 eval "ac_cv_func_$ac_func=yes"
22647 echo "configure: failed program was:" >&5
22648 cat conftest.$ac_ext >&5
22650 eval "ac_cv_func_$ac_func=no"
22655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22656 echo "$ac_t""yes" 1>&6
22657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22658 cat >> confdefs.h <<EOF
22659 #define $ac_tr_func 1
22663 echo "$ac_t""no" 1>&6
22669 for ac_func in drand48
22671 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22672 echo "configure:22673: checking for $ac_func" >&5
22673 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22674 echo $ac_n "(cached) $ac_c" 1>&6
22676 cat > conftest.$ac_ext <<EOF
22677 #line 22678 "configure"
22678 #include "confdefs.h"
22679 /* System header to define __stub macros and hopefully few prototypes,
22680 which can conflict with char $ac_func(); below. */
22681 #include <assert.h>
22682 /* Override any gcc2 internal prototype to avoid an error. */
22683 /* We use char because int might match the return type of a gcc2
22684 builtin and then its argument prototype would still apply. */
22689 /* The GNU C library defines this for functions which it implements
22690 to always fail with ENOSYS. Some functions are actually named
22691 something starting with __ and the normal name is an alias. */
22692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22700 if { (eval echo configure:22701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22702 eval "ac_cv_func_$ac_func=yes"
22704 echo "configure: failed program was:" >&5
22705 cat conftest.$ac_ext >&5
22707 eval "ac_cv_func_$ac_func=no"
22712 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22713 echo "$ac_t""yes" 1>&6
22714 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22715 cat >> confdefs.h <<EOF
22716 #define $ac_tr_func 1
22720 echo "$ac_t""no" 1>&6
22725 CXXFLAGS="$ac_save_CXXFLAGS"
22728 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22729 ac_save_CXXFLAGS="$CXXFLAGS"
22730 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22733 echo $ac_n "checking for isatty declaration""... $ac_c" 1>&6
22734 echo "configure:22735: checking for isatty declaration" >&5
22735 if test x${glibcpp_cv_func_isatty_use+set} != xset; then
22736 if eval "test \"`echo '$''{'glibcpp_cv_func_isatty_use'+set}'`\" = set"; then
22737 echo $ac_n "(cached) $ac_c" 1>&6
22742 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22743 ac_cpp='$CXXCPP $CPPFLAGS'
22744 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22745 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22746 cross_compiling=$ac_cv_prog_cxx_cross
22748 cat > conftest.$ac_ext <<EOF
22749 #line 22750 "configure"
22750 #include "confdefs.h"
22751 #include <unistd.h>
22756 if { (eval echo configure:22757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22758 glibcpp_cv_func_isatty_use=yes
22760 echo "configure: failed program was:" >&5
22761 cat conftest.$ac_ext >&5
22763 glibcpp_cv_func_isatty_use=no
22767 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22768 ac_cpp='$CPP $CPPFLAGS'
22769 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22770 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22771 cross_compiling=$ac_cv_prog_cc_cross
22777 echo "$ac_t""$glibcpp_cv_func_isatty_use" 1>&6
22778 if test x$glibcpp_cv_func_isatty_use = x"yes"; then
22779 for ac_func in isatty
22781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22782 echo "configure:22783: checking for $ac_func" >&5
22783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22784 echo $ac_n "(cached) $ac_c" 1>&6
22786 cat > conftest.$ac_ext <<EOF
22787 #line 22788 "configure"
22788 #include "confdefs.h"
22789 /* System header to define __stub macros and hopefully few prototypes,
22790 which can conflict with char $ac_func(); below. */
22791 #include <assert.h>
22792 /* Override any gcc2 internal prototype to avoid an error. */
22793 /* We use char because int might match the return type of a gcc2
22794 builtin and then its argument prototype would still apply. */
22799 /* The GNU C library defines this for functions which it implements
22800 to always fail with ENOSYS. Some functions are actually named
22801 something starting with __ and the normal name is an alias. */
22802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22810 if { (eval echo configure:22811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22812 eval "ac_cv_func_$ac_func=yes"
22814 echo "configure: failed program was:" >&5
22815 cat conftest.$ac_ext >&5
22817 eval "ac_cv_func_$ac_func=no"
22822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22823 echo "$ac_t""yes" 1>&6
22824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22825 cat >> confdefs.h <<EOF
22826 #define $ac_tr_func 1
22830 echo "$ac_t""no" 1>&6
22837 CXXFLAGS="$ac_save_CXXFLAGS"
22840 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22841 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22842 echo "configure:22843: checking for locale.h" >&5
22843 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22844 echo $ac_n "(cached) $ac_c" 1>&6
22846 cat > conftest.$ac_ext <<EOF
22847 #line 22848 "configure"
22848 #include "confdefs.h"
22849 #include <locale.h>
22851 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22852 { (eval echo configure:22853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22854 if test -z "$ac_err"; then
22856 eval "ac_cv_header_$ac_safe=yes"
22859 echo "configure: failed program was:" >&5
22860 cat conftest.$ac_ext >&5
22862 eval "ac_cv_header_$ac_safe=no"
22866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22867 echo "$ac_t""yes" 1>&6
22869 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22870 echo "configure:22871: checking for LC_MESSAGES" >&5
22871 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22872 echo $ac_n "(cached) $ac_c" 1>&6
22874 cat > conftest.$ac_ext <<EOF
22875 #line 22876 "configure"
22876 #include "confdefs.h"
22877 #include <locale.h>
22882 if { (eval echo configure:22883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22884 ac_cv_val_LC_MESSAGES=yes
22886 echo "configure: failed program was:" >&5
22887 cat conftest.$ac_ext >&5
22889 ac_cv_val_LC_MESSAGES=no
22894 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22895 if test $ac_cv_val_LC_MESSAGES = yes; then
22896 cat >> confdefs.h <<\EOF
22897 #define HAVE_LC_MESSAGES 1
22903 echo "$ac_t""no" 1>&6
22908 cat > conftest.$ac_ext <<EOF
22909 #line 22910 "configure"
22910 #include "confdefs.h"
22912 #include <setjmp.h>
22915 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22918 if { (eval echo configure:22919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22920 cat >> confdefs.h <<\EOF
22921 #define HAVE_SIGSETJMP 1
22926 echo "configure: failed program was:" >&5
22927 cat conftest.$ac_ext >&5
22931 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22933 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22934 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22935 echo "configure:22936: checking for $ac_hdr" >&5
22936 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22937 echo $ac_n "(cached) $ac_c" 1>&6
22939 cat > conftest.$ac_ext <<EOF
22940 #line 22941 "configure"
22941 #include "confdefs.h"
22944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22945 { (eval echo configure:22946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22947 if test -z "$ac_err"; then
22949 eval "ac_cv_header_$ac_safe=yes"
22952 echo "configure: failed program was:" >&5
22953 cat conftest.$ac_ext >&5
22955 eval "ac_cv_header_$ac_safe=no"
22959 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22960 echo "$ac_t""yes" 1>&6
22961 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22962 cat >> confdefs.h <<EOF
22963 #define $ac_tr_hdr 1
22967 echo "$ac_t""no" 1>&6
22971 for ac_func in getpagesize
22973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22974 echo "configure:22975: checking for $ac_func" >&5
22975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22976 echo $ac_n "(cached) $ac_c" 1>&6
22978 cat > conftest.$ac_ext <<EOF
22979 #line 22980 "configure"
22980 #include "confdefs.h"
22981 /* System header to define __stub macros and hopefully few prototypes,
22982 which can conflict with char $ac_func(); below. */
22983 #include <assert.h>
22984 /* Override any gcc2 internal prototype to avoid an error. */
22985 /* We use char because int might match the return type of a gcc2
22986 builtin and then its argument prototype would still apply. */
22991 /* The GNU C library defines this for functions which it implements
22992 to always fail with ENOSYS. Some functions are actually named
22993 something starting with __ and the normal name is an alias. */
22994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23002 if { (eval echo configure:23003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23004 eval "ac_cv_func_$ac_func=yes"
23006 echo "configure: failed program was:" >&5
23007 cat conftest.$ac_ext >&5
23009 eval "ac_cv_func_$ac_func=no"
23014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23015 echo "$ac_t""yes" 1>&6
23016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23017 cat >> confdefs.h <<EOF
23018 #define $ac_tr_func 1
23022 echo "$ac_t""no" 1>&6
23026 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
23027 echo "configure:23028: checking for working mmap" >&5
23028 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23029 echo $ac_n "(cached) $ac_c" 1>&6
23031 if test "$cross_compiling" = yes; then
23032 ac_cv_func_mmap_fixed_mapped=no
23034 cat > conftest.$ac_ext <<EOF
23035 #line 23036 "configure"
23036 #include "confdefs.h"
23038 /* Thanks to Mike Haertel and Jim Avera for this test.
23039 Here is a matrix of mmap possibilities:
23040 mmap private not fixed
23041 mmap private fixed at somewhere currently unmapped
23042 mmap private fixed at somewhere already mapped
23043 mmap shared not fixed
23044 mmap shared fixed at somewhere currently unmapped
23045 mmap shared fixed at somewhere already mapped
23046 For private mappings, we should verify that changes cannot be read()
23047 back from the file, nor mmap's back from the file at a different
23048 address. (There have been systems where private was not correctly
23049 implemented like the infamous i386 svr4.0, and systems where the
23050 VM page cache was not coherent with the filesystem buffer cache
23051 like early versions of FreeBSD and possibly contemporary NetBSD.)
23052 For shared mappings, we should conversely verify that changes get
23053 propogated back to all the places they're supposed to be.
23055 Grep wants private fixed already mapped.
23056 The main things grep needs to know about mmap are:
23057 * does it exist and is it safe to write into the mmap'd area
23058 * how to use it (BSD variants) */
23059 #include <sys/types.h>
23061 #include <sys/mman.h>
23063 #if HAVE_SYS_TYPES_H
23064 # include <sys/types.h>
23068 # include <stdlib.h>
23071 #if HAVE_SYS_STAT_H
23072 # include <sys/stat.h>
23076 # include <unistd.h>
23079 /* This mess was copied from the GNU getpagesize.h. */
23080 #ifndef HAVE_GETPAGESIZE
23082 /* Assume that all systems that can run configure have sys/param.h. */
23083 # ifndef HAVE_SYS_PARAM_H
23084 # define HAVE_SYS_PARAM_H 1
23087 # ifdef _SC_PAGESIZE
23088 # define getpagesize() sysconf(_SC_PAGESIZE)
23089 # else /* no _SC_PAGESIZE */
23090 # ifdef HAVE_SYS_PARAM_H
23091 # include <sys/param.h>
23092 # ifdef EXEC_PAGESIZE
23093 # define getpagesize() EXEC_PAGESIZE
23094 # else /* no EXEC_PAGESIZE */
23096 # define getpagesize() NBPG * CLSIZE
23099 # endif /* no CLSIZE */
23100 # else /* no NBPG */
23102 # define getpagesize() NBPC
23103 # else /* no NBPC */
23105 # define getpagesize() PAGESIZE
23106 # endif /* PAGESIZE */
23107 # endif /* no NBPC */
23108 # endif /* no NBPG */
23109 # endif /* no EXEC_PAGESIZE */
23110 # else /* no HAVE_SYS_PARAM_H */
23111 # define getpagesize() 8192 /* punt totally */
23112 # endif /* no HAVE_SYS_PARAM_H */
23113 # endif /* no _SC_PAGESIZE */
23115 #endif /* no HAVE_GETPAGESIZE */
23118 extern "C" { void *malloc(unsigned); }
23126 char *data, *data2, *data3;
23130 pagesize = getpagesize();
23133 * First, make a file with some known garbage in it.
23135 data = malloc(pagesize);
23138 for (i = 0; i < pagesize; ++i)
23139 *(data + i) = rand();
23141 fd = creat("conftestmmap", 0600);
23144 if (write(fd, data, pagesize) != pagesize)
23149 * Next, try to mmap the file at a fixed address which
23150 * already has something else allocated at it. If we can,
23151 * also make sure that we see the same garbage.
23153 fd = open("conftestmmap", O_RDWR);
23156 data2 = malloc(2 * pagesize);
23159 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23160 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23161 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23163 for (i = 0; i < pagesize; ++i)
23164 if (*(data + i) != *(data2 + i))
23168 * Finally, make sure that changes to the mapped area
23169 * do not percolate back to the file as seen by read().
23170 * (This is a bug on some variants of i386 svr4.0.)
23172 for (i = 0; i < pagesize; ++i)
23173 *(data2 + i) = *(data2 + i) + 1;
23174 data3 = malloc(pagesize);
23177 if (read(fd, data3, pagesize) != pagesize)
23179 for (i = 0; i < pagesize; ++i)
23180 if (*(data + i) != *(data3 + i))
23183 unlink("conftestmmap");
23188 if { (eval echo configure:23189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23190 ac_cv_func_mmap_fixed_mapped=yes
23192 echo "configure: failed program was:" >&5
23193 cat conftest.$ac_ext >&5
23195 ac_cv_func_mmap_fixed_mapped=no
23202 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23203 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23204 cat >> confdefs.h <<\EOF
23205 #define HAVE_MMAP 1
23211 # Establish limits on memory usage during 'make check'
23214 setrlimit_have_headers=yes
23215 for ac_hdr in unistd.h sys/time.h sys/resource.h
23217 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23218 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23219 echo "configure:23220: checking for $ac_hdr" >&5
23220 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23221 echo $ac_n "(cached) $ac_c" 1>&6
23223 cat > conftest.$ac_ext <<EOF
23224 #line 23225 "configure"
23225 #include "confdefs.h"
23228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23229 { (eval echo configure:23230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23231 if test -z "$ac_err"; then
23233 eval "ac_cv_header_$ac_safe=yes"
23236 echo "configure: failed program was:" >&5
23237 cat conftest.$ac_ext >&5
23239 eval "ac_cv_header_$ac_safe=no"
23243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23244 echo "$ac_t""yes" 1>&6
23245 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23246 cat >> confdefs.h <<EOF
23247 #define $ac_tr_hdr 1
23251 echo "$ac_t""no" 1>&6
23252 setrlimit_have_headers=no
23256 # If don't have the headers, then we can't run the tests now, and we
23257 # won't be seeing any of these during testsuite compilation.
23258 if test $setrlimit_have_headers = yes; then
23259 # Can't do these in a loop, else the resulting syntax is wrong.
23261 cat > conftest.$ac_ext <<EOF
23262 #line 23263 "configure"
23263 #include "confdefs.h"
23264 #include <unistd.h>
23265 #include <sys/time.h>
23266 #include <sys/resource.h>
23269 int f = RLIMIT_DATA ;
23272 if { (eval echo configure:23273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23276 echo "configure: failed program was:" >&5
23277 cat conftest.$ac_ext >&5
23282 cat >> confdefs.h <<EOF
23283 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23288 cat > conftest.$ac_ext <<EOF
23289 #line 23290 "configure"
23290 #include "confdefs.h"
23291 #include <unistd.h>
23292 #include <sys/time.h>
23293 #include <sys/resource.h>
23296 int f = RLIMIT_RSS ;
23299 if { (eval echo configure:23300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23303 echo "configure: failed program was:" >&5
23304 cat conftest.$ac_ext >&5
23309 cat >> confdefs.h <<EOF
23310 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23315 cat > conftest.$ac_ext <<EOF
23316 #line 23317 "configure"
23317 #include "confdefs.h"
23318 #include <unistd.h>
23319 #include <sys/time.h>
23320 #include <sys/resource.h>
23323 int f = RLIMIT_VMEM ;
23326 if { (eval echo configure:23327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23330 echo "configure: failed program was:" >&5
23331 cat conftest.$ac_ext >&5
23336 cat >> confdefs.h <<EOF
23337 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23342 cat > conftest.$ac_ext <<EOF
23343 #line 23344 "configure"
23344 #include "confdefs.h"
23345 #include <unistd.h>
23346 #include <sys/time.h>
23347 #include <sys/resource.h>
23350 int f = RLIMIT_AS ;
23353 if { (eval echo configure:23354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23357 echo "configure: failed program was:" >&5
23358 cat conftest.$ac_ext >&5
23363 cat >> confdefs.h <<EOF
23364 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23369 # Check for rlimit, setrlimit.
23370 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23371 echo $ac_n "(cached) $ac_c" 1>&6
23374 cat > conftest.$ac_ext <<EOF
23375 #line 23376 "configure"
23376 #include "confdefs.h"
23377 #include <unistd.h>
23378 #include <sys/time.h>
23379 #include <sys/resource.h>
23382 struct rlimit r; setrlimit(0, &r);
23385 if { (eval echo configure:23386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23389 echo "configure: failed program was:" >&5
23390 cat conftest.$ac_ext >&5
23400 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23401 echo "configure:23402: checking for testsuite memory limit support" >&5
23402 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23404 cat >> confdefs.h <<\EOF
23405 #define _GLIBCPP_MEM_LIMITS 1
23411 echo "$ac_t""$ac_mem_limits" 1>&6
23414 # Look for setenv, so that extended locale tests can be performed.
23416 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23417 echo "configure:23418: checking for setenv declaration" >&5
23418 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23419 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23420 echo $ac_n "(cached) $ac_c" 1>&6
23425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23426 ac_cpp='$CXXCPP $CPPFLAGS'
23427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23429 cross_compiling=$ac_cv_prog_cxx_cross
23431 cat > conftest.$ac_ext <<EOF
23432 #line 23433 "configure"
23433 #include "confdefs.h"
23434 #include <stdlib.h>
23439 if { (eval echo configure:23440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23441 glibcpp_cv_func_setenv_use=yes
23443 echo "configure: failed program was:" >&5
23444 cat conftest.$ac_ext >&5
23446 glibcpp_cv_func_setenv_use=no
23450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23451 ac_cpp='$CPP $CPPFLAGS'
23452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23454 cross_compiling=$ac_cv_prog_cc_cross
23460 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23461 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23462 for ac_func in setenv
23464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23465 echo "configure:23466: checking for $ac_func" >&5
23466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23467 echo $ac_n "(cached) $ac_c" 1>&6
23469 cat > conftest.$ac_ext <<EOF
23470 #line 23471 "configure"
23471 #include "confdefs.h"
23472 /* System header to define __stub macros and hopefully few prototypes,
23473 which can conflict with char $ac_func(); below. */
23474 #include <assert.h>
23475 /* Override any gcc2 internal prototype to avoid an error. */
23476 /* We use char because int might match the return type of a gcc2
23477 builtin and then its argument prototype would still apply. */
23482 /* The GNU C library defines this for functions which it implements
23483 to always fail with ENOSYS. Some functions are actually named
23484 something starting with __ and the normal name is an alias. */
23485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23493 if { (eval echo configure:23494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23495 eval "ac_cv_func_$ac_func=yes"
23497 echo "configure: failed program was:" >&5
23498 cat conftest.$ac_ext >&5
23500 eval "ac_cv_func_$ac_func=no"
23505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23506 echo "$ac_t""yes" 1>&6
23507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23508 cat >> confdefs.h <<EOF
23509 #define $ac_tr_func 1
23513 echo "$ac_t""no" 1>&6
23520 # Export file names for ABI checking.
23521 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23525 *-*-cygwin* ) enable_abi_check=no ;;
23526 * ) enable_abi_check=yes ;;
23529 # Don't do ABI checking unless native.
23532 if test x"$build" = x"$host" && test -z "$with_cross_host" \
23533 && test "$enable_abi_check" = yes ; then
23534 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23535 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23537 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23538 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23543 # This depends on the possibly-skipped linker test above.
23544 # Check whether --enable-symvers or --disable-symvers was given.
23545 if test "${enable_symvers+set}" = set; then
23546 enableval="$enable_symvers"
23547 case "$enableval" in
23548 yes) enable_symvers=yes ;;
23549 no) enable_symvers=no ;;
23550 # other names here, just as sanity checks
23551 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23552 gnu) enable_symvers=$enableval ;;
23553 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23559 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23560 # don't know enough about $LD to do tricks...
23561 if test x$enable_shared = xno ||
23563 test x$glibcpp_gnu_ld_version = x; then
23567 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23568 if test $enable_symvers != no; then
23569 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23570 echo "configure:23571: checking for shared libgcc" >&5
23571 ac_save_CFLAGS="$CFLAGS"
23573 cat > conftest.$ac_ext <<EOF
23574 #line 23575 "configure"
23575 #include "confdefs.h"
23581 if { (eval echo configure:23582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23583 glibcpp_shared_libgcc=yes
23585 echo "configure: failed program was:" >&5
23586 cat conftest.$ac_ext >&5
23588 glibcpp_shared_libgcc=no
23591 CFLAGS="$ac_save_CFLAGS"
23592 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23595 # For GNU ld, we need at least this version. It's 2.12 in the same format
23596 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23597 glibcpp_min_gnu_ld_version=21200
23599 # Check to see if unspecified "yes" value can win, given results
23601 if test $enable_symvers = yes ; then
23602 if test $with_gnu_ld = yes &&
23603 test $glibcpp_shared_libgcc = yes ;
23605 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23608 ac_test_CFLAGS="${CFLAGS+set}"
23609 ac_save_CFLAGS="$CFLAGS"
23610 CFLAGS='-shared -Wl,--version-script,conftest.map'
23613 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23615 cat > conftest.$ac_ext <<EOF
23616 #line 23617 "configure"
23617 #include "confdefs.h"
23623 if { (eval echo configure:23624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23627 echo "configure: failed program was:" >&5
23628 cat conftest.$ac_ext >&5
23631 if test "$ac_test_CFLAGS" = set; then
23632 CFLAGS="$ac_save_CFLAGS"
23634 # this is the suspicious part
23640 # just fail for now
23645 case $enable_symvers in
23647 SYMVER_MAP=config/linker-map.dummy
23650 SYMVER_MAP=config/linker-map.gnu
23651 cat >> confdefs.h <<\EOF
23652 #define _GLIBCPP_SYMVER 1
23661 if test $enable_symvers != no; then
23662 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23663 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23665 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23666 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23668 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23669 echo "configure:23670: checking versioning on shared library symbols" >&5
23670 echo "$ac_t""$enable_symvers" 1>&6
23673 # Propagate the target-specific source directories through the build chain.
23674 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23675 # uses it, and it only gets used in this file.)
23676 OS_INC_SRCDIR=config/${os_include_dir}
23677 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23681 # Set up cross-compile flags
23684 if test "$CANADIAN" = yes; then
23692 cat > confcache <<\EOF
23693 # This file is a shell script that caches the results of configure
23694 # tests run on this system so they can be shared between configure
23695 # scripts and configure runs. It is not useful on other systems.
23696 # If it contains results you don't want to keep, you may remove or edit it.
23698 # By default, configure uses ./config.cache as the cache file,
23699 # creating it if it does not exist already. You can give configure
23700 # the --cache-file=FILE option to use a different cache file; that is
23701 # what configure does when it calls configure scripts in
23702 # subdirectories, so they share the cache.
23703 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23704 # config.status only pays attention to the cache file if you give it the
23705 # --recheck option to rerun configure.
23708 # The following way of writing the cache mishandles newlines in values,
23709 # but we know of no workaround that is simple, portable, and efficient.
23710 # So, don't put newlines in cache variables' values.
23711 # Ultrix sh set writes to stderr and can't be redirected directly,
23712 # and sets the high bit in the cache file unless we assign to the vars.
23714 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23716 # `set' does not quote correctly, so add quotes (double-quote substitution
23717 # turns \\\\ into \\, and sed turns \\ into \).
23719 -e "s/'/'\\\\''/g" \
23720 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23723 # `set' quotes correctly as required by POSIX, so do not add quotes.
23724 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23727 if cmp -s $cache_file confcache; then
23730 if test -w $cache_file; then
23731 echo "updating cache $cache_file"
23732 cat confcache > $cache_file
23734 echo "not updating unwritable cache $cache_file"
23740 if test "${multilib}" = "yes"; then
23741 multilib_arg="--enable-multilib"
23746 # Export all the install information
23748 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23749 # exported correctly in GLIBCPP_CONFIGURE.
23750 glibcpp_toolexecdir=no
23751 glibcpp_toolexeclibdir=no
23752 glibcpp_prefixdir=${prefix}
23754 # Process the option --with-gxx-include-dir=<path to include-files directory>
23755 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23756 echo "configure:23757: checking for --with-gxx-include-dir" >&5
23757 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23758 if test "${with_gxx_include_dir+set}" = set; then
23759 withval="$with_gxx_include_dir"
23760 case "${withval}" in
23762 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23769 gxx_include_dir=${withval}
23776 echo "$ac_t""$gxx_include_dir" 1>&6
23778 # Process the option "--enable-version-specific-runtime-libs"
23779 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23780 echo "configure:23781: checking for --enable-version-specific-runtime-libs" >&5
23781 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23782 if test "${enable_version_specific_runtime_libs+set}" = set; then
23783 enableval="$enable_version_specific_runtime_libs"
23784 case "$enableval" in
23785 yes) version_specific_libs=yes ;;
23786 no) version_specific_libs=no ;;
23787 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23790 version_specific_libs=no
23792 # Option set, now we can test it.
23793 echo "$ac_t""$version_specific_libs" 1>&6
23795 # Default case for install directory for include files.
23796 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23797 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23800 # Version-specific runtime libs processing.
23801 if test $version_specific_libs = yes; then
23802 # Need the gcc compiler version to know where to install libraries
23803 # and header files if --enable-version-specific-runtime-libs option
23805 if test x"$gxx_include_dir" = x"no"; then
23806 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23808 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23809 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23812 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23813 # Install a library built with a cross compiler in tooldir, not libdir.
23814 if test x"$glibcpp_toolexecdir" = x"no"; then
23815 if test -n "$with_cross_host" &&
23816 test x"$with_cross_host" != x"no"; then
23817 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23818 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23820 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23821 glibcpp_toolexeclibdir='$(libdir)'
23823 glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/`$CC -print-multi-os-directory`
23826 echo $ac_n "checking for install location""... $ac_c" 1>&6
23827 echo "configure:23828: checking for install location" >&5
23828 echo "$ac_t""$gxx_include_dir" 1>&6
23836 # Export all the include and flag information to Makefiles.
23838 # Root level of the build directory include sources.
23839 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23841 # Passed down for canadian crosses.
23842 if test x"$CANADIAN" = xyes; then
23843 TOPLEVEL_INCLUDES='-I$(includedir)'
23846 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23848 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23850 if test x"$need_libio" = xyes; then
23851 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23855 # Now, export this to all the little Makefiles....
23862 # Optimization flags that are probably a good idea for thrill-seekers. Just
23863 # uncomment the lines below and make, everything else is ready to go...
23864 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23868 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23872 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23873 grep "enable shared" > /dev/null; then
23874 LIBSUPCXX_PICFLAGS=-prefer-pic
23876 LIBSUPCXX_PICFLAGS=
23880 # Generate the various Makefiles, include files, and scripts.
23881 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23882 # and libsupc++/Makefile.am so that multilib installs will end up
23883 # installed in the correct place. To work around this not being passed
23884 # down from config-ml.in -> top_srcdir/Makefile.am ->
23885 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23887 cat > confcache <<\EOF
23888 # This file is a shell script that caches the results of configure
23889 # tests run on this system so they can be shared between configure
23890 # scripts and configure runs. It is not useful on other systems.
23891 # If it contains results you don't want to keep, you may remove or edit it.
23893 # By default, configure uses ./config.cache as the cache file,
23894 # creating it if it does not exist already. You can give configure
23895 # the --cache-file=FILE option to use a different cache file; that is
23896 # what configure does when it calls configure scripts in
23897 # subdirectories, so they share the cache.
23898 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23899 # config.status only pays attention to the cache file if you give it the
23900 # --recheck option to rerun configure.
23903 # The following way of writing the cache mishandles newlines in values,
23904 # but we know of no workaround that is simple, portable, and efficient.
23905 # So, don't put newlines in cache variables' values.
23906 # Ultrix sh set writes to stderr and can't be redirected directly,
23907 # and sets the high bit in the cache file unless we assign to the vars.
23909 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23911 # `set' does not quote correctly, so add quotes (double-quote substitution
23912 # turns \\\\ into \\, and sed turns \\ into \).
23914 -e "s/'/'\\\\''/g" \
23915 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23918 # `set' quotes correctly as required by POSIX, so do not add quotes.
23919 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23922 if cmp -s $cache_file confcache; then
23925 if test -w $cache_file; then
23926 echo "updating cache $cache_file"
23927 cat confcache > $cache_file
23929 echo "not updating unwritable cache $cache_file"
23934 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23936 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23937 # Let make expand exec_prefix.
23938 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23940 # Any assignment to VPATH causes Sun make to only execute
23941 # the first set of double-colon rules, so remove it if not needed.
23942 # If there is a colon in the path, we need to keep it.
23943 if test "x$srcdir" = x.; then
23944 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23947 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23949 DEFS=-DHAVE_CONFIG_H
23951 # Without the "./", some shells look in PATH for config.status.
23952 : ${CONFIG_STATUS=./config.status}
23954 echo creating $CONFIG_STATUS
23955 rm -f $CONFIG_STATUS
23956 cat > $CONFIG_STATUS <<EOF
23958 # Generated automatically by configure.
23959 # Run this file to recreate the current configuration.
23960 # This directory was configured as follows,
23961 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23963 # $0 $ac_configure_args
23965 # Compiler output produced by configure, useful for debugging
23966 # configure, is in ./config.log if it exists.
23968 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23971 case "\$ac_option" in
23972 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23973 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23974 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23975 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23976 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23978 -help | --help | --hel | --he | --h)
23979 echo "\$ac_cs_usage"; exit 0 ;;
23980 *) echo "\$ac_cs_usage"; exit 1 ;;
23984 ac_given_srcdir=$srcdir
23985 ac_given_INSTALL="$INSTALL"
23987 trap 'rm -fr `echo "Makefile \
23988 include/Makefile src/Makefile \
23989 libmath/Makefile libio/Makefile libsupc++/Makefile \
23990 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23992 cat >> $CONFIG_STATUS <<EOF
23994 # Protect against being on the right side of a sed subst in config.status.
23995 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23996 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24000 s%@CFLAGS@%$CFLAGS%g
24001 s%@CPPFLAGS@%$CPPFLAGS%g
24002 s%@CXXFLAGS@%$CXXFLAGS%g
24003 s%@FFLAGS@%$FFLAGS%g
24005 s%@LDFLAGS@%$LDFLAGS%g
24007 s%@exec_prefix@%$exec_prefix%g
24008 s%@prefix@%$prefix%g
24009 s%@program_transform_name@%$program_transform_name%g
24010 s%@bindir@%$bindir%g
24011 s%@sbindir@%$sbindir%g
24012 s%@libexecdir@%$libexecdir%g
24013 s%@datadir@%$datadir%g
24014 s%@sysconfdir@%$sysconfdir%g
24015 s%@sharedstatedir@%$sharedstatedir%g
24016 s%@localstatedir@%$localstatedir%g
24017 s%@libdir@%$libdir%g
24018 s%@includedir@%$includedir%g
24019 s%@oldincludedir@%$oldincludedir%g
24020 s%@infodir@%$infodir%g
24021 s%@mandir@%$mandir%g
24022 s%@PACKAGE@%$PACKAGE%g
24023 s%@libtool_VERSION@%$libtool_VERSION%g
24024 s%@toplevel_srcdir@%$toplevel_srcdir%g
24026 s%@host_alias@%$host_alias%g
24027 s%@host_cpu@%$host_cpu%g
24028 s%@host_vendor@%$host_vendor%g
24029 s%@host_os@%$host_os%g
24030 s%@target@%$target%g
24031 s%@target_alias@%$target_alias%g
24032 s%@target_cpu@%$target_cpu%g
24033 s%@target_vendor@%$target_vendor%g
24034 s%@target_os@%$target_os%g
24036 s%@build_alias@%$build_alias%g
24037 s%@build_cpu@%$build_cpu%g
24038 s%@build_vendor@%$build_vendor%g
24039 s%@build_os@%$build_os%g
24040 s%@glibcpp_builddir@%$glibcpp_builddir%g
24041 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24044 s%@glibcpp_basedir@%$glibcpp_basedir%g
24046 s%@glibcpp_CXX@%$glibcpp_CXX%g
24049 s%@RANLIB@%$RANLIB%g
24050 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24051 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24052 s%@INSTALL_DATA@%$INSTALL_DATA%g
24053 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24054 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24056 s%@EXEEXT@%$EXEEXT%g
24057 s%@VERSION@%$VERSION%g
24058 s%@ACLOCAL@%$ACLOCAL%g
24059 s%@AUTOCONF@%$AUTOCONF%g
24060 s%@AUTOMAKE@%$AUTOMAKE%g
24061 s%@AUTOHEADER@%$AUTOHEADER%g
24062 s%@MAKEINFO@%$MAKEINFO%g
24063 s%@SET_MAKE@%$SET_MAKE%g
24064 s%@OBJEXT@%$OBJEXT%g
24066 s%@LIBTOOL@%$LIBTOOL%g
24067 s%@CXXCPP@%$CXXCPP%g
24068 s%@enable_shared@%$enable_shared%g
24069 s%@enable_static@%$enable_static%g
24070 s%@ifGNUmake@%$ifGNUmake%g
24072 s%@CSTDIO_H@%$CSTDIO_H%g
24073 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24074 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24075 s%@CCODECVT_C@%$CCODECVT_C%g
24076 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24077 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24078 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24079 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24080 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24081 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24082 s%@libio_la@%$libio_la%g
24083 s%@check_msgfmt@%$check_msgfmt%g
24084 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24085 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24086 s%@glibcpp_localedir@%$glibcpp_localedir%g
24087 s%@USE_NLS@%$USE_NLS%g
24088 s%@CLOCALE_H@%$CLOCALE_H%g
24089 s%@CCODECVT_H@%$CCODECVT_H%g
24090 s%@CMESSAGES_H@%$CMESSAGES_H%g
24091 s%@CCODECVT_CC@%$CCODECVT_CC%g
24092 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24093 s%@CCTYPE_CC@%$CCTYPE_CC%g
24094 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24095 s%@CMONEY_CC@%$CMONEY_CC%g
24096 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24097 s%@CTIME_H@%$CTIME_H%g
24098 s%@CTIME_CC@%$CTIME_CC%g
24099 s%@CLOCALE_CC@%$CLOCALE_CC%g
24100 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24101 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24102 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24103 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24104 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24105 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24106 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24107 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24108 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24109 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24110 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24111 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24112 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24113 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24114 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24115 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24116 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24117 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24118 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24119 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24120 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24121 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24122 s%@WERROR@%$WERROR%g
24123 s%@baseline_file@%$baseline_file%g
24124 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24125 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24126 s%@SYMVER_MAP@%$SYMVER_MAP%g
24127 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24128 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24129 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24130 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24131 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24132 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24133 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24134 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24135 s%@gxx_include_dir@%$gxx_include_dir%g
24136 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24137 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24138 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24139 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24140 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24141 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24142 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24143 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24144 s%@WARN_FLAGS@%$WARN_FLAGS%g
24145 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24150 cat >> $CONFIG_STATUS <<\EOF
24152 # Split the substitutions into bite-sized pieces for seds with
24153 # small command number limits, like on Digital OSF/1 and HP-UX.
24154 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24155 ac_file=1 # Number of current file.
24156 ac_beg=1 # First line for current file.
24157 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24160 while $ac_more_lines; do
24161 if test $ac_beg -gt 1; then
24162 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24164 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24166 if test ! -s conftest.s$ac_file; then
24167 ac_more_lines=false
24168 rm -f conftest.s$ac_file
24170 if test -z "$ac_sed_cmds"; then
24171 ac_sed_cmds="sed -f conftest.s$ac_file"
24173 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24175 ac_file=`expr $ac_file + 1`
24177 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24180 if test -z "$ac_sed_cmds"; then
24185 cat >> $CONFIG_STATUS <<EOF
24187 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24188 include/Makefile src/Makefile \
24189 libmath/Makefile libio/Makefile libsupc++/Makefile \
24190 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
24192 cat >> $CONFIG_STATUS <<\EOF
24193 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24194 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24196 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24197 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24198 *) ac_file_in="${ac_file}.in" ;;
24201 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24203 # Remove last slash and all that follows it. Not all systems have dirname.
24204 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24205 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24206 # The file is in a subdirectory.
24207 test ! -d "$ac_dir" && mkdir "$ac_dir"
24208 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24209 # A "../" for each directory in $ac_dir_suffix.
24210 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24212 ac_dir_suffix= ac_dots=
24215 case "$ac_given_srcdir" in
24217 if test -z "$ac_dots"; then top_srcdir=.
24218 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24219 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24220 *) # Relative path.
24221 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24222 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24225 case "$ac_given_INSTALL" in
24226 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24227 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24230 echo creating "$ac_file"
24232 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24234 *Makefile*) ac_comsub="1i\\
24235 # $configure_input" ;;
24239 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24241 s%@configure_input@%$configure_input%g
24242 s%@srcdir@%$srcdir%g
24243 s%@top_srcdir@%$top_srcdir%g
24244 s%@INSTALL@%$INSTALL%g
24245 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24249 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24250 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24252 # ac_d sets the value in "#define NAME VALUE" lines.
24253 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24254 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24257 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24258 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24259 ac_uB='\([ ]\)%\1#\2define\3'
24262 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24263 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24264 ac_eB='$%\1#\2define\3'
24268 if test "${CONFIG_HEADERS+set}" != set; then
24270 cat >> $CONFIG_STATUS <<EOF
24271 CONFIG_HEADERS="config.h"
24273 cat >> $CONFIG_STATUS <<\EOF
24275 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24276 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24278 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24279 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24280 *) ac_file_in="${ac_file}.in" ;;
24283 echo creating $ac_file
24285 rm -f conftest.frag conftest.in conftest.out
24286 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24287 cat $ac_file_inputs > conftest.in
24291 # Transform confdefs.h into a sed script conftest.vals that substitutes
24292 # the proper values into config.h.in to produce config.h. And first:
24293 # Protect against being on the right side of a sed subst in config.status.
24294 # Protect against being in an unquoted here document in config.status.
24295 rm -f conftest.vals
24296 cat > conftest.hdr <<\EOF
24299 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24303 sed -n -f conftest.hdr confdefs.h > conftest.vals
24306 # This sed command replaces #undef with comments. This is necessary, for
24307 # example, in the case of _POSIX_SOURCE, which is predefined and required
24308 # on some systems where configure will not decide to define it.
24309 cat >> conftest.vals <<\EOF
24310 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24313 # Break up conftest.vals because some shells have a limit on
24314 # the size of here documents, and old seds have small limits too.
24316 rm -f conftest.tail
24319 ac_lines=`grep -c . conftest.vals`
24320 # grep -c gives empty output for an empty file on some AIX systems.
24321 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24322 # Write a limited-size here document to conftest.frag.
24323 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24324 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24326 sed -f conftest.frag conftest.in > conftest.out
24328 mv conftest.out conftest.in
24329 ' >> $CONFIG_STATUS
24330 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24331 rm -f conftest.vals
24332 mv conftest.tail conftest.vals
24334 rm -f conftest.vals
24336 cat >> $CONFIG_STATUS <<\EOF
24337 rm -f conftest.frag conftest.h
24338 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24339 cat conftest.in >> conftest.h
24341 if cmp -s $ac_file conftest.h 2>/dev/null; then
24342 echo "$ac_file is unchanged"
24345 # Remove last slash and all that follows it. Not all systems have dirname.
24346 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24347 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24348 # The file is in a subdirectory.
24349 test ! -d "$ac_dir" && mkdir "$ac_dir"
24352 mv conftest.h $ac_file
24357 cat >> $CONFIG_STATUS <<EOF
24362 with_target_subdir=${with_target_subdir}
24363 with_build_subdir=${with_build_subdir}
24364 with_multisubdir=${with_multisubdir}
24365 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24366 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24367 glibcpp_basedir=${glibcpp_basedir}
24370 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24373 cat >> $CONFIG_STATUS <<\EOF
24374 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24375 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24376 if test -n "$CONFIG_FILES"; then
24377 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24378 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24379 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24380 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24381 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24385 chmod +x testsuite_flags
24388 chmod +x $CONFIG_STATUS
24389 rm -fr confdefs* $ac_clean_files
24390 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24394 # Sanity checking & User-visible messages.
24395 # Checks down here, otherwise they get scrolled off before
24396 # the user will notice.
24398 # Trying to get more people to read documentation. Possibly remove
24399 # check and warn all the time. There is no "informational" AC_MSG_
24400 # macro, so these are going to be printed even when --quiet/--silent
24402 if test ! -f stamp-sanity-warned; then
24403 touch stamp-sanity-warned
24405 echo "Please make certain that you read the installation information here:"
24406 echo " faster => ${srcdir}/docs/html/install.html"
24407 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24409 echo "and the configuration information here:"
24410 echo " faster => ${srcdir}/docs/html/configopts.html"
24411 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24413 echo "before proceeding with ${_cv_gnu_make_command}."