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 extra debugging, turn off optimization [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=5:2: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=
4634 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4635 echo "configure:4636: checking for mbstate_t" >&5
4636 cat > conftest.$ac_ext <<EOF
4637 #line 4638 "configure"
4638 #include "confdefs.h"
4641 mbstate_t teststate;
4644 if { (eval echo configure:4645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4648 echo "configure: failed program was:" >&5
4649 cat conftest.$ac_ext >&5
4654 echo "$ac_t""$have_mbstate_t" 1>&6
4655 if test x"$have_mbstate_t" = xyes; then
4656 cat >> confdefs.h <<\EOF
4657 #define HAVE_MBSTATE_T 1
4662 for ac_hdr in wchar.h
4664 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4665 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4666 echo "configure:4667: checking for $ac_hdr" >&5
4667 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4668 echo $ac_n "(cached) $ac_c" 1>&6
4670 cat > conftest.$ac_ext <<EOF
4671 #line 4672 "configure"
4672 #include "confdefs.h"
4675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4676 { (eval echo configure:4677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4678 if test -z "$ac_err"; then
4680 eval "ac_cv_header_$ac_safe=yes"
4683 echo "configure: failed program was:" >&5
4684 cat conftest.$ac_ext >&5
4686 eval "ac_cv_header_$ac_safe=no"
4690 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4691 echo "$ac_t""yes" 1>&6
4692 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4693 cat >> confdefs.h <<EOF
4694 #define $ac_tr_hdr 1
4698 echo "$ac_t""no" 1>&6
4703 for ac_hdr in wctype.h
4705 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4706 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4707 echo "configure:4708: checking for $ac_hdr" >&5
4708 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4709 echo $ac_n "(cached) $ac_c" 1>&6
4711 cat > conftest.$ac_ext <<EOF
4712 #line 4713 "configure"
4713 #include "confdefs.h"
4716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4717 { (eval echo configure:4718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4719 if test -z "$ac_err"; then
4721 eval "ac_cv_header_$ac_safe=yes"
4724 echo "configure: failed program was:" >&5
4725 cat conftest.$ac_ext >&5
4727 eval "ac_cv_header_$ac_safe=no"
4731 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4732 echo "$ac_t""yes" 1>&6
4733 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4734 cat >> confdefs.h <<EOF
4735 #define $ac_tr_hdr 1
4739 echo "$ac_t""no" 1>&6
4745 if test x"$ac_has_wchar_h" = xyes &&
4746 test x"$ac_has_wctype_h" = xyes &&
4747 test x"$enable_c_mbchar" != xno; then
4749 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4750 echo "configure:4751: checking for WCHAR_MIN and WCHAR_MAX" >&5
4751 cat > conftest.$ac_ext <<EOF
4752 #line 4753 "configure"
4753 #include "confdefs.h"
4756 int i = WCHAR_MIN; int j = WCHAR_MAX;
4759 if { (eval echo configure:4760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4761 has_wchar_minmax=yes
4763 echo "configure: failed program was:" >&5
4764 cat conftest.$ac_ext >&5
4769 echo "$ac_t""$has_wchar_minmax" 1>&6
4771 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4772 echo "configure:4773: checking for WEOF" >&5
4773 cat > conftest.$ac_ext <<EOF
4774 #line 4775 "configure"
4775 #include "confdefs.h"
4783 if { (eval echo configure:4784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4787 echo "configure: failed program was:" >&5
4788 cat conftest.$ac_ext >&5
4793 echo "$ac_t""$has_weof" 1>&6
4796 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4799 echo "configure:4800: checking for $ac_func" >&5
4800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4801 echo $ac_n "(cached) $ac_c" 1>&6
4803 cat > conftest.$ac_ext <<EOF
4804 #line 4805 "configure"
4805 #include "confdefs.h"
4806 /* System header to define __stub macros and hopefully few prototypes,
4807 which can conflict with char $ac_func(); below. */
4809 /* Override any gcc2 internal prototype to avoid an error. */
4810 /* We use char because int might match the return type of a gcc2
4811 builtin and then its argument prototype would still apply. */
4816 /* The GNU C library defines this for functions which it implements
4817 to always fail with ENOSYS. Some functions are actually named
4818 something starting with __ and the normal name is an alias. */
4819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4827 if { (eval echo configure:4828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4829 eval "ac_cv_func_$ac_func=yes"
4831 echo "configure: failed program was:" >&5
4832 cat conftest.$ac_ext >&5
4834 eval "ac_cv_func_$ac_func=no"
4839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4840 echo "$ac_t""yes" 1>&6
4841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4842 cat >> confdefs.h <<EOF
4843 #define $ac_tr_func 1
4847 echo "$ac_t""no" 1>&6
4854 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4855 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4856 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4857 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4858 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4859 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4862 echo "configure:4863: checking for $ac_func" >&5
4863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4864 echo $ac_n "(cached) $ac_c" 1>&6
4866 cat > conftest.$ac_ext <<EOF
4867 #line 4868 "configure"
4868 #include "confdefs.h"
4869 /* System header to define __stub macros and hopefully few prototypes,
4870 which can conflict with char $ac_func(); below. */
4872 /* Override any gcc2 internal prototype to avoid an error. */
4873 /* We use char because int might match the return type of a gcc2
4874 builtin and then its argument prototype would still apply. */
4879 /* The GNU C library defines this for functions which it implements
4880 to always fail with ENOSYS. Some functions are actually named
4881 something starting with __ and the normal name is an alias. */
4882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4890 if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4892 eval "ac_cv_func_$ac_func=yes"
4894 echo "configure: failed program was:" >&5
4895 cat conftest.$ac_ext >&5
4897 eval "ac_cv_func_$ac_func=no"
4902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4903 echo "$ac_t""yes" 1>&6
4904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4905 cat >> confdefs.h <<EOF
4906 #define $ac_tr_func 1
4910 echo "$ac_t""no" 1>&6
4917 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4918 echo "configure:4919: checking for ISO C99 wchar_t support" >&5
4919 if test x"$has_weof" = xyes &&
4920 test x"$has_wchar_minmax" = xyes &&
4921 test x"$ac_wfuncs" = xyes; then
4922 ac_isoC99_wchar_t=yes
4924 ac_isoC99_wchar_t=no
4926 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4928 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4929 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4930 echo "configure:4931: checking for iconv.h" >&5
4931 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4932 echo $ac_n "(cached) $ac_c" 1>&6
4934 cat > conftest.$ac_ext <<EOF
4935 #line 4936 "configure"
4936 #include "confdefs.h"
4939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4940 { (eval echo configure:4941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4942 if test -z "$ac_err"; then
4944 eval "ac_cv_header_$ac_safe=yes"
4947 echo "configure: failed program was:" >&5
4948 cat conftest.$ac_ext >&5
4950 eval "ac_cv_header_$ac_safe=no"
4954 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4955 echo "$ac_t""yes" 1>&6
4958 echo "$ac_t""no" 1>&6
4962 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4963 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4964 echo "configure:4965: checking for langinfo.h" >&5
4965 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4966 echo $ac_n "(cached) $ac_c" 1>&6
4968 cat > conftest.$ac_ext <<EOF
4969 #line 4970 "configure"
4970 #include "confdefs.h"
4971 #include <langinfo.h>
4973 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4974 { (eval echo configure:4975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4976 if test -z "$ac_err"; then
4978 eval "ac_cv_header_$ac_safe=yes"
4981 echo "configure: failed program was:" >&5
4982 cat conftest.$ac_ext >&5
4984 eval "ac_cv_header_$ac_safe=no"
4988 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4989 echo "$ac_t""yes" 1>&6
4990 ac_has_langinfo_h=yes
4992 echo "$ac_t""no" 1>&6
4993 ac_has_langinfo_h=no
4997 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4998 echo "configure:4999: checking for iconv in -liconv" >&5
4999 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5001 echo $ac_n "(cached) $ac_c" 1>&6
5003 ac_save_LIBS="$LIBS"
5004 LIBS="-liconv $LIBS"
5005 cat > conftest.$ac_ext <<EOF
5006 #line 5007 "configure"
5007 #include "confdefs.h"
5008 /* Override any gcc2 internal prototype to avoid an error. */
5009 /* We use char because int might match the return type of a gcc2
5010 builtin and then its argument prototype would still apply. */
5017 if { (eval echo configure:5018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5019 eval "ac_cv_lib_$ac_lib_var=yes"
5021 echo "configure: failed program was:" >&5
5022 cat conftest.$ac_ext >&5
5024 eval "ac_cv_lib_$ac_lib_var=no"
5027 LIBS="$ac_save_LIBS"
5030 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5031 echo "$ac_t""yes" 1>&6
5034 echo "$ac_t""no" 1>&6
5037 ac_save_LIBS="$LIBS"
5038 LIBS="$LIBS $libiconv"
5040 for ac_func in iconv_open iconv_close iconv nl_langinfo
5042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5043 echo "configure:5044: checking for $ac_func" >&5
5044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5045 echo $ac_n "(cached) $ac_c" 1>&6
5047 cat > conftest.$ac_ext <<EOF
5048 #line 5049 "configure"
5049 #include "confdefs.h"
5050 /* System header to define __stub macros and hopefully few prototypes,
5051 which can conflict with char $ac_func(); below. */
5053 /* Override any gcc2 internal prototype to avoid an error. */
5054 /* We use char because int might match the return type of a gcc2
5055 builtin and then its argument prototype would still apply. */
5060 /* The GNU C library defines this for functions which it implements
5061 to always fail with ENOSYS. Some functions are actually named
5062 something starting with __ and the normal name is an alias. */
5063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5071 if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5073 eval "ac_cv_func_$ac_func=yes"
5075 echo "configure: failed program was:" >&5
5076 cat conftest.$ac_ext >&5
5078 eval "ac_cv_func_$ac_func=no"
5083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5084 echo "$ac_t""yes" 1>&6
5085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5086 cat >> confdefs.h <<EOF
5087 #define $ac_tr_func 1
5092 echo "$ac_t""no" 1>&6
5098 LIBS="$ac_save_LIBS"
5100 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5101 echo "configure:5102: checking for XPG2 wchar_t support" >&5
5102 if test x"$ac_has_iconv_h" = xyes &&
5103 test x"$ac_has_langinfo_h" = xyes &&
5104 test x"$ac_XPG2funcs" = xyes; then
5109 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5111 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5112 echo "configure:5113: checking for enabled wchar_t specializations" >&5
5113 if test x"$ac_isoC99_wchar_t" = xyes &&
5114 test x"$ac_XPG2_wchar_t" = xyes; then
5115 cat >> confdefs.h <<\EOF
5116 #define _GLIBCPP_USE_WCHAR_T 1
5119 echo "$ac_t"""yes"" 1>&6
5121 echo "$ac_t"""no"" 1>&6
5124 echo "configure: warning: wchar_t support disabled." 1>&2
5127 cat >> confdefs.h <<\EOF
5128 #define HAVE_COPYSIGN 1
5131 cat >> confdefs.h <<\EOF
5132 #define HAVE_COPYSIGNF 1
5135 cat >> confdefs.h <<\EOF
5136 #define HAVE_FINITE 1
5139 cat >> confdefs.h <<\EOF
5140 #define HAVE_FINITEF 1
5143 cat >> confdefs.h <<\EOF
5144 #define HAVE_FREXPF 1
5147 cat >> confdefs.h <<\EOF
5148 #define HAVE_HYPOTF 1
5151 cat >> confdefs.h <<\EOF
5152 #define HAVE_ISINF 1
5155 cat >> confdefs.h <<\EOF
5156 #define HAVE_ISINFF 1
5159 cat >> confdefs.h <<\EOF
5160 #define HAVE_ISNAN 1
5163 cat >> confdefs.h <<\EOF
5164 #define HAVE_ISNANF 1
5167 cat >> confdefs.h <<\EOF
5168 #define HAVE_SINCOS 1
5171 cat >> confdefs.h <<\EOF
5172 #define HAVE_SINCOSF 1
5175 if test x"long_double_math_on_this_cpu" = x"yes"; then
5176 cat >> confdefs.h <<\EOF
5177 #define HAVE_FINITEL 1
5180 cat >> confdefs.h <<\EOF
5181 #define HAVE_HYPOTL 1
5184 cat >> confdefs.h <<\EOF
5185 #define HAVE_ISINFL 1
5188 cat >> confdefs.h <<\EOF
5189 #define HAVE_ISNANL 1
5195 # Check for available headers.
5196 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5197 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5198 fp.h locale.h float.h inttypes.h
5200 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5201 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5202 echo "configure:5203: checking for $ac_hdr" >&5
5203 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5204 echo $ac_n "(cached) $ac_c" 1>&6
5206 cat > conftest.$ac_ext <<EOF
5207 #line 5208 "configure"
5208 #include "confdefs.h"
5211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5212 { (eval echo configure:5213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5214 if test -z "$ac_err"; then
5216 eval "ac_cv_header_$ac_safe=yes"
5219 echo "configure: failed program was:" >&5
5220 cat conftest.$ac_ext >&5
5222 eval "ac_cv_header_$ac_safe=no"
5226 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5227 echo "$ac_t""yes" 1>&6
5228 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5229 cat >> confdefs.h <<EOF
5230 #define $ac_tr_hdr 1
5234 echo "$ac_t""no" 1>&6
5238 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5241 # If we're not using GNU ld, then there's no point in even trying these
5242 # tests. Check for that first. We should have already tested for gld
5243 # by now (in libtool), but require it now just to be safe...
5244 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5245 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5248 # The name set by libtool depends on the version of libtool. Shame on us
5249 # for depending on an impl detail, but c'est la vie. Older versions used
5250 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5251 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5252 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5253 # set (hence we're using an older libtool), then set it.
5254 if test x${with_gnu_ld+set} != xset; then
5255 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5256 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5259 with_gnu_ld=$ac_cv_prog_gnu_ld
5263 # Start by getting the version number. I think the libtool test already
5264 # does some of this, but throws away the result.
5266 ldver=`$LD --version 2>/dev/null | head -1 | \
5267 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5269 glibcpp_gnu_ld_version=`echo $ldver | \
5270 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5272 # Set --gc-sections.
5273 if test "$with_gnu_ld" = "notbroken"; then
5274 # GNU ld it is! Joy and bunny rabbits!
5276 # All these tests are for C++; save the language and the compiler flags.
5277 # Need to do this so that g++ won't try to link in libstdc++
5278 ac_test_CFLAGS="${CFLAGS+set}"
5279 ac_save_CFLAGS="$CFLAGS"
5280 CFLAGS='-x c++ -Wl,--gc-sections'
5282 # Check for -Wl,--gc-sections
5283 # XXX This test is broken at the moment, as symbols required for
5284 # linking are now in libsupc++ (not built yet.....). In addition,
5285 # this test has cored on solaris in the past. In addition,
5286 # --gc-sections doesn't really work at the moment (keeps on discarding
5287 # used sections, first .eh_frame and now some of the glibc sections for
5288 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5289 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5290 echo "configure:5291: checking for ld that supports -Wl,--gc-sections" >&5
5291 if test "$cross_compiling" = yes; then
5292 ac_sectionLDflags=yes
5294 cat > conftest.$ac_ext <<EOF
5295 #line 5296 "configure"
5296 #include "confdefs.h"
5306 if { (eval echo configure:5307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5308 ac_sectionLDflags=yes
5310 echo "configure: failed program was:" >&5
5311 cat conftest.$ac_ext >&5
5313 ac_sectionLDflags=no
5318 if test "$ac_test_CFLAGS" = set; then
5319 CFLAGS="$ac_save_CFLAGS"
5321 # this is the suspicious part
5324 if test "$ac_sectionLDflags" = "yes"; then
5325 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5327 echo "$ac_t""$ac_sectionLDflags" 1>&6
5330 # Set linker optimization flags.
5331 if test x"$with_gnu_ld" = x"yes"; then
5332 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5339 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5340 echo "configure:5341: checking for main in -lm" >&5
5341 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5342 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5343 echo $ac_n "(cached) $ac_c" 1>&6
5345 ac_save_LIBS="$LIBS"
5347 cat > conftest.$ac_ext <<EOF
5348 #line 5349 "configure"
5349 #include "confdefs.h"
5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5357 eval "ac_cv_lib_$ac_lib_var=yes"
5359 echo "configure: failed program was:" >&5
5360 cat conftest.$ac_ext >&5
5362 eval "ac_cv_lib_$ac_lib_var=no"
5365 LIBS="$ac_save_LIBS"
5368 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5369 echo "$ac_t""yes" 1>&6
5370 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5371 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5372 cat >> confdefs.h <<EOF
5373 #define $ac_tr_lib 1
5379 echo "$ac_t""no" 1>&6
5382 for ac_func in nan copysignf
5384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5385 echo "configure:5386: checking for $ac_func" >&5
5386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5387 echo $ac_n "(cached) $ac_c" 1>&6
5389 cat > conftest.$ac_ext <<EOF
5390 #line 5391 "configure"
5391 #include "confdefs.h"
5392 /* System header to define __stub macros and hopefully few prototypes,
5393 which can conflict with char $ac_func(); below. */
5395 /* Override any gcc2 internal prototype to avoid an error. */
5396 /* We use char because int might match the return type of a gcc2
5397 builtin and then its argument prototype would still apply. */
5402 /* The GNU C library defines this for functions which it implements
5403 to always fail with ENOSYS. Some functions are actually named
5404 something starting with __ and the normal name is an alias. */
5405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5413 if { (eval echo configure:5414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5415 eval "ac_cv_func_$ac_func=yes"
5417 echo "configure: failed program was:" >&5
5418 cat conftest.$ac_ext >&5
5420 eval "ac_cv_func_$ac_func=no"
5425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5426 echo "$ac_t""yes" 1>&6
5427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5428 cat >> confdefs.h <<EOF
5429 #define $ac_tr_func 1
5433 echo "$ac_t""no" 1>&6
5434 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5439 for ac_func in __signbit
5441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5442 echo "configure:5443: checking for $ac_func" >&5
5443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5444 echo $ac_n "(cached) $ac_c" 1>&6
5446 cat > conftest.$ac_ext <<EOF
5447 #line 5448 "configure"
5448 #include "confdefs.h"
5449 /* System header to define __stub macros and hopefully few prototypes,
5450 which can conflict with char $ac_func(); below. */
5452 /* Override any gcc2 internal prototype to avoid an error. */
5453 /* We use char because int might match the return type of a gcc2
5454 builtin and then its argument prototype would still apply. */
5459 /* The GNU C library defines this for functions which it implements
5460 to always fail with ENOSYS. Some functions are actually named
5461 something starting with __ and the normal name is an alias. */
5462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5470 if { (eval echo configure:5471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5472 eval "ac_cv_func_$ac_func=yes"
5474 echo "configure: failed program was:" >&5
5475 cat conftest.$ac_ext >&5
5477 eval "ac_cv_func_$ac_func=no"
5482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5483 echo "$ac_t""yes" 1>&6
5484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5485 cat >> confdefs.h <<EOF
5486 #define $ac_tr_func 1
5490 echo "$ac_t""no" 1>&6
5491 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5495 for ac_func in __signbitf
5497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5498 echo "configure:5499: checking for $ac_func" >&5
5499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5500 echo $ac_n "(cached) $ac_c" 1>&6
5502 cat > conftest.$ac_ext <<EOF
5503 #line 5504 "configure"
5504 #include "confdefs.h"
5505 /* System header to define __stub macros and hopefully few prototypes,
5506 which can conflict with char $ac_func(); below. */
5508 /* Override any gcc2 internal prototype to avoid an error. */
5509 /* We use char because int might match the return type of a gcc2
5510 builtin and then its argument prototype would still apply. */
5515 /* The GNU C library defines this for functions which it implements
5516 to always fail with ENOSYS. Some functions are actually named
5517 something starting with __ and the normal name is an alias. */
5518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5526 if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5528 eval "ac_cv_func_$ac_func=yes"
5530 echo "configure: failed program was:" >&5
5531 cat conftest.$ac_ext >&5
5533 eval "ac_cv_func_$ac_func=no"
5538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5539 echo "$ac_t""yes" 1>&6
5540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5541 cat >> confdefs.h <<EOF
5542 #define $ac_tr_func 1
5546 echo "$ac_t""no" 1>&6
5547 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5552 if test x$ac_cv_func_copysignl = x"yes"; then
5553 for ac_func in __signbitl
5555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5556 echo "configure:5557: checking for $ac_func" >&5
5557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5558 echo $ac_n "(cached) $ac_c" 1>&6
5560 cat > conftest.$ac_ext <<EOF
5561 #line 5562 "configure"
5562 #include "confdefs.h"
5563 /* System header to define __stub macros and hopefully few prototypes,
5564 which can conflict with char $ac_func(); below. */
5566 /* Override any gcc2 internal prototype to avoid an error. */
5567 /* We use char because int might match the return type of a gcc2
5568 builtin and then its argument prototype would still apply. */
5573 /* The GNU C library defines this for functions which it implements
5574 to always fail with ENOSYS. Some functions are actually named
5575 something starting with __ and the normal name is an alias. */
5576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5584 if { (eval echo configure:5585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5586 eval "ac_cv_func_$ac_func=yes"
5588 echo "configure: failed program was:" >&5
5589 cat conftest.$ac_ext >&5
5591 eval "ac_cv_func_$ac_func=no"
5596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5597 echo "$ac_t""yes" 1>&6
5598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5599 cat >> confdefs.h <<EOF
5600 #define $ac_tr_func 1
5604 echo "$ac_t""no" 1>&6
5605 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5611 if test -n "$LIBMATHOBJS"; then
5617 if test "$need_libmath" = yes; then
5618 GLIBCPP_BUILD_LIBMATH_TRUE=
5619 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5621 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5622 GLIBCPP_BUILD_LIBMATH_FALSE=
5627 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5628 echo "configure:5629: checking for mbstate_t" >&5
5629 cat > conftest.$ac_ext <<EOF
5630 #line 5631 "configure"
5631 #include "confdefs.h"
5634 mbstate_t teststate;
5637 if { (eval echo configure:5638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5641 echo "configure: failed program was:" >&5
5642 cat conftest.$ac_ext >&5
5647 echo "$ac_t""$have_mbstate_t" 1>&6
5648 if test x"$have_mbstate_t" = xyes; then
5649 cat >> confdefs.h <<\EOF
5650 #define HAVE_MBSTATE_T 1
5655 for ac_hdr in wchar.h
5657 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5658 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5659 echo "configure:5660: checking for $ac_hdr" >&5
5660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5661 echo $ac_n "(cached) $ac_c" 1>&6
5663 cat > conftest.$ac_ext <<EOF
5664 #line 5665 "configure"
5665 #include "confdefs.h"
5668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5669 { (eval echo configure:5670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5671 if test -z "$ac_err"; then
5673 eval "ac_cv_header_$ac_safe=yes"
5676 echo "configure: failed program was:" >&5
5677 cat conftest.$ac_ext >&5
5679 eval "ac_cv_header_$ac_safe=no"
5683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5684 echo "$ac_t""yes" 1>&6
5685 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5686 cat >> confdefs.h <<EOF
5687 #define $ac_tr_hdr 1
5691 echo "$ac_t""no" 1>&6
5696 for ac_hdr in wctype.h
5698 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5700 echo "configure:5701: checking for $ac_hdr" >&5
5701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5702 echo $ac_n "(cached) $ac_c" 1>&6
5704 cat > conftest.$ac_ext <<EOF
5705 #line 5706 "configure"
5706 #include "confdefs.h"
5709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5710 { (eval echo configure:5711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5712 if test -z "$ac_err"; then
5714 eval "ac_cv_header_$ac_safe=yes"
5717 echo "configure: failed program was:" >&5
5718 cat conftest.$ac_ext >&5
5720 eval "ac_cv_header_$ac_safe=no"
5724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5725 echo "$ac_t""yes" 1>&6
5726 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5727 cat >> confdefs.h <<EOF
5728 #define $ac_tr_hdr 1
5732 echo "$ac_t""no" 1>&6
5738 if test x"$ac_has_wchar_h" = xyes &&
5739 test x"$ac_has_wctype_h" = xyes &&
5740 test x"$enable_c_mbchar" != xno; then
5742 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5743 echo "configure:5744: checking for WCHAR_MIN and WCHAR_MAX" >&5
5744 cat > conftest.$ac_ext <<EOF
5745 #line 5746 "configure"
5746 #include "confdefs.h"
5749 int i = WCHAR_MIN; int j = WCHAR_MAX;
5752 if { (eval echo configure:5753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5754 has_wchar_minmax=yes
5756 echo "configure: failed program was:" >&5
5757 cat conftest.$ac_ext >&5
5762 echo "$ac_t""$has_wchar_minmax" 1>&6
5764 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5765 echo "configure:5766: checking for WEOF" >&5
5766 cat > conftest.$ac_ext <<EOF
5767 #line 5768 "configure"
5768 #include "confdefs.h"
5776 if { (eval echo configure:5777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5780 echo "configure: failed program was:" >&5
5781 cat conftest.$ac_ext >&5
5786 echo "$ac_t""$has_weof" 1>&6
5789 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5792 echo "configure:5793: checking for $ac_func" >&5
5793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5794 echo $ac_n "(cached) $ac_c" 1>&6
5796 cat > conftest.$ac_ext <<EOF
5797 #line 5798 "configure"
5798 #include "confdefs.h"
5799 /* System header to define __stub macros and hopefully few prototypes,
5800 which can conflict with char $ac_func(); below. */
5802 /* Override any gcc2 internal prototype to avoid an error. */
5803 /* We use char because int might match the return type of a gcc2
5804 builtin and then its argument prototype would still apply. */
5809 /* The GNU C library defines this for functions which it implements
5810 to always fail with ENOSYS. Some functions are actually named
5811 something starting with __ and the normal name is an alias. */
5812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5820 if { (eval echo configure:5821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5822 eval "ac_cv_func_$ac_func=yes"
5824 echo "configure: failed program was:" >&5
5825 cat conftest.$ac_ext >&5
5827 eval "ac_cv_func_$ac_func=no"
5832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5833 echo "$ac_t""yes" 1>&6
5834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5835 cat >> confdefs.h <<EOF
5836 #define $ac_tr_func 1
5840 echo "$ac_t""no" 1>&6
5847 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5848 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5849 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5850 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5851 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5852 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5855 echo "configure:5856: checking for $ac_func" >&5
5856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5857 echo $ac_n "(cached) $ac_c" 1>&6
5859 cat > conftest.$ac_ext <<EOF
5860 #line 5861 "configure"
5861 #include "confdefs.h"
5862 /* System header to define __stub macros and hopefully few prototypes,
5863 which can conflict with char $ac_func(); below. */
5865 /* Override any gcc2 internal prototype to avoid an error. */
5866 /* We use char because int might match the return type of a gcc2
5867 builtin and then its argument prototype would still apply. */
5872 /* The GNU C library defines this for functions which it implements
5873 to always fail with ENOSYS. Some functions are actually named
5874 something starting with __ and the normal name is an alias. */
5875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5883 if { (eval echo configure:5884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5885 eval "ac_cv_func_$ac_func=yes"
5887 echo "configure: failed program was:" >&5
5888 cat conftest.$ac_ext >&5
5890 eval "ac_cv_func_$ac_func=no"
5895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5896 echo "$ac_t""yes" 1>&6
5897 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5898 cat >> confdefs.h <<EOF
5899 #define $ac_tr_func 1
5903 echo "$ac_t""no" 1>&6
5910 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5911 echo "configure:5912: checking for ISO C99 wchar_t support" >&5
5912 if test x"$has_weof" = xyes &&
5913 test x"$has_wchar_minmax" = xyes &&
5914 test x"$ac_wfuncs" = xyes; then
5915 ac_isoC99_wchar_t=yes
5917 ac_isoC99_wchar_t=no
5919 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5921 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5922 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5923 echo "configure:5924: checking for iconv.h" >&5
5924 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5925 echo $ac_n "(cached) $ac_c" 1>&6
5927 cat > conftest.$ac_ext <<EOF
5928 #line 5929 "configure"
5929 #include "confdefs.h"
5932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5933 { (eval echo configure:5934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5935 if test -z "$ac_err"; then
5937 eval "ac_cv_header_$ac_safe=yes"
5940 echo "configure: failed program was:" >&5
5941 cat conftest.$ac_ext >&5
5943 eval "ac_cv_header_$ac_safe=no"
5947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5948 echo "$ac_t""yes" 1>&6
5951 echo "$ac_t""no" 1>&6
5955 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5956 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5957 echo "configure:5958: checking for langinfo.h" >&5
5958 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5959 echo $ac_n "(cached) $ac_c" 1>&6
5961 cat > conftest.$ac_ext <<EOF
5962 #line 5963 "configure"
5963 #include "confdefs.h"
5964 #include <langinfo.h>
5966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5967 { (eval echo configure:5968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5969 if test -z "$ac_err"; then
5971 eval "ac_cv_header_$ac_safe=yes"
5974 echo "configure: failed program was:" >&5
5975 cat conftest.$ac_ext >&5
5977 eval "ac_cv_header_$ac_safe=no"
5981 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5982 echo "$ac_t""yes" 1>&6
5983 ac_has_langinfo_h=yes
5985 echo "$ac_t""no" 1>&6
5986 ac_has_langinfo_h=no
5990 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5991 echo "configure:5992: checking for iconv in -liconv" >&5
5992 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5993 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5994 echo $ac_n "(cached) $ac_c" 1>&6
5996 ac_save_LIBS="$LIBS"
5997 LIBS="-liconv $LIBS"
5998 cat > conftest.$ac_ext <<EOF
5999 #line 6000 "configure"
6000 #include "confdefs.h"
6001 /* Override any gcc2 internal prototype to avoid an error. */
6002 /* We use char because int might match the return type of a gcc2
6003 builtin and then its argument prototype would still apply. */
6010 if { (eval echo configure:6011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6012 eval "ac_cv_lib_$ac_lib_var=yes"
6014 echo "configure: failed program was:" >&5
6015 cat conftest.$ac_ext >&5
6017 eval "ac_cv_lib_$ac_lib_var=no"
6020 LIBS="$ac_save_LIBS"
6023 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6024 echo "$ac_t""yes" 1>&6
6027 echo "$ac_t""no" 1>&6
6030 ac_save_LIBS="$LIBS"
6031 LIBS="$LIBS $libiconv"
6033 for ac_func in iconv_open iconv_close iconv nl_langinfo
6035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6036 echo "configure:6037: checking for $ac_func" >&5
6037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6038 echo $ac_n "(cached) $ac_c" 1>&6
6040 cat > conftest.$ac_ext <<EOF
6041 #line 6042 "configure"
6042 #include "confdefs.h"
6043 /* System header to define __stub macros and hopefully few prototypes,
6044 which can conflict with char $ac_func(); below. */
6046 /* Override any gcc2 internal prototype to avoid an error. */
6047 /* We use char because int might match the return type of a gcc2
6048 builtin and then its argument prototype would still apply. */
6053 /* The GNU C library defines this for functions which it implements
6054 to always fail with ENOSYS. Some functions are actually named
6055 something starting with __ and the normal name is an alias. */
6056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6064 if { (eval echo configure:6065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6066 eval "ac_cv_func_$ac_func=yes"
6068 echo "configure: failed program was:" >&5
6069 cat conftest.$ac_ext >&5
6071 eval "ac_cv_func_$ac_func=no"
6076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6077 echo "$ac_t""yes" 1>&6
6078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6079 cat >> confdefs.h <<EOF
6080 #define $ac_tr_func 1
6085 echo "$ac_t""no" 1>&6
6091 LIBS="$ac_save_LIBS"
6093 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6094 echo "configure:6095: checking for XPG2 wchar_t support" >&5
6095 if test x"$ac_has_iconv_h" = xyes &&
6096 test x"$ac_has_langinfo_h" = xyes &&
6097 test x"$ac_XPG2funcs" = xyes; then
6102 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6104 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6105 echo "configure:6106: checking for enabled wchar_t specializations" >&5
6106 if test x"$ac_isoC99_wchar_t" = xyes &&
6107 test x"$ac_XPG2_wchar_t" = xyes; then
6108 cat >> confdefs.h <<\EOF
6109 #define _GLIBCPP_USE_WCHAR_T 1
6112 echo "$ac_t"""yes"" 1>&6
6114 echo "$ac_t"""no"" 1>&6
6117 echo "configure: warning: wchar_t support disabled." 1>&2
6120 os_include_dir="os/hpux"
6121 cat >> confdefs.h <<\EOF
6122 #define HAVE_COPYSIGN 1
6125 cat >> confdefs.h <<\EOF
6126 #define HAVE_COPYSIGNF 1
6129 cat >> confdefs.h <<\EOF
6130 #define HAVE_FREXPF 1
6133 cat >> confdefs.h <<\EOF
6134 #define HAVE_HYPOT 1
6139 cat >> confdefs.h <<\EOF
6140 #define HAVE_FINITE 1
6143 cat >> confdefs.h <<\EOF
6144 #define HAVE_FINITEF 1
6147 cat >> confdefs.h <<\EOF
6148 #define HAVE_ISINF 1
6151 cat >> confdefs.h <<\EOF
6152 #define HAVE_ISINFF 1
6155 cat >> confdefs.h <<\EOF
6156 #define HAVE_ISNAN 1
6159 cat >> confdefs.h <<\EOF
6160 #define HAVE_ISNANF 1
6168 # Check for available headers.
6169 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6170 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6171 fp.h locale.h float.h inttypes.h
6173 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6174 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6175 echo "configure:6176: checking for $ac_hdr" >&5
6176 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6177 echo $ac_n "(cached) $ac_c" 1>&6
6179 cat > conftest.$ac_ext <<EOF
6180 #line 6181 "configure"
6181 #include "confdefs.h"
6184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6185 { (eval echo configure:6186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6187 if test -z "$ac_err"; then
6189 eval "ac_cv_header_$ac_safe=yes"
6192 echo "configure: failed program was:" >&5
6193 cat conftest.$ac_ext >&5
6195 eval "ac_cv_header_$ac_safe=no"
6199 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6200 echo "$ac_t""yes" 1>&6
6201 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6202 cat >> confdefs.h <<EOF
6203 #define $ac_tr_hdr 1
6207 echo "$ac_t""no" 1>&6
6211 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6214 # If we're not using GNU ld, then there's no point in even trying these
6215 # tests. Check for that first. We should have already tested for gld
6216 # by now (in libtool), but require it now just to be safe...
6217 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6218 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6221 # The name set by libtool depends on the version of libtool. Shame on us
6222 # for depending on an impl detail, but c'est la vie. Older versions used
6223 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6224 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6225 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6226 # set (hence we're using an older libtool), then set it.
6227 if test x${with_gnu_ld+set} != xset; then
6228 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6229 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6232 with_gnu_ld=$ac_cv_prog_gnu_ld
6236 # Start by getting the version number. I think the libtool test already
6237 # does some of this, but throws away the result.
6239 ldver=`$LD --version 2>/dev/null | head -1 | \
6240 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6242 glibcpp_gnu_ld_version=`echo $ldver | \
6243 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6245 # Set --gc-sections.
6246 if test "$with_gnu_ld" = "notbroken"; then
6247 # GNU ld it is! Joy and bunny rabbits!
6249 # All these tests are for C++; save the language and the compiler flags.
6250 # Need to do this so that g++ won't try to link in libstdc++
6251 ac_test_CFLAGS="${CFLAGS+set}"
6252 ac_save_CFLAGS="$CFLAGS"
6253 CFLAGS='-x c++ -Wl,--gc-sections'
6255 # Check for -Wl,--gc-sections
6256 # XXX This test is broken at the moment, as symbols required for
6257 # linking are now in libsupc++ (not built yet.....). In addition,
6258 # this test has cored on solaris in the past. In addition,
6259 # --gc-sections doesn't really work at the moment (keeps on discarding
6260 # used sections, first .eh_frame and now some of the glibc sections for
6261 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6262 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6263 echo "configure:6264: checking for ld that supports -Wl,--gc-sections" >&5
6264 if test "$cross_compiling" = yes; then
6265 ac_sectionLDflags=yes
6267 cat > conftest.$ac_ext <<EOF
6268 #line 6269 "configure"
6269 #include "confdefs.h"
6279 if { (eval echo configure:6280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6281 ac_sectionLDflags=yes
6283 echo "configure: failed program was:" >&5
6284 cat conftest.$ac_ext >&5
6286 ac_sectionLDflags=no
6291 if test "$ac_test_CFLAGS" = set; then
6292 CFLAGS="$ac_save_CFLAGS"
6294 # this is the suspicious part
6297 if test "$ac_sectionLDflags" = "yes"; then
6298 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6300 echo "$ac_t""$ac_sectionLDflags" 1>&6
6303 # Set linker optimization flags.
6304 if test x"$with_gnu_ld" = x"yes"; then
6305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6312 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6313 echo "configure:6314: checking for main in -lm" >&5
6314 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6316 echo $ac_n "(cached) $ac_c" 1>&6
6318 ac_save_LIBS="$LIBS"
6320 cat > conftest.$ac_ext <<EOF
6321 #line 6322 "configure"
6322 #include "confdefs.h"
6328 if { (eval echo configure:6329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6330 eval "ac_cv_lib_$ac_lib_var=yes"
6332 echo "configure: failed program was:" >&5
6333 cat conftest.$ac_ext >&5
6335 eval "ac_cv_lib_$ac_lib_var=no"
6338 LIBS="$ac_save_LIBS"
6341 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6342 echo "$ac_t""yes" 1>&6
6343 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6344 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6345 cat >> confdefs.h <<EOF
6346 #define $ac_tr_lib 1
6352 echo "$ac_t""no" 1>&6
6355 for ac_func in nan copysignf
6357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6358 echo "configure:6359: checking for $ac_func" >&5
6359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6360 echo $ac_n "(cached) $ac_c" 1>&6
6362 cat > conftest.$ac_ext <<EOF
6363 #line 6364 "configure"
6364 #include "confdefs.h"
6365 /* System header to define __stub macros and hopefully few prototypes,
6366 which can conflict with char $ac_func(); below. */
6368 /* Override any gcc2 internal prototype to avoid an error. */
6369 /* We use char because int might match the return type of a gcc2
6370 builtin and then its argument prototype would still apply. */
6375 /* The GNU C library defines this for functions which it implements
6376 to always fail with ENOSYS. Some functions are actually named
6377 something starting with __ and the normal name is an alias. */
6378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6386 if { (eval echo configure:6387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6388 eval "ac_cv_func_$ac_func=yes"
6390 echo "configure: failed program was:" >&5
6391 cat conftest.$ac_ext >&5
6393 eval "ac_cv_func_$ac_func=no"
6398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6399 echo "$ac_t""yes" 1>&6
6400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6401 cat >> confdefs.h <<EOF
6402 #define $ac_tr_func 1
6406 echo "$ac_t""no" 1>&6
6407 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6412 for ac_func in __signbit
6414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6415 echo "configure:6416: checking for $ac_func" >&5
6416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6417 echo $ac_n "(cached) $ac_c" 1>&6
6419 cat > conftest.$ac_ext <<EOF
6420 #line 6421 "configure"
6421 #include "confdefs.h"
6422 /* System header to define __stub macros and hopefully few prototypes,
6423 which can conflict with char $ac_func(); below. */
6425 /* Override any gcc2 internal prototype to avoid an error. */
6426 /* We use char because int might match the return type of a gcc2
6427 builtin and then its argument prototype would still apply. */
6432 /* The GNU C library defines this for functions which it implements
6433 to always fail with ENOSYS. Some functions are actually named
6434 something starting with __ and the normal name is an alias. */
6435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6445 eval "ac_cv_func_$ac_func=yes"
6447 echo "configure: failed program was:" >&5
6448 cat conftest.$ac_ext >&5
6450 eval "ac_cv_func_$ac_func=no"
6455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6456 echo "$ac_t""yes" 1>&6
6457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6458 cat >> confdefs.h <<EOF
6459 #define $ac_tr_func 1
6463 echo "$ac_t""no" 1>&6
6464 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6468 for ac_func in __signbitf
6470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6471 echo "configure:6472: checking for $ac_func" >&5
6472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6473 echo $ac_n "(cached) $ac_c" 1>&6
6475 cat > conftest.$ac_ext <<EOF
6476 #line 6477 "configure"
6477 #include "confdefs.h"
6478 /* System header to define __stub macros and hopefully few prototypes,
6479 which can conflict with char $ac_func(); below. */
6481 /* Override any gcc2 internal prototype to avoid an error. */
6482 /* We use char because int might match the return type of a gcc2
6483 builtin and then its argument prototype would still apply. */
6488 /* The GNU C library defines this for functions which it implements
6489 to always fail with ENOSYS. Some functions are actually named
6490 something starting with __ and the normal name is an alias. */
6491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6499 if { (eval echo configure:6500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6501 eval "ac_cv_func_$ac_func=yes"
6503 echo "configure: failed program was:" >&5
6504 cat conftest.$ac_ext >&5
6506 eval "ac_cv_func_$ac_func=no"
6511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6512 echo "$ac_t""yes" 1>&6
6513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6514 cat >> confdefs.h <<EOF
6515 #define $ac_tr_func 1
6519 echo "$ac_t""no" 1>&6
6520 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6525 if test x$ac_cv_func_copysignl = x"yes"; then
6526 for ac_func in __signbitl
6528 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6529 echo "configure:6530: checking for $ac_func" >&5
6530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6531 echo $ac_n "(cached) $ac_c" 1>&6
6533 cat > conftest.$ac_ext <<EOF
6534 #line 6535 "configure"
6535 #include "confdefs.h"
6536 /* System header to define __stub macros and hopefully few prototypes,
6537 which can conflict with char $ac_func(); below. */
6539 /* Override any gcc2 internal prototype to avoid an error. */
6540 /* We use char because int might match the return type of a gcc2
6541 builtin and then its argument prototype would still apply. */
6546 /* The GNU C library defines this for functions which it implements
6547 to always fail with ENOSYS. Some functions are actually named
6548 something starting with __ and the normal name is an alias. */
6549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6557 if { (eval echo configure:6558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6559 eval "ac_cv_func_$ac_func=yes"
6561 echo "configure: failed program was:" >&5
6562 cat conftest.$ac_ext >&5
6564 eval "ac_cv_func_$ac_func=no"
6569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6570 echo "$ac_t""yes" 1>&6
6571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6572 cat >> confdefs.h <<EOF
6573 #define $ac_tr_func 1
6577 echo "$ac_t""no" 1>&6
6578 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6584 if test -n "$LIBMATHOBJS"; then
6590 if test "$need_libmath" = yes; then
6591 GLIBCPP_BUILD_LIBMATH_TRUE=
6592 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6594 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6595 GLIBCPP_BUILD_LIBMATH_FALSE=
6600 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6601 echo "configure:6602: checking for mbstate_t" >&5
6602 cat > conftest.$ac_ext <<EOF
6603 #line 6604 "configure"
6604 #include "confdefs.h"
6607 mbstate_t teststate;
6610 if { (eval echo configure:6611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6614 echo "configure: failed program was:" >&5
6615 cat conftest.$ac_ext >&5
6620 echo "$ac_t""$have_mbstate_t" 1>&6
6621 if test x"$have_mbstate_t" = xyes; then
6622 cat >> confdefs.h <<\EOF
6623 #define HAVE_MBSTATE_T 1
6628 for ac_hdr in wchar.h
6630 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6631 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6632 echo "configure:6633: checking for $ac_hdr" >&5
6633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6634 echo $ac_n "(cached) $ac_c" 1>&6
6636 cat > conftest.$ac_ext <<EOF
6637 #line 6638 "configure"
6638 #include "confdefs.h"
6641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6642 { (eval echo configure:6643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6644 if test -z "$ac_err"; then
6646 eval "ac_cv_header_$ac_safe=yes"
6649 echo "configure: failed program was:" >&5
6650 cat conftest.$ac_ext >&5
6652 eval "ac_cv_header_$ac_safe=no"
6656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6657 echo "$ac_t""yes" 1>&6
6658 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6659 cat >> confdefs.h <<EOF
6660 #define $ac_tr_hdr 1
6664 echo "$ac_t""no" 1>&6
6669 for ac_hdr in wctype.h
6671 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6672 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6673 echo "configure:6674: checking for $ac_hdr" >&5
6674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6675 echo $ac_n "(cached) $ac_c" 1>&6
6677 cat > conftest.$ac_ext <<EOF
6678 #line 6679 "configure"
6679 #include "confdefs.h"
6682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6683 { (eval echo configure:6684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6685 if test -z "$ac_err"; then
6687 eval "ac_cv_header_$ac_safe=yes"
6690 echo "configure: failed program was:" >&5
6691 cat conftest.$ac_ext >&5
6693 eval "ac_cv_header_$ac_safe=no"
6697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6698 echo "$ac_t""yes" 1>&6
6699 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6700 cat >> confdefs.h <<EOF
6701 #define $ac_tr_hdr 1
6705 echo "$ac_t""no" 1>&6
6711 if test x"$ac_has_wchar_h" = xyes &&
6712 test x"$ac_has_wctype_h" = xyes &&
6713 test x"$enable_c_mbchar" != xno; then
6715 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6716 echo "configure:6717: checking for WCHAR_MIN and WCHAR_MAX" >&5
6717 cat > conftest.$ac_ext <<EOF
6718 #line 6719 "configure"
6719 #include "confdefs.h"
6722 int i = WCHAR_MIN; int j = WCHAR_MAX;
6725 if { (eval echo configure:6726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6727 has_wchar_minmax=yes
6729 echo "configure: failed program was:" >&5
6730 cat conftest.$ac_ext >&5
6735 echo "$ac_t""$has_wchar_minmax" 1>&6
6737 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6738 echo "configure:6739: checking for WEOF" >&5
6739 cat > conftest.$ac_ext <<EOF
6740 #line 6741 "configure"
6741 #include "confdefs.h"
6749 if { (eval echo configure:6750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6753 echo "configure: failed program was:" >&5
6754 cat conftest.$ac_ext >&5
6759 echo "$ac_t""$has_weof" 1>&6
6762 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6765 echo "configure:6766: checking for $ac_func" >&5
6766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6767 echo $ac_n "(cached) $ac_c" 1>&6
6769 cat > conftest.$ac_ext <<EOF
6770 #line 6771 "configure"
6771 #include "confdefs.h"
6772 /* System header to define __stub macros and hopefully few prototypes,
6773 which can conflict with char $ac_func(); below. */
6775 /* Override any gcc2 internal prototype to avoid an error. */
6776 /* We use char because int might match the return type of a gcc2
6777 builtin and then its argument prototype would still apply. */
6782 /* The GNU C library defines this for functions which it implements
6783 to always fail with ENOSYS. Some functions are actually named
6784 something starting with __ and the normal name is an alias. */
6785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6793 if { (eval echo configure:6794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6795 eval "ac_cv_func_$ac_func=yes"
6797 echo "configure: failed program was:" >&5
6798 cat conftest.$ac_ext >&5
6800 eval "ac_cv_func_$ac_func=no"
6805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6806 echo "$ac_t""yes" 1>&6
6807 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6808 cat >> confdefs.h <<EOF
6809 #define $ac_tr_func 1
6813 echo "$ac_t""no" 1>&6
6820 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6821 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6822 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6823 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6824 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6825 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6828 echo "configure:6829: checking for $ac_func" >&5
6829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6830 echo $ac_n "(cached) $ac_c" 1>&6
6832 cat > conftest.$ac_ext <<EOF
6833 #line 6834 "configure"
6834 #include "confdefs.h"
6835 /* System header to define __stub macros and hopefully few prototypes,
6836 which can conflict with char $ac_func(); below. */
6838 /* Override any gcc2 internal prototype to avoid an error. */
6839 /* We use char because int might match the return type of a gcc2
6840 builtin and then its argument prototype would still apply. */
6845 /* The GNU C library defines this for functions which it implements
6846 to always fail with ENOSYS. Some functions are actually named
6847 something starting with __ and the normal name is an alias. */
6848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6858 eval "ac_cv_func_$ac_func=yes"
6860 echo "configure: failed program was:" >&5
6861 cat conftest.$ac_ext >&5
6863 eval "ac_cv_func_$ac_func=no"
6868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6869 echo "$ac_t""yes" 1>&6
6870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6871 cat >> confdefs.h <<EOF
6872 #define $ac_tr_func 1
6876 echo "$ac_t""no" 1>&6
6883 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6884 echo "configure:6885: checking for ISO C99 wchar_t support" >&5
6885 if test x"$has_weof" = xyes &&
6886 test x"$has_wchar_minmax" = xyes &&
6887 test x"$ac_wfuncs" = xyes; then
6888 ac_isoC99_wchar_t=yes
6890 ac_isoC99_wchar_t=no
6892 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6894 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6895 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6896 echo "configure:6897: checking for iconv.h" >&5
6897 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6898 echo $ac_n "(cached) $ac_c" 1>&6
6900 cat > conftest.$ac_ext <<EOF
6901 #line 6902 "configure"
6902 #include "confdefs.h"
6905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6906 { (eval echo configure:6907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6908 if test -z "$ac_err"; then
6910 eval "ac_cv_header_$ac_safe=yes"
6913 echo "configure: failed program was:" >&5
6914 cat conftest.$ac_ext >&5
6916 eval "ac_cv_header_$ac_safe=no"
6920 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6921 echo "$ac_t""yes" 1>&6
6924 echo "$ac_t""no" 1>&6
6928 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6929 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6930 echo "configure:6931: checking for langinfo.h" >&5
6931 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6932 echo $ac_n "(cached) $ac_c" 1>&6
6934 cat > conftest.$ac_ext <<EOF
6935 #line 6936 "configure"
6936 #include "confdefs.h"
6937 #include <langinfo.h>
6939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6940 { (eval echo configure:6941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6942 if test -z "$ac_err"; then
6944 eval "ac_cv_header_$ac_safe=yes"
6947 echo "configure: failed program was:" >&5
6948 cat conftest.$ac_ext >&5
6950 eval "ac_cv_header_$ac_safe=no"
6954 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6955 echo "$ac_t""yes" 1>&6
6956 ac_has_langinfo_h=yes
6958 echo "$ac_t""no" 1>&6
6959 ac_has_langinfo_h=no
6963 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6964 echo "configure:6965: checking for iconv in -liconv" >&5
6965 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6966 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6967 echo $ac_n "(cached) $ac_c" 1>&6
6969 ac_save_LIBS="$LIBS"
6970 LIBS="-liconv $LIBS"
6971 cat > conftest.$ac_ext <<EOF
6972 #line 6973 "configure"
6973 #include "confdefs.h"
6974 /* Override any gcc2 internal prototype to avoid an error. */
6975 /* We use char because int might match the return type of a gcc2
6976 builtin and then its argument prototype would still apply. */
6983 if { (eval echo configure:6984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6985 eval "ac_cv_lib_$ac_lib_var=yes"
6987 echo "configure: failed program was:" >&5
6988 cat conftest.$ac_ext >&5
6990 eval "ac_cv_lib_$ac_lib_var=no"
6993 LIBS="$ac_save_LIBS"
6996 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6997 echo "$ac_t""yes" 1>&6
7000 echo "$ac_t""no" 1>&6
7003 ac_save_LIBS="$LIBS"
7004 LIBS="$LIBS $libiconv"
7006 for ac_func in iconv_open iconv_close iconv nl_langinfo
7008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7009 echo "configure:7010: checking for $ac_func" >&5
7010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7011 echo $ac_n "(cached) $ac_c" 1>&6
7013 cat > conftest.$ac_ext <<EOF
7014 #line 7015 "configure"
7015 #include "confdefs.h"
7016 /* System header to define __stub macros and hopefully few prototypes,
7017 which can conflict with char $ac_func(); below. */
7019 /* Override any gcc2 internal prototype to avoid an error. */
7020 /* We use char because int might match the return type of a gcc2
7021 builtin and then its argument prototype would still apply. */
7026 /* The GNU C library defines this for functions which it implements
7027 to always fail with ENOSYS. Some functions are actually named
7028 something starting with __ and the normal name is an alias. */
7029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7037 if { (eval echo configure:7038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7039 eval "ac_cv_func_$ac_func=yes"
7041 echo "configure: failed program was:" >&5
7042 cat conftest.$ac_ext >&5
7044 eval "ac_cv_func_$ac_func=no"
7049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7050 echo "$ac_t""yes" 1>&6
7051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7052 cat >> confdefs.h <<EOF
7053 #define $ac_tr_func 1
7058 echo "$ac_t""no" 1>&6
7064 LIBS="$ac_save_LIBS"
7066 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7067 echo "configure:7068: checking for XPG2 wchar_t support" >&5
7068 if test x"$ac_has_iconv_h" = xyes &&
7069 test x"$ac_has_langinfo_h" = xyes &&
7070 test x"$ac_XPG2funcs" = xyes; then
7075 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7077 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7078 echo "configure:7079: checking for enabled wchar_t specializations" >&5
7079 if test x"$ac_isoC99_wchar_t" = xyes &&
7080 test x"$ac_XPG2_wchar_t" = xyes; then
7081 cat >> confdefs.h <<\EOF
7082 #define _GLIBCPP_USE_WCHAR_T 1
7085 echo "$ac_t"""yes"" 1>&6
7087 echo "$ac_t"""no"" 1>&6
7090 echo "configure: warning: wchar_t support disabled." 1>&2
7093 os_include_dir="os/bsd/netbsd"
7094 cat >> confdefs.h <<\EOF
7095 #define HAVE_COPYSIGN 1
7098 cat >> confdefs.h <<\EOF
7099 #define HAVE_COPYSIGNF 1
7102 cat >> confdefs.h <<\EOF
7103 #define HAVE_FINITEF 1
7106 cat >> confdefs.h <<\EOF
7107 #define HAVE_FINITE 1
7110 cat >> confdefs.h <<\EOF
7111 #define HAVE_FREXPF 1
7114 cat >> confdefs.h <<\EOF
7115 #define HAVE_HYPOTF 1
7118 cat >> confdefs.h <<\EOF
7119 #define HAVE_ISINF 1
7122 cat >> confdefs.h <<\EOF
7123 #define HAVE_ISINFF 1
7126 cat >> confdefs.h <<\EOF
7127 #define HAVE_ISNAN 1
7130 cat >> confdefs.h <<\EOF
7131 #define HAVE_ISNANF 1
7134 if test x"long_double_math_on_this_cpu" = x"yes"; then
7135 cat >> confdefs.h <<\EOF
7136 #define HAVE_FINITEL 1
7139 cat >> confdefs.h <<\EOF
7140 #define HAVE_ISINFL 1
7143 cat >> confdefs.h <<\EOF
7144 #define HAVE_ISNANL 1
7150 # Check for available headers.
7151 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7152 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7153 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7156 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7158 echo "configure:7159: checking for $ac_hdr" >&5
7159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7160 echo $ac_n "(cached) $ac_c" 1>&6
7162 cat > conftest.$ac_ext <<EOF
7163 #line 7164 "configure"
7164 #include "confdefs.h"
7167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7168 { (eval echo configure:7169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7170 if test -z "$ac_err"; then
7172 eval "ac_cv_header_$ac_safe=yes"
7175 echo "configure: failed program was:" >&5
7176 cat conftest.$ac_ext >&5
7178 eval "ac_cv_header_$ac_safe=no"
7182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7183 echo "$ac_t""yes" 1>&6
7184 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7185 cat >> confdefs.h <<EOF
7186 #define $ac_tr_hdr 1
7190 echo "$ac_t""no" 1>&6
7194 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7197 # If we're not using GNU ld, then there's no point in even trying these
7198 # tests. Check for that first. We should have already tested for gld
7199 # by now (in libtool), but require it now just to be safe...
7200 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7201 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7204 # The name set by libtool depends on the version of libtool. Shame on us
7205 # for depending on an impl detail, but c'est la vie. Older versions used
7206 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7207 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7208 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7209 # set (hence we're using an older libtool), then set it.
7210 if test x${with_gnu_ld+set} != xset; then
7211 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7212 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7215 with_gnu_ld=$ac_cv_prog_gnu_ld
7219 # Start by getting the version number. I think the libtool test already
7220 # does some of this, but throws away the result.
7222 ldver=`$LD --version 2>/dev/null | head -1 | \
7223 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7225 glibcpp_gnu_ld_version=`echo $ldver | \
7226 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7228 # Set --gc-sections.
7229 if test "$with_gnu_ld" = "notbroken"; then
7230 # GNU ld it is! Joy and bunny rabbits!
7232 # All these tests are for C++; save the language and the compiler flags.
7233 # Need to do this so that g++ won't try to link in libstdc++
7234 ac_test_CFLAGS="${CFLAGS+set}"
7235 ac_save_CFLAGS="$CFLAGS"
7236 CFLAGS='-x c++ -Wl,--gc-sections'
7238 # Check for -Wl,--gc-sections
7239 # XXX This test is broken at the moment, as symbols required for
7240 # linking are now in libsupc++ (not built yet.....). In addition,
7241 # this test has cored on solaris in the past. In addition,
7242 # --gc-sections doesn't really work at the moment (keeps on discarding
7243 # used sections, first .eh_frame and now some of the glibc sections for
7244 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7245 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7246 echo "configure:7247: checking for ld that supports -Wl,--gc-sections" >&5
7247 if test "$cross_compiling" = yes; then
7248 ac_sectionLDflags=yes
7250 cat > conftest.$ac_ext <<EOF
7251 #line 7252 "configure"
7252 #include "confdefs.h"
7262 if { (eval echo configure:7263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7264 ac_sectionLDflags=yes
7266 echo "configure: failed program was:" >&5
7267 cat conftest.$ac_ext >&5
7269 ac_sectionLDflags=no
7274 if test "$ac_test_CFLAGS" = set; then
7275 CFLAGS="$ac_save_CFLAGS"
7277 # this is the suspicious part
7280 if test "$ac_sectionLDflags" = "yes"; then
7281 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7283 echo "$ac_t""$ac_sectionLDflags" 1>&6
7286 # Set linker optimization flags.
7287 if test x"$with_gnu_ld" = x"yes"; then
7288 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7295 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7296 echo "configure:7297: checking for main in -lm" >&5
7297 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7299 echo $ac_n "(cached) $ac_c" 1>&6
7301 ac_save_LIBS="$LIBS"
7303 cat > conftest.$ac_ext <<EOF
7304 #line 7305 "configure"
7305 #include "confdefs.h"
7311 if { (eval echo configure:7312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7313 eval "ac_cv_lib_$ac_lib_var=yes"
7315 echo "configure: failed program was:" >&5
7316 cat conftest.$ac_ext >&5
7318 eval "ac_cv_lib_$ac_lib_var=no"
7321 LIBS="$ac_save_LIBS"
7324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7325 echo "$ac_t""yes" 1>&6
7326 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7327 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7328 cat >> confdefs.h <<EOF
7329 #define $ac_tr_lib 1
7335 echo "$ac_t""no" 1>&6
7338 for ac_func in nan copysignf
7340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7341 echo "configure:7342: checking for $ac_func" >&5
7342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7343 echo $ac_n "(cached) $ac_c" 1>&6
7345 cat > conftest.$ac_ext <<EOF
7346 #line 7347 "configure"
7347 #include "confdefs.h"
7348 /* System header to define __stub macros and hopefully few prototypes,
7349 which can conflict with char $ac_func(); below. */
7351 /* Override any gcc2 internal prototype to avoid an error. */
7352 /* We use char because int might match the return type of a gcc2
7353 builtin and then its argument prototype would still apply. */
7358 /* The GNU C library defines this for functions which it implements
7359 to always fail with ENOSYS. Some functions are actually named
7360 something starting with __ and the normal name is an alias. */
7361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7369 if { (eval echo configure:7370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7371 eval "ac_cv_func_$ac_func=yes"
7373 echo "configure: failed program was:" >&5
7374 cat conftest.$ac_ext >&5
7376 eval "ac_cv_func_$ac_func=no"
7381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7382 echo "$ac_t""yes" 1>&6
7383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7384 cat >> confdefs.h <<EOF
7385 #define $ac_tr_func 1
7389 echo "$ac_t""no" 1>&6
7390 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7395 for ac_func in __signbit
7397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7398 echo "configure:7399: checking for $ac_func" >&5
7399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7400 echo $ac_n "(cached) $ac_c" 1>&6
7402 cat > conftest.$ac_ext <<EOF
7403 #line 7404 "configure"
7404 #include "confdefs.h"
7405 /* System header to define __stub macros and hopefully few prototypes,
7406 which can conflict with char $ac_func(); below. */
7408 /* Override any gcc2 internal prototype to avoid an error. */
7409 /* We use char because int might match the return type of a gcc2
7410 builtin and then its argument prototype would still apply. */
7415 /* The GNU C library defines this for functions which it implements
7416 to always fail with ENOSYS. Some functions are actually named
7417 something starting with __ and the normal name is an alias. */
7418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7426 if { (eval echo configure:7427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7428 eval "ac_cv_func_$ac_func=yes"
7430 echo "configure: failed program was:" >&5
7431 cat conftest.$ac_ext >&5
7433 eval "ac_cv_func_$ac_func=no"
7438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7439 echo "$ac_t""yes" 1>&6
7440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7441 cat >> confdefs.h <<EOF
7442 #define $ac_tr_func 1
7446 echo "$ac_t""no" 1>&6
7447 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7451 for ac_func in __signbitf
7453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7454 echo "configure:7455: checking for $ac_func" >&5
7455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7456 echo $ac_n "(cached) $ac_c" 1>&6
7458 cat > conftest.$ac_ext <<EOF
7459 #line 7460 "configure"
7460 #include "confdefs.h"
7461 /* System header to define __stub macros and hopefully few prototypes,
7462 which can conflict with char $ac_func(); below. */
7464 /* Override any gcc2 internal prototype to avoid an error. */
7465 /* We use char because int might match the return type of a gcc2
7466 builtin and then its argument prototype would still apply. */
7471 /* The GNU C library defines this for functions which it implements
7472 to always fail with ENOSYS. Some functions are actually named
7473 something starting with __ and the normal name is an alias. */
7474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7482 if { (eval echo configure:7483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7484 eval "ac_cv_func_$ac_func=yes"
7486 echo "configure: failed program was:" >&5
7487 cat conftest.$ac_ext >&5
7489 eval "ac_cv_func_$ac_func=no"
7494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7495 echo "$ac_t""yes" 1>&6
7496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7497 cat >> confdefs.h <<EOF
7498 #define $ac_tr_func 1
7502 echo "$ac_t""no" 1>&6
7503 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7508 if test x$ac_cv_func_copysignl = x"yes"; then
7509 for ac_func in __signbitl
7511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7512 echo "configure:7513: checking for $ac_func" >&5
7513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7514 echo $ac_n "(cached) $ac_c" 1>&6
7516 cat > conftest.$ac_ext <<EOF
7517 #line 7518 "configure"
7518 #include "confdefs.h"
7519 /* System header to define __stub macros and hopefully few prototypes,
7520 which can conflict with char $ac_func(); below. */
7522 /* Override any gcc2 internal prototype to avoid an error. */
7523 /* We use char because int might match the return type of a gcc2
7524 builtin and then its argument prototype would still apply. */
7529 /* The GNU C library defines this for functions which it implements
7530 to always fail with ENOSYS. Some functions are actually named
7531 something starting with __ and the normal name is an alias. */
7532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7540 if { (eval echo configure:7541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7542 eval "ac_cv_func_$ac_func=yes"
7544 echo "configure: failed program was:" >&5
7545 cat conftest.$ac_ext >&5
7547 eval "ac_cv_func_$ac_func=no"
7552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7553 echo "$ac_t""yes" 1>&6
7554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7555 cat >> confdefs.h <<EOF
7556 #define $ac_tr_func 1
7560 echo "$ac_t""no" 1>&6
7561 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7567 if test -n "$LIBMATHOBJS"; then
7573 if test "$need_libmath" = yes; then
7574 GLIBCPP_BUILD_LIBMATH_TRUE=
7575 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7577 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7578 GLIBCPP_BUILD_LIBMATH_FALSE=
7583 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7584 echo "configure:7585: checking for mbstate_t" >&5
7585 cat > conftest.$ac_ext <<EOF
7586 #line 7587 "configure"
7587 #include "confdefs.h"
7590 mbstate_t teststate;
7593 if { (eval echo configure:7594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7597 echo "configure: failed program was:" >&5
7598 cat conftest.$ac_ext >&5
7603 echo "$ac_t""$have_mbstate_t" 1>&6
7604 if test x"$have_mbstate_t" = xyes; then
7605 cat >> confdefs.h <<\EOF
7606 #define HAVE_MBSTATE_T 1
7611 for ac_hdr in wchar.h
7613 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7614 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7615 echo "configure:7616: checking for $ac_hdr" >&5
7616 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7617 echo $ac_n "(cached) $ac_c" 1>&6
7619 cat > conftest.$ac_ext <<EOF
7620 #line 7621 "configure"
7621 #include "confdefs.h"
7624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7625 { (eval echo configure:7626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7627 if test -z "$ac_err"; then
7629 eval "ac_cv_header_$ac_safe=yes"
7632 echo "configure: failed program was:" >&5
7633 cat conftest.$ac_ext >&5
7635 eval "ac_cv_header_$ac_safe=no"
7639 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7640 echo "$ac_t""yes" 1>&6
7641 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7642 cat >> confdefs.h <<EOF
7643 #define $ac_tr_hdr 1
7647 echo "$ac_t""no" 1>&6
7652 for ac_hdr in wctype.h
7654 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7655 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7656 echo "configure:7657: checking for $ac_hdr" >&5
7657 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7658 echo $ac_n "(cached) $ac_c" 1>&6
7660 cat > conftest.$ac_ext <<EOF
7661 #line 7662 "configure"
7662 #include "confdefs.h"
7665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7666 { (eval echo configure:7667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7668 if test -z "$ac_err"; then
7670 eval "ac_cv_header_$ac_safe=yes"
7673 echo "configure: failed program was:" >&5
7674 cat conftest.$ac_ext >&5
7676 eval "ac_cv_header_$ac_safe=no"
7680 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7681 echo "$ac_t""yes" 1>&6
7682 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7683 cat >> confdefs.h <<EOF
7684 #define $ac_tr_hdr 1
7688 echo "$ac_t""no" 1>&6
7694 if test x"$ac_has_wchar_h" = xyes &&
7695 test x"$ac_has_wctype_h" = xyes &&
7696 test x"$enable_c_mbchar" != xno; then
7698 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7699 echo "configure:7700: checking for WCHAR_MIN and WCHAR_MAX" >&5
7700 cat > conftest.$ac_ext <<EOF
7701 #line 7702 "configure"
7702 #include "confdefs.h"
7705 int i = WCHAR_MIN; int j = WCHAR_MAX;
7708 if { (eval echo configure:7709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7710 has_wchar_minmax=yes
7712 echo "configure: failed program was:" >&5
7713 cat conftest.$ac_ext >&5
7718 echo "$ac_t""$has_wchar_minmax" 1>&6
7720 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7721 echo "configure:7722: checking for WEOF" >&5
7722 cat > conftest.$ac_ext <<EOF
7723 #line 7724 "configure"
7724 #include "confdefs.h"
7732 if { (eval echo configure:7733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7736 echo "configure: failed program was:" >&5
7737 cat conftest.$ac_ext >&5
7742 echo "$ac_t""$has_weof" 1>&6
7745 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7748 echo "configure:7749: checking for $ac_func" >&5
7749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7750 echo $ac_n "(cached) $ac_c" 1>&6
7752 cat > conftest.$ac_ext <<EOF
7753 #line 7754 "configure"
7754 #include "confdefs.h"
7755 /* System header to define __stub macros and hopefully few prototypes,
7756 which can conflict with char $ac_func(); below. */
7758 /* Override any gcc2 internal prototype to avoid an error. */
7759 /* We use char because int might match the return type of a gcc2
7760 builtin and then its argument prototype would still apply. */
7765 /* The GNU C library defines this for functions which it implements
7766 to always fail with ENOSYS. Some functions are actually named
7767 something starting with __ and the normal name is an alias. */
7768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7776 if { (eval echo configure:7777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7778 eval "ac_cv_func_$ac_func=yes"
7780 echo "configure: failed program was:" >&5
7781 cat conftest.$ac_ext >&5
7783 eval "ac_cv_func_$ac_func=no"
7788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7789 echo "$ac_t""yes" 1>&6
7790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7791 cat >> confdefs.h <<EOF
7792 #define $ac_tr_func 1
7796 echo "$ac_t""no" 1>&6
7803 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7804 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7805 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7806 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7807 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7808 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7811 echo "configure:7812: checking for $ac_func" >&5
7812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7813 echo $ac_n "(cached) $ac_c" 1>&6
7815 cat > conftest.$ac_ext <<EOF
7816 #line 7817 "configure"
7817 #include "confdefs.h"
7818 /* System header to define __stub macros and hopefully few prototypes,
7819 which can conflict with char $ac_func(); below. */
7821 /* Override any gcc2 internal prototype to avoid an error. */
7822 /* We use char because int might match the return type of a gcc2
7823 builtin and then its argument prototype would still apply. */
7828 /* The GNU C library defines this for functions which it implements
7829 to always fail with ENOSYS. Some functions are actually named
7830 something starting with __ and the normal name is an alias. */
7831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7839 if { (eval echo configure:7840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7841 eval "ac_cv_func_$ac_func=yes"
7843 echo "configure: failed program was:" >&5
7844 cat conftest.$ac_ext >&5
7846 eval "ac_cv_func_$ac_func=no"
7851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7852 echo "$ac_t""yes" 1>&6
7853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7854 cat >> confdefs.h <<EOF
7855 #define $ac_tr_func 1
7859 echo "$ac_t""no" 1>&6
7866 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7867 echo "configure:7868: checking for ISO C99 wchar_t support" >&5
7868 if test x"$has_weof" = xyes &&
7869 test x"$has_wchar_minmax" = xyes &&
7870 test x"$ac_wfuncs" = xyes; then
7871 ac_isoC99_wchar_t=yes
7873 ac_isoC99_wchar_t=no
7875 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7877 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7878 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7879 echo "configure:7880: checking for iconv.h" >&5
7880 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7881 echo $ac_n "(cached) $ac_c" 1>&6
7883 cat > conftest.$ac_ext <<EOF
7884 #line 7885 "configure"
7885 #include "confdefs.h"
7888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7889 { (eval echo configure:7890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7891 if test -z "$ac_err"; then
7893 eval "ac_cv_header_$ac_safe=yes"
7896 echo "configure: failed program was:" >&5
7897 cat conftest.$ac_ext >&5
7899 eval "ac_cv_header_$ac_safe=no"
7903 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7904 echo "$ac_t""yes" 1>&6
7907 echo "$ac_t""no" 1>&6
7911 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7912 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7913 echo "configure:7914: checking for langinfo.h" >&5
7914 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7915 echo $ac_n "(cached) $ac_c" 1>&6
7917 cat > conftest.$ac_ext <<EOF
7918 #line 7919 "configure"
7919 #include "confdefs.h"
7920 #include <langinfo.h>
7922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7923 { (eval echo configure:7924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7924 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7925 if test -z "$ac_err"; then
7927 eval "ac_cv_header_$ac_safe=yes"
7930 echo "configure: failed program was:" >&5
7931 cat conftest.$ac_ext >&5
7933 eval "ac_cv_header_$ac_safe=no"
7937 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7938 echo "$ac_t""yes" 1>&6
7939 ac_has_langinfo_h=yes
7941 echo "$ac_t""no" 1>&6
7942 ac_has_langinfo_h=no
7946 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7947 echo "configure:7948: checking for iconv in -liconv" >&5
7948 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7950 echo $ac_n "(cached) $ac_c" 1>&6
7952 ac_save_LIBS="$LIBS"
7953 LIBS="-liconv $LIBS"
7954 cat > conftest.$ac_ext <<EOF
7955 #line 7956 "configure"
7956 #include "confdefs.h"
7957 /* Override any gcc2 internal prototype to avoid an error. */
7958 /* We use char because int might match the return type of a gcc2
7959 builtin and then its argument prototype would still apply. */
7966 if { (eval echo configure:7967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7968 eval "ac_cv_lib_$ac_lib_var=yes"
7970 echo "configure: failed program was:" >&5
7971 cat conftest.$ac_ext >&5
7973 eval "ac_cv_lib_$ac_lib_var=no"
7976 LIBS="$ac_save_LIBS"
7979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7980 echo "$ac_t""yes" 1>&6
7983 echo "$ac_t""no" 1>&6
7986 ac_save_LIBS="$LIBS"
7987 LIBS="$LIBS $libiconv"
7989 for ac_func in iconv_open iconv_close iconv nl_langinfo
7991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7992 echo "configure:7993: checking for $ac_func" >&5
7993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7994 echo $ac_n "(cached) $ac_c" 1>&6
7996 cat > conftest.$ac_ext <<EOF
7997 #line 7998 "configure"
7998 #include "confdefs.h"
7999 /* System header to define __stub macros and hopefully few prototypes,
8000 which can conflict with char $ac_func(); below. */
8002 /* Override any gcc2 internal prototype to avoid an error. */
8003 /* We use char because int might match the return type of a gcc2
8004 builtin and then its argument prototype would still apply. */
8009 /* The GNU C library defines this for functions which it implements
8010 to always fail with ENOSYS. Some functions are actually named
8011 something starting with __ and the normal name is an alias. */
8012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8020 if { (eval echo configure:8021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8022 eval "ac_cv_func_$ac_func=yes"
8024 echo "configure: failed program was:" >&5
8025 cat conftest.$ac_ext >&5
8027 eval "ac_cv_func_$ac_func=no"
8032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8033 echo "$ac_t""yes" 1>&6
8034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8035 cat >> confdefs.h <<EOF
8036 #define $ac_tr_func 1
8041 echo "$ac_t""no" 1>&6
8047 LIBS="$ac_save_LIBS"
8049 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8050 echo "configure:8051: checking for XPG2 wchar_t support" >&5
8051 if test x"$ac_has_iconv_h" = xyes &&
8052 test x"$ac_has_langinfo_h" = xyes &&
8053 test x"$ac_XPG2funcs" = xyes; then
8058 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8060 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8061 echo "configure:8062: checking for enabled wchar_t specializations" >&5
8062 if test x"$ac_isoC99_wchar_t" = xyes &&
8063 test x"$ac_XPG2_wchar_t" = xyes; then
8064 cat >> confdefs.h <<\EOF
8065 #define _GLIBCPP_USE_WCHAR_T 1
8068 echo "$ac_t"""yes"" 1>&6
8070 echo "$ac_t"""no"" 1>&6
8073 echo "configure: warning: wchar_t support disabled." 1>&2
8076 os_include_dir="os/bsd/freebsd"
8077 cat >> confdefs.h <<\EOF
8078 #define HAVE_LC_MESSAGES 1
8081 cat >> confdefs.h <<\EOF
8082 #define HAVE_DRAND48 1
8085 cat >> confdefs.h <<\EOF
8086 #define HAVE_GETPAGESIZE 1
8089 cat >> confdefs.h <<\EOF
8090 #define HAVE_SETENV 1
8093 cat >> confdefs.h <<\EOF
8094 #define HAVE_SIGSETJMP 1
8097 cat >> confdefs.h <<\EOF
8098 #define HAVE_COPYSIGN 1
8101 cat >> confdefs.h <<\EOF
8102 #define HAVE_COPYSIGNF 1
8105 cat >> confdefs.h <<\EOF
8106 #define HAVE_FINITEF 1
8109 cat >> confdefs.h <<\EOF
8110 #define HAVE_FINITE 1
8113 cat >> confdefs.h <<\EOF
8114 #define HAVE_FREXPF 1
8117 cat >> confdefs.h <<\EOF
8118 #define HAVE_HYPOT 1
8121 cat >> confdefs.h <<\EOF
8122 #define HAVE_HYPOTF 1
8125 cat >> confdefs.h <<\EOF
8126 #define HAVE_ISINF 1
8129 cat >> confdefs.h <<\EOF
8130 #define HAVE_ISNAN 1
8133 cat >> confdefs.h <<\EOF
8134 #define HAVE_ISNANF 1
8137 if test x"long_double_math_on_this_cpu" = x"yes"; then
8138 cat >> confdefs.h <<\EOF
8139 #define HAVE_FINITEL 1
8142 cat >> confdefs.h <<\EOF
8143 #define HAVE_ISINFL 1
8146 cat >> confdefs.h <<\EOF
8147 #define HAVE_ISNANL 1
8153 for ac_hdr in sys/types.h locale.h float.h
8155 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8156 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8157 echo "configure:8158: checking for $ac_hdr" >&5
8158 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8159 echo $ac_n "(cached) $ac_c" 1>&6
8161 cat > conftest.$ac_ext <<EOF
8162 #line 8163 "configure"
8163 #include "confdefs.h"
8166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8167 { (eval echo configure:8168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8169 if test -z "$ac_err"; then
8171 eval "ac_cv_header_$ac_safe=yes"
8174 echo "configure: failed program was:" >&5
8175 cat conftest.$ac_ext >&5
8177 eval "ac_cv_header_$ac_safe=no"
8181 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8182 echo "$ac_t""yes" 1>&6
8183 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8184 cat >> confdefs.h <<EOF
8185 #define $ac_tr_hdr 1
8189 echo "$ac_t""no" 1>&6
8194 # If we're not using GNU ld, then there's no point in even trying these
8195 # tests. Check for that first. We should have already tested for gld
8196 # by now (in libtool), but require it now just to be safe...
8197 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8198 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8201 # The name set by libtool depends on the version of libtool. Shame on us
8202 # for depending on an impl detail, but c'est la vie. Older versions used
8203 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8204 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8205 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8206 # set (hence we're using an older libtool), then set it.
8207 if test x${with_gnu_ld+set} != xset; then
8208 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8209 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8212 with_gnu_ld=$ac_cv_prog_gnu_ld
8216 # Start by getting the version number. I think the libtool test already
8217 # does some of this, but throws away the result.
8219 ldver=`$LD --version 2>/dev/null | head -1 | \
8220 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8222 glibcpp_gnu_ld_version=`echo $ldver | \
8223 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8225 # Set --gc-sections.
8226 if test "$with_gnu_ld" = "notbroken"; then
8227 # GNU ld it is! Joy and bunny rabbits!
8229 # All these tests are for C++; save the language and the compiler flags.
8230 # Need to do this so that g++ won't try to link in libstdc++
8231 ac_test_CFLAGS="${CFLAGS+set}"
8232 ac_save_CFLAGS="$CFLAGS"
8233 CFLAGS='-x c++ -Wl,--gc-sections'
8235 # Check for -Wl,--gc-sections
8236 # XXX This test is broken at the moment, as symbols required for
8237 # linking are now in libsupc++ (not built yet.....). In addition,
8238 # this test has cored on solaris in the past. In addition,
8239 # --gc-sections doesn't really work at the moment (keeps on discarding
8240 # used sections, first .eh_frame and now some of the glibc sections for
8241 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8242 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8243 echo "configure:8244: checking for ld that supports -Wl,--gc-sections" >&5
8244 if test "$cross_compiling" = yes; then
8245 ac_sectionLDflags=yes
8247 cat > conftest.$ac_ext <<EOF
8248 #line 8249 "configure"
8249 #include "confdefs.h"
8259 if { (eval echo configure:8260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8261 ac_sectionLDflags=yes
8263 echo "configure: failed program was:" >&5
8264 cat conftest.$ac_ext >&5
8266 ac_sectionLDflags=no
8271 if test "$ac_test_CFLAGS" = set; then
8272 CFLAGS="$ac_save_CFLAGS"
8274 # this is the suspicious part
8277 if test "$ac_sectionLDflags" = "yes"; then
8278 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8280 echo "$ac_t""$ac_sectionLDflags" 1>&6
8283 # Set linker optimization flags.
8284 if test x"$with_gnu_ld" = x"yes"; then
8285 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8292 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8293 echo "configure:8294: checking for main in -lm" >&5
8294 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8296 echo $ac_n "(cached) $ac_c" 1>&6
8298 ac_save_LIBS="$LIBS"
8300 cat > conftest.$ac_ext <<EOF
8301 #line 8302 "configure"
8302 #include "confdefs.h"
8308 if { (eval echo configure:8309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8310 eval "ac_cv_lib_$ac_lib_var=yes"
8312 echo "configure: failed program was:" >&5
8313 cat conftest.$ac_ext >&5
8315 eval "ac_cv_lib_$ac_lib_var=no"
8318 LIBS="$ac_save_LIBS"
8321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8322 echo "$ac_t""yes" 1>&6
8323 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8324 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8325 cat >> confdefs.h <<EOF
8326 #define $ac_tr_lib 1
8332 echo "$ac_t""no" 1>&6
8335 for ac_func in nan copysignf
8337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8338 echo "configure:8339: checking for $ac_func" >&5
8339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8340 echo $ac_n "(cached) $ac_c" 1>&6
8342 cat > conftest.$ac_ext <<EOF
8343 #line 8344 "configure"
8344 #include "confdefs.h"
8345 /* System header to define __stub macros and hopefully few prototypes,
8346 which can conflict with char $ac_func(); below. */
8348 /* Override any gcc2 internal prototype to avoid an error. */
8349 /* We use char because int might match the return type of a gcc2
8350 builtin and then its argument prototype would still apply. */
8355 /* The GNU C library defines this for functions which it implements
8356 to always fail with ENOSYS. Some functions are actually named
8357 something starting with __ and the normal name is an alias. */
8358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8366 if { (eval echo configure:8367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8368 eval "ac_cv_func_$ac_func=yes"
8370 echo "configure: failed program was:" >&5
8371 cat conftest.$ac_ext >&5
8373 eval "ac_cv_func_$ac_func=no"
8378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8379 echo "$ac_t""yes" 1>&6
8380 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8381 cat >> confdefs.h <<EOF
8382 #define $ac_tr_func 1
8386 echo "$ac_t""no" 1>&6
8387 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8392 for ac_func in __signbit
8394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8395 echo "configure:8396: checking for $ac_func" >&5
8396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8397 echo $ac_n "(cached) $ac_c" 1>&6
8399 cat > conftest.$ac_ext <<EOF
8400 #line 8401 "configure"
8401 #include "confdefs.h"
8402 /* System header to define __stub macros and hopefully few prototypes,
8403 which can conflict with char $ac_func(); below. */
8405 /* Override any gcc2 internal prototype to avoid an error. */
8406 /* We use char because int might match the return type of a gcc2
8407 builtin and then its argument prototype would still apply. */
8412 /* The GNU C library defines this for functions which it implements
8413 to always fail with ENOSYS. Some functions are actually named
8414 something starting with __ and the normal name is an alias. */
8415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8423 if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8425 eval "ac_cv_func_$ac_func=yes"
8427 echo "configure: failed program was:" >&5
8428 cat conftest.$ac_ext >&5
8430 eval "ac_cv_func_$ac_func=no"
8435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8436 echo "$ac_t""yes" 1>&6
8437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8438 cat >> confdefs.h <<EOF
8439 #define $ac_tr_func 1
8443 echo "$ac_t""no" 1>&6
8444 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8448 for ac_func in __signbitf
8450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8451 echo "configure:8452: checking for $ac_func" >&5
8452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8453 echo $ac_n "(cached) $ac_c" 1>&6
8455 cat > conftest.$ac_ext <<EOF
8456 #line 8457 "configure"
8457 #include "confdefs.h"
8458 /* System header to define __stub macros and hopefully few prototypes,
8459 which can conflict with char $ac_func(); below. */
8461 /* Override any gcc2 internal prototype to avoid an error. */
8462 /* We use char because int might match the return type of a gcc2
8463 builtin and then its argument prototype would still apply. */
8468 /* The GNU C library defines this for functions which it implements
8469 to always fail with ENOSYS. Some functions are actually named
8470 something starting with __ and the normal name is an alias. */
8471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8479 if { (eval echo configure:8480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8481 eval "ac_cv_func_$ac_func=yes"
8483 echo "configure: failed program was:" >&5
8484 cat conftest.$ac_ext >&5
8486 eval "ac_cv_func_$ac_func=no"
8491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8492 echo "$ac_t""yes" 1>&6
8493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8494 cat >> confdefs.h <<EOF
8495 #define $ac_tr_func 1
8499 echo "$ac_t""no" 1>&6
8500 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8505 if test x$ac_cv_func_copysignl = x"yes"; then
8506 for ac_func in __signbitl
8508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8509 echo "configure:8510: checking for $ac_func" >&5
8510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8511 echo $ac_n "(cached) $ac_c" 1>&6
8513 cat > conftest.$ac_ext <<EOF
8514 #line 8515 "configure"
8515 #include "confdefs.h"
8516 /* System header to define __stub macros and hopefully few prototypes,
8517 which can conflict with char $ac_func(); below. */
8519 /* Override any gcc2 internal prototype to avoid an error. */
8520 /* We use char because int might match the return type of a gcc2
8521 builtin and then its argument prototype would still apply. */
8526 /* The GNU C library defines this for functions which it implements
8527 to always fail with ENOSYS. Some functions are actually named
8528 something starting with __ and the normal name is an alias. */
8529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8539 eval "ac_cv_func_$ac_func=yes"
8541 echo "configure: failed program was:" >&5
8542 cat conftest.$ac_ext >&5
8544 eval "ac_cv_func_$ac_func=no"
8549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8550 echo "$ac_t""yes" 1>&6
8551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8552 cat >> confdefs.h <<EOF
8553 #define $ac_tr_func 1
8557 echo "$ac_t""no" 1>&6
8558 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8564 if test -n "$LIBMATHOBJS"; then
8570 if test "$need_libmath" = yes; then
8571 GLIBCPP_BUILD_LIBMATH_TRUE=
8572 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8574 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8575 GLIBCPP_BUILD_LIBMATH_FALSE=
8580 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8581 echo "configure:8582: checking for mbstate_t" >&5
8582 cat > conftest.$ac_ext <<EOF
8583 #line 8584 "configure"
8584 #include "confdefs.h"
8587 mbstate_t teststate;
8590 if { (eval echo configure:8591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8594 echo "configure: failed program was:" >&5
8595 cat conftest.$ac_ext >&5
8600 echo "$ac_t""$have_mbstate_t" 1>&6
8601 if test x"$have_mbstate_t" = xyes; then
8602 cat >> confdefs.h <<\EOF
8603 #define HAVE_MBSTATE_T 1
8608 for ac_hdr in wchar.h
8610 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8611 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8612 echo "configure:8613: checking for $ac_hdr" >&5
8613 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8614 echo $ac_n "(cached) $ac_c" 1>&6
8616 cat > conftest.$ac_ext <<EOF
8617 #line 8618 "configure"
8618 #include "confdefs.h"
8621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8622 { (eval echo configure:8623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8624 if test -z "$ac_err"; then
8626 eval "ac_cv_header_$ac_safe=yes"
8629 echo "configure: failed program was:" >&5
8630 cat conftest.$ac_ext >&5
8632 eval "ac_cv_header_$ac_safe=no"
8636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8637 echo "$ac_t""yes" 1>&6
8638 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8639 cat >> confdefs.h <<EOF
8640 #define $ac_tr_hdr 1
8644 echo "$ac_t""no" 1>&6
8649 for ac_hdr in wctype.h
8651 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8652 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8653 echo "configure:8654: checking for $ac_hdr" >&5
8654 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8655 echo $ac_n "(cached) $ac_c" 1>&6
8657 cat > conftest.$ac_ext <<EOF
8658 #line 8659 "configure"
8659 #include "confdefs.h"
8662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8663 { (eval echo configure:8664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8665 if test -z "$ac_err"; then
8667 eval "ac_cv_header_$ac_safe=yes"
8670 echo "configure: failed program was:" >&5
8671 cat conftest.$ac_ext >&5
8673 eval "ac_cv_header_$ac_safe=no"
8677 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8678 echo "$ac_t""yes" 1>&6
8679 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8680 cat >> confdefs.h <<EOF
8681 #define $ac_tr_hdr 1
8685 echo "$ac_t""no" 1>&6
8691 if test x"$ac_has_wchar_h" = xyes &&
8692 test x"$ac_has_wctype_h" = xyes &&
8693 test x"$enable_c_mbchar" != xno; then
8695 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8696 echo "configure:8697: checking for WCHAR_MIN and WCHAR_MAX" >&5
8697 cat > conftest.$ac_ext <<EOF
8698 #line 8699 "configure"
8699 #include "confdefs.h"
8702 int i = WCHAR_MIN; int j = WCHAR_MAX;
8705 if { (eval echo configure:8706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8707 has_wchar_minmax=yes
8709 echo "configure: failed program was:" >&5
8710 cat conftest.$ac_ext >&5
8715 echo "$ac_t""$has_wchar_minmax" 1>&6
8717 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8718 echo "configure:8719: checking for WEOF" >&5
8719 cat > conftest.$ac_ext <<EOF
8720 #line 8721 "configure"
8721 #include "confdefs.h"
8729 if { (eval echo configure:8730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8733 echo "configure: failed program was:" >&5
8734 cat conftest.$ac_ext >&5
8739 echo "$ac_t""$has_weof" 1>&6
8742 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8745 echo "configure:8746: checking for $ac_func" >&5
8746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8747 echo $ac_n "(cached) $ac_c" 1>&6
8749 cat > conftest.$ac_ext <<EOF
8750 #line 8751 "configure"
8751 #include "confdefs.h"
8752 /* System header to define __stub macros and hopefully few prototypes,
8753 which can conflict with char $ac_func(); below. */
8755 /* Override any gcc2 internal prototype to avoid an error. */
8756 /* We use char because int might match the return type of a gcc2
8757 builtin and then its argument prototype would still apply. */
8762 /* The GNU C library defines this for functions which it implements
8763 to always fail with ENOSYS. Some functions are actually named
8764 something starting with __ and the normal name is an alias. */
8765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8773 if { (eval echo configure:8774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8775 eval "ac_cv_func_$ac_func=yes"
8777 echo "configure: failed program was:" >&5
8778 cat conftest.$ac_ext >&5
8780 eval "ac_cv_func_$ac_func=no"
8785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8786 echo "$ac_t""yes" 1>&6
8787 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8788 cat >> confdefs.h <<EOF
8789 #define $ac_tr_func 1
8793 echo "$ac_t""no" 1>&6
8800 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8801 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8802 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8803 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8804 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8805 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8808 echo "configure:8809: checking for $ac_func" >&5
8809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8810 echo $ac_n "(cached) $ac_c" 1>&6
8812 cat > conftest.$ac_ext <<EOF
8813 #line 8814 "configure"
8814 #include "confdefs.h"
8815 /* System header to define __stub macros and hopefully few prototypes,
8816 which can conflict with char $ac_func(); below. */
8818 /* Override any gcc2 internal prototype to avoid an error. */
8819 /* We use char because int might match the return type of a gcc2
8820 builtin and then its argument prototype would still apply. */
8825 /* The GNU C library defines this for functions which it implements
8826 to always fail with ENOSYS. Some functions are actually named
8827 something starting with __ and the normal name is an alias. */
8828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8836 if { (eval echo configure:8837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8838 eval "ac_cv_func_$ac_func=yes"
8840 echo "configure: failed program was:" >&5
8841 cat conftest.$ac_ext >&5
8843 eval "ac_cv_func_$ac_func=no"
8848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8849 echo "$ac_t""yes" 1>&6
8850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8851 cat >> confdefs.h <<EOF
8852 #define $ac_tr_func 1
8856 echo "$ac_t""no" 1>&6
8863 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8864 echo "configure:8865: checking for ISO C99 wchar_t support" >&5
8865 if test x"$has_weof" = xyes &&
8866 test x"$has_wchar_minmax" = xyes &&
8867 test x"$ac_wfuncs" = xyes; then
8868 ac_isoC99_wchar_t=yes
8870 ac_isoC99_wchar_t=no
8872 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8874 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8875 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8876 echo "configure:8877: checking for iconv.h" >&5
8877 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8878 echo $ac_n "(cached) $ac_c" 1>&6
8880 cat > conftest.$ac_ext <<EOF
8881 #line 8882 "configure"
8882 #include "confdefs.h"
8885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8886 { (eval echo configure:8887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8888 if test -z "$ac_err"; then
8890 eval "ac_cv_header_$ac_safe=yes"
8893 echo "configure: failed program was:" >&5
8894 cat conftest.$ac_ext >&5
8896 eval "ac_cv_header_$ac_safe=no"
8900 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8901 echo "$ac_t""yes" 1>&6
8904 echo "$ac_t""no" 1>&6
8908 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8909 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8910 echo "configure:8911: checking for langinfo.h" >&5
8911 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8912 echo $ac_n "(cached) $ac_c" 1>&6
8914 cat > conftest.$ac_ext <<EOF
8915 #line 8916 "configure"
8916 #include "confdefs.h"
8917 #include <langinfo.h>
8919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8920 { (eval echo configure:8921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8922 if test -z "$ac_err"; then
8924 eval "ac_cv_header_$ac_safe=yes"
8927 echo "configure: failed program was:" >&5
8928 cat conftest.$ac_ext >&5
8930 eval "ac_cv_header_$ac_safe=no"
8934 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8935 echo "$ac_t""yes" 1>&6
8936 ac_has_langinfo_h=yes
8938 echo "$ac_t""no" 1>&6
8939 ac_has_langinfo_h=no
8943 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8944 echo "configure:8945: checking for iconv in -liconv" >&5
8945 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8947 echo $ac_n "(cached) $ac_c" 1>&6
8949 ac_save_LIBS="$LIBS"
8950 LIBS="-liconv $LIBS"
8951 cat > conftest.$ac_ext <<EOF
8952 #line 8953 "configure"
8953 #include "confdefs.h"
8954 /* Override any gcc2 internal prototype to avoid an error. */
8955 /* We use char because int might match the return type of a gcc2
8956 builtin and then its argument prototype would still apply. */
8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8965 eval "ac_cv_lib_$ac_lib_var=yes"
8967 echo "configure: failed program was:" >&5
8968 cat conftest.$ac_ext >&5
8970 eval "ac_cv_lib_$ac_lib_var=no"
8973 LIBS="$ac_save_LIBS"
8976 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8977 echo "$ac_t""yes" 1>&6
8980 echo "$ac_t""no" 1>&6
8983 ac_save_LIBS="$LIBS"
8984 LIBS="$LIBS $libiconv"
8986 for ac_func in iconv_open iconv_close iconv nl_langinfo
8988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8989 echo "configure:8990: checking for $ac_func" >&5
8990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8991 echo $ac_n "(cached) $ac_c" 1>&6
8993 cat > conftest.$ac_ext <<EOF
8994 #line 8995 "configure"
8995 #include "confdefs.h"
8996 /* System header to define __stub macros and hopefully few prototypes,
8997 which can conflict with char $ac_func(); below. */
8999 /* Override any gcc2 internal prototype to avoid an error. */
9000 /* We use char because int might match the return type of a gcc2
9001 builtin and then its argument prototype would still apply. */
9006 /* The GNU C library defines this for functions which it implements
9007 to always fail with ENOSYS. Some functions are actually named
9008 something starting with __ and the normal name is an alias. */
9009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9017 if { (eval echo configure:9018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9019 eval "ac_cv_func_$ac_func=yes"
9021 echo "configure: failed program was:" >&5
9022 cat conftest.$ac_ext >&5
9024 eval "ac_cv_func_$ac_func=no"
9029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9030 echo "$ac_t""yes" 1>&6
9031 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9032 cat >> confdefs.h <<EOF
9033 #define $ac_tr_func 1
9038 echo "$ac_t""no" 1>&6
9044 LIBS="$ac_save_LIBS"
9046 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9047 echo "configure:9048: checking for XPG2 wchar_t support" >&5
9048 if test x"$ac_has_iconv_h" = xyes &&
9049 test x"$ac_has_langinfo_h" = xyes &&
9050 test x"$ac_XPG2funcs" = xyes; then
9055 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9057 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9058 echo "configure:9059: checking for enabled wchar_t specializations" >&5
9059 if test x"$ac_isoC99_wchar_t" = xyes &&
9060 test x"$ac_XPG2_wchar_t" = xyes; then
9061 cat >> confdefs.h <<\EOF
9062 #define _GLIBCPP_USE_WCHAR_T 1
9065 echo "$ac_t"""yes"" 1>&6
9067 echo "$ac_t"""no"" 1>&6
9070 echo "configure: warning: wchar_t support disabled." 1>&2
9073 os_include_dir="os/mingw32"
9076 os_include_dir="os/windiss"
9079 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9082 # If we're not using GNU ld, then there's no point in even trying these
9083 # tests. Check for that first. We should have already tested for gld
9084 # by now (in libtool), but require it now just to be safe...
9085 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9086 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9089 # The name set by libtool depends on the version of libtool. Shame on us
9090 # for depending on an impl detail, but c'est la vie. Older versions used
9091 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9092 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9093 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9094 # set (hence we're using an older libtool), then set it.
9095 if test x${with_gnu_ld+set} != xset; then
9096 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9097 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9100 with_gnu_ld=$ac_cv_prog_gnu_ld
9104 # Start by getting the version number. I think the libtool test already
9105 # does some of this, but throws away the result.
9107 ldver=`$LD --version 2>/dev/null | head -1 | \
9108 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9110 glibcpp_gnu_ld_version=`echo $ldver | \
9111 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9113 # Set --gc-sections.
9114 if test "$with_gnu_ld" = "notbroken"; then
9115 # GNU ld it is! Joy and bunny rabbits!
9117 # All these tests are for C++; save the language and the compiler flags.
9118 # Need to do this so that g++ won't try to link in libstdc++
9119 ac_test_CFLAGS="${CFLAGS+set}"
9120 ac_save_CFLAGS="$CFLAGS"
9121 CFLAGS='-x c++ -Wl,--gc-sections'
9123 # Check for -Wl,--gc-sections
9124 # XXX This test is broken at the moment, as symbols required for
9125 # linking are now in libsupc++ (not built yet.....). In addition,
9126 # this test has cored on solaris in the past. In addition,
9127 # --gc-sections doesn't really work at the moment (keeps on discarding
9128 # used sections, first .eh_frame and now some of the glibc sections for
9129 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9130 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9131 echo "configure:9132: checking for ld that supports -Wl,--gc-sections" >&5
9132 if test "$cross_compiling" = yes; then
9133 ac_sectionLDflags=yes
9135 cat > conftest.$ac_ext <<EOF
9136 #line 9137 "configure"
9137 #include "confdefs.h"
9147 if { (eval echo configure:9148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9149 ac_sectionLDflags=yes
9151 echo "configure: failed program was:" >&5
9152 cat conftest.$ac_ext >&5
9154 ac_sectionLDflags=no
9159 if test "$ac_test_CFLAGS" = set; then
9160 CFLAGS="$ac_save_CFLAGS"
9162 # this is the suspicious part
9165 if test "$ac_sectionLDflags" = "yes"; then
9166 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9168 echo "$ac_t""$ac_sectionLDflags" 1>&6
9171 # Set linker optimization flags.
9172 if test x"$with_gnu_ld" = x"yes"; then
9173 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9180 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9181 echo "configure:9182: checking for main in -lm" >&5
9182 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9184 echo $ac_n "(cached) $ac_c" 1>&6
9186 ac_save_LIBS="$LIBS"
9188 cat > conftest.$ac_ext <<EOF
9189 #line 9190 "configure"
9190 #include "confdefs.h"
9196 if { (eval echo configure:9197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9198 eval "ac_cv_lib_$ac_lib_var=yes"
9200 echo "configure: failed program was:" >&5
9201 cat conftest.$ac_ext >&5
9203 eval "ac_cv_lib_$ac_lib_var=no"
9206 LIBS="$ac_save_LIBS"
9209 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9210 echo "$ac_t""yes" 1>&6
9211 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9212 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9213 cat >> confdefs.h <<EOF
9214 #define $ac_tr_lib 1
9220 echo "$ac_t""no" 1>&6
9223 for ac_func in nan copysignf
9225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9226 echo "configure:9227: checking for $ac_func" >&5
9227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9228 echo $ac_n "(cached) $ac_c" 1>&6
9230 cat > conftest.$ac_ext <<EOF
9231 #line 9232 "configure"
9232 #include "confdefs.h"
9233 /* System header to define __stub macros and hopefully few prototypes,
9234 which can conflict with char $ac_func(); below. */
9236 /* Override any gcc2 internal prototype to avoid an error. */
9237 /* We use char because int might match the return type of a gcc2
9238 builtin and then its argument prototype would still apply. */
9243 /* The GNU C library defines this for functions which it implements
9244 to always fail with ENOSYS. Some functions are actually named
9245 something starting with __ and the normal name is an alias. */
9246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9254 if { (eval echo configure:9255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9256 eval "ac_cv_func_$ac_func=yes"
9258 echo "configure: failed program was:" >&5
9259 cat conftest.$ac_ext >&5
9261 eval "ac_cv_func_$ac_func=no"
9266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9267 echo "$ac_t""yes" 1>&6
9268 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9269 cat >> confdefs.h <<EOF
9270 #define $ac_tr_func 1
9274 echo "$ac_t""no" 1>&6
9275 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9280 for ac_func in __signbit
9282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9283 echo "configure:9284: checking for $ac_func" >&5
9284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9285 echo $ac_n "(cached) $ac_c" 1>&6
9287 cat > conftest.$ac_ext <<EOF
9288 #line 9289 "configure"
9289 #include "confdefs.h"
9290 /* System header to define __stub macros and hopefully few prototypes,
9291 which can conflict with char $ac_func(); below. */
9293 /* Override any gcc2 internal prototype to avoid an error. */
9294 /* We use char because int might match the return type of a gcc2
9295 builtin and then its argument prototype would still apply. */
9300 /* The GNU C library defines this for functions which it implements
9301 to always fail with ENOSYS. Some functions are actually named
9302 something starting with __ and the normal name is an alias. */
9303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9311 if { (eval echo configure:9312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9313 eval "ac_cv_func_$ac_func=yes"
9315 echo "configure: failed program was:" >&5
9316 cat conftest.$ac_ext >&5
9318 eval "ac_cv_func_$ac_func=no"
9323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9324 echo "$ac_t""yes" 1>&6
9325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9326 cat >> confdefs.h <<EOF
9327 #define $ac_tr_func 1
9331 echo "$ac_t""no" 1>&6
9332 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9336 for ac_func in __signbitf
9338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9339 echo "configure:9340: checking for $ac_func" >&5
9340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9341 echo $ac_n "(cached) $ac_c" 1>&6
9343 cat > conftest.$ac_ext <<EOF
9344 #line 9345 "configure"
9345 #include "confdefs.h"
9346 /* System header to define __stub macros and hopefully few prototypes,
9347 which can conflict with char $ac_func(); below. */
9349 /* Override any gcc2 internal prototype to avoid an error. */
9350 /* We use char because int might match the return type of a gcc2
9351 builtin and then its argument prototype would still apply. */
9356 /* The GNU C library defines this for functions which it implements
9357 to always fail with ENOSYS. Some functions are actually named
9358 something starting with __ and the normal name is an alias. */
9359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9367 if { (eval echo configure:9368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9369 eval "ac_cv_func_$ac_func=yes"
9371 echo "configure: failed program was:" >&5
9372 cat conftest.$ac_ext >&5
9374 eval "ac_cv_func_$ac_func=no"
9379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9380 echo "$ac_t""yes" 1>&6
9381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9382 cat >> confdefs.h <<EOF
9383 #define $ac_tr_func 1
9387 echo "$ac_t""no" 1>&6
9388 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9393 if test x$ac_cv_func_copysignl = x"yes"; then
9394 for ac_func in __signbitl
9396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9397 echo "configure:9398: checking for $ac_func" >&5
9398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9399 echo $ac_n "(cached) $ac_c" 1>&6
9401 cat > conftest.$ac_ext <<EOF
9402 #line 9403 "configure"
9403 #include "confdefs.h"
9404 /* System header to define __stub macros and hopefully few prototypes,
9405 which can conflict with char $ac_func(); below. */
9407 /* Override any gcc2 internal prototype to avoid an error. */
9408 /* We use char because int might match the return type of a gcc2
9409 builtin and then its argument prototype would still apply. */
9414 /* The GNU C library defines this for functions which it implements
9415 to always fail with ENOSYS. Some functions are actually named
9416 something starting with __ and the normal name is an alias. */
9417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9425 if { (eval echo configure:9426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9427 eval "ac_cv_func_$ac_func=yes"
9429 echo "configure: failed program was:" >&5
9430 cat conftest.$ac_ext >&5
9432 eval "ac_cv_func_$ac_func=no"
9437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9438 echo "$ac_t""yes" 1>&6
9439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9440 cat >> confdefs.h <<EOF
9441 #define $ac_tr_func 1
9445 echo "$ac_t""no" 1>&6
9446 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9452 if test -n "$LIBMATHOBJS"; then
9458 if test "$need_libmath" = yes; then
9459 GLIBCPP_BUILD_LIBMATH_TRUE=
9460 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9462 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9463 GLIBCPP_BUILD_LIBMATH_FALSE=
9468 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9469 echo "configure:9470: checking for mbstate_t" >&5
9470 cat > conftest.$ac_ext <<EOF
9471 #line 9472 "configure"
9472 #include "confdefs.h"
9475 mbstate_t teststate;
9478 if { (eval echo configure:9479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9482 echo "configure: failed program was:" >&5
9483 cat conftest.$ac_ext >&5
9488 echo "$ac_t""$have_mbstate_t" 1>&6
9489 if test x"$have_mbstate_t" = xyes; then
9490 cat >> confdefs.h <<\EOF
9491 #define HAVE_MBSTATE_T 1
9496 for ac_hdr in wchar.h
9498 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9499 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9500 echo "configure:9501: checking for $ac_hdr" >&5
9501 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9502 echo $ac_n "(cached) $ac_c" 1>&6
9504 cat > conftest.$ac_ext <<EOF
9505 #line 9506 "configure"
9506 #include "confdefs.h"
9509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9510 { (eval echo configure:9511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9512 if test -z "$ac_err"; then
9514 eval "ac_cv_header_$ac_safe=yes"
9517 echo "configure: failed program was:" >&5
9518 cat conftest.$ac_ext >&5
9520 eval "ac_cv_header_$ac_safe=no"
9524 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9525 echo "$ac_t""yes" 1>&6
9526 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9527 cat >> confdefs.h <<EOF
9528 #define $ac_tr_hdr 1
9532 echo "$ac_t""no" 1>&6
9537 for ac_hdr in wctype.h
9539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9541 echo "configure:9542: checking for $ac_hdr" >&5
9542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9543 echo $ac_n "(cached) $ac_c" 1>&6
9545 cat > conftest.$ac_ext <<EOF
9546 #line 9547 "configure"
9547 #include "confdefs.h"
9550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9551 { (eval echo configure:9552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9553 if test -z "$ac_err"; then
9555 eval "ac_cv_header_$ac_safe=yes"
9558 echo "configure: failed program was:" >&5
9559 cat conftest.$ac_ext >&5
9561 eval "ac_cv_header_$ac_safe=no"
9565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9566 echo "$ac_t""yes" 1>&6
9567 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9568 cat >> confdefs.h <<EOF
9569 #define $ac_tr_hdr 1
9573 echo "$ac_t""no" 1>&6
9579 if test x"$ac_has_wchar_h" = xyes &&
9580 test x"$ac_has_wctype_h" = xyes &&
9581 test x"$enable_c_mbchar" != xno; then
9583 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9584 echo "configure:9585: checking for WCHAR_MIN and WCHAR_MAX" >&5
9585 cat > conftest.$ac_ext <<EOF
9586 #line 9587 "configure"
9587 #include "confdefs.h"
9590 int i = WCHAR_MIN; int j = WCHAR_MAX;
9593 if { (eval echo configure:9594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9595 has_wchar_minmax=yes
9597 echo "configure: failed program was:" >&5
9598 cat conftest.$ac_ext >&5
9603 echo "$ac_t""$has_wchar_minmax" 1>&6
9605 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9606 echo "configure:9607: checking for WEOF" >&5
9607 cat > conftest.$ac_ext <<EOF
9608 #line 9609 "configure"
9609 #include "confdefs.h"
9617 if { (eval echo configure:9618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9621 echo "configure: failed program was:" >&5
9622 cat conftest.$ac_ext >&5
9627 echo "$ac_t""$has_weof" 1>&6
9630 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9633 echo "configure:9634: checking for $ac_func" >&5
9634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9635 echo $ac_n "(cached) $ac_c" 1>&6
9637 cat > conftest.$ac_ext <<EOF
9638 #line 9639 "configure"
9639 #include "confdefs.h"
9640 /* System header to define __stub macros and hopefully few prototypes,
9641 which can conflict with char $ac_func(); below. */
9643 /* Override any gcc2 internal prototype to avoid an error. */
9644 /* We use char because int might match the return type of a gcc2
9645 builtin and then its argument prototype would still apply. */
9650 /* The GNU C library defines this for functions which it implements
9651 to always fail with ENOSYS. Some functions are actually named
9652 something starting with __ and the normal name is an alias. */
9653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9661 if { (eval echo configure:9662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9663 eval "ac_cv_func_$ac_func=yes"
9665 echo "configure: failed program was:" >&5
9666 cat conftest.$ac_ext >&5
9668 eval "ac_cv_func_$ac_func=no"
9673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9674 echo "$ac_t""yes" 1>&6
9675 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9676 cat >> confdefs.h <<EOF
9677 #define $ac_tr_func 1
9681 echo "$ac_t""no" 1>&6
9688 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
9689 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9690 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9691 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9692 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9693 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9696 echo "configure:9697: checking for $ac_func" >&5
9697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9698 echo $ac_n "(cached) $ac_c" 1>&6
9700 cat > conftest.$ac_ext <<EOF
9701 #line 9702 "configure"
9702 #include "confdefs.h"
9703 /* System header to define __stub macros and hopefully few prototypes,
9704 which can conflict with char $ac_func(); below. */
9706 /* Override any gcc2 internal prototype to avoid an error. */
9707 /* We use char because int might match the return type of a gcc2
9708 builtin and then its argument prototype would still apply. */
9713 /* The GNU C library defines this for functions which it implements
9714 to always fail with ENOSYS. Some functions are actually named
9715 something starting with __ and the normal name is an alias. */
9716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9724 if { (eval echo configure:9725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9726 eval "ac_cv_func_$ac_func=yes"
9728 echo "configure: failed program was:" >&5
9729 cat conftest.$ac_ext >&5
9731 eval "ac_cv_func_$ac_func=no"
9736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9737 echo "$ac_t""yes" 1>&6
9738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9739 cat >> confdefs.h <<EOF
9740 #define $ac_tr_func 1
9744 echo "$ac_t""no" 1>&6
9751 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9752 echo "configure:9753: checking for ISO C99 wchar_t support" >&5
9753 if test x"$has_weof" = xyes &&
9754 test x"$has_wchar_minmax" = xyes &&
9755 test x"$ac_wfuncs" = xyes; then
9756 ac_isoC99_wchar_t=yes
9758 ac_isoC99_wchar_t=no
9760 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9762 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9763 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9764 echo "configure:9765: checking for iconv.h" >&5
9765 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9766 echo $ac_n "(cached) $ac_c" 1>&6
9768 cat > conftest.$ac_ext <<EOF
9769 #line 9770 "configure"
9770 #include "confdefs.h"
9773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9774 { (eval echo configure:9775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9776 if test -z "$ac_err"; then
9778 eval "ac_cv_header_$ac_safe=yes"
9781 echo "configure: failed program was:" >&5
9782 cat conftest.$ac_ext >&5
9784 eval "ac_cv_header_$ac_safe=no"
9788 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9789 echo "$ac_t""yes" 1>&6
9792 echo "$ac_t""no" 1>&6
9796 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9797 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9798 echo "configure:9799: checking for langinfo.h" >&5
9799 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9800 echo $ac_n "(cached) $ac_c" 1>&6
9802 cat > conftest.$ac_ext <<EOF
9803 #line 9804 "configure"
9804 #include "confdefs.h"
9805 #include <langinfo.h>
9807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9808 { (eval echo configure:9809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9809 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9810 if test -z "$ac_err"; then
9812 eval "ac_cv_header_$ac_safe=yes"
9815 echo "configure: failed program was:" >&5
9816 cat conftest.$ac_ext >&5
9818 eval "ac_cv_header_$ac_safe=no"
9822 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9823 echo "$ac_t""yes" 1>&6
9824 ac_has_langinfo_h=yes
9826 echo "$ac_t""no" 1>&6
9827 ac_has_langinfo_h=no
9831 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9832 echo "configure:9833: checking for iconv in -liconv" >&5
9833 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9835 echo $ac_n "(cached) $ac_c" 1>&6
9837 ac_save_LIBS="$LIBS"
9838 LIBS="-liconv $LIBS"
9839 cat > conftest.$ac_ext <<EOF
9840 #line 9841 "configure"
9841 #include "confdefs.h"
9842 /* Override any gcc2 internal prototype to avoid an error. */
9843 /* We use char because int might match the return type of a gcc2
9844 builtin and then its argument prototype would still apply. */
9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9853 eval "ac_cv_lib_$ac_lib_var=yes"
9855 echo "configure: failed program was:" >&5
9856 cat conftest.$ac_ext >&5
9858 eval "ac_cv_lib_$ac_lib_var=no"
9861 LIBS="$ac_save_LIBS"
9864 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9865 echo "$ac_t""yes" 1>&6
9868 echo "$ac_t""no" 1>&6
9871 ac_save_LIBS="$LIBS"
9872 LIBS="$LIBS $libiconv"
9874 for ac_func in iconv_open iconv_close iconv nl_langinfo
9876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9877 echo "configure:9878: checking for $ac_func" >&5
9878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9879 echo $ac_n "(cached) $ac_c" 1>&6
9881 cat > conftest.$ac_ext <<EOF
9882 #line 9883 "configure"
9883 #include "confdefs.h"
9884 /* System header to define __stub macros and hopefully few prototypes,
9885 which can conflict with char $ac_func(); below. */
9887 /* Override any gcc2 internal prototype to avoid an error. */
9888 /* We use char because int might match the return type of a gcc2
9889 builtin and then its argument prototype would still apply. */
9894 /* The GNU C library defines this for functions which it implements
9895 to always fail with ENOSYS. Some functions are actually named
9896 something starting with __ and the normal name is an alias. */
9897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9905 if { (eval echo configure:9906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9907 eval "ac_cv_func_$ac_func=yes"
9909 echo "configure: failed program was:" >&5
9910 cat conftest.$ac_ext >&5
9912 eval "ac_cv_func_$ac_func=no"
9917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9918 echo "$ac_t""yes" 1>&6
9919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9920 cat >> confdefs.h <<EOF
9921 #define $ac_tr_func 1
9926 echo "$ac_t""no" 1>&6
9932 LIBS="$ac_save_LIBS"
9934 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9935 echo "configure:9936: checking for XPG2 wchar_t support" >&5
9936 if test x"$ac_has_iconv_h" = xyes &&
9937 test x"$ac_has_langinfo_h" = xyes &&
9938 test x"$ac_XPG2funcs" = xyes; then
9943 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9945 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9946 echo "configure:9947: checking for enabled wchar_t specializations" >&5
9947 if test x"$ac_isoC99_wchar_t" = xyes &&
9948 test x"$ac_XPG2_wchar_t" = xyes; then
9949 cat >> confdefs.h <<\EOF
9950 #define _GLIBCPP_USE_WCHAR_T 1
9953 echo "$ac_t"""yes"" 1>&6
9955 echo "$ac_t"""no"" 1>&6
9958 echo "configure: warning: wchar_t support disabled." 1>&2
9961 os_include_dir="os/qnx/qnx6.1"
9962 cat >> confdefs.h <<\EOF
9966 cat >> confdefs.h <<\EOF
9970 cat >> confdefs.h <<\EOF
9971 #define HAVE_COSHF 1
9974 cat >> confdefs.h <<\EOF
9975 #define HAVE_COSHL 1
9978 cat >> confdefs.h <<\EOF
9982 cat >> confdefs.h <<\EOF
9986 cat >> confdefs.h <<\EOF
9987 #define HAVE_LOG10F 1
9990 cat >> confdefs.h <<\EOF
9991 #define HAVE_LOG10L 1
9994 cat >> confdefs.h <<\EOF
9998 cat >> confdefs.h <<\EOF
10002 cat >> confdefs.h <<\EOF
10003 #define HAVE_SINHF 1
10006 cat >> confdefs.h <<\EOF
10007 #define HAVE_SINHL 1
10012 os_include_dir="os/newlib"
10013 cat >> confdefs.h <<\EOF
10014 #define HAVE_HYPOT 1
10024 cat >> confdefs.h <<\EOF
10025 #define HAVE_ACOSF 1
10028 cat >> confdefs.h <<\EOF
10029 #define HAVE_ASINF 1
10032 cat >> confdefs.h <<\EOF
10033 #define HAVE_ATAN2F 1
10036 cat >> confdefs.h <<\EOF
10037 #define HAVE_ATANF 1
10040 cat >> confdefs.h <<\EOF
10041 #define HAVE_CEILF 1
10044 cat >> confdefs.h <<\EOF
10045 #define HAVE_COPYSIGN 1
10048 cat >> confdefs.h <<\EOF
10049 #define HAVE_COPYSIGNF 1
10052 cat >> confdefs.h <<\EOF
10053 #define HAVE_COSF 1
10056 cat >> confdefs.h <<\EOF
10057 #define HAVE_COSHF 1
10060 cat >> confdefs.h <<\EOF
10061 #define HAVE_EXPF 1
10064 cat >> confdefs.h <<\EOF
10065 #define HAVE_FABSF 1
10068 cat >> confdefs.h <<\EOF
10069 #define HAVE_FLOORF 1
10072 cat >> confdefs.h <<\EOF
10073 #define HAVE_FMODF 1
10076 cat >> confdefs.h <<\EOF
10077 #define HAVE_FREXPF 1
10080 cat >> confdefs.h <<\EOF
10081 #define HAVE_LDEXPF 1
10084 cat >> confdefs.h <<\EOF
10085 #define HAVE_LOG10F 1
10088 cat >> confdefs.h <<\EOF
10089 #define HAVE_LOGF 1
10092 cat >> confdefs.h <<\EOF
10093 #define HAVE_MODFF 1
10096 cat >> confdefs.h <<\EOF
10097 #define HAVE_POWF 1
10100 cat >> confdefs.h <<\EOF
10101 #define HAVE_SINF 1
10104 cat >> confdefs.h <<\EOF
10105 #define HAVE_SINHF 1
10108 cat >> confdefs.h <<\EOF
10109 #define HAVE_SQRTF 1
10112 cat >> confdefs.h <<\EOF
10113 #define HAVE_TANF 1
10116 cat >> confdefs.h <<\EOF
10117 #define HAVE_TANHF 1
10122 # Must replicate generic section since we don't have strtof or strtold.
10123 cat >> confdefs.h <<\EOF
10124 #define HAVE_MMAP 1
10127 cat >> confdefs.h <<\EOF
10128 #define HAVE_ACOSF 1
10131 cat >> confdefs.h <<\EOF
10132 #define HAVE_ASINF 1
10135 cat >> confdefs.h <<\EOF
10136 #define HAVE_ATAN2F 1
10139 cat >> confdefs.h <<\EOF
10140 #define HAVE_ATANF 1
10143 cat >> confdefs.h <<\EOF
10144 #define HAVE_CEILF 1
10147 cat >> confdefs.h <<\EOF
10148 #define HAVE_COPYSIGN 1
10151 cat >> confdefs.h <<\EOF
10152 #define HAVE_COPYSIGNF 1
10155 cat >> confdefs.h <<\EOF
10156 #define HAVE_COSF 1
10159 cat >> confdefs.h <<\EOF
10160 #define HAVE_COSHF 1
10163 cat >> confdefs.h <<\EOF
10164 #define HAVE_EXPF 1
10167 cat >> confdefs.h <<\EOF
10168 #define HAVE_FABSF 1
10171 cat >> confdefs.h <<\EOF
10172 #define HAVE_FLOORF 1
10175 cat >> confdefs.h <<\EOF
10176 #define HAVE_FMODF 1
10179 cat >> confdefs.h <<\EOF
10180 #define HAVE_FREXPF 1
10183 cat >> confdefs.h <<\EOF
10184 #define HAVE_LDEXPF 1
10187 cat >> confdefs.h <<\EOF
10188 #define HAVE_LOG10F 1
10191 cat >> confdefs.h <<\EOF
10192 #define HAVE_LOGF 1
10195 cat >> confdefs.h <<\EOF
10196 #define HAVE_MODFF 1
10199 cat >> confdefs.h <<\EOF
10200 #define HAVE_POWF 1
10203 cat >> confdefs.h <<\EOF
10204 #define HAVE_SINF 1
10207 cat >> confdefs.h <<\EOF
10208 #define HAVE_SINHF 1
10211 cat >> confdefs.h <<\EOF
10212 #define HAVE_SQRTF 1
10215 cat >> confdefs.h <<\EOF
10216 #define HAVE_TANF 1
10219 cat >> confdefs.h <<\EOF
10220 #define HAVE_TANHF 1
10225 # GLIBCPP_CHECK_STDLIB_SUPPORT
10226 cat >> confdefs.h <<\EOF
10227 #define HAVE_STRTOF 1
10230 cat >> confdefs.h <<\EOF
10231 #define HAVE_STRTOLD 1
10235 cat >> confdefs.h <<\EOF
10236 #define HAVE_MMAP 1
10240 cat >> confdefs.h <<\EOF
10241 #define HAVE_ACOSF 1
10244 cat >> confdefs.h <<\EOF
10245 #define HAVE_ASINF 1
10248 cat >> confdefs.h <<\EOF
10249 #define HAVE_ATAN2F 1
10252 cat >> confdefs.h <<\EOF
10253 #define HAVE_ATANF 1
10256 cat >> confdefs.h <<\EOF
10257 #define HAVE_CEILF 1
10260 cat >> confdefs.h <<\EOF
10261 #define HAVE_COPYSIGN 1
10264 cat >> confdefs.h <<\EOF
10265 #define HAVE_COPYSIGNF 1
10268 cat >> confdefs.h <<\EOF
10269 #define HAVE_COSF 1
10272 cat >> confdefs.h <<\EOF
10273 #define HAVE_COSHF 1
10276 cat >> confdefs.h <<\EOF
10277 #define HAVE_EXPF 1
10280 cat >> confdefs.h <<\EOF
10281 #define HAVE_FABSF 1
10284 cat >> confdefs.h <<\EOF
10285 #define HAVE_FLOORF 1
10288 cat >> confdefs.h <<\EOF
10289 #define HAVE_FMODF 1
10292 cat >> confdefs.h <<\EOF
10293 #define HAVE_FREXPF 1
10296 cat >> confdefs.h <<\EOF
10297 #define HAVE_LDEXPF 1
10300 cat >> confdefs.h <<\EOF
10301 #define HAVE_LOG10F 1
10304 cat >> confdefs.h <<\EOF
10305 #define HAVE_LOGF 1
10308 cat >> confdefs.h <<\EOF
10309 #define HAVE_MODFF 1
10312 cat >> confdefs.h <<\EOF
10313 #define HAVE_POWF 1
10316 cat >> confdefs.h <<\EOF
10317 #define HAVE_SINF 1
10320 cat >> confdefs.h <<\EOF
10321 #define HAVE_SINHF 1
10324 cat >> confdefs.h <<\EOF
10325 #define HAVE_SQRTF 1
10328 cat >> confdefs.h <<\EOF
10329 #define HAVE_TANF 1
10332 cat >> confdefs.h <<\EOF
10333 #define HAVE_TANHF 1
10339 # At some point, we should differentiate between architectures
10340 # like x86, which have long double versions, and alpha/powerpc/etc.,
10341 # which don't. For the time being, punt.
10342 if test x"long_double_math_on_this_cpu" = x"yes"; then
10343 cat >> confdefs.h <<\EOF
10344 #define HAVE_ACOSL 1
10347 cat >> confdefs.h <<\EOF
10348 #define HAVE_ASINL 1
10351 cat >> confdefs.h <<\EOF
10352 #define HAVE_ATAN2L 1
10355 cat >> confdefs.h <<\EOF
10356 #define HAVE_ATANL 1
10359 cat >> confdefs.h <<\EOF
10360 #define HAVE_CEILL 1
10363 cat >> confdefs.h <<\EOF
10364 #define HAVE_COPYSIGNL 1
10367 cat >> confdefs.h <<\EOF
10368 #define HAVE_COSL 1
10371 cat >> confdefs.h <<\EOF
10372 #define HAVE_COSHL 1
10375 cat >> confdefs.h <<\EOF
10376 #define HAVE_EXPL 1
10379 cat >> confdefs.h <<\EOF
10380 #define HAVE_FABSL 1
10383 cat >> confdefs.h <<\EOF
10384 #define HAVE_FLOORL 1
10387 cat >> confdefs.h <<\EOF
10388 #define HAVE_FMODL 1
10391 cat >> confdefs.h <<\EOF
10392 #define HAVE_FREXPL 1
10395 cat >> confdefs.h <<\EOF
10396 #define HAVE_LDEXPL 1
10399 cat >> confdefs.h <<\EOF
10400 #define HAVE_LOG10L 1
10403 cat >> confdefs.h <<\EOF
10404 #define HAVE_LOGL 1
10407 cat >> confdefs.h <<\EOF
10408 #define HAVE_MODFL 1
10411 cat >> confdefs.h <<\EOF
10412 #define HAVE_POWL 1
10415 cat >> confdefs.h <<\EOF
10416 #define HAVE_SINCOSL 1
10419 cat >> confdefs.h <<\EOF
10420 #define HAVE_SINL 1
10423 cat >> confdefs.h <<\EOF
10424 #define HAVE_SINHL 1
10427 cat >> confdefs.h <<\EOF
10428 #define HAVE_SQRTL 1
10431 cat >> confdefs.h <<\EOF
10432 #define HAVE_TANL 1
10435 cat >> confdefs.h <<\EOF
10436 #define HAVE_TANHL 1
10443 # We are being configured natively. We can do more elaborate tests
10444 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10446 GLIBCPP_IS_CROSS_COMPILING=0
10449 # Check for available headers.
10450 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10451 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10453 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10454 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10455 echo "configure:10456: checking for $ac_hdr" >&5
10456 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10457 echo $ac_n "(cached) $ac_c" 1>&6
10459 cat > conftest.$ac_ext <<EOF
10460 #line 10461 "configure"
10461 #include "confdefs.h"
10464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10465 { (eval echo configure:10466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10466 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10467 if test -z "$ac_err"; then
10469 eval "ac_cv_header_$ac_safe=yes"
10472 echo "configure: failed program was:" >&5
10473 cat conftest.$ac_ext >&5
10475 eval "ac_cv_header_$ac_safe=no"
10479 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10480 echo "$ac_t""yes" 1>&6
10481 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10482 cat >> confdefs.h <<EOF
10483 #define $ac_tr_hdr 1
10487 echo "$ac_t""no" 1>&6
10493 # All these tests are for C++; save the language and the compiler flags.
10494 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10495 # found in GLIBCPP_CONFIGURE.
10498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10499 ac_cpp='$CXXCPP $CPPFLAGS'
10500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10502 cross_compiling=$ac_cv_prog_cxx_cross
10504 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10505 ac_save_CXXFLAGS="$CXXFLAGS"
10507 # Check for maintainer-mode bits.
10508 if test x"$USE_MAINTAINER_MODE" = xno; then
10514 # Check for -ffunction-sections -fdata-sections
10515 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10516 echo "configure:10517: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10517 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10518 cat > conftest.$ac_ext <<EOF
10519 #line 10520 "configure"
10520 #include "confdefs.h"
10527 if { (eval echo configure:10528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10531 echo "configure: failed program was:" >&5
10532 cat conftest.$ac_ext >&5
10537 if test "$ac_test_CXXFLAGS" = set; then
10538 CXXFLAGS="$ac_save_CXXFLAGS"
10540 # this is the suspicious part
10543 if test x"$ac_fdsections" = x"yes"; then
10544 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10546 echo "$ac_t""$ac_fdsections" 1>&6
10549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10550 ac_cpp='$CPP $CPPFLAGS'
10551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10553 cross_compiling=$ac_cv_prog_cc_cross
10559 # If we're not using GNU ld, then there's no point in even trying these
10560 # tests. Check for that first. We should have already tested for gld
10561 # by now (in libtool), but require it now just to be safe...
10562 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10563 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10566 # The name set by libtool depends on the version of libtool. Shame on us
10567 # for depending on an impl detail, but c'est la vie. Older versions used
10568 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10569 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10570 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10571 # set (hence we're using an older libtool), then set it.
10572 if test x${with_gnu_ld+set} != xset; then
10573 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10574 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10577 with_gnu_ld=$ac_cv_prog_gnu_ld
10581 # Start by getting the version number. I think the libtool test already
10582 # does some of this, but throws away the result.
10584 ldver=`$LD --version 2>/dev/null | head -1 | \
10585 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10587 glibcpp_gnu_ld_version=`echo $ldver | \
10588 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10590 # Set --gc-sections.
10591 if test "$with_gnu_ld" = "notbroken"; then
10592 # GNU ld it is! Joy and bunny rabbits!
10594 # All these tests are for C++; save the language and the compiler flags.
10595 # Need to do this so that g++ won't try to link in libstdc++
10596 ac_test_CFLAGS="${CFLAGS+set}"
10597 ac_save_CFLAGS="$CFLAGS"
10598 CFLAGS='-x c++ -Wl,--gc-sections'
10600 # Check for -Wl,--gc-sections
10601 # XXX This test is broken at the moment, as symbols required for
10602 # linking are now in libsupc++ (not built yet.....). In addition,
10603 # this test has cored on solaris in the past. In addition,
10604 # --gc-sections doesn't really work at the moment (keeps on discarding
10605 # used sections, first .eh_frame and now some of the glibc sections for
10606 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10607 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10608 echo "configure:10609: checking for ld that supports -Wl,--gc-sections" >&5
10609 if test "$cross_compiling" = yes; then
10610 ac_sectionLDflags=yes
10612 cat > conftest.$ac_ext <<EOF
10613 #line 10614 "configure"
10614 #include "confdefs.h"
10624 if { (eval echo configure:10625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10626 ac_sectionLDflags=yes
10628 echo "configure: failed program was:" >&5
10629 cat conftest.$ac_ext >&5
10631 ac_sectionLDflags=no
10636 if test "$ac_test_CFLAGS" = set; then
10637 CFLAGS="$ac_save_CFLAGS"
10639 # this is the suspicious part
10642 if test "$ac_sectionLDflags" = "yes"; then
10643 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10645 echo "$ac_t""$ac_sectionLDflags" 1>&6
10648 # Set linker optimization flags.
10649 if test x"$with_gnu_ld" = x"yes"; then
10650 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10658 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
10659 echo "configure:10660: checking for __builtin_abs declaration" >&5
10660 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10661 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10662 echo $ac_n "(cached) $ac_c" 1>&6
10667 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10668 ac_cpp='$CXXCPP $CPPFLAGS'
10669 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10670 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10671 cross_compiling=$ac_cv_prog_cxx_cross
10673 cat > conftest.$ac_ext <<EOF
10674 #line 10675 "configure"
10675 #include "confdefs.h"
10681 if { (eval echo configure:10682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10683 glibcpp_cv_func___builtin_abs_use=yes
10685 echo "configure: failed program was:" >&5
10686 cat conftest.$ac_ext >&5
10688 glibcpp_cv_func___builtin_abs_use=no
10692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10693 ac_cpp='$CPP $CPPFLAGS'
10694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10696 cross_compiling=$ac_cv_prog_cc_cross
10702 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10703 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10704 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
10705 echo "configure:10706: checking for __builtin_abs linkage" >&5
10706 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10707 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10708 echo $ac_n "(cached) $ac_c" 1>&6
10711 cat > conftest.$ac_ext <<EOF
10712 #line 10713 "configure"
10713 #include "confdefs.h"
10719 if { (eval echo configure:10720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10721 glibcpp_cv_func___builtin_abs_link=yes
10723 echo "configure: failed program was:" >&5
10724 cat conftest.$ac_ext >&5
10726 glibcpp_cv_func___builtin_abs_link=no
10733 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10734 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10735 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10736 cat >> confdefs.h <<EOF
10737 #define ${ac_tr_func} 1
10744 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
10745 echo "configure:10746: checking for __builtin_fabsf declaration" >&5
10746 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10747 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10748 echo $ac_n "(cached) $ac_c" 1>&6
10753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10754 ac_cpp='$CXXCPP $CPPFLAGS'
10755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10757 cross_compiling=$ac_cv_prog_cxx_cross
10759 cat > conftest.$ac_ext <<EOF
10760 #line 10761 "configure"
10761 #include "confdefs.h"
10764 __builtin_fabsf(0);
10767 if { (eval echo configure:10768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10769 glibcpp_cv_func___builtin_fabsf_use=yes
10771 echo "configure: failed program was:" >&5
10772 cat conftest.$ac_ext >&5
10774 glibcpp_cv_func___builtin_fabsf_use=no
10778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10779 ac_cpp='$CPP $CPPFLAGS'
10780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10782 cross_compiling=$ac_cv_prog_cc_cross
10788 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10789 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10790 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
10791 echo "configure:10792: checking for __builtin_fabsf linkage" >&5
10792 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10793 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10794 echo $ac_n "(cached) $ac_c" 1>&6
10797 cat > conftest.$ac_ext <<EOF
10798 #line 10799 "configure"
10799 #include "confdefs.h"
10802 __builtin_fabsf(0);
10805 if { (eval echo configure:10806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10807 glibcpp_cv_func___builtin_fabsf_link=yes
10809 echo "configure: failed program was:" >&5
10810 cat conftest.$ac_ext >&5
10812 glibcpp_cv_func___builtin_fabsf_link=no
10819 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10820 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10821 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10822 cat >> confdefs.h <<EOF
10823 #define ${ac_tr_func} 1
10830 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
10831 echo "configure:10832: checking for __builtin_fabs declaration" >&5
10832 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10833 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10834 echo $ac_n "(cached) $ac_c" 1>&6
10839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10840 ac_cpp='$CXXCPP $CPPFLAGS'
10841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10843 cross_compiling=$ac_cv_prog_cxx_cross
10845 cat > conftest.$ac_ext <<EOF
10846 #line 10847 "configure"
10847 #include "confdefs.h"
10853 if { (eval echo configure:10854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10855 glibcpp_cv_func___builtin_fabs_use=yes
10857 echo "configure: failed program was:" >&5
10858 cat conftest.$ac_ext >&5
10860 glibcpp_cv_func___builtin_fabs_use=no
10864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10865 ac_cpp='$CPP $CPPFLAGS'
10866 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10867 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10868 cross_compiling=$ac_cv_prog_cc_cross
10874 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10875 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10876 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
10877 echo "configure:10878: checking for __builtin_fabs linkage" >&5
10878 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10879 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10880 echo $ac_n "(cached) $ac_c" 1>&6
10883 cat > conftest.$ac_ext <<EOF
10884 #line 10885 "configure"
10885 #include "confdefs.h"
10891 if { (eval echo configure:10892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10893 glibcpp_cv_func___builtin_fabs_link=yes
10895 echo "configure: failed program was:" >&5
10896 cat conftest.$ac_ext >&5
10898 glibcpp_cv_func___builtin_fabs_link=no
10905 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10906 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10907 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10908 cat >> confdefs.h <<EOF
10909 #define ${ac_tr_func} 1
10916 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
10917 echo "configure:10918: checking for __builtin_fabsl declaration" >&5
10918 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10919 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10920 echo $ac_n "(cached) $ac_c" 1>&6
10925 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10926 ac_cpp='$CXXCPP $CPPFLAGS'
10927 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10928 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10929 cross_compiling=$ac_cv_prog_cxx_cross
10931 cat > conftest.$ac_ext <<EOF
10932 #line 10933 "configure"
10933 #include "confdefs.h"
10936 __builtin_fabsl(0);
10939 if { (eval echo configure:10940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10941 glibcpp_cv_func___builtin_fabsl_use=yes
10943 echo "configure: failed program was:" >&5
10944 cat conftest.$ac_ext >&5
10946 glibcpp_cv_func___builtin_fabsl_use=no
10950 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10951 ac_cpp='$CPP $CPPFLAGS'
10952 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10953 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10954 cross_compiling=$ac_cv_prog_cc_cross
10960 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
10961 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
10962 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
10963 echo "configure:10964: checking for __builtin_fabsl linkage" >&5
10964 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
10965 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
10966 echo $ac_n "(cached) $ac_c" 1>&6
10969 cat > conftest.$ac_ext <<EOF
10970 #line 10971 "configure"
10971 #include "confdefs.h"
10974 __builtin_fabsl(0);
10977 if { (eval echo configure:10978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10979 glibcpp_cv_func___builtin_fabsl_link=yes
10981 echo "configure: failed program was:" >&5
10982 cat conftest.$ac_ext >&5
10984 glibcpp_cv_func___builtin_fabsl_link=no
10991 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
10992 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
10993 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10994 cat >> confdefs.h <<EOF
10995 #define ${ac_tr_func} 1
11002 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
11003 echo "configure:11004: checking for __builtin_labs declaration" >&5
11004 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
11005 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
11006 echo $ac_n "(cached) $ac_c" 1>&6
11011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11012 ac_cpp='$CXXCPP $CPPFLAGS'
11013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11015 cross_compiling=$ac_cv_prog_cxx_cross
11017 cat > conftest.$ac_ext <<EOF
11018 #line 11019 "configure"
11019 #include "confdefs.h"
11025 if { (eval echo configure:11026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11027 glibcpp_cv_func___builtin_labs_use=yes
11029 echo "configure: failed program was:" >&5
11030 cat conftest.$ac_ext >&5
11032 glibcpp_cv_func___builtin_labs_use=no
11036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11037 ac_cpp='$CPP $CPPFLAGS'
11038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11040 cross_compiling=$ac_cv_prog_cc_cross
11046 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
11047 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
11048 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
11049 echo "configure:11050: checking for __builtin_labs linkage" >&5
11050 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
11051 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
11052 echo $ac_n "(cached) $ac_c" 1>&6
11055 cat > conftest.$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11063 if { (eval echo configure:11064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11065 glibcpp_cv_func___builtin_labs_link=yes
11067 echo "configure: failed program was:" >&5
11068 cat conftest.$ac_ext >&5
11070 glibcpp_cv_func___builtin_labs_link=no
11077 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
11078 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
11079 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11080 cat >> confdefs.h <<EOF
11081 #define ${ac_tr_func} 1
11089 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
11090 echo "configure:11091: checking for __builtin_sqrtf declaration" >&5
11091 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
11092 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
11093 echo $ac_n "(cached) $ac_c" 1>&6
11098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11099 ac_cpp='$CXXCPP $CPPFLAGS'
11100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11102 cross_compiling=$ac_cv_prog_cxx_cross
11104 cat > conftest.$ac_ext <<EOF
11105 #line 11106 "configure"
11106 #include "confdefs.h"
11109 __builtin_sqrtf(0);
11112 if { (eval echo configure:11113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11114 glibcpp_cv_func___builtin_sqrtf_use=yes
11116 echo "configure: failed program was:" >&5
11117 cat conftest.$ac_ext >&5
11119 glibcpp_cv_func___builtin_sqrtf_use=no
11123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11124 ac_cpp='$CPP $CPPFLAGS'
11125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11127 cross_compiling=$ac_cv_prog_cc_cross
11133 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
11134 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
11135 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
11136 echo "configure:11137: checking for __builtin_sqrtf linkage" >&5
11137 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
11138 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
11139 echo $ac_n "(cached) $ac_c" 1>&6
11142 cat > conftest.$ac_ext <<EOF
11143 #line 11144 "configure"
11144 #include "confdefs.h"
11147 __builtin_sqrtf(0);
11150 if { (eval echo configure:11151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11152 glibcpp_cv_func___builtin_sqrtf_link=yes
11154 echo "configure: failed program was:" >&5
11155 cat conftest.$ac_ext >&5
11157 glibcpp_cv_func___builtin_sqrtf_link=no
11164 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11165 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11166 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11167 cat >> confdefs.h <<EOF
11168 #define ${ac_tr_func} 1
11175 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
11176 echo "configure:11177: checking for __builtin_sqrt declaration" >&5
11177 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11178 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11179 echo $ac_n "(cached) $ac_c" 1>&6
11184 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11185 ac_cpp='$CXXCPP $CPPFLAGS'
11186 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11187 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11188 cross_compiling=$ac_cv_prog_cxx_cross
11190 cat > conftest.$ac_ext <<EOF
11191 #line 11192 "configure"
11192 #include "confdefs.h"
11198 if { (eval echo configure:11199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11200 glibcpp_cv_func___builtin_sqrt_use=yes
11202 echo "configure: failed program was:" >&5
11203 cat conftest.$ac_ext >&5
11205 glibcpp_cv_func___builtin_sqrt_use=no
11209 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11210 ac_cpp='$CPP $CPPFLAGS'
11211 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11212 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11213 cross_compiling=$ac_cv_prog_cc_cross
11219 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11220 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11221 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
11222 echo "configure:11223: checking for __builtin_sqrt linkage" >&5
11223 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11224 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11225 echo $ac_n "(cached) $ac_c" 1>&6
11228 cat > conftest.$ac_ext <<EOF
11229 #line 11230 "configure"
11230 #include "confdefs.h"
11236 if { (eval echo configure:11237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11238 glibcpp_cv_func___builtin_sqrt_link=yes
11240 echo "configure: failed program was:" >&5
11241 cat conftest.$ac_ext >&5
11243 glibcpp_cv_func___builtin_sqrt_link=no
11250 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11251 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11252 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11253 cat >> confdefs.h <<EOF
11254 #define ${ac_tr_func} 1
11261 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
11262 echo "configure:11263: checking for __builtin_sqrtl declaration" >&5
11263 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11264 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11265 echo $ac_n "(cached) $ac_c" 1>&6
11270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11271 ac_cpp='$CXXCPP $CPPFLAGS'
11272 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11273 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11274 cross_compiling=$ac_cv_prog_cxx_cross
11276 cat > conftest.$ac_ext <<EOF
11277 #line 11278 "configure"
11278 #include "confdefs.h"
11281 __builtin_sqrtl(0);
11284 if { (eval echo configure:11285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11286 glibcpp_cv_func___builtin_sqrtl_use=yes
11288 echo "configure: failed program was:" >&5
11289 cat conftest.$ac_ext >&5
11291 glibcpp_cv_func___builtin_sqrtl_use=no
11295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11296 ac_cpp='$CPP $CPPFLAGS'
11297 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11298 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11299 cross_compiling=$ac_cv_prog_cc_cross
11305 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11306 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11307 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
11308 echo "configure:11309: checking for __builtin_sqrtl linkage" >&5
11309 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11310 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11311 echo $ac_n "(cached) $ac_c" 1>&6
11314 cat > conftest.$ac_ext <<EOF
11315 #line 11316 "configure"
11316 #include "confdefs.h"
11319 __builtin_sqrtl(0);
11322 if { (eval echo configure:11323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11324 glibcpp_cv_func___builtin_sqrtl_link=yes
11326 echo "configure: failed program was:" >&5
11327 cat conftest.$ac_ext >&5
11329 glibcpp_cv_func___builtin_sqrtl_link=no
11336 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11337 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11338 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11339 cat >> confdefs.h <<EOF
11340 #define ${ac_tr_func} 1
11348 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
11349 echo "configure:11350: checking for __builtin_sinf declaration" >&5
11350 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11351 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11352 echo $ac_n "(cached) $ac_c" 1>&6
11357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11358 ac_cpp='$CXXCPP $CPPFLAGS'
11359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11361 cross_compiling=$ac_cv_prog_cxx_cross
11363 cat > conftest.$ac_ext <<EOF
11364 #line 11365 "configure"
11365 #include "confdefs.h"
11371 if { (eval echo configure:11372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11373 glibcpp_cv_func___builtin_sinf_use=yes
11375 echo "configure: failed program was:" >&5
11376 cat conftest.$ac_ext >&5
11378 glibcpp_cv_func___builtin_sinf_use=no
11382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11383 ac_cpp='$CPP $CPPFLAGS'
11384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11386 cross_compiling=$ac_cv_prog_cc_cross
11392 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11393 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11394 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
11395 echo "configure:11396: checking for __builtin_sinf linkage" >&5
11396 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11397 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11398 echo $ac_n "(cached) $ac_c" 1>&6
11401 cat > conftest.$ac_ext <<EOF
11402 #line 11403 "configure"
11403 #include "confdefs.h"
11409 if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11411 glibcpp_cv_func___builtin_sinf_link=yes
11413 echo "configure: failed program was:" >&5
11414 cat conftest.$ac_ext >&5
11416 glibcpp_cv_func___builtin_sinf_link=no
11423 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11424 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11425 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11426 cat >> confdefs.h <<EOF
11427 #define ${ac_tr_func} 1
11434 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
11435 echo "configure:11436: checking for __builtin_sin declaration" >&5
11436 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11437 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11438 echo $ac_n "(cached) $ac_c" 1>&6
11443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11444 ac_cpp='$CXXCPP $CPPFLAGS'
11445 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11446 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11447 cross_compiling=$ac_cv_prog_cxx_cross
11449 cat > conftest.$ac_ext <<EOF
11450 #line 11451 "configure"
11451 #include "confdefs.h"
11457 if { (eval echo configure:11458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11459 glibcpp_cv_func___builtin_sin_use=yes
11461 echo "configure: failed program was:" >&5
11462 cat conftest.$ac_ext >&5
11464 glibcpp_cv_func___builtin_sin_use=no
11468 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11469 ac_cpp='$CPP $CPPFLAGS'
11470 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11471 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11472 cross_compiling=$ac_cv_prog_cc_cross
11478 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11479 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11480 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
11481 echo "configure:11482: checking for __builtin_sin linkage" >&5
11482 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11483 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11484 echo $ac_n "(cached) $ac_c" 1>&6
11487 cat > conftest.$ac_ext <<EOF
11488 #line 11489 "configure"
11489 #include "confdefs.h"
11495 if { (eval echo configure:11496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11497 glibcpp_cv_func___builtin_sin_link=yes
11499 echo "configure: failed program was:" >&5
11500 cat conftest.$ac_ext >&5
11502 glibcpp_cv_func___builtin_sin_link=no
11509 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11510 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11511 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11512 cat >> confdefs.h <<EOF
11513 #define ${ac_tr_func} 1
11520 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
11521 echo "configure:11522: checking for __builtin_sinl declaration" >&5
11522 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11523 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
11524 echo $ac_n "(cached) $ac_c" 1>&6
11529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11530 ac_cpp='$CXXCPP $CPPFLAGS'
11531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11533 cross_compiling=$ac_cv_prog_cxx_cross
11535 cat > conftest.$ac_ext <<EOF
11536 #line 11537 "configure"
11537 #include "confdefs.h"
11543 if { (eval echo configure:11544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11545 glibcpp_cv_func___builtin_sinl_use=yes
11547 echo "configure: failed program was:" >&5
11548 cat conftest.$ac_ext >&5
11550 glibcpp_cv_func___builtin_sinl_use=no
11554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11555 ac_cpp='$CPP $CPPFLAGS'
11556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11558 cross_compiling=$ac_cv_prog_cc_cross
11564 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
11565 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11566 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
11567 echo "configure:11568: checking for __builtin_sinl linkage" >&5
11568 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11569 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11570 echo $ac_n "(cached) $ac_c" 1>&6
11573 cat > conftest.$ac_ext <<EOF
11574 #line 11575 "configure"
11575 #include "confdefs.h"
11581 if { (eval echo configure:11582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11583 glibcpp_cv_func___builtin_sinl_link=yes
11585 echo "configure: failed program was:" >&5
11586 cat conftest.$ac_ext >&5
11588 glibcpp_cv_func___builtin_sinl_link=no
11595 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11596 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11597 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11598 cat >> confdefs.h <<EOF
11599 #define ${ac_tr_func} 1
11607 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
11608 echo "configure:11609: checking for __builtin_cosf declaration" >&5
11609 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11610 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11611 echo $ac_n "(cached) $ac_c" 1>&6
11616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11617 ac_cpp='$CXXCPP $CPPFLAGS'
11618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11620 cross_compiling=$ac_cv_prog_cxx_cross
11622 cat > conftest.$ac_ext <<EOF
11623 #line 11624 "configure"
11624 #include "confdefs.h"
11630 if { (eval echo configure:11631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11632 glibcpp_cv_func___builtin_cosf_use=yes
11634 echo "configure: failed program was:" >&5
11635 cat conftest.$ac_ext >&5
11637 glibcpp_cv_func___builtin_cosf_use=no
11641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11642 ac_cpp='$CPP $CPPFLAGS'
11643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11645 cross_compiling=$ac_cv_prog_cc_cross
11651 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11652 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11653 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
11654 echo "configure:11655: checking for __builtin_cosf linkage" >&5
11655 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11656 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11657 echo $ac_n "(cached) $ac_c" 1>&6
11660 cat > conftest.$ac_ext <<EOF
11661 #line 11662 "configure"
11662 #include "confdefs.h"
11668 if { (eval echo configure:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11670 glibcpp_cv_func___builtin_cosf_link=yes
11672 echo "configure: failed program was:" >&5
11673 cat conftest.$ac_ext >&5
11675 glibcpp_cv_func___builtin_cosf_link=no
11682 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11683 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11684 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11685 cat >> confdefs.h <<EOF
11686 #define ${ac_tr_func} 1
11693 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
11694 echo "configure:11695: checking for __builtin_cos declaration" >&5
11695 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11696 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11697 echo $ac_n "(cached) $ac_c" 1>&6
11702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11703 ac_cpp='$CXXCPP $CPPFLAGS'
11704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11706 cross_compiling=$ac_cv_prog_cxx_cross
11708 cat > conftest.$ac_ext <<EOF
11709 #line 11710 "configure"
11710 #include "confdefs.h"
11716 if { (eval echo configure:11717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11718 glibcpp_cv_func___builtin_cos_use=yes
11720 echo "configure: failed program was:" >&5
11721 cat conftest.$ac_ext >&5
11723 glibcpp_cv_func___builtin_cos_use=no
11727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11728 ac_cpp='$CPP $CPPFLAGS'
11729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11731 cross_compiling=$ac_cv_prog_cc_cross
11737 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11738 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11739 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
11740 echo "configure:11741: checking for __builtin_cos linkage" >&5
11741 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11742 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11743 echo $ac_n "(cached) $ac_c" 1>&6
11746 cat > conftest.$ac_ext <<EOF
11747 #line 11748 "configure"
11748 #include "confdefs.h"
11754 if { (eval echo configure:11755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11756 glibcpp_cv_func___builtin_cos_link=yes
11758 echo "configure: failed program was:" >&5
11759 cat conftest.$ac_ext >&5
11761 glibcpp_cv_func___builtin_cos_link=no
11768 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11769 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11770 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11771 cat >> confdefs.h <<EOF
11772 #define ${ac_tr_func} 1
11779 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
11780 echo "configure:11781: checking for __builtin_cosl declaration" >&5
11781 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11782 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11783 echo $ac_n "(cached) $ac_c" 1>&6
11788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11789 ac_cpp='$CXXCPP $CPPFLAGS'
11790 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11791 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11792 cross_compiling=$ac_cv_prog_cxx_cross
11794 cat > conftest.$ac_ext <<EOF
11795 #line 11796 "configure"
11796 #include "confdefs.h"
11802 if { (eval echo configure:11803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11804 glibcpp_cv_func___builtin_cosl_use=yes
11806 echo "configure: failed program was:" >&5
11807 cat conftest.$ac_ext >&5
11809 glibcpp_cv_func___builtin_cosl_use=no
11813 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11814 ac_cpp='$CPP $CPPFLAGS'
11815 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11816 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11817 cross_compiling=$ac_cv_prog_cc_cross
11823 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11824 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11825 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
11826 echo "configure:11827: checking for __builtin_cosl linkage" >&5
11827 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11828 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11829 echo $ac_n "(cached) $ac_c" 1>&6
11832 cat > conftest.$ac_ext <<EOF
11833 #line 11834 "configure"
11834 #include "confdefs.h"
11840 if { (eval echo configure:11841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11842 glibcpp_cv_func___builtin_cosl_link=yes
11844 echo "configure: failed program was:" >&5
11845 cat conftest.$ac_ext >&5
11847 glibcpp_cv_func___builtin_cosl_link=no
11854 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11855 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11856 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11857 cat >> confdefs.h <<EOF
11858 #define ${ac_tr_func} 1
11866 if test x$dummyvar = x"yes"; then
11867 cat >> confdefs.h <<\EOF
11868 #define HAVE___BUILTIN_ABS 1
11871 cat >> confdefs.h <<\EOF
11872 #define HAVE___BUILTIN_LABS 1
11875 cat >> confdefs.h <<\EOF
11876 #define HAVE___BUILTIN_COS 1
11879 cat >> confdefs.h <<\EOF
11880 #define HAVE___BUILTIN_COSF 1
11883 cat >> confdefs.h <<\EOF
11884 #define HAVE___BUILTIN_COSL 1
11887 cat >> confdefs.h <<\EOF
11888 #define HAVE___BUILTIN_FABS 1
11891 cat >> confdefs.h <<\EOF
11892 #define HAVE___BUILTIN_FABSF 1
11895 cat >> confdefs.h <<\EOF
11896 #define HAVE___BUILTIN_FABSL 1
11899 cat >> confdefs.h <<\EOF
11900 #define HAVE___BUILTIN_SIN 1
11903 cat >> confdefs.h <<\EOF
11904 #define HAVE___BUILTIN_SINF 1
11907 cat >> confdefs.h <<\EOF
11908 #define HAVE___BUILTIN_SINL 1
11911 cat >> confdefs.h <<\EOF
11912 #define HAVE___BUILTIN_SQRT 1
11915 cat >> confdefs.h <<\EOF
11916 #define HAVE___BUILTIN_SQRTF 1
11919 cat >> confdefs.h <<\EOF
11920 #define HAVE___BUILTIN_SQRTL 1
11926 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11927 ac_save_CXXFLAGS="$CXXFLAGS"
11928 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
11930 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
11931 echo "configure:11932: checking for sin in -lm" >&5
11932 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11933 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11934 echo $ac_n "(cached) $ac_c" 1>&6
11936 ac_save_LIBS="$LIBS"
11938 cat > conftest.$ac_ext <<EOF
11939 #line 11940 "configure"
11940 #include "confdefs.h"
11941 /* Override any gcc2 internal prototype to avoid an error. */
11942 /* We use char because int might match the return type of a gcc2
11943 builtin and then its argument prototype would still apply. */
11950 if { (eval echo configure:11951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11952 eval "ac_cv_lib_$ac_lib_var=yes"
11954 echo "configure: failed program was:" >&5
11955 cat conftest.$ac_ext >&5
11957 eval "ac_cv_lib_$ac_lib_var=no"
11960 LIBS="$ac_save_LIBS"
11963 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11964 echo "$ac_t""yes" 1>&6
11967 echo "$ac_t""no" 1>&6
11970 ac_save_LIBS="$LIBS"
11975 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
11976 echo "configure:11977: checking for isinf declaration" >&5
11977 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
11978 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
11979 echo $ac_n "(cached) $ac_c" 1>&6
11984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11985 ac_cpp='$CXXCPP $CPPFLAGS'
11986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11988 cross_compiling=$ac_cv_prog_cxx_cross
11990 cat > conftest.$ac_ext <<EOF
11991 #line 11992 "configure"
11992 #include "confdefs.h"
11994 #ifdef HAVE_IEEEFP_H
11995 #include <ieeefp.h>
12002 if { (eval echo configure:12003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12004 glibcpp_cv_func_isinf_use=yes
12006 echo "configure: failed program was:" >&5
12007 cat conftest.$ac_ext >&5
12009 glibcpp_cv_func_isinf_use=no
12013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12014 ac_cpp='$CPP $CPPFLAGS'
12015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12017 cross_compiling=$ac_cv_prog_cc_cross
12023 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
12025 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
12026 for ac_func in isinf
12028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12029 echo "configure:12030: checking for $ac_func" >&5
12030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12031 echo $ac_n "(cached) $ac_c" 1>&6
12033 cat > conftest.$ac_ext <<EOF
12034 #line 12035 "configure"
12035 #include "confdefs.h"
12036 /* System header to define __stub macros and hopefully few prototypes,
12037 which can conflict with char $ac_func(); below. */
12038 #include <assert.h>
12039 /* Override any gcc2 internal prototype to avoid an error. */
12040 /* We use char because int might match the return type of a gcc2
12041 builtin and then its argument prototype would still apply. */
12046 /* The GNU C library defines this for functions which it implements
12047 to always fail with ENOSYS. Some functions are actually named
12048 something starting with __ and the normal name is an alias. */
12049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12057 if { (eval echo configure:12058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12059 eval "ac_cv_func_$ac_func=yes"
12061 echo "configure: failed program was:" >&5
12062 cat conftest.$ac_ext >&5
12064 eval "ac_cv_func_$ac_func=no"
12069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12070 echo "$ac_t""yes" 1>&6
12071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12072 cat >> confdefs.h <<EOF
12073 #define $ac_tr_func 1
12077 echo "$ac_t""no" 1>&6
12083 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
12084 echo "configure:12085: checking for _isinf declaration" >&5
12085 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
12086 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
12087 echo $ac_n "(cached) $ac_c" 1>&6
12092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12093 ac_cpp='$CXXCPP $CPPFLAGS'
12094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12096 cross_compiling=$ac_cv_prog_cxx_cross
12098 cat > conftest.$ac_ext <<EOF
12099 #line 12100 "configure"
12100 #include "confdefs.h"
12102 #ifdef HAVE_IEEEFP_H
12103 #include <ieeefp.h>
12110 if { (eval echo configure:12111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12112 glibcpp_cv_func__isinf_use=yes
12114 echo "configure: failed program was:" >&5
12115 cat conftest.$ac_ext >&5
12117 glibcpp_cv_func__isinf_use=no
12121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12122 ac_cpp='$CPP $CPPFLAGS'
12123 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12124 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12125 cross_compiling=$ac_cv_prog_cc_cross
12131 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
12133 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
12134 for ac_func in _isinf
12136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12137 echo "configure:12138: checking for $ac_func" >&5
12138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12139 echo $ac_n "(cached) $ac_c" 1>&6
12141 cat > conftest.$ac_ext <<EOF
12142 #line 12143 "configure"
12143 #include "confdefs.h"
12144 /* System header to define __stub macros and hopefully few prototypes,
12145 which can conflict with char $ac_func(); below. */
12146 #include <assert.h>
12147 /* Override any gcc2 internal prototype to avoid an error. */
12148 /* We use char because int might match the return type of a gcc2
12149 builtin and then its argument prototype would still apply. */
12154 /* The GNU C library defines this for functions which it implements
12155 to always fail with ENOSYS. Some functions are actually named
12156 something starting with __ and the normal name is an alias. */
12157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12165 if { (eval echo configure:12166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12167 eval "ac_cv_func_$ac_func=yes"
12169 echo "configure: failed program was:" >&5
12170 cat conftest.$ac_ext >&5
12172 eval "ac_cv_func_$ac_func=no"
12177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12178 echo "$ac_t""yes" 1>&6
12179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12180 cat >> confdefs.h <<EOF
12181 #define $ac_tr_func 1
12185 echo "$ac_t""no" 1>&6
12194 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
12195 echo "configure:12196: checking for isnan declaration" >&5
12196 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12197 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12198 echo $ac_n "(cached) $ac_c" 1>&6
12203 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12204 ac_cpp='$CXXCPP $CPPFLAGS'
12205 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12206 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12207 cross_compiling=$ac_cv_prog_cxx_cross
12209 cat > conftest.$ac_ext <<EOF
12210 #line 12211 "configure"
12211 #include "confdefs.h"
12213 #ifdef HAVE_IEEEFP_H
12214 #include <ieeefp.h>
12221 if { (eval echo configure:12222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12223 glibcpp_cv_func_isnan_use=yes
12225 echo "configure: failed program was:" >&5
12226 cat conftest.$ac_ext >&5
12228 glibcpp_cv_func_isnan_use=no
12232 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12233 ac_cpp='$CPP $CPPFLAGS'
12234 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12235 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12236 cross_compiling=$ac_cv_prog_cc_cross
12242 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12244 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12245 for ac_func in isnan
12247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12248 echo "configure:12249: checking for $ac_func" >&5
12249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12250 echo $ac_n "(cached) $ac_c" 1>&6
12252 cat > conftest.$ac_ext <<EOF
12253 #line 12254 "configure"
12254 #include "confdefs.h"
12255 /* System header to define __stub macros and hopefully few prototypes,
12256 which can conflict with char $ac_func(); below. */
12257 #include <assert.h>
12258 /* Override any gcc2 internal prototype to avoid an error. */
12259 /* We use char because int might match the return type of a gcc2
12260 builtin and then its argument prototype would still apply. */
12265 /* The GNU C library defines this for functions which it implements
12266 to always fail with ENOSYS. Some functions are actually named
12267 something starting with __ and the normal name is an alias. */
12268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12276 if { (eval echo configure:12277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12278 eval "ac_cv_func_$ac_func=yes"
12280 echo "configure: failed program was:" >&5
12281 cat conftest.$ac_ext >&5
12283 eval "ac_cv_func_$ac_func=no"
12288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12289 echo "$ac_t""yes" 1>&6
12290 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12291 cat >> confdefs.h <<EOF
12292 #define $ac_tr_func 1
12296 echo "$ac_t""no" 1>&6
12302 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
12303 echo "configure:12304: checking for _isnan declaration" >&5
12304 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12305 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12306 echo $ac_n "(cached) $ac_c" 1>&6
12311 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12312 ac_cpp='$CXXCPP $CPPFLAGS'
12313 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12314 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12315 cross_compiling=$ac_cv_prog_cxx_cross
12317 cat > conftest.$ac_ext <<EOF
12318 #line 12319 "configure"
12319 #include "confdefs.h"
12321 #ifdef HAVE_IEEEFP_H
12322 #include <ieeefp.h>
12329 if { (eval echo configure:12330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12331 glibcpp_cv_func__isnan_use=yes
12333 echo "configure: failed program was:" >&5
12334 cat conftest.$ac_ext >&5
12336 glibcpp_cv_func__isnan_use=no
12340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12341 ac_cpp='$CPP $CPPFLAGS'
12342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12344 cross_compiling=$ac_cv_prog_cc_cross
12350 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12352 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12353 for ac_func in _isnan
12355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12356 echo "configure:12357: checking for $ac_func" >&5
12357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12358 echo $ac_n "(cached) $ac_c" 1>&6
12360 cat > conftest.$ac_ext <<EOF
12361 #line 12362 "configure"
12362 #include "confdefs.h"
12363 /* System header to define __stub macros and hopefully few prototypes,
12364 which can conflict with char $ac_func(); below. */
12365 #include <assert.h>
12366 /* Override any gcc2 internal prototype to avoid an error. */
12367 /* We use char because int might match the return type of a gcc2
12368 builtin and then its argument prototype would still apply. */
12373 /* The GNU C library defines this for functions which it implements
12374 to always fail with ENOSYS. Some functions are actually named
12375 something starting with __ and the normal name is an alias. */
12376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12384 if { (eval echo configure:12385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12386 eval "ac_cv_func_$ac_func=yes"
12388 echo "configure: failed program was:" >&5
12389 cat conftest.$ac_ext >&5
12391 eval "ac_cv_func_$ac_func=no"
12396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12397 echo "$ac_t""yes" 1>&6
12398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12399 cat >> confdefs.h <<EOF
12400 #define $ac_tr_func 1
12404 echo "$ac_t""no" 1>&6
12413 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
12414 echo "configure:12415: checking for finite declaration" >&5
12415 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12416 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12417 echo $ac_n "(cached) $ac_c" 1>&6
12422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12423 ac_cpp='$CXXCPP $CPPFLAGS'
12424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12426 cross_compiling=$ac_cv_prog_cxx_cross
12428 cat > conftest.$ac_ext <<EOF
12429 #line 12430 "configure"
12430 #include "confdefs.h"
12432 #ifdef HAVE_IEEEFP_H
12433 #include <ieeefp.h>
12440 if { (eval echo configure:12441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12442 glibcpp_cv_func_finite_use=yes
12444 echo "configure: failed program was:" >&5
12445 cat conftest.$ac_ext >&5
12447 glibcpp_cv_func_finite_use=no
12451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12452 ac_cpp='$CPP $CPPFLAGS'
12453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12455 cross_compiling=$ac_cv_prog_cc_cross
12461 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12463 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12464 for ac_func in finite
12466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12467 echo "configure:12468: checking for $ac_func" >&5
12468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12469 echo $ac_n "(cached) $ac_c" 1>&6
12471 cat > conftest.$ac_ext <<EOF
12472 #line 12473 "configure"
12473 #include "confdefs.h"
12474 /* System header to define __stub macros and hopefully few prototypes,
12475 which can conflict with char $ac_func(); below. */
12476 #include <assert.h>
12477 /* Override any gcc2 internal prototype to avoid an error. */
12478 /* We use char because int might match the return type of a gcc2
12479 builtin and then its argument prototype would still apply. */
12484 /* The GNU C library defines this for functions which it implements
12485 to always fail with ENOSYS. Some functions are actually named
12486 something starting with __ and the normal name is an alias. */
12487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12495 if { (eval echo configure:12496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12497 eval "ac_cv_func_$ac_func=yes"
12499 echo "configure: failed program was:" >&5
12500 cat conftest.$ac_ext >&5
12502 eval "ac_cv_func_$ac_func=no"
12507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12508 echo "$ac_t""yes" 1>&6
12509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12510 cat >> confdefs.h <<EOF
12511 #define $ac_tr_func 1
12515 echo "$ac_t""no" 1>&6
12521 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
12522 echo "configure:12523: checking for _finite declaration" >&5
12523 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12524 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12525 echo $ac_n "(cached) $ac_c" 1>&6
12530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12531 ac_cpp='$CXXCPP $CPPFLAGS'
12532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12534 cross_compiling=$ac_cv_prog_cxx_cross
12536 cat > conftest.$ac_ext <<EOF
12537 #line 12538 "configure"
12538 #include "confdefs.h"
12540 #ifdef HAVE_IEEEFP_H
12541 #include <ieeefp.h>
12548 if { (eval echo configure:12549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12550 glibcpp_cv_func__finite_use=yes
12552 echo "configure: failed program was:" >&5
12553 cat conftest.$ac_ext >&5
12555 glibcpp_cv_func__finite_use=no
12559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12560 ac_cpp='$CPP $CPPFLAGS'
12561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12563 cross_compiling=$ac_cv_prog_cc_cross
12569 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12571 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12572 for ac_func in _finite
12574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12575 echo "configure:12576: checking for $ac_func" >&5
12576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12577 echo $ac_n "(cached) $ac_c" 1>&6
12579 cat > conftest.$ac_ext <<EOF
12580 #line 12581 "configure"
12581 #include "confdefs.h"
12582 /* System header to define __stub macros and hopefully few prototypes,
12583 which can conflict with char $ac_func(); below. */
12584 #include <assert.h>
12585 /* Override any gcc2 internal prototype to avoid an error. */
12586 /* We use char because int might match the return type of a gcc2
12587 builtin and then its argument prototype would still apply. */
12592 /* The GNU C library defines this for functions which it implements
12593 to always fail with ENOSYS. Some functions are actually named
12594 something starting with __ and the normal name is an alias. */
12595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12603 if { (eval echo configure:12604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12605 eval "ac_cv_func_$ac_func=yes"
12607 echo "configure: failed program was:" >&5
12608 cat conftest.$ac_ext >&5
12610 eval "ac_cv_func_$ac_func=no"
12615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12616 echo "$ac_t""yes" 1>&6
12617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12618 cat >> confdefs.h <<EOF
12619 #define $ac_tr_func 1
12623 echo "$ac_t""no" 1>&6
12632 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
12633 echo "configure:12634: checking for copysign declaration" >&5
12634 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12635 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12636 echo $ac_n "(cached) $ac_c" 1>&6
12641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12642 ac_cpp='$CXXCPP $CPPFLAGS'
12643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12645 cross_compiling=$ac_cv_prog_cxx_cross
12647 cat > conftest.$ac_ext <<EOF
12648 #line 12649 "configure"
12649 #include "confdefs.h"
12655 if { (eval echo configure:12656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12657 glibcpp_cv_func_copysign_use=yes
12659 echo "configure: failed program was:" >&5
12660 cat conftest.$ac_ext >&5
12662 glibcpp_cv_func_copysign_use=no
12666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12667 ac_cpp='$CPP $CPPFLAGS'
12668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12670 cross_compiling=$ac_cv_prog_cc_cross
12676 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12678 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12679 for ac_func in copysign
12681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12682 echo "configure:12683: checking for $ac_func" >&5
12683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12684 echo $ac_n "(cached) $ac_c" 1>&6
12686 cat > conftest.$ac_ext <<EOF
12687 #line 12688 "configure"
12688 #include "confdefs.h"
12689 /* System header to define __stub macros and hopefully few prototypes,
12690 which can conflict with char $ac_func(); below. */
12691 #include <assert.h>
12692 /* Override any gcc2 internal prototype to avoid an error. */
12693 /* We use char because int might match the return type of a gcc2
12694 builtin and then its argument prototype would still apply. */
12699 /* The GNU C library defines this for functions which it implements
12700 to always fail with ENOSYS. Some functions are actually named
12701 something starting with __ and the normal name is an alias. */
12702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12710 if { (eval echo configure:12711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12712 eval "ac_cv_func_$ac_func=yes"
12714 echo "configure: failed program was:" >&5
12715 cat conftest.$ac_ext >&5
12717 eval "ac_cv_func_$ac_func=no"
12722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12723 echo "$ac_t""yes" 1>&6
12724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12725 cat >> confdefs.h <<EOF
12726 #define $ac_tr_func 1
12730 echo "$ac_t""no" 1>&6
12736 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
12737 echo "configure:12738: checking for _copysign declaration" >&5
12738 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12739 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12740 echo $ac_n "(cached) $ac_c" 1>&6
12745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12746 ac_cpp='$CXXCPP $CPPFLAGS'
12747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12749 cross_compiling=$ac_cv_prog_cxx_cross
12751 cat > conftest.$ac_ext <<EOF
12752 #line 12753 "configure"
12753 #include "confdefs.h"
12759 if { (eval echo configure:12760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12761 glibcpp_cv_func__copysign_use=yes
12763 echo "configure: failed program was:" >&5
12764 cat conftest.$ac_ext >&5
12766 glibcpp_cv_func__copysign_use=no
12770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12771 ac_cpp='$CPP $CPPFLAGS'
12772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12774 cross_compiling=$ac_cv_prog_cc_cross
12780 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12782 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12783 for ac_func in _copysign
12785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12786 echo "configure:12787: checking for $ac_func" >&5
12787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12788 echo $ac_n "(cached) $ac_c" 1>&6
12790 cat > conftest.$ac_ext <<EOF
12791 #line 12792 "configure"
12792 #include "confdefs.h"
12793 /* System header to define __stub macros and hopefully few prototypes,
12794 which can conflict with char $ac_func(); below. */
12795 #include <assert.h>
12796 /* Override any gcc2 internal prototype to avoid an error. */
12797 /* We use char because int might match the return type of a gcc2
12798 builtin and then its argument prototype would still apply. */
12803 /* The GNU C library defines this for functions which it implements
12804 to always fail with ENOSYS. Some functions are actually named
12805 something starting with __ and the normal name is an alias. */
12806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12814 if { (eval echo configure:12815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12816 eval "ac_cv_func_$ac_func=yes"
12818 echo "configure: failed program was:" >&5
12819 cat conftest.$ac_ext >&5
12821 eval "ac_cv_func_$ac_func=no"
12826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12827 echo "$ac_t""yes" 1>&6
12828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12829 cat >> confdefs.h <<EOF
12830 #define $ac_tr_func 1
12834 echo "$ac_t""no" 1>&6
12843 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
12844 echo "configure:12845: checking for sincos declaration" >&5
12845 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12846 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12847 echo $ac_n "(cached) $ac_c" 1>&6
12852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12853 ac_cpp='$CXXCPP $CPPFLAGS'
12854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12856 cross_compiling=$ac_cv_prog_cxx_cross
12858 cat > conftest.$ac_ext <<EOF
12859 #line 12860 "configure"
12860 #include "confdefs.h"
12866 if { (eval echo configure:12867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12868 glibcpp_cv_func_sincos_use=yes
12870 echo "configure: failed program was:" >&5
12871 cat conftest.$ac_ext >&5
12873 glibcpp_cv_func_sincos_use=no
12877 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12878 ac_cpp='$CPP $CPPFLAGS'
12879 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12880 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12881 cross_compiling=$ac_cv_prog_cc_cross
12887 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12889 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12890 for ac_func in sincos
12892 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12893 echo "configure:12894: checking for $ac_func" >&5
12894 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12895 echo $ac_n "(cached) $ac_c" 1>&6
12897 cat > conftest.$ac_ext <<EOF
12898 #line 12899 "configure"
12899 #include "confdefs.h"
12900 /* System header to define __stub macros and hopefully few prototypes,
12901 which can conflict with char $ac_func(); below. */
12902 #include <assert.h>
12903 /* Override any gcc2 internal prototype to avoid an error. */
12904 /* We use char because int might match the return type of a gcc2
12905 builtin and then its argument prototype would still apply. */
12910 /* The GNU C library defines this for functions which it implements
12911 to always fail with ENOSYS. Some functions are actually named
12912 something starting with __ and the normal name is an alias. */
12913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12921 if { (eval echo configure:12922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12923 eval "ac_cv_func_$ac_func=yes"
12925 echo "configure: failed program was:" >&5
12926 cat conftest.$ac_ext >&5
12928 eval "ac_cv_func_$ac_func=no"
12933 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12934 echo "$ac_t""yes" 1>&6
12935 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12936 cat >> confdefs.h <<EOF
12937 #define $ac_tr_func 1
12941 echo "$ac_t""no" 1>&6
12947 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
12948 echo "configure:12949: checking for _sincos declaration" >&5
12949 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
12950 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
12951 echo $ac_n "(cached) $ac_c" 1>&6
12956 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12957 ac_cpp='$CXXCPP $CPPFLAGS'
12958 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12959 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12960 cross_compiling=$ac_cv_prog_cxx_cross
12962 cat > conftest.$ac_ext <<EOF
12963 #line 12964 "configure"
12964 #include "confdefs.h"
12970 if { (eval echo configure:12971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12972 glibcpp_cv_func__sincos_use=yes
12974 echo "configure: failed program was:" >&5
12975 cat conftest.$ac_ext >&5
12977 glibcpp_cv_func__sincos_use=no
12981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12982 ac_cpp='$CPP $CPPFLAGS'
12983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12985 cross_compiling=$ac_cv_prog_cc_cross
12991 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
12993 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
12994 for ac_func in _sincos
12996 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12997 echo "configure:12998: checking for $ac_func" >&5
12998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12999 echo $ac_n "(cached) $ac_c" 1>&6
13001 cat > conftest.$ac_ext <<EOF
13002 #line 13003 "configure"
13003 #include "confdefs.h"
13004 /* System header to define __stub macros and hopefully few prototypes,
13005 which can conflict with char $ac_func(); below. */
13006 #include <assert.h>
13007 /* Override any gcc2 internal prototype to avoid an error. */
13008 /* We use char because int might match the return type of a gcc2
13009 builtin and then its argument prototype would still apply. */
13014 /* The GNU C library defines this for functions which it implements
13015 to always fail with ENOSYS. Some functions are actually named
13016 something starting with __ and the normal name is an alias. */
13017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13025 if { (eval echo configure:13026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13027 eval "ac_cv_func_$ac_func=yes"
13029 echo "configure: failed program was:" >&5
13030 cat conftest.$ac_ext >&5
13032 eval "ac_cv_func_$ac_func=no"
13037 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13038 echo "$ac_t""yes" 1>&6
13039 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13040 cat >> confdefs.h <<EOF
13041 #define $ac_tr_func 1
13045 echo "$ac_t""no" 1>&6
13054 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
13055 echo "configure:13056: checking for fpclass declaration" >&5
13056 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
13057 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
13058 echo $ac_n "(cached) $ac_c" 1>&6
13063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13064 ac_cpp='$CXXCPP $CPPFLAGS'
13065 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13066 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13067 cross_compiling=$ac_cv_prog_cxx_cross
13069 cat > conftest.$ac_ext <<EOF
13070 #line 13071 "configure"
13071 #include "confdefs.h"
13073 #ifdef HAVE_IEEEFP_H
13074 #include <ieeefp.h>
13081 if { (eval echo configure:13082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13083 glibcpp_cv_func_fpclass_use=yes
13085 echo "configure: failed program was:" >&5
13086 cat conftest.$ac_ext >&5
13088 glibcpp_cv_func_fpclass_use=no
13092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13093 ac_cpp='$CPP $CPPFLAGS'
13094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13096 cross_compiling=$ac_cv_prog_cc_cross
13102 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
13104 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
13105 for ac_func in fpclass
13107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13108 echo "configure:13109: checking for $ac_func" >&5
13109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13110 echo $ac_n "(cached) $ac_c" 1>&6
13112 cat > conftest.$ac_ext <<EOF
13113 #line 13114 "configure"
13114 #include "confdefs.h"
13115 /* System header to define __stub macros and hopefully few prototypes,
13116 which can conflict with char $ac_func(); below. */
13117 #include <assert.h>
13118 /* Override any gcc2 internal prototype to avoid an error. */
13119 /* We use char because int might match the return type of a gcc2
13120 builtin and then its argument prototype would still apply. */
13125 /* The GNU C library defines this for functions which it implements
13126 to always fail with ENOSYS. Some functions are actually named
13127 something starting with __ and the normal name is an alias. */
13128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13136 if { (eval echo configure:13137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13138 eval "ac_cv_func_$ac_func=yes"
13140 echo "configure: failed program was:" >&5
13141 cat conftest.$ac_ext >&5
13143 eval "ac_cv_func_$ac_func=no"
13148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13149 echo "$ac_t""yes" 1>&6
13150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13151 cat >> confdefs.h <<EOF
13152 #define $ac_tr_func 1
13156 echo "$ac_t""no" 1>&6
13162 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
13163 echo "configure:13164: checking for _fpclass declaration" >&5
13164 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13165 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13166 echo $ac_n "(cached) $ac_c" 1>&6
13171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13172 ac_cpp='$CXXCPP $CPPFLAGS'
13173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13175 cross_compiling=$ac_cv_prog_cxx_cross
13177 cat > conftest.$ac_ext <<EOF
13178 #line 13179 "configure"
13179 #include "confdefs.h"
13181 #ifdef HAVE_IEEEFP_H
13182 #include <ieeefp.h>
13189 if { (eval echo configure:13190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13191 glibcpp_cv_func__fpclass_use=yes
13193 echo "configure: failed program was:" >&5
13194 cat conftest.$ac_ext >&5
13196 glibcpp_cv_func__fpclass_use=no
13200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13201 ac_cpp='$CPP $CPPFLAGS'
13202 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13203 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13204 cross_compiling=$ac_cv_prog_cc_cross
13210 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13212 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13213 for ac_func in _fpclass
13215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13216 echo "configure:13217: checking for $ac_func" >&5
13217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13218 echo $ac_n "(cached) $ac_c" 1>&6
13220 cat > conftest.$ac_ext <<EOF
13221 #line 13222 "configure"
13222 #include "confdefs.h"
13223 /* System header to define __stub macros and hopefully few prototypes,
13224 which can conflict with char $ac_func(); below. */
13225 #include <assert.h>
13226 /* Override any gcc2 internal prototype to avoid an error. */
13227 /* We use char because int might match the return type of a gcc2
13228 builtin and then its argument prototype would still apply. */
13233 /* The GNU C library defines this for functions which it implements
13234 to always fail with ENOSYS. Some functions are actually named
13235 something starting with __ and the normal name is an alias. */
13236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13244 if { (eval echo configure:13245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13246 eval "ac_cv_func_$ac_func=yes"
13248 echo "configure: failed program was:" >&5
13249 cat conftest.$ac_ext >&5
13251 eval "ac_cv_func_$ac_func=no"
13256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13257 echo "$ac_t""yes" 1>&6
13258 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13259 cat >> confdefs.h <<EOF
13260 #define $ac_tr_func 1
13264 echo "$ac_t""no" 1>&6
13273 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
13274 echo "configure:13275: checking for qfpclass declaration" >&5
13275 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13276 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13277 echo $ac_n "(cached) $ac_c" 1>&6
13282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13283 ac_cpp='$CXXCPP $CPPFLAGS'
13284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13286 cross_compiling=$ac_cv_prog_cxx_cross
13288 cat > conftest.$ac_ext <<EOF
13289 #line 13290 "configure"
13290 #include "confdefs.h"
13292 #ifdef HAVE_IEEEFP_H
13293 #include <ieeefp.h>
13300 if { (eval echo configure:13301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13302 glibcpp_cv_func_qfpclass_use=yes
13304 echo "configure: failed program was:" >&5
13305 cat conftest.$ac_ext >&5
13307 glibcpp_cv_func_qfpclass_use=no
13311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13312 ac_cpp='$CPP $CPPFLAGS'
13313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13315 cross_compiling=$ac_cv_prog_cc_cross
13321 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13323 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13324 for ac_func in qfpclass
13326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13327 echo "configure:13328: checking for $ac_func" >&5
13328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13329 echo $ac_n "(cached) $ac_c" 1>&6
13331 cat > conftest.$ac_ext <<EOF
13332 #line 13333 "configure"
13333 #include "confdefs.h"
13334 /* System header to define __stub macros and hopefully few prototypes,
13335 which can conflict with char $ac_func(); below. */
13336 #include <assert.h>
13337 /* Override any gcc2 internal prototype to avoid an error. */
13338 /* We use char because int might match the return type of a gcc2
13339 builtin and then its argument prototype would still apply. */
13344 /* The GNU C library defines this for functions which it implements
13345 to always fail with ENOSYS. Some functions are actually named
13346 something starting with __ and the normal name is an alias. */
13347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13355 if { (eval echo configure:13356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13357 eval "ac_cv_func_$ac_func=yes"
13359 echo "configure: failed program was:" >&5
13360 cat conftest.$ac_ext >&5
13362 eval "ac_cv_func_$ac_func=no"
13367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13368 echo "$ac_t""yes" 1>&6
13369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13370 cat >> confdefs.h <<EOF
13371 #define $ac_tr_func 1
13375 echo "$ac_t""no" 1>&6
13381 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
13382 echo "configure:13383: checking for _qfpclass declaration" >&5
13383 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13384 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13385 echo $ac_n "(cached) $ac_c" 1>&6
13390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13391 ac_cpp='$CXXCPP $CPPFLAGS'
13392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13394 cross_compiling=$ac_cv_prog_cxx_cross
13396 cat > conftest.$ac_ext <<EOF
13397 #line 13398 "configure"
13398 #include "confdefs.h"
13400 #ifdef HAVE_IEEEFP_H
13401 #include <ieeefp.h>
13408 if { (eval echo configure:13409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13410 glibcpp_cv_func__qfpclass_use=yes
13412 echo "configure: failed program was:" >&5
13413 cat conftest.$ac_ext >&5
13415 glibcpp_cv_func__qfpclass_use=no
13419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13420 ac_cpp='$CPP $CPPFLAGS'
13421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13423 cross_compiling=$ac_cv_prog_cc_cross
13429 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13431 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13432 for ac_func in _qfpclass
13434 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13435 echo "configure:13436: checking for $ac_func" >&5
13436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13437 echo $ac_n "(cached) $ac_c" 1>&6
13439 cat > conftest.$ac_ext <<EOF
13440 #line 13441 "configure"
13441 #include "confdefs.h"
13442 /* System header to define __stub macros and hopefully few prototypes,
13443 which can conflict with char $ac_func(); below. */
13444 #include <assert.h>
13445 /* Override any gcc2 internal prototype to avoid an error. */
13446 /* We use char because int might match the return type of a gcc2
13447 builtin and then its argument prototype would still apply. */
13452 /* The GNU C library defines this for functions which it implements
13453 to always fail with ENOSYS. Some functions are actually named
13454 something starting with __ and the normal name is an alias. */
13455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13463 if { (eval echo configure:13464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13465 eval "ac_cv_func_$ac_func=yes"
13467 echo "configure: failed program was:" >&5
13468 cat conftest.$ac_ext >&5
13470 eval "ac_cv_func_$ac_func=no"
13475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13476 echo "$ac_t""yes" 1>&6
13477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13478 cat >> confdefs.h <<EOF
13479 #define $ac_tr_func 1
13483 echo "$ac_t""no" 1>&6
13492 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
13493 echo "configure:13494: checking for hypot declaration" >&5
13494 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13495 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13496 echo $ac_n "(cached) $ac_c" 1>&6
13501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13502 ac_cpp='$CXXCPP $CPPFLAGS'
13503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13505 cross_compiling=$ac_cv_prog_cxx_cross
13507 cat > conftest.$ac_ext <<EOF
13508 #line 13509 "configure"
13509 #include "confdefs.h"
13515 if { (eval echo configure:13516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13517 glibcpp_cv_func_hypot_use=yes
13519 echo "configure: failed program was:" >&5
13520 cat conftest.$ac_ext >&5
13522 glibcpp_cv_func_hypot_use=no
13526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13527 ac_cpp='$CPP $CPPFLAGS'
13528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13529 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13530 cross_compiling=$ac_cv_prog_cc_cross
13536 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13538 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13539 for ac_func in hypot
13541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13542 echo "configure:13543: checking for $ac_func" >&5
13543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13544 echo $ac_n "(cached) $ac_c" 1>&6
13546 cat > conftest.$ac_ext <<EOF
13547 #line 13548 "configure"
13548 #include "confdefs.h"
13549 /* System header to define __stub macros and hopefully few prototypes,
13550 which can conflict with char $ac_func(); below. */
13551 #include <assert.h>
13552 /* Override any gcc2 internal prototype to avoid an error. */
13553 /* We use char because int might match the return type of a gcc2
13554 builtin and then its argument prototype would still apply. */
13559 /* The GNU C library defines this for functions which it implements
13560 to always fail with ENOSYS. Some functions are actually named
13561 something starting with __ and the normal name is an alias. */
13562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13570 if { (eval echo configure:13571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13572 eval "ac_cv_func_$ac_func=yes"
13574 echo "configure: failed program was:" >&5
13575 cat conftest.$ac_ext >&5
13577 eval "ac_cv_func_$ac_func=no"
13582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13583 echo "$ac_t""yes" 1>&6
13584 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13585 cat >> confdefs.h <<EOF
13586 #define $ac_tr_func 1
13590 echo "$ac_t""no" 1>&6
13596 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
13597 echo "configure:13598: checking for _hypot declaration" >&5
13598 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13599 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13600 echo $ac_n "(cached) $ac_c" 1>&6
13605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13606 ac_cpp='$CXXCPP $CPPFLAGS'
13607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13609 cross_compiling=$ac_cv_prog_cxx_cross
13611 cat > conftest.$ac_ext <<EOF
13612 #line 13613 "configure"
13613 #include "confdefs.h"
13619 if { (eval echo configure:13620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13621 glibcpp_cv_func__hypot_use=yes
13623 echo "configure: failed program was:" >&5
13624 cat conftest.$ac_ext >&5
13626 glibcpp_cv_func__hypot_use=no
13630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13631 ac_cpp='$CPP $CPPFLAGS'
13632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13634 cross_compiling=$ac_cv_prog_cc_cross
13640 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13642 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13643 for ac_func in _hypot
13645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13646 echo "configure:13647: checking for $ac_func" >&5
13647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13648 echo $ac_n "(cached) $ac_c" 1>&6
13650 cat > conftest.$ac_ext <<EOF
13651 #line 13652 "configure"
13652 #include "confdefs.h"
13653 /* System header to define __stub macros and hopefully few prototypes,
13654 which can conflict with char $ac_func(); below. */
13655 #include <assert.h>
13656 /* Override any gcc2 internal prototype to avoid an error. */
13657 /* We use char because int might match the return type of a gcc2
13658 builtin and then its argument prototype would still apply. */
13663 /* The GNU C library defines this for functions which it implements
13664 to always fail with ENOSYS. Some functions are actually named
13665 something starting with __ and the normal name is an alias. */
13666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13674 if { (eval echo configure:13675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13676 eval "ac_cv_func_$ac_func=yes"
13678 echo "configure: failed program was:" >&5
13679 cat conftest.$ac_ext >&5
13681 eval "ac_cv_func_$ac_func=no"
13686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13687 echo "$ac_t""yes" 1>&6
13688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13689 cat >> confdefs.h <<EOF
13690 #define $ac_tr_func 1
13694 echo "$ac_t""no" 1>&6
13703 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
13704 echo "configure:13705: checking for float trig functions" >&5
13705 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13706 echo $ac_n "(cached) $ac_c" 1>&6
13711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13712 ac_cpp='$CXXCPP $CPPFLAGS'
13713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13715 cross_compiling=$ac_cv_prog_cxx_cross
13717 cat > conftest.$ac_ext <<EOF
13718 #line 13719 "configure"
13719 #include "confdefs.h"
13722 `for x in acosf asinf atanf \
13724 coshf sinhf tanhf; do echo "$x (0);"; done`
13727 if { (eval echo configure:13728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13729 glibcpp_cv_func_float_trig_use=yes
13731 echo "configure: failed program was:" >&5
13732 cat conftest.$ac_ext >&5
13734 glibcpp_cv_func_float_trig_use=no
13738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13739 ac_cpp='$CPP $CPPFLAGS'
13740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13742 cross_compiling=$ac_cv_prog_cc_cross
13746 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13747 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13748 for ac_func in acosf asinf atanf \
13752 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13753 echo "configure:13754: checking for $ac_func" >&5
13754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13755 echo $ac_n "(cached) $ac_c" 1>&6
13757 cat > conftest.$ac_ext <<EOF
13758 #line 13759 "configure"
13759 #include "confdefs.h"
13760 /* System header to define __stub macros and hopefully few prototypes,
13761 which can conflict with char $ac_func(); below. */
13762 #include <assert.h>
13763 /* Override any gcc2 internal prototype to avoid an error. */
13764 /* We use char because int might match the return type of a gcc2
13765 builtin and then its argument prototype would still apply. */
13770 /* The GNU C library defines this for functions which it implements
13771 to always fail with ENOSYS. Some functions are actually named
13772 something starting with __ and the normal name is an alias. */
13773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13781 if { (eval echo configure:13782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13783 eval "ac_cv_func_$ac_func=yes"
13785 echo "configure: failed program was:" >&5
13786 cat conftest.$ac_ext >&5
13788 eval "ac_cv_func_$ac_func=no"
13793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13794 echo "$ac_t""yes" 1>&6
13795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13796 cat >> confdefs.h <<EOF
13797 #define $ac_tr_func 1
13801 echo "$ac_t""no" 1>&6
13808 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
13809 echo "configure:13810: checking for float round functions" >&5
13810 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13811 echo $ac_n "(cached) $ac_c" 1>&6
13816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13817 ac_cpp='$CXXCPP $CPPFLAGS'
13818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13820 cross_compiling=$ac_cv_prog_cxx_cross
13822 cat > conftest.$ac_ext <<EOF
13823 #line 13824 "configure"
13824 #include "confdefs.h"
13827 `for x in ceilf floorf; do echo "$x (0);"; done`
13830 if { (eval echo configure:13831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13832 glibcpp_cv_func_float_round_use=yes
13834 echo "configure: failed program was:" >&5
13835 cat conftest.$ac_ext >&5
13837 glibcpp_cv_func_float_round_use=no
13841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13845 cross_compiling=$ac_cv_prog_cc_cross
13849 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13850 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13851 for ac_func in ceilf floorf
13853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13854 echo "configure:13855: checking for $ac_func" >&5
13855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13856 echo $ac_n "(cached) $ac_c" 1>&6
13858 cat > conftest.$ac_ext <<EOF
13859 #line 13860 "configure"
13860 #include "confdefs.h"
13861 /* System header to define __stub macros and hopefully few prototypes,
13862 which can conflict with char $ac_func(); below. */
13863 #include <assert.h>
13864 /* Override any gcc2 internal prototype to avoid an error. */
13865 /* We use char because int might match the return type of a gcc2
13866 builtin and then its argument prototype would still apply. */
13871 /* The GNU C library defines this for functions which it implements
13872 to always fail with ENOSYS. Some functions are actually named
13873 something starting with __ and the normal name is an alias. */
13874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13882 if { (eval echo configure:13883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13884 eval "ac_cv_func_$ac_func=yes"
13886 echo "configure: failed program was:" >&5
13887 cat conftest.$ac_ext >&5
13889 eval "ac_cv_func_$ac_func=no"
13894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13895 echo "$ac_t""yes" 1>&6
13896 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13897 cat >> confdefs.h <<EOF
13898 #define $ac_tr_func 1
13902 echo "$ac_t""no" 1>&6
13910 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
13911 echo "configure:13912: checking for expf declaration" >&5
13912 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13913 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13914 echo $ac_n "(cached) $ac_c" 1>&6
13919 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13920 ac_cpp='$CXXCPP $CPPFLAGS'
13921 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13922 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13923 cross_compiling=$ac_cv_prog_cxx_cross
13925 cat > conftest.$ac_ext <<EOF
13926 #line 13927 "configure"
13927 #include "confdefs.h"
13929 #ifdef HAVE_IEEEFP_H
13930 #include <ieeefp.h>
13937 if { (eval echo configure:13938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13939 glibcpp_cv_func_expf_use=yes
13941 echo "configure: failed program was:" >&5
13942 cat conftest.$ac_ext >&5
13944 glibcpp_cv_func_expf_use=no
13948 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13949 ac_cpp='$CPP $CPPFLAGS'
13950 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13951 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13952 cross_compiling=$ac_cv_prog_cc_cross
13958 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
13960 if test x$glibcpp_cv_func_expf_use = x"yes"; then
13961 for ac_func in expf
13963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13964 echo "configure:13965: checking for $ac_func" >&5
13965 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13966 echo $ac_n "(cached) $ac_c" 1>&6
13968 cat > conftest.$ac_ext <<EOF
13969 #line 13970 "configure"
13970 #include "confdefs.h"
13971 /* System header to define __stub macros and hopefully few prototypes,
13972 which can conflict with char $ac_func(); below. */
13973 #include <assert.h>
13974 /* Override any gcc2 internal prototype to avoid an error. */
13975 /* We use char because int might match the return type of a gcc2
13976 builtin and then its argument prototype would still apply. */
13981 /* The GNU C library defines this for functions which it implements
13982 to always fail with ENOSYS. Some functions are actually named
13983 something starting with __ and the normal name is an alias. */
13984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13992 if { (eval echo configure:13993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13994 eval "ac_cv_func_$ac_func=yes"
13996 echo "configure: failed program was:" >&5
13997 cat conftest.$ac_ext >&5
13999 eval "ac_cv_func_$ac_func=no"
14004 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14005 echo "$ac_t""yes" 1>&6
14006 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14007 cat >> confdefs.h <<EOF
14008 #define $ac_tr_func 1
14012 echo "$ac_t""no" 1>&6
14018 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
14019 echo "configure:14020: checking for _expf declaration" >&5
14020 if test x${glibcpp_cv_func__expf_use+set} != xset; then
14021 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
14022 echo $ac_n "(cached) $ac_c" 1>&6
14027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14028 ac_cpp='$CXXCPP $CPPFLAGS'
14029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14031 cross_compiling=$ac_cv_prog_cxx_cross
14033 cat > conftest.$ac_ext <<EOF
14034 #line 14035 "configure"
14035 #include "confdefs.h"
14037 #ifdef HAVE_IEEEFP_H
14038 #include <ieeefp.h>
14045 if { (eval echo configure:14046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14047 glibcpp_cv_func__expf_use=yes
14049 echo "configure: failed program was:" >&5
14050 cat conftest.$ac_ext >&5
14052 glibcpp_cv_func__expf_use=no
14056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14057 ac_cpp='$CPP $CPPFLAGS'
14058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14060 cross_compiling=$ac_cv_prog_cc_cross
14066 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
14068 if test x$glibcpp_cv_func__expf_use = x"yes"; then
14069 for ac_func in _expf
14071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14072 echo "configure:14073: checking for $ac_func" >&5
14073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14074 echo $ac_n "(cached) $ac_c" 1>&6
14076 cat > conftest.$ac_ext <<EOF
14077 #line 14078 "configure"
14078 #include "confdefs.h"
14079 /* System header to define __stub macros and hopefully few prototypes,
14080 which can conflict with char $ac_func(); below. */
14081 #include <assert.h>
14082 /* Override any gcc2 internal prototype to avoid an error. */
14083 /* We use char because int might match the return type of a gcc2
14084 builtin and then its argument prototype would still apply. */
14089 /* The GNU C library defines this for functions which it implements
14090 to always fail with ENOSYS. Some functions are actually named
14091 something starting with __ and the normal name is an alias. */
14092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14100 if { (eval echo configure:14101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14102 eval "ac_cv_func_$ac_func=yes"
14104 echo "configure: failed program was:" >&5
14105 cat conftest.$ac_ext >&5
14107 eval "ac_cv_func_$ac_func=no"
14112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14113 echo "$ac_t""yes" 1>&6
14114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14115 cat >> confdefs.h <<EOF
14116 #define $ac_tr_func 1
14120 echo "$ac_t""no" 1>&6
14129 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
14130 echo "configure:14131: checking for isnanf declaration" >&5
14131 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
14132 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
14133 echo $ac_n "(cached) $ac_c" 1>&6
14138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14139 ac_cpp='$CXXCPP $CPPFLAGS'
14140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14142 cross_compiling=$ac_cv_prog_cxx_cross
14144 cat > conftest.$ac_ext <<EOF
14145 #line 14146 "configure"
14146 #include "confdefs.h"
14148 #ifdef HAVE_IEEEFP_H
14149 #include <ieeefp.h>
14156 if { (eval echo configure:14157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14158 glibcpp_cv_func_isnanf_use=yes
14160 echo "configure: failed program was:" >&5
14161 cat conftest.$ac_ext >&5
14163 glibcpp_cv_func_isnanf_use=no
14167 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14168 ac_cpp='$CPP $CPPFLAGS'
14169 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14170 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14171 cross_compiling=$ac_cv_prog_cc_cross
14177 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14179 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14180 for ac_func in isnanf
14182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14183 echo "configure:14184: checking for $ac_func" >&5
14184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14185 echo $ac_n "(cached) $ac_c" 1>&6
14187 cat > conftest.$ac_ext <<EOF
14188 #line 14189 "configure"
14189 #include "confdefs.h"
14190 /* System header to define __stub macros and hopefully few prototypes,
14191 which can conflict with char $ac_func(); below. */
14192 #include <assert.h>
14193 /* Override any gcc2 internal prototype to avoid an error. */
14194 /* We use char because int might match the return type of a gcc2
14195 builtin and then its argument prototype would still apply. */
14200 /* The GNU C library defines this for functions which it implements
14201 to always fail with ENOSYS. Some functions are actually named
14202 something starting with __ and the normal name is an alias. */
14203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14211 if { (eval echo configure:14212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14213 eval "ac_cv_func_$ac_func=yes"
14215 echo "configure: failed program was:" >&5
14216 cat conftest.$ac_ext >&5
14218 eval "ac_cv_func_$ac_func=no"
14223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14224 echo "$ac_t""yes" 1>&6
14225 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14226 cat >> confdefs.h <<EOF
14227 #define $ac_tr_func 1
14231 echo "$ac_t""no" 1>&6
14237 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
14238 echo "configure:14239: checking for _isnanf declaration" >&5
14239 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14240 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14241 echo $ac_n "(cached) $ac_c" 1>&6
14246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14247 ac_cpp='$CXXCPP $CPPFLAGS'
14248 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14249 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14250 cross_compiling=$ac_cv_prog_cxx_cross
14252 cat > conftest.$ac_ext <<EOF
14253 #line 14254 "configure"
14254 #include "confdefs.h"
14256 #ifdef HAVE_IEEEFP_H
14257 #include <ieeefp.h>
14264 if { (eval echo configure:14265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14266 glibcpp_cv_func__isnanf_use=yes
14268 echo "configure: failed program was:" >&5
14269 cat conftest.$ac_ext >&5
14271 glibcpp_cv_func__isnanf_use=no
14275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14276 ac_cpp='$CPP $CPPFLAGS'
14277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14279 cross_compiling=$ac_cv_prog_cc_cross
14285 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14287 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14288 for ac_func in _isnanf
14290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14291 echo "configure:14292: checking for $ac_func" >&5
14292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14293 echo $ac_n "(cached) $ac_c" 1>&6
14295 cat > conftest.$ac_ext <<EOF
14296 #line 14297 "configure"
14297 #include "confdefs.h"
14298 /* System header to define __stub macros and hopefully few prototypes,
14299 which can conflict with char $ac_func(); below. */
14300 #include <assert.h>
14301 /* Override any gcc2 internal prototype to avoid an error. */
14302 /* We use char because int might match the return type of a gcc2
14303 builtin and then its argument prototype would still apply. */
14308 /* The GNU C library defines this for functions which it implements
14309 to always fail with ENOSYS. Some functions are actually named
14310 something starting with __ and the normal name is an alias. */
14311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14319 if { (eval echo configure:14320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14321 eval "ac_cv_func_$ac_func=yes"
14323 echo "configure: failed program was:" >&5
14324 cat conftest.$ac_ext >&5
14326 eval "ac_cv_func_$ac_func=no"
14331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14332 echo "$ac_t""yes" 1>&6
14333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14334 cat >> confdefs.h <<EOF
14335 #define $ac_tr_func 1
14339 echo "$ac_t""no" 1>&6
14348 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
14349 echo "configure:14350: checking for isinff declaration" >&5
14350 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14351 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14352 echo $ac_n "(cached) $ac_c" 1>&6
14357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14358 ac_cpp='$CXXCPP $CPPFLAGS'
14359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14361 cross_compiling=$ac_cv_prog_cxx_cross
14363 cat > conftest.$ac_ext <<EOF
14364 #line 14365 "configure"
14365 #include "confdefs.h"
14367 #ifdef HAVE_IEEEFP_H
14368 #include <ieeefp.h>
14375 if { (eval echo configure:14376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14377 glibcpp_cv_func_isinff_use=yes
14379 echo "configure: failed program was:" >&5
14380 cat conftest.$ac_ext >&5
14382 glibcpp_cv_func_isinff_use=no
14386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14387 ac_cpp='$CPP $CPPFLAGS'
14388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14390 cross_compiling=$ac_cv_prog_cc_cross
14396 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14398 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14399 for ac_func in isinff
14401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14402 echo "configure:14403: checking for $ac_func" >&5
14403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14404 echo $ac_n "(cached) $ac_c" 1>&6
14406 cat > conftest.$ac_ext <<EOF
14407 #line 14408 "configure"
14408 #include "confdefs.h"
14409 /* System header to define __stub macros and hopefully few prototypes,
14410 which can conflict with char $ac_func(); below. */
14411 #include <assert.h>
14412 /* Override any gcc2 internal prototype to avoid an error. */
14413 /* We use char because int might match the return type of a gcc2
14414 builtin and then its argument prototype would still apply. */
14419 /* The GNU C library defines this for functions which it implements
14420 to always fail with ENOSYS. Some functions are actually named
14421 something starting with __ and the normal name is an alias. */
14422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14430 if { (eval echo configure:14431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14432 eval "ac_cv_func_$ac_func=yes"
14434 echo "configure: failed program was:" >&5
14435 cat conftest.$ac_ext >&5
14437 eval "ac_cv_func_$ac_func=no"
14442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14443 echo "$ac_t""yes" 1>&6
14444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14445 cat >> confdefs.h <<EOF
14446 #define $ac_tr_func 1
14450 echo "$ac_t""no" 1>&6
14456 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
14457 echo "configure:14458: checking for _isinff declaration" >&5
14458 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14459 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14460 echo $ac_n "(cached) $ac_c" 1>&6
14465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14466 ac_cpp='$CXXCPP $CPPFLAGS'
14467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14469 cross_compiling=$ac_cv_prog_cxx_cross
14471 cat > conftest.$ac_ext <<EOF
14472 #line 14473 "configure"
14473 #include "confdefs.h"
14475 #ifdef HAVE_IEEEFP_H
14476 #include <ieeefp.h>
14483 if { (eval echo configure:14484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14485 glibcpp_cv_func__isinff_use=yes
14487 echo "configure: failed program was:" >&5
14488 cat conftest.$ac_ext >&5
14490 glibcpp_cv_func__isinff_use=no
14494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14498 cross_compiling=$ac_cv_prog_cc_cross
14504 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14506 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14507 for ac_func in _isinff
14509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14510 echo "configure:14511: checking for $ac_func" >&5
14511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14512 echo $ac_n "(cached) $ac_c" 1>&6
14514 cat > conftest.$ac_ext <<EOF
14515 #line 14516 "configure"
14516 #include "confdefs.h"
14517 /* System header to define __stub macros and hopefully few prototypes,
14518 which can conflict with char $ac_func(); below. */
14519 #include <assert.h>
14520 /* Override any gcc2 internal prototype to avoid an error. */
14521 /* We use char because int might match the return type of a gcc2
14522 builtin and then its argument prototype would still apply. */
14527 /* The GNU C library defines this for functions which it implements
14528 to always fail with ENOSYS. Some functions are actually named
14529 something starting with __ and the normal name is an alias. */
14530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14538 if { (eval echo configure:14539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14540 eval "ac_cv_func_$ac_func=yes"
14542 echo "configure: failed program was:" >&5
14543 cat conftest.$ac_ext >&5
14545 eval "ac_cv_func_$ac_func=no"
14550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14551 echo "$ac_t""yes" 1>&6
14552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14553 cat >> confdefs.h <<EOF
14554 #define $ac_tr_func 1
14558 echo "$ac_t""no" 1>&6
14567 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
14568 echo "configure:14569: checking for atan2f declaration" >&5
14569 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14570 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14571 echo $ac_n "(cached) $ac_c" 1>&6
14576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14577 ac_cpp='$CXXCPP $CPPFLAGS'
14578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14580 cross_compiling=$ac_cv_prog_cxx_cross
14582 cat > conftest.$ac_ext <<EOF
14583 #line 14584 "configure"
14584 #include "confdefs.h"
14590 if { (eval echo configure:14591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14592 glibcpp_cv_func_atan2f_use=yes
14594 echo "configure: failed program was:" >&5
14595 cat conftest.$ac_ext >&5
14597 glibcpp_cv_func_atan2f_use=no
14601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14602 ac_cpp='$CPP $CPPFLAGS'
14603 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14604 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14605 cross_compiling=$ac_cv_prog_cc_cross
14611 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14613 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14614 for ac_func in atan2f
14616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14617 echo "configure:14618: checking for $ac_func" >&5
14618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14619 echo $ac_n "(cached) $ac_c" 1>&6
14621 cat > conftest.$ac_ext <<EOF
14622 #line 14623 "configure"
14623 #include "confdefs.h"
14624 /* System header to define __stub macros and hopefully few prototypes,
14625 which can conflict with char $ac_func(); below. */
14626 #include <assert.h>
14627 /* Override any gcc2 internal prototype to avoid an error. */
14628 /* We use char because int might match the return type of a gcc2
14629 builtin and then its argument prototype would still apply. */
14634 /* The GNU C library defines this for functions which it implements
14635 to always fail with ENOSYS. Some functions are actually named
14636 something starting with __ and the normal name is an alias. */
14637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14645 if { (eval echo configure:14646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14647 eval "ac_cv_func_$ac_func=yes"
14649 echo "configure: failed program was:" >&5
14650 cat conftest.$ac_ext >&5
14652 eval "ac_cv_func_$ac_func=no"
14657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14658 echo "$ac_t""yes" 1>&6
14659 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14660 cat >> confdefs.h <<EOF
14661 #define $ac_tr_func 1
14665 echo "$ac_t""no" 1>&6
14671 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
14672 echo "configure:14673: checking for _atan2f declaration" >&5
14673 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14674 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14675 echo $ac_n "(cached) $ac_c" 1>&6
14680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14681 ac_cpp='$CXXCPP $CPPFLAGS'
14682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14684 cross_compiling=$ac_cv_prog_cxx_cross
14686 cat > conftest.$ac_ext <<EOF
14687 #line 14688 "configure"
14688 #include "confdefs.h"
14694 if { (eval echo configure:14695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14696 glibcpp_cv_func__atan2f_use=yes
14698 echo "configure: failed program was:" >&5
14699 cat conftest.$ac_ext >&5
14701 glibcpp_cv_func__atan2f_use=no
14705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14706 ac_cpp='$CPP $CPPFLAGS'
14707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14709 cross_compiling=$ac_cv_prog_cc_cross
14715 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14717 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14718 for ac_func in _atan2f
14720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14721 echo "configure:14722: checking for $ac_func" >&5
14722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14723 echo $ac_n "(cached) $ac_c" 1>&6
14725 cat > conftest.$ac_ext <<EOF
14726 #line 14727 "configure"
14727 #include "confdefs.h"
14728 /* System header to define __stub macros and hopefully few prototypes,
14729 which can conflict with char $ac_func(); below. */
14730 #include <assert.h>
14731 /* Override any gcc2 internal prototype to avoid an error. */
14732 /* We use char because int might match the return type of a gcc2
14733 builtin and then its argument prototype would still apply. */
14738 /* The GNU C library defines this for functions which it implements
14739 to always fail with ENOSYS. Some functions are actually named
14740 something starting with __ and the normal name is an alias. */
14741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14749 if { (eval echo configure:14750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14751 eval "ac_cv_func_$ac_func=yes"
14753 echo "configure: failed program was:" >&5
14754 cat conftest.$ac_ext >&5
14756 eval "ac_cv_func_$ac_func=no"
14761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14762 echo "$ac_t""yes" 1>&6
14763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14764 cat >> confdefs.h <<EOF
14765 #define $ac_tr_func 1
14769 echo "$ac_t""no" 1>&6
14778 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
14779 echo "configure:14780: checking for fabsf declaration" >&5
14780 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14781 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14782 echo $ac_n "(cached) $ac_c" 1>&6
14787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14788 ac_cpp='$CXXCPP $CPPFLAGS'
14789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14791 cross_compiling=$ac_cv_prog_cxx_cross
14793 cat > conftest.$ac_ext <<EOF
14794 #line 14795 "configure"
14795 #include "confdefs.h"
14797 #ifdef HAVE_IEEEFP_H
14798 #include <ieeefp.h>
14805 if { (eval echo configure:14806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14807 glibcpp_cv_func_fabsf_use=yes
14809 echo "configure: failed program was:" >&5
14810 cat conftest.$ac_ext >&5
14812 glibcpp_cv_func_fabsf_use=no
14816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14817 ac_cpp='$CPP $CPPFLAGS'
14818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14820 cross_compiling=$ac_cv_prog_cc_cross
14826 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14828 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14829 for ac_func in fabsf
14831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14832 echo "configure:14833: checking for $ac_func" >&5
14833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14834 echo $ac_n "(cached) $ac_c" 1>&6
14836 cat > conftest.$ac_ext <<EOF
14837 #line 14838 "configure"
14838 #include "confdefs.h"
14839 /* System header to define __stub macros and hopefully few prototypes,
14840 which can conflict with char $ac_func(); below. */
14841 #include <assert.h>
14842 /* Override any gcc2 internal prototype to avoid an error. */
14843 /* We use char because int might match the return type of a gcc2
14844 builtin and then its argument prototype would still apply. */
14849 /* The GNU C library defines this for functions which it implements
14850 to always fail with ENOSYS. Some functions are actually named
14851 something starting with __ and the normal name is an alias. */
14852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14860 if { (eval echo configure:14861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14862 eval "ac_cv_func_$ac_func=yes"
14864 echo "configure: failed program was:" >&5
14865 cat conftest.$ac_ext >&5
14867 eval "ac_cv_func_$ac_func=no"
14872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14873 echo "$ac_t""yes" 1>&6
14874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14875 cat >> confdefs.h <<EOF
14876 #define $ac_tr_func 1
14880 echo "$ac_t""no" 1>&6
14886 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
14887 echo "configure:14888: checking for _fabsf declaration" >&5
14888 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14889 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14890 echo $ac_n "(cached) $ac_c" 1>&6
14895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14896 ac_cpp='$CXXCPP $CPPFLAGS'
14897 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14898 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14899 cross_compiling=$ac_cv_prog_cxx_cross
14901 cat > conftest.$ac_ext <<EOF
14902 #line 14903 "configure"
14903 #include "confdefs.h"
14905 #ifdef HAVE_IEEEFP_H
14906 #include <ieeefp.h>
14913 if { (eval echo configure:14914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14915 glibcpp_cv_func__fabsf_use=yes
14917 echo "configure: failed program was:" >&5
14918 cat conftest.$ac_ext >&5
14920 glibcpp_cv_func__fabsf_use=no
14924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14925 ac_cpp='$CPP $CPPFLAGS'
14926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14928 cross_compiling=$ac_cv_prog_cc_cross
14934 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14936 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14937 for ac_func in _fabsf
14939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14940 echo "configure:14941: checking for $ac_func" >&5
14941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14942 echo $ac_n "(cached) $ac_c" 1>&6
14944 cat > conftest.$ac_ext <<EOF
14945 #line 14946 "configure"
14946 #include "confdefs.h"
14947 /* System header to define __stub macros and hopefully few prototypes,
14948 which can conflict with char $ac_func(); below. */
14949 #include <assert.h>
14950 /* Override any gcc2 internal prototype to avoid an error. */
14951 /* We use char because int might match the return type of a gcc2
14952 builtin and then its argument prototype would still apply. */
14957 /* The GNU C library defines this for functions which it implements
14958 to always fail with ENOSYS. Some functions are actually named
14959 something starting with __ and the normal name is an alias. */
14960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14968 if { (eval echo configure:14969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14970 eval "ac_cv_func_$ac_func=yes"
14972 echo "configure: failed program was:" >&5
14973 cat conftest.$ac_ext >&5
14975 eval "ac_cv_func_$ac_func=no"
14980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14981 echo "$ac_t""yes" 1>&6
14982 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14983 cat >> confdefs.h <<EOF
14984 #define $ac_tr_func 1
14988 echo "$ac_t""no" 1>&6
14997 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
14998 echo "configure:14999: checking for fmodf declaration" >&5
14999 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
15000 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
15001 echo $ac_n "(cached) $ac_c" 1>&6
15006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15007 ac_cpp='$CXXCPP $CPPFLAGS'
15008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15010 cross_compiling=$ac_cv_prog_cxx_cross
15012 cat > conftest.$ac_ext <<EOF
15013 #line 15014 "configure"
15014 #include "confdefs.h"
15020 if { (eval echo configure:15021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15022 glibcpp_cv_func_fmodf_use=yes
15024 echo "configure: failed program was:" >&5
15025 cat conftest.$ac_ext >&5
15027 glibcpp_cv_func_fmodf_use=no
15031 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15032 ac_cpp='$CPP $CPPFLAGS'
15033 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15034 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15035 cross_compiling=$ac_cv_prog_cc_cross
15041 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
15043 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
15044 for ac_func in fmodf
15046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15047 echo "configure:15048: checking for $ac_func" >&5
15048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15049 echo $ac_n "(cached) $ac_c" 1>&6
15051 cat > conftest.$ac_ext <<EOF
15052 #line 15053 "configure"
15053 #include "confdefs.h"
15054 /* System header to define __stub macros and hopefully few prototypes,
15055 which can conflict with char $ac_func(); below. */
15056 #include <assert.h>
15057 /* Override any gcc2 internal prototype to avoid an error. */
15058 /* We use char because int might match the return type of a gcc2
15059 builtin and then its argument prototype would still apply. */
15064 /* The GNU C library defines this for functions which it implements
15065 to always fail with ENOSYS. Some functions are actually named
15066 something starting with __ and the normal name is an alias. */
15067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15075 if { (eval echo configure:15076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15077 eval "ac_cv_func_$ac_func=yes"
15079 echo "configure: failed program was:" >&5
15080 cat conftest.$ac_ext >&5
15082 eval "ac_cv_func_$ac_func=no"
15087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15088 echo "$ac_t""yes" 1>&6
15089 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15090 cat >> confdefs.h <<EOF
15091 #define $ac_tr_func 1
15095 echo "$ac_t""no" 1>&6
15101 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
15102 echo "configure:15103: checking for _fmodf declaration" >&5
15103 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
15104 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
15105 echo $ac_n "(cached) $ac_c" 1>&6
15110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15111 ac_cpp='$CXXCPP $CPPFLAGS'
15112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15114 cross_compiling=$ac_cv_prog_cxx_cross
15116 cat > conftest.$ac_ext <<EOF
15117 #line 15118 "configure"
15118 #include "confdefs.h"
15124 if { (eval echo configure:15125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15126 glibcpp_cv_func__fmodf_use=yes
15128 echo "configure: failed program was:" >&5
15129 cat conftest.$ac_ext >&5
15131 glibcpp_cv_func__fmodf_use=no
15135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15136 ac_cpp='$CPP $CPPFLAGS'
15137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15139 cross_compiling=$ac_cv_prog_cc_cross
15145 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
15147 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
15148 for ac_func in _fmodf
15150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15151 echo "configure:15152: checking for $ac_func" >&5
15152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15153 echo $ac_n "(cached) $ac_c" 1>&6
15155 cat > conftest.$ac_ext <<EOF
15156 #line 15157 "configure"
15157 #include "confdefs.h"
15158 /* System header to define __stub macros and hopefully few prototypes,
15159 which can conflict with char $ac_func(); below. */
15160 #include <assert.h>
15161 /* Override any gcc2 internal prototype to avoid an error. */
15162 /* We use char because int might match the return type of a gcc2
15163 builtin and then its argument prototype would still apply. */
15168 /* The GNU C library defines this for functions which it implements
15169 to always fail with ENOSYS. Some functions are actually named
15170 something starting with __ and the normal name is an alias. */
15171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15179 if { (eval echo configure:15180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15181 eval "ac_cv_func_$ac_func=yes"
15183 echo "configure: failed program was:" >&5
15184 cat conftest.$ac_ext >&5
15186 eval "ac_cv_func_$ac_func=no"
15191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15192 echo "$ac_t""yes" 1>&6
15193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15194 cat >> confdefs.h <<EOF
15195 #define $ac_tr_func 1
15199 echo "$ac_t""no" 1>&6
15208 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
15209 echo "configure:15210: checking for frexpf declaration" >&5
15210 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15211 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15212 echo $ac_n "(cached) $ac_c" 1>&6
15217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15218 ac_cpp='$CXXCPP $CPPFLAGS'
15219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15221 cross_compiling=$ac_cv_prog_cxx_cross
15223 cat > conftest.$ac_ext <<EOF
15224 #line 15225 "configure"
15225 #include "confdefs.h"
15231 if { (eval echo configure:15232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15233 glibcpp_cv_func_frexpf_use=yes
15235 echo "configure: failed program was:" >&5
15236 cat conftest.$ac_ext >&5
15238 glibcpp_cv_func_frexpf_use=no
15242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15243 ac_cpp='$CPP $CPPFLAGS'
15244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15246 cross_compiling=$ac_cv_prog_cc_cross
15252 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15254 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15255 for ac_func in frexpf
15257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15258 echo "configure:15259: checking for $ac_func" >&5
15259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15260 echo $ac_n "(cached) $ac_c" 1>&6
15262 cat > conftest.$ac_ext <<EOF
15263 #line 15264 "configure"
15264 #include "confdefs.h"
15265 /* System header to define __stub macros and hopefully few prototypes,
15266 which can conflict with char $ac_func(); below. */
15267 #include <assert.h>
15268 /* Override any gcc2 internal prototype to avoid an error. */
15269 /* We use char because int might match the return type of a gcc2
15270 builtin and then its argument prototype would still apply. */
15275 /* The GNU C library defines this for functions which it implements
15276 to always fail with ENOSYS. Some functions are actually named
15277 something starting with __ and the normal name is an alias. */
15278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15286 if { (eval echo configure:15287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15288 eval "ac_cv_func_$ac_func=yes"
15290 echo "configure: failed program was:" >&5
15291 cat conftest.$ac_ext >&5
15293 eval "ac_cv_func_$ac_func=no"
15298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15299 echo "$ac_t""yes" 1>&6
15300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15301 cat >> confdefs.h <<EOF
15302 #define $ac_tr_func 1
15306 echo "$ac_t""no" 1>&6
15312 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
15313 echo "configure:15314: checking for _frexpf declaration" >&5
15314 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15315 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15316 echo $ac_n "(cached) $ac_c" 1>&6
15321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15322 ac_cpp='$CXXCPP $CPPFLAGS'
15323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15325 cross_compiling=$ac_cv_prog_cxx_cross
15327 cat > conftest.$ac_ext <<EOF
15328 #line 15329 "configure"
15329 #include "confdefs.h"
15335 if { (eval echo configure:15336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15337 glibcpp_cv_func__frexpf_use=yes
15339 echo "configure: failed program was:" >&5
15340 cat conftest.$ac_ext >&5
15342 glibcpp_cv_func__frexpf_use=no
15346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15347 ac_cpp='$CPP $CPPFLAGS'
15348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15350 cross_compiling=$ac_cv_prog_cc_cross
15356 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15358 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15359 for ac_func in _frexpf
15361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15362 echo "configure:15363: checking for $ac_func" >&5
15363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15364 echo $ac_n "(cached) $ac_c" 1>&6
15366 cat > conftest.$ac_ext <<EOF
15367 #line 15368 "configure"
15368 #include "confdefs.h"
15369 /* System header to define __stub macros and hopefully few prototypes,
15370 which can conflict with char $ac_func(); below. */
15371 #include <assert.h>
15372 /* Override any gcc2 internal prototype to avoid an error. */
15373 /* We use char because int might match the return type of a gcc2
15374 builtin and then its argument prototype would still apply. */
15379 /* The GNU C library defines this for functions which it implements
15380 to always fail with ENOSYS. Some functions are actually named
15381 something starting with __ and the normal name is an alias. */
15382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15390 if { (eval echo configure:15391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15392 eval "ac_cv_func_$ac_func=yes"
15394 echo "configure: failed program was:" >&5
15395 cat conftest.$ac_ext >&5
15397 eval "ac_cv_func_$ac_func=no"
15402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15403 echo "$ac_t""yes" 1>&6
15404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15405 cat >> confdefs.h <<EOF
15406 #define $ac_tr_func 1
15410 echo "$ac_t""no" 1>&6
15419 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
15420 echo "configure:15421: checking for hypotf declaration" >&5
15421 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15422 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15423 echo $ac_n "(cached) $ac_c" 1>&6
15428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15429 ac_cpp='$CXXCPP $CPPFLAGS'
15430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15432 cross_compiling=$ac_cv_prog_cxx_cross
15434 cat > conftest.$ac_ext <<EOF
15435 #line 15436 "configure"
15436 #include "confdefs.h"
15442 if { (eval echo configure:15443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15444 glibcpp_cv_func_hypotf_use=yes
15446 echo "configure: failed program was:" >&5
15447 cat conftest.$ac_ext >&5
15449 glibcpp_cv_func_hypotf_use=no
15453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15454 ac_cpp='$CPP $CPPFLAGS'
15455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15457 cross_compiling=$ac_cv_prog_cc_cross
15463 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15465 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15466 for ac_func in hypotf
15468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15469 echo "configure:15470: checking for $ac_func" >&5
15470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15471 echo $ac_n "(cached) $ac_c" 1>&6
15473 cat > conftest.$ac_ext <<EOF
15474 #line 15475 "configure"
15475 #include "confdefs.h"
15476 /* System header to define __stub macros and hopefully few prototypes,
15477 which can conflict with char $ac_func(); below. */
15478 #include <assert.h>
15479 /* Override any gcc2 internal prototype to avoid an error. */
15480 /* We use char because int might match the return type of a gcc2
15481 builtin and then its argument prototype would still apply. */
15486 /* The GNU C library defines this for functions which it implements
15487 to always fail with ENOSYS. Some functions are actually named
15488 something starting with __ and the normal name is an alias. */
15489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15497 if { (eval echo configure:15498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15499 eval "ac_cv_func_$ac_func=yes"
15501 echo "configure: failed program was:" >&5
15502 cat conftest.$ac_ext >&5
15504 eval "ac_cv_func_$ac_func=no"
15509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15510 echo "$ac_t""yes" 1>&6
15511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15512 cat >> confdefs.h <<EOF
15513 #define $ac_tr_func 1
15517 echo "$ac_t""no" 1>&6
15523 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
15524 echo "configure:15525: checking for _hypotf declaration" >&5
15525 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15526 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15527 echo $ac_n "(cached) $ac_c" 1>&6
15532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15533 ac_cpp='$CXXCPP $CPPFLAGS'
15534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15536 cross_compiling=$ac_cv_prog_cxx_cross
15538 cat > conftest.$ac_ext <<EOF
15539 #line 15540 "configure"
15540 #include "confdefs.h"
15546 if { (eval echo configure:15547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15548 glibcpp_cv_func__hypotf_use=yes
15550 echo "configure: failed program was:" >&5
15551 cat conftest.$ac_ext >&5
15553 glibcpp_cv_func__hypotf_use=no
15557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15558 ac_cpp='$CPP $CPPFLAGS'
15559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15561 cross_compiling=$ac_cv_prog_cc_cross
15567 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15569 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15570 for ac_func in _hypotf
15572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15573 echo "configure:15574: checking for $ac_func" >&5
15574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15575 echo $ac_n "(cached) $ac_c" 1>&6
15577 cat > conftest.$ac_ext <<EOF
15578 #line 15579 "configure"
15579 #include "confdefs.h"
15580 /* System header to define __stub macros and hopefully few prototypes,
15581 which can conflict with char $ac_func(); below. */
15582 #include <assert.h>
15583 /* Override any gcc2 internal prototype to avoid an error. */
15584 /* We use char because int might match the return type of a gcc2
15585 builtin and then its argument prototype would still apply. */
15590 /* The GNU C library defines this for functions which it implements
15591 to always fail with ENOSYS. Some functions are actually named
15592 something starting with __ and the normal name is an alias. */
15593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15601 if { (eval echo configure:15602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15603 eval "ac_cv_func_$ac_func=yes"
15605 echo "configure: failed program was:" >&5
15606 cat conftest.$ac_ext >&5
15608 eval "ac_cv_func_$ac_func=no"
15613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15614 echo "$ac_t""yes" 1>&6
15615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15616 cat >> confdefs.h <<EOF
15617 #define $ac_tr_func 1
15621 echo "$ac_t""no" 1>&6
15630 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
15631 echo "configure:15632: checking for ldexpf declaration" >&5
15632 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15633 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15634 echo $ac_n "(cached) $ac_c" 1>&6
15639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15640 ac_cpp='$CXXCPP $CPPFLAGS'
15641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15643 cross_compiling=$ac_cv_prog_cxx_cross
15645 cat > conftest.$ac_ext <<EOF
15646 #line 15647 "configure"
15647 #include "confdefs.h"
15653 if { (eval echo configure:15654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15655 glibcpp_cv_func_ldexpf_use=yes
15657 echo "configure: failed program was:" >&5
15658 cat conftest.$ac_ext >&5
15660 glibcpp_cv_func_ldexpf_use=no
15664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15665 ac_cpp='$CPP $CPPFLAGS'
15666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15668 cross_compiling=$ac_cv_prog_cc_cross
15674 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15676 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15677 for ac_func in ldexpf
15679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15680 echo "configure:15681: checking for $ac_func" >&5
15681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15682 echo $ac_n "(cached) $ac_c" 1>&6
15684 cat > conftest.$ac_ext <<EOF
15685 #line 15686 "configure"
15686 #include "confdefs.h"
15687 /* System header to define __stub macros and hopefully few prototypes,
15688 which can conflict with char $ac_func(); below. */
15689 #include <assert.h>
15690 /* Override any gcc2 internal prototype to avoid an error. */
15691 /* We use char because int might match the return type of a gcc2
15692 builtin and then its argument prototype would still apply. */
15697 /* The GNU C library defines this for functions which it implements
15698 to always fail with ENOSYS. Some functions are actually named
15699 something starting with __ and the normal name is an alias. */
15700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15708 if { (eval echo configure:15709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15710 eval "ac_cv_func_$ac_func=yes"
15712 echo "configure: failed program was:" >&5
15713 cat conftest.$ac_ext >&5
15715 eval "ac_cv_func_$ac_func=no"
15720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15721 echo "$ac_t""yes" 1>&6
15722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15723 cat >> confdefs.h <<EOF
15724 #define $ac_tr_func 1
15728 echo "$ac_t""no" 1>&6
15734 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
15735 echo "configure:15736: checking for _ldexpf declaration" >&5
15736 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15737 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15738 echo $ac_n "(cached) $ac_c" 1>&6
15743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15744 ac_cpp='$CXXCPP $CPPFLAGS'
15745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15747 cross_compiling=$ac_cv_prog_cxx_cross
15749 cat > conftest.$ac_ext <<EOF
15750 #line 15751 "configure"
15751 #include "confdefs.h"
15757 if { (eval echo configure:15758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15759 glibcpp_cv_func__ldexpf_use=yes
15761 echo "configure: failed program was:" >&5
15762 cat conftest.$ac_ext >&5
15764 glibcpp_cv_func__ldexpf_use=no
15768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15772 cross_compiling=$ac_cv_prog_cc_cross
15778 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15780 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15781 for ac_func in _ldexpf
15783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15784 echo "configure:15785: checking for $ac_func" >&5
15785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15786 echo $ac_n "(cached) $ac_c" 1>&6
15788 cat > conftest.$ac_ext <<EOF
15789 #line 15790 "configure"
15790 #include "confdefs.h"
15791 /* System header to define __stub macros and hopefully few prototypes,
15792 which can conflict with char $ac_func(); below. */
15793 #include <assert.h>
15794 /* Override any gcc2 internal prototype to avoid an error. */
15795 /* We use char because int might match the return type of a gcc2
15796 builtin and then its argument prototype would still apply. */
15801 /* The GNU C library defines this for functions which it implements
15802 to always fail with ENOSYS. Some functions are actually named
15803 something starting with __ and the normal name is an alias. */
15804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15812 if { (eval echo configure:15813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15814 eval "ac_cv_func_$ac_func=yes"
15816 echo "configure: failed program was:" >&5
15817 cat conftest.$ac_ext >&5
15819 eval "ac_cv_func_$ac_func=no"
15824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15825 echo "$ac_t""yes" 1>&6
15826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15827 cat >> confdefs.h <<EOF
15828 #define $ac_tr_func 1
15832 echo "$ac_t""no" 1>&6
15841 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
15842 echo "configure:15843: checking for logf declaration" >&5
15843 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15844 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15845 echo $ac_n "(cached) $ac_c" 1>&6
15850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15851 ac_cpp='$CXXCPP $CPPFLAGS'
15852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15854 cross_compiling=$ac_cv_prog_cxx_cross
15856 cat > conftest.$ac_ext <<EOF
15857 #line 15858 "configure"
15858 #include "confdefs.h"
15860 #ifdef HAVE_IEEEFP_H
15861 #include <ieeefp.h>
15868 if { (eval echo configure:15869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15870 glibcpp_cv_func_logf_use=yes
15872 echo "configure: failed program was:" >&5
15873 cat conftest.$ac_ext >&5
15875 glibcpp_cv_func_logf_use=no
15879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15880 ac_cpp='$CPP $CPPFLAGS'
15881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15883 cross_compiling=$ac_cv_prog_cc_cross
15889 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15891 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15892 for ac_func in logf
15894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15895 echo "configure:15896: checking for $ac_func" >&5
15896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15897 echo $ac_n "(cached) $ac_c" 1>&6
15899 cat > conftest.$ac_ext <<EOF
15900 #line 15901 "configure"
15901 #include "confdefs.h"
15902 /* System header to define __stub macros and hopefully few prototypes,
15903 which can conflict with char $ac_func(); below. */
15904 #include <assert.h>
15905 /* Override any gcc2 internal prototype to avoid an error. */
15906 /* We use char because int might match the return type of a gcc2
15907 builtin and then its argument prototype would still apply. */
15912 /* The GNU C library defines this for functions which it implements
15913 to always fail with ENOSYS. Some functions are actually named
15914 something starting with __ and the normal name is an alias. */
15915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15923 if { (eval echo configure:15924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15925 eval "ac_cv_func_$ac_func=yes"
15927 echo "configure: failed program was:" >&5
15928 cat conftest.$ac_ext >&5
15930 eval "ac_cv_func_$ac_func=no"
15935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15936 echo "$ac_t""yes" 1>&6
15937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15938 cat >> confdefs.h <<EOF
15939 #define $ac_tr_func 1
15943 echo "$ac_t""no" 1>&6
15949 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
15950 echo "configure:15951: checking for _logf declaration" >&5
15951 if test x${glibcpp_cv_func__logf_use+set} != xset; then
15952 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
15953 echo $ac_n "(cached) $ac_c" 1>&6
15958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15959 ac_cpp='$CXXCPP $CPPFLAGS'
15960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15962 cross_compiling=$ac_cv_prog_cxx_cross
15964 cat > conftest.$ac_ext <<EOF
15965 #line 15966 "configure"
15966 #include "confdefs.h"
15968 #ifdef HAVE_IEEEFP_H
15969 #include <ieeefp.h>
15976 if { (eval echo configure:15977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15978 glibcpp_cv_func__logf_use=yes
15980 echo "configure: failed program was:" >&5
15981 cat conftest.$ac_ext >&5
15983 glibcpp_cv_func__logf_use=no
15987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15988 ac_cpp='$CPP $CPPFLAGS'
15989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15991 cross_compiling=$ac_cv_prog_cc_cross
15997 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
15999 if test x$glibcpp_cv_func__logf_use = x"yes"; then
16000 for ac_func in _logf
16002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16003 echo "configure:16004: checking for $ac_func" >&5
16004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16005 echo $ac_n "(cached) $ac_c" 1>&6
16007 cat > conftest.$ac_ext <<EOF
16008 #line 16009 "configure"
16009 #include "confdefs.h"
16010 /* System header to define __stub macros and hopefully few prototypes,
16011 which can conflict with char $ac_func(); below. */
16012 #include <assert.h>
16013 /* Override any gcc2 internal prototype to avoid an error. */
16014 /* We use char because int might match the return type of a gcc2
16015 builtin and then its argument prototype would still apply. */
16020 /* The GNU C library defines this for functions which it implements
16021 to always fail with ENOSYS. Some functions are actually named
16022 something starting with __ and the normal name is an alias. */
16023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16031 if { (eval echo configure:16032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16033 eval "ac_cv_func_$ac_func=yes"
16035 echo "configure: failed program was:" >&5
16036 cat conftest.$ac_ext >&5
16038 eval "ac_cv_func_$ac_func=no"
16043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16044 echo "$ac_t""yes" 1>&6
16045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16046 cat >> confdefs.h <<EOF
16047 #define $ac_tr_func 1
16051 echo "$ac_t""no" 1>&6
16060 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
16061 echo "configure:16062: checking for log10f declaration" >&5
16062 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
16063 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
16064 echo $ac_n "(cached) $ac_c" 1>&6
16069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16070 ac_cpp='$CXXCPP $CPPFLAGS'
16071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16073 cross_compiling=$ac_cv_prog_cxx_cross
16075 cat > conftest.$ac_ext <<EOF
16076 #line 16077 "configure"
16077 #include "confdefs.h"
16079 #ifdef HAVE_IEEEFP_H
16080 #include <ieeefp.h>
16087 if { (eval echo configure:16088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16089 glibcpp_cv_func_log10f_use=yes
16091 echo "configure: failed program was:" >&5
16092 cat conftest.$ac_ext >&5
16094 glibcpp_cv_func_log10f_use=no
16098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16099 ac_cpp='$CPP $CPPFLAGS'
16100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16102 cross_compiling=$ac_cv_prog_cc_cross
16108 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
16110 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
16111 for ac_func in log10f
16113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16114 echo "configure:16115: checking for $ac_func" >&5
16115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16116 echo $ac_n "(cached) $ac_c" 1>&6
16118 cat > conftest.$ac_ext <<EOF
16119 #line 16120 "configure"
16120 #include "confdefs.h"
16121 /* System header to define __stub macros and hopefully few prototypes,
16122 which can conflict with char $ac_func(); below. */
16123 #include <assert.h>
16124 /* Override any gcc2 internal prototype to avoid an error. */
16125 /* We use char because int might match the return type of a gcc2
16126 builtin and then its argument prototype would still apply. */
16131 /* The GNU C library defines this for functions which it implements
16132 to always fail with ENOSYS. Some functions are actually named
16133 something starting with __ and the normal name is an alias. */
16134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16142 if { (eval echo configure:16143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16144 eval "ac_cv_func_$ac_func=yes"
16146 echo "configure: failed program was:" >&5
16147 cat conftest.$ac_ext >&5
16149 eval "ac_cv_func_$ac_func=no"
16154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16155 echo "$ac_t""yes" 1>&6
16156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16157 cat >> confdefs.h <<EOF
16158 #define $ac_tr_func 1
16162 echo "$ac_t""no" 1>&6
16168 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
16169 echo "configure:16170: checking for _log10f declaration" >&5
16170 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16171 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16172 echo $ac_n "(cached) $ac_c" 1>&6
16177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16178 ac_cpp='$CXXCPP $CPPFLAGS'
16179 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16180 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16181 cross_compiling=$ac_cv_prog_cxx_cross
16183 cat > conftest.$ac_ext <<EOF
16184 #line 16185 "configure"
16185 #include "confdefs.h"
16187 #ifdef HAVE_IEEEFP_H
16188 #include <ieeefp.h>
16195 if { (eval echo configure:16196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16197 glibcpp_cv_func__log10f_use=yes
16199 echo "configure: failed program was:" >&5
16200 cat conftest.$ac_ext >&5
16202 glibcpp_cv_func__log10f_use=no
16206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16207 ac_cpp='$CPP $CPPFLAGS'
16208 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16209 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16210 cross_compiling=$ac_cv_prog_cc_cross
16216 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16218 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16219 for ac_func in _log10f
16221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16222 echo "configure:16223: checking for $ac_func" >&5
16223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16224 echo $ac_n "(cached) $ac_c" 1>&6
16226 cat > conftest.$ac_ext <<EOF
16227 #line 16228 "configure"
16228 #include "confdefs.h"
16229 /* System header to define __stub macros and hopefully few prototypes,
16230 which can conflict with char $ac_func(); below. */
16231 #include <assert.h>
16232 /* Override any gcc2 internal prototype to avoid an error. */
16233 /* We use char because int might match the return type of a gcc2
16234 builtin and then its argument prototype would still apply. */
16239 /* The GNU C library defines this for functions which it implements
16240 to always fail with ENOSYS. Some functions are actually named
16241 something starting with __ and the normal name is an alias. */
16242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16250 if { (eval echo configure:16251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16252 eval "ac_cv_func_$ac_func=yes"
16254 echo "configure: failed program was:" >&5
16255 cat conftest.$ac_ext >&5
16257 eval "ac_cv_func_$ac_func=no"
16262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16263 echo "$ac_t""yes" 1>&6
16264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16265 cat >> confdefs.h <<EOF
16266 #define $ac_tr_func 1
16270 echo "$ac_t""no" 1>&6
16279 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
16280 echo "configure:16281: checking for modff declaration" >&5
16281 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16282 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16283 echo $ac_n "(cached) $ac_c" 1>&6
16288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16289 ac_cpp='$CXXCPP $CPPFLAGS'
16290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16292 cross_compiling=$ac_cv_prog_cxx_cross
16294 cat > conftest.$ac_ext <<EOF
16295 #line 16296 "configure"
16296 #include "confdefs.h"
16302 if { (eval echo configure:16303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16304 glibcpp_cv_func_modff_use=yes
16306 echo "configure: failed program was:" >&5
16307 cat conftest.$ac_ext >&5
16309 glibcpp_cv_func_modff_use=no
16313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16314 ac_cpp='$CPP $CPPFLAGS'
16315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16317 cross_compiling=$ac_cv_prog_cc_cross
16323 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16325 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16326 for ac_func in modff
16328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16329 echo "configure:16330: checking for $ac_func" >&5
16330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16331 echo $ac_n "(cached) $ac_c" 1>&6
16333 cat > conftest.$ac_ext <<EOF
16334 #line 16335 "configure"
16335 #include "confdefs.h"
16336 /* System header to define __stub macros and hopefully few prototypes,
16337 which can conflict with char $ac_func(); below. */
16338 #include <assert.h>
16339 /* Override any gcc2 internal prototype to avoid an error. */
16340 /* We use char because int might match the return type of a gcc2
16341 builtin and then its argument prototype would still apply. */
16346 /* The GNU C library defines this for functions which it implements
16347 to always fail with ENOSYS. Some functions are actually named
16348 something starting with __ and the normal name is an alias. */
16349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16357 if { (eval echo configure:16358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16359 eval "ac_cv_func_$ac_func=yes"
16361 echo "configure: failed program was:" >&5
16362 cat conftest.$ac_ext >&5
16364 eval "ac_cv_func_$ac_func=no"
16369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16370 echo "$ac_t""yes" 1>&6
16371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16372 cat >> confdefs.h <<EOF
16373 #define $ac_tr_func 1
16377 echo "$ac_t""no" 1>&6
16383 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
16384 echo "configure:16385: checking for _modff declaration" >&5
16385 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16386 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16387 echo $ac_n "(cached) $ac_c" 1>&6
16392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16393 ac_cpp='$CXXCPP $CPPFLAGS'
16394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16396 cross_compiling=$ac_cv_prog_cxx_cross
16398 cat > conftest.$ac_ext <<EOF
16399 #line 16400 "configure"
16400 #include "confdefs.h"
16406 if { (eval echo configure:16407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16408 glibcpp_cv_func__modff_use=yes
16410 echo "configure: failed program was:" >&5
16411 cat conftest.$ac_ext >&5
16413 glibcpp_cv_func__modff_use=no
16417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16418 ac_cpp='$CPP $CPPFLAGS'
16419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16421 cross_compiling=$ac_cv_prog_cc_cross
16427 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16429 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16430 for ac_func in _modff
16432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16433 echo "configure:16434: checking for $ac_func" >&5
16434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16435 echo $ac_n "(cached) $ac_c" 1>&6
16437 cat > conftest.$ac_ext <<EOF
16438 #line 16439 "configure"
16439 #include "confdefs.h"
16440 /* System header to define __stub macros and hopefully few prototypes,
16441 which can conflict with char $ac_func(); below. */
16442 #include <assert.h>
16443 /* Override any gcc2 internal prototype to avoid an error. */
16444 /* We use char because int might match the return type of a gcc2
16445 builtin and then its argument prototype would still apply. */
16450 /* The GNU C library defines this for functions which it implements
16451 to always fail with ENOSYS. Some functions are actually named
16452 something starting with __ and the normal name is an alias. */
16453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16461 if { (eval echo configure:16462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16463 eval "ac_cv_func_$ac_func=yes"
16465 echo "configure: failed program was:" >&5
16466 cat conftest.$ac_ext >&5
16468 eval "ac_cv_func_$ac_func=no"
16473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16474 echo "$ac_t""yes" 1>&6
16475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16476 cat >> confdefs.h <<EOF
16477 #define $ac_tr_func 1
16481 echo "$ac_t""no" 1>&6
16490 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
16491 echo "configure:16492: checking for powf declaration" >&5
16492 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16493 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16494 echo $ac_n "(cached) $ac_c" 1>&6
16499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16500 ac_cpp='$CXXCPP $CPPFLAGS'
16501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16503 cross_compiling=$ac_cv_prog_cxx_cross
16505 cat > conftest.$ac_ext <<EOF
16506 #line 16507 "configure"
16507 #include "confdefs.h"
16513 if { (eval echo configure:16514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16515 glibcpp_cv_func_powf_use=yes
16517 echo "configure: failed program was:" >&5
16518 cat conftest.$ac_ext >&5
16520 glibcpp_cv_func_powf_use=no
16524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16528 cross_compiling=$ac_cv_prog_cc_cross
16534 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16536 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16537 for ac_func in powf
16539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16540 echo "configure:16541: checking for $ac_func" >&5
16541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16542 echo $ac_n "(cached) $ac_c" 1>&6
16544 cat > conftest.$ac_ext <<EOF
16545 #line 16546 "configure"
16546 #include "confdefs.h"
16547 /* System header to define __stub macros and hopefully few prototypes,
16548 which can conflict with char $ac_func(); below. */
16549 #include <assert.h>
16550 /* Override any gcc2 internal prototype to avoid an error. */
16551 /* We use char because int might match the return type of a gcc2
16552 builtin and then its argument prototype would still apply. */
16557 /* The GNU C library defines this for functions which it implements
16558 to always fail with ENOSYS. Some functions are actually named
16559 something starting with __ and the normal name is an alias. */
16560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16568 if { (eval echo configure:16569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16570 eval "ac_cv_func_$ac_func=yes"
16572 echo "configure: failed program was:" >&5
16573 cat conftest.$ac_ext >&5
16575 eval "ac_cv_func_$ac_func=no"
16580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16581 echo "$ac_t""yes" 1>&6
16582 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16583 cat >> confdefs.h <<EOF
16584 #define $ac_tr_func 1
16588 echo "$ac_t""no" 1>&6
16594 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
16595 echo "configure:16596: checking for _powf declaration" >&5
16596 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16597 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16598 echo $ac_n "(cached) $ac_c" 1>&6
16603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16604 ac_cpp='$CXXCPP $CPPFLAGS'
16605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16607 cross_compiling=$ac_cv_prog_cxx_cross
16609 cat > conftest.$ac_ext <<EOF
16610 #line 16611 "configure"
16611 #include "confdefs.h"
16617 if { (eval echo configure:16618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16619 glibcpp_cv_func__powf_use=yes
16621 echo "configure: failed program was:" >&5
16622 cat conftest.$ac_ext >&5
16624 glibcpp_cv_func__powf_use=no
16628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16629 ac_cpp='$CPP $CPPFLAGS'
16630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16632 cross_compiling=$ac_cv_prog_cc_cross
16638 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16640 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16641 for ac_func in _powf
16643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16644 echo "configure:16645: checking for $ac_func" >&5
16645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16646 echo $ac_n "(cached) $ac_c" 1>&6
16648 cat > conftest.$ac_ext <<EOF
16649 #line 16650 "configure"
16650 #include "confdefs.h"
16651 /* System header to define __stub macros and hopefully few prototypes,
16652 which can conflict with char $ac_func(); below. */
16653 #include <assert.h>
16654 /* Override any gcc2 internal prototype to avoid an error. */
16655 /* We use char because int might match the return type of a gcc2
16656 builtin and then its argument prototype would still apply. */
16661 /* The GNU C library defines this for functions which it implements
16662 to always fail with ENOSYS. Some functions are actually named
16663 something starting with __ and the normal name is an alias. */
16664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16672 if { (eval echo configure:16673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16674 eval "ac_cv_func_$ac_func=yes"
16676 echo "configure: failed program was:" >&5
16677 cat conftest.$ac_ext >&5
16679 eval "ac_cv_func_$ac_func=no"
16684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16685 echo "$ac_t""yes" 1>&6
16686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16687 cat >> confdefs.h <<EOF
16688 #define $ac_tr_func 1
16692 echo "$ac_t""no" 1>&6
16701 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
16702 echo "configure:16703: checking for sqrtf declaration" >&5
16703 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16704 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16705 echo $ac_n "(cached) $ac_c" 1>&6
16710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16711 ac_cpp='$CXXCPP $CPPFLAGS'
16712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16714 cross_compiling=$ac_cv_prog_cxx_cross
16716 cat > conftest.$ac_ext <<EOF
16717 #line 16718 "configure"
16718 #include "confdefs.h"
16720 #ifdef HAVE_IEEEFP_H
16721 #include <ieeefp.h>
16728 if { (eval echo configure:16729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16730 glibcpp_cv_func_sqrtf_use=yes
16732 echo "configure: failed program was:" >&5
16733 cat conftest.$ac_ext >&5
16735 glibcpp_cv_func_sqrtf_use=no
16739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16740 ac_cpp='$CPP $CPPFLAGS'
16741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16743 cross_compiling=$ac_cv_prog_cc_cross
16749 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16751 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16752 for ac_func in sqrtf
16754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16755 echo "configure:16756: checking for $ac_func" >&5
16756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16757 echo $ac_n "(cached) $ac_c" 1>&6
16759 cat > conftest.$ac_ext <<EOF
16760 #line 16761 "configure"
16761 #include "confdefs.h"
16762 /* System header to define __stub macros and hopefully few prototypes,
16763 which can conflict with char $ac_func(); below. */
16764 #include <assert.h>
16765 /* Override any gcc2 internal prototype to avoid an error. */
16766 /* We use char because int might match the return type of a gcc2
16767 builtin and then its argument prototype would still apply. */
16772 /* The GNU C library defines this for functions which it implements
16773 to always fail with ENOSYS. Some functions are actually named
16774 something starting with __ and the normal name is an alias. */
16775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16783 if { (eval echo configure:16784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16785 eval "ac_cv_func_$ac_func=yes"
16787 echo "configure: failed program was:" >&5
16788 cat conftest.$ac_ext >&5
16790 eval "ac_cv_func_$ac_func=no"
16795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16796 echo "$ac_t""yes" 1>&6
16797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16798 cat >> confdefs.h <<EOF
16799 #define $ac_tr_func 1
16803 echo "$ac_t""no" 1>&6
16809 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
16810 echo "configure:16811: checking for _sqrtf declaration" >&5
16811 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16812 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16813 echo $ac_n "(cached) $ac_c" 1>&6
16818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16819 ac_cpp='$CXXCPP $CPPFLAGS'
16820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16822 cross_compiling=$ac_cv_prog_cxx_cross
16824 cat > conftest.$ac_ext <<EOF
16825 #line 16826 "configure"
16826 #include "confdefs.h"
16828 #ifdef HAVE_IEEEFP_H
16829 #include <ieeefp.h>
16836 if { (eval echo configure:16837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16838 glibcpp_cv_func__sqrtf_use=yes
16840 echo "configure: failed program was:" >&5
16841 cat conftest.$ac_ext >&5
16843 glibcpp_cv_func__sqrtf_use=no
16847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16848 ac_cpp='$CPP $CPPFLAGS'
16849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16851 cross_compiling=$ac_cv_prog_cc_cross
16857 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16859 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16860 for ac_func in _sqrtf
16862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16863 echo "configure:16864: checking for $ac_func" >&5
16864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16865 echo $ac_n "(cached) $ac_c" 1>&6
16867 cat > conftest.$ac_ext <<EOF
16868 #line 16869 "configure"
16869 #include "confdefs.h"
16870 /* System header to define __stub macros and hopefully few prototypes,
16871 which can conflict with char $ac_func(); below. */
16872 #include <assert.h>
16873 /* Override any gcc2 internal prototype to avoid an error. */
16874 /* We use char because int might match the return type of a gcc2
16875 builtin and then its argument prototype would still apply. */
16880 /* The GNU C library defines this for functions which it implements
16881 to always fail with ENOSYS. Some functions are actually named
16882 something starting with __ and the normal name is an alias. */
16883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16891 if { (eval echo configure:16892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16893 eval "ac_cv_func_$ac_func=yes"
16895 echo "configure: failed program was:" >&5
16896 cat conftest.$ac_ext >&5
16898 eval "ac_cv_func_$ac_func=no"
16903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16904 echo "$ac_t""yes" 1>&6
16905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16906 cat >> confdefs.h <<EOF
16907 #define $ac_tr_func 1
16911 echo "$ac_t""no" 1>&6
16920 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
16921 echo "configure:16922: checking for sincosf declaration" >&5
16922 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16923 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16924 echo $ac_n "(cached) $ac_c" 1>&6
16929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16930 ac_cpp='$CXXCPP $CPPFLAGS'
16931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16933 cross_compiling=$ac_cv_prog_cxx_cross
16935 cat > conftest.$ac_ext <<EOF
16936 #line 16937 "configure"
16937 #include "confdefs.h"
16943 if { (eval echo configure:16944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16945 glibcpp_cv_func_sincosf_use=yes
16947 echo "configure: failed program was:" >&5
16948 cat conftest.$ac_ext >&5
16950 glibcpp_cv_func_sincosf_use=no
16954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16955 ac_cpp='$CPP $CPPFLAGS'
16956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16958 cross_compiling=$ac_cv_prog_cc_cross
16964 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
16966 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
16967 for ac_func in sincosf
16969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16970 echo "configure:16971: checking for $ac_func" >&5
16971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16972 echo $ac_n "(cached) $ac_c" 1>&6
16974 cat > conftest.$ac_ext <<EOF
16975 #line 16976 "configure"
16976 #include "confdefs.h"
16977 /* System header to define __stub macros and hopefully few prototypes,
16978 which can conflict with char $ac_func(); below. */
16979 #include <assert.h>
16980 /* Override any gcc2 internal prototype to avoid an error. */
16981 /* We use char because int might match the return type of a gcc2
16982 builtin and then its argument prototype would still apply. */
16987 /* The GNU C library defines this for functions which it implements
16988 to always fail with ENOSYS. Some functions are actually named
16989 something starting with __ and the normal name is an alias. */
16990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16998 if { (eval echo configure:16999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17000 eval "ac_cv_func_$ac_func=yes"
17002 echo "configure: failed program was:" >&5
17003 cat conftest.$ac_ext >&5
17005 eval "ac_cv_func_$ac_func=no"
17010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17011 echo "$ac_t""yes" 1>&6
17012 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17013 cat >> confdefs.h <<EOF
17014 #define $ac_tr_func 1
17018 echo "$ac_t""no" 1>&6
17024 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
17025 echo "configure:17026: checking for _sincosf declaration" >&5
17026 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
17027 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
17028 echo $ac_n "(cached) $ac_c" 1>&6
17033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17034 ac_cpp='$CXXCPP $CPPFLAGS'
17035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17037 cross_compiling=$ac_cv_prog_cxx_cross
17039 cat > conftest.$ac_ext <<EOF
17040 #line 17041 "configure"
17041 #include "confdefs.h"
17047 if { (eval echo configure:17048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17049 glibcpp_cv_func__sincosf_use=yes
17051 echo "configure: failed program was:" >&5
17052 cat conftest.$ac_ext >&5
17054 glibcpp_cv_func__sincosf_use=no
17058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17059 ac_cpp='$CPP $CPPFLAGS'
17060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17062 cross_compiling=$ac_cv_prog_cc_cross
17068 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
17070 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
17071 for ac_func in _sincosf
17073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17074 echo "configure:17075: checking for $ac_func" >&5
17075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17076 echo $ac_n "(cached) $ac_c" 1>&6
17078 cat > conftest.$ac_ext <<EOF
17079 #line 17080 "configure"
17080 #include "confdefs.h"
17081 /* System header to define __stub macros and hopefully few prototypes,
17082 which can conflict with char $ac_func(); below. */
17083 #include <assert.h>
17084 /* Override any gcc2 internal prototype to avoid an error. */
17085 /* We use char because int might match the return type of a gcc2
17086 builtin and then its argument prototype would still apply. */
17091 /* The GNU C library defines this for functions which it implements
17092 to always fail with ENOSYS. Some functions are actually named
17093 something starting with __ and the normal name is an alias. */
17094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17102 if { (eval echo configure:17103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17104 eval "ac_cv_func_$ac_func=yes"
17106 echo "configure: failed program was:" >&5
17107 cat conftest.$ac_ext >&5
17109 eval "ac_cv_func_$ac_func=no"
17114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17115 echo "$ac_t""yes" 1>&6
17116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17117 cat >> confdefs.h <<EOF
17118 #define $ac_tr_func 1
17122 echo "$ac_t""no" 1>&6
17131 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
17132 echo "configure:17133: checking for finitef declaration" >&5
17133 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
17134 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
17135 echo $ac_n "(cached) $ac_c" 1>&6
17140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17141 ac_cpp='$CXXCPP $CPPFLAGS'
17142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17144 cross_compiling=$ac_cv_prog_cxx_cross
17146 cat > conftest.$ac_ext <<EOF
17147 #line 17148 "configure"
17148 #include "confdefs.h"
17150 #ifdef HAVE_IEEEFP_H
17151 #include <ieeefp.h>
17158 if { (eval echo configure:17159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17160 glibcpp_cv_func_finitef_use=yes
17162 echo "configure: failed program was:" >&5
17163 cat conftest.$ac_ext >&5
17165 glibcpp_cv_func_finitef_use=no
17169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17170 ac_cpp='$CPP $CPPFLAGS'
17171 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17172 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17173 cross_compiling=$ac_cv_prog_cc_cross
17179 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17181 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17182 for ac_func in finitef
17184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17185 echo "configure:17186: checking for $ac_func" >&5
17186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17187 echo $ac_n "(cached) $ac_c" 1>&6
17189 cat > conftest.$ac_ext <<EOF
17190 #line 17191 "configure"
17191 #include "confdefs.h"
17192 /* System header to define __stub macros and hopefully few prototypes,
17193 which can conflict with char $ac_func(); below. */
17194 #include <assert.h>
17195 /* Override any gcc2 internal prototype to avoid an error. */
17196 /* We use char because int might match the return type of a gcc2
17197 builtin and then its argument prototype would still apply. */
17202 /* The GNU C library defines this for functions which it implements
17203 to always fail with ENOSYS. Some functions are actually named
17204 something starting with __ and the normal name is an alias. */
17205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17213 if { (eval echo configure:17214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17215 eval "ac_cv_func_$ac_func=yes"
17217 echo "configure: failed program was:" >&5
17218 cat conftest.$ac_ext >&5
17220 eval "ac_cv_func_$ac_func=no"
17225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17226 echo "$ac_t""yes" 1>&6
17227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17228 cat >> confdefs.h <<EOF
17229 #define $ac_tr_func 1
17233 echo "$ac_t""no" 1>&6
17239 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
17240 echo "configure:17241: checking for _finitef declaration" >&5
17241 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17242 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17243 echo $ac_n "(cached) $ac_c" 1>&6
17248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17249 ac_cpp='$CXXCPP $CPPFLAGS'
17250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17252 cross_compiling=$ac_cv_prog_cxx_cross
17254 cat > conftest.$ac_ext <<EOF
17255 #line 17256 "configure"
17256 #include "confdefs.h"
17258 #ifdef HAVE_IEEEFP_H
17259 #include <ieeefp.h>
17266 if { (eval echo configure:17267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17268 glibcpp_cv_func__finitef_use=yes
17270 echo "configure: failed program was:" >&5
17271 cat conftest.$ac_ext >&5
17273 glibcpp_cv_func__finitef_use=no
17277 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17278 ac_cpp='$CPP $CPPFLAGS'
17279 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17280 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17281 cross_compiling=$ac_cv_prog_cc_cross
17287 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17289 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17290 for ac_func in _finitef
17292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17293 echo "configure:17294: checking for $ac_func" >&5
17294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17295 echo $ac_n "(cached) $ac_c" 1>&6
17297 cat > conftest.$ac_ext <<EOF
17298 #line 17299 "configure"
17299 #include "confdefs.h"
17300 /* System header to define __stub macros and hopefully few prototypes,
17301 which can conflict with char $ac_func(); below. */
17302 #include <assert.h>
17303 /* Override any gcc2 internal prototype to avoid an error. */
17304 /* We use char because int might match the return type of a gcc2
17305 builtin and then its argument prototype would still apply. */
17310 /* The GNU C library defines this for functions which it implements
17311 to always fail with ENOSYS. Some functions are actually named
17312 something starting with __ and the normal name is an alias. */
17313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17321 if { (eval echo configure:17322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17323 eval "ac_cv_func_$ac_func=yes"
17325 echo "configure: failed program was:" >&5
17326 cat conftest.$ac_ext >&5
17328 eval "ac_cv_func_$ac_func=no"
17333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17334 echo "$ac_t""yes" 1>&6
17335 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17336 cat >> confdefs.h <<EOF
17337 #define $ac_tr_func 1
17341 echo "$ac_t""no" 1>&6
17350 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
17351 echo "configure:17352: checking for long double trig functions" >&5
17352 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17353 echo $ac_n "(cached) $ac_c" 1>&6
17358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17359 ac_cpp='$CXXCPP $CPPFLAGS'
17360 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17361 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17362 cross_compiling=$ac_cv_prog_cxx_cross
17364 cat > conftest.$ac_ext <<EOF
17365 #line 17366 "configure"
17366 #include "confdefs.h"
17369 `for x in acosl asinl atanl \
17371 coshl sinhl tanhl; do echo "$x (0);"; done`
17374 if { (eval echo configure:17375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17376 glibcpp_cv_func_long_double_trig_use=yes
17378 echo "configure: failed program was:" >&5
17379 cat conftest.$ac_ext >&5
17381 glibcpp_cv_func_long_double_trig_use=no
17385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17386 ac_cpp='$CPP $CPPFLAGS'
17387 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17388 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17389 cross_compiling=$ac_cv_prog_cc_cross
17393 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17394 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17395 for ac_func in acosl asinl atanl \
17399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17400 echo "configure:17401: checking for $ac_func" >&5
17401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17402 echo $ac_n "(cached) $ac_c" 1>&6
17404 cat > conftest.$ac_ext <<EOF
17405 #line 17406 "configure"
17406 #include "confdefs.h"
17407 /* System header to define __stub macros and hopefully few prototypes,
17408 which can conflict with char $ac_func(); below. */
17409 #include <assert.h>
17410 /* Override any gcc2 internal prototype to avoid an error. */
17411 /* We use char because int might match the return type of a gcc2
17412 builtin and then its argument prototype would still apply. */
17417 /* The GNU C library defines this for functions which it implements
17418 to always fail with ENOSYS. Some functions are actually named
17419 something starting with __ and the normal name is an alias. */
17420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17428 if { (eval echo configure:17429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17430 eval "ac_cv_func_$ac_func=yes"
17432 echo "configure: failed program was:" >&5
17433 cat conftest.$ac_ext >&5
17435 eval "ac_cv_func_$ac_func=no"
17440 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17441 echo "$ac_t""yes" 1>&6
17442 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17443 cat >> confdefs.h <<EOF
17444 #define $ac_tr_func 1
17448 echo "$ac_t""no" 1>&6
17455 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
17456 echo "configure:17457: checking for long double round functions" >&5
17457 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17458 echo $ac_n "(cached) $ac_c" 1>&6
17463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17464 ac_cpp='$CXXCPP $CPPFLAGS'
17465 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17466 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17467 cross_compiling=$ac_cv_prog_cxx_cross
17469 cat > conftest.$ac_ext <<EOF
17470 #line 17471 "configure"
17471 #include "confdefs.h"
17474 `for x in ceill floorl; do echo "$x (0);"; done`
17477 if { (eval echo configure:17478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17479 glibcpp_cv_func_long_double_round_use=yes
17481 echo "configure: failed program was:" >&5
17482 cat conftest.$ac_ext >&5
17484 glibcpp_cv_func_long_double_round_use=no
17488 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17491 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17492 cross_compiling=$ac_cv_prog_cc_cross
17496 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17497 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17498 for ac_func in ceill floorl
17500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17501 echo "configure:17502: checking for $ac_func" >&5
17502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17503 echo $ac_n "(cached) $ac_c" 1>&6
17505 cat > conftest.$ac_ext <<EOF
17506 #line 17507 "configure"
17507 #include "confdefs.h"
17508 /* System header to define __stub macros and hopefully few prototypes,
17509 which can conflict with char $ac_func(); below. */
17510 #include <assert.h>
17511 /* Override any gcc2 internal prototype to avoid an error. */
17512 /* We use char because int might match the return type of a gcc2
17513 builtin and then its argument prototype would still apply. */
17518 /* The GNU C library defines this for functions which it implements
17519 to always fail with ENOSYS. Some functions are actually named
17520 something starting with __ and the normal name is an alias. */
17521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17529 if { (eval echo configure:17530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17531 eval "ac_cv_func_$ac_func=yes"
17533 echo "configure: failed program was:" >&5
17534 cat conftest.$ac_ext >&5
17536 eval "ac_cv_func_$ac_func=no"
17541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17542 echo "$ac_t""yes" 1>&6
17543 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17544 cat >> confdefs.h <<EOF
17545 #define $ac_tr_func 1
17549 echo "$ac_t""no" 1>&6
17557 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
17558 echo "configure:17559: checking for isnanl declaration" >&5
17559 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17560 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17561 echo $ac_n "(cached) $ac_c" 1>&6
17566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17567 ac_cpp='$CXXCPP $CPPFLAGS'
17568 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17569 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17570 cross_compiling=$ac_cv_prog_cxx_cross
17572 cat > conftest.$ac_ext <<EOF
17573 #line 17574 "configure"
17574 #include "confdefs.h"
17576 #ifdef HAVE_IEEEFP_H
17577 #include <ieeefp.h>
17584 if { (eval echo configure:17585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17586 glibcpp_cv_func_isnanl_use=yes
17588 echo "configure: failed program was:" >&5
17589 cat conftest.$ac_ext >&5
17591 glibcpp_cv_func_isnanl_use=no
17595 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17596 ac_cpp='$CPP $CPPFLAGS'
17597 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17598 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17599 cross_compiling=$ac_cv_prog_cc_cross
17605 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17607 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17608 for ac_func in isnanl
17610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17611 echo "configure:17612: checking for $ac_func" >&5
17612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17613 echo $ac_n "(cached) $ac_c" 1>&6
17615 cat > conftest.$ac_ext <<EOF
17616 #line 17617 "configure"
17617 #include "confdefs.h"
17618 /* System header to define __stub macros and hopefully few prototypes,
17619 which can conflict with char $ac_func(); below. */
17620 #include <assert.h>
17621 /* Override any gcc2 internal prototype to avoid an error. */
17622 /* We use char because int might match the return type of a gcc2
17623 builtin and then its argument prototype would still apply. */
17628 /* The GNU C library defines this for functions which it implements
17629 to always fail with ENOSYS. Some functions are actually named
17630 something starting with __ and the normal name is an alias. */
17631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17639 if { (eval echo configure:17640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17641 eval "ac_cv_func_$ac_func=yes"
17643 echo "configure: failed program was:" >&5
17644 cat conftest.$ac_ext >&5
17646 eval "ac_cv_func_$ac_func=no"
17651 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17652 echo "$ac_t""yes" 1>&6
17653 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17654 cat >> confdefs.h <<EOF
17655 #define $ac_tr_func 1
17659 echo "$ac_t""no" 1>&6
17665 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
17666 echo "configure:17667: checking for _isnanl declaration" >&5
17667 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17668 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17669 echo $ac_n "(cached) $ac_c" 1>&6
17674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17675 ac_cpp='$CXXCPP $CPPFLAGS'
17676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17678 cross_compiling=$ac_cv_prog_cxx_cross
17680 cat > conftest.$ac_ext <<EOF
17681 #line 17682 "configure"
17682 #include "confdefs.h"
17684 #ifdef HAVE_IEEEFP_H
17685 #include <ieeefp.h>
17692 if { (eval echo configure:17693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17694 glibcpp_cv_func__isnanl_use=yes
17696 echo "configure: failed program was:" >&5
17697 cat conftest.$ac_ext >&5
17699 glibcpp_cv_func__isnanl_use=no
17703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17704 ac_cpp='$CPP $CPPFLAGS'
17705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17707 cross_compiling=$ac_cv_prog_cc_cross
17713 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17715 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17716 for ac_func in _isnanl
17718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17719 echo "configure:17720: checking for $ac_func" >&5
17720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17721 echo $ac_n "(cached) $ac_c" 1>&6
17723 cat > conftest.$ac_ext <<EOF
17724 #line 17725 "configure"
17725 #include "confdefs.h"
17726 /* System header to define __stub macros and hopefully few prototypes,
17727 which can conflict with char $ac_func(); below. */
17728 #include <assert.h>
17729 /* Override any gcc2 internal prototype to avoid an error. */
17730 /* We use char because int might match the return type of a gcc2
17731 builtin and then its argument prototype would still apply. */
17736 /* The GNU C library defines this for functions which it implements
17737 to always fail with ENOSYS. Some functions are actually named
17738 something starting with __ and the normal name is an alias. */
17739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17747 if { (eval echo configure:17748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17749 eval "ac_cv_func_$ac_func=yes"
17751 echo "configure: failed program was:" >&5
17752 cat conftest.$ac_ext >&5
17754 eval "ac_cv_func_$ac_func=no"
17759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17760 echo "$ac_t""yes" 1>&6
17761 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17762 cat >> confdefs.h <<EOF
17763 #define $ac_tr_func 1
17767 echo "$ac_t""no" 1>&6
17776 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
17777 echo "configure:17778: checking for isinfl declaration" >&5
17778 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17779 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17780 echo $ac_n "(cached) $ac_c" 1>&6
17785 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17786 ac_cpp='$CXXCPP $CPPFLAGS'
17787 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17788 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17789 cross_compiling=$ac_cv_prog_cxx_cross
17791 cat > conftest.$ac_ext <<EOF
17792 #line 17793 "configure"
17793 #include "confdefs.h"
17795 #ifdef HAVE_IEEEFP_H
17796 #include <ieeefp.h>
17803 if { (eval echo configure:17804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17805 glibcpp_cv_func_isinfl_use=yes
17807 echo "configure: failed program was:" >&5
17808 cat conftest.$ac_ext >&5
17810 glibcpp_cv_func_isinfl_use=no
17814 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17815 ac_cpp='$CPP $CPPFLAGS'
17816 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17817 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17818 cross_compiling=$ac_cv_prog_cc_cross
17824 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17826 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17827 for ac_func in isinfl
17829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17830 echo "configure:17831: checking for $ac_func" >&5
17831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17832 echo $ac_n "(cached) $ac_c" 1>&6
17834 cat > conftest.$ac_ext <<EOF
17835 #line 17836 "configure"
17836 #include "confdefs.h"
17837 /* System header to define __stub macros and hopefully few prototypes,
17838 which can conflict with char $ac_func(); below. */
17839 #include <assert.h>
17840 /* Override any gcc2 internal prototype to avoid an error. */
17841 /* We use char because int might match the return type of a gcc2
17842 builtin and then its argument prototype would still apply. */
17847 /* The GNU C library defines this for functions which it implements
17848 to always fail with ENOSYS. Some functions are actually named
17849 something starting with __ and the normal name is an alias. */
17850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17858 if { (eval echo configure:17859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17860 eval "ac_cv_func_$ac_func=yes"
17862 echo "configure: failed program was:" >&5
17863 cat conftest.$ac_ext >&5
17865 eval "ac_cv_func_$ac_func=no"
17870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17871 echo "$ac_t""yes" 1>&6
17872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17873 cat >> confdefs.h <<EOF
17874 #define $ac_tr_func 1
17878 echo "$ac_t""no" 1>&6
17884 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
17885 echo "configure:17886: checking for _isinfl declaration" >&5
17886 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17887 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17888 echo $ac_n "(cached) $ac_c" 1>&6
17893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17894 ac_cpp='$CXXCPP $CPPFLAGS'
17895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17897 cross_compiling=$ac_cv_prog_cxx_cross
17899 cat > conftest.$ac_ext <<EOF
17900 #line 17901 "configure"
17901 #include "confdefs.h"
17903 #ifdef HAVE_IEEEFP_H
17904 #include <ieeefp.h>
17911 if { (eval echo configure:17912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17913 glibcpp_cv_func__isinfl_use=yes
17915 echo "configure: failed program was:" >&5
17916 cat conftest.$ac_ext >&5
17918 glibcpp_cv_func__isinfl_use=no
17922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17923 ac_cpp='$CPP $CPPFLAGS'
17924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17926 cross_compiling=$ac_cv_prog_cc_cross
17932 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17934 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17935 for ac_func in _isinfl
17937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17938 echo "configure:17939: checking for $ac_func" >&5
17939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17940 echo $ac_n "(cached) $ac_c" 1>&6
17942 cat > conftest.$ac_ext <<EOF
17943 #line 17944 "configure"
17944 #include "confdefs.h"
17945 /* System header to define __stub macros and hopefully few prototypes,
17946 which can conflict with char $ac_func(); below. */
17947 #include <assert.h>
17948 /* Override any gcc2 internal prototype to avoid an error. */
17949 /* We use char because int might match the return type of a gcc2
17950 builtin and then its argument prototype would still apply. */
17955 /* The GNU C library defines this for functions which it implements
17956 to always fail with ENOSYS. Some functions are actually named
17957 something starting with __ and the normal name is an alias. */
17958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17966 if { (eval echo configure:17967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17968 eval "ac_cv_func_$ac_func=yes"
17970 echo "configure: failed program was:" >&5
17971 cat conftest.$ac_ext >&5
17973 eval "ac_cv_func_$ac_func=no"
17978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17979 echo "$ac_t""yes" 1>&6
17980 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17981 cat >> confdefs.h <<EOF
17982 #define $ac_tr_func 1
17986 echo "$ac_t""no" 1>&6
17995 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
17996 echo "configure:17997: checking for copysignl declaration" >&5
17997 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
17998 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
17999 echo $ac_n "(cached) $ac_c" 1>&6
18004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18005 ac_cpp='$CXXCPP $CPPFLAGS'
18006 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18007 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18008 cross_compiling=$ac_cv_prog_cxx_cross
18010 cat > conftest.$ac_ext <<EOF
18011 #line 18012 "configure"
18012 #include "confdefs.h"
18018 if { (eval echo configure:18019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18020 glibcpp_cv_func_copysignl_use=yes
18022 echo "configure: failed program was:" >&5
18023 cat conftest.$ac_ext >&5
18025 glibcpp_cv_func_copysignl_use=no
18029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18030 ac_cpp='$CPP $CPPFLAGS'
18031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18033 cross_compiling=$ac_cv_prog_cc_cross
18039 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
18041 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
18042 for ac_func in copysignl
18044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18045 echo "configure:18046: checking for $ac_func" >&5
18046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18047 echo $ac_n "(cached) $ac_c" 1>&6
18049 cat > conftest.$ac_ext <<EOF
18050 #line 18051 "configure"
18051 #include "confdefs.h"
18052 /* System header to define __stub macros and hopefully few prototypes,
18053 which can conflict with char $ac_func(); below. */
18054 #include <assert.h>
18055 /* Override any gcc2 internal prototype to avoid an error. */
18056 /* We use char because int might match the return type of a gcc2
18057 builtin and then its argument prototype would still apply. */
18062 /* The GNU C library defines this for functions which it implements
18063 to always fail with ENOSYS. Some functions are actually named
18064 something starting with __ and the normal name is an alias. */
18065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18073 if { (eval echo configure:18074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18075 eval "ac_cv_func_$ac_func=yes"
18077 echo "configure: failed program was:" >&5
18078 cat conftest.$ac_ext >&5
18080 eval "ac_cv_func_$ac_func=no"
18085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18086 echo "$ac_t""yes" 1>&6
18087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18088 cat >> confdefs.h <<EOF
18089 #define $ac_tr_func 1
18093 echo "$ac_t""no" 1>&6
18099 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
18100 echo "configure:18101: checking for _copysignl declaration" >&5
18101 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
18102 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
18103 echo $ac_n "(cached) $ac_c" 1>&6
18108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18109 ac_cpp='$CXXCPP $CPPFLAGS'
18110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18112 cross_compiling=$ac_cv_prog_cxx_cross
18114 cat > conftest.$ac_ext <<EOF
18115 #line 18116 "configure"
18116 #include "confdefs.h"
18122 if { (eval echo configure:18123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18124 glibcpp_cv_func__copysignl_use=yes
18126 echo "configure: failed program was:" >&5
18127 cat conftest.$ac_ext >&5
18129 glibcpp_cv_func__copysignl_use=no
18133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18134 ac_cpp='$CPP $CPPFLAGS'
18135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18137 cross_compiling=$ac_cv_prog_cc_cross
18143 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
18145 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
18146 for ac_func in _copysignl
18148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18149 echo "configure:18150: checking for $ac_func" >&5
18150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18151 echo $ac_n "(cached) $ac_c" 1>&6
18153 cat > conftest.$ac_ext <<EOF
18154 #line 18155 "configure"
18155 #include "confdefs.h"
18156 /* System header to define __stub macros and hopefully few prototypes,
18157 which can conflict with char $ac_func(); below. */
18158 #include <assert.h>
18159 /* Override any gcc2 internal prototype to avoid an error. */
18160 /* We use char because int might match the return type of a gcc2
18161 builtin and then its argument prototype would still apply. */
18166 /* The GNU C library defines this for functions which it implements
18167 to always fail with ENOSYS. Some functions are actually named
18168 something starting with __ and the normal name is an alias. */
18169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18177 if { (eval echo configure:18178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18179 eval "ac_cv_func_$ac_func=yes"
18181 echo "configure: failed program was:" >&5
18182 cat conftest.$ac_ext >&5
18184 eval "ac_cv_func_$ac_func=no"
18189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18190 echo "$ac_t""yes" 1>&6
18191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18192 cat >> confdefs.h <<EOF
18193 #define $ac_tr_func 1
18197 echo "$ac_t""no" 1>&6
18206 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
18207 echo "configure:18208: checking for atan2l declaration" >&5
18208 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18209 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18210 echo $ac_n "(cached) $ac_c" 1>&6
18215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18216 ac_cpp='$CXXCPP $CPPFLAGS'
18217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18219 cross_compiling=$ac_cv_prog_cxx_cross
18221 cat > conftest.$ac_ext <<EOF
18222 #line 18223 "configure"
18223 #include "confdefs.h"
18229 if { (eval echo configure:18230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18231 glibcpp_cv_func_atan2l_use=yes
18233 echo "configure: failed program was:" >&5
18234 cat conftest.$ac_ext >&5
18236 glibcpp_cv_func_atan2l_use=no
18240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18244 cross_compiling=$ac_cv_prog_cc_cross
18250 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18252 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18253 for ac_func in atan2l
18255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18256 echo "configure:18257: checking for $ac_func" >&5
18257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18258 echo $ac_n "(cached) $ac_c" 1>&6
18260 cat > conftest.$ac_ext <<EOF
18261 #line 18262 "configure"
18262 #include "confdefs.h"
18263 /* System header to define __stub macros and hopefully few prototypes,
18264 which can conflict with char $ac_func(); below. */
18265 #include <assert.h>
18266 /* Override any gcc2 internal prototype to avoid an error. */
18267 /* We use char because int might match the return type of a gcc2
18268 builtin and then its argument prototype would still apply. */
18273 /* The GNU C library defines this for functions which it implements
18274 to always fail with ENOSYS. Some functions are actually named
18275 something starting with __ and the normal name is an alias. */
18276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18284 if { (eval echo configure:18285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18286 eval "ac_cv_func_$ac_func=yes"
18288 echo "configure: failed program was:" >&5
18289 cat conftest.$ac_ext >&5
18291 eval "ac_cv_func_$ac_func=no"
18296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18297 echo "$ac_t""yes" 1>&6
18298 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18299 cat >> confdefs.h <<EOF
18300 #define $ac_tr_func 1
18304 echo "$ac_t""no" 1>&6
18310 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
18311 echo "configure:18312: checking for _atan2l declaration" >&5
18312 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18313 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18314 echo $ac_n "(cached) $ac_c" 1>&6
18319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18320 ac_cpp='$CXXCPP $CPPFLAGS'
18321 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18322 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18323 cross_compiling=$ac_cv_prog_cxx_cross
18325 cat > conftest.$ac_ext <<EOF
18326 #line 18327 "configure"
18327 #include "confdefs.h"
18333 if { (eval echo configure:18334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18335 glibcpp_cv_func__atan2l_use=yes
18337 echo "configure: failed program was:" >&5
18338 cat conftest.$ac_ext >&5
18340 glibcpp_cv_func__atan2l_use=no
18344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18345 ac_cpp='$CPP $CPPFLAGS'
18346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18348 cross_compiling=$ac_cv_prog_cc_cross
18354 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18356 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18357 for ac_func in _atan2l
18359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18360 echo "configure:18361: checking for $ac_func" >&5
18361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18362 echo $ac_n "(cached) $ac_c" 1>&6
18364 cat > conftest.$ac_ext <<EOF
18365 #line 18366 "configure"
18366 #include "confdefs.h"
18367 /* System header to define __stub macros and hopefully few prototypes,
18368 which can conflict with char $ac_func(); below. */
18369 #include <assert.h>
18370 /* Override any gcc2 internal prototype to avoid an error. */
18371 /* We use char because int might match the return type of a gcc2
18372 builtin and then its argument prototype would still apply. */
18377 /* The GNU C library defines this for functions which it implements
18378 to always fail with ENOSYS. Some functions are actually named
18379 something starting with __ and the normal name is an alias. */
18380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18388 if { (eval echo configure:18389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18390 eval "ac_cv_func_$ac_func=yes"
18392 echo "configure: failed program was:" >&5
18393 cat conftest.$ac_ext >&5
18395 eval "ac_cv_func_$ac_func=no"
18400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18401 echo "$ac_t""yes" 1>&6
18402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18403 cat >> confdefs.h <<EOF
18404 #define $ac_tr_func 1
18408 echo "$ac_t""no" 1>&6
18417 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
18418 echo "configure:18419: checking for expl declaration" >&5
18419 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18420 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18421 echo $ac_n "(cached) $ac_c" 1>&6
18426 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18427 ac_cpp='$CXXCPP $CPPFLAGS'
18428 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18429 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18430 cross_compiling=$ac_cv_prog_cxx_cross
18432 cat > conftest.$ac_ext <<EOF
18433 #line 18434 "configure"
18434 #include "confdefs.h"
18436 #ifdef HAVE_IEEEFP_H
18437 #include <ieeefp.h>
18444 if { (eval echo configure:18445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18446 glibcpp_cv_func_expl_use=yes
18448 echo "configure: failed program was:" >&5
18449 cat conftest.$ac_ext >&5
18451 glibcpp_cv_func_expl_use=no
18455 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18456 ac_cpp='$CPP $CPPFLAGS'
18457 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18458 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18459 cross_compiling=$ac_cv_prog_cc_cross
18465 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18467 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18468 for ac_func in expl
18470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18471 echo "configure:18472: checking for $ac_func" >&5
18472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18473 echo $ac_n "(cached) $ac_c" 1>&6
18475 cat > conftest.$ac_ext <<EOF
18476 #line 18477 "configure"
18477 #include "confdefs.h"
18478 /* System header to define __stub macros and hopefully few prototypes,
18479 which can conflict with char $ac_func(); below. */
18480 #include <assert.h>
18481 /* Override any gcc2 internal prototype to avoid an error. */
18482 /* We use char because int might match the return type of a gcc2
18483 builtin and then its argument prototype would still apply. */
18488 /* The GNU C library defines this for functions which it implements
18489 to always fail with ENOSYS. Some functions are actually named
18490 something starting with __ and the normal name is an alias. */
18491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18499 if { (eval echo configure:18500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18501 eval "ac_cv_func_$ac_func=yes"
18503 echo "configure: failed program was:" >&5
18504 cat conftest.$ac_ext >&5
18506 eval "ac_cv_func_$ac_func=no"
18511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18512 echo "$ac_t""yes" 1>&6
18513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18514 cat >> confdefs.h <<EOF
18515 #define $ac_tr_func 1
18519 echo "$ac_t""no" 1>&6
18525 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
18526 echo "configure:18527: checking for _expl declaration" >&5
18527 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18528 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18529 echo $ac_n "(cached) $ac_c" 1>&6
18534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18535 ac_cpp='$CXXCPP $CPPFLAGS'
18536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18538 cross_compiling=$ac_cv_prog_cxx_cross
18540 cat > conftest.$ac_ext <<EOF
18541 #line 18542 "configure"
18542 #include "confdefs.h"
18544 #ifdef HAVE_IEEEFP_H
18545 #include <ieeefp.h>
18552 if { (eval echo configure:18553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18554 glibcpp_cv_func__expl_use=yes
18556 echo "configure: failed program was:" >&5
18557 cat conftest.$ac_ext >&5
18559 glibcpp_cv_func__expl_use=no
18563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18564 ac_cpp='$CPP $CPPFLAGS'
18565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18567 cross_compiling=$ac_cv_prog_cc_cross
18573 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18575 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18576 for ac_func in _expl
18578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18579 echo "configure:18580: checking for $ac_func" >&5
18580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18581 echo $ac_n "(cached) $ac_c" 1>&6
18583 cat > conftest.$ac_ext <<EOF
18584 #line 18585 "configure"
18585 #include "confdefs.h"
18586 /* System header to define __stub macros and hopefully few prototypes,
18587 which can conflict with char $ac_func(); below. */
18588 #include <assert.h>
18589 /* Override any gcc2 internal prototype to avoid an error. */
18590 /* We use char because int might match the return type of a gcc2
18591 builtin and then its argument prototype would still apply. */
18596 /* The GNU C library defines this for functions which it implements
18597 to always fail with ENOSYS. Some functions are actually named
18598 something starting with __ and the normal name is an alias. */
18599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18607 if { (eval echo configure:18608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18609 eval "ac_cv_func_$ac_func=yes"
18611 echo "configure: failed program was:" >&5
18612 cat conftest.$ac_ext >&5
18614 eval "ac_cv_func_$ac_func=no"
18619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18620 echo "$ac_t""yes" 1>&6
18621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18622 cat >> confdefs.h <<EOF
18623 #define $ac_tr_func 1
18627 echo "$ac_t""no" 1>&6
18636 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
18637 echo "configure:18638: checking for fabsl declaration" >&5
18638 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18639 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18640 echo $ac_n "(cached) $ac_c" 1>&6
18645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18646 ac_cpp='$CXXCPP $CPPFLAGS'
18647 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18648 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18649 cross_compiling=$ac_cv_prog_cxx_cross
18651 cat > conftest.$ac_ext <<EOF
18652 #line 18653 "configure"
18653 #include "confdefs.h"
18655 #ifdef HAVE_IEEEFP_H
18656 #include <ieeefp.h>
18663 if { (eval echo configure:18664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18665 glibcpp_cv_func_fabsl_use=yes
18667 echo "configure: failed program was:" >&5
18668 cat conftest.$ac_ext >&5
18670 glibcpp_cv_func_fabsl_use=no
18674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18675 ac_cpp='$CPP $CPPFLAGS'
18676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18678 cross_compiling=$ac_cv_prog_cc_cross
18684 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18686 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18687 for ac_func in fabsl
18689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18690 echo "configure:18691: checking for $ac_func" >&5
18691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18692 echo $ac_n "(cached) $ac_c" 1>&6
18694 cat > conftest.$ac_ext <<EOF
18695 #line 18696 "configure"
18696 #include "confdefs.h"
18697 /* System header to define __stub macros and hopefully few prototypes,
18698 which can conflict with char $ac_func(); below. */
18699 #include <assert.h>
18700 /* Override any gcc2 internal prototype to avoid an error. */
18701 /* We use char because int might match the return type of a gcc2
18702 builtin and then its argument prototype would still apply. */
18707 /* The GNU C library defines this for functions which it implements
18708 to always fail with ENOSYS. Some functions are actually named
18709 something starting with __ and the normal name is an alias. */
18710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18718 if { (eval echo configure:18719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18720 eval "ac_cv_func_$ac_func=yes"
18722 echo "configure: failed program was:" >&5
18723 cat conftest.$ac_ext >&5
18725 eval "ac_cv_func_$ac_func=no"
18730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18731 echo "$ac_t""yes" 1>&6
18732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18733 cat >> confdefs.h <<EOF
18734 #define $ac_tr_func 1
18738 echo "$ac_t""no" 1>&6
18744 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
18745 echo "configure:18746: checking for _fabsl declaration" >&5
18746 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18747 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18748 echo $ac_n "(cached) $ac_c" 1>&6
18753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18754 ac_cpp='$CXXCPP $CPPFLAGS'
18755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18757 cross_compiling=$ac_cv_prog_cxx_cross
18759 cat > conftest.$ac_ext <<EOF
18760 #line 18761 "configure"
18761 #include "confdefs.h"
18763 #ifdef HAVE_IEEEFP_H
18764 #include <ieeefp.h>
18771 if { (eval echo configure:18772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18773 glibcpp_cv_func__fabsl_use=yes
18775 echo "configure: failed program was:" >&5
18776 cat conftest.$ac_ext >&5
18778 glibcpp_cv_func__fabsl_use=no
18782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18783 ac_cpp='$CPP $CPPFLAGS'
18784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18786 cross_compiling=$ac_cv_prog_cc_cross
18792 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18794 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18795 for ac_func in _fabsl
18797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18798 echo "configure:18799: checking for $ac_func" >&5
18799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18800 echo $ac_n "(cached) $ac_c" 1>&6
18802 cat > conftest.$ac_ext <<EOF
18803 #line 18804 "configure"
18804 #include "confdefs.h"
18805 /* System header to define __stub macros and hopefully few prototypes,
18806 which can conflict with char $ac_func(); below. */
18807 #include <assert.h>
18808 /* Override any gcc2 internal prototype to avoid an error. */
18809 /* We use char because int might match the return type of a gcc2
18810 builtin and then its argument prototype would still apply. */
18815 /* The GNU C library defines this for functions which it implements
18816 to always fail with ENOSYS. Some functions are actually named
18817 something starting with __ and the normal name is an alias. */
18818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18826 if { (eval echo configure:18827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18828 eval "ac_cv_func_$ac_func=yes"
18830 echo "configure: failed program was:" >&5
18831 cat conftest.$ac_ext >&5
18833 eval "ac_cv_func_$ac_func=no"
18838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18839 echo "$ac_t""yes" 1>&6
18840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18841 cat >> confdefs.h <<EOF
18842 #define $ac_tr_func 1
18846 echo "$ac_t""no" 1>&6
18855 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
18856 echo "configure:18857: checking for fmodl declaration" >&5
18857 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18858 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18859 echo $ac_n "(cached) $ac_c" 1>&6
18864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18865 ac_cpp='$CXXCPP $CPPFLAGS'
18866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18868 cross_compiling=$ac_cv_prog_cxx_cross
18870 cat > conftest.$ac_ext <<EOF
18871 #line 18872 "configure"
18872 #include "confdefs.h"
18878 if { (eval echo configure:18879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18880 glibcpp_cv_func_fmodl_use=yes
18882 echo "configure: failed program was:" >&5
18883 cat conftest.$ac_ext >&5
18885 glibcpp_cv_func_fmodl_use=no
18889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18890 ac_cpp='$CPP $CPPFLAGS'
18891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18893 cross_compiling=$ac_cv_prog_cc_cross
18899 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18901 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18902 for ac_func in fmodl
18904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18905 echo "configure:18906: checking for $ac_func" >&5
18906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18907 echo $ac_n "(cached) $ac_c" 1>&6
18909 cat > conftest.$ac_ext <<EOF
18910 #line 18911 "configure"
18911 #include "confdefs.h"
18912 /* System header to define __stub macros and hopefully few prototypes,
18913 which can conflict with char $ac_func(); below. */
18914 #include <assert.h>
18915 /* Override any gcc2 internal prototype to avoid an error. */
18916 /* We use char because int might match the return type of a gcc2
18917 builtin and then its argument prototype would still apply. */
18922 /* The GNU C library defines this for functions which it implements
18923 to always fail with ENOSYS. Some functions are actually named
18924 something starting with __ and the normal name is an alias. */
18925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18933 if { (eval echo configure:18934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18935 eval "ac_cv_func_$ac_func=yes"
18937 echo "configure: failed program was:" >&5
18938 cat conftest.$ac_ext >&5
18940 eval "ac_cv_func_$ac_func=no"
18945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18946 echo "$ac_t""yes" 1>&6
18947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18948 cat >> confdefs.h <<EOF
18949 #define $ac_tr_func 1
18953 echo "$ac_t""no" 1>&6
18959 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
18960 echo "configure:18961: checking for _fmodl declaration" >&5
18961 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
18962 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
18963 echo $ac_n "(cached) $ac_c" 1>&6
18968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18969 ac_cpp='$CXXCPP $CPPFLAGS'
18970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18972 cross_compiling=$ac_cv_prog_cxx_cross
18974 cat > conftest.$ac_ext <<EOF
18975 #line 18976 "configure"
18976 #include "confdefs.h"
18982 if { (eval echo configure:18983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18984 glibcpp_cv_func__fmodl_use=yes
18986 echo "configure: failed program was:" >&5
18987 cat conftest.$ac_ext >&5
18989 glibcpp_cv_func__fmodl_use=no
18993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18994 ac_cpp='$CPP $CPPFLAGS'
18995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18997 cross_compiling=$ac_cv_prog_cc_cross
19003 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
19005 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
19006 for ac_func in _fmodl
19008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19009 echo "configure:19010: checking for $ac_func" >&5
19010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19011 echo $ac_n "(cached) $ac_c" 1>&6
19013 cat > conftest.$ac_ext <<EOF
19014 #line 19015 "configure"
19015 #include "confdefs.h"
19016 /* System header to define __stub macros and hopefully few prototypes,
19017 which can conflict with char $ac_func(); below. */
19018 #include <assert.h>
19019 /* Override any gcc2 internal prototype to avoid an error. */
19020 /* We use char because int might match the return type of a gcc2
19021 builtin and then its argument prototype would still apply. */
19026 /* The GNU C library defines this for functions which it implements
19027 to always fail with ENOSYS. Some functions are actually named
19028 something starting with __ and the normal name is an alias. */
19029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19037 if { (eval echo configure:19038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19039 eval "ac_cv_func_$ac_func=yes"
19041 echo "configure: failed program was:" >&5
19042 cat conftest.$ac_ext >&5
19044 eval "ac_cv_func_$ac_func=no"
19049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19050 echo "$ac_t""yes" 1>&6
19051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19052 cat >> confdefs.h <<EOF
19053 #define $ac_tr_func 1
19057 echo "$ac_t""no" 1>&6
19066 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
19067 echo "configure:19068: checking for frexpl declaration" >&5
19068 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
19069 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
19070 echo $ac_n "(cached) $ac_c" 1>&6
19075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19076 ac_cpp='$CXXCPP $CPPFLAGS'
19077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19079 cross_compiling=$ac_cv_prog_cxx_cross
19081 cat > conftest.$ac_ext <<EOF
19082 #line 19083 "configure"
19083 #include "confdefs.h"
19089 if { (eval echo configure:19090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19091 glibcpp_cv_func_frexpl_use=yes
19093 echo "configure: failed program was:" >&5
19094 cat conftest.$ac_ext >&5
19096 glibcpp_cv_func_frexpl_use=no
19100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19101 ac_cpp='$CPP $CPPFLAGS'
19102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19104 cross_compiling=$ac_cv_prog_cc_cross
19110 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
19112 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
19113 for ac_func in frexpl
19115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19116 echo "configure:19117: checking for $ac_func" >&5
19117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19118 echo $ac_n "(cached) $ac_c" 1>&6
19120 cat > conftest.$ac_ext <<EOF
19121 #line 19122 "configure"
19122 #include "confdefs.h"
19123 /* System header to define __stub macros and hopefully few prototypes,
19124 which can conflict with char $ac_func(); below. */
19125 #include <assert.h>
19126 /* Override any gcc2 internal prototype to avoid an error. */
19127 /* We use char because int might match the return type of a gcc2
19128 builtin and then its argument prototype would still apply. */
19133 /* The GNU C library defines this for functions which it implements
19134 to always fail with ENOSYS. Some functions are actually named
19135 something starting with __ and the normal name is an alias. */
19136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19144 if { (eval echo configure:19145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19146 eval "ac_cv_func_$ac_func=yes"
19148 echo "configure: failed program was:" >&5
19149 cat conftest.$ac_ext >&5
19151 eval "ac_cv_func_$ac_func=no"
19156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19157 echo "$ac_t""yes" 1>&6
19158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19159 cat >> confdefs.h <<EOF
19160 #define $ac_tr_func 1
19164 echo "$ac_t""no" 1>&6
19170 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
19171 echo "configure:19172: checking for _frexpl declaration" >&5
19172 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19173 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19174 echo $ac_n "(cached) $ac_c" 1>&6
19179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19180 ac_cpp='$CXXCPP $CPPFLAGS'
19181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19183 cross_compiling=$ac_cv_prog_cxx_cross
19185 cat > conftest.$ac_ext <<EOF
19186 #line 19187 "configure"
19187 #include "confdefs.h"
19193 if { (eval echo configure:19194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19195 glibcpp_cv_func__frexpl_use=yes
19197 echo "configure: failed program was:" >&5
19198 cat conftest.$ac_ext >&5
19200 glibcpp_cv_func__frexpl_use=no
19204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19205 ac_cpp='$CPP $CPPFLAGS'
19206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19208 cross_compiling=$ac_cv_prog_cc_cross
19214 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19216 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19217 for ac_func in _frexpl
19219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19220 echo "configure:19221: checking for $ac_func" >&5
19221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19222 echo $ac_n "(cached) $ac_c" 1>&6
19224 cat > conftest.$ac_ext <<EOF
19225 #line 19226 "configure"
19226 #include "confdefs.h"
19227 /* System header to define __stub macros and hopefully few prototypes,
19228 which can conflict with char $ac_func(); below. */
19229 #include <assert.h>
19230 /* Override any gcc2 internal prototype to avoid an error. */
19231 /* We use char because int might match the return type of a gcc2
19232 builtin and then its argument prototype would still apply. */
19237 /* The GNU C library defines this for functions which it implements
19238 to always fail with ENOSYS. Some functions are actually named
19239 something starting with __ and the normal name is an alias. */
19240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19248 if { (eval echo configure:19249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19250 eval "ac_cv_func_$ac_func=yes"
19252 echo "configure: failed program was:" >&5
19253 cat conftest.$ac_ext >&5
19255 eval "ac_cv_func_$ac_func=no"
19260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19261 echo "$ac_t""yes" 1>&6
19262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19263 cat >> confdefs.h <<EOF
19264 #define $ac_tr_func 1
19268 echo "$ac_t""no" 1>&6
19277 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
19278 echo "configure:19279: checking for hypotl declaration" >&5
19279 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19280 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19281 echo $ac_n "(cached) $ac_c" 1>&6
19286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19287 ac_cpp='$CXXCPP $CPPFLAGS'
19288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19290 cross_compiling=$ac_cv_prog_cxx_cross
19292 cat > conftest.$ac_ext <<EOF
19293 #line 19294 "configure"
19294 #include "confdefs.h"
19300 if { (eval echo configure:19301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19302 glibcpp_cv_func_hypotl_use=yes
19304 echo "configure: failed program was:" >&5
19305 cat conftest.$ac_ext >&5
19307 glibcpp_cv_func_hypotl_use=no
19311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19312 ac_cpp='$CPP $CPPFLAGS'
19313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19315 cross_compiling=$ac_cv_prog_cc_cross
19321 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19323 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19324 for ac_func in hypotl
19326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19327 echo "configure:19328: checking for $ac_func" >&5
19328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19329 echo $ac_n "(cached) $ac_c" 1>&6
19331 cat > conftest.$ac_ext <<EOF
19332 #line 19333 "configure"
19333 #include "confdefs.h"
19334 /* System header to define __stub macros and hopefully few prototypes,
19335 which can conflict with char $ac_func(); below. */
19336 #include <assert.h>
19337 /* Override any gcc2 internal prototype to avoid an error. */
19338 /* We use char because int might match the return type of a gcc2
19339 builtin and then its argument prototype would still apply. */
19344 /* The GNU C library defines this for functions which it implements
19345 to always fail with ENOSYS. Some functions are actually named
19346 something starting with __ and the normal name is an alias. */
19347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19355 if { (eval echo configure:19356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19357 eval "ac_cv_func_$ac_func=yes"
19359 echo "configure: failed program was:" >&5
19360 cat conftest.$ac_ext >&5
19362 eval "ac_cv_func_$ac_func=no"
19367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19368 echo "$ac_t""yes" 1>&6
19369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19370 cat >> confdefs.h <<EOF
19371 #define $ac_tr_func 1
19375 echo "$ac_t""no" 1>&6
19381 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
19382 echo "configure:19383: checking for _hypotl declaration" >&5
19383 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19384 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19385 echo $ac_n "(cached) $ac_c" 1>&6
19390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19391 ac_cpp='$CXXCPP $CPPFLAGS'
19392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19394 cross_compiling=$ac_cv_prog_cxx_cross
19396 cat > conftest.$ac_ext <<EOF
19397 #line 19398 "configure"
19398 #include "confdefs.h"
19404 if { (eval echo configure:19405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19406 glibcpp_cv_func__hypotl_use=yes
19408 echo "configure: failed program was:" >&5
19409 cat conftest.$ac_ext >&5
19411 glibcpp_cv_func__hypotl_use=no
19415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19416 ac_cpp='$CPP $CPPFLAGS'
19417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19419 cross_compiling=$ac_cv_prog_cc_cross
19425 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19427 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19428 for ac_func in _hypotl
19430 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19431 echo "configure:19432: checking for $ac_func" >&5
19432 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19433 echo $ac_n "(cached) $ac_c" 1>&6
19435 cat > conftest.$ac_ext <<EOF
19436 #line 19437 "configure"
19437 #include "confdefs.h"
19438 /* System header to define __stub macros and hopefully few prototypes,
19439 which can conflict with char $ac_func(); below. */
19440 #include <assert.h>
19441 /* Override any gcc2 internal prototype to avoid an error. */
19442 /* We use char because int might match the return type of a gcc2
19443 builtin and then its argument prototype would still apply. */
19448 /* The GNU C library defines this for functions which it implements
19449 to always fail with ENOSYS. Some functions are actually named
19450 something starting with __ and the normal name is an alias. */
19451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19459 if { (eval echo configure:19460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19461 eval "ac_cv_func_$ac_func=yes"
19463 echo "configure: failed program was:" >&5
19464 cat conftest.$ac_ext >&5
19466 eval "ac_cv_func_$ac_func=no"
19471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19472 echo "$ac_t""yes" 1>&6
19473 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19474 cat >> confdefs.h <<EOF
19475 #define $ac_tr_func 1
19479 echo "$ac_t""no" 1>&6
19488 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
19489 echo "configure:19490: checking for ldexpl declaration" >&5
19490 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19491 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19492 echo $ac_n "(cached) $ac_c" 1>&6
19497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19498 ac_cpp='$CXXCPP $CPPFLAGS'
19499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19501 cross_compiling=$ac_cv_prog_cxx_cross
19503 cat > conftest.$ac_ext <<EOF
19504 #line 19505 "configure"
19505 #include "confdefs.h"
19511 if { (eval echo configure:19512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19513 glibcpp_cv_func_ldexpl_use=yes
19515 echo "configure: failed program was:" >&5
19516 cat conftest.$ac_ext >&5
19518 glibcpp_cv_func_ldexpl_use=no
19522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19523 ac_cpp='$CPP $CPPFLAGS'
19524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19526 cross_compiling=$ac_cv_prog_cc_cross
19532 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19534 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19535 for ac_func in ldexpl
19537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19538 echo "configure:19539: checking for $ac_func" >&5
19539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19540 echo $ac_n "(cached) $ac_c" 1>&6
19542 cat > conftest.$ac_ext <<EOF
19543 #line 19544 "configure"
19544 #include "confdefs.h"
19545 /* System header to define __stub macros and hopefully few prototypes,
19546 which can conflict with char $ac_func(); below. */
19547 #include <assert.h>
19548 /* Override any gcc2 internal prototype to avoid an error. */
19549 /* We use char because int might match the return type of a gcc2
19550 builtin and then its argument prototype would still apply. */
19555 /* The GNU C library defines this for functions which it implements
19556 to always fail with ENOSYS. Some functions are actually named
19557 something starting with __ and the normal name is an alias. */
19558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19566 if { (eval echo configure:19567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19568 eval "ac_cv_func_$ac_func=yes"
19570 echo "configure: failed program was:" >&5
19571 cat conftest.$ac_ext >&5
19573 eval "ac_cv_func_$ac_func=no"
19578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19579 echo "$ac_t""yes" 1>&6
19580 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19581 cat >> confdefs.h <<EOF
19582 #define $ac_tr_func 1
19586 echo "$ac_t""no" 1>&6
19592 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
19593 echo "configure:19594: checking for _ldexpl declaration" >&5
19594 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19595 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19596 echo $ac_n "(cached) $ac_c" 1>&6
19601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19602 ac_cpp='$CXXCPP $CPPFLAGS'
19603 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19604 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19605 cross_compiling=$ac_cv_prog_cxx_cross
19607 cat > conftest.$ac_ext <<EOF
19608 #line 19609 "configure"
19609 #include "confdefs.h"
19615 if { (eval echo configure:19616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19617 glibcpp_cv_func__ldexpl_use=yes
19619 echo "configure: failed program was:" >&5
19620 cat conftest.$ac_ext >&5
19622 glibcpp_cv_func__ldexpl_use=no
19626 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19627 ac_cpp='$CPP $CPPFLAGS'
19628 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19629 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19630 cross_compiling=$ac_cv_prog_cc_cross
19636 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19638 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19639 for ac_func in _ldexpl
19641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19642 echo "configure:19643: checking for $ac_func" >&5
19643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19644 echo $ac_n "(cached) $ac_c" 1>&6
19646 cat > conftest.$ac_ext <<EOF
19647 #line 19648 "configure"
19648 #include "confdefs.h"
19649 /* System header to define __stub macros and hopefully few prototypes,
19650 which can conflict with char $ac_func(); below. */
19651 #include <assert.h>
19652 /* Override any gcc2 internal prototype to avoid an error. */
19653 /* We use char because int might match the return type of a gcc2
19654 builtin and then its argument prototype would still apply. */
19659 /* The GNU C library defines this for functions which it implements
19660 to always fail with ENOSYS. Some functions are actually named
19661 something starting with __ and the normal name is an alias. */
19662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19670 if { (eval echo configure:19671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19672 eval "ac_cv_func_$ac_func=yes"
19674 echo "configure: failed program was:" >&5
19675 cat conftest.$ac_ext >&5
19677 eval "ac_cv_func_$ac_func=no"
19682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19683 echo "$ac_t""yes" 1>&6
19684 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19685 cat >> confdefs.h <<EOF
19686 #define $ac_tr_func 1
19690 echo "$ac_t""no" 1>&6
19699 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
19700 echo "configure:19701: checking for logl declaration" >&5
19701 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19702 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19703 echo $ac_n "(cached) $ac_c" 1>&6
19708 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19709 ac_cpp='$CXXCPP $CPPFLAGS'
19710 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19711 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19712 cross_compiling=$ac_cv_prog_cxx_cross
19714 cat > conftest.$ac_ext <<EOF
19715 #line 19716 "configure"
19716 #include "confdefs.h"
19718 #ifdef HAVE_IEEEFP_H
19719 #include <ieeefp.h>
19726 if { (eval echo configure:19727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19728 glibcpp_cv_func_logl_use=yes
19730 echo "configure: failed program was:" >&5
19731 cat conftest.$ac_ext >&5
19733 glibcpp_cv_func_logl_use=no
19737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19738 ac_cpp='$CPP $CPPFLAGS'
19739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19741 cross_compiling=$ac_cv_prog_cc_cross
19747 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19749 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19750 for ac_func in logl
19752 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19753 echo "configure:19754: checking for $ac_func" >&5
19754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19755 echo $ac_n "(cached) $ac_c" 1>&6
19757 cat > conftest.$ac_ext <<EOF
19758 #line 19759 "configure"
19759 #include "confdefs.h"
19760 /* System header to define __stub macros and hopefully few prototypes,
19761 which can conflict with char $ac_func(); below. */
19762 #include <assert.h>
19763 /* Override any gcc2 internal prototype to avoid an error. */
19764 /* We use char because int might match the return type of a gcc2
19765 builtin and then its argument prototype would still apply. */
19770 /* The GNU C library defines this for functions which it implements
19771 to always fail with ENOSYS. Some functions are actually named
19772 something starting with __ and the normal name is an alias. */
19773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19781 if { (eval echo configure:19782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19783 eval "ac_cv_func_$ac_func=yes"
19785 echo "configure: failed program was:" >&5
19786 cat conftest.$ac_ext >&5
19788 eval "ac_cv_func_$ac_func=no"
19793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19794 echo "$ac_t""yes" 1>&6
19795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19796 cat >> confdefs.h <<EOF
19797 #define $ac_tr_func 1
19801 echo "$ac_t""no" 1>&6
19807 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
19808 echo "configure:19809: checking for _logl declaration" >&5
19809 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19810 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19811 echo $ac_n "(cached) $ac_c" 1>&6
19816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19817 ac_cpp='$CXXCPP $CPPFLAGS'
19818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19820 cross_compiling=$ac_cv_prog_cxx_cross
19822 cat > conftest.$ac_ext <<EOF
19823 #line 19824 "configure"
19824 #include "confdefs.h"
19826 #ifdef HAVE_IEEEFP_H
19827 #include <ieeefp.h>
19834 if { (eval echo configure:19835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19836 glibcpp_cv_func__logl_use=yes
19838 echo "configure: failed program was:" >&5
19839 cat conftest.$ac_ext >&5
19841 glibcpp_cv_func__logl_use=no
19845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19846 ac_cpp='$CPP $CPPFLAGS'
19847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19849 cross_compiling=$ac_cv_prog_cc_cross
19855 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19857 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19858 for ac_func in _logl
19860 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19861 echo "configure:19862: checking for $ac_func" >&5
19862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19863 echo $ac_n "(cached) $ac_c" 1>&6
19865 cat > conftest.$ac_ext <<EOF
19866 #line 19867 "configure"
19867 #include "confdefs.h"
19868 /* System header to define __stub macros and hopefully few prototypes,
19869 which can conflict with char $ac_func(); below. */
19870 #include <assert.h>
19871 /* Override any gcc2 internal prototype to avoid an error. */
19872 /* We use char because int might match the return type of a gcc2
19873 builtin and then its argument prototype would still apply. */
19878 /* The GNU C library defines this for functions which it implements
19879 to always fail with ENOSYS. Some functions are actually named
19880 something starting with __ and the normal name is an alias. */
19881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19889 if { (eval echo configure:19890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19891 eval "ac_cv_func_$ac_func=yes"
19893 echo "configure: failed program was:" >&5
19894 cat conftest.$ac_ext >&5
19896 eval "ac_cv_func_$ac_func=no"
19901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19902 echo "$ac_t""yes" 1>&6
19903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19904 cat >> confdefs.h <<EOF
19905 #define $ac_tr_func 1
19909 echo "$ac_t""no" 1>&6
19918 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
19919 echo "configure:19920: checking for log10l declaration" >&5
19920 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19921 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19922 echo $ac_n "(cached) $ac_c" 1>&6
19927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19928 ac_cpp='$CXXCPP $CPPFLAGS'
19929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19931 cross_compiling=$ac_cv_prog_cxx_cross
19933 cat > conftest.$ac_ext <<EOF
19934 #line 19935 "configure"
19935 #include "confdefs.h"
19937 #ifdef HAVE_IEEEFP_H
19938 #include <ieeefp.h>
19945 if { (eval echo configure:19946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19947 glibcpp_cv_func_log10l_use=yes
19949 echo "configure: failed program was:" >&5
19950 cat conftest.$ac_ext >&5
19952 glibcpp_cv_func_log10l_use=no
19956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19957 ac_cpp='$CPP $CPPFLAGS'
19958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19960 cross_compiling=$ac_cv_prog_cc_cross
19966 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
19968 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
19969 for ac_func in log10l
19971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19972 echo "configure:19973: checking for $ac_func" >&5
19973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19974 echo $ac_n "(cached) $ac_c" 1>&6
19976 cat > conftest.$ac_ext <<EOF
19977 #line 19978 "configure"
19978 #include "confdefs.h"
19979 /* System header to define __stub macros and hopefully few prototypes,
19980 which can conflict with char $ac_func(); below. */
19981 #include <assert.h>
19982 /* Override any gcc2 internal prototype to avoid an error. */
19983 /* We use char because int might match the return type of a gcc2
19984 builtin and then its argument prototype would still apply. */
19989 /* The GNU C library defines this for functions which it implements
19990 to always fail with ENOSYS. Some functions are actually named
19991 something starting with __ and the normal name is an alias. */
19992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20000 if { (eval echo configure:20001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20002 eval "ac_cv_func_$ac_func=yes"
20004 echo "configure: failed program was:" >&5
20005 cat conftest.$ac_ext >&5
20007 eval "ac_cv_func_$ac_func=no"
20012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20013 echo "$ac_t""yes" 1>&6
20014 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20015 cat >> confdefs.h <<EOF
20016 #define $ac_tr_func 1
20020 echo "$ac_t""no" 1>&6
20026 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
20027 echo "configure:20028: checking for _log10l declaration" >&5
20028 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
20029 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
20030 echo $ac_n "(cached) $ac_c" 1>&6
20035 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20036 ac_cpp='$CXXCPP $CPPFLAGS'
20037 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20038 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20039 cross_compiling=$ac_cv_prog_cxx_cross
20041 cat > conftest.$ac_ext <<EOF
20042 #line 20043 "configure"
20043 #include "confdefs.h"
20045 #ifdef HAVE_IEEEFP_H
20046 #include <ieeefp.h>
20053 if { (eval echo configure:20054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20055 glibcpp_cv_func__log10l_use=yes
20057 echo "configure: failed program was:" >&5
20058 cat conftest.$ac_ext >&5
20060 glibcpp_cv_func__log10l_use=no
20064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20065 ac_cpp='$CPP $CPPFLAGS'
20066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20068 cross_compiling=$ac_cv_prog_cc_cross
20074 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
20076 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
20077 for ac_func in _log10l
20079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20080 echo "configure:20081: checking for $ac_func" >&5
20081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20082 echo $ac_n "(cached) $ac_c" 1>&6
20084 cat > conftest.$ac_ext <<EOF
20085 #line 20086 "configure"
20086 #include "confdefs.h"
20087 /* System header to define __stub macros and hopefully few prototypes,
20088 which can conflict with char $ac_func(); below. */
20089 #include <assert.h>
20090 /* Override any gcc2 internal prototype to avoid an error. */
20091 /* We use char because int might match the return type of a gcc2
20092 builtin and then its argument prototype would still apply. */
20097 /* The GNU C library defines this for functions which it implements
20098 to always fail with ENOSYS. Some functions are actually named
20099 something starting with __ and the normal name is an alias. */
20100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20108 if { (eval echo configure:20109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20110 eval "ac_cv_func_$ac_func=yes"
20112 echo "configure: failed program was:" >&5
20113 cat conftest.$ac_ext >&5
20115 eval "ac_cv_func_$ac_func=no"
20120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20121 echo "$ac_t""yes" 1>&6
20122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20123 cat >> confdefs.h <<EOF
20124 #define $ac_tr_func 1
20128 echo "$ac_t""no" 1>&6
20137 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
20138 echo "configure:20139: checking for modfl declaration" >&5
20139 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
20140 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
20141 echo $ac_n "(cached) $ac_c" 1>&6
20146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20147 ac_cpp='$CXXCPP $CPPFLAGS'
20148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20150 cross_compiling=$ac_cv_prog_cxx_cross
20152 cat > conftest.$ac_ext <<EOF
20153 #line 20154 "configure"
20154 #include "confdefs.h"
20160 if { (eval echo configure:20161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20162 glibcpp_cv_func_modfl_use=yes
20164 echo "configure: failed program was:" >&5
20165 cat conftest.$ac_ext >&5
20167 glibcpp_cv_func_modfl_use=no
20171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20172 ac_cpp='$CPP $CPPFLAGS'
20173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20175 cross_compiling=$ac_cv_prog_cc_cross
20181 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20183 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20184 for ac_func in modfl
20186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20187 echo "configure:20188: checking for $ac_func" >&5
20188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20189 echo $ac_n "(cached) $ac_c" 1>&6
20191 cat > conftest.$ac_ext <<EOF
20192 #line 20193 "configure"
20193 #include "confdefs.h"
20194 /* System header to define __stub macros and hopefully few prototypes,
20195 which can conflict with char $ac_func(); below. */
20196 #include <assert.h>
20197 /* Override any gcc2 internal prototype to avoid an error. */
20198 /* We use char because int might match the return type of a gcc2
20199 builtin and then its argument prototype would still apply. */
20204 /* The GNU C library defines this for functions which it implements
20205 to always fail with ENOSYS. Some functions are actually named
20206 something starting with __ and the normal name is an alias. */
20207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20215 if { (eval echo configure:20216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20217 eval "ac_cv_func_$ac_func=yes"
20219 echo "configure: failed program was:" >&5
20220 cat conftest.$ac_ext >&5
20222 eval "ac_cv_func_$ac_func=no"
20227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20228 echo "$ac_t""yes" 1>&6
20229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20230 cat >> confdefs.h <<EOF
20231 #define $ac_tr_func 1
20235 echo "$ac_t""no" 1>&6
20241 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
20242 echo "configure:20243: checking for _modfl declaration" >&5
20243 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20244 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20245 echo $ac_n "(cached) $ac_c" 1>&6
20250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20251 ac_cpp='$CXXCPP $CPPFLAGS'
20252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20254 cross_compiling=$ac_cv_prog_cxx_cross
20256 cat > conftest.$ac_ext <<EOF
20257 #line 20258 "configure"
20258 #include "confdefs.h"
20264 if { (eval echo configure:20265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20266 glibcpp_cv_func__modfl_use=yes
20268 echo "configure: failed program was:" >&5
20269 cat conftest.$ac_ext >&5
20271 glibcpp_cv_func__modfl_use=no
20275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20276 ac_cpp='$CPP $CPPFLAGS'
20277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20279 cross_compiling=$ac_cv_prog_cc_cross
20285 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20287 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20288 for ac_func in _modfl
20290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20291 echo "configure:20292: checking for $ac_func" >&5
20292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20293 echo $ac_n "(cached) $ac_c" 1>&6
20295 cat > conftest.$ac_ext <<EOF
20296 #line 20297 "configure"
20297 #include "confdefs.h"
20298 /* System header to define __stub macros and hopefully few prototypes,
20299 which can conflict with char $ac_func(); below. */
20300 #include <assert.h>
20301 /* Override any gcc2 internal prototype to avoid an error. */
20302 /* We use char because int might match the return type of a gcc2
20303 builtin and then its argument prototype would still apply. */
20308 /* The GNU C library defines this for functions which it implements
20309 to always fail with ENOSYS. Some functions are actually named
20310 something starting with __ and the normal name is an alias. */
20311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20319 if { (eval echo configure:20320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20321 eval "ac_cv_func_$ac_func=yes"
20323 echo "configure: failed program was:" >&5
20324 cat conftest.$ac_ext >&5
20326 eval "ac_cv_func_$ac_func=no"
20331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20332 echo "$ac_t""yes" 1>&6
20333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20334 cat >> confdefs.h <<EOF
20335 #define $ac_tr_func 1
20339 echo "$ac_t""no" 1>&6
20348 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
20349 echo "configure:20350: checking for powl declaration" >&5
20350 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20351 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20352 echo $ac_n "(cached) $ac_c" 1>&6
20357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20358 ac_cpp='$CXXCPP $CPPFLAGS'
20359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20361 cross_compiling=$ac_cv_prog_cxx_cross
20363 cat > conftest.$ac_ext <<EOF
20364 #line 20365 "configure"
20365 #include "confdefs.h"
20371 if { (eval echo configure:20372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20373 glibcpp_cv_func_powl_use=yes
20375 echo "configure: failed program was:" >&5
20376 cat conftest.$ac_ext >&5
20378 glibcpp_cv_func_powl_use=no
20382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20383 ac_cpp='$CPP $CPPFLAGS'
20384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20386 cross_compiling=$ac_cv_prog_cc_cross
20392 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20394 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20395 for ac_func in powl
20397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20398 echo "configure:20399: checking for $ac_func" >&5
20399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20400 echo $ac_n "(cached) $ac_c" 1>&6
20402 cat > conftest.$ac_ext <<EOF
20403 #line 20404 "configure"
20404 #include "confdefs.h"
20405 /* System header to define __stub macros and hopefully few prototypes,
20406 which can conflict with char $ac_func(); below. */
20407 #include <assert.h>
20408 /* Override any gcc2 internal prototype to avoid an error. */
20409 /* We use char because int might match the return type of a gcc2
20410 builtin and then its argument prototype would still apply. */
20415 /* The GNU C library defines this for functions which it implements
20416 to always fail with ENOSYS. Some functions are actually named
20417 something starting with __ and the normal name is an alias. */
20418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20426 if { (eval echo configure:20427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20428 eval "ac_cv_func_$ac_func=yes"
20430 echo "configure: failed program was:" >&5
20431 cat conftest.$ac_ext >&5
20433 eval "ac_cv_func_$ac_func=no"
20438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20439 echo "$ac_t""yes" 1>&6
20440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20441 cat >> confdefs.h <<EOF
20442 #define $ac_tr_func 1
20446 echo "$ac_t""no" 1>&6
20452 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
20453 echo "configure:20454: checking for _powl declaration" >&5
20454 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20455 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20456 echo $ac_n "(cached) $ac_c" 1>&6
20461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20462 ac_cpp='$CXXCPP $CPPFLAGS'
20463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20465 cross_compiling=$ac_cv_prog_cxx_cross
20467 cat > conftest.$ac_ext <<EOF
20468 #line 20469 "configure"
20469 #include "confdefs.h"
20475 if { (eval echo configure:20476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20477 glibcpp_cv_func__powl_use=yes
20479 echo "configure: failed program was:" >&5
20480 cat conftest.$ac_ext >&5
20482 glibcpp_cv_func__powl_use=no
20486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20487 ac_cpp='$CPP $CPPFLAGS'
20488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20490 cross_compiling=$ac_cv_prog_cc_cross
20496 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20498 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20499 for ac_func in _powl
20501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20502 echo "configure:20503: checking for $ac_func" >&5
20503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20504 echo $ac_n "(cached) $ac_c" 1>&6
20506 cat > conftest.$ac_ext <<EOF
20507 #line 20508 "configure"
20508 #include "confdefs.h"
20509 /* System header to define __stub macros and hopefully few prototypes,
20510 which can conflict with char $ac_func(); below. */
20511 #include <assert.h>
20512 /* Override any gcc2 internal prototype to avoid an error. */
20513 /* We use char because int might match the return type of a gcc2
20514 builtin and then its argument prototype would still apply. */
20519 /* The GNU C library defines this for functions which it implements
20520 to always fail with ENOSYS. Some functions are actually named
20521 something starting with __ and the normal name is an alias. */
20522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20530 if { (eval echo configure:20531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20532 eval "ac_cv_func_$ac_func=yes"
20534 echo "configure: failed program was:" >&5
20535 cat conftest.$ac_ext >&5
20537 eval "ac_cv_func_$ac_func=no"
20542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20543 echo "$ac_t""yes" 1>&6
20544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20545 cat >> confdefs.h <<EOF
20546 #define $ac_tr_func 1
20550 echo "$ac_t""no" 1>&6
20559 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
20560 echo "configure:20561: checking for sqrtl declaration" >&5
20561 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20562 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20563 echo $ac_n "(cached) $ac_c" 1>&6
20568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20569 ac_cpp='$CXXCPP $CPPFLAGS'
20570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20572 cross_compiling=$ac_cv_prog_cxx_cross
20574 cat > conftest.$ac_ext <<EOF
20575 #line 20576 "configure"
20576 #include "confdefs.h"
20578 #ifdef HAVE_IEEEFP_H
20579 #include <ieeefp.h>
20586 if { (eval echo configure:20587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20588 glibcpp_cv_func_sqrtl_use=yes
20590 echo "configure: failed program was:" >&5
20591 cat conftest.$ac_ext >&5
20593 glibcpp_cv_func_sqrtl_use=no
20597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20598 ac_cpp='$CPP $CPPFLAGS'
20599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20601 cross_compiling=$ac_cv_prog_cc_cross
20607 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20609 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20610 for ac_func in sqrtl
20612 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20613 echo "configure:20614: checking for $ac_func" >&5
20614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20615 echo $ac_n "(cached) $ac_c" 1>&6
20617 cat > conftest.$ac_ext <<EOF
20618 #line 20619 "configure"
20619 #include "confdefs.h"
20620 /* System header to define __stub macros and hopefully few prototypes,
20621 which can conflict with char $ac_func(); below. */
20622 #include <assert.h>
20623 /* Override any gcc2 internal prototype to avoid an error. */
20624 /* We use char because int might match the return type of a gcc2
20625 builtin and then its argument prototype would still apply. */
20630 /* The GNU C library defines this for functions which it implements
20631 to always fail with ENOSYS. Some functions are actually named
20632 something starting with __ and the normal name is an alias. */
20633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20641 if { (eval echo configure:20642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20643 eval "ac_cv_func_$ac_func=yes"
20645 echo "configure: failed program was:" >&5
20646 cat conftest.$ac_ext >&5
20648 eval "ac_cv_func_$ac_func=no"
20653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20654 echo "$ac_t""yes" 1>&6
20655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20656 cat >> confdefs.h <<EOF
20657 #define $ac_tr_func 1
20661 echo "$ac_t""no" 1>&6
20667 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
20668 echo "configure:20669: checking for _sqrtl declaration" >&5
20669 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20670 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20671 echo $ac_n "(cached) $ac_c" 1>&6
20676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20677 ac_cpp='$CXXCPP $CPPFLAGS'
20678 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20679 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20680 cross_compiling=$ac_cv_prog_cxx_cross
20682 cat > conftest.$ac_ext <<EOF
20683 #line 20684 "configure"
20684 #include "confdefs.h"
20686 #ifdef HAVE_IEEEFP_H
20687 #include <ieeefp.h>
20694 if { (eval echo configure:20695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20696 glibcpp_cv_func__sqrtl_use=yes
20698 echo "configure: failed program was:" >&5
20699 cat conftest.$ac_ext >&5
20701 glibcpp_cv_func__sqrtl_use=no
20705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20706 ac_cpp='$CPP $CPPFLAGS'
20707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20709 cross_compiling=$ac_cv_prog_cc_cross
20715 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20717 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20718 for ac_func in _sqrtl
20720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20721 echo "configure:20722: checking for $ac_func" >&5
20722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20723 echo $ac_n "(cached) $ac_c" 1>&6
20725 cat > conftest.$ac_ext <<EOF
20726 #line 20727 "configure"
20727 #include "confdefs.h"
20728 /* System header to define __stub macros and hopefully few prototypes,
20729 which can conflict with char $ac_func(); below. */
20730 #include <assert.h>
20731 /* Override any gcc2 internal prototype to avoid an error. */
20732 /* We use char because int might match the return type of a gcc2
20733 builtin and then its argument prototype would still apply. */
20738 /* The GNU C library defines this for functions which it implements
20739 to always fail with ENOSYS. Some functions are actually named
20740 something starting with __ and the normal name is an alias. */
20741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20749 if { (eval echo configure:20750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20751 eval "ac_cv_func_$ac_func=yes"
20753 echo "configure: failed program was:" >&5
20754 cat conftest.$ac_ext >&5
20756 eval "ac_cv_func_$ac_func=no"
20761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20762 echo "$ac_t""yes" 1>&6
20763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20764 cat >> confdefs.h <<EOF
20765 #define $ac_tr_func 1
20769 echo "$ac_t""no" 1>&6
20778 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
20779 echo "configure:20780: checking for sincosl declaration" >&5
20780 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20781 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20782 echo $ac_n "(cached) $ac_c" 1>&6
20787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20788 ac_cpp='$CXXCPP $CPPFLAGS'
20789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20791 cross_compiling=$ac_cv_prog_cxx_cross
20793 cat > conftest.$ac_ext <<EOF
20794 #line 20795 "configure"
20795 #include "confdefs.h"
20801 if { (eval echo configure:20802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20803 glibcpp_cv_func_sincosl_use=yes
20805 echo "configure: failed program was:" >&5
20806 cat conftest.$ac_ext >&5
20808 glibcpp_cv_func_sincosl_use=no
20812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20813 ac_cpp='$CPP $CPPFLAGS'
20814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20816 cross_compiling=$ac_cv_prog_cc_cross
20822 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20824 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20825 for ac_func in sincosl
20827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20828 echo "configure:20829: checking for $ac_func" >&5
20829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20830 echo $ac_n "(cached) $ac_c" 1>&6
20832 cat > conftest.$ac_ext <<EOF
20833 #line 20834 "configure"
20834 #include "confdefs.h"
20835 /* System header to define __stub macros and hopefully few prototypes,
20836 which can conflict with char $ac_func(); below. */
20837 #include <assert.h>
20838 /* Override any gcc2 internal prototype to avoid an error. */
20839 /* We use char because int might match the return type of a gcc2
20840 builtin and then its argument prototype would still apply. */
20845 /* The GNU C library defines this for functions which it implements
20846 to always fail with ENOSYS. Some functions are actually named
20847 something starting with __ and the normal name is an alias. */
20848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20856 if { (eval echo configure:20857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20858 eval "ac_cv_func_$ac_func=yes"
20860 echo "configure: failed program was:" >&5
20861 cat conftest.$ac_ext >&5
20863 eval "ac_cv_func_$ac_func=no"
20868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20869 echo "$ac_t""yes" 1>&6
20870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20871 cat >> confdefs.h <<EOF
20872 #define $ac_tr_func 1
20876 echo "$ac_t""no" 1>&6
20882 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
20883 echo "configure:20884: checking for _sincosl declaration" >&5
20884 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20885 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20886 echo $ac_n "(cached) $ac_c" 1>&6
20891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20892 ac_cpp='$CXXCPP $CPPFLAGS'
20893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20895 cross_compiling=$ac_cv_prog_cxx_cross
20897 cat > conftest.$ac_ext <<EOF
20898 #line 20899 "configure"
20899 #include "confdefs.h"
20905 if { (eval echo configure:20906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20907 glibcpp_cv_func__sincosl_use=yes
20909 echo "configure: failed program was:" >&5
20910 cat conftest.$ac_ext >&5
20912 glibcpp_cv_func__sincosl_use=no
20916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20917 ac_cpp='$CPP $CPPFLAGS'
20918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20920 cross_compiling=$ac_cv_prog_cc_cross
20926 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20928 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20929 for ac_func in _sincosl
20931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20932 echo "configure:20933: checking for $ac_func" >&5
20933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20934 echo $ac_n "(cached) $ac_c" 1>&6
20936 cat > conftest.$ac_ext <<EOF
20937 #line 20938 "configure"
20938 #include "confdefs.h"
20939 /* System header to define __stub macros and hopefully few prototypes,
20940 which can conflict with char $ac_func(); below. */
20941 #include <assert.h>
20942 /* Override any gcc2 internal prototype to avoid an error. */
20943 /* We use char because int might match the return type of a gcc2
20944 builtin and then its argument prototype would still apply. */
20949 /* The GNU C library defines this for functions which it implements
20950 to always fail with ENOSYS. Some functions are actually named
20951 something starting with __ and the normal name is an alias. */
20952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20960 if { (eval echo configure:20961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20962 eval "ac_cv_func_$ac_func=yes"
20964 echo "configure: failed program was:" >&5
20965 cat conftest.$ac_ext >&5
20967 eval "ac_cv_func_$ac_func=no"
20972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20973 echo "$ac_t""yes" 1>&6
20974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20975 cat >> confdefs.h <<EOF
20976 #define $ac_tr_func 1
20980 echo "$ac_t""no" 1>&6
20989 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
20990 echo "configure:20991: checking for finitel declaration" >&5
20991 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
20992 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
20993 echo $ac_n "(cached) $ac_c" 1>&6
20998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20999 ac_cpp='$CXXCPP $CPPFLAGS'
21000 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21001 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21002 cross_compiling=$ac_cv_prog_cxx_cross
21004 cat > conftest.$ac_ext <<EOF
21005 #line 21006 "configure"
21006 #include "confdefs.h"
21008 #ifdef HAVE_IEEEFP_H
21009 #include <ieeefp.h>
21016 if { (eval echo configure:21017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21018 glibcpp_cv_func_finitel_use=yes
21020 echo "configure: failed program was:" >&5
21021 cat conftest.$ac_ext >&5
21023 glibcpp_cv_func_finitel_use=no
21027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21028 ac_cpp='$CPP $CPPFLAGS'
21029 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21030 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21031 cross_compiling=$ac_cv_prog_cc_cross
21037 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
21039 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
21040 for ac_func in finitel
21042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21043 echo "configure:21044: checking for $ac_func" >&5
21044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21045 echo $ac_n "(cached) $ac_c" 1>&6
21047 cat > conftest.$ac_ext <<EOF
21048 #line 21049 "configure"
21049 #include "confdefs.h"
21050 /* System header to define __stub macros and hopefully few prototypes,
21051 which can conflict with char $ac_func(); below. */
21052 #include <assert.h>
21053 /* Override any gcc2 internal prototype to avoid an error. */
21054 /* We use char because int might match the return type of a gcc2
21055 builtin and then its argument prototype would still apply. */
21060 /* The GNU C library defines this for functions which it implements
21061 to always fail with ENOSYS. Some functions are actually named
21062 something starting with __ and the normal name is an alias. */
21063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21071 if { (eval echo configure:21072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21073 eval "ac_cv_func_$ac_func=yes"
21075 echo "configure: failed program was:" >&5
21076 cat conftest.$ac_ext >&5
21078 eval "ac_cv_func_$ac_func=no"
21083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21084 echo "$ac_t""yes" 1>&6
21085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21086 cat >> confdefs.h <<EOF
21087 #define $ac_tr_func 1
21091 echo "$ac_t""no" 1>&6
21097 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
21098 echo "configure:21099: checking for _finitel declaration" >&5
21099 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
21100 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
21101 echo $ac_n "(cached) $ac_c" 1>&6
21106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21107 ac_cpp='$CXXCPP $CPPFLAGS'
21108 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21109 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21110 cross_compiling=$ac_cv_prog_cxx_cross
21112 cat > conftest.$ac_ext <<EOF
21113 #line 21114 "configure"
21114 #include "confdefs.h"
21116 #ifdef HAVE_IEEEFP_H
21117 #include <ieeefp.h>
21124 if { (eval echo configure:21125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21126 glibcpp_cv_func__finitel_use=yes
21128 echo "configure: failed program was:" >&5
21129 cat conftest.$ac_ext >&5
21131 glibcpp_cv_func__finitel_use=no
21135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21139 cross_compiling=$ac_cv_prog_cc_cross
21145 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
21147 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
21148 for ac_func in _finitel
21150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21151 echo "configure:21152: checking for $ac_func" >&5
21152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21153 echo $ac_n "(cached) $ac_c" 1>&6
21155 cat > conftest.$ac_ext <<EOF
21156 #line 21157 "configure"
21157 #include "confdefs.h"
21158 /* System header to define __stub macros and hopefully few prototypes,
21159 which can conflict with char $ac_func(); below. */
21160 #include <assert.h>
21161 /* Override any gcc2 internal prototype to avoid an error. */
21162 /* We use char because int might match the return type of a gcc2
21163 builtin and then its argument prototype would still apply. */
21168 /* The GNU C library defines this for functions which it implements
21169 to always fail with ENOSYS. Some functions are actually named
21170 something starting with __ and the normal name is an alias. */
21171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21179 if { (eval echo configure:21180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21181 eval "ac_cv_func_$ac_func=yes"
21183 echo "configure: failed program was:" >&5
21184 cat conftest.$ac_ext >&5
21186 eval "ac_cv_func_$ac_func=no"
21191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21192 echo "$ac_t""yes" 1>&6
21193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21194 cat >> confdefs.h <<EOF
21195 #define $ac_tr_func 1
21199 echo "$ac_t""no" 1>&6
21209 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
21210 echo "configure:21211: checking for _float trig functions" >&5
21211 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21212 echo $ac_n "(cached) $ac_c" 1>&6
21217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21218 ac_cpp='$CXXCPP $CPPFLAGS'
21219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21221 cross_compiling=$ac_cv_prog_cxx_cross
21223 cat > conftest.$ac_ext <<EOF
21224 #line 21225 "configure"
21225 #include "confdefs.h"
21228 `for x in _acosf _asinf _atanf \
21229 _cosf _sinf _tanf \
21230 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21233 if { (eval echo configure:21234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21235 glibcpp_cv_func__float_trig_use=yes
21237 echo "configure: failed program was:" >&5
21238 cat conftest.$ac_ext >&5
21240 glibcpp_cv_func__float_trig_use=no
21244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21245 ac_cpp='$CPP $CPPFLAGS'
21246 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21247 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21248 cross_compiling=$ac_cv_prog_cc_cross
21252 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21253 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21254 for ac_func in _acosf _asinf _atanf \
21255 _cosf _sinf _tanf \
21256 _coshf _sinhf _tanhf
21258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21259 echo "configure:21260: checking for $ac_func" >&5
21260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21261 echo $ac_n "(cached) $ac_c" 1>&6
21263 cat > conftest.$ac_ext <<EOF
21264 #line 21265 "configure"
21265 #include "confdefs.h"
21266 /* System header to define __stub macros and hopefully few prototypes,
21267 which can conflict with char $ac_func(); below. */
21268 #include <assert.h>
21269 /* Override any gcc2 internal prototype to avoid an error. */
21270 /* We use char because int might match the return type of a gcc2
21271 builtin and then its argument prototype would still apply. */
21276 /* The GNU C library defines this for functions which it implements
21277 to always fail with ENOSYS. Some functions are actually named
21278 something starting with __ and the normal name is an alias. */
21279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21287 if { (eval echo configure:21288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21289 eval "ac_cv_func_$ac_func=yes"
21291 echo "configure: failed program was:" >&5
21292 cat conftest.$ac_ext >&5
21294 eval "ac_cv_func_$ac_func=no"
21299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21300 echo "$ac_t""yes" 1>&6
21301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21302 cat >> confdefs.h <<EOF
21303 #define $ac_tr_func 1
21307 echo "$ac_t""no" 1>&6
21314 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
21315 echo "configure:21316: checking for _float round functions" >&5
21316 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
21317 echo $ac_n "(cached) $ac_c" 1>&6
21322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21323 ac_cpp='$CXXCPP $CPPFLAGS'
21324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21326 cross_compiling=$ac_cv_prog_cxx_cross
21328 cat > conftest.$ac_ext <<EOF
21329 #line 21330 "configure"
21330 #include "confdefs.h"
21333 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21336 if { (eval echo configure:21337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21338 glibcpp_cv_func__float_round_use=yes
21340 echo "configure: failed program was:" >&5
21341 cat conftest.$ac_ext >&5
21343 glibcpp_cv_func__float_round_use=no
21347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21348 ac_cpp='$CPP $CPPFLAGS'
21349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21351 cross_compiling=$ac_cv_prog_cc_cross
21355 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21356 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21357 for ac_func in _ceilf _floorf
21359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21360 echo "configure:21361: checking for $ac_func" >&5
21361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21362 echo $ac_n "(cached) $ac_c" 1>&6
21364 cat > conftest.$ac_ext <<EOF
21365 #line 21366 "configure"
21366 #include "confdefs.h"
21367 /* System header to define __stub macros and hopefully few prototypes,
21368 which can conflict with char $ac_func(); below. */
21369 #include <assert.h>
21370 /* Override any gcc2 internal prototype to avoid an error. */
21371 /* We use char because int might match the return type of a gcc2
21372 builtin and then its argument prototype would still apply. */
21377 /* The GNU C library defines this for functions which it implements
21378 to always fail with ENOSYS. Some functions are actually named
21379 something starting with __ and the normal name is an alias. */
21380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21388 if { (eval echo configure:21389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21390 eval "ac_cv_func_$ac_func=yes"
21392 echo "configure: failed program was:" >&5
21393 cat conftest.$ac_ext >&5
21395 eval "ac_cv_func_$ac_func=no"
21400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21401 echo "$ac_t""yes" 1>&6
21402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21403 cat >> confdefs.h <<EOF
21404 #define $ac_tr_func 1
21408 echo "$ac_t""no" 1>&6
21416 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
21417 echo "configure:21418: checking for _long double trig functions" >&5
21418 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21419 echo $ac_n "(cached) $ac_c" 1>&6
21424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21425 ac_cpp='$CXXCPP $CPPFLAGS'
21426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21428 cross_compiling=$ac_cv_prog_cxx_cross
21430 cat > conftest.$ac_ext <<EOF
21431 #line 21432 "configure"
21432 #include "confdefs.h"
21435 `for x in _acosl _asinl _atanl \
21436 _cosl _sinl _tanl \
21437 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21440 if { (eval echo configure:21441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21442 glibcpp_cv_func__long_double_trig_use=yes
21444 echo "configure: failed program was:" >&5
21445 cat conftest.$ac_ext >&5
21447 glibcpp_cv_func__long_double_trig_use=no
21451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21452 ac_cpp='$CPP $CPPFLAGS'
21453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21455 cross_compiling=$ac_cv_prog_cc_cross
21459 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21460 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21461 for ac_func in _acosl _asinl _atanl \
21462 _cosl _sinl _tanl \
21463 _coshl _sinhl _tanhl
21465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21466 echo "configure:21467: checking for $ac_func" >&5
21467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21468 echo $ac_n "(cached) $ac_c" 1>&6
21470 cat > conftest.$ac_ext <<EOF
21471 #line 21472 "configure"
21472 #include "confdefs.h"
21473 /* System header to define __stub macros and hopefully few prototypes,
21474 which can conflict with char $ac_func(); below. */
21475 #include <assert.h>
21476 /* Override any gcc2 internal prototype to avoid an error. */
21477 /* We use char because int might match the return type of a gcc2
21478 builtin and then its argument prototype would still apply. */
21483 /* The GNU C library defines this for functions which it implements
21484 to always fail with ENOSYS. Some functions are actually named
21485 something starting with __ and the normal name is an alias. */
21486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21494 if { (eval echo configure:21495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21496 eval "ac_cv_func_$ac_func=yes"
21498 echo "configure: failed program was:" >&5
21499 cat conftest.$ac_ext >&5
21501 eval "ac_cv_func_$ac_func=no"
21506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21507 echo "$ac_t""yes" 1>&6
21508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21509 cat >> confdefs.h <<EOF
21510 #define $ac_tr_func 1
21514 echo "$ac_t""no" 1>&6
21521 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
21522 echo "configure:21523: checking for _long double round functions" >&5
21523 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21524 echo $ac_n "(cached) $ac_c" 1>&6
21529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21530 ac_cpp='$CXXCPP $CPPFLAGS'
21531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21533 cross_compiling=$ac_cv_prog_cxx_cross
21535 cat > conftest.$ac_ext <<EOF
21536 #line 21537 "configure"
21537 #include "confdefs.h"
21540 `for x in _ceill _floorl; do echo "$x (0);"; done`
21543 if { (eval echo configure:21544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21545 glibcpp_cv_func__long_double_round_use=yes
21547 echo "configure: failed program was:" >&5
21548 cat conftest.$ac_ext >&5
21550 glibcpp_cv_func__long_double_round_use=no
21554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21555 ac_cpp='$CPP $CPPFLAGS'
21556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21558 cross_compiling=$ac_cv_prog_cc_cross
21562 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21563 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21564 for ac_func in _ceill _floorl
21566 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21567 echo "configure:21568: checking for $ac_func" >&5
21568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21569 echo $ac_n "(cached) $ac_c" 1>&6
21571 cat > conftest.$ac_ext <<EOF
21572 #line 21573 "configure"
21573 #include "confdefs.h"
21574 /* System header to define __stub macros and hopefully few prototypes,
21575 which can conflict with char $ac_func(); below. */
21576 #include <assert.h>
21577 /* Override any gcc2 internal prototype to avoid an error. */
21578 /* We use char because int might match the return type of a gcc2
21579 builtin and then its argument prototype would still apply. */
21584 /* The GNU C library defines this for functions which it implements
21585 to always fail with ENOSYS. Some functions are actually named
21586 something starting with __ and the normal name is an alias. */
21587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21595 if { (eval echo configure:21596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21597 eval "ac_cv_func_$ac_func=yes"
21599 echo "configure: failed program was:" >&5
21600 cat conftest.$ac_ext >&5
21602 eval "ac_cv_func_$ac_func=no"
21607 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21608 echo "$ac_t""yes" 1>&6
21609 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21610 cat >> confdefs.h <<EOF
21611 #define $ac_tr_func 1
21615 echo "$ac_t""no" 1>&6
21622 LIBS="$ac_save_LIBS"
21623 CXXFLAGS="$ac_save_CXXFLAGS"
21626 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21627 echo "configure:21628: checking for main in -lm" >&5
21628 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21629 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21630 echo $ac_n "(cached) $ac_c" 1>&6
21632 ac_save_LIBS="$LIBS"
21634 cat > conftest.$ac_ext <<EOF
21635 #line 21636 "configure"
21636 #include "confdefs.h"
21642 if { (eval echo configure:21643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21644 eval "ac_cv_lib_$ac_lib_var=yes"
21646 echo "configure: failed program was:" >&5
21647 cat conftest.$ac_ext >&5
21649 eval "ac_cv_lib_$ac_lib_var=no"
21652 LIBS="$ac_save_LIBS"
21655 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21656 echo "$ac_t""yes" 1>&6
21657 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21658 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21659 cat >> confdefs.h <<EOF
21660 #define $ac_tr_lib 1
21666 echo "$ac_t""no" 1>&6
21669 for ac_func in nan copysignf
21671 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21672 echo "configure:21673: checking for $ac_func" >&5
21673 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21674 echo $ac_n "(cached) $ac_c" 1>&6
21676 cat > conftest.$ac_ext <<EOF
21677 #line 21678 "configure"
21678 #include "confdefs.h"
21679 /* System header to define __stub macros and hopefully few prototypes,
21680 which can conflict with char $ac_func(); below. */
21681 #include <assert.h>
21682 /* Override any gcc2 internal prototype to avoid an error. */
21683 /* We use char because int might match the return type of a gcc2
21684 builtin and then its argument prototype would still apply. */
21689 /* The GNU C library defines this for functions which it implements
21690 to always fail with ENOSYS. Some functions are actually named
21691 something starting with __ and the normal name is an alias. */
21692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21700 if { (eval echo configure:21701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21702 eval "ac_cv_func_$ac_func=yes"
21704 echo "configure: failed program was:" >&5
21705 cat conftest.$ac_ext >&5
21707 eval "ac_cv_func_$ac_func=no"
21712 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21713 echo "$ac_t""yes" 1>&6
21714 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21715 cat >> confdefs.h <<EOF
21716 #define $ac_tr_func 1
21720 echo "$ac_t""no" 1>&6
21721 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21726 for ac_func in __signbit
21728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21729 echo "configure:21730: checking for $ac_func" >&5
21730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21731 echo $ac_n "(cached) $ac_c" 1>&6
21733 cat > conftest.$ac_ext <<EOF
21734 #line 21735 "configure"
21735 #include "confdefs.h"
21736 /* System header to define __stub macros and hopefully few prototypes,
21737 which can conflict with char $ac_func(); below. */
21738 #include <assert.h>
21739 /* Override any gcc2 internal prototype to avoid an error. */
21740 /* We use char because int might match the return type of a gcc2
21741 builtin and then its argument prototype would still apply. */
21746 /* The GNU C library defines this for functions which it implements
21747 to always fail with ENOSYS. Some functions are actually named
21748 something starting with __ and the normal name is an alias. */
21749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21757 if { (eval echo configure:21758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21759 eval "ac_cv_func_$ac_func=yes"
21761 echo "configure: failed program was:" >&5
21762 cat conftest.$ac_ext >&5
21764 eval "ac_cv_func_$ac_func=no"
21769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21770 echo "$ac_t""yes" 1>&6
21771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21772 cat >> confdefs.h <<EOF
21773 #define $ac_tr_func 1
21777 echo "$ac_t""no" 1>&6
21778 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21782 for ac_func in __signbitf
21784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21785 echo "configure:21786: checking for $ac_func" >&5
21786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21787 echo $ac_n "(cached) $ac_c" 1>&6
21789 cat > conftest.$ac_ext <<EOF
21790 #line 21791 "configure"
21791 #include "confdefs.h"
21792 /* System header to define __stub macros and hopefully few prototypes,
21793 which can conflict with char $ac_func(); below. */
21794 #include <assert.h>
21795 /* Override any gcc2 internal prototype to avoid an error. */
21796 /* We use char because int might match the return type of a gcc2
21797 builtin and then its argument prototype would still apply. */
21802 /* The GNU C library defines this for functions which it implements
21803 to always fail with ENOSYS. Some functions are actually named
21804 something starting with __ and the normal name is an alias. */
21805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21813 if { (eval echo configure:21814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21815 eval "ac_cv_func_$ac_func=yes"
21817 echo "configure: failed program was:" >&5
21818 cat conftest.$ac_ext >&5
21820 eval "ac_cv_func_$ac_func=no"
21825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21826 echo "$ac_t""yes" 1>&6
21827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21828 cat >> confdefs.h <<EOF
21829 #define $ac_tr_func 1
21833 echo "$ac_t""no" 1>&6
21834 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21839 if test x$ac_cv_func_copysignl = x"yes"; then
21840 for ac_func in __signbitl
21842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21843 echo "configure:21844: checking for $ac_func" >&5
21844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21845 echo $ac_n "(cached) $ac_c" 1>&6
21847 cat > conftest.$ac_ext <<EOF
21848 #line 21849 "configure"
21849 #include "confdefs.h"
21850 /* System header to define __stub macros and hopefully few prototypes,
21851 which can conflict with char $ac_func(); below. */
21852 #include <assert.h>
21853 /* Override any gcc2 internal prototype to avoid an error. */
21854 /* We use char because int might match the return type of a gcc2
21855 builtin and then its argument prototype would still apply. */
21860 /* The GNU C library defines this for functions which it implements
21861 to always fail with ENOSYS. Some functions are actually named
21862 something starting with __ and the normal name is an alias. */
21863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21871 if { (eval echo configure:21872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21873 eval "ac_cv_func_$ac_func=yes"
21875 echo "configure: failed program was:" >&5
21876 cat conftest.$ac_ext >&5
21878 eval "ac_cv_func_$ac_func=no"
21883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21884 echo "$ac_t""yes" 1>&6
21885 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21886 cat >> confdefs.h <<EOF
21887 #define $ac_tr_func 1
21891 echo "$ac_t""no" 1>&6
21892 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21898 if test -n "$LIBMATHOBJS"; then
21904 if test "$need_libmath" = yes; then
21905 GLIBCPP_BUILD_LIBMATH_TRUE=
21906 GLIBCPP_BUILD_LIBMATH_FALSE='#'
21908 GLIBCPP_BUILD_LIBMATH_TRUE='#'
21909 GLIBCPP_BUILD_LIBMATH_FALSE=
21914 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21915 echo "configure:21916: checking for mbstate_t" >&5
21916 cat > conftest.$ac_ext <<EOF
21917 #line 21918 "configure"
21918 #include "confdefs.h"
21921 mbstate_t teststate;
21924 if { (eval echo configure:21925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21928 echo "configure: failed program was:" >&5
21929 cat conftest.$ac_ext >&5
21934 echo "$ac_t""$have_mbstate_t" 1>&6
21935 if test x"$have_mbstate_t" = xyes; then
21936 cat >> confdefs.h <<\EOF
21937 #define HAVE_MBSTATE_T 1
21942 for ac_hdr in wchar.h
21944 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21945 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21946 echo "configure:21947: checking for $ac_hdr" >&5
21947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21948 echo $ac_n "(cached) $ac_c" 1>&6
21950 cat > conftest.$ac_ext <<EOF
21951 #line 21952 "configure"
21952 #include "confdefs.h"
21955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21956 { (eval echo configure:21957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21958 if test -z "$ac_err"; then
21960 eval "ac_cv_header_$ac_safe=yes"
21963 echo "configure: failed program was:" >&5
21964 cat conftest.$ac_ext >&5
21966 eval "ac_cv_header_$ac_safe=no"
21970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21971 echo "$ac_t""yes" 1>&6
21972 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21973 cat >> confdefs.h <<EOF
21974 #define $ac_tr_hdr 1
21978 echo "$ac_t""no" 1>&6
21983 for ac_hdr in wctype.h
21985 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21986 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21987 echo "configure:21988: checking for $ac_hdr" >&5
21988 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21989 echo $ac_n "(cached) $ac_c" 1>&6
21991 cat > conftest.$ac_ext <<EOF
21992 #line 21993 "configure"
21993 #include "confdefs.h"
21996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21997 { (eval echo configure:21998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21998 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21999 if test -z "$ac_err"; then
22001 eval "ac_cv_header_$ac_safe=yes"
22004 echo "configure: failed program was:" >&5
22005 cat conftest.$ac_ext >&5
22007 eval "ac_cv_header_$ac_safe=no"
22011 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22012 echo "$ac_t""yes" 1>&6
22013 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22014 cat >> confdefs.h <<EOF
22015 #define $ac_tr_hdr 1
22017 ac_has_wctype_h=yes
22019 echo "$ac_t""no" 1>&6
22025 if test x"$ac_has_wchar_h" = xyes &&
22026 test x"$ac_has_wctype_h" = xyes &&
22027 test x"$enable_c_mbchar" != xno; then
22029 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22030 echo "configure:22031: checking for WCHAR_MIN and WCHAR_MAX" >&5
22031 cat > conftest.$ac_ext <<EOF
22032 #line 22033 "configure"
22033 #include "confdefs.h"
22036 int i = WCHAR_MIN; int j = WCHAR_MAX;
22039 if { (eval echo configure:22040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22041 has_wchar_minmax=yes
22043 echo "configure: failed program was:" >&5
22044 cat conftest.$ac_ext >&5
22046 has_wchar_minmax=no
22049 echo "$ac_t""$has_wchar_minmax" 1>&6
22051 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22052 echo "configure:22053: checking for WEOF" >&5
22053 cat > conftest.$ac_ext <<EOF
22054 #line 22055 "configure"
22055 #include "confdefs.h"
22058 #include <stddef.h>
22063 if { (eval echo configure:22064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22067 echo "configure: failed program was:" >&5
22068 cat conftest.$ac_ext >&5
22073 echo "$ac_t""$has_weof" 1>&6
22076 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22079 echo "configure:22080: checking for $ac_func" >&5
22080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22081 echo $ac_n "(cached) $ac_c" 1>&6
22083 cat > conftest.$ac_ext <<EOF
22084 #line 22085 "configure"
22085 #include "confdefs.h"
22086 /* System header to define __stub macros and hopefully few prototypes,
22087 which can conflict with char $ac_func(); below. */
22088 #include <assert.h>
22089 /* Override any gcc2 internal prototype to avoid an error. */
22090 /* We use char because int might match the return type of a gcc2
22091 builtin and then its argument prototype would still apply. */
22096 /* The GNU C library defines this for functions which it implements
22097 to always fail with ENOSYS. Some functions are actually named
22098 something starting with __ and the normal name is an alias. */
22099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22107 if { (eval echo configure:22108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22109 eval "ac_cv_func_$ac_func=yes"
22111 echo "configure: failed program was:" >&5
22112 cat conftest.$ac_ext >&5
22114 eval "ac_cv_func_$ac_func=no"
22119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22120 echo "$ac_t""yes" 1>&6
22121 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22122 cat >> confdefs.h <<EOF
22123 #define $ac_tr_func 1
22127 echo "$ac_t""no" 1>&6
22134 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
22135 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22136 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22137 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22138 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22139 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22142 echo "configure:22143: checking for $ac_func" >&5
22143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22144 echo $ac_n "(cached) $ac_c" 1>&6
22146 cat > conftest.$ac_ext <<EOF
22147 #line 22148 "configure"
22148 #include "confdefs.h"
22149 /* System header to define __stub macros and hopefully few prototypes,
22150 which can conflict with char $ac_func(); below. */
22151 #include <assert.h>
22152 /* Override any gcc2 internal prototype to avoid an error. */
22153 /* We use char because int might match the return type of a gcc2
22154 builtin and then its argument prototype would still apply. */
22159 /* The GNU C library defines this for functions which it implements
22160 to always fail with ENOSYS. Some functions are actually named
22161 something starting with __ and the normal name is an alias. */
22162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22170 if { (eval echo configure:22171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22172 eval "ac_cv_func_$ac_func=yes"
22174 echo "configure: failed program was:" >&5
22175 cat conftest.$ac_ext >&5
22177 eval "ac_cv_func_$ac_func=no"
22182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22183 echo "$ac_t""yes" 1>&6
22184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22185 cat >> confdefs.h <<EOF
22186 #define $ac_tr_func 1
22190 echo "$ac_t""no" 1>&6
22197 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22198 echo "configure:22199: checking for ISO C99 wchar_t support" >&5
22199 if test x"$has_weof" = xyes &&
22200 test x"$has_wchar_minmax" = xyes &&
22201 test x"$ac_wfuncs" = xyes; then
22202 ac_isoC99_wchar_t=yes
22204 ac_isoC99_wchar_t=no
22206 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22208 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22209 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22210 echo "configure:22211: checking for iconv.h" >&5
22211 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22212 echo $ac_n "(cached) $ac_c" 1>&6
22214 cat > conftest.$ac_ext <<EOF
22215 #line 22216 "configure"
22216 #include "confdefs.h"
22219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22220 { (eval echo configure:22221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22221 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22222 if test -z "$ac_err"; then
22224 eval "ac_cv_header_$ac_safe=yes"
22227 echo "configure: failed program was:" >&5
22228 cat conftest.$ac_ext >&5
22230 eval "ac_cv_header_$ac_safe=no"
22234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22235 echo "$ac_t""yes" 1>&6
22238 echo "$ac_t""no" 1>&6
22242 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22243 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22244 echo "configure:22245: checking for langinfo.h" >&5
22245 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22246 echo $ac_n "(cached) $ac_c" 1>&6
22248 cat > conftest.$ac_ext <<EOF
22249 #line 22250 "configure"
22250 #include "confdefs.h"
22251 #include <langinfo.h>
22253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22254 { (eval echo configure:22255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22256 if test -z "$ac_err"; then
22258 eval "ac_cv_header_$ac_safe=yes"
22261 echo "configure: failed program was:" >&5
22262 cat conftest.$ac_ext >&5
22264 eval "ac_cv_header_$ac_safe=no"
22268 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22269 echo "$ac_t""yes" 1>&6
22270 ac_has_langinfo_h=yes
22272 echo "$ac_t""no" 1>&6
22273 ac_has_langinfo_h=no
22277 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22278 echo "configure:22279: checking for iconv in -liconv" >&5
22279 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22280 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22281 echo $ac_n "(cached) $ac_c" 1>&6
22283 ac_save_LIBS="$LIBS"
22284 LIBS="-liconv $LIBS"
22285 cat > conftest.$ac_ext <<EOF
22286 #line 22287 "configure"
22287 #include "confdefs.h"
22288 /* Override any gcc2 internal prototype to avoid an error. */
22289 /* We use char because int might match the return type of a gcc2
22290 builtin and then its argument prototype would still apply. */
22297 if { (eval echo configure:22298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22299 eval "ac_cv_lib_$ac_lib_var=yes"
22301 echo "configure: failed program was:" >&5
22302 cat conftest.$ac_ext >&5
22304 eval "ac_cv_lib_$ac_lib_var=no"
22307 LIBS="$ac_save_LIBS"
22310 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22311 echo "$ac_t""yes" 1>&6
22314 echo "$ac_t""no" 1>&6
22317 ac_save_LIBS="$LIBS"
22318 LIBS="$LIBS $libiconv"
22320 for ac_func in iconv_open iconv_close iconv nl_langinfo
22322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22323 echo "configure:22324: checking for $ac_func" >&5
22324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22325 echo $ac_n "(cached) $ac_c" 1>&6
22327 cat > conftest.$ac_ext <<EOF
22328 #line 22329 "configure"
22329 #include "confdefs.h"
22330 /* System header to define __stub macros and hopefully few prototypes,
22331 which can conflict with char $ac_func(); below. */
22332 #include <assert.h>
22333 /* Override any gcc2 internal prototype to avoid an error. */
22334 /* We use char because int might match the return type of a gcc2
22335 builtin and then its argument prototype would still apply. */
22340 /* The GNU C library defines this for functions which it implements
22341 to always fail with ENOSYS. Some functions are actually named
22342 something starting with __ and the normal name is an alias. */
22343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22351 if { (eval echo configure:22352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22353 eval "ac_cv_func_$ac_func=yes"
22355 echo "configure: failed program was:" >&5
22356 cat conftest.$ac_ext >&5
22358 eval "ac_cv_func_$ac_func=no"
22363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22364 echo "$ac_t""yes" 1>&6
22365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22366 cat >> confdefs.h <<EOF
22367 #define $ac_tr_func 1
22372 echo "$ac_t""no" 1>&6
22378 LIBS="$ac_save_LIBS"
22380 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22381 echo "configure:22382: checking for XPG2 wchar_t support" >&5
22382 if test x"$ac_has_iconv_h" = xyes &&
22383 test x"$ac_has_langinfo_h" = xyes &&
22384 test x"$ac_XPG2funcs" = xyes; then
22385 ac_XPG2_wchar_t=yes
22389 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22391 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22392 echo "configure:22393: checking for enabled wchar_t specializations" >&5
22393 if test x"$ac_isoC99_wchar_t" = xyes &&
22394 test x"$ac_XPG2_wchar_t" = xyes; then
22395 cat >> confdefs.h <<\EOF
22396 #define _GLIBCPP_USE_WCHAR_T 1
22399 echo "$ac_t"""yes"" 1>&6
22401 echo "$ac_t"""no"" 1>&6
22404 echo "configure: warning: wchar_t support disabled." 1>&2
22408 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22409 ac_save_CXXFLAGS="$CXXFLAGS"
22410 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22413 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22414 echo "configure:22415: checking for strtold declaration" >&5
22415 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22416 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22417 echo $ac_n "(cached) $ac_c" 1>&6
22422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22423 ac_cpp='$CXXCPP $CPPFLAGS'
22424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22426 cross_compiling=$ac_cv_prog_cxx_cross
22428 cat > conftest.$ac_ext <<EOF
22429 #line 22430 "configure"
22430 #include "confdefs.h"
22431 #include <stdlib.h>
22436 if { (eval echo configure:22437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22438 glibcpp_cv_func_strtold_use=yes
22440 echo "configure: failed program was:" >&5
22441 cat conftest.$ac_ext >&5
22443 glibcpp_cv_func_strtold_use=no
22447 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22450 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22451 cross_compiling=$ac_cv_prog_cc_cross
22457 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22458 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22459 for ac_func in strtold
22461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22462 echo "configure:22463: checking for $ac_func" >&5
22463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22464 echo $ac_n "(cached) $ac_c" 1>&6
22466 cat > conftest.$ac_ext <<EOF
22467 #line 22468 "configure"
22468 #include "confdefs.h"
22469 /* System header to define __stub macros and hopefully few prototypes,
22470 which can conflict with char $ac_func(); below. */
22471 #include <assert.h>
22472 /* Override any gcc2 internal prototype to avoid an error. */
22473 /* We use char because int might match the return type of a gcc2
22474 builtin and then its argument prototype would still apply. */
22479 /* The GNU C library defines this for functions which it implements
22480 to always fail with ENOSYS. Some functions are actually named
22481 something starting with __ and the normal name is an alias. */
22482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22490 if { (eval echo configure:22491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22492 eval "ac_cv_func_$ac_func=yes"
22494 echo "configure: failed program was:" >&5
22495 cat conftest.$ac_ext >&5
22497 eval "ac_cv_func_$ac_func=no"
22502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22503 echo "$ac_t""yes" 1>&6
22504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22505 cat >> confdefs.h <<EOF
22506 #define $ac_tr_func 1
22510 echo "$ac_t""no" 1>&6
22517 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22518 echo "configure:22519: checking for strtof declaration" >&5
22519 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22520 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22521 echo $ac_n "(cached) $ac_c" 1>&6
22526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22527 ac_cpp='$CXXCPP $CPPFLAGS'
22528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22530 cross_compiling=$ac_cv_prog_cxx_cross
22532 cat > conftest.$ac_ext <<EOF
22533 #line 22534 "configure"
22534 #include "confdefs.h"
22535 #include <stdlib.h>
22540 if { (eval echo configure:22541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22542 glibcpp_cv_func_strtof_use=yes
22544 echo "configure: failed program was:" >&5
22545 cat conftest.$ac_ext >&5
22547 glibcpp_cv_func_strtof_use=no
22551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22555 cross_compiling=$ac_cv_prog_cc_cross
22561 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22562 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22563 for ac_func in strtof
22565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22566 echo "configure:22567: checking for $ac_func" >&5
22567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22568 echo $ac_n "(cached) $ac_c" 1>&6
22570 cat > conftest.$ac_ext <<EOF
22571 #line 22572 "configure"
22572 #include "confdefs.h"
22573 /* System header to define __stub macros and hopefully few prototypes,
22574 which can conflict with char $ac_func(); below. */
22575 #include <assert.h>
22576 /* Override any gcc2 internal prototype to avoid an error. */
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22583 /* The GNU C library defines this for functions which it implements
22584 to always fail with ENOSYS. Some functions are actually named
22585 something starting with __ and the normal name is an alias. */
22586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22594 if { (eval echo configure:22595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22596 eval "ac_cv_func_$ac_func=yes"
22598 echo "configure: failed program was:" >&5
22599 cat conftest.$ac_ext >&5
22601 eval "ac_cv_func_$ac_func=no"
22606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22607 echo "$ac_t""yes" 1>&6
22608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22609 cat >> confdefs.h <<EOF
22610 #define $ac_tr_func 1
22614 echo "$ac_t""no" 1>&6
22620 for ac_func in drand48
22622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22623 echo "configure:22624: checking for $ac_func" >&5
22624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22625 echo $ac_n "(cached) $ac_c" 1>&6
22627 cat > conftest.$ac_ext <<EOF
22628 #line 22629 "configure"
22629 #include "confdefs.h"
22630 /* System header to define __stub macros and hopefully few prototypes,
22631 which can conflict with char $ac_func(); below. */
22632 #include <assert.h>
22633 /* Override any gcc2 internal prototype to avoid an error. */
22634 /* We use char because int might match the return type of a gcc2
22635 builtin and then its argument prototype would still apply. */
22640 /* The GNU C library defines this for functions which it implements
22641 to always fail with ENOSYS. Some functions are actually named
22642 something starting with __ and the normal name is an alias. */
22643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22651 if { (eval echo configure:22652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22653 eval "ac_cv_func_$ac_func=yes"
22655 echo "configure: failed program was:" >&5
22656 cat conftest.$ac_ext >&5
22658 eval "ac_cv_func_$ac_func=no"
22663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22664 echo "$ac_t""yes" 1>&6
22665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22666 cat >> confdefs.h <<EOF
22667 #define $ac_tr_func 1
22671 echo "$ac_t""no" 1>&6
22676 CXXFLAGS="$ac_save_CXXFLAGS"
22679 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22680 ac_save_CXXFLAGS="$CXXFLAGS"
22681 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22684 echo $ac_n "checking for isatty declaration""... $ac_c" 1>&6
22685 echo "configure:22686: checking for isatty declaration" >&5
22686 if test x${glibcpp_cv_func_isatty_use+set} != xset; then
22687 if eval "test \"`echo '$''{'glibcpp_cv_func_isatty_use'+set}'`\" = set"; then
22688 echo $ac_n "(cached) $ac_c" 1>&6
22693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22694 ac_cpp='$CXXCPP $CPPFLAGS'
22695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22697 cross_compiling=$ac_cv_prog_cxx_cross
22699 cat > conftest.$ac_ext <<EOF
22700 #line 22701 "configure"
22701 #include "confdefs.h"
22702 #include <unistd.h>
22707 if { (eval echo configure:22708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22709 glibcpp_cv_func_isatty_use=yes
22711 echo "configure: failed program was:" >&5
22712 cat conftest.$ac_ext >&5
22714 glibcpp_cv_func_isatty_use=no
22718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22719 ac_cpp='$CPP $CPPFLAGS'
22720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22722 cross_compiling=$ac_cv_prog_cc_cross
22728 echo "$ac_t""$glibcpp_cv_func_isatty_use" 1>&6
22729 if test x$glibcpp_cv_func_isatty_use = x"yes"; then
22730 for ac_func in isatty
22732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22733 echo "configure:22734: checking for $ac_func" >&5
22734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22735 echo $ac_n "(cached) $ac_c" 1>&6
22737 cat > conftest.$ac_ext <<EOF
22738 #line 22739 "configure"
22739 #include "confdefs.h"
22740 /* System header to define __stub macros and hopefully few prototypes,
22741 which can conflict with char $ac_func(); below. */
22742 #include <assert.h>
22743 /* Override any gcc2 internal prototype to avoid an error. */
22744 /* We use char because int might match the return type of a gcc2
22745 builtin and then its argument prototype would still apply. */
22750 /* The GNU C library defines this for functions which it implements
22751 to always fail with ENOSYS. Some functions are actually named
22752 something starting with __ and the normal name is an alias. */
22753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22761 if { (eval echo configure:22762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22763 eval "ac_cv_func_$ac_func=yes"
22765 echo "configure: failed program was:" >&5
22766 cat conftest.$ac_ext >&5
22768 eval "ac_cv_func_$ac_func=no"
22773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22774 echo "$ac_t""yes" 1>&6
22775 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22776 cat >> confdefs.h <<EOF
22777 #define $ac_tr_func 1
22781 echo "$ac_t""no" 1>&6
22788 CXXFLAGS="$ac_save_CXXFLAGS"
22791 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22792 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22793 echo "configure:22794: checking for locale.h" >&5
22794 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22795 echo $ac_n "(cached) $ac_c" 1>&6
22797 cat > conftest.$ac_ext <<EOF
22798 #line 22799 "configure"
22799 #include "confdefs.h"
22800 #include <locale.h>
22802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22803 { (eval echo configure:22804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22805 if test -z "$ac_err"; then
22807 eval "ac_cv_header_$ac_safe=yes"
22810 echo "configure: failed program was:" >&5
22811 cat conftest.$ac_ext >&5
22813 eval "ac_cv_header_$ac_safe=no"
22817 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22818 echo "$ac_t""yes" 1>&6
22820 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22821 echo "configure:22822: checking for LC_MESSAGES" >&5
22822 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22823 echo $ac_n "(cached) $ac_c" 1>&6
22825 cat > conftest.$ac_ext <<EOF
22826 #line 22827 "configure"
22827 #include "confdefs.h"
22828 #include <locale.h>
22833 if { (eval echo configure:22834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22835 ac_cv_val_LC_MESSAGES=yes
22837 echo "configure: failed program was:" >&5
22838 cat conftest.$ac_ext >&5
22840 ac_cv_val_LC_MESSAGES=no
22845 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22846 if test $ac_cv_val_LC_MESSAGES = yes; then
22847 cat >> confdefs.h <<\EOF
22848 #define HAVE_LC_MESSAGES 1
22854 echo "$ac_t""no" 1>&6
22859 cat > conftest.$ac_ext <<EOF
22860 #line 22861 "configure"
22861 #include "confdefs.h"
22863 #include <setjmp.h>
22866 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22869 if { (eval echo configure:22870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22871 cat >> confdefs.h <<\EOF
22872 #define HAVE_SIGSETJMP 1
22877 echo "configure: failed program was:" >&5
22878 cat conftest.$ac_ext >&5
22882 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22884 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22885 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22886 echo "configure:22887: checking for $ac_hdr" >&5
22887 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22888 echo $ac_n "(cached) $ac_c" 1>&6
22890 cat > conftest.$ac_ext <<EOF
22891 #line 22892 "configure"
22892 #include "confdefs.h"
22895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22896 { (eval echo configure:22897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22898 if test -z "$ac_err"; then
22900 eval "ac_cv_header_$ac_safe=yes"
22903 echo "configure: failed program was:" >&5
22904 cat conftest.$ac_ext >&5
22906 eval "ac_cv_header_$ac_safe=no"
22910 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22911 echo "$ac_t""yes" 1>&6
22912 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22913 cat >> confdefs.h <<EOF
22914 #define $ac_tr_hdr 1
22918 echo "$ac_t""no" 1>&6
22922 for ac_func in getpagesize
22924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22925 echo "configure:22926: checking for $ac_func" >&5
22926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22927 echo $ac_n "(cached) $ac_c" 1>&6
22929 cat > conftest.$ac_ext <<EOF
22930 #line 22931 "configure"
22931 #include "confdefs.h"
22932 /* System header to define __stub macros and hopefully few prototypes,
22933 which can conflict with char $ac_func(); below. */
22934 #include <assert.h>
22935 /* Override any gcc2 internal prototype to avoid an error. */
22936 /* We use char because int might match the return type of a gcc2
22937 builtin and then its argument prototype would still apply. */
22942 /* The GNU C library defines this for functions which it implements
22943 to always fail with ENOSYS. Some functions are actually named
22944 something starting with __ and the normal name is an alias. */
22945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22953 if { (eval echo configure:22954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22955 eval "ac_cv_func_$ac_func=yes"
22957 echo "configure: failed program was:" >&5
22958 cat conftest.$ac_ext >&5
22960 eval "ac_cv_func_$ac_func=no"
22965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22966 echo "$ac_t""yes" 1>&6
22967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22968 cat >> confdefs.h <<EOF
22969 #define $ac_tr_func 1
22973 echo "$ac_t""no" 1>&6
22977 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
22978 echo "configure:22979: checking for working mmap" >&5
22979 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
22980 echo $ac_n "(cached) $ac_c" 1>&6
22982 if test "$cross_compiling" = yes; then
22983 ac_cv_func_mmap_fixed_mapped=no
22985 cat > conftest.$ac_ext <<EOF
22986 #line 22987 "configure"
22987 #include "confdefs.h"
22989 /* Thanks to Mike Haertel and Jim Avera for this test.
22990 Here is a matrix of mmap possibilities:
22991 mmap private not fixed
22992 mmap private fixed at somewhere currently unmapped
22993 mmap private fixed at somewhere already mapped
22994 mmap shared not fixed
22995 mmap shared fixed at somewhere currently unmapped
22996 mmap shared fixed at somewhere already mapped
22997 For private mappings, we should verify that changes cannot be read()
22998 back from the file, nor mmap's back from the file at a different
22999 address. (There have been systems where private was not correctly
23000 implemented like the infamous i386 svr4.0, and systems where the
23001 VM page cache was not coherent with the filesystem buffer cache
23002 like early versions of FreeBSD and possibly contemporary NetBSD.)
23003 For shared mappings, we should conversely verify that changes get
23004 propogated back to all the places they're supposed to be.
23006 Grep wants private fixed already mapped.
23007 The main things grep needs to know about mmap are:
23008 * does it exist and is it safe to write into the mmap'd area
23009 * how to use it (BSD variants) */
23010 #include <sys/types.h>
23012 #include <sys/mman.h>
23014 #if HAVE_SYS_TYPES_H
23015 # include <sys/types.h>
23019 # include <stdlib.h>
23022 #if HAVE_SYS_STAT_H
23023 # include <sys/stat.h>
23027 # include <unistd.h>
23030 /* This mess was copied from the GNU getpagesize.h. */
23031 #ifndef HAVE_GETPAGESIZE
23033 /* Assume that all systems that can run configure have sys/param.h. */
23034 # ifndef HAVE_SYS_PARAM_H
23035 # define HAVE_SYS_PARAM_H 1
23038 # ifdef _SC_PAGESIZE
23039 # define getpagesize() sysconf(_SC_PAGESIZE)
23040 # else /* no _SC_PAGESIZE */
23041 # ifdef HAVE_SYS_PARAM_H
23042 # include <sys/param.h>
23043 # ifdef EXEC_PAGESIZE
23044 # define getpagesize() EXEC_PAGESIZE
23045 # else /* no EXEC_PAGESIZE */
23047 # define getpagesize() NBPG * CLSIZE
23050 # endif /* no CLSIZE */
23051 # else /* no NBPG */
23053 # define getpagesize() NBPC
23054 # else /* no NBPC */
23056 # define getpagesize() PAGESIZE
23057 # endif /* PAGESIZE */
23058 # endif /* no NBPC */
23059 # endif /* no NBPG */
23060 # endif /* no EXEC_PAGESIZE */
23061 # else /* no HAVE_SYS_PARAM_H */
23062 # define getpagesize() 8192 /* punt totally */
23063 # endif /* no HAVE_SYS_PARAM_H */
23064 # endif /* no _SC_PAGESIZE */
23066 #endif /* no HAVE_GETPAGESIZE */
23069 extern "C" { void *malloc(unsigned); }
23077 char *data, *data2, *data3;
23081 pagesize = getpagesize();
23084 * First, make a file with some known garbage in it.
23086 data = malloc(pagesize);
23089 for (i = 0; i < pagesize; ++i)
23090 *(data + i) = rand();
23092 fd = creat("conftestmmap", 0600);
23095 if (write(fd, data, pagesize) != pagesize)
23100 * Next, try to mmap the file at a fixed address which
23101 * already has something else allocated at it. If we can,
23102 * also make sure that we see the same garbage.
23104 fd = open("conftestmmap", O_RDWR);
23107 data2 = malloc(2 * pagesize);
23110 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23111 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23112 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23114 for (i = 0; i < pagesize; ++i)
23115 if (*(data + i) != *(data2 + i))
23119 * Finally, make sure that changes to the mapped area
23120 * do not percolate back to the file as seen by read().
23121 * (This is a bug on some variants of i386 svr4.0.)
23123 for (i = 0; i < pagesize; ++i)
23124 *(data2 + i) = *(data2 + i) + 1;
23125 data3 = malloc(pagesize);
23128 if (read(fd, data3, pagesize) != pagesize)
23130 for (i = 0; i < pagesize; ++i)
23131 if (*(data + i) != *(data3 + i))
23134 unlink("conftestmmap");
23139 if { (eval echo configure:23140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23141 ac_cv_func_mmap_fixed_mapped=yes
23143 echo "configure: failed program was:" >&5
23144 cat conftest.$ac_ext >&5
23146 ac_cv_func_mmap_fixed_mapped=no
23153 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23154 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23155 cat >> confdefs.h <<\EOF
23156 #define HAVE_MMAP 1
23162 # Establish limits on memory usage during 'make check'
23165 setrlimit_have_headers=yes
23166 for ac_hdr in unistd.h sys/time.h sys/resource.h
23168 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23169 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23170 echo "configure:23171: checking for $ac_hdr" >&5
23171 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23172 echo $ac_n "(cached) $ac_c" 1>&6
23174 cat > conftest.$ac_ext <<EOF
23175 #line 23176 "configure"
23176 #include "confdefs.h"
23179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23180 { (eval echo configure:23181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23182 if test -z "$ac_err"; then
23184 eval "ac_cv_header_$ac_safe=yes"
23187 echo "configure: failed program was:" >&5
23188 cat conftest.$ac_ext >&5
23190 eval "ac_cv_header_$ac_safe=no"
23194 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23195 echo "$ac_t""yes" 1>&6
23196 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23197 cat >> confdefs.h <<EOF
23198 #define $ac_tr_hdr 1
23202 echo "$ac_t""no" 1>&6
23203 setrlimit_have_headers=no
23207 # If don't have the headers, then we can't run the tests now, and we
23208 # won't be seeing any of these during testsuite compilation.
23209 if test $setrlimit_have_headers = yes; then
23210 # Can't do these in a loop, else the resulting syntax is wrong.
23212 cat > conftest.$ac_ext <<EOF
23213 #line 23214 "configure"
23214 #include "confdefs.h"
23215 #include <unistd.h>
23216 #include <sys/time.h>
23217 #include <sys/resource.h>
23220 int f = RLIMIT_DATA ;
23223 if { (eval echo configure:23224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23227 echo "configure: failed program was:" >&5
23228 cat conftest.$ac_ext >&5
23233 cat >> confdefs.h <<EOF
23234 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23239 cat > conftest.$ac_ext <<EOF
23240 #line 23241 "configure"
23241 #include "confdefs.h"
23242 #include <unistd.h>
23243 #include <sys/time.h>
23244 #include <sys/resource.h>
23247 int f = RLIMIT_RSS ;
23250 if { (eval echo configure:23251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23254 echo "configure: failed program was:" >&5
23255 cat conftest.$ac_ext >&5
23260 cat >> confdefs.h <<EOF
23261 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23266 cat > conftest.$ac_ext <<EOF
23267 #line 23268 "configure"
23268 #include "confdefs.h"
23269 #include <unistd.h>
23270 #include <sys/time.h>
23271 #include <sys/resource.h>
23274 int f = RLIMIT_VMEM ;
23277 if { (eval echo configure:23278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23281 echo "configure: failed program was:" >&5
23282 cat conftest.$ac_ext >&5
23287 cat >> confdefs.h <<EOF
23288 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23293 cat > conftest.$ac_ext <<EOF
23294 #line 23295 "configure"
23295 #include "confdefs.h"
23296 #include <unistd.h>
23297 #include <sys/time.h>
23298 #include <sys/resource.h>
23301 int f = RLIMIT_AS ;
23304 if { (eval echo configure:23305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23308 echo "configure: failed program was:" >&5
23309 cat conftest.$ac_ext >&5
23314 cat >> confdefs.h <<EOF
23315 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23320 # Check for rlimit, setrlimit.
23321 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23322 echo $ac_n "(cached) $ac_c" 1>&6
23325 cat > conftest.$ac_ext <<EOF
23326 #line 23327 "configure"
23327 #include "confdefs.h"
23328 #include <unistd.h>
23329 #include <sys/time.h>
23330 #include <sys/resource.h>
23333 struct rlimit r; setrlimit(0, &r);
23336 if { (eval echo configure:23337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23340 echo "configure: failed program was:" >&5
23341 cat conftest.$ac_ext >&5
23351 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23352 echo "configure:23353: checking for testsuite memory limit support" >&5
23353 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23355 cat >> confdefs.h <<\EOF
23356 #define _GLIBCPP_MEM_LIMITS 1
23362 echo "$ac_t""$ac_mem_limits" 1>&6
23365 # Look for setenv, so that extended locale tests can be performed.
23367 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23368 echo "configure:23369: checking for setenv declaration" >&5
23369 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23370 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23371 echo $ac_n "(cached) $ac_c" 1>&6
23376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23377 ac_cpp='$CXXCPP $CPPFLAGS'
23378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23380 cross_compiling=$ac_cv_prog_cxx_cross
23382 cat > conftest.$ac_ext <<EOF
23383 #line 23384 "configure"
23384 #include "confdefs.h"
23385 #include <stdlib.h>
23390 if { (eval echo configure:23391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23392 glibcpp_cv_func_setenv_use=yes
23394 echo "configure: failed program was:" >&5
23395 cat conftest.$ac_ext >&5
23397 glibcpp_cv_func_setenv_use=no
23401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23402 ac_cpp='$CPP $CPPFLAGS'
23403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23405 cross_compiling=$ac_cv_prog_cc_cross
23411 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23412 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23413 for ac_func in setenv
23415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23416 echo "configure:23417: checking for $ac_func" >&5
23417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23418 echo $ac_n "(cached) $ac_c" 1>&6
23420 cat > conftest.$ac_ext <<EOF
23421 #line 23422 "configure"
23422 #include "confdefs.h"
23423 /* System header to define __stub macros and hopefully few prototypes,
23424 which can conflict with char $ac_func(); below. */
23425 #include <assert.h>
23426 /* Override any gcc2 internal prototype to avoid an error. */
23427 /* We use char because int might match the return type of a gcc2
23428 builtin and then its argument prototype would still apply. */
23433 /* The GNU C library defines this for functions which it implements
23434 to always fail with ENOSYS. Some functions are actually named
23435 something starting with __ and the normal name is an alias. */
23436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23444 if { (eval echo configure:23445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23446 eval "ac_cv_func_$ac_func=yes"
23448 echo "configure: failed program was:" >&5
23449 cat conftest.$ac_ext >&5
23451 eval "ac_cv_func_$ac_func=no"
23456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23457 echo "$ac_t""yes" 1>&6
23458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23459 cat >> confdefs.h <<EOF
23460 #define $ac_tr_func 1
23464 echo "$ac_t""no" 1>&6
23471 # Export file names for ABI checking.
23472 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23475 # Don't do ABI checking unless native.
23478 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
23479 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23480 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23482 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23483 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23488 # This depends on the possibly-skipped linker test above.
23489 # Check whether --enable-symvers or --disable-symvers was given.
23490 if test "${enable_symvers+set}" = set; then
23491 enableval="$enable_symvers"
23492 case "$enableval" in
23493 yes) enable_symvers=yes ;;
23494 no) enable_symvers=no ;;
23495 # other names here, just as sanity checks
23496 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23497 gnu) enable_symvers=$enableval ;;
23498 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23504 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23505 # don't know enough about $LD to do tricks...
23506 if test x$enable_shared = xno ||
23508 test x$glibcpp_gnu_ld_version = x; then
23512 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23513 if test $enable_symvers != no; then
23514 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23515 echo "configure:23516: checking for shared libgcc" >&5
23516 ac_save_CFLAGS="$CFLAGS"
23518 cat > conftest.$ac_ext <<EOF
23519 #line 23520 "configure"
23520 #include "confdefs.h"
23526 if { (eval echo configure:23527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23528 glibcpp_shared_libgcc=yes
23530 echo "configure: failed program was:" >&5
23531 cat conftest.$ac_ext >&5
23533 glibcpp_shared_libgcc=no
23536 CFLAGS="$ac_save_CFLAGS"
23537 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23540 # For GNU ld, we need at least this version. It's 2.12 in the same format
23541 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23542 glibcpp_min_gnu_ld_version=21200
23544 # Check to see if unspecified "yes" value can win, given results
23546 if test $enable_symvers = yes ; then
23547 if test $with_gnu_ld = yes &&
23548 test $glibcpp_shared_libgcc = yes ;
23550 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23553 ac_test_CFLAGS="${CFLAGS+set}"
23554 ac_save_CFLAGS="$CFLAGS"
23555 CFLAGS='-shared -Wl,--version-script,conftest.map'
23558 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23560 cat > conftest.$ac_ext <<EOF
23561 #line 23562 "configure"
23562 #include "confdefs.h"
23568 if { (eval echo configure:23569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23572 echo "configure: failed program was:" >&5
23573 cat conftest.$ac_ext >&5
23576 if test "$ac_test_CFLAGS" = set; then
23577 CFLAGS="$ac_save_CFLAGS"
23579 # this is the suspicious part
23585 # just fail for now
23590 case $enable_symvers in
23592 SYMVER_MAP=config/linker-map.dummy
23595 SYMVER_MAP=config/linker-map.gnu
23596 cat >> confdefs.h <<\EOF
23597 #define _GLIBCPP_SYMVER 1
23606 if test $enable_symvers != no; then
23607 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23608 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23610 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23611 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23613 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23614 echo "configure:23615: checking versioning on shared library symbols" >&5
23615 echo "$ac_t""$enable_symvers" 1>&6
23618 # Propagate the target-specific source directories through the build chain.
23619 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23620 # uses it, and it only gets used in this file.)
23621 OS_INC_SRCDIR=config/${os_include_dir}
23622 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23626 # Set up cross-compile flags
23629 if test "$CANADIAN" = yes; then
23637 cat > confcache <<\EOF
23638 # This file is a shell script that caches the results of configure
23639 # tests run on this system so they can be shared between configure
23640 # scripts and configure runs. It is not useful on other systems.
23641 # If it contains results you don't want to keep, you may remove or edit it.
23643 # By default, configure uses ./config.cache as the cache file,
23644 # creating it if it does not exist already. You can give configure
23645 # the --cache-file=FILE option to use a different cache file; that is
23646 # what configure does when it calls configure scripts in
23647 # subdirectories, so they share the cache.
23648 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23649 # config.status only pays attention to the cache file if you give it the
23650 # --recheck option to rerun configure.
23653 # The following way of writing the cache mishandles newlines in values,
23654 # but we know of no workaround that is simple, portable, and efficient.
23655 # So, don't put newlines in cache variables' values.
23656 # Ultrix sh set writes to stderr and can't be redirected directly,
23657 # and sets the high bit in the cache file unless we assign to the vars.
23659 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23661 # `set' does not quote correctly, so add quotes (double-quote substitution
23662 # turns \\\\ into \\, and sed turns \\ into \).
23664 -e "s/'/'\\\\''/g" \
23665 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23668 # `set' quotes correctly as required by POSIX, so do not add quotes.
23669 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23672 if cmp -s $cache_file confcache; then
23675 if test -w $cache_file; then
23676 echo "updating cache $cache_file"
23677 cat confcache > $cache_file
23679 echo "not updating unwritable cache $cache_file"
23685 if test "${multilib}" = "yes"; then
23686 multilib_arg="--enable-multilib"
23691 # Export all the install information
23693 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23694 # exported correctly in GLIBCPP_CONFIGURE.
23695 glibcpp_toolexecdir=no
23696 glibcpp_toolexeclibdir=no
23697 glibcpp_prefixdir=${prefix}
23699 # Process the option --with-gxx-include-dir=<path to include-files directory>
23700 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23701 echo "configure:23702: checking for --with-gxx-include-dir" >&5
23702 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23703 if test "${with_gxx_include_dir+set}" = set; then
23704 withval="$with_gxx_include_dir"
23705 case "${withval}" in
23707 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23714 gxx_include_dir=${withval}
23721 echo "$ac_t""$gxx_include_dir" 1>&6
23723 # Process the option "--enable-version-specific-runtime-libs"
23724 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23725 echo "configure:23726: checking for --enable-version-specific-runtime-libs" >&5
23726 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23727 if test "${enable_version_specific_runtime_libs+set}" = set; then
23728 enableval="$enable_version_specific_runtime_libs"
23729 case "$enableval" in
23730 yes) version_specific_libs=yes ;;
23731 no) version_specific_libs=no ;;
23732 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23735 version_specific_libs=no
23737 # Option set, now we can test it.
23738 echo "$ac_t""$version_specific_libs" 1>&6
23740 # Default case for install directory for include files.
23741 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23742 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23745 # Version-specific runtime libs processing.
23746 if test $version_specific_libs = yes; then
23747 # Need the gcc compiler version to know where to install libraries
23748 # and header files if --enable-version-specific-runtime-libs option
23750 if test x"$gxx_include_dir" = x"no"; then
23751 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23753 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23754 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23757 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23758 # Install a library built with a cross compiler in tooldir, not libdir.
23759 if test x"$glibcpp_toolexecdir" = x"no"; then
23760 if test -n "$with_cross_host" &&
23761 test x"$with_cross_host" != x"no"; then
23762 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23763 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
23765 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23766 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
23770 echo $ac_n "checking for install location""... $ac_c" 1>&6
23771 echo "configure:23772: checking for install location" >&5
23772 echo "$ac_t""$gxx_include_dir" 1>&6
23780 # Export all the include and flag information to Makefiles.
23782 # Root level of the build directory include sources.
23783 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23785 # Passed down for canadian crosses.
23786 if test x"$CANADIAN" = xyes; then
23787 TOPLEVEL_INCLUDES='-I$(includedir)'
23790 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23792 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23794 if test x"$need_libio" = xyes; then
23795 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23799 # Now, export this to all the little Makefiles....
23806 # Optimization flags that are probably a good idea for thrill-seekers. Just
23807 # uncomment the lines below and make, everything else is ready to go...
23808 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23812 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23816 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23817 grep "enable shared" > /dev/null; then
23818 LIBSUPCXX_PICFLAGS=-prefer-pic
23820 LIBSUPCXX_PICFLAGS=
23824 # Generate the various Makefiles, include files, and scripts.
23825 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23826 # and libsupc++/Makefile.am so that multilib installs will end up
23827 # installed in the correct place. To work around this not being passed
23828 # down from config-ml.in -> top_srcdir/Makefile.am ->
23829 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23831 cat > confcache <<\EOF
23832 # This file is a shell script that caches the results of configure
23833 # tests run on this system so they can be shared between configure
23834 # scripts and configure runs. It is not useful on other systems.
23835 # If it contains results you don't want to keep, you may remove or edit it.
23837 # By default, configure uses ./config.cache as the cache file,
23838 # creating it if it does not exist already. You can give configure
23839 # the --cache-file=FILE option to use a different cache file; that is
23840 # what configure does when it calls configure scripts in
23841 # subdirectories, so they share the cache.
23842 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23843 # config.status only pays attention to the cache file if you give it the
23844 # --recheck option to rerun configure.
23847 # The following way of writing the cache mishandles newlines in values,
23848 # but we know of no workaround that is simple, portable, and efficient.
23849 # So, don't put newlines in cache variables' values.
23850 # Ultrix sh set writes to stderr and can't be redirected directly,
23851 # and sets the high bit in the cache file unless we assign to the vars.
23853 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23855 # `set' does not quote correctly, so add quotes (double-quote substitution
23856 # turns \\\\ into \\, and sed turns \\ into \).
23858 -e "s/'/'\\\\''/g" \
23859 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23862 # `set' quotes correctly as required by POSIX, so do not add quotes.
23863 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23866 if cmp -s $cache_file confcache; then
23869 if test -w $cache_file; then
23870 echo "updating cache $cache_file"
23871 cat confcache > $cache_file
23873 echo "not updating unwritable cache $cache_file"
23878 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23880 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23881 # Let make expand exec_prefix.
23882 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23884 # Any assignment to VPATH causes Sun make to only execute
23885 # the first set of double-colon rules, so remove it if not needed.
23886 # If there is a colon in the path, we need to keep it.
23887 if test "x$srcdir" = x.; then
23888 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23891 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23893 DEFS=-DHAVE_CONFIG_H
23895 # Without the "./", some shells look in PATH for config.status.
23896 : ${CONFIG_STATUS=./config.status}
23898 echo creating $CONFIG_STATUS
23899 rm -f $CONFIG_STATUS
23900 cat > $CONFIG_STATUS <<EOF
23902 # Generated automatically by configure.
23903 # Run this file to recreate the current configuration.
23904 # This directory was configured as follows,
23905 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23907 # $0 $ac_configure_args
23909 # Compiler output produced by configure, useful for debugging
23910 # configure, is in ./config.log if it exists.
23912 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23915 case "\$ac_option" in
23916 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23917 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23918 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23919 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23920 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23922 -help | --help | --hel | --he | --h)
23923 echo "\$ac_cs_usage"; exit 0 ;;
23924 *) echo "\$ac_cs_usage"; exit 1 ;;
23928 ac_given_srcdir=$srcdir
23929 ac_given_INSTALL="$INSTALL"
23931 trap 'rm -fr `echo "Makefile \
23932 include/Makefile src/Makefile \
23933 libmath/Makefile libio/Makefile libsupc++/Makefile \
23934 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23936 cat >> $CONFIG_STATUS <<EOF
23938 # Protect against being on the right side of a sed subst in config.status.
23939 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23940 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
23944 s%@CFLAGS@%$CFLAGS%g
23945 s%@CPPFLAGS@%$CPPFLAGS%g
23946 s%@CXXFLAGS@%$CXXFLAGS%g
23947 s%@FFLAGS@%$FFLAGS%g
23949 s%@LDFLAGS@%$LDFLAGS%g
23951 s%@exec_prefix@%$exec_prefix%g
23952 s%@prefix@%$prefix%g
23953 s%@program_transform_name@%$program_transform_name%g
23954 s%@bindir@%$bindir%g
23955 s%@sbindir@%$sbindir%g
23956 s%@libexecdir@%$libexecdir%g
23957 s%@datadir@%$datadir%g
23958 s%@sysconfdir@%$sysconfdir%g
23959 s%@sharedstatedir@%$sharedstatedir%g
23960 s%@localstatedir@%$localstatedir%g
23961 s%@libdir@%$libdir%g
23962 s%@includedir@%$includedir%g
23963 s%@oldincludedir@%$oldincludedir%g
23964 s%@infodir@%$infodir%g
23965 s%@mandir@%$mandir%g
23966 s%@PACKAGE@%$PACKAGE%g
23967 s%@libtool_VERSION@%$libtool_VERSION%g
23968 s%@toplevel_srcdir@%$toplevel_srcdir%g
23970 s%@host_alias@%$host_alias%g
23971 s%@host_cpu@%$host_cpu%g
23972 s%@host_vendor@%$host_vendor%g
23973 s%@host_os@%$host_os%g
23974 s%@target@%$target%g
23975 s%@target_alias@%$target_alias%g
23976 s%@target_cpu@%$target_cpu%g
23977 s%@target_vendor@%$target_vendor%g
23978 s%@target_os@%$target_os%g
23980 s%@build_alias@%$build_alias%g
23981 s%@build_cpu@%$build_cpu%g
23982 s%@build_vendor@%$build_vendor%g
23983 s%@build_os@%$build_os%g
23984 s%@glibcpp_builddir@%$glibcpp_builddir%g
23985 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
23988 s%@glibcpp_basedir@%$glibcpp_basedir%g
23990 s%@glibcpp_CXX@%$glibcpp_CXX%g
23993 s%@RANLIB@%$RANLIB%g
23994 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
23995 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
23996 s%@INSTALL_DATA@%$INSTALL_DATA%g
23997 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
23998 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24000 s%@EXEEXT@%$EXEEXT%g
24001 s%@VERSION@%$VERSION%g
24002 s%@ACLOCAL@%$ACLOCAL%g
24003 s%@AUTOCONF@%$AUTOCONF%g
24004 s%@AUTOMAKE@%$AUTOMAKE%g
24005 s%@AUTOHEADER@%$AUTOHEADER%g
24006 s%@MAKEINFO@%$MAKEINFO%g
24007 s%@SET_MAKE@%$SET_MAKE%g
24008 s%@OBJEXT@%$OBJEXT%g
24010 s%@LIBTOOL@%$LIBTOOL%g
24011 s%@CXXCPP@%$CXXCPP%g
24012 s%@enable_shared@%$enable_shared%g
24013 s%@enable_static@%$enable_static%g
24014 s%@ifGNUmake@%$ifGNUmake%g
24016 s%@CSTDIO_H@%$CSTDIO_H%g
24017 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24018 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24019 s%@CCODECVT_C@%$CCODECVT_C%g
24020 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24021 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24022 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24023 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24024 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24025 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24026 s%@libio_la@%$libio_la%g
24027 s%@check_msgfmt@%$check_msgfmt%g
24028 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24029 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24030 s%@glibcpp_localedir@%$glibcpp_localedir%g
24031 s%@USE_NLS@%$USE_NLS%g
24032 s%@CLOCALE_H@%$CLOCALE_H%g
24033 s%@CCODECVT_H@%$CCODECVT_H%g
24034 s%@CMESSAGES_H@%$CMESSAGES_H%g
24035 s%@CCODECVT_CC@%$CCODECVT_CC%g
24036 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24037 s%@CCTYPE_CC@%$CCTYPE_CC%g
24038 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24039 s%@CMONEY_CC@%$CMONEY_CC%g
24040 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24041 s%@CTIME_H@%$CTIME_H%g
24042 s%@CTIME_CC@%$CTIME_CC%g
24043 s%@CLOCALE_CC@%$CLOCALE_CC%g
24044 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24045 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24046 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24047 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24048 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24049 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24050 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24051 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24052 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24053 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24054 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24055 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24056 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24057 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24058 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24059 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24060 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24061 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24062 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24063 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24064 s%@WERROR@%$WERROR%g
24065 s%@baseline_file@%$baseline_file%g
24066 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24067 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24068 s%@SYMVER_MAP@%$SYMVER_MAP%g
24069 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24070 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24071 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24072 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24073 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24074 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24075 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24076 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24077 s%@gxx_include_dir@%$gxx_include_dir%g
24078 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24079 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24080 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24081 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24082 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24083 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24084 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24085 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24086 s%@WARN_FLAGS@%$WARN_FLAGS%g
24087 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24092 cat >> $CONFIG_STATUS <<\EOF
24094 # Split the substitutions into bite-sized pieces for seds with
24095 # small command number limits, like on Digital OSF/1 and HP-UX.
24096 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24097 ac_file=1 # Number of current file.
24098 ac_beg=1 # First line for current file.
24099 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24102 while $ac_more_lines; do
24103 if test $ac_beg -gt 1; then
24104 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24106 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24108 if test ! -s conftest.s$ac_file; then
24109 ac_more_lines=false
24110 rm -f conftest.s$ac_file
24112 if test -z "$ac_sed_cmds"; then
24113 ac_sed_cmds="sed -f conftest.s$ac_file"
24115 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24117 ac_file=`expr $ac_file + 1`
24119 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24122 if test -z "$ac_sed_cmds"; then
24127 cat >> $CONFIG_STATUS <<EOF
24129 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24130 include/Makefile src/Makefile \
24131 libmath/Makefile libio/Makefile libsupc++/Makefile \
24132 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
24134 cat >> $CONFIG_STATUS <<\EOF
24135 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24136 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24138 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24139 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24140 *) ac_file_in="${ac_file}.in" ;;
24143 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24145 # Remove last slash and all that follows it. Not all systems have dirname.
24146 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24147 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24148 # The file is in a subdirectory.
24149 test ! -d "$ac_dir" && mkdir "$ac_dir"
24150 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24151 # A "../" for each directory in $ac_dir_suffix.
24152 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24154 ac_dir_suffix= ac_dots=
24157 case "$ac_given_srcdir" in
24159 if test -z "$ac_dots"; then top_srcdir=.
24160 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24161 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24162 *) # Relative path.
24163 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24164 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24167 case "$ac_given_INSTALL" in
24168 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24169 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24172 echo creating "$ac_file"
24174 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24176 *Makefile*) ac_comsub="1i\\
24177 # $configure_input" ;;
24181 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24183 s%@configure_input@%$configure_input%g
24184 s%@srcdir@%$srcdir%g
24185 s%@top_srcdir@%$top_srcdir%g
24186 s%@INSTALL@%$INSTALL%g
24187 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24191 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24192 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24194 # ac_d sets the value in "#define NAME VALUE" lines.
24195 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24196 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24199 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24200 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24201 ac_uB='\([ ]\)%\1#\2define\3'
24204 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24205 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24206 ac_eB='$%\1#\2define\3'
24210 if test "${CONFIG_HEADERS+set}" != set; then
24212 cat >> $CONFIG_STATUS <<EOF
24213 CONFIG_HEADERS="config.h"
24215 cat >> $CONFIG_STATUS <<\EOF
24217 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24218 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24220 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24221 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24222 *) ac_file_in="${ac_file}.in" ;;
24225 echo creating $ac_file
24227 rm -f conftest.frag conftest.in conftest.out
24228 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24229 cat $ac_file_inputs > conftest.in
24233 # Transform confdefs.h into a sed script conftest.vals that substitutes
24234 # the proper values into config.h.in to produce config.h. And first:
24235 # Protect against being on the right side of a sed subst in config.status.
24236 # Protect against being in an unquoted here document in config.status.
24237 rm -f conftest.vals
24238 cat > conftest.hdr <<\EOF
24241 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24245 sed -n -f conftest.hdr confdefs.h > conftest.vals
24248 # This sed command replaces #undef with comments. This is necessary, for
24249 # example, in the case of _POSIX_SOURCE, which is predefined and required
24250 # on some systems where configure will not decide to define it.
24251 cat >> conftest.vals <<\EOF
24252 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24255 # Break up conftest.vals because some shells have a limit on
24256 # the size of here documents, and old seds have small limits too.
24258 rm -f conftest.tail
24261 ac_lines=`grep -c . conftest.vals`
24262 # grep -c gives empty output for an empty file on some AIX systems.
24263 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24264 # Write a limited-size here document to conftest.frag.
24265 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24266 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24268 sed -f conftest.frag conftest.in > conftest.out
24270 mv conftest.out conftest.in
24271 ' >> $CONFIG_STATUS
24272 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24273 rm -f conftest.vals
24274 mv conftest.tail conftest.vals
24276 rm -f conftest.vals
24278 cat >> $CONFIG_STATUS <<\EOF
24279 rm -f conftest.frag conftest.h
24280 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24281 cat conftest.in >> conftest.h
24283 if cmp -s $ac_file conftest.h 2>/dev/null; then
24284 echo "$ac_file is unchanged"
24287 # Remove last slash and all that follows it. Not all systems have dirname.
24288 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24289 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24290 # The file is in a subdirectory.
24291 test ! -d "$ac_dir" && mkdir "$ac_dir"
24294 mv conftest.h $ac_file
24299 cat >> $CONFIG_STATUS <<EOF
24304 with_target_subdir=${with_target_subdir}
24305 with_build_subdir=${with_build_subdir}
24306 with_multisubdir=${with_multisubdir}
24307 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24308 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24309 glibcpp_basedir=${glibcpp_basedir}
24314 cat >> $CONFIG_STATUS <<\EOF
24315 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24316 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24317 if test -n "$CONFIG_FILES"; then
24318 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24319 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24320 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24321 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24322 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24326 chmod +x testsuite_flags
24330 chmod +x $CONFIG_STATUS
24331 rm -fr confdefs* $ac_clean_files
24332 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24336 # Sanity checking & User-visible messages.
24337 # Checks down here, otherwise they get scrolled off before
24338 # the user will notice.
24340 # Trying to get more people to read documentation. Possibly remove
24341 # check and warn all the time. There is no "informational" AC_MSG_
24342 # macro, so these are going to be printed even when --quiet/--silent
24344 if test ! -f stamp-sanity-warned; then
24345 touch stamp-sanity-warned
24347 echo "Please make certain that you read the installation information here:"
24348 echo " faster => ${srcdir}/docs/html/install.html"
24349 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24351 echo "and the configuration information here:"
24352 echo " faster => ${srcdir}/docs/html/configopts.html"
24353 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24355 echo "before proceeding with ${_cv_gnu_make_command}."