3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-cstdio enable stdio for target io package.
38 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
41 --enable-clocale enable model for target locale package.
42 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
45 --enable-nls use Native Language Support (default)"
47 --enable-cheaders=MODEL construct "C" header files for g++ [default=c_std]"
49 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
51 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
53 --enable-long-long turns on 'long long' [default=yes]"
55 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
57 --enable-libunwind-exceptions force use of libunwind for exceptions"
59 --enable-concept-checks use Boost-derived template checks [default=no]"
61 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
64 --enable-debug build extra debug library [default=no]"
66 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
67 library;[default=none]"
69 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
71 --with-gxx-include-dir the installation directory for include files"
73 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
75 # Initialize some variables set by options.
76 # The variables have the same names as the options, with
77 # dashes changed to underlines.
79 cache_file=./config.cache
88 program_transform_name=s,x,x,
96 bindir='${exec_prefix}/bin'
97 sbindir='${exec_prefix}/sbin'
98 libexecdir='${exec_prefix}/libexec'
99 datadir='${prefix}/share'
100 sysconfdir='${prefix}/etc'
101 sharedstatedir='${prefix}/com'
102 localstatedir='${prefix}/var'
103 libdir='${exec_prefix}/lib'
104 includedir='${prefix}/include'
105 oldincludedir='/usr/include'
106 infodir='${prefix}/info'
107 mandir='${prefix}/man'
109 # Initialize some other variables.
112 SHELL=${CONFIG_SHELL-/bin/sh}
113 # Maximum number of lines to put in a shell here document.
120 # If the previous option needs an argument, assign it.
121 if test -n "$ac_prev"; then
122 eval "$ac_prev=\$ac_option"
128 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
132 # Accept the important Cygnus configure options, so we can diagnose typos.
136 -bindir | --bindir | --bindi | --bind | --bin | --bi)
138 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
139 bindir="$ac_optarg" ;;
141 -build | --build | --buil | --bui | --bu)
143 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
144 build="$ac_optarg" ;;
146 -cache-file | --cache-file | --cache-fil | --cache-fi \
147 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
148 ac_prev=cache_file ;;
149 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
150 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
151 cache_file="$ac_optarg" ;;
153 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
155 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
157 datadir="$ac_optarg" ;;
159 -disable-* | --disable-*)
160 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
166 eval "enable_${ac_feature}=no" ;;
168 -enable-* | --enable-*)
169 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
170 # Reject names that are not valid shell variable names.
171 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
172 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
174 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
179 eval "enable_${ac_feature}='$ac_optarg'" ;;
181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
183 | --exec | --exe | --ex)
184 ac_prev=exec_prefix ;;
185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
187 | --exec=* | --exe=* | --ex=*)
188 exec_prefix="$ac_optarg" ;;
190 -gas | --gas | --ga | --g)
191 # Obsolete; use --with-gas.
194 -help | --help | --hel | --he)
195 # Omit some internal or obsolete options to make the list less imposing.
196 # This message is too long to be a string in the A/UX 3.1 sh.
198 Usage: configure [options] [host]
199 Options: [defaults in brackets after descriptions]
201 --cache-file=FILE cache test results in FILE
202 --help print this message
203 --no-create do not create output files
204 --quiet, --silent do not print \`checking...' messages
205 --version print the version of autoconf that created configure
206 Directory and file names:
207 --prefix=PREFIX install architecture-independent files in PREFIX
209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
211 --bindir=DIR user executables in DIR [EPREFIX/bin]
212 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
213 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
214 --datadir=DIR read-only architecture-independent data in DIR
216 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
217 --sharedstatedir=DIR modifiable architecture-independent data in DIR
219 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
220 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
221 --includedir=DIR C header files in DIR [PREFIX/include]
222 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
223 --infodir=DIR info documentation in DIR [PREFIX/info]
224 --mandir=DIR man documentation in DIR [PREFIX/man]
225 --srcdir=DIR find the sources in DIR [configure dir or ..]
226 --program-prefix=PREFIX prepend PREFIX to installed program names
227 --program-suffix=SUFFIX append SUFFIX to installed program names
228 --program-transform-name=PROGRAM
229 run sed PROGRAM on installed program names
233 --build=BUILD configure for building on BUILD [BUILD=HOST]
234 --host=HOST configure for HOST [guessed]
235 --target=TARGET configure for TARGET [TARGET=HOST]
236 Features and packages:
237 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
238 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
239 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
240 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
241 --x-includes=DIR X include files are in DIR
242 --x-libraries=DIR X library files are in DIR
244 if test -n "$ac_help"; then
245 echo "--enable and --with options recognized:$ac_help"
249 -host | --host | --hos | --ho)
251 -host=* | --host=* | --hos=* | --ho=*)
254 -includedir | --includedir | --includedi | --included | --include \
255 | --includ | --inclu | --incl | --inc)
256 ac_prev=includedir ;;
257 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
258 | --includ=* | --inclu=* | --incl=* | --inc=*)
259 includedir="$ac_optarg" ;;
261 -infodir | --infodir | --infodi | --infod | --info | --inf)
263 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
264 infodir="$ac_optarg" ;;
266 -libdir | --libdir | --libdi | --libd)
268 -libdir=* | --libdir=* | --libdi=* | --libd=*)
269 libdir="$ac_optarg" ;;
271 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
272 | --libexe | --libex | --libe)
273 ac_prev=libexecdir ;;
274 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
275 | --libexe=* | --libex=* | --libe=*)
276 libexecdir="$ac_optarg" ;;
278 -localstatedir | --localstatedir | --localstatedi | --localstated \
279 | --localstate | --localstat | --localsta | --localst \
280 | --locals | --local | --loca | --loc | --lo)
281 ac_prev=localstatedir ;;
282 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
283 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
284 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
285 localstatedir="$ac_optarg" ;;
287 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
289 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
290 mandir="$ac_optarg" ;;
293 # Obsolete; use --without-fp.
296 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
300 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
301 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
304 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
305 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
306 | --oldin | --oldi | --old | --ol | --o)
307 ac_prev=oldincludedir ;;
308 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
309 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
310 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
311 oldincludedir="$ac_optarg" ;;
313 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
315 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
316 prefix="$ac_optarg" ;;
318 -program-prefix | --program-prefix | --program-prefi | --program-pref \
319 | --program-pre | --program-pr | --program-p)
320 ac_prev=program_prefix ;;
321 -program-prefix=* | --program-prefix=* | --program-prefi=* \
322 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
323 program_prefix="$ac_optarg" ;;
325 -program-suffix | --program-suffix | --program-suffi | --program-suff \
326 | --program-suf | --program-su | --program-s)
327 ac_prev=program_suffix ;;
328 -program-suffix=* | --program-suffix=* | --program-suffi=* \
329 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
330 program_suffix="$ac_optarg" ;;
332 -program-transform-name | --program-transform-name \
333 | --program-transform-nam | --program-transform-na \
334 | --program-transform-n | --program-transform- \
335 | --program-transform | --program-transfor \
336 | --program-transfo | --program-transf \
337 | --program-trans | --program-tran \
338 | --progr-tra | --program-tr | --program-t)
339 ac_prev=program_transform_name ;;
340 -program-transform-name=* | --program-transform-name=* \
341 | --program-transform-nam=* | --program-transform-na=* \
342 | --program-transform-n=* | --program-transform-=* \
343 | --program-transform=* | --program-transfor=* \
344 | --program-transfo=* | --program-transf=* \
345 | --program-trans=* | --program-tran=* \
346 | --progr-tra=* | --program-tr=* | --program-t=*)
347 program_transform_name="$ac_optarg" ;;
349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
350 | -silent | --silent | --silen | --sile | --sil)
353 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
355 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
357 sbindir="$ac_optarg" ;;
359 -sharedstatedir | --sharedstatedir | --sharedstatedi \
360 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
361 | --sharedst | --shareds | --shared | --share | --shar \
363 ac_prev=sharedstatedir ;;
364 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
365 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
366 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
368 sharedstatedir="$ac_optarg" ;;
370 -site | --site | --sit)
372 -site=* | --site=* | --sit=*)
375 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
377 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
378 srcdir="$ac_optarg" ;;
380 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
381 | --syscon | --sysco | --sysc | --sys | --sy)
382 ac_prev=sysconfdir ;;
383 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
384 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
385 sysconfdir="$ac_optarg" ;;
387 -target | --target | --targe | --targ | --tar | --ta | --t)
389 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
390 target="$ac_optarg" ;;
392 -v | -verbose | --verbose | --verbos | --verbo | --verb)
395 -version | --version | --versio | --versi | --vers)
396 echo "configure generated by autoconf version 2.13"
400 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
403 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
405 ac_package=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}='$ac_optarg'" ;;
412 -without-* | --without-*)
413 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package=`echo $ac_package| sed 's/-/_/g'`
419 eval "with_${ac_package}=no" ;;
422 # Obsolete; use --with-x.
425 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
426 | --x-incl | --x-inc | --x-in | --x-i)
427 ac_prev=x_includes ;;
428 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
429 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
430 x_includes="$ac_optarg" ;;
432 -x-libraries | --x-libraries | --x-librarie | --x-librari \
433 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
434 ac_prev=x_libraries ;;
435 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
436 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
437 x_libraries="$ac_optarg" ;;
439 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
443 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
444 echo "configure: warning: $ac_option: invalid host type" 1>&2
446 if test "x$nonopt" != xNONE; then
447 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
455 if test -n "$ac_prev"; then
456 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
459 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
461 # File descriptor usage:
464 # 2 errors and warnings
465 # 3 some systems may open it to /dev/tty
466 # 4 used on the Kubota Titan
467 # 6 checking for... messages and results
468 # 5 compiler messages saved in config.log
469 if test "$silent" = yes; then
477 This file contains any messages produced by compilers while
478 running configure, to aid debugging if configure makes a mistake.
481 # Strip out --no-create and --no-recursion so they do not pile up.
482 # Also quote any args containing shell metacharacters.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c) ;;
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
492 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
493 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
498 # Only set these to C if already set. These must not be set unconditionally
499 # because not all systems understand e.g. LANG=C (notably SCO).
500 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
501 # Non-C LC_CTYPE values break the ctype check.
502 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
503 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
504 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
505 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
508 rm -rf conftest* confdefs.h
509 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
512 # A filename unique to this package, relative to the directory that
513 # configure is in, which we can look for to find out if srcdir is correct.
514 ac_unique_file=src/ios.cc
516 # Find the source files, if location was not specified.
517 if test -z "$srcdir"; then
518 ac_srcdir_defaulted=yes
519 # Try the directory containing this script, then its parent.
521 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
522 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
524 if test ! -r $srcdir/$ac_unique_file; then
528 ac_srcdir_defaulted=no
530 if test ! -r $srcdir/$ac_unique_file; then
531 if test "$ac_srcdir_defaulted" = yes; then
532 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
534 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
537 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
539 # Prefer explicitly selected file to automatically selected ones.
540 if test -z "$CONFIG_SITE"; then
541 if test "x$prefix" != xNONE; then
542 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
544 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
547 for ac_site_file in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp='$CPP $CPPFLAGS'
565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
580 ac_n= ac_c='\c' ac_t=
585 # This works around the fact that libtool configuration may change LD
586 # for this particular configuration, but some shells, instead of
587 # keeping the changes in LD private, export them just because LD is
588 # exported. Only used at the end of this file.
589 ORIGINAL_LD_FOR_MULTILIBS=$LD
593 # For libtool versioning info, format is CURRENT:REVISION:AGE
594 libtool_VERSION=6:0:0
598 # Check whether --enable-multilib or --disable-multilib was given.
599 if test "${enable_multilib+set}" = set; then
600 enableval="$enable_multilib"
601 case "${enableval}" in
604 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
610 # When building with srcdir == objdir, links to the source files will
611 # be created in directories within the target_subdir. We have to
612 # adjust toplevel_srcdir accordingly, so that configure finds
613 # install-sh and other auxiliary files that live in the top-level
615 if test "${srcdir}" = "."; then
616 if test -z "${with_target_subdir}"; then
619 if test "${with_target_subdir}" != "."; then
620 toprel="${with_multisrctop}../.."
622 toprel="${with_multisrctop}.."
629 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
630 if test -f $ac_dir/install-sh; then
632 ac_install_sh="$ac_aux_dir/install-sh -c"
634 elif test -f $ac_dir/install.sh; then
636 ac_install_sh="$ac_aux_dir/install.sh -c"
640 if test -z "$ac_aux_dir"; then
641 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
643 ac_config_guess=$ac_aux_dir/config.guess
644 ac_config_sub=$ac_aux_dir/config.sub
645 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
647 toplevel_srcdir=\${top_srcdir}/$toprel
651 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
653 # You will slowly go insane if you do not grok the following fact: when
654 # building v3 as part of the compiler, the top-level /target/ becomes the
655 # library's /host/. `configure' then causes --target to default to --host,
656 # exactly like any other package using autoconf. Therefore, 'target' and
657 # 'host' will always be the same. This makes sense both for native and
658 # cross compilers, just think about it for a little while. :-)
660 # Also, if v3 is being configured as part of a cross compiler, the top-level
661 # configure script will pass the "real" host as $with_cross_host.
663 # AC 2.5x sets target_alias iff the user specified --target, but we use it
664 # everywhere, so we set it here just to be sure. In AC 2.13
665 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
667 # Do some error checking and defaulting for the host and target type.
669 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
672 # 1. You are not allowed to specify --host, --target, and nonopt at the
674 # 2. Host defaults to nonopt.
675 # 3. If nonopt is not specified, then host defaults to the current host,
676 # as determined by config.guess.
677 # 4. Target and build default to nonopt.
678 # 5. If nonopt is not specified, then target and build default to host.
680 # The aliases save the names the user supplied, while $host etc.
681 # will get canonicalized.
682 case $host---$target---$nonopt in
683 NONE---*---* | *---NONE---* | *---*---NONE) ;;
684 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
688 # Make sure we can run config.sub.
689 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
690 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
693 echo $ac_n "checking host system type""... $ac_c" 1>&6
694 echo "configure:695: checking host system type" >&5
697 case "$host_alias" in
701 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
702 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
704 *) host_alias=$nonopt ;;
708 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
709 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$host" 1>&6
714 echo $ac_n "checking target system type""... $ac_c" 1>&6
715 echo "configure:716: checking target system type" >&5
718 case "$target_alias" in
721 NONE) target_alias=$host_alias ;;
722 *) target_alias=$nonopt ;;
726 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
727 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$target" 1>&6
732 echo $ac_n "checking build system type""... $ac_c" 1>&6
733 echo "configure:734: checking build system type" >&5
736 case "$build_alias" in
739 NONE) build_alias=$host_alias ;;
740 *) build_alias=$nonopt ;;
744 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
745 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
746 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
747 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
748 echo "$ac_t""$build" 1>&6
750 test "$host_alias" != "$target_alias" &&
751 test "$program_prefix$program_suffix$program_transform_name" = \
753 program_prefix=${target_alias}-
755 target_alias=${target_alias-$target}
758 # Runs configure.target, finds CC, CXX and assorted other critical bits.
759 # Must run this before the GLIBCPP_ENABLE_* macros below.
760 if test $host != $build; then
761 ac_tool_prefix=${host_alias}-
766 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
767 echo "configure:768: checking for Cygwin environment" >&5
768 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
769 echo $ac_n "(cached) $ac_c" 1>&6
771 cat > conftest.$ac_ext <<EOF
772 #line 773 "configure"
773 #include "confdefs.h"
778 #define __CYGWIN__ __CYGWIN32__
783 if { (eval echo configure:784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
787 echo "configure: failed program was:" >&5
788 cat conftest.$ac_ext >&5
796 echo "$ac_t""$ac_cv_cygwin" 1>&6
798 test "$ac_cv_cygwin" = yes && CYGWIN=yes
799 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
800 echo "configure:801: checking for mingw32 environment" >&5
801 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
802 echo $ac_n "(cached) $ac_c" 1>&6
804 cat > conftest.$ac_ext <<EOF
805 #line 806 "configure"
806 #include "confdefs.h"
812 if { (eval echo configure:813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
816 echo "configure: failed program was:" >&5
817 cat conftest.$ac_ext >&5
825 echo "$ac_t""$ac_cv_mingw32" 1>&6
827 test "$ac_cv_mingw32" = yes && MINGW32=yes
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in gawk mawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
848 echo "configure:849: checking for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
882 echo "configure:883: checking whether ln -s works" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
920 # Never versions of autoconf add an underscore to these functions.
921 # Prevent future problems ...
928 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
929 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
930 # are probably using a cross compiler, which will not be able to fully
931 # link an executable. This is addressed in later versions of autoconf.
936 # Extract the first word of "gcc", so it can be a program name with args.
937 set dummy gcc; ac_word=$2
938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
939 echo "configure:940: checking for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC="$CC" # Let the user override the test.
946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
948 for ac_dir in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no" 1>&6
965 if test -z "$CC"; then
966 # Extract the first word of "cc", so it can be a program name with args.
967 set dummy cc; ac_word=$2
968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
969 echo "configure:970: checking for $ac_word" >&5
970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
971 echo $ac_n "(cached) $ac_c" 1>&6
973 if test -n "$CC"; then
974 ac_cv_prog_CC="$CC" # Let the user override the test.
976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 for ac_dir in $ac_dummy; do
980 test -z "$ac_dir" && ac_dir=.
981 if test -f $ac_dir/$ac_word; then
982 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
991 if test $ac_prog_rejected = yes; then
992 # We found a bogon in the path, so make sure we never use it.
993 set dummy $ac_cv_prog_CC
995 if test $# -gt 0; then
996 # We chose a different compiler from the bogus one.
997 # However, it has the same basename, so the bogon will be chosen
998 # first if we set CC to just the basename; use the full file name.
1000 set dummy "$ac_dir/$ac_word" "$@"
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no" 1>&6
1014 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1017 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1018 echo "configure:1019: checking whether we are using GNU C" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached) $ac_c" 1>&6
1022 cat > conftest.c <<EOF
1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1038 ac_test_CFLAGS="${CFLAGS+set}"
1039 ac_save_CFLAGS="$CFLAGS"
1041 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1042 echo "configure:1043: checking whether ${CC-cc} accepts -g" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1044 echo $ac_n "(cached) $ac_c" 1>&6
1046 echo 'void f(){}' > conftest.c
1047 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1056 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1057 if test "$ac_test_CFLAGS" = set; then
1058 CFLAGS="$ac_save_CFLAGS"
1059 elif test $ac_cv_prog_cc_g = yes; then
1066 test "${CFLAGS+set}" = set || CFLAGS="-g"
1070 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1071 # will try to link in libstdc++.
1075 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1076 # flags that come in CXX while configuring libstdc++. They're different
1077 # from those used for all other target libraries. If CXX is set in
1078 # the environment, respect that here.
1080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1085 echo "configure:1086: checking for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1087 echo $ac_n "(cached) $ac_c" 1>&6
1089 if test -n "$glibcpp_CXX"; then
1090 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_glibcpp_CXX="$ac_prog"
1104 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1105 if test -n "$glibcpp_CXX"; then
1106 echo "$ac_t""$glibcpp_CXX" 1>&6
1108 echo "$ac_t""no" 1>&6
1111 test -n "$glibcpp_CXX" && break
1113 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1117 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1119 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1120 echo "configure:1121: checking whether we are using GNU C++" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1122 echo $ac_n "(cached) $ac_c" 1>&6
1124 cat > conftest.C <<EOF
1129 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1136 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1138 if test $ac_cv_prog_gxx = yes; then
1140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1141 ac_save_CXXFLAGS="$CXXFLAGS"
1143 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1144 echo "configure:1145: checking whether ${CXX-g++} accepts -g" >&5
1145 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1146 echo $ac_n "(cached) $ac_c" 1>&6
1148 echo 'void f(){}' > conftest.cc
1149 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1150 ac_cv_prog_cxx_g=yes
1158 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1159 if test "$ac_test_CXXFLAGS" = set; then
1160 CXXFLAGS="$ac_save_CXXFLAGS"
1161 elif test $ac_cv_prog_cxx_g = yes; then
1168 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1172 # For directory versioning (e.g., headers) and other variables.
1173 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1174 echo "configure:1175: checking for GCC version number" >&5
1175 gcc_version=`$glibcpp_CXX -dumpversion`
1176 echo "$ac_t""$gcc_version" 1>&6
1178 # For some reason, gettext needs this.
1180 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1181 echo "configure:1182: checking for strerror in -lcposix" >&5
1182 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 ac_save_LIBS="$LIBS"
1187 LIBS="-lcposix $LIBS"
1188 cat > conftest.$ac_ext <<EOF
1189 #line 1190 "configure"
1190 #include "confdefs.h"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202 eval "ac_cv_lib_$ac_lib_var=yes"
1204 echo "configure: failed program was:" >&5
1205 cat conftest.$ac_ext >&5
1207 eval "ac_cv_lib_$ac_lib_var=no"
1210 LIBS="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 LIBS="$LIBS -lcposix"
1217 echo "$ac_t""no" 1>&6
1223 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1224 set dummy ${ac_tool_prefix}as; ac_word=$2
1225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1226 echo "configure:1227: checking for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1228 echo $ac_n "(cached) $ac_c" 1>&6
1230 if test -n "$AS"; then
1231 ac_cv_prog_AS="$AS" # Let the user override the test.
1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 ac_cv_prog_AS="${ac_tool_prefix}as"
1243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1247 if test -n "$AS"; then
1248 echo "$ac_t""$AS" 1>&6
1250 echo "$ac_t""no" 1>&6
1255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1256 set dummy ${ac_tool_prefix}ar; ac_word=$2
1257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1258 echo "configure:1259: checking for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR="$AR" # Let the user override the test.
1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1267 for ac_dir in $ac_dummy; do
1268 test -z "$ac_dir" && ac_dir=.
1269 if test -f $ac_dir/$ac_word; then
1270 ac_cv_prog_AR="${ac_tool_prefix}ar"
1275 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1279 if test -n "$AR"; then
1280 echo "$ac_t""$AR" 1>&6
1282 echo "$ac_t""no" 1>&6
1287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1290 echo "configure:1291: checking for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1292 echo $ac_n "(cached) $ac_c" 1>&6
1294 if test -n "$RANLIB"; then
1295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1309 RANLIB="$ac_cv_prog_RANLIB"
1310 if test -n "$RANLIB"; then
1311 echo "$ac_t""$RANLIB" 1>&6
1313 echo "$ac_t""no" 1>&6
1317 if test -z "$ac_cv_prog_RANLIB"; then
1318 if test -n "$ac_tool_prefix"; then
1319 # Extract the first word of "ranlib", so it can be a program name with args.
1320 set dummy ranlib; ac_word=$2
1321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1322 echo "configure:1323: checking for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 if test -n "$RANLIB"; then
1327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_RANLIB="ranlib"
1339 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1342 RANLIB="$ac_cv_prog_RANLIB"
1343 if test -n "$RANLIB"; then
1344 echo "$ac_t""$RANLIB" 1>&6
1346 echo "$ac_t""no" 1>&6
1350 RANLIB="ranlib-not-found-in-path-error"
1354 # Find a good install program. We prefer a C program (faster),
1355 # so one script is as good as another. But avoid the broken or
1356 # incompatible versions:
1357 # SysV /etc/install, /usr/sbin/install
1358 # SunOS /usr/etc/install
1359 # IRIX /sbin/install
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1364 # ./install, which can be erroneously created by make from ./install.sh.
1365 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1366 echo "configure:1367: checking for a BSD compatible install" >&5
1367 if test -z "$INSTALL"; then
1368 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1369 echo $ac_n "(cached) $ac_c" 1>&6
1371 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1372 for ac_dir in $PATH; do
1373 # Account for people who put trailing slashes in PATH elements.
1375 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1380 for ac_prog in ginstall scoinst install; do
1381 if test -f $ac_dir/$ac_prog; then
1382 if test $ac_prog = install &&
1383 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1384 # AIX install. It has an incompatible calling convention.
1387 ac_cv_path_install="$ac_dir/$ac_prog -c"
1398 if test "${ac_cv_path_install+set}" = set; then
1399 INSTALL="$ac_cv_path_install"
1401 # As a last resort, use the slow shell script. We don't cache a
1402 # path for INSTALL within a source directory, because that will
1403 # break other packages using the cache if that directory is
1404 # removed, or if the path is relative.
1405 INSTALL="$ac_install_sh"
1408 echo "$ac_t""$INSTALL" 1>&6
1410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411 # It thinks the first close brace ends the variable substitution.
1412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1420 echo "configure:1421: checking whether to enable maintainer-specific portions of Makefiles" >&5
1421 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1422 if test "${enable_maintainer_mode+set}" = set; then
1423 enableval="$enable_maintainer_mode"
1424 USE_MAINTAINER_MODE=$enableval
1426 USE_MAINTAINER_MODE=no
1429 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1432 if test $USE_MAINTAINER_MODE = yes; then
1433 MAINTAINER_MODE_TRUE=
1434 MAINTAINER_MODE_FALSE='#'
1436 MAINTAINER_MODE_TRUE='#'
1437 MAINTAINER_MODE_FALSE=
1439 MAINT=$MAINTAINER_MODE_TRUE
1443 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1444 # at least currently, we never actually build a program, so we never
1445 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1446 # fails, because we are probably configuring with a cross compiler
1447 # which can't create executables. So we include AC_EXEEXT to keep
1448 # automake happy, but we don't execute it, since we don't care about
1451 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1452 # to nothing, so nothing would remain between `then' and `fi' if it
1453 # were not for the `:' below.
1457 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1458 echo "configure:1459: checking for executable suffix" >&5
1459 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1460 echo $ac_n "(cached) $ac_c" 1>&6
1462 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1466 echo 'int main () { return 0; }' > conftest.$ac_ext
1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1469 for file in conftest.*; do
1471 *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1504 am__api_version="1.4"
1505 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1506 echo "configure:1507: checking whether build environment is sane" >&5
1509 echo timestamp > conftestfile
1510 # Do `set' in a subshell so we don't clobber the current shell's
1511 # arguments. Must try -L first in case configure is actually a
1512 # symlink; some systems play weird games with the mod time of symlinks
1513 # (eg FreeBSD returns the mod time of the symlink's containing
1516 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1517 if test "$*" = "X"; then
1519 set X `ls -t $srcdir/configure conftestfile`
1521 if test "$*" != "X $srcdir/configure conftestfile" \
1522 && test "$*" != "X conftestfile $srcdir/configure"; then
1524 # If neither matched, then we have a broken ls. This can happen
1525 # if, for instance, CONFIG_SHELL is bash and it inherits a
1526 # broken ls alias from the environment. This has actually
1527 # happened. Such a system could not be considered "sane".
1528 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1529 alias in your environment" 1>&2; exit 1; }
1532 test "$2" = conftestfile
1538 { echo "configure: error: newly created file is older than distributed files!
1539 Check your system clock" 1>&2; exit 1; }
1542 echo "$ac_t""yes" 1>&6
1543 if test "$program_transform_name" = s,x,x,; then
1544 program_transform_name=
1546 # Double any \ or $. echo might interpret backslashes.
1547 cat <<\EOF_SED > conftestsed
1548 s,\\,\\\\,g; s,\$,$$,g
1550 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1553 test "$program_prefix" != NONE &&
1554 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1555 # Use a double $ so make ignores it.
1556 test "$program_suffix" != NONE &&
1557 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1559 # sed with no file args requires a program.
1560 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1562 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1563 echo "configure:1564: checking whether ${MAKE-make} sets \${MAKE}" >&5
1564 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1565 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1566 echo $ac_n "(cached) $ac_c" 1>&6
1568 cat > conftestmake <<\EOF
1570 @echo 'ac_maketemp="${MAKE}"'
1572 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1573 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1574 if test -n "$ac_maketemp"; then
1575 eval ac_cv_prog_make_${ac_make}_set=yes
1577 eval ac_cv_prog_make_${ac_make}_set=no
1581 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1582 echo "$ac_t""yes" 1>&6
1585 echo "$ac_t""no" 1>&6
1586 SET_MAKE="MAKE=${MAKE-make}"
1592 VERSION=$gcc_version
1594 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1595 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1597 cat >> confdefs.h <<EOF
1598 #define PACKAGE "$PACKAGE"
1601 cat >> confdefs.h <<EOF
1602 #define VERSION "$VERSION"
1607 missing_dir=`cd $ac_aux_dir && pwd`
1608 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1609 echo "configure:1610: checking for working aclocal-${am__api_version}" >&5
1610 # Run test in a subshell; some versions of sh will print an error if
1611 # an executable is not found, even if stderr is redirected.
1612 # Redirect stdin to placate older versions of autoconf. Sigh.
1613 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1614 ACLOCAL=aclocal-${am__api_version}
1615 echo "$ac_t""found" 1>&6
1617 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1618 echo "$ac_t""missing" 1>&6
1621 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1622 echo "configure:1623: checking for working autoconf" >&5
1623 # Run test in a subshell; some versions of sh will print an error if
1624 # an executable is not found, even if stderr is redirected.
1625 # Redirect stdin to placate older versions of autoconf. Sigh.
1626 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1628 echo "$ac_t""found" 1>&6
1630 AUTOCONF="$missing_dir/missing autoconf"
1631 echo "$ac_t""missing" 1>&6
1634 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1635 echo "configure:1636: checking for working automake-${am__api_version}" >&5
1636 # Run test in a subshell; some versions of sh will print an error if
1637 # an executable is not found, even if stderr is redirected.
1638 # Redirect stdin to placate older versions of autoconf. Sigh.
1639 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1640 AUTOMAKE=automake-${am__api_version}
1641 echo "$ac_t""found" 1>&6
1643 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1644 echo "$ac_t""missing" 1>&6
1647 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1648 echo "configure:1649: checking for working autoheader" >&5
1649 # Run test in a subshell; some versions of sh will print an error if
1650 # an executable is not found, even if stderr is redirected.
1651 # Redirect stdin to placate older versions of autoconf. Sigh.
1652 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1653 AUTOHEADER=autoheader
1654 echo "$ac_t""found" 1>&6
1656 AUTOHEADER="$missing_dir/missing autoheader"
1657 echo "$ac_t""missing" 1>&6
1660 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1661 echo "configure:1662: checking for working makeinfo" >&5
1662 # Run test in a subshell; some versions of sh will print an error if
1663 # an executable is not found, even if stderr is redirected.
1664 # Redirect stdin to placate older versions of autoconf. Sigh.
1665 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1667 echo "$ac_t""found" 1>&6
1669 MAKEINFO="$missing_dir/missing makeinfo"
1670 echo "$ac_t""missing" 1>&6
1679 # Check whether --enable-shared or --disable-shared was given.
1680 if test "${enable_shared+set}" = set; then
1681 enableval="$enable_shared"
1682 p=${PACKAGE-default}
1684 yes) enable_shared=yes ;;
1685 no) enable_shared=no ;;
1688 # Look at the argument we got. We use all the common list separators.
1689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1690 for pkg in $enableval; do
1691 if test "X$pkg" = "X$p"; then
1702 # Check whether --enable-static or --disable-static was given.
1703 if test "${enable_static+set}" = set; then
1704 enableval="$enable_static"
1705 p=${PACKAGE-default}
1707 yes) enable_static=yes ;;
1708 no) enable_static=no ;;
1711 # Look at the argument we got. We use all the common list separators.
1712 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1713 for pkg in $enableval; do
1714 if test "X$pkg" = "X$p"; then
1725 # Check whether --enable-fast-install or --disable-fast-install was given.
1726 if test "${enable_fast_install+set}" = set; then
1727 enableval="$enable_fast_install"
1728 p=${PACKAGE-default}
1730 yes) enable_fast_install=yes ;;
1731 no) enable_fast_install=no ;;
1733 enable_fast_install=no
1734 # Look at the argument we got. We use all the common list separators.
1735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1736 for pkg in $enableval; do
1737 if test "X$pkg" = "X$p"; then
1738 enable_fast_install=yes
1745 enable_fast_install=yes
1748 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1749 if test "${with_gnu_ld+set}" = set; then
1750 withval="$with_gnu_ld"
1751 test "$withval" = no || with_gnu_ld=yes
1757 if test "$GCC" = yes; then
1758 # Check if gcc -print-prog-name=ld gives a path.
1759 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1760 echo "configure:1761: checking for ld used by GCC" >&5
1763 # gcc leaves a trailing carriage return which upsets mingw
1764 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1766 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1769 # Accept absolute paths.
1770 [\\/]* | [A-Za-z]:[\\/]*)
1771 re_direlt='/[^/][^/]*/\.\./'
1772 # Canonicalize the path of ld
1773 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1774 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1775 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1777 test -z "$LD" && LD="$ac_prog"
1780 # If it fails, then pretend we aren't using GCC.
1784 # If it is relative, then search for the first ld in PATH.
1788 elif test "$with_gnu_ld" = yes; then
1789 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1790 echo "configure:1791: checking for GNU ld" >&5
1792 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1793 echo "configure:1794: checking for non-GNU ld" >&5
1795 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1796 echo $ac_n "(cached) $ac_c" 1>&6
1798 if test -z "$LD"; then
1799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1800 for ac_dir in $PATH; do
1801 test -z "$ac_dir" && ac_dir=.
1802 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1803 lt_cv_path_LD="$ac_dir/$ac_prog"
1804 # Check to see if the program is GNU ld. I'd rather use --version,
1805 # but apparently some GNU ld's only accept -v.
1806 # Break only if it was the GNU/non-GNU ld that we prefer.
1807 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1808 test "$with_gnu_ld" != no && break
1810 test "$with_gnu_ld" != yes && break
1816 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1821 if test -n "$LD"; then
1822 echo "$ac_t""$LD" 1>&6
1824 echo "$ac_t""no" 1>&6
1826 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1827 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1828 echo "configure:1829: checking if the linker ($LD) is GNU ld" >&5
1829 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1830 echo $ac_n "(cached) $ac_c" 1>&6
1832 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1833 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1834 lt_cv_prog_gnu_ld=yes
1836 lt_cv_prog_gnu_ld=no
1840 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1841 with_gnu_ld=$lt_cv_prog_gnu_ld
1844 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1845 echo "configure:1846: checking for $LD option to reload object files" >&5
1846 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1847 echo $ac_n "(cached) $ac_c" 1>&6
1849 lt_cv_ld_reload_flag='-r'
1852 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1853 reload_flag=$lt_cv_ld_reload_flag
1854 test -n "$reload_flag" && reload_flag=" $reload_flag"
1856 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1857 echo "configure:1858: checking for BSD-compatible nm" >&5
1858 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1859 echo $ac_n "(cached) $ac_c" 1>&6
1861 if test -n "$NM"; then
1862 # Let the user override the test.
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1866 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1867 test -z "$ac_dir" && ac_dir=.
1868 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1869 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1870 # Check to see if the nm accepts a BSD-compat flag.
1871 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1872 # nm: unknown option "B" ignored
1873 # Tru64's nm complains that /dev/null is an invalid object file
1874 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1875 lt_cv_path_NM="$tmp_nm -B"
1877 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1878 lt_cv_path_NM="$tmp_nm -p"
1881 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1882 continue # so that we can try to find one that supports BSD flags
1887 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1892 echo "$ac_t""$NM" 1>&6
1894 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1895 echo "configure:1896: checking how to recognise dependant libraries" >&5
1896 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1897 echo $ac_n "(cached) $ac_c" 1>&6
1899 lt_cv_file_magic_cmd='$MAGIC_CMD'
1900 lt_cv_file_magic_test_file=
1901 lt_cv_deplibs_check_method='unknown'
1902 # Need to set the preceding variable on all platforms that support
1903 # interlibrary dependencies.
1904 # 'none' -- dependencies not supported.
1905 # `unknown' -- same as none, but documents that we really don't know.
1906 # 'pass_all' -- all dependencies passed with no checks.
1907 # 'test_compile' -- check by making test program.
1908 # 'file_magic [regex]' -- check by looking for files in library path
1909 # which responds to the $file_magic_cmd with a given egrep regex.
1910 # If you have `file' or equivalent on your system and you're not sure
1911 # whether `pass_all' will *always* work, you probably want this one.
1915 lt_cv_deplibs_check_method=pass_all
1919 lt_cv_deplibs_check_method=pass_all
1923 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1924 lt_cv_file_magic_cmd='/usr/bin/file -L'
1925 lt_cv_file_magic_test_file=/shlib/libc.so
1928 cygwin* | mingw* |pw32*)
1929 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1930 lt_cv_file_magic_cmd='$OBJDUMP -f'
1933 darwin* | rhapsody*)
1934 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1935 lt_cv_file_magic_cmd='/usr/bin/file -L'
1937 rhapsody* | darwin1.012)
1938 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1941 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1947 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1950 # Not sure whether the presence of OpenBSD here was a mistake.
1951 # Let's accept both of them until this is cleared up.
1952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1953 lt_cv_file_magic_cmd=/usr/bin/file
1954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1958 lt_cv_deplibs_check_method=pass_all
1963 lt_cv_deplibs_check_method=pass_all
1969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1970 lt_cv_file_magic_cmd=/usr/bin/file
1971 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1975 lt_cv_file_magic_cmd=/usr/bin/file
1976 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1984 # this will be overridden with pass_all, but let us keep it just in case
1985 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1989 *-32|*"-32 ") libmagic=32-bit;;
1990 *-n32|*"-n32 ") libmagic=N32;;
1991 *-64|*"-64 ") libmagic=64-bit;;
1992 *) libmagic=never-match;;
1994 # this will be overridden with pass_all, but let us keep it just in case
1995 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1998 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1999 lt_cv_deplibs_check_method=pass_all
2002 # This must be Linux ELF.
2005 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2006 lt_cv_deplibs_check_method=pass_all ;;
2008 # glibc up to 2.1.1 does not perform some relocations on ARM
2009 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2011 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2015 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2016 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2018 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2023 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2024 lt_cv_file_magic_cmd=/usr/bin/file
2025 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2028 osf3* | osf4* | osf5*)
2029 # this will be overridden with pass_all, but let us keep it just in case
2030 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2031 lt_cv_file_magic_test_file=/shlib/libc.so
2032 lt_cv_deplibs_check_method=pass_all
2036 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_deplibs_check_method=pass_all
2041 lt_cv_file_magic_test_file=/lib/libc.so
2044 sysv5uw[78]* | sysv4*uw2*)
2045 lt_cv_deplibs_check_method=pass_all
2048 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2049 case $host_vendor in
2051 lt_cv_deplibs_check_method=pass_all
2054 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]'
2055 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2063 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2064 file_magic_cmd=$lt_cv_file_magic_cmd
2065 deplibs_check_method=$lt_cv_deplibs_check_method
2067 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2068 echo "configure:2069: checking for object suffix" >&5
2069 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2070 echo $ac_n "(cached) $ac_c" 1>&6
2073 echo 'int i = 1;' > conftest.$ac_ext
2074 if { (eval echo configure:2075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2075 for ac_file in conftest.*; do
2078 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2082 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2087 echo "$ac_t""$ac_cv_objext" 1>&6
2088 OBJEXT=$ac_cv_objext
2089 ac_objext=$ac_cv_objext
2091 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2093 # Only perform the check for file, if the check method requires it
2094 case $deplibs_check_method in
2096 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2097 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2098 echo "configure:2099: checking for ${ac_tool_prefix}file" >&5
2099 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2100 echo $ac_n "(cached) $ac_c" 1>&6
2104 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2107 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2110 ac_save_MAGIC_CMD="$MAGIC_CMD"
2111 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2112 ac_dummy="/usr/bin:$PATH"
2113 for ac_dir in $ac_dummy; do
2114 test -z "$ac_dir" && ac_dir=.
2115 if test -f $ac_dir/${ac_tool_prefix}file; then
2116 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2117 if test -n "$file_magic_test_file"; then
2118 case $deplibs_check_method in
2120 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2121 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2122 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2123 egrep "$file_magic_regex" > /dev/null; then
2128 *** Warning: the command libtool uses to detect shared libraries,
2129 *** $file_magic_cmd, produces output that libtool cannot recognize.
2130 *** The result is that libtool may fail to recognize shared libraries
2131 *** as such. This will affect the creation of libtool libraries that
2132 *** depend on shared libraries, but programs linked with such libtool
2133 *** libraries will work regardless of this problem. Nevertheless, you
2134 *** may want to report the problem to your system manager and/or to
2135 *** bug-libtool@gnu.org
2145 MAGIC_CMD="$ac_save_MAGIC_CMD"
2150 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2151 if test -n "$MAGIC_CMD"; then
2152 echo "$ac_t""$MAGIC_CMD" 1>&6
2154 echo "$ac_t""no" 1>&6
2157 if test -z "$lt_cv_path_MAGIC_CMD"; then
2158 if test -n "$ac_tool_prefix"; then
2159 echo $ac_n "checking for file""... $ac_c" 1>&6
2160 echo "configure:2161: checking for file" >&5
2161 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2162 echo $ac_n "(cached) $ac_c" 1>&6
2166 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2169 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2172 ac_save_MAGIC_CMD="$MAGIC_CMD"
2173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2174 ac_dummy="/usr/bin:$PATH"
2175 for ac_dir in $ac_dummy; do
2176 test -z "$ac_dir" && ac_dir=.
2177 if test -f $ac_dir/file; then
2178 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2179 if test -n "$file_magic_test_file"; then
2180 case $deplibs_check_method in
2182 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2184 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2185 egrep "$file_magic_regex" > /dev/null; then
2190 *** Warning: the command libtool uses to detect shared libraries,
2191 *** $file_magic_cmd, produces output that libtool cannot recognize.
2192 *** The result is that libtool may fail to recognize shared libraries
2193 *** as such. This will affect the creation of libtool libraries that
2194 *** depend on shared libraries, but programs linked with such libtool
2195 *** libraries will work regardless of this problem. Nevertheless, you
2196 *** may want to report the problem to your system manager and/or to
2197 *** bug-libtool@gnu.org
2207 MAGIC_CMD="$ac_save_MAGIC_CMD"
2212 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2213 if test -n "$MAGIC_CMD"; then
2214 echo "$ac_t""$MAGIC_CMD" 1>&6
2216 echo "$ac_t""no" 1>&6
2228 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2229 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2231 echo "configure:2232: checking for $ac_word" >&5
2232 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2233 echo $ac_n "(cached) $ac_c" 1>&6
2235 if test -n "$RANLIB"; then
2236 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2238 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2240 for ac_dir in $ac_dummy; do
2241 test -z "$ac_dir" && ac_dir=.
2242 if test -f $ac_dir/$ac_word; then
2243 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2250 RANLIB="$ac_cv_prog_RANLIB"
2251 if test -n "$RANLIB"; then
2252 echo "$ac_t""$RANLIB" 1>&6
2254 echo "$ac_t""no" 1>&6
2258 if test -z "$ac_cv_prog_RANLIB"; then
2259 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "ranlib", so it can be a program name with args.
2261 set dummy ranlib; ac_word=$2
2262 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2263 echo "configure:2264: checking for $ac_word" >&5
2264 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2265 echo $ac_n "(cached) $ac_c" 1>&6
2267 if test -n "$RANLIB"; then
2268 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2270 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2272 for ac_dir in $ac_dummy; do
2273 test -z "$ac_dir" && ac_dir=.
2274 if test -f $ac_dir/$ac_word; then
2275 ac_cv_prog_RANLIB="ranlib"
2280 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2283 RANLIB="$ac_cv_prog_RANLIB"
2284 if test -n "$RANLIB"; then
2285 echo "$ac_t""$RANLIB" 1>&6
2287 echo "$ac_t""no" 1>&6
2295 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}strip; ac_word=$2
2297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2298 echo "configure:2299: checking for $ac_word" >&5
2299 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2300 echo $ac_n "(cached) $ac_c" 1>&6
2302 if test -n "$STRIP"; then
2303 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2305 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2307 for ac_dir in $ac_dummy; do
2308 test -z "$ac_dir" && ac_dir=.
2309 if test -f $ac_dir/$ac_word; then
2310 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2317 STRIP="$ac_cv_prog_STRIP"
2318 if test -n "$STRIP"; then
2319 echo "$ac_t""$STRIP" 1>&6
2321 echo "$ac_t""no" 1>&6
2325 if test -z "$ac_cv_prog_STRIP"; then
2326 if test -n "$ac_tool_prefix"; then
2327 # Extract the first word of "strip", so it can be a program name with args.
2328 set dummy strip; ac_word=$2
2329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2330 echo "configure:2331: checking for $ac_word" >&5
2331 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2332 echo $ac_n "(cached) $ac_c" 1>&6
2334 if test -n "$STRIP"; then
2335 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2339 for ac_dir in $ac_dummy; do
2340 test -z "$ac_dir" && ac_dir=.
2341 if test -f $ac_dir/$ac_word; then
2342 ac_cv_prog_STRIP="strip"
2347 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2350 STRIP="$ac_cv_prog_STRIP"
2351 if test -n "$STRIP"; then
2352 echo "$ac_t""$STRIP" 1>&6
2354 echo "$ac_t""no" 1>&6
2363 # Check for any special flags to pass to ltconfig.
2364 libtool_flags="--cache-file=$cache_file"
2365 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2366 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2367 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2368 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2369 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2370 libtool_flags="$libtool_flags --enable-dlopen"
2372 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2373 if test "${enable_libtool_lock+set}" = set; then
2374 enableval="$enable_libtool_lock"
2378 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2379 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2381 # Check whether --with-pic or --without-pic was given.
2382 if test "${with_pic+set}" = set; then
2389 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2390 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2392 # Some flags need to be propagated to the compiler or linker for good
2396 # Find out which ABI we are using.
2397 echo '#line 2398 "configure"' > conftest.$ac_ext
2398 if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2399 case `/usr/bin/file conftest.$ac_objext` in
2415 # Find out which ABI we are using.
2416 echo 'int i;' > conftest.$ac_ext
2417 if { (eval echo configure:2418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2418 case "`/usr/bin/file conftest.o`" in
2430 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2431 # Find out which ABI we are using.
2432 echo 'int i;' > conftest.$ac_ext
2433 if { (eval echo configure:2434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2434 case "`/usr/bin/file conftest.o`" in
2438 LD="${LD-ld} -m elf_i386"
2441 LD="${LD-ld} -m elf32ppclinux"
2444 LD="${LD-ld} -m elf_s390"
2447 LD="${LD-ld} -m elf32_sparc"
2454 LD="${LD-ld} -m elf_x86_64"
2456 ppc*-*linux*|powerpc*-*linux*)
2457 LD="${LD-ld} -m elf64ppc"
2460 LD="${LD-ld} -m elf64_s390"
2463 LD="${LD-ld} -m elf64_sparc"
2473 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2474 SAVE_CFLAGS="$CFLAGS"
2475 CFLAGS="$CFLAGS -belf"
2476 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2477 echo "configure:2478: checking whether the C compiler needs -belf" >&5
2478 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2479 echo $ac_n "(cached) $ac_c" 1>&6
2483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2484 ac_cpp='$CPP $CPPFLAGS'
2485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2487 cross_compiling=$ac_cv_prog_cc_cross
2489 cat > conftest.$ac_ext <<EOF
2490 #line 2491 "configure"
2491 #include "confdefs.h"
2497 if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2499 lt_cv_cc_needs_belf=yes
2501 echo "configure: failed program was:" >&5
2502 cat conftest.$ac_ext >&5
2504 lt_cv_cc_needs_belf=no
2508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2509 ac_cpp='$CPP $CPPFLAGS'
2510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2512 cross_compiling=$ac_cv_prog_cc_cross
2516 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2517 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2518 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2519 CFLAGS="$SAVE_CFLAGS"
2526 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2527 echo "configure:2528: checking how to run the C++ preprocessor" >&5
2528 if test -z "$CXXCPP"; then
2529 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2530 echo $ac_n "(cached) $ac_c" 1>&6
2533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2534 ac_cpp='$CXXCPP $CPPFLAGS'
2535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2537 cross_compiling=$ac_cv_prog_cxx_cross
2538 CXXCPP="${CXX-g++} -E"
2539 cat > conftest.$ac_ext <<EOF
2540 #line 2541 "configure"
2541 #include "confdefs.h"
2544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2545 { (eval echo configure:2546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2547 if test -z "$ac_err"; then
2551 echo "configure: failed program was:" >&5
2552 cat conftest.$ac_ext >&5
2557 ac_cv_prog_CXXCPP="$CXXCPP"
2559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2560 ac_cpp='$CPP $CPPFLAGS'
2561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2563 cross_compiling=$ac_cv_prog_cc_cross
2566 CXXCPP="$ac_cv_prog_CXXCPP"
2567 echo "$ac_t""$CXXCPP" 1>&6
2570 # Save cache, so that ltconfig can load it
2571 cat > confcache <<\EOF
2572 # This file is a shell script that caches the results of configure
2573 # tests run on this system so they can be shared between configure
2574 # scripts and configure runs. It is not useful on other systems.
2575 # If it contains results you don't want to keep, you may remove or edit it.
2577 # By default, configure uses ./config.cache as the cache file,
2578 # creating it if it does not exist already. You can give configure
2579 # the --cache-file=FILE option to use a different cache file; that is
2580 # what configure does when it calls configure scripts in
2581 # subdirectories, so they share the cache.
2582 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2583 # config.status only pays attention to the cache file if you give it the
2584 # --recheck option to rerun configure.
2587 # The following way of writing the cache mishandles newlines in values,
2588 # but we know of no workaround that is simple, portable, and efficient.
2589 # So, don't put newlines in cache variables' values.
2590 # Ultrix sh set writes to stderr and can't be redirected directly,
2591 # and sets the high bit in the cache file unless we assign to the vars.
2593 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2595 # `set' does not quote correctly, so add quotes (double-quote substitution
2596 # turns \\\\ into \\, and sed turns \\ into \).
2598 -e "s/'/'\\\\''/g" \
2599 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2602 # `set' quotes correctly as required by POSIX, so do not add quotes.
2603 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2606 if cmp -s $cache_file confcache; then
2609 if test -w $cache_file; then
2610 echo "updating cache $cache_file"
2611 cat confcache > $cache_file
2613 echo "not updating unwritable cache $cache_file"
2619 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2620 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2621 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2622 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2623 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2624 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2625 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2626 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2627 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2628 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2630 # Reload cache, that may have been modified by ltconfig
2631 if test -r "$cache_file"; then
2632 echo "loading cache $cache_file"
2635 echo "creating cache $cache_file"
2640 # This can be used to rebuild libtool when needed
2641 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2643 # Always use our own libtool.
2644 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2646 # Redirect the config.log output again, so that the ltconfig log is not
2647 # clobbered by the next message.
2648 exec 5>>./config.log
2652 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2654 lt_save_CFLAGS="$CFLAGS"
2655 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2656 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2657 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2658 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2659 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2660 deplibs_check_method="$deplibs_check_method" \
2661 file_magic_cmd="$file_magic_cmd" \
2662 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2663 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2664 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2666 CFLAGS="$lt_save_CFLAGS"
2668 # Redirect the config.log output again, so that the ltconfig log is not
2669 # clobbered by the next message.
2670 exec 5>>./config.log
2680 # Check for c++ or library specific bits that don't require linking.
2681 #GLIBCPP_CHECK_COMPILER_VERSION
2682 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2683 echo "configure:2684: checking for GNU make" >&5
2684 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2685 echo $ac_n "(cached) $ac_c" 1>&6
2687 _cv_gnu_make_command='' ;
2688 for a in "${MAKE-make}" make gmake gnumake ; do
2689 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2691 _cv_gnu_make_command=$a ;
2698 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2699 if test "x$_cv_gnu_make_command" != "x" ; then
2707 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2708 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2709 echo "configure:2710: checking how to run the C preprocessor" >&5
2710 # On Suns, sometimes $CPP names a directory.
2711 if test -n "$CPP" && test -d "$CPP"; then
2714 if test -z "$CPP"; then
2715 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2716 echo $ac_n "(cached) $ac_c" 1>&6
2718 # This must be in double quotes, not single quotes, because CPP may get
2719 # substituted into the Makefile and "${CC-cc}" will confuse make.
2721 # On the NeXT, cc -E runs the code through the compiler's parser,
2722 # not just through cpp.
2723 cat > conftest.$ac_ext <<EOF
2724 #line 2725 "configure"
2725 #include "confdefs.h"
2729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2730 { (eval echo configure:2731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2732 if test -z "$ac_err"; then
2736 echo "configure: failed program was:" >&5
2737 cat conftest.$ac_ext >&5
2739 CPP="${CC-cc} -E -traditional-cpp"
2740 cat > conftest.$ac_ext <<EOF
2741 #line 2742 "configure"
2742 #include "confdefs.h"
2746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2747 { (eval echo configure:2748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2749 if test -z "$ac_err"; then
2753 echo "configure: failed program was:" >&5
2754 cat conftest.$ac_ext >&5
2756 CPP="${CC-cc} -nologo -E"
2757 cat > conftest.$ac_ext <<EOF
2758 #line 2759 "configure"
2759 #include "confdefs.h"
2763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2764 { (eval echo configure:2765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2766 if test -z "$ac_err"; then
2770 echo "configure: failed program was:" >&5
2771 cat conftest.$ac_ext >&5
2780 ac_cv_prog_CPP="$CPP"
2782 CPP="$ac_cv_prog_CPP"
2784 ac_cv_prog_CPP="$CPP"
2786 echo "$ac_t""$CPP" 1>&6
2789 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2790 echo "configure:2791: checking for cstdio to use" >&5
2791 # Check whether --enable-cstdio or --disable-cstdio was given.
2792 if test "${enable_cstdio+set}" = set; then
2793 enableval="$enable_cstdio"
2794 if test x$enable_cstdio = xno; then
2802 enable_cstdio_flag=$enable_cstdio
2804 case x${enable_cstdio_flag} in
2806 CSTDIO_H=config/io/c_io_libio.h
2807 BASIC_FILE_H=config/io/basic_file_libio.h
2808 BASIC_FILE_CC=config/io/basic_file_libio.cc
2809 echo "$ac_t""libio" 1>&6
2811 # see if we are on a system with libio native (ie, linux)
2812 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2813 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2814 echo "configure:2815: checking for libio.h" >&5
2815 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2816 echo $ac_n "(cached) $ac_c" 1>&6
2818 cat > conftest.$ac_ext <<EOF
2819 #line 2820 "configure"
2820 #include "confdefs.h"
2823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2824 { (eval echo configure:2825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2826 if test -z "$ac_err"; then
2828 eval "ac_cv_header_$ac_safe=yes"
2831 echo "configure: failed program was:" >&5
2832 cat conftest.$ac_ext >&5
2834 eval "ac_cv_header_$ac_safe=no"
2838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2839 echo "$ac_t""yes" 1>&6
2842 echo "$ac_t""no" 1>&6
2847 # Need to check and see what version of glibc is being used. If
2848 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2849 # compile most of libio for linux systems.
2850 if test x$has_libio = x"yes"; then
2853 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2854 echo "configure:2855: checking for glibc version >= 2.2" >&5
2855 cat > conftest.$ac_ext <<EOF
2856 #line 2857 "configure"
2857 #include "confdefs.h"
2859 #include <features.h>
2860 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2866 egrep "ok" >/dev/null 2>&1; then
2868 glibc_satisfactory=yes
2871 glibc_satisfactory=no
2875 echo "$ac_t""$glibc_satisfactory" 1>&6
2879 # XXX at the moment, admit defeat and force the recompilation
2880 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2881 glibc_satisfactory=no
2883 if test x$glibc_satisfactory = x"yes"; then
2888 # bkoz XXX need to add checks to enable this
2889 # pme XXX here's a first pass at such a check
2890 if test x$enable_c_mbchar != xno; then
2898 # Using libio, but <libio.h> doesn't exist on the target system. . .
2900 # bkoz XXX need to add checks to enable this
2901 # pme XXX here's a first pass at such a check
2902 if test x$enable_c_mbchar != xno; then
2909 xstdio | x | xno | xnone | xyes)
2911 CSTDIO_H=config/io/c_io_stdio.h
2912 BASIC_FILE_H=config/io/basic_file_stdio.h
2913 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2914 echo "$ac_t""stdio" 1>&6
2916 # We're not using stdio.
2921 echo "$enable_cstdio is an unknown io package" 1>&2
2929 # 2000-08-04 bkoz hack
2930 CCODECVT_C=config/io/c_io_libio_codecvt.c
2932 # 2000-08-04 bkoz hack
2936 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2937 GLIBCPP_BUILD_LIBIO_TRUE=
2938 GLIBCPP_BUILD_LIBIO_FALSE='#'
2940 GLIBCPP_BUILD_LIBIO_TRUE='#'
2941 GLIBCPP_BUILD_LIBIO_FALSE=
2945 if test "$need_libio" = yes; then
2946 GLIBCPP_NEED_LIBIO_TRUE=
2947 GLIBCPP_NEED_LIBIO_FALSE='#'
2949 GLIBCPP_NEED_LIBIO_TRUE='#'
2950 GLIBCPP_NEED_LIBIO_FALSE=
2954 if test "$need_wlibio" = yes; then
2955 GLIBCPP_NEED_WLIBIO_TRUE=
2956 GLIBCPP_NEED_WLIBIO_FALSE='#'
2958 GLIBCPP_NEED_WLIBIO_TRUE='#'
2959 GLIBCPP_NEED_WLIBIO_FALSE=
2961 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2962 libio_la=../libio/libio.la
2969 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2970 echo "configure:2971: checking for clocale to use" >&5
2971 # Check whether --enable-clocale or --disable-clocale was given.
2972 if test "${enable_clocale+set}" = set; then
2973 enableval="$enable_clocale"
2974 if test x$enable_clocale = xno; then
2982 enable_clocale_flag=$enable_clocale
2984 if test x$enable_clocale_flag = xno; then
2985 case x${target_os} in
2987 cat > conftest.$ac_ext <<EOF
2988 #line 2989 "configure"
2989 #include "confdefs.h"
2991 #include <features.h>
2992 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2998 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3000 enable_clocale_flag=gnu
3003 enable_clocale_flag=generic
3008 # Test for bugs early in glibc-2.2.x series
3009 if test x$enable_clocale_flag = xgnu; then
3010 if test "$cross_compiling" = yes; then
3011 enable_clocale_flag=generic
3013 cat > conftest.$ac_ext <<EOF
3014 #line 3015 "configure"
3015 #include "confdefs.h"
3017 #define _GNU_SOURCE 1
3020 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3021 extern __typeof(newlocale) __newlocale;
3022 extern __typeof(duplocale) __duplocale;
3023 extern __typeof(strcoll_l) __strcoll_l;
3027 const char __one[] = "Äuglein Augmen";
3028 const char __two[] = "Äuglein";
3033 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3034 loc_dup = __duplocale(loc);
3035 i = __strcoll_l(__one, __two, loc);
3036 j = __strcoll_l(__one, __two, loc_dup);
3041 if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3043 enable_clocale_flag=gnu
3045 echo "configure: failed program was:" >&5
3046 cat conftest.$ac_ext >&5
3048 enable_clocale_flag=generic
3055 # ... at some point put __strxfrm_l tests in as well.
3058 enable_clocale_flag=generic
3063 # Check whether --enable-nls or --disable-nls was given.
3064 if test "${enable_nls+set}" = set; then
3065 enableval="$enable_nls"
3073 case x${enable_clocale_flag} in
3075 echo "$ac_t""generic" 1>&6
3077 CLOCALE_H=config/locale/generic/c_locale.h
3078 CLOCALE_CC=config/locale/generic/c_locale.cc
3079 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3080 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3081 CCOLLATE_CC=config/locale/generic/collate_members.cc
3082 CCTYPE_CC=config/locale/generic/ctype_members.cc
3083 CMESSAGES_H=config/locale/generic/messages_members.h
3084 CMESSAGES_CC=config/locale/generic/messages_members.cc
3085 CMONEY_CC=config/locale/generic/monetary_members.cc
3086 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3087 CTIME_H=config/locale/generic/time_members.h
3088 CTIME_CC=config/locale/generic/time_members.cc
3089 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3092 echo "$ac_t""gnu" 1>&6
3094 # Declare intention to use gettext, and add support for specific
3096 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3099 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3100 # Extract the first word of "msgfmt", so it can be a program name with args.
3101 set dummy msgfmt; ac_word=$2
3102 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3103 echo "configure:3104: checking for $ac_word" >&5
3104 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3105 echo $ac_n "(cached) $ac_c" 1>&6
3107 if test -n "$check_msgfmt"; then
3108 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3112 for ac_dir in $ac_dummy; do
3113 test -z "$ac_dir" && ac_dir=.
3114 if test -f $ac_dir/$ac_word; then
3115 ac_cv_prog_check_msgfmt="yes"
3120 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3123 check_msgfmt="$ac_cv_prog_check_msgfmt"
3124 if test -n "$check_msgfmt"; then
3125 echo "$ac_t""$check_msgfmt" 1>&6
3127 echo "$ac_t""no" 1>&6
3130 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3133 # Export the build objects.
3134 for ling in $ALL_LINGUAS; do \
3135 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3136 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3141 CLOCALE_H=config/locale/gnu/c_locale.h
3142 CLOCALE_CC=config/locale/gnu/c_locale.cc
3143 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3144 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3145 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3146 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3147 CMESSAGES_H=config/locale/gnu/messages_members.h
3148 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3149 CMONEY_CC=config/locale/gnu/monetary_members.cc
3150 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3151 CTIME_H=config/locale/gnu/time_members.h
3152 CTIME_CC=config/locale/gnu/time_members.cc
3153 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3156 echo "$ac_t""generic" 1>&6
3158 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3159 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3160 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3161 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3162 CCOLLATE_CC=config/locale/generic/collate_members.cc
3163 CCTYPE_CC=config/locale/generic/ctype_members.cc
3164 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3165 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3166 CMONEY_CC=config/locale/generic/monetary_members.cc
3167 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3168 CTIME_H=config/locale/generic/time_members.h
3169 CTIME_CC=config/locale/generic/time_members.cc
3170 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3173 echo "$enable_clocale is an unknown locale package" 1>&2
3178 # This is where the testsuite looks for locale catalogs, using the
3179 # -DLOCALEDIR define during testsuite compilation.
3180 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3198 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3199 echo "configure:3200: checking for c header strategy to use" >&5
3200 # Check whether --enable-cheaders or --disable-cheaders was given.
3201 if test "${enable_cheaders+set}" = set; then
3202 enableval="$enable_cheaders"
3204 case "$enableval" in
3209 enable_cheaders=c_std
3211 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3215 enable_cheaders=c_std
3218 echo "$ac_t""$enable_cheaders" 1>&6
3220 case "$enable_cheaders" in
3222 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3225 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3232 if test "$enable_cheaders" = c; then
3233 GLIBCPP_C_HEADERS_C_TRUE=
3234 GLIBCPP_C_HEADERS_C_FALSE='#'
3236 GLIBCPP_C_HEADERS_C_TRUE='#'
3237 GLIBCPP_C_HEADERS_C_FALSE=
3241 if test "$enable_cheaders" = c_std; then
3242 GLIBCPP_C_HEADERS_C_STD_TRUE=
3243 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3245 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3246 GLIBCPP_C_HEADERS_C_STD_FALSE=
3250 if test "$c_compatibility" = yes; then
3251 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3252 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3254 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3255 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3258 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3259 if test "${enable_c_mbchar+set}" = set; then
3260 enableval="$enable_c_mbchar"
3261 case "$enableval" in
3262 yes) enable_c_mbchar=yes ;;
3263 no) enable_c_mbchar=no ;;
3264 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3271 # Check whether --enable-c99 or --disable-c99 was given.
3272 if test "${enable_c99+set}" = set; then
3273 enableval="$enable_c99"
3274 case "$enableval" in
3275 yes) enable_c99=yes ;;
3276 no) enable_c99=no ;;
3277 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3286 ac_cpp='$CXXCPP $CPPFLAGS'
3287 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3288 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3289 cross_compiling=$ac_cv_prog_cxx_cross
3292 # Check for the existence of <math.h> functions used if C99 is enabled.
3294 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3295 echo "configure:3296: checking for ISO C99 support in <math.h>" >&5
3296 cat > conftest.$ac_ext <<EOF
3297 #line 3298 "configure"
3298 #include "confdefs.h"
3304 if { (eval echo configure:3305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3307 echo "configure: failed program was:" >&5
3308 cat conftest.$ac_ext >&5
3313 cat > conftest.$ac_ext <<EOF
3314 #line 3315 "configure"
3315 #include "confdefs.h"
3321 if { (eval echo configure:3322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3324 echo "configure: failed program was:" >&5
3325 cat conftest.$ac_ext >&5
3330 cat > conftest.$ac_ext <<EOF
3331 #line 3332 "configure"
3332 #include "confdefs.h"
3338 if { (eval echo configure:3339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3341 echo "configure: failed program was:" >&5
3342 cat conftest.$ac_ext >&5
3347 cat > conftest.$ac_ext <<EOF
3348 #line 3349 "configure"
3349 #include "confdefs.h"
3355 if { (eval echo configure:3356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3358 echo "configure: failed program was:" >&5
3359 cat conftest.$ac_ext >&5
3364 cat > conftest.$ac_ext <<EOF
3365 #line 3366 "configure"
3366 #include "confdefs.h"
3372 if { (eval echo configure:3373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3375 echo "configure: failed program was:" >&5
3376 cat conftest.$ac_ext >&5
3381 cat > conftest.$ac_ext <<EOF
3382 #line 3383 "configure"
3383 #include "confdefs.h"
3389 if { (eval echo configure:3390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3392 echo "configure: failed program was:" >&5
3393 cat conftest.$ac_ext >&5
3398 cat > conftest.$ac_ext <<EOF
3399 #line 3400 "configure"
3400 #include "confdefs.h"
3406 if { (eval echo configure:3407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3409 echo "configure: failed program was:" >&5
3410 cat conftest.$ac_ext >&5
3415 cat > conftest.$ac_ext <<EOF
3416 #line 3417 "configure"
3417 #include "confdefs.h"
3420 isgreaterequal(0.0,0.0);
3423 if { (eval echo configure:3424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3426 echo "configure: failed program was:" >&5
3427 cat conftest.$ac_ext >&5
3432 cat > conftest.$ac_ext <<EOF
3433 #line 3434 "configure"
3434 #include "confdefs.h"
3440 if { (eval echo configure:3441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3443 echo "configure: failed program was:" >&5
3444 cat conftest.$ac_ext >&5
3449 cat > conftest.$ac_ext <<EOF
3450 #line 3451 "configure"
3451 #include "confdefs.h"
3454 islessequal(0.0,0.0);
3457 if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3460 echo "configure: failed program was:" >&5
3461 cat conftest.$ac_ext >&5
3466 cat > conftest.$ac_ext <<EOF
3467 #line 3468 "configure"
3468 #include "confdefs.h"
3471 islessgreater(0.0,0.0);
3474 if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3477 echo "configure: failed program was:" >&5
3478 cat conftest.$ac_ext >&5
3483 cat > conftest.$ac_ext <<EOF
3484 #line 3485 "configure"
3485 #include "confdefs.h"
3488 isunordered(0.0,0.0);
3491 if { (eval echo configure:3492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3494 echo "configure: failed program was:" >&5
3495 cat conftest.$ac_ext >&5
3500 echo "$ac_t""$ac_c99_math" 1>&6
3502 # Check for the existence in <stdio.h> of vscanf, et. al.
3504 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3505 echo "configure:3506: checking for ISO C99 support in <stdio.h>" >&5
3506 cat > conftest.$ac_ext <<EOF
3507 #line 3508 "configure"
3508 #include "confdefs.h"
3511 snprintf("12", 0, "%i");
3514 if { (eval echo configure:3515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3517 echo "configure: failed program was:" >&5
3518 cat conftest.$ac_ext >&5
3523 cat > conftest.$ac_ext <<EOF
3524 #line 3525 "configure"
3525 #include "confdefs.h"
3528 void foo(char* fmt, ...)
3529 {va_list args; va_start(args, fmt);
3530 vfscanf(stderr, "%i", args);}
3535 if { (eval echo configure:3536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3538 echo "configure: failed program was:" >&5
3539 cat conftest.$ac_ext >&5
3544 cat > conftest.$ac_ext <<EOF
3545 #line 3546 "configure"
3546 #include "confdefs.h"
3549 void foo(char* fmt, ...)
3550 {va_list args; va_start(args, fmt);
3551 vscanf("%i", args);}
3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3559 echo "configure: failed program was:" >&5
3560 cat conftest.$ac_ext >&5
3565 cat > conftest.$ac_ext <<EOF
3566 #line 3567 "configure"
3567 #include "confdefs.h"
3570 void foo(char* fmt, ...)
3571 {va_list args; va_start(args, fmt);
3572 vsnprintf(fmt, 0, "%i", args);}
3577 if { (eval echo configure:3578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3580 echo "configure: failed program was:" >&5
3581 cat conftest.$ac_ext >&5
3586 cat > conftest.$ac_ext <<EOF
3587 #line 3588 "configure"
3588 #include "confdefs.h"
3591 void foo(char* fmt, ...)
3592 {va_list args; va_start(args, fmt);
3593 vsscanf(fmt, "%i", args);}
3598 if { (eval echo configure:3599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3601 echo "configure: failed program was:" >&5
3602 cat conftest.$ac_ext >&5
3607 echo "$ac_t""$ac_c99_stdio" 1>&6
3609 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3611 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3612 echo "configure:3613: checking for lldiv_t declaration" >&5
3613 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3614 echo $ac_n "(cached) $ac_c" 1>&6
3617 cat > conftest.$ac_ext <<EOF
3618 #line 3619 "configure"
3619 #include "confdefs.h"
3625 if { (eval echo configure:3626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3629 echo "configure: failed program was:" >&5
3630 cat conftest.$ac_ext >&5
3638 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3640 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3641 echo "configure:3642: checking for ISO C99 support in <stdlib.h>" >&5
3642 cat > conftest.$ac_ext <<EOF
3643 #line 3644 "configure"
3644 #include "confdefs.h"
3647 char* tmp; strtof("gnu", &tmp);
3650 if { (eval echo configure:3651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3653 echo "configure: failed program was:" >&5
3654 cat conftest.$ac_ext >&5
3659 cat > conftest.$ac_ext <<EOF
3660 #line 3661 "configure"
3661 #include "confdefs.h"
3664 char* tmp; strtold("gnu", &tmp);
3667 if { (eval echo configure:3668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3670 echo "configure: failed program was:" >&5
3671 cat conftest.$ac_ext >&5
3676 cat > conftest.$ac_ext <<EOF
3677 #line 3678 "configure"
3678 #include "confdefs.h"
3684 if { (eval echo configure:3685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3687 echo "configure: failed program was:" >&5
3688 cat conftest.$ac_ext >&5
3693 cat > conftest.$ac_ext <<EOF
3694 #line 3695 "configure"
3695 #include "confdefs.h"
3701 if { (eval echo configure:3702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3704 echo "configure: failed program was:" >&5
3705 cat conftest.$ac_ext >&5
3710 cat > conftest.$ac_ext <<EOF
3711 #line 3712 "configure"
3712 #include "confdefs.h"
3718 if { (eval echo configure:3719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3721 echo "configure: failed program was:" >&5
3722 cat conftest.$ac_ext >&5
3727 cat > conftest.$ac_ext <<EOF
3728 #line 3729 "configure"
3729 #include "confdefs.h"
3735 if { (eval echo configure:3736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3738 echo "configure: failed program was:" >&5
3739 cat conftest.$ac_ext >&5
3744 if test x"$ac_c99_lldiv_t" = x"no"; then
3747 echo "$ac_t""$ac_c99_stdlib" 1>&6
3749 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3750 # XXX the wchar.h checks should be rolled into the general C99 bits.
3752 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3753 echo "configure:3754: checking for additional ISO C99 support in <wchar.h>" >&5
3754 cat > conftest.$ac_ext <<EOF
3755 #line 3756 "configure"
3756 #include "confdefs.h"
3759 wcstold(L"10.0", NULL);
3762 if { (eval echo configure:3763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3765 echo "configure: failed program was:" >&5
3766 cat conftest.$ac_ext >&5
3771 cat > conftest.$ac_ext <<EOF
3772 #line 3773 "configure"
3773 #include "confdefs.h"
3776 wcstoll(L"10", NULL, 10);
3779 if { (eval echo configure:3780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3782 echo "configure: failed program was:" >&5
3783 cat conftest.$ac_ext >&5
3788 cat > conftest.$ac_ext <<EOF
3789 #line 3790 "configure"
3790 #include "confdefs.h"
3793 wcstoull(L"10", NULL, 10);
3796 if { (eval echo configure:3797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3799 echo "configure: failed program was:" >&5
3800 cat conftest.$ac_ext >&5
3805 echo "$ac_t""$ac_c99_wchar" 1>&6
3807 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3808 echo "configure:3809: checking for enabled ISO C99 support" >&5
3809 if test x"$ac_c99_math" = x"no" ||
3810 test x"$ac_c99_stdio" = x"no" ||
3811 test x"$ac_c99_stdlib" = x"no" ||
3812 test x"$ac_c99_wchar" = x"no"; then
3815 echo "$ac_t""$enable_c99" 1>&6
3817 # Option parsed, now set things appropriately
3818 if test x"$enable_c99" = x"yes"; then
3819 cat >> confdefs.h <<\EOF
3820 #define _GLIBCPP_USE_C99 1
3826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3827 ac_cpp='$CPP $CPPFLAGS'
3828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3830 cross_compiling=$ac_cv_prog_cc_cross
3834 # Check whether --enable-long-long or --disable-long-long was given.
3835 if test "${enable_long_long+set}" = set; then
3836 enableval="$enable_long_long"
3837 case "$enableval" in
3838 yes) enable_long_long=yes ;;
3839 no) enable_long_long=no ;;
3840 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3843 enable_long_long=yes
3848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3849 ac_cpp='$CXXCPP $CPPFLAGS'
3850 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3851 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3852 cross_compiling=$ac_cv_prog_cxx_cross
3855 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3856 echo "configure:3857: checking for enabled long long I/O support" >&5
3857 # iostreams require strtoll, strtoull to compile
3858 cat > conftest.$ac_ext <<EOF
3859 #line 3860 "configure"
3860 #include "confdefs.h"
3863 char* tmp; strtoll("gnu", &tmp, 10);
3866 if { (eval echo configure:3867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3869 echo "configure: failed program was:" >&5
3870 cat conftest.$ac_ext >&5
3875 cat > conftest.$ac_ext <<EOF
3876 #line 3877 "configure"
3877 #include "confdefs.h"
3880 char* tmp; strtoull("gnu", &tmp, 10);
3883 if { (eval echo configure:3884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3886 echo "configure: failed program was:" >&5
3887 cat conftest.$ac_ext >&5
3893 # Option parsed, now set things appropriately
3894 if test x"$enable_long_long" = xyes; then
3895 cat >> confdefs.h <<\EOF
3896 #define _GLIBCPP_USE_LONG_LONG 1
3900 echo "$ac_t""$enable_long_long" 1>&6
3903 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3904 ac_cpp='$CPP $CPPFLAGS'
3905 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3906 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3907 cross_compiling=$ac_cv_prog_cc_cross
3911 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3912 echo "configure:3913: checking for thread model used by GCC" >&5
3913 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3914 echo "$ac_t""$target_thread_file" 1>&6
3916 if test $target_thread_file != single; then
3917 cat >> confdefs.h <<\EOF
3918 #define HAVE_GTHR_DEFAULT 1
3921 cat >> confdefs.h <<\EOF
3922 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3927 glibcpp_thread_h=gthr-$target_thread_file.h
3931 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3932 echo "configure:3933: checking for exception model to use" >&5
3935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3936 ac_cpp='$CXXCPP $CPPFLAGS'
3937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3939 cross_compiling=$ac_cv_prog_cxx_cross
3941 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3942 if test "${enable_sjlj_exceptions+set}" = set; then
3943 enableval="$enable_sjlj_exceptions"
3946 cat > conftest.$ac_ext << EOF
3947 #line 3948 "configure"
3956 old_CXXFLAGS="$CXXFLAGS"
3958 if { (eval echo configure:3959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3959 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3960 enable_sjlj_exceptions=yes
3961 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3962 enable_sjlj_exceptions=no
3965 CXXFLAGS="$old_CXXFLAGS"
3969 if test x$enable_sjlj_exceptions = xyes; then
3970 cat >> confdefs.h <<\EOF
3971 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3974 ac_exception_model_name=sjlj
3975 elif test x$enable_sjlj_exceptions = xno; then
3976 ac_exception_model_name="call frame"
3978 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3982 ac_cpp='$CPP $CPPFLAGS'
3983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3985 cross_compiling=$ac_cv_prog_cc_cross
3987 echo "$ac_t""$ac_exception_model_name" 1>&6
3990 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
3991 echo "configure:3992: checking for use of libunwind" >&5
3992 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3993 if test "${enable_libunwind_exceptions+set}" = set; then
3994 enableval="$enable_libunwind_exceptions"
3995 use_libunwind_exceptions=$enableval
3997 use_libunwind_exceptions=no
4000 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4001 if test x"$use_libunwind_exceptions" = xyes; then
4002 LIBUNWIND_FLAG="-lunwind"
4008 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4009 if test "${enable_concept_checks+set}" = set; then
4010 enableval="$enable_concept_checks"
4011 case "$enableval" in
4012 yes) enable_concept_checks=yes ;;
4013 no) enable_concept_checks=no ;;
4014 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4017 enable_concept_checks=no
4019 if test x"$enable_concept_checks" = xyes; then
4020 cat >> confdefs.h <<\EOF
4021 #define _GLIBCPP_CONCEPT_CHECKS 1
4026 echo $ac_n "checking for extra compiler flags for building""... $ac_c" 1>&6
4027 echo "configure:4028: checking for extra compiler flags for building" >&5
4028 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4029 if test "${enable_cxx_flags+set}" = set; then
4030 enableval="$enable_cxx_flags"
4031 case "x$enable_cxx_flags" in
4033 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
4035 enable_cxx_flags='' ;;
4037 enable_cxx_flags="$enableval" ;;
4044 if test -n "$enable_cxx_flags"; then
4045 for f in $enable_cxx_flags; do
4049 *) # and we're trying to pass /what/ exactly?
4050 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
4054 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4055 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4058 # Check whether --enable-debug or --disable-debug was given.
4059 if test "${enable_debug+set}" = set; then
4060 enableval="$enable_debug"
4061 case "${enableval}" in
4062 yes) enable_debug=yes ;;
4063 no) enable_debug=no ;;
4064 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
4069 echo $ac_n "checking for additional debug build""... $ac_c" 1>&6
4070 echo "configure:4071: checking for additional debug build" >&5
4071 echo "$ac_t""$enable_debug" 1>&6
4074 if test "$enable_debug" = yes; then
4075 GLIBCPP_BUILD_DEBUG_TRUE=
4076 GLIBCPP_BUILD_DEBUG_FALSE='#'
4078 GLIBCPP_BUILD_DEBUG_TRUE='#'
4079 GLIBCPP_BUILD_DEBUG_FALSE=
4082 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4083 if test "${enable_debug_flags+set}" = set; then
4084 enableval="$enable_debug_flags"
4085 case "${enableval}" in
4087 -*) enable_debug_flags="${enableval}" ;;
4088 *) { echo "configure: error: Unknown argument to extra debugging flags" 1>&2; exit 1; } ;;
4091 enable_debug_flags=none
4094 case x"$enable_debug" in
4096 case "$enable_debug_flags" in
4098 DEBUG_FLAGS="-g3 -O0";;
4100 DEBUG_FLAGS="${enableval}"
4109 echo $ac_n "checking for debug build flags""... $ac_c" 1>&6
4110 echo "configure:4111: checking for debug build flags" >&5
4111 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4114 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4115 for ac_hdr in string.h stdlib.h
4117 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4118 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4119 echo "configure:4120: checking for $ac_hdr" >&5
4120 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4121 echo $ac_n "(cached) $ac_c" 1>&6
4123 cat > conftest.$ac_ext <<EOF
4124 #line 4125 "configure"
4125 #include "confdefs.h"
4128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4129 { (eval echo configure:4130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4131 if test -z "$ac_err"; then
4133 eval "ac_cv_header_$ac_safe=yes"
4136 echo "configure: failed program was:" >&5
4137 cat conftest.$ac_ext >&5
4139 eval "ac_cv_header_$ac_safe=no"
4143 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4144 echo "$ac_t""yes" 1>&6
4145 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4146 cat >> confdefs.h <<EOF
4147 #define $ac_tr_hdr 1
4151 echo "$ac_t""no" 1>&6
4156 # No surprises, no surprises...
4157 if test $ATOMICITYH = cpu/generic ; then
4158 echo "configure: warning: No native atomic operations are provided yet for this platform." 1>&2
4159 if test $target_thread_file = single; then
4160 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4161 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4163 echo "configure: warning: They will be faked using a mutex." 1>&2
4164 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4169 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4171 # We are being configured with some form of cross compiler.
4172 GLIBCPP_IS_CROSS_COMPILING=1
4174 # This lets us hard-code the functionality we know we'll have in the cross
4175 # target environment. "Let" is a sugar-coated word placed on an especially
4176 # dull and tedious hack, actually.
4178 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4179 # that involve linking, can't be used:
4180 # "cannot open sim-crt0.o"
4181 # "cannot open crt0.o"
4182 # etc. All this is because there currently exists no unified, consistent
4183 # way for top level CC information to be passed down to target directories:
4184 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4185 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4186 # crosses can be removed.
4188 # If Canadian cross, then don't pick up tools from the build directory.
4189 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4190 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4196 # Construct crosses by hand, eliminating bits that need ld...
4197 # GLIBCPP_CHECK_COMPILER_FEATURES
4198 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4199 # GLIBCPP_CHECK_MATH_SUPPORT
4203 os_include_dir="os/gnu-linux"
4204 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4205 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4206 fp.h locale.h float.h inttypes.h
4208 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4209 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4210 echo "configure:4211: checking for $ac_hdr" >&5
4211 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4212 echo $ac_n "(cached) $ac_c" 1>&6
4214 cat > conftest.$ac_ext <<EOF
4215 #line 4216 "configure"
4216 #include "confdefs.h"
4219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4220 { (eval echo configure:4221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4221 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4222 if test -z "$ac_err"; then
4224 eval "ac_cv_header_$ac_safe=yes"
4227 echo "configure: failed program was:" >&5
4228 cat conftest.$ac_ext >&5
4230 eval "ac_cv_header_$ac_safe=no"
4234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4235 echo "$ac_t""yes" 1>&6
4236 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4237 cat >> confdefs.h <<EOF
4238 #define $ac_tr_hdr 1
4242 echo "$ac_t""no" 1>&6
4246 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4249 # If we're not using GNU ld, then there's no point in even trying these
4250 # tests. Check for that first. We should have already tested for gld
4251 # by now (in libtool), but require it now just to be safe...
4252 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4253 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4256 # The name set by libtool depends on the version of libtool. Shame on us
4257 # for depending on an impl detail, but c'est la vie. Older versions used
4258 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4259 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4260 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4261 # set (hence we're using an older libtool), then set it.
4262 if test x${with_gnu_ld+set} != xset; then
4263 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4264 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4267 with_gnu_ld=$ac_cv_prog_gnu_ld
4271 # Start by getting the version number. I think the libtool test already
4272 # does some of this, but throws away the result.
4274 ldver=`$LD --version 2>/dev/null | head -1 | \
4275 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4277 glibcpp_gnu_ld_version=`echo $ldver | \
4278 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4280 # Set --gc-sections.
4281 if test "$with_gnu_ld" = "notbroken"; then
4282 # GNU ld it is! Joy and bunny rabbits!
4284 # All these tests are for C++; save the language and the compiler flags.
4285 # Need to do this so that g++ won't try to link in libstdc++
4286 ac_test_CFLAGS="${CFLAGS+set}"
4287 ac_save_CFLAGS="$CFLAGS"
4288 CFLAGS='-x c++ -Wl,--gc-sections'
4290 # Check for -Wl,--gc-sections
4291 # XXX This test is broken at the moment, as symbols required for
4292 # linking are now in libsupc++ (not built yet.....). In addition,
4293 # this test has cored on solaris in the past. In addition,
4294 # --gc-sections doesn't really work at the moment (keeps on discarding
4295 # used sections, first .eh_frame and now some of the glibc sections for
4296 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4297 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4298 echo "configure:4299: checking for ld that supports -Wl,--gc-sections" >&5
4299 if test "$cross_compiling" = yes; then
4300 ac_sectionLDflags=yes
4302 cat > conftest.$ac_ext <<EOF
4303 #line 4304 "configure"
4304 #include "confdefs.h"
4314 if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4316 ac_sectionLDflags=yes
4318 echo "configure: failed program was:" >&5
4319 cat conftest.$ac_ext >&5
4321 ac_sectionLDflags=no
4326 if test "$ac_test_CFLAGS" = set; then
4327 CFLAGS="$ac_save_CFLAGS"
4329 # this is the suspicious part
4332 if test "$ac_sectionLDflags" = "yes"; then
4333 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4335 echo "$ac_t""$ac_sectionLDflags" 1>&6
4338 # Set linker optimization flags.
4339 if test x"$with_gnu_ld" = x"yes"; then
4340 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4347 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4348 echo "configure:4349: checking for main in -lm" >&5
4349 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4350 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4351 echo $ac_n "(cached) $ac_c" 1>&6
4353 ac_save_LIBS="$LIBS"
4355 cat > conftest.$ac_ext <<EOF
4356 #line 4357 "configure"
4357 #include "confdefs.h"
4363 if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4365 eval "ac_cv_lib_$ac_lib_var=yes"
4367 echo "configure: failed program was:" >&5
4368 cat conftest.$ac_ext >&5
4370 eval "ac_cv_lib_$ac_lib_var=no"
4373 LIBS="$ac_save_LIBS"
4376 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4377 echo "$ac_t""yes" 1>&6
4378 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4379 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4380 cat >> confdefs.h <<EOF
4381 #define $ac_tr_lib 1
4387 echo "$ac_t""no" 1>&6
4390 for ac_func in nan copysignf
4392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4393 echo "configure:4394: checking for $ac_func" >&5
4394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4395 echo $ac_n "(cached) $ac_c" 1>&6
4397 cat > conftest.$ac_ext <<EOF
4398 #line 4399 "configure"
4399 #include "confdefs.h"
4400 /* System header to define __stub macros and hopefully few prototypes,
4401 which can conflict with char $ac_func(); below. */
4403 /* Override any gcc2 internal prototype to avoid an error. */
4404 /* We use char because int might match the return type of a gcc2
4405 builtin and then its argument prototype would still apply. */
4410 /* The GNU C library defines this for functions which it implements
4411 to always fail with ENOSYS. Some functions are actually named
4412 something starting with __ and the normal name is an alias. */
4413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4421 if { (eval echo configure:4422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4423 eval "ac_cv_func_$ac_func=yes"
4425 echo "configure: failed program was:" >&5
4426 cat conftest.$ac_ext >&5
4428 eval "ac_cv_func_$ac_func=no"
4433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4434 echo "$ac_t""yes" 1>&6
4435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4436 cat >> confdefs.h <<EOF
4437 #define $ac_tr_func 1
4441 echo "$ac_t""no" 1>&6
4442 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4447 for ac_func in __signbit
4449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4450 echo "configure:4451: checking for $ac_func" >&5
4451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4452 echo $ac_n "(cached) $ac_c" 1>&6
4454 cat > conftest.$ac_ext <<EOF
4455 #line 4456 "configure"
4456 #include "confdefs.h"
4457 /* System header to define __stub macros and hopefully few prototypes,
4458 which can conflict with char $ac_func(); below. */
4460 /* Override any gcc2 internal prototype to avoid an error. */
4461 /* We use char because int might match the return type of a gcc2
4462 builtin and then its argument prototype would still apply. */
4467 /* The GNU C library defines this for functions which it implements
4468 to always fail with ENOSYS. Some functions are actually named
4469 something starting with __ and the normal name is an alias. */
4470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4478 if { (eval echo configure:4479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4480 eval "ac_cv_func_$ac_func=yes"
4482 echo "configure: failed program was:" >&5
4483 cat conftest.$ac_ext >&5
4485 eval "ac_cv_func_$ac_func=no"
4490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4491 echo "$ac_t""yes" 1>&6
4492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4493 cat >> confdefs.h <<EOF
4494 #define $ac_tr_func 1
4498 echo "$ac_t""no" 1>&6
4499 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4503 for ac_func in __signbitf
4505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4506 echo "configure:4507: checking for $ac_func" >&5
4507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4508 echo $ac_n "(cached) $ac_c" 1>&6
4510 cat > conftest.$ac_ext <<EOF
4511 #line 4512 "configure"
4512 #include "confdefs.h"
4513 /* System header to define __stub macros and hopefully few prototypes,
4514 which can conflict with char $ac_func(); below. */
4516 /* Override any gcc2 internal prototype to avoid an error. */
4517 /* We use char because int might match the return type of a gcc2
4518 builtin and then its argument prototype would still apply. */
4523 /* The GNU C library defines this for functions which it implements
4524 to always fail with ENOSYS. Some functions are actually named
4525 something starting with __ and the normal name is an alias. */
4526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4534 if { (eval echo configure:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4536 eval "ac_cv_func_$ac_func=yes"
4538 echo "configure: failed program was:" >&5
4539 cat conftest.$ac_ext >&5
4541 eval "ac_cv_func_$ac_func=no"
4546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4547 echo "$ac_t""yes" 1>&6
4548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4549 cat >> confdefs.h <<EOF
4550 #define $ac_tr_func 1
4554 echo "$ac_t""no" 1>&6
4555 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4560 if test x$ac_cv_func_copysignl = x"yes"; then
4561 for ac_func in __signbitl
4563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4564 echo "configure:4565: checking for $ac_func" >&5
4565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4566 echo $ac_n "(cached) $ac_c" 1>&6
4568 cat > conftest.$ac_ext <<EOF
4569 #line 4570 "configure"
4570 #include "confdefs.h"
4571 /* System header to define __stub macros and hopefully few prototypes,
4572 which can conflict with char $ac_func(); below. */
4574 /* Override any gcc2 internal prototype to avoid an error. */
4575 /* We use char because int might match the return type of a gcc2
4576 builtin and then its argument prototype would still apply. */
4581 /* The GNU C library defines this for functions which it implements
4582 to always fail with ENOSYS. Some functions are actually named
4583 something starting with __ and the normal name is an alias. */
4584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4592 if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4594 eval "ac_cv_func_$ac_func=yes"
4596 echo "configure: failed program was:" >&5
4597 cat conftest.$ac_ext >&5
4599 eval "ac_cv_func_$ac_func=no"
4604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4605 echo "$ac_t""yes" 1>&6
4606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4607 cat >> confdefs.h <<EOF
4608 #define $ac_tr_func 1
4612 echo "$ac_t""no" 1>&6
4613 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4619 if test -n "$LIBMATHOBJS"; then
4625 if test "$need_libmath" = yes; then
4626 GLIBCPP_BUILD_LIBMATH_TRUE=
4627 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4629 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4630 GLIBCPP_BUILD_LIBMATH_FALSE=
4636 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4637 echo "configure:4638: checking for mbstate_t" >&5
4638 cat > conftest.$ac_ext <<EOF
4639 #line 4640 "configure"
4640 #include "confdefs.h"
4643 mbstate_t teststate;
4646 if { (eval echo configure:4647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4650 echo "configure: failed program was:" >&5
4651 cat conftest.$ac_ext >&5
4656 echo "$ac_t""$have_mbstate_t" 1>&6
4657 if test x"$have_mbstate_t" = xyes; then
4658 cat >> confdefs.h <<\EOF
4659 #define HAVE_MBSTATE_T 1
4664 for ac_hdr in wchar.h
4666 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4667 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4668 echo "configure:4669: checking for $ac_hdr" >&5
4669 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4670 echo $ac_n "(cached) $ac_c" 1>&6
4672 cat > conftest.$ac_ext <<EOF
4673 #line 4674 "configure"
4674 #include "confdefs.h"
4677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4678 { (eval echo configure:4679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4680 if test -z "$ac_err"; then
4682 eval "ac_cv_header_$ac_safe=yes"
4685 echo "configure: failed program was:" >&5
4686 cat conftest.$ac_ext >&5
4688 eval "ac_cv_header_$ac_safe=no"
4692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4693 echo "$ac_t""yes" 1>&6
4694 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4695 cat >> confdefs.h <<EOF
4696 #define $ac_tr_hdr 1
4700 echo "$ac_t""no" 1>&6
4705 for ac_hdr in wctype.h
4707 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4708 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4709 echo "configure:4710: checking for $ac_hdr" >&5
4710 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4711 echo $ac_n "(cached) $ac_c" 1>&6
4713 cat > conftest.$ac_ext <<EOF
4714 #line 4715 "configure"
4715 #include "confdefs.h"
4718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4719 { (eval echo configure:4720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4721 if test -z "$ac_err"; then
4723 eval "ac_cv_header_$ac_safe=yes"
4726 echo "configure: failed program was:" >&5
4727 cat conftest.$ac_ext >&5
4729 eval "ac_cv_header_$ac_safe=no"
4733 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4734 echo "$ac_t""yes" 1>&6
4735 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4736 cat >> confdefs.h <<EOF
4737 #define $ac_tr_hdr 1
4741 echo "$ac_t""no" 1>&6
4747 if test x"$ac_has_wchar_h" = xyes &&
4748 test x"$ac_has_wctype_h" = xyes &&
4749 test x"$enable_c_mbchar" != xno; then
4751 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4752 echo "configure:4753: checking for WCHAR_MIN and WCHAR_MAX" >&5
4753 cat > conftest.$ac_ext <<EOF
4754 #line 4755 "configure"
4755 #include "confdefs.h"
4758 int i = WCHAR_MIN; int j = WCHAR_MAX;
4761 if { (eval echo configure:4762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4763 has_wchar_minmax=yes
4765 echo "configure: failed program was:" >&5
4766 cat conftest.$ac_ext >&5
4771 echo "$ac_t""$has_wchar_minmax" 1>&6
4773 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4774 echo "configure:4775: checking for WEOF" >&5
4775 cat > conftest.$ac_ext <<EOF
4776 #line 4777 "configure"
4777 #include "confdefs.h"
4785 if { (eval echo configure:4786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4789 echo "configure: failed program was:" >&5
4790 cat conftest.$ac_ext >&5
4795 echo "$ac_t""$has_weof" 1>&6
4798 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4801 echo "configure:4802: checking for $ac_func" >&5
4802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4803 echo $ac_n "(cached) $ac_c" 1>&6
4805 cat > conftest.$ac_ext <<EOF
4806 #line 4807 "configure"
4807 #include "confdefs.h"
4808 /* System header to define __stub macros and hopefully few prototypes,
4809 which can conflict with char $ac_func(); below. */
4811 /* Override any gcc2 internal prototype to avoid an error. */
4812 /* We use char because int might match the return type of a gcc2
4813 builtin and then its argument prototype would still apply. */
4818 /* The GNU C library defines this for functions which it implements
4819 to always fail with ENOSYS. Some functions are actually named
4820 something starting with __ and the normal name is an alias. */
4821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4829 if { (eval echo configure:4830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4831 eval "ac_cv_func_$ac_func=yes"
4833 echo "configure: failed program was:" >&5
4834 cat conftest.$ac_ext >&5
4836 eval "ac_cv_func_$ac_func=no"
4841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4842 echo "$ac_t""yes" 1>&6
4843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4844 cat >> confdefs.h <<EOF
4845 #define $ac_tr_func 1
4849 echo "$ac_t""no" 1>&6
4856 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4857 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4858 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4859 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4860 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4861 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4864 echo "configure:4865: checking for $ac_func" >&5
4865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4866 echo $ac_n "(cached) $ac_c" 1>&6
4868 cat > conftest.$ac_ext <<EOF
4869 #line 4870 "configure"
4870 #include "confdefs.h"
4871 /* System header to define __stub macros and hopefully few prototypes,
4872 which can conflict with char $ac_func(); below. */
4874 /* Override any gcc2 internal prototype to avoid an error. */
4875 /* We use char because int might match the return type of a gcc2
4876 builtin and then its argument prototype would still apply. */
4881 /* The GNU C library defines this for functions which it implements
4882 to always fail with ENOSYS. Some functions are actually named
4883 something starting with __ and the normal name is an alias. */
4884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4892 if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4894 eval "ac_cv_func_$ac_func=yes"
4896 echo "configure: failed program was:" >&5
4897 cat conftest.$ac_ext >&5
4899 eval "ac_cv_func_$ac_func=no"
4904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4905 echo "$ac_t""yes" 1>&6
4906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4907 cat >> confdefs.h <<EOF
4908 #define $ac_tr_func 1
4912 echo "$ac_t""no" 1>&6
4919 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4920 echo "configure:4921: checking for ISO C99 wchar_t support" >&5
4921 if test x"$has_weof" = xyes &&
4922 test x"$has_wchar_minmax" = xyes &&
4923 test x"$ac_wfuncs" = xyes; then
4924 ac_isoC99_wchar_t=yes
4926 ac_isoC99_wchar_t=no
4928 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4930 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4931 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4932 echo "configure:4933: checking for iconv.h" >&5
4933 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4934 echo $ac_n "(cached) $ac_c" 1>&6
4936 cat > conftest.$ac_ext <<EOF
4937 #line 4938 "configure"
4938 #include "confdefs.h"
4941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4942 { (eval echo configure:4943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4944 if test -z "$ac_err"; then
4946 eval "ac_cv_header_$ac_safe=yes"
4949 echo "configure: failed program was:" >&5
4950 cat conftest.$ac_ext >&5
4952 eval "ac_cv_header_$ac_safe=no"
4956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4957 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4964 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4965 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4966 echo "configure:4967: checking for langinfo.h" >&5
4967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4968 echo $ac_n "(cached) $ac_c" 1>&6
4970 cat > conftest.$ac_ext <<EOF
4971 #line 4972 "configure"
4972 #include "confdefs.h"
4973 #include <langinfo.h>
4975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4976 { (eval echo configure:4977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4978 if test -z "$ac_err"; then
4980 eval "ac_cv_header_$ac_safe=yes"
4983 echo "configure: failed program was:" >&5
4984 cat conftest.$ac_ext >&5
4986 eval "ac_cv_header_$ac_safe=no"
4990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4991 echo "$ac_t""yes" 1>&6
4992 ac_has_langinfo_h=yes
4994 echo "$ac_t""no" 1>&6
4995 ac_has_langinfo_h=no
4999 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5000 echo "configure:5001: checking for iconv in -liconv" >&5
5001 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5003 echo $ac_n "(cached) $ac_c" 1>&6
5005 ac_save_LIBS="$LIBS"
5006 LIBS="-liconv $LIBS"
5007 cat > conftest.$ac_ext <<EOF
5008 #line 5009 "configure"
5009 #include "confdefs.h"
5010 /* Override any gcc2 internal prototype to avoid an error. */
5011 /* We use char because int might match the return type of a gcc2
5012 builtin and then its argument prototype would still apply. */
5019 if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5021 eval "ac_cv_lib_$ac_lib_var=yes"
5023 echo "configure: failed program was:" >&5
5024 cat conftest.$ac_ext >&5
5026 eval "ac_cv_lib_$ac_lib_var=no"
5029 LIBS="$ac_save_LIBS"
5032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5033 echo "$ac_t""yes" 1>&6
5036 echo "$ac_t""no" 1>&6
5039 ac_save_LIBS="$LIBS"
5040 LIBS="$LIBS $libiconv"
5042 for ac_func in iconv_open iconv_close iconv nl_langinfo
5044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5045 echo "configure:5046: checking for $ac_func" >&5
5046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5047 echo $ac_n "(cached) $ac_c" 1>&6
5049 cat > conftest.$ac_ext <<EOF
5050 #line 5051 "configure"
5051 #include "confdefs.h"
5052 /* System header to define __stub macros and hopefully few prototypes,
5053 which can conflict with char $ac_func(); below. */
5055 /* Override any gcc2 internal prototype to avoid an error. */
5056 /* We use char because int might match the return type of a gcc2
5057 builtin and then its argument prototype would still apply. */
5062 /* The GNU C library defines this for functions which it implements
5063 to always fail with ENOSYS. Some functions are actually named
5064 something starting with __ and the normal name is an alias. */
5065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5073 if { (eval echo configure:5074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5075 eval "ac_cv_func_$ac_func=yes"
5077 echo "configure: failed program was:" >&5
5078 cat conftest.$ac_ext >&5
5080 eval "ac_cv_func_$ac_func=no"
5085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5086 echo "$ac_t""yes" 1>&6
5087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5088 cat >> confdefs.h <<EOF
5089 #define $ac_tr_func 1
5094 echo "$ac_t""no" 1>&6
5100 LIBS="$ac_save_LIBS"
5102 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5103 echo "configure:5104: checking for XPG2 wchar_t support" >&5
5104 if test x"$ac_has_iconv_h" = xyes &&
5105 test x"$ac_has_langinfo_h" = xyes &&
5106 test x"$ac_XPG2funcs" = xyes; then
5111 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
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
5122 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5123 echo "configure:5124: checking for enabled wchar_t specializations" >&5
5124 echo "$ac_t""$enable_wchar_t" 1>&6
5127 if test "$enable_wchar_t" = yes; then
5128 GLIBCPP_TEST_WCHAR_T_TRUE=
5129 GLIBCPP_TEST_WCHAR_T_FALSE='#'
5131 GLIBCPP_TEST_WCHAR_T_TRUE='#'
5132 GLIBCPP_TEST_WCHAR_T_FALSE=
5135 cat >> confdefs.h <<\EOF
5136 #define HAVE_COPYSIGN 1
5139 cat >> confdefs.h <<\EOF
5140 #define HAVE_COPYSIGNF 1
5143 cat >> confdefs.h <<\EOF
5144 #define HAVE_FINITE 1
5147 cat >> confdefs.h <<\EOF
5148 #define HAVE_FINITEF 1
5151 cat >> confdefs.h <<\EOF
5152 #define HAVE_FREXPF 1
5155 cat >> confdefs.h <<\EOF
5156 #define HAVE_HYPOTF 1
5159 cat >> confdefs.h <<\EOF
5160 #define HAVE_ISINF 1
5163 cat >> confdefs.h <<\EOF
5164 #define HAVE_ISINFF 1
5167 cat >> confdefs.h <<\EOF
5168 #define HAVE_ISNAN 1
5171 cat >> confdefs.h <<\EOF
5172 #define HAVE_ISNANF 1
5175 cat >> confdefs.h <<\EOF
5176 #define HAVE_SINCOS 1
5179 cat >> confdefs.h <<\EOF
5180 #define HAVE_SINCOSF 1
5183 if test x"long_double_math_on_this_cpu" = x"yes"; then
5184 cat >> confdefs.h <<\EOF
5185 #define HAVE_FINITEL 1
5188 cat >> confdefs.h <<\EOF
5189 #define HAVE_HYPOTL 1
5192 cat >> confdefs.h <<\EOF
5193 #define HAVE_ISINFL 1
5196 cat >> confdefs.h <<\EOF
5197 #define HAVE_ISNANL 1
5203 # Check for available headers.
5204 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5205 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5206 fp.h locale.h float.h inttypes.h
5208 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5209 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5210 echo "configure:5211: checking for $ac_hdr" >&5
5211 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5212 echo $ac_n "(cached) $ac_c" 1>&6
5214 cat > conftest.$ac_ext <<EOF
5215 #line 5216 "configure"
5216 #include "confdefs.h"
5219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5220 { (eval echo configure:5221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5221 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5222 if test -z "$ac_err"; then
5224 eval "ac_cv_header_$ac_safe=yes"
5227 echo "configure: failed program was:" >&5
5228 cat conftest.$ac_ext >&5
5230 eval "ac_cv_header_$ac_safe=no"
5234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5235 echo "$ac_t""yes" 1>&6
5236 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5237 cat >> confdefs.h <<EOF
5238 #define $ac_tr_hdr 1
5242 echo "$ac_t""no" 1>&6
5246 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5249 # If we're not using GNU ld, then there's no point in even trying these
5250 # tests. Check for that first. We should have already tested for gld
5251 # by now (in libtool), but require it now just to be safe...
5252 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5253 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5256 # The name set by libtool depends on the version of libtool. Shame on us
5257 # for depending on an impl detail, but c'est la vie. Older versions used
5258 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5259 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5260 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5261 # set (hence we're using an older libtool), then set it.
5262 if test x${with_gnu_ld+set} != xset; then
5263 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5264 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5267 with_gnu_ld=$ac_cv_prog_gnu_ld
5271 # Start by getting the version number. I think the libtool test already
5272 # does some of this, but throws away the result.
5274 ldver=`$LD --version 2>/dev/null | head -1 | \
5275 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5277 glibcpp_gnu_ld_version=`echo $ldver | \
5278 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5280 # Set --gc-sections.
5281 if test "$with_gnu_ld" = "notbroken"; then
5282 # GNU ld it is! Joy and bunny rabbits!
5284 # All these tests are for C++; save the language and the compiler flags.
5285 # Need to do this so that g++ won't try to link in libstdc++
5286 ac_test_CFLAGS="${CFLAGS+set}"
5287 ac_save_CFLAGS="$CFLAGS"
5288 CFLAGS='-x c++ -Wl,--gc-sections'
5290 # Check for -Wl,--gc-sections
5291 # XXX This test is broken at the moment, as symbols required for
5292 # linking are now in libsupc++ (not built yet.....). In addition,
5293 # this test has cored on solaris in the past. In addition,
5294 # --gc-sections doesn't really work at the moment (keeps on discarding
5295 # used sections, first .eh_frame and now some of the glibc sections for
5296 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5297 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5298 echo "configure:5299: checking for ld that supports -Wl,--gc-sections" >&5
5299 if test "$cross_compiling" = yes; then
5300 ac_sectionLDflags=yes
5302 cat > conftest.$ac_ext <<EOF
5303 #line 5304 "configure"
5304 #include "confdefs.h"
5314 if { (eval echo configure:5315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5316 ac_sectionLDflags=yes
5318 echo "configure: failed program was:" >&5
5319 cat conftest.$ac_ext >&5
5321 ac_sectionLDflags=no
5326 if test "$ac_test_CFLAGS" = set; then
5327 CFLAGS="$ac_save_CFLAGS"
5329 # this is the suspicious part
5332 if test "$ac_sectionLDflags" = "yes"; then
5333 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5335 echo "$ac_t""$ac_sectionLDflags" 1>&6
5338 # Set linker optimization flags.
5339 if test x"$with_gnu_ld" = x"yes"; then
5340 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5347 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5348 echo "configure:5349: checking for main in -lm" >&5
5349 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5350 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5351 echo $ac_n "(cached) $ac_c" 1>&6
5353 ac_save_LIBS="$LIBS"
5355 cat > conftest.$ac_ext <<EOF
5356 #line 5357 "configure"
5357 #include "confdefs.h"
5363 if { (eval echo configure:5364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5365 eval "ac_cv_lib_$ac_lib_var=yes"
5367 echo "configure: failed program was:" >&5
5368 cat conftest.$ac_ext >&5
5370 eval "ac_cv_lib_$ac_lib_var=no"
5373 LIBS="$ac_save_LIBS"
5376 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5377 echo "$ac_t""yes" 1>&6
5378 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5379 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5380 cat >> confdefs.h <<EOF
5381 #define $ac_tr_lib 1
5387 echo "$ac_t""no" 1>&6
5390 for ac_func in nan copysignf
5392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5393 echo "configure:5394: checking for $ac_func" >&5
5394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5395 echo $ac_n "(cached) $ac_c" 1>&6
5397 cat > conftest.$ac_ext <<EOF
5398 #line 5399 "configure"
5399 #include "confdefs.h"
5400 /* System header to define __stub macros and hopefully few prototypes,
5401 which can conflict with char $ac_func(); below. */
5403 /* Override any gcc2 internal prototype to avoid an error. */
5404 /* We use char because int might match the return type of a gcc2
5405 builtin and then its argument prototype would still apply. */
5410 /* The GNU C library defines this for functions which it implements
5411 to always fail with ENOSYS. Some functions are actually named
5412 something starting with __ and the normal name is an alias. */
5413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5421 if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5423 eval "ac_cv_func_$ac_func=yes"
5425 echo "configure: failed program was:" >&5
5426 cat conftest.$ac_ext >&5
5428 eval "ac_cv_func_$ac_func=no"
5433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5434 echo "$ac_t""yes" 1>&6
5435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5436 cat >> confdefs.h <<EOF
5437 #define $ac_tr_func 1
5441 echo "$ac_t""no" 1>&6
5442 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5447 for ac_func in __signbit
5449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5450 echo "configure:5451: checking for $ac_func" >&5
5451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5452 echo $ac_n "(cached) $ac_c" 1>&6
5454 cat > conftest.$ac_ext <<EOF
5455 #line 5456 "configure"
5456 #include "confdefs.h"
5457 /* System header to define __stub macros and hopefully few prototypes,
5458 which can conflict with char $ac_func(); below. */
5460 /* Override any gcc2 internal prototype to avoid an error. */
5461 /* We use char because int might match the return type of a gcc2
5462 builtin and then its argument prototype would still apply. */
5467 /* The GNU C library defines this for functions which it implements
5468 to always fail with ENOSYS. Some functions are actually named
5469 something starting with __ and the normal name is an alias. */
5470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5478 if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5480 eval "ac_cv_func_$ac_func=yes"
5482 echo "configure: failed program was:" >&5
5483 cat conftest.$ac_ext >&5
5485 eval "ac_cv_func_$ac_func=no"
5490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5491 echo "$ac_t""yes" 1>&6
5492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5493 cat >> confdefs.h <<EOF
5494 #define $ac_tr_func 1
5498 echo "$ac_t""no" 1>&6
5499 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5503 for ac_func in __signbitf
5505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5506 echo "configure:5507: checking for $ac_func" >&5
5507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5508 echo $ac_n "(cached) $ac_c" 1>&6
5510 cat > conftest.$ac_ext <<EOF
5511 #line 5512 "configure"
5512 #include "confdefs.h"
5513 /* System header to define __stub macros and hopefully few prototypes,
5514 which can conflict with char $ac_func(); below. */
5516 /* Override any gcc2 internal prototype to avoid an error. */
5517 /* We use char because int might match the return type of a gcc2
5518 builtin and then its argument prototype would still apply. */
5523 /* The GNU C library defines this for functions which it implements
5524 to always fail with ENOSYS. Some functions are actually named
5525 something starting with __ and the normal name is an alias. */
5526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5534 if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5536 eval "ac_cv_func_$ac_func=yes"
5538 echo "configure: failed program was:" >&5
5539 cat conftest.$ac_ext >&5
5541 eval "ac_cv_func_$ac_func=no"
5546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5547 echo "$ac_t""yes" 1>&6
5548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5549 cat >> confdefs.h <<EOF
5550 #define $ac_tr_func 1
5554 echo "$ac_t""no" 1>&6
5555 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5560 if test x$ac_cv_func_copysignl = x"yes"; then
5561 for ac_func in __signbitl
5563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5564 echo "configure:5565: checking for $ac_func" >&5
5565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5566 echo $ac_n "(cached) $ac_c" 1>&6
5568 cat > conftest.$ac_ext <<EOF
5569 #line 5570 "configure"
5570 #include "confdefs.h"
5571 /* System header to define __stub macros and hopefully few prototypes,
5572 which can conflict with char $ac_func(); below. */
5574 /* Override any gcc2 internal prototype to avoid an error. */
5575 /* We use char because int might match the return type of a gcc2
5576 builtin and then its argument prototype would still apply. */
5581 /* The GNU C library defines this for functions which it implements
5582 to always fail with ENOSYS. Some functions are actually named
5583 something starting with __ and the normal name is an alias. */
5584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5592 if { (eval echo configure:5593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5594 eval "ac_cv_func_$ac_func=yes"
5596 echo "configure: failed program was:" >&5
5597 cat conftest.$ac_ext >&5
5599 eval "ac_cv_func_$ac_func=no"
5604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5605 echo "$ac_t""yes" 1>&6
5606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5607 cat >> confdefs.h <<EOF
5608 #define $ac_tr_func 1
5612 echo "$ac_t""no" 1>&6
5613 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5619 if test -n "$LIBMATHOBJS"; then
5625 if test "$need_libmath" = yes; then
5626 GLIBCPP_BUILD_LIBMATH_TRUE=
5627 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5629 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5630 GLIBCPP_BUILD_LIBMATH_FALSE=
5636 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5637 echo "configure:5638: checking for mbstate_t" >&5
5638 cat > conftest.$ac_ext <<EOF
5639 #line 5640 "configure"
5640 #include "confdefs.h"
5643 mbstate_t teststate;
5646 if { (eval echo configure:5647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5650 echo "configure: failed program was:" >&5
5651 cat conftest.$ac_ext >&5
5656 echo "$ac_t""$have_mbstate_t" 1>&6
5657 if test x"$have_mbstate_t" = xyes; then
5658 cat >> confdefs.h <<\EOF
5659 #define HAVE_MBSTATE_T 1
5664 for ac_hdr in wchar.h
5666 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5667 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5668 echo "configure:5669: checking for $ac_hdr" >&5
5669 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5670 echo $ac_n "(cached) $ac_c" 1>&6
5672 cat > conftest.$ac_ext <<EOF
5673 #line 5674 "configure"
5674 #include "confdefs.h"
5677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5678 { (eval echo configure:5679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5680 if test -z "$ac_err"; then
5682 eval "ac_cv_header_$ac_safe=yes"
5685 echo "configure: failed program was:" >&5
5686 cat conftest.$ac_ext >&5
5688 eval "ac_cv_header_$ac_safe=no"
5692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5693 echo "$ac_t""yes" 1>&6
5694 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5695 cat >> confdefs.h <<EOF
5696 #define $ac_tr_hdr 1
5700 echo "$ac_t""no" 1>&6
5705 for ac_hdr in wctype.h
5707 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5708 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5709 echo "configure:5710: checking for $ac_hdr" >&5
5710 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5711 echo $ac_n "(cached) $ac_c" 1>&6
5713 cat > conftest.$ac_ext <<EOF
5714 #line 5715 "configure"
5715 #include "confdefs.h"
5718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5719 { (eval echo configure:5720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5721 if test -z "$ac_err"; then
5723 eval "ac_cv_header_$ac_safe=yes"
5726 echo "configure: failed program was:" >&5
5727 cat conftest.$ac_ext >&5
5729 eval "ac_cv_header_$ac_safe=no"
5733 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5734 echo "$ac_t""yes" 1>&6
5735 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5736 cat >> confdefs.h <<EOF
5737 #define $ac_tr_hdr 1
5741 echo "$ac_t""no" 1>&6
5747 if test x"$ac_has_wchar_h" = xyes &&
5748 test x"$ac_has_wctype_h" = xyes &&
5749 test x"$enable_c_mbchar" != xno; then
5751 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5752 echo "configure:5753: checking for WCHAR_MIN and WCHAR_MAX" >&5
5753 cat > conftest.$ac_ext <<EOF
5754 #line 5755 "configure"
5755 #include "confdefs.h"
5758 int i = WCHAR_MIN; int j = WCHAR_MAX;
5761 if { (eval echo configure:5762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5763 has_wchar_minmax=yes
5765 echo "configure: failed program was:" >&5
5766 cat conftest.$ac_ext >&5
5771 echo "$ac_t""$has_wchar_minmax" 1>&6
5773 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5774 echo "configure:5775: checking for WEOF" >&5
5775 cat > conftest.$ac_ext <<EOF
5776 #line 5777 "configure"
5777 #include "confdefs.h"
5785 if { (eval echo configure:5786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5789 echo "configure: failed program was:" >&5
5790 cat conftest.$ac_ext >&5
5795 echo "$ac_t""$has_weof" 1>&6
5798 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5801 echo "configure:5802: checking for $ac_func" >&5
5802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5803 echo $ac_n "(cached) $ac_c" 1>&6
5805 cat > conftest.$ac_ext <<EOF
5806 #line 5807 "configure"
5807 #include "confdefs.h"
5808 /* System header to define __stub macros and hopefully few prototypes,
5809 which can conflict with char $ac_func(); below. */
5811 /* Override any gcc2 internal prototype to avoid an error. */
5812 /* We use char because int might match the return type of a gcc2
5813 builtin and then its argument prototype would still apply. */
5818 /* The GNU C library defines this for functions which it implements
5819 to always fail with ENOSYS. Some functions are actually named
5820 something starting with __ and the normal name is an alias. */
5821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5829 if { (eval echo configure:5830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5831 eval "ac_cv_func_$ac_func=yes"
5833 echo "configure: failed program was:" >&5
5834 cat conftest.$ac_ext >&5
5836 eval "ac_cv_func_$ac_func=no"
5841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5842 echo "$ac_t""yes" 1>&6
5843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5844 cat >> confdefs.h <<EOF
5845 #define $ac_tr_func 1
5849 echo "$ac_t""no" 1>&6
5856 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5857 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5858 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5859 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5860 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5861 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5864 echo "configure:5865: checking for $ac_func" >&5
5865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5866 echo $ac_n "(cached) $ac_c" 1>&6
5868 cat > conftest.$ac_ext <<EOF
5869 #line 5870 "configure"
5870 #include "confdefs.h"
5871 /* System header to define __stub macros and hopefully few prototypes,
5872 which can conflict with char $ac_func(); below. */
5874 /* Override any gcc2 internal prototype to avoid an error. */
5875 /* We use char because int might match the return type of a gcc2
5876 builtin and then its argument prototype would still apply. */
5881 /* The GNU C library defines this for functions which it implements
5882 to always fail with ENOSYS. Some functions are actually named
5883 something starting with __ and the normal name is an alias. */
5884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5892 if { (eval echo configure:5893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5894 eval "ac_cv_func_$ac_func=yes"
5896 echo "configure: failed program was:" >&5
5897 cat conftest.$ac_ext >&5
5899 eval "ac_cv_func_$ac_func=no"
5904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5905 echo "$ac_t""yes" 1>&6
5906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5907 cat >> confdefs.h <<EOF
5908 #define $ac_tr_func 1
5912 echo "$ac_t""no" 1>&6
5919 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5920 echo "configure:5921: checking for ISO C99 wchar_t support" >&5
5921 if test x"$has_weof" = xyes &&
5922 test x"$has_wchar_minmax" = xyes &&
5923 test x"$ac_wfuncs" = xyes; then
5924 ac_isoC99_wchar_t=yes
5926 ac_isoC99_wchar_t=no
5928 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5930 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5931 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5932 echo "configure:5933: checking for iconv.h" >&5
5933 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5934 echo $ac_n "(cached) $ac_c" 1>&6
5936 cat > conftest.$ac_ext <<EOF
5937 #line 5938 "configure"
5938 #include "confdefs.h"
5941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5942 { (eval echo configure:5943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5944 if test -z "$ac_err"; then
5946 eval "ac_cv_header_$ac_safe=yes"
5949 echo "configure: failed program was:" >&5
5950 cat conftest.$ac_ext >&5
5952 eval "ac_cv_header_$ac_safe=no"
5956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5957 echo "$ac_t""yes" 1>&6
5960 echo "$ac_t""no" 1>&6
5964 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5965 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5966 echo "configure:5967: checking for langinfo.h" >&5
5967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5968 echo $ac_n "(cached) $ac_c" 1>&6
5970 cat > conftest.$ac_ext <<EOF
5971 #line 5972 "configure"
5972 #include "confdefs.h"
5973 #include <langinfo.h>
5975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5976 { (eval echo configure:5977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5978 if test -z "$ac_err"; then
5980 eval "ac_cv_header_$ac_safe=yes"
5983 echo "configure: failed program was:" >&5
5984 cat conftest.$ac_ext >&5
5986 eval "ac_cv_header_$ac_safe=no"
5990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5991 echo "$ac_t""yes" 1>&6
5992 ac_has_langinfo_h=yes
5994 echo "$ac_t""no" 1>&6
5995 ac_has_langinfo_h=no
5999 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6000 echo "configure:6001: checking for iconv in -liconv" >&5
6001 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6003 echo $ac_n "(cached) $ac_c" 1>&6
6005 ac_save_LIBS="$LIBS"
6006 LIBS="-liconv $LIBS"
6007 cat > conftest.$ac_ext <<EOF
6008 #line 6009 "configure"
6009 #include "confdefs.h"
6010 /* Override any gcc2 internal prototype to avoid an error. */
6011 /* We use char because int might match the return type of a gcc2
6012 builtin and then its argument prototype would still apply. */
6019 if { (eval echo configure:6020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6021 eval "ac_cv_lib_$ac_lib_var=yes"
6023 echo "configure: failed program was:" >&5
6024 cat conftest.$ac_ext >&5
6026 eval "ac_cv_lib_$ac_lib_var=no"
6029 LIBS="$ac_save_LIBS"
6032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6033 echo "$ac_t""yes" 1>&6
6036 echo "$ac_t""no" 1>&6
6039 ac_save_LIBS="$LIBS"
6040 LIBS="$LIBS $libiconv"
6042 for ac_func in iconv_open iconv_close iconv nl_langinfo
6044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6045 echo "configure:6046: checking for $ac_func" >&5
6046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6047 echo $ac_n "(cached) $ac_c" 1>&6
6049 cat > conftest.$ac_ext <<EOF
6050 #line 6051 "configure"
6051 #include "confdefs.h"
6052 /* System header to define __stub macros and hopefully few prototypes,
6053 which can conflict with char $ac_func(); below. */
6055 /* Override any gcc2 internal prototype to avoid an error. */
6056 /* We use char because int might match the return type of a gcc2
6057 builtin and then its argument prototype would still apply. */
6062 /* The GNU C library defines this for functions which it implements
6063 to always fail with ENOSYS. Some functions are actually named
6064 something starting with __ and the normal name is an alias. */
6065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6073 if { (eval echo configure:6074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6075 eval "ac_cv_func_$ac_func=yes"
6077 echo "configure: failed program was:" >&5
6078 cat conftest.$ac_ext >&5
6080 eval "ac_cv_func_$ac_func=no"
6085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6086 echo "$ac_t""yes" 1>&6
6087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6088 cat >> confdefs.h <<EOF
6089 #define $ac_tr_func 1
6094 echo "$ac_t""no" 1>&6
6100 LIBS="$ac_save_LIBS"
6102 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6103 echo "configure:6104: checking for XPG2 wchar_t support" >&5
6104 if test x"$ac_has_iconv_h" = xyes &&
6105 test x"$ac_has_langinfo_h" = xyes &&
6106 test x"$ac_XPG2funcs" = xyes; then
6111 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6113 if test x"$ac_isoC99_wchar_t" = xyes &&
6114 test x"$ac_XPG2_wchar_t" = xyes; then
6115 cat >> confdefs.h <<\EOF
6116 #define _GLIBCPP_USE_WCHAR_T 1
6122 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6123 echo "configure:6124: checking for enabled wchar_t specializations" >&5
6124 echo "$ac_t""$enable_wchar_t" 1>&6
6127 if test "$enable_wchar_t" = yes; then
6128 GLIBCPP_TEST_WCHAR_T_TRUE=
6129 GLIBCPP_TEST_WCHAR_T_FALSE='#'
6131 GLIBCPP_TEST_WCHAR_T_TRUE='#'
6132 GLIBCPP_TEST_WCHAR_T_FALSE=
6135 os_include_dir="os/hpux"
6136 cat >> confdefs.h <<\EOF
6137 #define HAVE_COPYSIGN 1
6140 cat >> confdefs.h <<\EOF
6141 #define HAVE_COPYSIGNF 1
6144 cat >> confdefs.h <<\EOF
6145 #define HAVE_FREXPF 1
6148 cat >> confdefs.h <<\EOF
6149 #define HAVE_HYPOT 1
6154 cat >> confdefs.h <<\EOF
6155 #define HAVE_FINITE 1
6158 cat >> confdefs.h <<\EOF
6159 #define HAVE_FINITEF 1
6162 cat >> confdefs.h <<\EOF
6163 #define HAVE_ISINF 1
6166 cat >> confdefs.h <<\EOF
6167 #define HAVE_ISINFF 1
6170 cat >> confdefs.h <<\EOF
6171 #define HAVE_ISNAN 1
6174 cat >> confdefs.h <<\EOF
6175 #define HAVE_ISNANF 1
6183 # Check for available headers.
6184 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6185 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6186 fp.h locale.h float.h inttypes.h
6188 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6189 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6190 echo "configure:6191: checking for $ac_hdr" >&5
6191 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6192 echo $ac_n "(cached) $ac_c" 1>&6
6194 cat > conftest.$ac_ext <<EOF
6195 #line 6196 "configure"
6196 #include "confdefs.h"
6199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6200 { (eval echo configure:6201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6202 if test -z "$ac_err"; then
6204 eval "ac_cv_header_$ac_safe=yes"
6207 echo "configure: failed program was:" >&5
6208 cat conftest.$ac_ext >&5
6210 eval "ac_cv_header_$ac_safe=no"
6214 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6215 echo "$ac_t""yes" 1>&6
6216 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6217 cat >> confdefs.h <<EOF
6218 #define $ac_tr_hdr 1
6222 echo "$ac_t""no" 1>&6
6226 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6229 # If we're not using GNU ld, then there's no point in even trying these
6230 # tests. Check for that first. We should have already tested for gld
6231 # by now (in libtool), but require it now just to be safe...
6232 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6233 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6236 # The name set by libtool depends on the version of libtool. Shame on us
6237 # for depending on an impl detail, but c'est la vie. Older versions used
6238 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6239 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6240 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6241 # set (hence we're using an older libtool), then set it.
6242 if test x${with_gnu_ld+set} != xset; then
6243 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6244 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6247 with_gnu_ld=$ac_cv_prog_gnu_ld
6251 # Start by getting the version number. I think the libtool test already
6252 # does some of this, but throws away the result.
6254 ldver=`$LD --version 2>/dev/null | head -1 | \
6255 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6257 glibcpp_gnu_ld_version=`echo $ldver | \
6258 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6260 # Set --gc-sections.
6261 if test "$with_gnu_ld" = "notbroken"; then
6262 # GNU ld it is! Joy and bunny rabbits!
6264 # All these tests are for C++; save the language and the compiler flags.
6265 # Need to do this so that g++ won't try to link in libstdc++
6266 ac_test_CFLAGS="${CFLAGS+set}"
6267 ac_save_CFLAGS="$CFLAGS"
6268 CFLAGS='-x c++ -Wl,--gc-sections'
6270 # Check for -Wl,--gc-sections
6271 # XXX This test is broken at the moment, as symbols required for
6272 # linking are now in libsupc++ (not built yet.....). In addition,
6273 # this test has cored on solaris in the past. In addition,
6274 # --gc-sections doesn't really work at the moment (keeps on discarding
6275 # used sections, first .eh_frame and now some of the glibc sections for
6276 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6277 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6278 echo "configure:6279: checking for ld that supports -Wl,--gc-sections" >&5
6279 if test "$cross_compiling" = yes; then
6280 ac_sectionLDflags=yes
6282 cat > conftest.$ac_ext <<EOF
6283 #line 6284 "configure"
6284 #include "confdefs.h"
6294 if { (eval echo configure:6295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6296 ac_sectionLDflags=yes
6298 echo "configure: failed program was:" >&5
6299 cat conftest.$ac_ext >&5
6301 ac_sectionLDflags=no
6306 if test "$ac_test_CFLAGS" = set; then
6307 CFLAGS="$ac_save_CFLAGS"
6309 # this is the suspicious part
6312 if test "$ac_sectionLDflags" = "yes"; then
6313 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6315 echo "$ac_t""$ac_sectionLDflags" 1>&6
6318 # Set linker optimization flags.
6319 if test x"$with_gnu_ld" = x"yes"; then
6320 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6327 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6328 echo "configure:6329: checking for main in -lm" >&5
6329 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6331 echo $ac_n "(cached) $ac_c" 1>&6
6333 ac_save_LIBS="$LIBS"
6335 cat > conftest.$ac_ext <<EOF
6336 #line 6337 "configure"
6337 #include "confdefs.h"
6343 if { (eval echo configure:6344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6345 eval "ac_cv_lib_$ac_lib_var=yes"
6347 echo "configure: failed program was:" >&5
6348 cat conftest.$ac_ext >&5
6350 eval "ac_cv_lib_$ac_lib_var=no"
6353 LIBS="$ac_save_LIBS"
6356 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6357 echo "$ac_t""yes" 1>&6
6358 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6359 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6360 cat >> confdefs.h <<EOF
6361 #define $ac_tr_lib 1
6367 echo "$ac_t""no" 1>&6
6370 for ac_func in nan copysignf
6372 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6373 echo "configure:6374: checking for $ac_func" >&5
6374 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6375 echo $ac_n "(cached) $ac_c" 1>&6
6377 cat > conftest.$ac_ext <<EOF
6378 #line 6379 "configure"
6379 #include "confdefs.h"
6380 /* System header to define __stub macros and hopefully few prototypes,
6381 which can conflict with char $ac_func(); below. */
6383 /* Override any gcc2 internal prototype to avoid an error. */
6384 /* We use char because int might match the return type of a gcc2
6385 builtin and then its argument prototype would still apply. */
6390 /* The GNU C library defines this for functions which it implements
6391 to always fail with ENOSYS. Some functions are actually named
6392 something starting with __ and the normal name is an alias. */
6393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6401 if { (eval echo configure:6402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6403 eval "ac_cv_func_$ac_func=yes"
6405 echo "configure: failed program was:" >&5
6406 cat conftest.$ac_ext >&5
6408 eval "ac_cv_func_$ac_func=no"
6413 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6414 echo "$ac_t""yes" 1>&6
6415 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6416 cat >> confdefs.h <<EOF
6417 #define $ac_tr_func 1
6421 echo "$ac_t""no" 1>&6
6422 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6427 for ac_func in __signbit
6429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6430 echo "configure:6431: checking for $ac_func" >&5
6431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6432 echo $ac_n "(cached) $ac_c" 1>&6
6434 cat > conftest.$ac_ext <<EOF
6435 #line 6436 "configure"
6436 #include "confdefs.h"
6437 /* System header to define __stub macros and hopefully few prototypes,
6438 which can conflict with char $ac_func(); below. */
6440 /* Override any gcc2 internal prototype to avoid an error. */
6441 /* We use char because int might match the return type of a gcc2
6442 builtin and then its argument prototype would still apply. */
6447 /* The GNU C library defines this for functions which it implements
6448 to always fail with ENOSYS. Some functions are actually named
6449 something starting with __ and the normal name is an alias. */
6450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6458 if { (eval echo configure:6459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6460 eval "ac_cv_func_$ac_func=yes"
6462 echo "configure: failed program was:" >&5
6463 cat conftest.$ac_ext >&5
6465 eval "ac_cv_func_$ac_func=no"
6470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6471 echo "$ac_t""yes" 1>&6
6472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6473 cat >> confdefs.h <<EOF
6474 #define $ac_tr_func 1
6478 echo "$ac_t""no" 1>&6
6479 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6483 for ac_func in __signbitf
6485 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6486 echo "configure:6487: checking for $ac_func" >&5
6487 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6488 echo $ac_n "(cached) $ac_c" 1>&6
6490 cat > conftest.$ac_ext <<EOF
6491 #line 6492 "configure"
6492 #include "confdefs.h"
6493 /* System header to define __stub macros and hopefully few prototypes,
6494 which can conflict with char $ac_func(); below. */
6496 /* Override any gcc2 internal prototype to avoid an error. */
6497 /* We use char because int might match the return type of a gcc2
6498 builtin and then its argument prototype would still apply. */
6503 /* The GNU C library defines this for functions which it implements
6504 to always fail with ENOSYS. Some functions are actually named
6505 something starting with __ and the normal name is an alias. */
6506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6514 if { (eval echo configure:6515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6516 eval "ac_cv_func_$ac_func=yes"
6518 echo "configure: failed program was:" >&5
6519 cat conftest.$ac_ext >&5
6521 eval "ac_cv_func_$ac_func=no"
6526 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6527 echo "$ac_t""yes" 1>&6
6528 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6529 cat >> confdefs.h <<EOF
6530 #define $ac_tr_func 1
6534 echo "$ac_t""no" 1>&6
6535 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6540 if test x$ac_cv_func_copysignl = x"yes"; then
6541 for ac_func in __signbitl
6543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6544 echo "configure:6545: checking for $ac_func" >&5
6545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6546 echo $ac_n "(cached) $ac_c" 1>&6
6548 cat > conftest.$ac_ext <<EOF
6549 #line 6550 "configure"
6550 #include "confdefs.h"
6551 /* System header to define __stub macros and hopefully few prototypes,
6552 which can conflict with char $ac_func(); below. */
6554 /* Override any gcc2 internal prototype to avoid an error. */
6555 /* We use char because int might match the return type of a gcc2
6556 builtin and then its argument prototype would still apply. */
6561 /* The GNU C library defines this for functions which it implements
6562 to always fail with ENOSYS. Some functions are actually named
6563 something starting with __ and the normal name is an alias. */
6564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6572 if { (eval echo configure:6573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6574 eval "ac_cv_func_$ac_func=yes"
6576 echo "configure: failed program was:" >&5
6577 cat conftest.$ac_ext >&5
6579 eval "ac_cv_func_$ac_func=no"
6584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6585 echo "$ac_t""yes" 1>&6
6586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6587 cat >> confdefs.h <<EOF
6588 #define $ac_tr_func 1
6592 echo "$ac_t""no" 1>&6
6593 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6599 if test -n "$LIBMATHOBJS"; then
6605 if test "$need_libmath" = yes; then
6606 GLIBCPP_BUILD_LIBMATH_TRUE=
6607 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6609 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6610 GLIBCPP_BUILD_LIBMATH_FALSE=
6616 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6617 echo "configure:6618: checking for mbstate_t" >&5
6618 cat > conftest.$ac_ext <<EOF
6619 #line 6620 "configure"
6620 #include "confdefs.h"
6623 mbstate_t teststate;
6626 if { (eval echo configure:6627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6630 echo "configure: failed program was:" >&5
6631 cat conftest.$ac_ext >&5
6636 echo "$ac_t""$have_mbstate_t" 1>&6
6637 if test x"$have_mbstate_t" = xyes; then
6638 cat >> confdefs.h <<\EOF
6639 #define HAVE_MBSTATE_T 1
6644 for ac_hdr in wchar.h
6646 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6647 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6648 echo "configure:6649: checking for $ac_hdr" >&5
6649 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6650 echo $ac_n "(cached) $ac_c" 1>&6
6652 cat > conftest.$ac_ext <<EOF
6653 #line 6654 "configure"
6654 #include "confdefs.h"
6657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6658 { (eval echo configure:6659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6659 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6660 if test -z "$ac_err"; then
6662 eval "ac_cv_header_$ac_safe=yes"
6665 echo "configure: failed program was:" >&5
6666 cat conftest.$ac_ext >&5
6668 eval "ac_cv_header_$ac_safe=no"
6672 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6673 echo "$ac_t""yes" 1>&6
6674 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6675 cat >> confdefs.h <<EOF
6676 #define $ac_tr_hdr 1
6680 echo "$ac_t""no" 1>&6
6685 for ac_hdr in wctype.h
6687 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6688 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6689 echo "configure:6690: checking for $ac_hdr" >&5
6690 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6691 echo $ac_n "(cached) $ac_c" 1>&6
6693 cat > conftest.$ac_ext <<EOF
6694 #line 6695 "configure"
6695 #include "confdefs.h"
6698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6699 { (eval echo configure:6700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6701 if test -z "$ac_err"; then
6703 eval "ac_cv_header_$ac_safe=yes"
6706 echo "configure: failed program was:" >&5
6707 cat conftest.$ac_ext >&5
6709 eval "ac_cv_header_$ac_safe=no"
6713 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6714 echo "$ac_t""yes" 1>&6
6715 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6716 cat >> confdefs.h <<EOF
6717 #define $ac_tr_hdr 1
6721 echo "$ac_t""no" 1>&6
6727 if test x"$ac_has_wchar_h" = xyes &&
6728 test x"$ac_has_wctype_h" = xyes &&
6729 test x"$enable_c_mbchar" != xno; then
6731 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6732 echo "configure:6733: checking for WCHAR_MIN and WCHAR_MAX" >&5
6733 cat > conftest.$ac_ext <<EOF
6734 #line 6735 "configure"
6735 #include "confdefs.h"
6738 int i = WCHAR_MIN; int j = WCHAR_MAX;
6741 if { (eval echo configure:6742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6743 has_wchar_minmax=yes
6745 echo "configure: failed program was:" >&5
6746 cat conftest.$ac_ext >&5
6751 echo "$ac_t""$has_wchar_minmax" 1>&6
6753 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6754 echo "configure:6755: checking for WEOF" >&5
6755 cat > conftest.$ac_ext <<EOF
6756 #line 6757 "configure"
6757 #include "confdefs.h"
6765 if { (eval echo configure:6766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6769 echo "configure: failed program was:" >&5
6770 cat conftest.$ac_ext >&5
6775 echo "$ac_t""$has_weof" 1>&6
6778 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6781 echo "configure:6782: checking for $ac_func" >&5
6782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6783 echo $ac_n "(cached) $ac_c" 1>&6
6785 cat > conftest.$ac_ext <<EOF
6786 #line 6787 "configure"
6787 #include "confdefs.h"
6788 /* System header to define __stub macros and hopefully few prototypes,
6789 which can conflict with char $ac_func(); below. */
6791 /* Override any gcc2 internal prototype to avoid an error. */
6792 /* We use char because int might match the return type of a gcc2
6793 builtin and then its argument prototype would still apply. */
6798 /* The GNU C library defines this for functions which it implements
6799 to always fail with ENOSYS. Some functions are actually named
6800 something starting with __ and the normal name is an alias. */
6801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6809 if { (eval echo configure:6810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6811 eval "ac_cv_func_$ac_func=yes"
6813 echo "configure: failed program was:" >&5
6814 cat conftest.$ac_ext >&5
6816 eval "ac_cv_func_$ac_func=no"
6821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6822 echo "$ac_t""yes" 1>&6
6823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6824 cat >> confdefs.h <<EOF
6825 #define $ac_tr_func 1
6829 echo "$ac_t""no" 1>&6
6836 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6837 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6838 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6839 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6840 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6841 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6843 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6844 echo "configure:6845: checking for $ac_func" >&5
6845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6846 echo $ac_n "(cached) $ac_c" 1>&6
6848 cat > conftest.$ac_ext <<EOF
6849 #line 6850 "configure"
6850 #include "confdefs.h"
6851 /* System header to define __stub macros and hopefully few prototypes,
6852 which can conflict with char $ac_func(); below. */
6854 /* Override any gcc2 internal prototype to avoid an error. */
6855 /* We use char because int might match the return type of a gcc2
6856 builtin and then its argument prototype would still apply. */
6861 /* The GNU C library defines this for functions which it implements
6862 to always fail with ENOSYS. Some functions are actually named
6863 something starting with __ and the normal name is an alias. */
6864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6872 if { (eval echo configure:6873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6874 eval "ac_cv_func_$ac_func=yes"
6876 echo "configure: failed program was:" >&5
6877 cat conftest.$ac_ext >&5
6879 eval "ac_cv_func_$ac_func=no"
6884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6885 echo "$ac_t""yes" 1>&6
6886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6887 cat >> confdefs.h <<EOF
6888 #define $ac_tr_func 1
6892 echo "$ac_t""no" 1>&6
6899 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6900 echo "configure:6901: checking for ISO C99 wchar_t support" >&5
6901 if test x"$has_weof" = xyes &&
6902 test x"$has_wchar_minmax" = xyes &&
6903 test x"$ac_wfuncs" = xyes; then
6904 ac_isoC99_wchar_t=yes
6906 ac_isoC99_wchar_t=no
6908 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6910 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6911 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6912 echo "configure:6913: checking for iconv.h" >&5
6913 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6914 echo $ac_n "(cached) $ac_c" 1>&6
6916 cat > conftest.$ac_ext <<EOF
6917 #line 6918 "configure"
6918 #include "confdefs.h"
6921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6922 { (eval echo configure:6923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6923 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6924 if test -z "$ac_err"; then
6926 eval "ac_cv_header_$ac_safe=yes"
6929 echo "configure: failed program was:" >&5
6930 cat conftest.$ac_ext >&5
6932 eval "ac_cv_header_$ac_safe=no"
6936 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6937 echo "$ac_t""yes" 1>&6
6940 echo "$ac_t""no" 1>&6
6944 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6945 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6946 echo "configure:6947: checking for langinfo.h" >&5
6947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6948 echo $ac_n "(cached) $ac_c" 1>&6
6950 cat > conftest.$ac_ext <<EOF
6951 #line 6952 "configure"
6952 #include "confdefs.h"
6953 #include <langinfo.h>
6955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6956 { (eval echo configure:6957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6958 if test -z "$ac_err"; then
6960 eval "ac_cv_header_$ac_safe=yes"
6963 echo "configure: failed program was:" >&5
6964 cat conftest.$ac_ext >&5
6966 eval "ac_cv_header_$ac_safe=no"
6970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6971 echo "$ac_t""yes" 1>&6
6972 ac_has_langinfo_h=yes
6974 echo "$ac_t""no" 1>&6
6975 ac_has_langinfo_h=no
6979 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6980 echo "configure:6981: checking for iconv in -liconv" >&5
6981 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6982 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6983 echo $ac_n "(cached) $ac_c" 1>&6
6985 ac_save_LIBS="$LIBS"
6986 LIBS="-liconv $LIBS"
6987 cat > conftest.$ac_ext <<EOF
6988 #line 6989 "configure"
6989 #include "confdefs.h"
6990 /* Override any gcc2 internal prototype to avoid an error. */
6991 /* We use char because int might match the return type of a gcc2
6992 builtin and then its argument prototype would still apply. */
6999 if { (eval echo configure:7000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7001 eval "ac_cv_lib_$ac_lib_var=yes"
7003 echo "configure: failed program was:" >&5
7004 cat conftest.$ac_ext >&5
7006 eval "ac_cv_lib_$ac_lib_var=no"
7009 LIBS="$ac_save_LIBS"
7012 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7013 echo "$ac_t""yes" 1>&6
7016 echo "$ac_t""no" 1>&6
7019 ac_save_LIBS="$LIBS"
7020 LIBS="$LIBS $libiconv"
7022 for ac_func in iconv_open iconv_close iconv nl_langinfo
7024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7025 echo "configure:7026: checking for $ac_func" >&5
7026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7027 echo $ac_n "(cached) $ac_c" 1>&6
7029 cat > conftest.$ac_ext <<EOF
7030 #line 7031 "configure"
7031 #include "confdefs.h"
7032 /* System header to define __stub macros and hopefully few prototypes,
7033 which can conflict with char $ac_func(); below. */
7035 /* Override any gcc2 internal prototype to avoid an error. */
7036 /* We use char because int might match the return type of a gcc2
7037 builtin and then its argument prototype would still apply. */
7042 /* The GNU C library defines this for functions which it implements
7043 to always fail with ENOSYS. Some functions are actually named
7044 something starting with __ and the normal name is an alias. */
7045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7053 if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7055 eval "ac_cv_func_$ac_func=yes"
7057 echo "configure: failed program was:" >&5
7058 cat conftest.$ac_ext >&5
7060 eval "ac_cv_func_$ac_func=no"
7065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7066 echo "$ac_t""yes" 1>&6
7067 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7068 cat >> confdefs.h <<EOF
7069 #define $ac_tr_func 1
7074 echo "$ac_t""no" 1>&6
7080 LIBS="$ac_save_LIBS"
7082 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7083 echo "configure:7084: checking for XPG2 wchar_t support" >&5
7084 if test x"$ac_has_iconv_h" = xyes &&
7085 test x"$ac_has_langinfo_h" = xyes &&
7086 test x"$ac_XPG2funcs" = xyes; then
7091 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7093 if test x"$ac_isoC99_wchar_t" = xyes &&
7094 test x"$ac_XPG2_wchar_t" = xyes; then
7095 cat >> confdefs.h <<\EOF
7096 #define _GLIBCPP_USE_WCHAR_T 1
7102 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7103 echo "configure:7104: checking for enabled wchar_t specializations" >&5
7104 echo "$ac_t""$enable_wchar_t" 1>&6
7107 if test "$enable_wchar_t" = yes; then
7108 GLIBCPP_TEST_WCHAR_T_TRUE=
7109 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7111 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7112 GLIBCPP_TEST_WCHAR_T_FALSE=
7115 os_include_dir="os/bsd/netbsd"
7116 cat >> confdefs.h <<\EOF
7117 #define HAVE_COPYSIGN 1
7120 cat >> confdefs.h <<\EOF
7121 #define HAVE_COPYSIGNF 1
7124 cat >> confdefs.h <<\EOF
7125 #define HAVE_FINITEF 1
7128 cat >> confdefs.h <<\EOF
7129 #define HAVE_FINITE 1
7132 cat >> confdefs.h <<\EOF
7133 #define HAVE_FREXPF 1
7136 cat >> confdefs.h <<\EOF
7137 #define HAVE_HYPOTF 1
7140 cat >> confdefs.h <<\EOF
7141 #define HAVE_ISINF 1
7144 cat >> confdefs.h <<\EOF
7145 #define HAVE_ISINFF 1
7148 cat >> confdefs.h <<\EOF
7149 #define HAVE_ISNAN 1
7152 cat >> confdefs.h <<\EOF
7153 #define HAVE_ISNANF 1
7156 if test x"long_double_math_on_this_cpu" = x"yes"; then
7157 cat >> confdefs.h <<\EOF
7158 #define HAVE_FINITEL 1
7161 cat >> confdefs.h <<\EOF
7162 #define HAVE_ISINFL 1
7165 cat >> confdefs.h <<\EOF
7166 #define HAVE_ISNANL 1
7172 # Check for available headers.
7173 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7174 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7175 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7178 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7179 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7180 echo "configure:7181: checking for $ac_hdr" >&5
7181 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7182 echo $ac_n "(cached) $ac_c" 1>&6
7184 cat > conftest.$ac_ext <<EOF
7185 #line 7186 "configure"
7186 #include "confdefs.h"
7189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7190 { (eval echo configure:7191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7192 if test -z "$ac_err"; then
7194 eval "ac_cv_header_$ac_safe=yes"
7197 echo "configure: failed program was:" >&5
7198 cat conftest.$ac_ext >&5
7200 eval "ac_cv_header_$ac_safe=no"
7204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7205 echo "$ac_t""yes" 1>&6
7206 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7207 cat >> confdefs.h <<EOF
7208 #define $ac_tr_hdr 1
7212 echo "$ac_t""no" 1>&6
7216 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7219 # If we're not using GNU ld, then there's no point in even trying these
7220 # tests. Check for that first. We should have already tested for gld
7221 # by now (in libtool), but require it now just to be safe...
7222 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7223 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7226 # The name set by libtool depends on the version of libtool. Shame on us
7227 # for depending on an impl detail, but c'est la vie. Older versions used
7228 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7229 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7230 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7231 # set (hence we're using an older libtool), then set it.
7232 if test x${with_gnu_ld+set} != xset; then
7233 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7234 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7237 with_gnu_ld=$ac_cv_prog_gnu_ld
7241 # Start by getting the version number. I think the libtool test already
7242 # does some of this, but throws away the result.
7244 ldver=`$LD --version 2>/dev/null | head -1 | \
7245 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7247 glibcpp_gnu_ld_version=`echo $ldver | \
7248 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7250 # Set --gc-sections.
7251 if test "$with_gnu_ld" = "notbroken"; then
7252 # GNU ld it is! Joy and bunny rabbits!
7254 # All these tests are for C++; save the language and the compiler flags.
7255 # Need to do this so that g++ won't try to link in libstdc++
7256 ac_test_CFLAGS="${CFLAGS+set}"
7257 ac_save_CFLAGS="$CFLAGS"
7258 CFLAGS='-x c++ -Wl,--gc-sections'
7260 # Check for -Wl,--gc-sections
7261 # XXX This test is broken at the moment, as symbols required for
7262 # linking are now in libsupc++ (not built yet.....). In addition,
7263 # this test has cored on solaris in the past. In addition,
7264 # --gc-sections doesn't really work at the moment (keeps on discarding
7265 # used sections, first .eh_frame and now some of the glibc sections for
7266 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7267 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7268 echo "configure:7269: checking for ld that supports -Wl,--gc-sections" >&5
7269 if test "$cross_compiling" = yes; then
7270 ac_sectionLDflags=yes
7272 cat > conftest.$ac_ext <<EOF
7273 #line 7274 "configure"
7274 #include "confdefs.h"
7284 if { (eval echo configure:7285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7286 ac_sectionLDflags=yes
7288 echo "configure: failed program was:" >&5
7289 cat conftest.$ac_ext >&5
7291 ac_sectionLDflags=no
7296 if test "$ac_test_CFLAGS" = set; then
7297 CFLAGS="$ac_save_CFLAGS"
7299 # this is the suspicious part
7302 if test "$ac_sectionLDflags" = "yes"; then
7303 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7305 echo "$ac_t""$ac_sectionLDflags" 1>&6
7308 # Set linker optimization flags.
7309 if test x"$with_gnu_ld" = x"yes"; then
7310 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7317 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7318 echo "configure:7319: checking for main in -lm" >&5
7319 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7320 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7321 echo $ac_n "(cached) $ac_c" 1>&6
7323 ac_save_LIBS="$LIBS"
7325 cat > conftest.$ac_ext <<EOF
7326 #line 7327 "configure"
7327 #include "confdefs.h"
7333 if { (eval echo configure:7334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7335 eval "ac_cv_lib_$ac_lib_var=yes"
7337 echo "configure: failed program was:" >&5
7338 cat conftest.$ac_ext >&5
7340 eval "ac_cv_lib_$ac_lib_var=no"
7343 LIBS="$ac_save_LIBS"
7346 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7347 echo "$ac_t""yes" 1>&6
7348 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7349 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7350 cat >> confdefs.h <<EOF
7351 #define $ac_tr_lib 1
7357 echo "$ac_t""no" 1>&6
7360 for ac_func in nan copysignf
7362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7363 echo "configure:7364: checking for $ac_func" >&5
7364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7365 echo $ac_n "(cached) $ac_c" 1>&6
7367 cat > conftest.$ac_ext <<EOF
7368 #line 7369 "configure"
7369 #include "confdefs.h"
7370 /* System header to define __stub macros and hopefully few prototypes,
7371 which can conflict with char $ac_func(); below. */
7373 /* Override any gcc2 internal prototype to avoid an error. */
7374 /* We use char because int might match the return type of a gcc2
7375 builtin and then its argument prototype would still apply. */
7380 /* The GNU C library defines this for functions which it implements
7381 to always fail with ENOSYS. Some functions are actually named
7382 something starting with __ and the normal name is an alias. */
7383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7391 if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7393 eval "ac_cv_func_$ac_func=yes"
7395 echo "configure: failed program was:" >&5
7396 cat conftest.$ac_ext >&5
7398 eval "ac_cv_func_$ac_func=no"
7403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7404 echo "$ac_t""yes" 1>&6
7405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7406 cat >> confdefs.h <<EOF
7407 #define $ac_tr_func 1
7411 echo "$ac_t""no" 1>&6
7412 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7417 for ac_func in __signbit
7419 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7420 echo "configure:7421: checking for $ac_func" >&5
7421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7422 echo $ac_n "(cached) $ac_c" 1>&6
7424 cat > conftest.$ac_ext <<EOF
7425 #line 7426 "configure"
7426 #include "confdefs.h"
7427 /* System header to define __stub macros and hopefully few prototypes,
7428 which can conflict with char $ac_func(); below. */
7430 /* Override any gcc2 internal prototype to avoid an error. */
7431 /* We use char because int might match the return type of a gcc2
7432 builtin and then its argument prototype would still apply. */
7437 /* The GNU C library defines this for functions which it implements
7438 to always fail with ENOSYS. Some functions are actually named
7439 something starting with __ and the normal name is an alias. */
7440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7448 if { (eval echo configure:7449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7450 eval "ac_cv_func_$ac_func=yes"
7452 echo "configure: failed program was:" >&5
7453 cat conftest.$ac_ext >&5
7455 eval "ac_cv_func_$ac_func=no"
7460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7461 echo "$ac_t""yes" 1>&6
7462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7463 cat >> confdefs.h <<EOF
7464 #define $ac_tr_func 1
7468 echo "$ac_t""no" 1>&6
7469 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7473 for ac_func in __signbitf
7475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7476 echo "configure:7477: checking for $ac_func" >&5
7477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7478 echo $ac_n "(cached) $ac_c" 1>&6
7480 cat > conftest.$ac_ext <<EOF
7481 #line 7482 "configure"
7482 #include "confdefs.h"
7483 /* System header to define __stub macros and hopefully few prototypes,
7484 which can conflict with char $ac_func(); below. */
7486 /* Override any gcc2 internal prototype to avoid an error. */
7487 /* We use char because int might match the return type of a gcc2
7488 builtin and then its argument prototype would still apply. */
7493 /* The GNU C library defines this for functions which it implements
7494 to always fail with ENOSYS. Some functions are actually named
7495 something starting with __ and the normal name is an alias. */
7496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7506 eval "ac_cv_func_$ac_func=yes"
7508 echo "configure: failed program was:" >&5
7509 cat conftest.$ac_ext >&5
7511 eval "ac_cv_func_$ac_func=no"
7516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7517 echo "$ac_t""yes" 1>&6
7518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7519 cat >> confdefs.h <<EOF
7520 #define $ac_tr_func 1
7524 echo "$ac_t""no" 1>&6
7525 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7530 if test x$ac_cv_func_copysignl = x"yes"; then
7531 for ac_func in __signbitl
7533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7534 echo "configure:7535: checking for $ac_func" >&5
7535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7536 echo $ac_n "(cached) $ac_c" 1>&6
7538 cat > conftest.$ac_ext <<EOF
7539 #line 7540 "configure"
7540 #include "confdefs.h"
7541 /* System header to define __stub macros and hopefully few prototypes,
7542 which can conflict with char $ac_func(); below. */
7544 /* Override any gcc2 internal prototype to avoid an error. */
7545 /* We use char because int might match the return type of a gcc2
7546 builtin and then its argument prototype would still apply. */
7551 /* The GNU C library defines this for functions which it implements
7552 to always fail with ENOSYS. Some functions are actually named
7553 something starting with __ and the normal name is an alias. */
7554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7562 if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7564 eval "ac_cv_func_$ac_func=yes"
7566 echo "configure: failed program was:" >&5
7567 cat conftest.$ac_ext >&5
7569 eval "ac_cv_func_$ac_func=no"
7574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7575 echo "$ac_t""yes" 1>&6
7576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7577 cat >> confdefs.h <<EOF
7578 #define $ac_tr_func 1
7582 echo "$ac_t""no" 1>&6
7583 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7589 if test -n "$LIBMATHOBJS"; then
7595 if test "$need_libmath" = yes; then
7596 GLIBCPP_BUILD_LIBMATH_TRUE=
7597 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7599 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7600 GLIBCPP_BUILD_LIBMATH_FALSE=
7606 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7607 echo "configure:7608: checking for mbstate_t" >&5
7608 cat > conftest.$ac_ext <<EOF
7609 #line 7610 "configure"
7610 #include "confdefs.h"
7613 mbstate_t teststate;
7616 if { (eval echo configure:7617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7620 echo "configure: failed program was:" >&5
7621 cat conftest.$ac_ext >&5
7626 echo "$ac_t""$have_mbstate_t" 1>&6
7627 if test x"$have_mbstate_t" = xyes; then
7628 cat >> confdefs.h <<\EOF
7629 #define HAVE_MBSTATE_T 1
7634 for ac_hdr in wchar.h
7636 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7637 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7638 echo "configure:7639: checking for $ac_hdr" >&5
7639 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7640 echo $ac_n "(cached) $ac_c" 1>&6
7642 cat > conftest.$ac_ext <<EOF
7643 #line 7644 "configure"
7644 #include "confdefs.h"
7647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7648 { (eval echo configure:7649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7649 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7650 if test -z "$ac_err"; then
7652 eval "ac_cv_header_$ac_safe=yes"
7655 echo "configure: failed program was:" >&5
7656 cat conftest.$ac_ext >&5
7658 eval "ac_cv_header_$ac_safe=no"
7662 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7663 echo "$ac_t""yes" 1>&6
7664 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7665 cat >> confdefs.h <<EOF
7666 #define $ac_tr_hdr 1
7670 echo "$ac_t""no" 1>&6
7675 for ac_hdr in wctype.h
7677 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7678 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7679 echo "configure:7680: checking for $ac_hdr" >&5
7680 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7681 echo $ac_n "(cached) $ac_c" 1>&6
7683 cat > conftest.$ac_ext <<EOF
7684 #line 7685 "configure"
7685 #include "confdefs.h"
7688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7689 { (eval echo configure:7690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7691 if test -z "$ac_err"; then
7693 eval "ac_cv_header_$ac_safe=yes"
7696 echo "configure: failed program was:" >&5
7697 cat conftest.$ac_ext >&5
7699 eval "ac_cv_header_$ac_safe=no"
7703 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7704 echo "$ac_t""yes" 1>&6
7705 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7706 cat >> confdefs.h <<EOF
7707 #define $ac_tr_hdr 1
7711 echo "$ac_t""no" 1>&6
7717 if test x"$ac_has_wchar_h" = xyes &&
7718 test x"$ac_has_wctype_h" = xyes &&
7719 test x"$enable_c_mbchar" != xno; then
7721 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7722 echo "configure:7723: checking for WCHAR_MIN and WCHAR_MAX" >&5
7723 cat > conftest.$ac_ext <<EOF
7724 #line 7725 "configure"
7725 #include "confdefs.h"
7728 int i = WCHAR_MIN; int j = WCHAR_MAX;
7731 if { (eval echo configure:7732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7733 has_wchar_minmax=yes
7735 echo "configure: failed program was:" >&5
7736 cat conftest.$ac_ext >&5
7741 echo "$ac_t""$has_wchar_minmax" 1>&6
7743 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7744 echo "configure:7745: checking for WEOF" >&5
7745 cat > conftest.$ac_ext <<EOF
7746 #line 7747 "configure"
7747 #include "confdefs.h"
7755 if { (eval echo configure:7756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7759 echo "configure: failed program was:" >&5
7760 cat conftest.$ac_ext >&5
7765 echo "$ac_t""$has_weof" 1>&6
7768 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7771 echo "configure:7772: checking for $ac_func" >&5
7772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7773 echo $ac_n "(cached) $ac_c" 1>&6
7775 cat > conftest.$ac_ext <<EOF
7776 #line 7777 "configure"
7777 #include "confdefs.h"
7778 /* System header to define __stub macros and hopefully few prototypes,
7779 which can conflict with char $ac_func(); below. */
7781 /* Override any gcc2 internal prototype to avoid an error. */
7782 /* We use char because int might match the return type of a gcc2
7783 builtin and then its argument prototype would still apply. */
7788 /* The GNU C library defines this for functions which it implements
7789 to always fail with ENOSYS. Some functions are actually named
7790 something starting with __ and the normal name is an alias. */
7791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7799 if { (eval echo configure:7800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7801 eval "ac_cv_func_$ac_func=yes"
7803 echo "configure: failed program was:" >&5
7804 cat conftest.$ac_ext >&5
7806 eval "ac_cv_func_$ac_func=no"
7811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7812 echo "$ac_t""yes" 1>&6
7813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7814 cat >> confdefs.h <<EOF
7815 #define $ac_tr_func 1
7819 echo "$ac_t""no" 1>&6
7826 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7827 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7828 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7829 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7830 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7831 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7834 echo "configure:7835: checking for $ac_func" >&5
7835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7836 echo $ac_n "(cached) $ac_c" 1>&6
7838 cat > conftest.$ac_ext <<EOF
7839 #line 7840 "configure"
7840 #include "confdefs.h"
7841 /* System header to define __stub macros and hopefully few prototypes,
7842 which can conflict with char $ac_func(); below. */
7844 /* Override any gcc2 internal prototype to avoid an error. */
7845 /* We use char because int might match the return type of a gcc2
7846 builtin and then its argument prototype would still apply. */
7851 /* The GNU C library defines this for functions which it implements
7852 to always fail with ENOSYS. Some functions are actually named
7853 something starting with __ and the normal name is an alias. */
7854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7862 if { (eval echo configure:7863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7864 eval "ac_cv_func_$ac_func=yes"
7866 echo "configure: failed program was:" >&5
7867 cat conftest.$ac_ext >&5
7869 eval "ac_cv_func_$ac_func=no"
7874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7875 echo "$ac_t""yes" 1>&6
7876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7877 cat >> confdefs.h <<EOF
7878 #define $ac_tr_func 1
7882 echo "$ac_t""no" 1>&6
7889 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7890 echo "configure:7891: checking for ISO C99 wchar_t support" >&5
7891 if test x"$has_weof" = xyes &&
7892 test x"$has_wchar_minmax" = xyes &&
7893 test x"$ac_wfuncs" = xyes; then
7894 ac_isoC99_wchar_t=yes
7896 ac_isoC99_wchar_t=no
7898 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7900 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7901 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7902 echo "configure:7903: checking for iconv.h" >&5
7903 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7904 echo $ac_n "(cached) $ac_c" 1>&6
7906 cat > conftest.$ac_ext <<EOF
7907 #line 7908 "configure"
7908 #include "confdefs.h"
7911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7912 { (eval echo configure:7913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7914 if test -z "$ac_err"; then
7916 eval "ac_cv_header_$ac_safe=yes"
7919 echo "configure: failed program was:" >&5
7920 cat conftest.$ac_ext >&5
7922 eval "ac_cv_header_$ac_safe=no"
7926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7927 echo "$ac_t""yes" 1>&6
7930 echo "$ac_t""no" 1>&6
7934 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7935 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7936 echo "configure:7937: checking for langinfo.h" >&5
7937 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7938 echo $ac_n "(cached) $ac_c" 1>&6
7940 cat > conftest.$ac_ext <<EOF
7941 #line 7942 "configure"
7942 #include "confdefs.h"
7943 #include <langinfo.h>
7945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7946 { (eval echo configure:7947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7948 if test -z "$ac_err"; then
7950 eval "ac_cv_header_$ac_safe=yes"
7953 echo "configure: failed program was:" >&5
7954 cat conftest.$ac_ext >&5
7956 eval "ac_cv_header_$ac_safe=no"
7960 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7961 echo "$ac_t""yes" 1>&6
7962 ac_has_langinfo_h=yes
7964 echo "$ac_t""no" 1>&6
7965 ac_has_langinfo_h=no
7969 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7970 echo "configure:7971: checking for iconv in -liconv" >&5
7971 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7972 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7973 echo $ac_n "(cached) $ac_c" 1>&6
7975 ac_save_LIBS="$LIBS"
7976 LIBS="-liconv $LIBS"
7977 cat > conftest.$ac_ext <<EOF
7978 #line 7979 "configure"
7979 #include "confdefs.h"
7980 /* Override any gcc2 internal prototype to avoid an error. */
7981 /* We use char because int might match the return type of a gcc2
7982 builtin and then its argument prototype would still apply. */
7989 if { (eval echo configure:7990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7991 eval "ac_cv_lib_$ac_lib_var=yes"
7993 echo "configure: failed program was:" >&5
7994 cat conftest.$ac_ext >&5
7996 eval "ac_cv_lib_$ac_lib_var=no"
7999 LIBS="$ac_save_LIBS"
8002 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8003 echo "$ac_t""yes" 1>&6
8006 echo "$ac_t""no" 1>&6
8009 ac_save_LIBS="$LIBS"
8010 LIBS="$LIBS $libiconv"
8012 for ac_func in iconv_open iconv_close iconv nl_langinfo
8014 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8015 echo "configure:8016: checking for $ac_func" >&5
8016 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8017 echo $ac_n "(cached) $ac_c" 1>&6
8019 cat > conftest.$ac_ext <<EOF
8020 #line 8021 "configure"
8021 #include "confdefs.h"
8022 /* System header to define __stub macros and hopefully few prototypes,
8023 which can conflict with char $ac_func(); below. */
8025 /* Override any gcc2 internal prototype to avoid an error. */
8026 /* We use char because int might match the return type of a gcc2
8027 builtin and then its argument prototype would still apply. */
8032 /* The GNU C library defines this for functions which it implements
8033 to always fail with ENOSYS. Some functions are actually named
8034 something starting with __ and the normal name is an alias. */
8035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8045 eval "ac_cv_func_$ac_func=yes"
8047 echo "configure: failed program was:" >&5
8048 cat conftest.$ac_ext >&5
8050 eval "ac_cv_func_$ac_func=no"
8055 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8056 echo "$ac_t""yes" 1>&6
8057 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8058 cat >> confdefs.h <<EOF
8059 #define $ac_tr_func 1
8064 echo "$ac_t""no" 1>&6
8070 LIBS="$ac_save_LIBS"
8072 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8073 echo "configure:8074: checking for XPG2 wchar_t support" >&5
8074 if test x"$ac_has_iconv_h" = xyes &&
8075 test x"$ac_has_langinfo_h" = xyes &&
8076 test x"$ac_XPG2funcs" = xyes; then
8081 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8083 if test x"$ac_isoC99_wchar_t" = xyes &&
8084 test x"$ac_XPG2_wchar_t" = xyes; then
8085 cat >> confdefs.h <<\EOF
8086 #define _GLIBCPP_USE_WCHAR_T 1
8092 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8093 echo "configure:8094: checking for enabled wchar_t specializations" >&5
8094 echo "$ac_t""$enable_wchar_t" 1>&6
8097 if test "$enable_wchar_t" = yes; then
8098 GLIBCPP_TEST_WCHAR_T_TRUE=
8099 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8101 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8102 GLIBCPP_TEST_WCHAR_T_FALSE=
8105 os_include_dir="os/bsd/freebsd"
8106 cat >> confdefs.h <<\EOF
8107 #define HAVE_LC_MESSAGES 1
8110 cat >> confdefs.h <<\EOF
8111 #define HAVE_DRAND48 1
8114 cat >> confdefs.h <<\EOF
8115 #define HAVE_GETPAGESIZE 1
8118 cat >> confdefs.h <<\EOF
8119 #define HAVE_SETENV 1
8122 cat >> confdefs.h <<\EOF
8123 #define HAVE_SIGSETJMP 1
8126 cat >> confdefs.h <<\EOF
8127 #define HAVE_COPYSIGN 1
8130 cat >> confdefs.h <<\EOF
8131 #define HAVE_COPYSIGNF 1
8134 cat >> confdefs.h <<\EOF
8135 #define HAVE_FINITEF 1
8138 cat >> confdefs.h <<\EOF
8139 #define HAVE_FINITE 1
8142 cat >> confdefs.h <<\EOF
8143 #define HAVE_FREXPF 1
8146 cat >> confdefs.h <<\EOF
8147 #define HAVE_HYPOT 1
8150 cat >> confdefs.h <<\EOF
8151 #define HAVE_HYPOTF 1
8154 cat >> confdefs.h <<\EOF
8155 #define HAVE_ISINF 1
8158 cat >> confdefs.h <<\EOF
8159 #define HAVE_ISNAN 1
8162 cat >> confdefs.h <<\EOF
8163 #define HAVE_ISNANF 1
8166 if test x"long_double_math_on_this_cpu" = x"yes"; then
8167 cat >> confdefs.h <<\EOF
8168 #define HAVE_FINITEL 1
8171 cat >> confdefs.h <<\EOF
8172 #define HAVE_ISINFL 1
8175 cat >> confdefs.h <<\EOF
8176 #define HAVE_ISNANL 1
8182 for ac_hdr in sys/types.h locale.h float.h
8184 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8185 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8186 echo "configure:8187: checking for $ac_hdr" >&5
8187 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8188 echo $ac_n "(cached) $ac_c" 1>&6
8190 cat > conftest.$ac_ext <<EOF
8191 #line 8192 "configure"
8192 #include "confdefs.h"
8195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8196 { (eval echo configure:8197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8198 if test -z "$ac_err"; then
8200 eval "ac_cv_header_$ac_safe=yes"
8203 echo "configure: failed program was:" >&5
8204 cat conftest.$ac_ext >&5
8206 eval "ac_cv_header_$ac_safe=no"
8210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8211 echo "$ac_t""yes" 1>&6
8212 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8213 cat >> confdefs.h <<EOF
8214 #define $ac_tr_hdr 1
8218 echo "$ac_t""no" 1>&6
8223 # If we're not using GNU ld, then there's no point in even trying these
8224 # tests. Check for that first. We should have already tested for gld
8225 # by now (in libtool), but require it now just to be safe...
8226 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8227 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8230 # The name set by libtool depends on the version of libtool. Shame on us
8231 # for depending on an impl detail, but c'est la vie. Older versions used
8232 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8233 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8234 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8235 # set (hence we're using an older libtool), then set it.
8236 if test x${with_gnu_ld+set} != xset; then
8237 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8238 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8241 with_gnu_ld=$ac_cv_prog_gnu_ld
8245 # Start by getting the version number. I think the libtool test already
8246 # does some of this, but throws away the result.
8248 ldver=`$LD --version 2>/dev/null | head -1 | \
8249 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8251 glibcpp_gnu_ld_version=`echo $ldver | \
8252 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8254 # Set --gc-sections.
8255 if test "$with_gnu_ld" = "notbroken"; then
8256 # GNU ld it is! Joy and bunny rabbits!
8258 # All these tests are for C++; save the language and the compiler flags.
8259 # Need to do this so that g++ won't try to link in libstdc++
8260 ac_test_CFLAGS="${CFLAGS+set}"
8261 ac_save_CFLAGS="$CFLAGS"
8262 CFLAGS='-x c++ -Wl,--gc-sections'
8264 # Check for -Wl,--gc-sections
8265 # XXX This test is broken at the moment, as symbols required for
8266 # linking are now in libsupc++ (not built yet.....). In addition,
8267 # this test has cored on solaris in the past. In addition,
8268 # --gc-sections doesn't really work at the moment (keeps on discarding
8269 # used sections, first .eh_frame and now some of the glibc sections for
8270 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8271 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8272 echo "configure:8273: checking for ld that supports -Wl,--gc-sections" >&5
8273 if test "$cross_compiling" = yes; then
8274 ac_sectionLDflags=yes
8276 cat > conftest.$ac_ext <<EOF
8277 #line 8278 "configure"
8278 #include "confdefs.h"
8288 if { (eval echo configure:8289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8290 ac_sectionLDflags=yes
8292 echo "configure: failed program was:" >&5
8293 cat conftest.$ac_ext >&5
8295 ac_sectionLDflags=no
8300 if test "$ac_test_CFLAGS" = set; then
8301 CFLAGS="$ac_save_CFLAGS"
8303 # this is the suspicious part
8306 if test "$ac_sectionLDflags" = "yes"; then
8307 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8309 echo "$ac_t""$ac_sectionLDflags" 1>&6
8312 # Set linker optimization flags.
8313 if test x"$with_gnu_ld" = x"yes"; then
8314 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8321 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8322 echo "configure:8323: checking for main in -lm" >&5
8323 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8324 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8325 echo $ac_n "(cached) $ac_c" 1>&6
8327 ac_save_LIBS="$LIBS"
8329 cat > conftest.$ac_ext <<EOF
8330 #line 8331 "configure"
8331 #include "confdefs.h"
8337 if { (eval echo configure:8338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8339 eval "ac_cv_lib_$ac_lib_var=yes"
8341 echo "configure: failed program was:" >&5
8342 cat conftest.$ac_ext >&5
8344 eval "ac_cv_lib_$ac_lib_var=no"
8347 LIBS="$ac_save_LIBS"
8350 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8351 echo "$ac_t""yes" 1>&6
8352 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8353 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8354 cat >> confdefs.h <<EOF
8355 #define $ac_tr_lib 1
8361 echo "$ac_t""no" 1>&6
8364 for ac_func in nan copysignf
8366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8367 echo "configure:8368: checking for $ac_func" >&5
8368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8369 echo $ac_n "(cached) $ac_c" 1>&6
8371 cat > conftest.$ac_ext <<EOF
8372 #line 8373 "configure"
8373 #include "confdefs.h"
8374 /* System header to define __stub macros and hopefully few prototypes,
8375 which can conflict with char $ac_func(); below. */
8377 /* Override any gcc2 internal prototype to avoid an error. */
8378 /* We use char because int might match the return type of a gcc2
8379 builtin and then its argument prototype would still apply. */
8384 /* The GNU C library defines this for functions which it implements
8385 to always fail with ENOSYS. Some functions are actually named
8386 something starting with __ and the normal name is an alias. */
8387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8395 if { (eval echo configure:8396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8397 eval "ac_cv_func_$ac_func=yes"
8399 echo "configure: failed program was:" >&5
8400 cat conftest.$ac_ext >&5
8402 eval "ac_cv_func_$ac_func=no"
8407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8408 echo "$ac_t""yes" 1>&6
8409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8410 cat >> confdefs.h <<EOF
8411 #define $ac_tr_func 1
8415 echo "$ac_t""no" 1>&6
8416 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8421 for ac_func in __signbit
8423 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8424 echo "configure:8425: checking for $ac_func" >&5
8425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8426 echo $ac_n "(cached) $ac_c" 1>&6
8428 cat > conftest.$ac_ext <<EOF
8429 #line 8430 "configure"
8430 #include "confdefs.h"
8431 /* System header to define __stub macros and hopefully few prototypes,
8432 which can conflict with char $ac_func(); below. */
8434 /* Override any gcc2 internal prototype to avoid an error. */
8435 /* We use char because int might match the return type of a gcc2
8436 builtin and then its argument prototype would still apply. */
8441 /* The GNU C library defines this for functions which it implements
8442 to always fail with ENOSYS. Some functions are actually named
8443 something starting with __ and the normal name is an alias. */
8444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8452 if { (eval echo configure:8453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8454 eval "ac_cv_func_$ac_func=yes"
8456 echo "configure: failed program was:" >&5
8457 cat conftest.$ac_ext >&5
8459 eval "ac_cv_func_$ac_func=no"
8464 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8465 echo "$ac_t""yes" 1>&6
8466 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8467 cat >> confdefs.h <<EOF
8468 #define $ac_tr_func 1
8472 echo "$ac_t""no" 1>&6
8473 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8477 for ac_func in __signbitf
8479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8480 echo "configure:8481: checking for $ac_func" >&5
8481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8482 echo $ac_n "(cached) $ac_c" 1>&6
8484 cat > conftest.$ac_ext <<EOF
8485 #line 8486 "configure"
8486 #include "confdefs.h"
8487 /* System header to define __stub macros and hopefully few prototypes,
8488 which can conflict with char $ac_func(); below. */
8490 /* Override any gcc2 internal prototype to avoid an error. */
8491 /* We use char because int might match the return type of a gcc2
8492 builtin and then its argument prototype would still apply. */
8497 /* The GNU C library defines this for functions which it implements
8498 to always fail with ENOSYS. Some functions are actually named
8499 something starting with __ and the normal name is an alias. */
8500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8508 if { (eval echo configure:8509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8510 eval "ac_cv_func_$ac_func=yes"
8512 echo "configure: failed program was:" >&5
8513 cat conftest.$ac_ext >&5
8515 eval "ac_cv_func_$ac_func=no"
8520 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8521 echo "$ac_t""yes" 1>&6
8522 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8523 cat >> confdefs.h <<EOF
8524 #define $ac_tr_func 1
8528 echo "$ac_t""no" 1>&6
8529 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8534 if test x$ac_cv_func_copysignl = x"yes"; then
8535 for ac_func in __signbitl
8537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8538 echo "configure:8539: checking for $ac_func" >&5
8539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8540 echo $ac_n "(cached) $ac_c" 1>&6
8542 cat > conftest.$ac_ext <<EOF
8543 #line 8544 "configure"
8544 #include "confdefs.h"
8545 /* System header to define __stub macros and hopefully few prototypes,
8546 which can conflict with char $ac_func(); below. */
8548 /* Override any gcc2 internal prototype to avoid an error. */
8549 /* We use char because int might match the return type of a gcc2
8550 builtin and then its argument prototype would still apply. */
8555 /* The GNU C library defines this for functions which it implements
8556 to always fail with ENOSYS. Some functions are actually named
8557 something starting with __ and the normal name is an alias. */
8558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8566 if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8568 eval "ac_cv_func_$ac_func=yes"
8570 echo "configure: failed program was:" >&5
8571 cat conftest.$ac_ext >&5
8573 eval "ac_cv_func_$ac_func=no"
8578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8579 echo "$ac_t""yes" 1>&6
8580 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8581 cat >> confdefs.h <<EOF
8582 #define $ac_tr_func 1
8586 echo "$ac_t""no" 1>&6
8587 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8593 if test -n "$LIBMATHOBJS"; then
8599 if test "$need_libmath" = yes; then
8600 GLIBCPP_BUILD_LIBMATH_TRUE=
8601 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8603 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8604 GLIBCPP_BUILD_LIBMATH_FALSE=
8610 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8611 echo "configure:8612: checking for mbstate_t" >&5
8612 cat > conftest.$ac_ext <<EOF
8613 #line 8614 "configure"
8614 #include "confdefs.h"
8617 mbstate_t teststate;
8620 if { (eval echo configure:8621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8624 echo "configure: failed program was:" >&5
8625 cat conftest.$ac_ext >&5
8630 echo "$ac_t""$have_mbstate_t" 1>&6
8631 if test x"$have_mbstate_t" = xyes; then
8632 cat >> confdefs.h <<\EOF
8633 #define HAVE_MBSTATE_T 1
8638 for ac_hdr in wchar.h
8640 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8641 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8642 echo "configure:8643: checking for $ac_hdr" >&5
8643 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8644 echo $ac_n "(cached) $ac_c" 1>&6
8646 cat > conftest.$ac_ext <<EOF
8647 #line 8648 "configure"
8648 #include "confdefs.h"
8651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8652 { (eval echo configure:8653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8654 if test -z "$ac_err"; then
8656 eval "ac_cv_header_$ac_safe=yes"
8659 echo "configure: failed program was:" >&5
8660 cat conftest.$ac_ext >&5
8662 eval "ac_cv_header_$ac_safe=no"
8666 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8667 echo "$ac_t""yes" 1>&6
8668 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8669 cat >> confdefs.h <<EOF
8670 #define $ac_tr_hdr 1
8674 echo "$ac_t""no" 1>&6
8679 for ac_hdr in wctype.h
8681 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8682 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8683 echo "configure:8684: checking for $ac_hdr" >&5
8684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8685 echo $ac_n "(cached) $ac_c" 1>&6
8687 cat > conftest.$ac_ext <<EOF
8688 #line 8689 "configure"
8689 #include "confdefs.h"
8692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8693 { (eval echo configure:8694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8695 if test -z "$ac_err"; then
8697 eval "ac_cv_header_$ac_safe=yes"
8700 echo "configure: failed program was:" >&5
8701 cat conftest.$ac_ext >&5
8703 eval "ac_cv_header_$ac_safe=no"
8707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8708 echo "$ac_t""yes" 1>&6
8709 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8710 cat >> confdefs.h <<EOF
8711 #define $ac_tr_hdr 1
8715 echo "$ac_t""no" 1>&6
8721 if test x"$ac_has_wchar_h" = xyes &&
8722 test x"$ac_has_wctype_h" = xyes &&
8723 test x"$enable_c_mbchar" != xno; then
8725 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8726 echo "configure:8727: checking for WCHAR_MIN and WCHAR_MAX" >&5
8727 cat > conftest.$ac_ext <<EOF
8728 #line 8729 "configure"
8729 #include "confdefs.h"
8732 int i = WCHAR_MIN; int j = WCHAR_MAX;
8735 if { (eval echo configure:8736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8737 has_wchar_minmax=yes
8739 echo "configure: failed program was:" >&5
8740 cat conftest.$ac_ext >&5
8745 echo "$ac_t""$has_wchar_minmax" 1>&6
8747 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8748 echo "configure:8749: checking for WEOF" >&5
8749 cat > conftest.$ac_ext <<EOF
8750 #line 8751 "configure"
8751 #include "confdefs.h"
8759 if { (eval echo configure:8760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8763 echo "configure: failed program was:" >&5
8764 cat conftest.$ac_ext >&5
8769 echo "$ac_t""$has_weof" 1>&6
8772 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8775 echo "configure:8776: checking for $ac_func" >&5
8776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8777 echo $ac_n "(cached) $ac_c" 1>&6
8779 cat > conftest.$ac_ext <<EOF
8780 #line 8781 "configure"
8781 #include "confdefs.h"
8782 /* System header to define __stub macros and hopefully few prototypes,
8783 which can conflict with char $ac_func(); below. */
8785 /* Override any gcc2 internal prototype to avoid an error. */
8786 /* We use char because int might match the return type of a gcc2
8787 builtin and then its argument prototype would still apply. */
8792 /* The GNU C library defines this for functions which it implements
8793 to always fail with ENOSYS. Some functions are actually named
8794 something starting with __ and the normal name is an alias. */
8795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8803 if { (eval echo configure:8804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8805 eval "ac_cv_func_$ac_func=yes"
8807 echo "configure: failed program was:" >&5
8808 cat conftest.$ac_ext >&5
8810 eval "ac_cv_func_$ac_func=no"
8815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8816 echo "$ac_t""yes" 1>&6
8817 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8818 cat >> confdefs.h <<EOF
8819 #define $ac_tr_func 1
8823 echo "$ac_t""no" 1>&6
8830 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8831 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8832 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8833 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8834 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8835 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8838 echo "configure:8839: checking for $ac_func" >&5
8839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8840 echo $ac_n "(cached) $ac_c" 1>&6
8842 cat > conftest.$ac_ext <<EOF
8843 #line 8844 "configure"
8844 #include "confdefs.h"
8845 /* System header to define __stub macros and hopefully few prototypes,
8846 which can conflict with char $ac_func(); below. */
8848 /* Override any gcc2 internal prototype to avoid an error. */
8849 /* We use char because int might match the return type of a gcc2
8850 builtin and then its argument prototype would still apply. */
8855 /* The GNU C library defines this for functions which it implements
8856 to always fail with ENOSYS. Some functions are actually named
8857 something starting with __ and the normal name is an alias. */
8858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8866 if { (eval echo configure:8867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8868 eval "ac_cv_func_$ac_func=yes"
8870 echo "configure: failed program was:" >&5
8871 cat conftest.$ac_ext >&5
8873 eval "ac_cv_func_$ac_func=no"
8878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8879 echo "$ac_t""yes" 1>&6
8880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8881 cat >> confdefs.h <<EOF
8882 #define $ac_tr_func 1
8886 echo "$ac_t""no" 1>&6
8893 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8894 echo "configure:8895: checking for ISO C99 wchar_t support" >&5
8895 if test x"$has_weof" = xyes &&
8896 test x"$has_wchar_minmax" = xyes &&
8897 test x"$ac_wfuncs" = xyes; then
8898 ac_isoC99_wchar_t=yes
8900 ac_isoC99_wchar_t=no
8902 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8904 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8905 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8906 echo "configure:8907: checking for iconv.h" >&5
8907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8908 echo $ac_n "(cached) $ac_c" 1>&6
8910 cat > conftest.$ac_ext <<EOF
8911 #line 8912 "configure"
8912 #include "confdefs.h"
8915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8916 { (eval echo configure:8917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8918 if test -z "$ac_err"; then
8920 eval "ac_cv_header_$ac_safe=yes"
8923 echo "configure: failed program was:" >&5
8924 cat conftest.$ac_ext >&5
8926 eval "ac_cv_header_$ac_safe=no"
8930 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8931 echo "$ac_t""yes" 1>&6
8934 echo "$ac_t""no" 1>&6
8938 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8939 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8940 echo "configure:8941: checking for langinfo.h" >&5
8941 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8942 echo $ac_n "(cached) $ac_c" 1>&6
8944 cat > conftest.$ac_ext <<EOF
8945 #line 8946 "configure"
8946 #include "confdefs.h"
8947 #include <langinfo.h>
8949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8950 { (eval echo configure:8951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8952 if test -z "$ac_err"; then
8954 eval "ac_cv_header_$ac_safe=yes"
8957 echo "configure: failed program was:" >&5
8958 cat conftest.$ac_ext >&5
8960 eval "ac_cv_header_$ac_safe=no"
8964 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8965 echo "$ac_t""yes" 1>&6
8966 ac_has_langinfo_h=yes
8968 echo "$ac_t""no" 1>&6
8969 ac_has_langinfo_h=no
8973 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8974 echo "configure:8975: checking for iconv in -liconv" >&5
8975 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8976 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8977 echo $ac_n "(cached) $ac_c" 1>&6
8979 ac_save_LIBS="$LIBS"
8980 LIBS="-liconv $LIBS"
8981 cat > conftest.$ac_ext <<EOF
8982 #line 8983 "configure"
8983 #include "confdefs.h"
8984 /* Override any gcc2 internal prototype to avoid an error. */
8985 /* We use char because int might match the return type of a gcc2
8986 builtin and then its argument prototype would still apply. */
8993 if { (eval echo configure:8994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8995 eval "ac_cv_lib_$ac_lib_var=yes"
8997 echo "configure: failed program was:" >&5
8998 cat conftest.$ac_ext >&5
9000 eval "ac_cv_lib_$ac_lib_var=no"
9003 LIBS="$ac_save_LIBS"
9006 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9007 echo "$ac_t""yes" 1>&6
9010 echo "$ac_t""no" 1>&6
9013 ac_save_LIBS="$LIBS"
9014 LIBS="$LIBS $libiconv"
9016 for ac_func in iconv_open iconv_close iconv nl_langinfo
9018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9019 echo "configure:9020: checking for $ac_func" >&5
9020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9021 echo $ac_n "(cached) $ac_c" 1>&6
9023 cat > conftest.$ac_ext <<EOF
9024 #line 9025 "configure"
9025 #include "confdefs.h"
9026 /* System header to define __stub macros and hopefully few prototypes,
9027 which can conflict with char $ac_func(); below. */
9029 /* Override any gcc2 internal prototype to avoid an error. */
9030 /* We use char because int might match the return type of a gcc2
9031 builtin and then its argument prototype would still apply. */
9036 /* The GNU C library defines this for functions which it implements
9037 to always fail with ENOSYS. Some functions are actually named
9038 something starting with __ and the normal name is an alias. */
9039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9047 if { (eval echo configure:9048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9049 eval "ac_cv_func_$ac_func=yes"
9051 echo "configure: failed program was:" >&5
9052 cat conftest.$ac_ext >&5
9054 eval "ac_cv_func_$ac_func=no"
9059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9060 echo "$ac_t""yes" 1>&6
9061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9062 cat >> confdefs.h <<EOF
9063 #define $ac_tr_func 1
9068 echo "$ac_t""no" 1>&6
9074 LIBS="$ac_save_LIBS"
9076 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9077 echo "configure:9078: checking for XPG2 wchar_t support" >&5
9078 if test x"$ac_has_iconv_h" = xyes &&
9079 test x"$ac_has_langinfo_h" = xyes &&
9080 test x"$ac_XPG2funcs" = xyes; then
9085 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9087 if test x"$ac_isoC99_wchar_t" = xyes &&
9088 test x"$ac_XPG2_wchar_t" = xyes; then
9089 cat >> confdefs.h <<\EOF
9090 #define _GLIBCPP_USE_WCHAR_T 1
9096 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9097 echo "configure:9098: checking for enabled wchar_t specializations" >&5
9098 echo "$ac_t""$enable_wchar_t" 1>&6
9101 if test "$enable_wchar_t" = yes; then
9102 GLIBCPP_TEST_WCHAR_T_TRUE=
9103 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9105 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9106 GLIBCPP_TEST_WCHAR_T_FALSE=
9109 os_include_dir="os/mingw32"
9112 os_include_dir="os/windiss"
9115 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9118 # If we're not using GNU ld, then there's no point in even trying these
9119 # tests. Check for that first. We should have already tested for gld
9120 # by now (in libtool), but require it now just to be safe...
9121 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9122 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9125 # The name set by libtool depends on the version of libtool. Shame on us
9126 # for depending on an impl detail, but c'est la vie. Older versions used
9127 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9128 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9129 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9130 # set (hence we're using an older libtool), then set it.
9131 if test x${with_gnu_ld+set} != xset; then
9132 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9133 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9136 with_gnu_ld=$ac_cv_prog_gnu_ld
9140 # Start by getting the version number. I think the libtool test already
9141 # does some of this, but throws away the result.
9143 ldver=`$LD --version 2>/dev/null | head -1 | \
9144 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9146 glibcpp_gnu_ld_version=`echo $ldver | \
9147 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9149 # Set --gc-sections.
9150 if test "$with_gnu_ld" = "notbroken"; then
9151 # GNU ld it is! Joy and bunny rabbits!
9153 # All these tests are for C++; save the language and the compiler flags.
9154 # Need to do this so that g++ won't try to link in libstdc++
9155 ac_test_CFLAGS="${CFLAGS+set}"
9156 ac_save_CFLAGS="$CFLAGS"
9157 CFLAGS='-x c++ -Wl,--gc-sections'
9159 # Check for -Wl,--gc-sections
9160 # XXX This test is broken at the moment, as symbols required for
9161 # linking are now in libsupc++ (not built yet.....). In addition,
9162 # this test has cored on solaris in the past. In addition,
9163 # --gc-sections doesn't really work at the moment (keeps on discarding
9164 # used sections, first .eh_frame and now some of the glibc sections for
9165 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9166 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9167 echo "configure:9168: checking for ld that supports -Wl,--gc-sections" >&5
9168 if test "$cross_compiling" = yes; then
9169 ac_sectionLDflags=yes
9171 cat > conftest.$ac_ext <<EOF
9172 #line 9173 "configure"
9173 #include "confdefs.h"
9183 if { (eval echo configure:9184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9185 ac_sectionLDflags=yes
9187 echo "configure: failed program was:" >&5
9188 cat conftest.$ac_ext >&5
9190 ac_sectionLDflags=no
9195 if test "$ac_test_CFLAGS" = set; then
9196 CFLAGS="$ac_save_CFLAGS"
9198 # this is the suspicious part
9201 if test "$ac_sectionLDflags" = "yes"; then
9202 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9204 echo "$ac_t""$ac_sectionLDflags" 1>&6
9207 # Set linker optimization flags.
9208 if test x"$with_gnu_ld" = x"yes"; then
9209 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9216 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9217 echo "configure:9218: checking for main in -lm" >&5
9218 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9219 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9220 echo $ac_n "(cached) $ac_c" 1>&6
9222 ac_save_LIBS="$LIBS"
9224 cat > conftest.$ac_ext <<EOF
9225 #line 9226 "configure"
9226 #include "confdefs.h"
9232 if { (eval echo configure:9233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9234 eval "ac_cv_lib_$ac_lib_var=yes"
9236 echo "configure: failed program was:" >&5
9237 cat conftest.$ac_ext >&5
9239 eval "ac_cv_lib_$ac_lib_var=no"
9242 LIBS="$ac_save_LIBS"
9245 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9246 echo "$ac_t""yes" 1>&6
9247 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9248 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9249 cat >> confdefs.h <<EOF
9250 #define $ac_tr_lib 1
9256 echo "$ac_t""no" 1>&6
9259 for ac_func in nan copysignf
9261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9262 echo "configure:9263: checking for $ac_func" >&5
9263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9264 echo $ac_n "(cached) $ac_c" 1>&6
9266 cat > conftest.$ac_ext <<EOF
9267 #line 9268 "configure"
9268 #include "confdefs.h"
9269 /* System header to define __stub macros and hopefully few prototypes,
9270 which can conflict with char $ac_func(); below. */
9272 /* Override any gcc2 internal prototype to avoid an error. */
9273 /* We use char because int might match the return type of a gcc2
9274 builtin and then its argument prototype would still apply. */
9279 /* The GNU C library defines this for functions which it implements
9280 to always fail with ENOSYS. Some functions are actually named
9281 something starting with __ and the normal name is an alias. */
9282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9290 if { (eval echo configure:9291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9292 eval "ac_cv_func_$ac_func=yes"
9294 echo "configure: failed program was:" >&5
9295 cat conftest.$ac_ext >&5
9297 eval "ac_cv_func_$ac_func=no"
9302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9303 echo "$ac_t""yes" 1>&6
9304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9305 cat >> confdefs.h <<EOF
9306 #define $ac_tr_func 1
9310 echo "$ac_t""no" 1>&6
9311 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9316 for ac_func in __signbit
9318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9319 echo "configure:9320: checking for $ac_func" >&5
9320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9321 echo $ac_n "(cached) $ac_c" 1>&6
9323 cat > conftest.$ac_ext <<EOF
9324 #line 9325 "configure"
9325 #include "confdefs.h"
9326 /* System header to define __stub macros and hopefully few prototypes,
9327 which can conflict with char $ac_func(); below. */
9329 /* Override any gcc2 internal prototype to avoid an error. */
9330 /* We use char because int might match the return type of a gcc2
9331 builtin and then its argument prototype would still apply. */
9336 /* The GNU C library defines this for functions which it implements
9337 to always fail with ENOSYS. Some functions are actually named
9338 something starting with __ and the normal name is an alias. */
9339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9347 if { (eval echo configure:9348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9349 eval "ac_cv_func_$ac_func=yes"
9351 echo "configure: failed program was:" >&5
9352 cat conftest.$ac_ext >&5
9354 eval "ac_cv_func_$ac_func=no"
9359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9360 echo "$ac_t""yes" 1>&6
9361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9362 cat >> confdefs.h <<EOF
9363 #define $ac_tr_func 1
9367 echo "$ac_t""no" 1>&6
9368 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9372 for ac_func in __signbitf
9374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9375 echo "configure:9376: checking for $ac_func" >&5
9376 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9377 echo $ac_n "(cached) $ac_c" 1>&6
9379 cat > conftest.$ac_ext <<EOF
9380 #line 9381 "configure"
9381 #include "confdefs.h"
9382 /* System header to define __stub macros and hopefully few prototypes,
9383 which can conflict with char $ac_func(); below. */
9385 /* Override any gcc2 internal prototype to avoid an error. */
9386 /* We use char because int might match the return type of a gcc2
9387 builtin and then its argument prototype would still apply. */
9392 /* The GNU C library defines this for functions which it implements
9393 to always fail with ENOSYS. Some functions are actually named
9394 something starting with __ and the normal name is an alias. */
9395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9403 if { (eval echo configure:9404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9405 eval "ac_cv_func_$ac_func=yes"
9407 echo "configure: failed program was:" >&5
9408 cat conftest.$ac_ext >&5
9410 eval "ac_cv_func_$ac_func=no"
9415 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9416 echo "$ac_t""yes" 1>&6
9417 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9418 cat >> confdefs.h <<EOF
9419 #define $ac_tr_func 1
9423 echo "$ac_t""no" 1>&6
9424 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9429 if test x$ac_cv_func_copysignl = x"yes"; then
9430 for ac_func in __signbitl
9432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9433 echo "configure:9434: checking for $ac_func" >&5
9434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9435 echo $ac_n "(cached) $ac_c" 1>&6
9437 cat > conftest.$ac_ext <<EOF
9438 #line 9439 "configure"
9439 #include "confdefs.h"
9440 /* System header to define __stub macros and hopefully few prototypes,
9441 which can conflict with char $ac_func(); below. */
9443 /* Override any gcc2 internal prototype to avoid an error. */
9444 /* We use char because int might match the return type of a gcc2
9445 builtin and then its argument prototype would still apply. */
9450 /* The GNU C library defines this for functions which it implements
9451 to always fail with ENOSYS. Some functions are actually named
9452 something starting with __ and the normal name is an alias. */
9453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9461 if { (eval echo configure:9462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9463 eval "ac_cv_func_$ac_func=yes"
9465 echo "configure: failed program was:" >&5
9466 cat conftest.$ac_ext >&5
9468 eval "ac_cv_func_$ac_func=no"
9473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9474 echo "$ac_t""yes" 1>&6
9475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9476 cat >> confdefs.h <<EOF
9477 #define $ac_tr_func 1
9481 echo "$ac_t""no" 1>&6
9482 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9488 if test -n "$LIBMATHOBJS"; then
9494 if test "$need_libmath" = yes; then
9495 GLIBCPP_BUILD_LIBMATH_TRUE=
9496 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9498 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9499 GLIBCPP_BUILD_LIBMATH_FALSE=
9505 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9506 echo "configure:9507: checking for mbstate_t" >&5
9507 cat > conftest.$ac_ext <<EOF
9508 #line 9509 "configure"
9509 #include "confdefs.h"
9512 mbstate_t teststate;
9515 if { (eval echo configure:9516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9519 echo "configure: failed program was:" >&5
9520 cat conftest.$ac_ext >&5
9525 echo "$ac_t""$have_mbstate_t" 1>&6
9526 if test x"$have_mbstate_t" = xyes; then
9527 cat >> confdefs.h <<\EOF
9528 #define HAVE_MBSTATE_T 1
9533 for ac_hdr in wchar.h
9535 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9536 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9537 echo "configure:9538: checking for $ac_hdr" >&5
9538 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9539 echo $ac_n "(cached) $ac_c" 1>&6
9541 cat > conftest.$ac_ext <<EOF
9542 #line 9543 "configure"
9543 #include "confdefs.h"
9546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9547 { (eval echo configure:9548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9549 if test -z "$ac_err"; then
9551 eval "ac_cv_header_$ac_safe=yes"
9554 echo "configure: failed program was:" >&5
9555 cat conftest.$ac_ext >&5
9557 eval "ac_cv_header_$ac_safe=no"
9561 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9562 echo "$ac_t""yes" 1>&6
9563 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9564 cat >> confdefs.h <<EOF
9565 #define $ac_tr_hdr 1
9569 echo "$ac_t""no" 1>&6
9574 for ac_hdr in wctype.h
9576 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9577 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9578 echo "configure:9579: checking for $ac_hdr" >&5
9579 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9580 echo $ac_n "(cached) $ac_c" 1>&6
9582 cat > conftest.$ac_ext <<EOF
9583 #line 9584 "configure"
9584 #include "confdefs.h"
9587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9588 { (eval echo configure:9589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9590 if test -z "$ac_err"; then
9592 eval "ac_cv_header_$ac_safe=yes"
9595 echo "configure: failed program was:" >&5
9596 cat conftest.$ac_ext >&5
9598 eval "ac_cv_header_$ac_safe=no"
9602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9603 echo "$ac_t""yes" 1>&6
9604 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9605 cat >> confdefs.h <<EOF
9606 #define $ac_tr_hdr 1
9610 echo "$ac_t""no" 1>&6
9616 if test x"$ac_has_wchar_h" = xyes &&
9617 test x"$ac_has_wctype_h" = xyes &&
9618 test x"$enable_c_mbchar" != xno; then
9620 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9621 echo "configure:9622: checking for WCHAR_MIN and WCHAR_MAX" >&5
9622 cat > conftest.$ac_ext <<EOF
9623 #line 9624 "configure"
9624 #include "confdefs.h"
9627 int i = WCHAR_MIN; int j = WCHAR_MAX;
9630 if { (eval echo configure:9631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9632 has_wchar_minmax=yes
9634 echo "configure: failed program was:" >&5
9635 cat conftest.$ac_ext >&5
9640 echo "$ac_t""$has_wchar_minmax" 1>&6
9642 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9643 echo "configure:9644: checking for WEOF" >&5
9644 cat > conftest.$ac_ext <<EOF
9645 #line 9646 "configure"
9646 #include "confdefs.h"
9654 if { (eval echo configure:9655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9658 echo "configure: failed program was:" >&5
9659 cat conftest.$ac_ext >&5
9664 echo "$ac_t""$has_weof" 1>&6
9667 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9670 echo "configure:9671: checking for $ac_func" >&5
9671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9672 echo $ac_n "(cached) $ac_c" 1>&6
9674 cat > conftest.$ac_ext <<EOF
9675 #line 9676 "configure"
9676 #include "confdefs.h"
9677 /* System header to define __stub macros and hopefully few prototypes,
9678 which can conflict with char $ac_func(); below. */
9680 /* Override any gcc2 internal prototype to avoid an error. */
9681 /* We use char because int might match the return type of a gcc2
9682 builtin and then its argument prototype would still apply. */
9687 /* The GNU C library defines this for functions which it implements
9688 to always fail with ENOSYS. Some functions are actually named
9689 something starting with __ and the normal name is an alias. */
9690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9698 if { (eval echo configure:9699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9700 eval "ac_cv_func_$ac_func=yes"
9702 echo "configure: failed program was:" >&5
9703 cat conftest.$ac_ext >&5
9705 eval "ac_cv_func_$ac_func=no"
9710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9711 echo "$ac_t""yes" 1>&6
9712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9713 cat >> confdefs.h <<EOF
9714 #define $ac_tr_func 1
9718 echo "$ac_t""no" 1>&6
9725 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9726 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9727 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9728 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9729 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9730 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9733 echo "configure:9734: checking for $ac_func" >&5
9734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9735 echo $ac_n "(cached) $ac_c" 1>&6
9737 cat > conftest.$ac_ext <<EOF
9738 #line 9739 "configure"
9739 #include "confdefs.h"
9740 /* System header to define __stub macros and hopefully few prototypes,
9741 which can conflict with char $ac_func(); below. */
9743 /* Override any gcc2 internal prototype to avoid an error. */
9744 /* We use char because int might match the return type of a gcc2
9745 builtin and then its argument prototype would still apply. */
9750 /* The GNU C library defines this for functions which it implements
9751 to always fail with ENOSYS. Some functions are actually named
9752 something starting with __ and the normal name is an alias. */
9753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9761 if { (eval echo configure:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9763 eval "ac_cv_func_$ac_func=yes"
9765 echo "configure: failed program was:" >&5
9766 cat conftest.$ac_ext >&5
9768 eval "ac_cv_func_$ac_func=no"
9773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9774 echo "$ac_t""yes" 1>&6
9775 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9776 cat >> confdefs.h <<EOF
9777 #define $ac_tr_func 1
9781 echo "$ac_t""no" 1>&6
9788 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9789 echo "configure:9790: checking for ISO C99 wchar_t support" >&5
9790 if test x"$has_weof" = xyes &&
9791 test x"$has_wchar_minmax" = xyes &&
9792 test x"$ac_wfuncs" = xyes; then
9793 ac_isoC99_wchar_t=yes
9795 ac_isoC99_wchar_t=no
9797 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9799 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9800 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9801 echo "configure:9802: checking for iconv.h" >&5
9802 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9803 echo $ac_n "(cached) $ac_c" 1>&6
9805 cat > conftest.$ac_ext <<EOF
9806 #line 9807 "configure"
9807 #include "confdefs.h"
9810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9811 { (eval echo configure:9812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9813 if test -z "$ac_err"; then
9815 eval "ac_cv_header_$ac_safe=yes"
9818 echo "configure: failed program was:" >&5
9819 cat conftest.$ac_ext >&5
9821 eval "ac_cv_header_$ac_safe=no"
9825 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9826 echo "$ac_t""yes" 1>&6
9829 echo "$ac_t""no" 1>&6
9833 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9834 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9835 echo "configure:9836: checking for langinfo.h" >&5
9836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9837 echo $ac_n "(cached) $ac_c" 1>&6
9839 cat > conftest.$ac_ext <<EOF
9840 #line 9841 "configure"
9841 #include "confdefs.h"
9842 #include <langinfo.h>
9844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9845 { (eval echo configure:9846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9847 if test -z "$ac_err"; then
9849 eval "ac_cv_header_$ac_safe=yes"
9852 echo "configure: failed program was:" >&5
9853 cat conftest.$ac_ext >&5
9855 eval "ac_cv_header_$ac_safe=no"
9859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9860 echo "$ac_t""yes" 1>&6
9861 ac_has_langinfo_h=yes
9863 echo "$ac_t""no" 1>&6
9864 ac_has_langinfo_h=no
9868 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9869 echo "configure:9870: checking for iconv in -liconv" >&5
9870 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9871 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9872 echo $ac_n "(cached) $ac_c" 1>&6
9874 ac_save_LIBS="$LIBS"
9875 LIBS="-liconv $LIBS"
9876 cat > conftest.$ac_ext <<EOF
9877 #line 9878 "configure"
9878 #include "confdefs.h"
9879 /* Override any gcc2 internal prototype to avoid an error. */
9880 /* We use char because int might match the return type of a gcc2
9881 builtin and then its argument prototype would still apply. */
9888 if { (eval echo configure:9889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9890 eval "ac_cv_lib_$ac_lib_var=yes"
9892 echo "configure: failed program was:" >&5
9893 cat conftest.$ac_ext >&5
9895 eval "ac_cv_lib_$ac_lib_var=no"
9898 LIBS="$ac_save_LIBS"
9901 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9902 echo "$ac_t""yes" 1>&6
9905 echo "$ac_t""no" 1>&6
9908 ac_save_LIBS="$LIBS"
9909 LIBS="$LIBS $libiconv"
9911 for ac_func in iconv_open iconv_close iconv nl_langinfo
9913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9914 echo "configure:9915: checking for $ac_func" >&5
9915 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9916 echo $ac_n "(cached) $ac_c" 1>&6
9918 cat > conftest.$ac_ext <<EOF
9919 #line 9920 "configure"
9920 #include "confdefs.h"
9921 /* System header to define __stub macros and hopefully few prototypes,
9922 which can conflict with char $ac_func(); below. */
9924 /* Override any gcc2 internal prototype to avoid an error. */
9925 /* We use char because int might match the return type of a gcc2
9926 builtin and then its argument prototype would still apply. */
9931 /* The GNU C library defines this for functions which it implements
9932 to always fail with ENOSYS. Some functions are actually named
9933 something starting with __ and the normal name is an alias. */
9934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9942 if { (eval echo configure:9943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9944 eval "ac_cv_func_$ac_func=yes"
9946 echo "configure: failed program was:" >&5
9947 cat conftest.$ac_ext >&5
9949 eval "ac_cv_func_$ac_func=no"
9954 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9955 echo "$ac_t""yes" 1>&6
9956 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9957 cat >> confdefs.h <<EOF
9958 #define $ac_tr_func 1
9963 echo "$ac_t""no" 1>&6
9969 LIBS="$ac_save_LIBS"
9971 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9972 echo "configure:9973: checking for XPG2 wchar_t support" >&5
9973 if test x"$ac_has_iconv_h" = xyes &&
9974 test x"$ac_has_langinfo_h" = xyes &&
9975 test x"$ac_XPG2funcs" = xyes; then
9980 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9982 if test x"$ac_isoC99_wchar_t" = xyes &&
9983 test x"$ac_XPG2_wchar_t" = xyes; then
9984 cat >> confdefs.h <<\EOF
9985 #define _GLIBCPP_USE_WCHAR_T 1
9991 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9992 echo "configure:9993: checking for enabled wchar_t specializations" >&5
9993 echo "$ac_t""$enable_wchar_t" 1>&6
9996 if test "$enable_wchar_t" = yes; then
9997 GLIBCPP_TEST_WCHAR_T_TRUE=
9998 GLIBCPP_TEST_WCHAR_T_FALSE='#'
10000 GLIBCPP_TEST_WCHAR_T_TRUE='#'
10001 GLIBCPP_TEST_WCHAR_T_FALSE=
10004 os_include_dir="os/qnx/qnx6.1"
10005 cat >> confdefs.h <<\EOF
10006 #define HAVE_COSF 1
10009 cat >> confdefs.h <<\EOF
10010 #define HAVE_COSL 1
10013 cat >> confdefs.h <<\EOF
10014 #define HAVE_COSHF 1
10017 cat >> confdefs.h <<\EOF
10018 #define HAVE_COSHL 1
10021 cat >> confdefs.h <<\EOF
10022 #define HAVE_LOGF 1
10025 cat >> confdefs.h <<\EOF
10026 #define HAVE_LOGL 1
10029 cat >> confdefs.h <<\EOF
10030 #define HAVE_LOG10F 1
10033 cat >> confdefs.h <<\EOF
10034 #define HAVE_LOG10L 1
10037 cat >> confdefs.h <<\EOF
10038 #define HAVE_SINF 1
10041 cat >> confdefs.h <<\EOF
10042 #define HAVE_SINL 1
10045 cat >> confdefs.h <<\EOF
10046 #define HAVE_SINHF 1
10049 cat >> confdefs.h <<\EOF
10050 #define HAVE_SINHL 1
10055 os_include_dir="os/newlib"
10056 cat >> confdefs.h <<\EOF
10057 #define HAVE_HYPOT 1
10067 cat >> confdefs.h <<\EOF
10068 #define HAVE_ACOSF 1
10071 cat >> confdefs.h <<\EOF
10072 #define HAVE_ASINF 1
10075 cat >> confdefs.h <<\EOF
10076 #define HAVE_ATAN2F 1
10079 cat >> confdefs.h <<\EOF
10080 #define HAVE_ATANF 1
10083 cat >> confdefs.h <<\EOF
10084 #define HAVE_CEILF 1
10087 cat >> confdefs.h <<\EOF
10088 #define HAVE_COPYSIGN 1
10091 cat >> confdefs.h <<\EOF
10092 #define HAVE_COPYSIGNF 1
10095 cat >> confdefs.h <<\EOF
10096 #define HAVE_COSF 1
10099 cat >> confdefs.h <<\EOF
10100 #define HAVE_COSHF 1
10103 cat >> confdefs.h <<\EOF
10104 #define HAVE_EXPF 1
10107 cat >> confdefs.h <<\EOF
10108 #define HAVE_FABSF 1
10111 cat >> confdefs.h <<\EOF
10112 #define HAVE_FLOORF 1
10115 cat >> confdefs.h <<\EOF
10116 #define HAVE_FMODF 1
10119 cat >> confdefs.h <<\EOF
10120 #define HAVE_FREXPF 1
10123 cat >> confdefs.h <<\EOF
10124 #define HAVE_LDEXPF 1
10127 cat >> confdefs.h <<\EOF
10128 #define HAVE_LOG10F 1
10131 cat >> confdefs.h <<\EOF
10132 #define HAVE_LOGF 1
10135 cat >> confdefs.h <<\EOF
10136 #define HAVE_MODFF 1
10139 cat >> confdefs.h <<\EOF
10140 #define HAVE_POWF 1
10143 cat >> confdefs.h <<\EOF
10144 #define HAVE_SINF 1
10147 cat >> confdefs.h <<\EOF
10148 #define HAVE_SINHF 1
10151 cat >> confdefs.h <<\EOF
10152 #define HAVE_SQRTF 1
10155 cat >> confdefs.h <<\EOF
10156 #define HAVE_TANF 1
10159 cat >> confdefs.h <<\EOF
10160 #define HAVE_TANHF 1
10165 # Must replicate generic section since we don't have strtof or strtold.
10166 cat >> confdefs.h <<\EOF
10167 #define HAVE_MMAP 1
10170 cat >> confdefs.h <<\EOF
10171 #define HAVE_ACOSF 1
10174 cat >> confdefs.h <<\EOF
10175 #define HAVE_ASINF 1
10178 cat >> confdefs.h <<\EOF
10179 #define HAVE_ATAN2F 1
10182 cat >> confdefs.h <<\EOF
10183 #define HAVE_ATANF 1
10186 cat >> confdefs.h <<\EOF
10187 #define HAVE_CEILF 1
10190 cat >> confdefs.h <<\EOF
10191 #define HAVE_COPYSIGN 1
10194 cat >> confdefs.h <<\EOF
10195 #define HAVE_COPYSIGNF 1
10198 cat >> confdefs.h <<\EOF
10199 #define HAVE_COSF 1
10202 cat >> confdefs.h <<\EOF
10203 #define HAVE_COSHF 1
10206 cat >> confdefs.h <<\EOF
10207 #define HAVE_EXPF 1
10210 cat >> confdefs.h <<\EOF
10211 #define HAVE_FABSF 1
10214 cat >> confdefs.h <<\EOF
10215 #define HAVE_FLOORF 1
10218 cat >> confdefs.h <<\EOF
10219 #define HAVE_FMODF 1
10222 cat >> confdefs.h <<\EOF
10223 #define HAVE_FREXPF 1
10226 cat >> confdefs.h <<\EOF
10227 #define HAVE_LDEXPF 1
10230 cat >> confdefs.h <<\EOF
10231 #define HAVE_LOG10F 1
10234 cat >> confdefs.h <<\EOF
10235 #define HAVE_LOGF 1
10238 cat >> confdefs.h <<\EOF
10239 #define HAVE_MODFF 1
10242 cat >> confdefs.h <<\EOF
10243 #define HAVE_POWF 1
10246 cat >> confdefs.h <<\EOF
10247 #define HAVE_SINF 1
10250 cat >> confdefs.h <<\EOF
10251 #define HAVE_SINHF 1
10254 cat >> confdefs.h <<\EOF
10255 #define HAVE_SQRTF 1
10258 cat >> confdefs.h <<\EOF
10259 #define HAVE_TANF 1
10262 cat >> confdefs.h <<\EOF
10263 #define HAVE_TANHF 1
10268 # GLIBCPP_CHECK_STDLIB_SUPPORT
10269 cat >> confdefs.h <<\EOF
10270 #define HAVE_STRTOF 1
10273 cat >> confdefs.h <<\EOF
10274 #define HAVE_STRTOLD 1
10278 cat >> confdefs.h <<\EOF
10279 #define HAVE_MMAP 1
10283 cat >> confdefs.h <<\EOF
10284 #define HAVE_ACOSF 1
10287 cat >> confdefs.h <<\EOF
10288 #define HAVE_ASINF 1
10291 cat >> confdefs.h <<\EOF
10292 #define HAVE_ATAN2F 1
10295 cat >> confdefs.h <<\EOF
10296 #define HAVE_ATANF 1
10299 cat >> confdefs.h <<\EOF
10300 #define HAVE_CEILF 1
10303 cat >> confdefs.h <<\EOF
10304 #define HAVE_COPYSIGN 1
10307 cat >> confdefs.h <<\EOF
10308 #define HAVE_COPYSIGNF 1
10311 cat >> confdefs.h <<\EOF
10312 #define HAVE_COSF 1
10315 cat >> confdefs.h <<\EOF
10316 #define HAVE_COSHF 1
10319 cat >> confdefs.h <<\EOF
10320 #define HAVE_EXPF 1
10323 cat >> confdefs.h <<\EOF
10324 #define HAVE_FABSF 1
10327 cat >> confdefs.h <<\EOF
10328 #define HAVE_FLOORF 1
10331 cat >> confdefs.h <<\EOF
10332 #define HAVE_FMODF 1
10335 cat >> confdefs.h <<\EOF
10336 #define HAVE_FREXPF 1
10339 cat >> confdefs.h <<\EOF
10340 #define HAVE_LDEXPF 1
10343 cat >> confdefs.h <<\EOF
10344 #define HAVE_LOG10F 1
10347 cat >> confdefs.h <<\EOF
10348 #define HAVE_LOGF 1
10351 cat >> confdefs.h <<\EOF
10352 #define HAVE_MODFF 1
10355 cat >> confdefs.h <<\EOF
10356 #define HAVE_POWF 1
10359 cat >> confdefs.h <<\EOF
10360 #define HAVE_SINF 1
10363 cat >> confdefs.h <<\EOF
10364 #define HAVE_SINHF 1
10367 cat >> confdefs.h <<\EOF
10368 #define HAVE_SQRTF 1
10371 cat >> confdefs.h <<\EOF
10372 #define HAVE_TANF 1
10375 cat >> confdefs.h <<\EOF
10376 #define HAVE_TANHF 1
10382 # At some point, we should differentiate between architectures
10383 # like x86, which have long double versions, and alpha/powerpc/etc.,
10384 # which don't. For the time being, punt.
10385 if test x"long_double_math_on_this_cpu" = x"yes"; then
10386 cat >> confdefs.h <<\EOF
10387 #define HAVE_ACOSL 1
10390 cat >> confdefs.h <<\EOF
10391 #define HAVE_ASINL 1
10394 cat >> confdefs.h <<\EOF
10395 #define HAVE_ATAN2L 1
10398 cat >> confdefs.h <<\EOF
10399 #define HAVE_ATANL 1
10402 cat >> confdefs.h <<\EOF
10403 #define HAVE_CEILL 1
10406 cat >> confdefs.h <<\EOF
10407 #define HAVE_COPYSIGNL 1
10410 cat >> confdefs.h <<\EOF
10411 #define HAVE_COSL 1
10414 cat >> confdefs.h <<\EOF
10415 #define HAVE_COSHL 1
10418 cat >> confdefs.h <<\EOF
10419 #define HAVE_EXPL 1
10422 cat >> confdefs.h <<\EOF
10423 #define HAVE_FABSL 1
10426 cat >> confdefs.h <<\EOF
10427 #define HAVE_FLOORL 1
10430 cat >> confdefs.h <<\EOF
10431 #define HAVE_FMODL 1
10434 cat >> confdefs.h <<\EOF
10435 #define HAVE_FREXPL 1
10438 cat >> confdefs.h <<\EOF
10439 #define HAVE_LDEXPL 1
10442 cat >> confdefs.h <<\EOF
10443 #define HAVE_LOG10L 1
10446 cat >> confdefs.h <<\EOF
10447 #define HAVE_LOGL 1
10450 cat >> confdefs.h <<\EOF
10451 #define HAVE_MODFL 1
10454 cat >> confdefs.h <<\EOF
10455 #define HAVE_POWL 1
10458 cat >> confdefs.h <<\EOF
10459 #define HAVE_SINCOSL 1
10462 cat >> confdefs.h <<\EOF
10463 #define HAVE_SINL 1
10466 cat >> confdefs.h <<\EOF
10467 #define HAVE_SINHL 1
10470 cat >> confdefs.h <<\EOF
10471 #define HAVE_SQRTL 1
10474 cat >> confdefs.h <<\EOF
10475 #define HAVE_TANL 1
10478 cat >> confdefs.h <<\EOF
10479 #define HAVE_TANHL 1
10486 # We are being configured natively. We can do more elaborate tests
10487 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10489 GLIBCPP_IS_CROSS_COMPILING=0
10492 # Check for available headers.
10493 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10494 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10496 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10498 echo "configure:10499: checking for $ac_hdr" >&5
10499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10500 echo $ac_n "(cached) $ac_c" 1>&6
10502 cat > conftest.$ac_ext <<EOF
10503 #line 10504 "configure"
10504 #include "confdefs.h"
10507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10508 { (eval echo configure:10509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10510 if test -z "$ac_err"; then
10512 eval "ac_cv_header_$ac_safe=yes"
10515 echo "configure: failed program was:" >&5
10516 cat conftest.$ac_ext >&5
10518 eval "ac_cv_header_$ac_safe=no"
10522 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10523 echo "$ac_t""yes" 1>&6
10524 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10525 cat >> confdefs.h <<EOF
10526 #define $ac_tr_hdr 1
10530 echo "$ac_t""no" 1>&6
10536 # All these tests are for C++; save the language and the compiler flags.
10537 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10538 # found in GLIBCPP_CONFIGURE.
10541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10542 ac_cpp='$CXXCPP $CPPFLAGS'
10543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10545 cross_compiling=$ac_cv_prog_cxx_cross
10547 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10548 ac_save_CXXFLAGS="$CXXFLAGS"
10550 # Check for maintainer-mode bits.
10551 if test x"$USE_MAINTAINER_MODE" = xno; then
10557 # Check for -ffunction-sections -fdata-sections
10558 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10559 echo "configure:10560: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10560 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10561 cat > conftest.$ac_ext <<EOF
10562 #line 10563 "configure"
10563 #include "confdefs.h"
10570 if { (eval echo configure:10571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10574 echo "configure: failed program was:" >&5
10575 cat conftest.$ac_ext >&5
10580 if test "$ac_test_CXXFLAGS" = set; then
10581 CXXFLAGS="$ac_save_CXXFLAGS"
10583 # this is the suspicious part
10586 if test x"$ac_fdsections" = x"yes"; then
10587 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10589 echo "$ac_t""$ac_fdsections" 1>&6
10592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10593 ac_cpp='$CPP $CPPFLAGS'
10594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10596 cross_compiling=$ac_cv_prog_cc_cross
10602 # If we're not using GNU ld, then there's no point in even trying these
10603 # tests. Check for that first. We should have already tested for gld
10604 # by now (in libtool), but require it now just to be safe...
10605 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10606 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10609 # The name set by libtool depends on the version of libtool. Shame on us
10610 # for depending on an impl detail, but c'est la vie. Older versions used
10611 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10612 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10613 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10614 # set (hence we're using an older libtool), then set it.
10615 if test x${with_gnu_ld+set} != xset; then
10616 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10617 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10620 with_gnu_ld=$ac_cv_prog_gnu_ld
10624 # Start by getting the version number. I think the libtool test already
10625 # does some of this, but throws away the result.
10627 ldver=`$LD --version 2>/dev/null | head -1 | \
10628 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10630 glibcpp_gnu_ld_version=`echo $ldver | \
10631 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10633 # Set --gc-sections.
10634 if test "$with_gnu_ld" = "notbroken"; then
10635 # GNU ld it is! Joy and bunny rabbits!
10637 # All these tests are for C++; save the language and the compiler flags.
10638 # Need to do this so that g++ won't try to link in libstdc++
10639 ac_test_CFLAGS="${CFLAGS+set}"
10640 ac_save_CFLAGS="$CFLAGS"
10641 CFLAGS='-x c++ -Wl,--gc-sections'
10643 # Check for -Wl,--gc-sections
10644 # XXX This test is broken at the moment, as symbols required for
10645 # linking are now in libsupc++ (not built yet.....). In addition,
10646 # this test has cored on solaris in the past. In addition,
10647 # --gc-sections doesn't really work at the moment (keeps on discarding
10648 # used sections, first .eh_frame and now some of the glibc sections for
10649 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10650 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10651 echo "configure:10652: checking for ld that supports -Wl,--gc-sections" >&5
10652 if test "$cross_compiling" = yes; then
10653 ac_sectionLDflags=yes
10655 cat > conftest.$ac_ext <<EOF
10656 #line 10657 "configure"
10657 #include "confdefs.h"
10667 if { (eval echo configure:10668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10669 ac_sectionLDflags=yes
10671 echo "configure: failed program was:" >&5
10672 cat conftest.$ac_ext >&5
10674 ac_sectionLDflags=no
10679 if test "$ac_test_CFLAGS" = set; then
10680 CFLAGS="$ac_save_CFLAGS"
10682 # this is the suspicious part
10685 if test "$ac_sectionLDflags" = "yes"; then
10686 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10688 echo "$ac_t""$ac_sectionLDflags" 1>&6
10691 # Set linker optimization flags.
10692 if test x"$with_gnu_ld" = x"yes"; then
10693 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10701 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
10702 echo "configure:10703: checking for __builtin_abs declaration" >&5
10703 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10704 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10705 echo $ac_n "(cached) $ac_c" 1>&6
10710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10711 ac_cpp='$CXXCPP $CPPFLAGS'
10712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10714 cross_compiling=$ac_cv_prog_cxx_cross
10716 cat > conftest.$ac_ext <<EOF
10717 #line 10718 "configure"
10718 #include "confdefs.h"
10724 if { (eval echo configure:10725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10726 glibcpp_cv_func___builtin_abs_use=yes
10728 echo "configure: failed program was:" >&5
10729 cat conftest.$ac_ext >&5
10731 glibcpp_cv_func___builtin_abs_use=no
10735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10736 ac_cpp='$CPP $CPPFLAGS'
10737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10739 cross_compiling=$ac_cv_prog_cc_cross
10745 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10746 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10747 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
10748 echo "configure:10749: checking for __builtin_abs linkage" >&5
10749 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10750 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10751 echo $ac_n "(cached) $ac_c" 1>&6
10754 cat > conftest.$ac_ext <<EOF
10755 #line 10756 "configure"
10756 #include "confdefs.h"
10762 if { (eval echo configure:10763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10764 glibcpp_cv_func___builtin_abs_link=yes
10766 echo "configure: failed program was:" >&5
10767 cat conftest.$ac_ext >&5
10769 glibcpp_cv_func___builtin_abs_link=no
10776 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10777 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10778 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10779 cat >> confdefs.h <<EOF
10780 #define ${ac_tr_func} 1
10787 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
10788 echo "configure:10789: checking for __builtin_fabsf declaration" >&5
10789 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10790 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10791 echo $ac_n "(cached) $ac_c" 1>&6
10796 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10797 ac_cpp='$CXXCPP $CPPFLAGS'
10798 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10799 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10800 cross_compiling=$ac_cv_prog_cxx_cross
10802 cat > conftest.$ac_ext <<EOF
10803 #line 10804 "configure"
10804 #include "confdefs.h"
10807 __builtin_fabsf(0);
10810 if { (eval echo configure:10811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10812 glibcpp_cv_func___builtin_fabsf_use=yes
10814 echo "configure: failed program was:" >&5
10815 cat conftest.$ac_ext >&5
10817 glibcpp_cv_func___builtin_fabsf_use=no
10821 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10822 ac_cpp='$CPP $CPPFLAGS'
10823 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10824 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10825 cross_compiling=$ac_cv_prog_cc_cross
10831 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10832 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10833 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
10834 echo "configure:10835: checking for __builtin_fabsf linkage" >&5
10835 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10836 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10837 echo $ac_n "(cached) $ac_c" 1>&6
10840 cat > conftest.$ac_ext <<EOF
10841 #line 10842 "configure"
10842 #include "confdefs.h"
10845 __builtin_fabsf(0);
10848 if { (eval echo configure:10849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10850 glibcpp_cv_func___builtin_fabsf_link=yes
10852 echo "configure: failed program was:" >&5
10853 cat conftest.$ac_ext >&5
10855 glibcpp_cv_func___builtin_fabsf_link=no
10862 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10863 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10864 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10865 cat >> confdefs.h <<EOF
10866 #define ${ac_tr_func} 1
10873 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
10874 echo "configure:10875: checking for __builtin_fabs declaration" >&5
10875 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10876 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10877 echo $ac_n "(cached) $ac_c" 1>&6
10882 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10883 ac_cpp='$CXXCPP $CPPFLAGS'
10884 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10885 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10886 cross_compiling=$ac_cv_prog_cxx_cross
10888 cat > conftest.$ac_ext <<EOF
10889 #line 10890 "configure"
10890 #include "confdefs.h"
10896 if { (eval echo configure:10897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10898 glibcpp_cv_func___builtin_fabs_use=yes
10900 echo "configure: failed program was:" >&5
10901 cat conftest.$ac_ext >&5
10903 glibcpp_cv_func___builtin_fabs_use=no
10907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10908 ac_cpp='$CPP $CPPFLAGS'
10909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10911 cross_compiling=$ac_cv_prog_cc_cross
10917 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10918 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10919 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
10920 echo "configure:10921: checking for __builtin_fabs linkage" >&5
10921 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10922 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10923 echo $ac_n "(cached) $ac_c" 1>&6
10926 cat > conftest.$ac_ext <<EOF
10927 #line 10928 "configure"
10928 #include "confdefs.h"
10934 if { (eval echo configure:10935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10936 glibcpp_cv_func___builtin_fabs_link=yes
10938 echo "configure: failed program was:" >&5
10939 cat conftest.$ac_ext >&5
10941 glibcpp_cv_func___builtin_fabs_link=no
10948 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10949 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10950 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10951 cat >> confdefs.h <<EOF
10952 #define ${ac_tr_func} 1
10959 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
10960 echo "configure:10961: checking for __builtin_fabsl declaration" >&5
10961 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10962 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10963 echo $ac_n "(cached) $ac_c" 1>&6
10968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10969 ac_cpp='$CXXCPP $CPPFLAGS'
10970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10972 cross_compiling=$ac_cv_prog_cxx_cross
10974 cat > conftest.$ac_ext <<EOF
10975 #line 10976 "configure"
10976 #include "confdefs.h"
10979 __builtin_fabsl(0);
10982 if { (eval echo configure:10983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10984 glibcpp_cv_func___builtin_fabsl_use=yes
10986 echo "configure: failed program was:" >&5
10987 cat conftest.$ac_ext >&5
10989 glibcpp_cv_func___builtin_fabsl_use=no
10993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10994 ac_cpp='$CPP $CPPFLAGS'
10995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10997 cross_compiling=$ac_cv_prog_cc_cross
11003 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
11004 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
11005 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
11006 echo "configure:11007: checking for __builtin_fabsl linkage" >&5
11007 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
11008 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
11009 echo $ac_n "(cached) $ac_c" 1>&6
11012 cat > conftest.$ac_ext <<EOF
11013 #line 11014 "configure"
11014 #include "confdefs.h"
11017 __builtin_fabsl(0);
11020 if { (eval echo configure:11021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11022 glibcpp_cv_func___builtin_fabsl_link=yes
11024 echo "configure: failed program was:" >&5
11025 cat conftest.$ac_ext >&5
11027 glibcpp_cv_func___builtin_fabsl_link=no
11034 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
11035 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
11036 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11037 cat >> confdefs.h <<EOF
11038 #define ${ac_tr_func} 1
11045 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
11046 echo "configure:11047: checking for __builtin_labs declaration" >&5
11047 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
11048 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
11049 echo $ac_n "(cached) $ac_c" 1>&6
11054 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11055 ac_cpp='$CXXCPP $CPPFLAGS'
11056 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11057 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11058 cross_compiling=$ac_cv_prog_cxx_cross
11060 cat > conftest.$ac_ext <<EOF
11061 #line 11062 "configure"
11062 #include "confdefs.h"
11068 if { (eval echo configure:11069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11070 glibcpp_cv_func___builtin_labs_use=yes
11072 echo "configure: failed program was:" >&5
11073 cat conftest.$ac_ext >&5
11075 glibcpp_cv_func___builtin_labs_use=no
11079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11080 ac_cpp='$CPP $CPPFLAGS'
11081 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11082 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11083 cross_compiling=$ac_cv_prog_cc_cross
11089 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
11090 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
11091 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
11092 echo "configure:11093: checking for __builtin_labs linkage" >&5
11093 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
11094 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
11095 echo $ac_n "(cached) $ac_c" 1>&6
11098 cat > conftest.$ac_ext <<EOF
11099 #line 11100 "configure"
11100 #include "confdefs.h"
11106 if { (eval echo configure:11107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11108 glibcpp_cv_func___builtin_labs_link=yes
11110 echo "configure: failed program was:" >&5
11111 cat conftest.$ac_ext >&5
11113 glibcpp_cv_func___builtin_labs_link=no
11120 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
11121 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
11122 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11123 cat >> confdefs.h <<EOF
11124 #define ${ac_tr_func} 1
11132 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
11133 echo "configure:11134: checking for __builtin_sqrtf declaration" >&5
11134 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
11135 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
11136 echo $ac_n "(cached) $ac_c" 1>&6
11141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11142 ac_cpp='$CXXCPP $CPPFLAGS'
11143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11145 cross_compiling=$ac_cv_prog_cxx_cross
11147 cat > conftest.$ac_ext <<EOF
11148 #line 11149 "configure"
11149 #include "confdefs.h"
11152 __builtin_sqrtf(0);
11155 if { (eval echo configure:11156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11157 glibcpp_cv_func___builtin_sqrtf_use=yes
11159 echo "configure: failed program was:" >&5
11160 cat conftest.$ac_ext >&5
11162 glibcpp_cv_func___builtin_sqrtf_use=no
11166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11167 ac_cpp='$CPP $CPPFLAGS'
11168 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11169 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11170 cross_compiling=$ac_cv_prog_cc_cross
11176 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
11177 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
11178 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
11179 echo "configure:11180: checking for __builtin_sqrtf linkage" >&5
11180 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
11181 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
11182 echo $ac_n "(cached) $ac_c" 1>&6
11185 cat > conftest.$ac_ext <<EOF
11186 #line 11187 "configure"
11187 #include "confdefs.h"
11190 __builtin_sqrtf(0);
11193 if { (eval echo configure:11194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11195 glibcpp_cv_func___builtin_sqrtf_link=yes
11197 echo "configure: failed program was:" >&5
11198 cat conftest.$ac_ext >&5
11200 glibcpp_cv_func___builtin_sqrtf_link=no
11207 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11208 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11209 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11210 cat >> confdefs.h <<EOF
11211 #define ${ac_tr_func} 1
11218 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
11219 echo "configure:11220: checking for __builtin_sqrt declaration" >&5
11220 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11221 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11222 echo $ac_n "(cached) $ac_c" 1>&6
11227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11228 ac_cpp='$CXXCPP $CPPFLAGS'
11229 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11230 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11231 cross_compiling=$ac_cv_prog_cxx_cross
11233 cat > conftest.$ac_ext <<EOF
11234 #line 11235 "configure"
11235 #include "confdefs.h"
11241 if { (eval echo configure:11242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11243 glibcpp_cv_func___builtin_sqrt_use=yes
11245 echo "configure: failed program was:" >&5
11246 cat conftest.$ac_ext >&5
11248 glibcpp_cv_func___builtin_sqrt_use=no
11252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11253 ac_cpp='$CPP $CPPFLAGS'
11254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11256 cross_compiling=$ac_cv_prog_cc_cross
11262 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11263 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11264 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
11265 echo "configure:11266: checking for __builtin_sqrt linkage" >&5
11266 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11267 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11268 echo $ac_n "(cached) $ac_c" 1>&6
11271 cat > conftest.$ac_ext <<EOF
11272 #line 11273 "configure"
11273 #include "confdefs.h"
11279 if { (eval echo configure:11280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11281 glibcpp_cv_func___builtin_sqrt_link=yes
11283 echo "configure: failed program was:" >&5
11284 cat conftest.$ac_ext >&5
11286 glibcpp_cv_func___builtin_sqrt_link=no
11293 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11294 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11295 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11296 cat >> confdefs.h <<EOF
11297 #define ${ac_tr_func} 1
11304 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
11305 echo "configure:11306: checking for __builtin_sqrtl declaration" >&5
11306 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11307 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11308 echo $ac_n "(cached) $ac_c" 1>&6
11313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11314 ac_cpp='$CXXCPP $CPPFLAGS'
11315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11317 cross_compiling=$ac_cv_prog_cxx_cross
11319 cat > conftest.$ac_ext <<EOF
11320 #line 11321 "configure"
11321 #include "confdefs.h"
11324 __builtin_sqrtl(0);
11327 if { (eval echo configure:11328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11329 glibcpp_cv_func___builtin_sqrtl_use=yes
11331 echo "configure: failed program was:" >&5
11332 cat conftest.$ac_ext >&5
11334 glibcpp_cv_func___builtin_sqrtl_use=no
11338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11339 ac_cpp='$CPP $CPPFLAGS'
11340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11342 cross_compiling=$ac_cv_prog_cc_cross
11348 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11349 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11350 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
11351 echo "configure:11352: checking for __builtin_sqrtl linkage" >&5
11352 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11353 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11354 echo $ac_n "(cached) $ac_c" 1>&6
11357 cat > conftest.$ac_ext <<EOF
11358 #line 11359 "configure"
11359 #include "confdefs.h"
11362 __builtin_sqrtl(0);
11365 if { (eval echo configure:11366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11367 glibcpp_cv_func___builtin_sqrtl_link=yes
11369 echo "configure: failed program was:" >&5
11370 cat conftest.$ac_ext >&5
11372 glibcpp_cv_func___builtin_sqrtl_link=no
11379 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11380 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11381 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11382 cat >> confdefs.h <<EOF
11383 #define ${ac_tr_func} 1
11391 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
11392 echo "configure:11393: checking for __builtin_sinf declaration" >&5
11393 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11394 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11395 echo $ac_n "(cached) $ac_c" 1>&6
11400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11401 ac_cpp='$CXXCPP $CPPFLAGS'
11402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11404 cross_compiling=$ac_cv_prog_cxx_cross
11406 cat > conftest.$ac_ext <<EOF
11407 #line 11408 "configure"
11408 #include "confdefs.h"
11414 if { (eval echo configure:11415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11416 glibcpp_cv_func___builtin_sinf_use=yes
11418 echo "configure: failed program was:" >&5
11419 cat conftest.$ac_ext >&5
11421 glibcpp_cv_func___builtin_sinf_use=no
11425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11426 ac_cpp='$CPP $CPPFLAGS'
11427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11429 cross_compiling=$ac_cv_prog_cc_cross
11435 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11436 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11437 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
11438 echo "configure:11439: checking for __builtin_sinf linkage" >&5
11439 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11440 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11441 echo $ac_n "(cached) $ac_c" 1>&6
11444 cat > conftest.$ac_ext <<EOF
11445 #line 11446 "configure"
11446 #include "confdefs.h"
11452 if { (eval echo configure:11453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11454 glibcpp_cv_func___builtin_sinf_link=yes
11456 echo "configure: failed program was:" >&5
11457 cat conftest.$ac_ext >&5
11459 glibcpp_cv_func___builtin_sinf_link=no
11466 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11467 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11468 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11469 cat >> confdefs.h <<EOF
11470 #define ${ac_tr_func} 1
11477 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
11478 echo "configure:11479: checking for __builtin_sin declaration" >&5
11479 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11480 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11481 echo $ac_n "(cached) $ac_c" 1>&6
11486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11487 ac_cpp='$CXXCPP $CPPFLAGS'
11488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11490 cross_compiling=$ac_cv_prog_cxx_cross
11492 cat > conftest.$ac_ext <<EOF
11493 #line 11494 "configure"
11494 #include "confdefs.h"
11500 if { (eval echo configure:11501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11502 glibcpp_cv_func___builtin_sin_use=yes
11504 echo "configure: failed program was:" >&5
11505 cat conftest.$ac_ext >&5
11507 glibcpp_cv_func___builtin_sin_use=no
11511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11512 ac_cpp='$CPP $CPPFLAGS'
11513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11515 cross_compiling=$ac_cv_prog_cc_cross
11521 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11522 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11523 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
11524 echo "configure:11525: checking for __builtin_sin linkage" >&5
11525 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11526 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11527 echo $ac_n "(cached) $ac_c" 1>&6
11530 cat > conftest.$ac_ext <<EOF
11531 #line 11532 "configure"
11532 #include "confdefs.h"
11538 if { (eval echo configure:11539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11540 glibcpp_cv_func___builtin_sin_link=yes
11542 echo "configure: failed program was:" >&5
11543 cat conftest.$ac_ext >&5
11545 glibcpp_cv_func___builtin_sin_link=no
11552 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11553 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11554 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11555 cat >> confdefs.h <<EOF
11556 #define ${ac_tr_func} 1
11563 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
11564 echo "configure:11565: checking for __builtin_sinl declaration" >&5
11565 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11566 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
11567 echo $ac_n "(cached) $ac_c" 1>&6
11572 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11573 ac_cpp='$CXXCPP $CPPFLAGS'
11574 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11575 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11576 cross_compiling=$ac_cv_prog_cxx_cross
11578 cat > conftest.$ac_ext <<EOF
11579 #line 11580 "configure"
11580 #include "confdefs.h"
11586 if { (eval echo configure:11587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11588 glibcpp_cv_func___builtin_sinl_use=yes
11590 echo "configure: failed program was:" >&5
11591 cat conftest.$ac_ext >&5
11593 glibcpp_cv_func___builtin_sinl_use=no
11597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11598 ac_cpp='$CPP $CPPFLAGS'
11599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11601 cross_compiling=$ac_cv_prog_cc_cross
11607 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
11608 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11609 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
11610 echo "configure:11611: checking for __builtin_sinl linkage" >&5
11611 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11612 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11613 echo $ac_n "(cached) $ac_c" 1>&6
11616 cat > conftest.$ac_ext <<EOF
11617 #line 11618 "configure"
11618 #include "confdefs.h"
11624 if { (eval echo configure:11625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11626 glibcpp_cv_func___builtin_sinl_link=yes
11628 echo "configure: failed program was:" >&5
11629 cat conftest.$ac_ext >&5
11631 glibcpp_cv_func___builtin_sinl_link=no
11638 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11639 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11640 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11641 cat >> confdefs.h <<EOF
11642 #define ${ac_tr_func} 1
11650 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
11651 echo "configure:11652: checking for __builtin_cosf declaration" >&5
11652 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11653 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11654 echo $ac_n "(cached) $ac_c" 1>&6
11659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11660 ac_cpp='$CXXCPP $CPPFLAGS'
11661 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11662 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11663 cross_compiling=$ac_cv_prog_cxx_cross
11665 cat > conftest.$ac_ext <<EOF
11666 #line 11667 "configure"
11667 #include "confdefs.h"
11673 if { (eval echo configure:11674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11675 glibcpp_cv_func___builtin_cosf_use=yes
11677 echo "configure: failed program was:" >&5
11678 cat conftest.$ac_ext >&5
11680 glibcpp_cv_func___builtin_cosf_use=no
11684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11685 ac_cpp='$CPP $CPPFLAGS'
11686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11688 cross_compiling=$ac_cv_prog_cc_cross
11694 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11695 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11696 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
11697 echo "configure:11698: checking for __builtin_cosf linkage" >&5
11698 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11699 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11700 echo $ac_n "(cached) $ac_c" 1>&6
11703 cat > conftest.$ac_ext <<EOF
11704 #line 11705 "configure"
11705 #include "confdefs.h"
11711 if { (eval echo configure:11712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11713 glibcpp_cv_func___builtin_cosf_link=yes
11715 echo "configure: failed program was:" >&5
11716 cat conftest.$ac_ext >&5
11718 glibcpp_cv_func___builtin_cosf_link=no
11725 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11726 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11727 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11728 cat >> confdefs.h <<EOF
11729 #define ${ac_tr_func} 1
11736 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
11737 echo "configure:11738: checking for __builtin_cos declaration" >&5
11738 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11739 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11740 echo $ac_n "(cached) $ac_c" 1>&6
11745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11746 ac_cpp='$CXXCPP $CPPFLAGS'
11747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11749 cross_compiling=$ac_cv_prog_cxx_cross
11751 cat > conftest.$ac_ext <<EOF
11752 #line 11753 "configure"
11753 #include "confdefs.h"
11759 if { (eval echo configure:11760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11761 glibcpp_cv_func___builtin_cos_use=yes
11763 echo "configure: failed program was:" >&5
11764 cat conftest.$ac_ext >&5
11766 glibcpp_cv_func___builtin_cos_use=no
11770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11771 ac_cpp='$CPP $CPPFLAGS'
11772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11774 cross_compiling=$ac_cv_prog_cc_cross
11780 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11781 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11782 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
11783 echo "configure:11784: checking for __builtin_cos linkage" >&5
11784 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11785 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11786 echo $ac_n "(cached) $ac_c" 1>&6
11789 cat > conftest.$ac_ext <<EOF
11790 #line 11791 "configure"
11791 #include "confdefs.h"
11797 if { (eval echo configure:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11799 glibcpp_cv_func___builtin_cos_link=yes
11801 echo "configure: failed program was:" >&5
11802 cat conftest.$ac_ext >&5
11804 glibcpp_cv_func___builtin_cos_link=no
11811 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11812 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11813 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11814 cat >> confdefs.h <<EOF
11815 #define ${ac_tr_func} 1
11822 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
11823 echo "configure:11824: checking for __builtin_cosl declaration" >&5
11824 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11825 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11826 echo $ac_n "(cached) $ac_c" 1>&6
11831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11832 ac_cpp='$CXXCPP $CPPFLAGS'
11833 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11834 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11835 cross_compiling=$ac_cv_prog_cxx_cross
11837 cat > conftest.$ac_ext <<EOF
11838 #line 11839 "configure"
11839 #include "confdefs.h"
11845 if { (eval echo configure:11846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11847 glibcpp_cv_func___builtin_cosl_use=yes
11849 echo "configure: failed program was:" >&5
11850 cat conftest.$ac_ext >&5
11852 glibcpp_cv_func___builtin_cosl_use=no
11856 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11857 ac_cpp='$CPP $CPPFLAGS'
11858 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11859 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11860 cross_compiling=$ac_cv_prog_cc_cross
11866 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11867 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11868 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
11869 echo "configure:11870: checking for __builtin_cosl linkage" >&5
11870 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11871 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11872 echo $ac_n "(cached) $ac_c" 1>&6
11875 cat > conftest.$ac_ext <<EOF
11876 #line 11877 "configure"
11877 #include "confdefs.h"
11883 if { (eval echo configure:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11885 glibcpp_cv_func___builtin_cosl_link=yes
11887 echo "configure: failed program was:" >&5
11888 cat conftest.$ac_ext >&5
11890 glibcpp_cv_func___builtin_cosl_link=no
11897 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11898 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11899 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11900 cat >> confdefs.h <<EOF
11901 #define ${ac_tr_func} 1
11909 if test x$dummyvar = x"yes"; then
11910 cat >> confdefs.h <<\EOF
11911 #define HAVE___BUILTIN_ABS 1
11914 cat >> confdefs.h <<\EOF
11915 #define HAVE___BUILTIN_LABS 1
11918 cat >> confdefs.h <<\EOF
11919 #define HAVE___BUILTIN_COS 1
11922 cat >> confdefs.h <<\EOF
11923 #define HAVE___BUILTIN_COSF 1
11926 cat >> confdefs.h <<\EOF
11927 #define HAVE___BUILTIN_COSL 1
11930 cat >> confdefs.h <<\EOF
11931 #define HAVE___BUILTIN_FABS 1
11934 cat >> confdefs.h <<\EOF
11935 #define HAVE___BUILTIN_FABSF 1
11938 cat >> confdefs.h <<\EOF
11939 #define HAVE___BUILTIN_FABSL 1
11942 cat >> confdefs.h <<\EOF
11943 #define HAVE___BUILTIN_SIN 1
11946 cat >> confdefs.h <<\EOF
11947 #define HAVE___BUILTIN_SINF 1
11950 cat >> confdefs.h <<\EOF
11951 #define HAVE___BUILTIN_SINL 1
11954 cat >> confdefs.h <<\EOF
11955 #define HAVE___BUILTIN_SQRT 1
11958 cat >> confdefs.h <<\EOF
11959 #define HAVE___BUILTIN_SQRTF 1
11962 cat >> confdefs.h <<\EOF
11963 #define HAVE___BUILTIN_SQRTL 1
11969 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11970 ac_save_CXXFLAGS="$CXXFLAGS"
11971 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
11973 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
11974 echo "configure:11975: checking for sin in -lm" >&5
11975 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11976 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11977 echo $ac_n "(cached) $ac_c" 1>&6
11979 ac_save_LIBS="$LIBS"
11981 cat > conftest.$ac_ext <<EOF
11982 #line 11983 "configure"
11983 #include "confdefs.h"
11984 /* Override any gcc2 internal prototype to avoid an error. */
11985 /* We use char because int might match the return type of a gcc2
11986 builtin and then its argument prototype would still apply. */
11993 if { (eval echo configure:11994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11995 eval "ac_cv_lib_$ac_lib_var=yes"
11997 echo "configure: failed program was:" >&5
11998 cat conftest.$ac_ext >&5
12000 eval "ac_cv_lib_$ac_lib_var=no"
12003 LIBS="$ac_save_LIBS"
12006 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12007 echo "$ac_t""yes" 1>&6
12010 echo "$ac_t""no" 1>&6
12013 ac_save_LIBS="$LIBS"
12018 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
12019 echo "configure:12020: checking for isinf declaration" >&5
12020 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
12021 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
12022 echo $ac_n "(cached) $ac_c" 1>&6
12027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12028 ac_cpp='$CXXCPP $CPPFLAGS'
12029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12031 cross_compiling=$ac_cv_prog_cxx_cross
12033 cat > conftest.$ac_ext <<EOF
12034 #line 12035 "configure"
12035 #include "confdefs.h"
12037 #ifdef HAVE_IEEEFP_H
12038 #include <ieeefp.h>
12045 if { (eval echo configure:12046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12047 glibcpp_cv_func_isinf_use=yes
12049 echo "configure: failed program was:" >&5
12050 cat conftest.$ac_ext >&5
12052 glibcpp_cv_func_isinf_use=no
12056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12057 ac_cpp='$CPP $CPPFLAGS'
12058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12060 cross_compiling=$ac_cv_prog_cc_cross
12066 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
12068 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
12069 for ac_func in isinf
12071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12072 echo "configure:12073: checking for $ac_func" >&5
12073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12074 echo $ac_n "(cached) $ac_c" 1>&6
12076 cat > conftest.$ac_ext <<EOF
12077 #line 12078 "configure"
12078 #include "confdefs.h"
12079 /* System header to define __stub macros and hopefully few prototypes,
12080 which can conflict with char $ac_func(); below. */
12081 #include <assert.h>
12082 /* Override any gcc2 internal prototype to avoid an error. */
12083 /* We use char because int might match the return type of a gcc2
12084 builtin and then its argument prototype would still apply. */
12089 /* The GNU C library defines this for functions which it implements
12090 to always fail with ENOSYS. Some functions are actually named
12091 something starting with __ and the normal name is an alias. */
12092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12100 if { (eval echo configure:12101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12102 eval "ac_cv_func_$ac_func=yes"
12104 echo "configure: failed program was:" >&5
12105 cat conftest.$ac_ext >&5
12107 eval "ac_cv_func_$ac_func=no"
12112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12113 echo "$ac_t""yes" 1>&6
12114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12115 cat >> confdefs.h <<EOF
12116 #define $ac_tr_func 1
12120 echo "$ac_t""no" 1>&6
12126 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
12127 echo "configure:12128: checking for _isinf declaration" >&5
12128 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
12129 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
12130 echo $ac_n "(cached) $ac_c" 1>&6
12135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12136 ac_cpp='$CXXCPP $CPPFLAGS'
12137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12139 cross_compiling=$ac_cv_prog_cxx_cross
12141 cat > conftest.$ac_ext <<EOF
12142 #line 12143 "configure"
12143 #include "confdefs.h"
12145 #ifdef HAVE_IEEEFP_H
12146 #include <ieeefp.h>
12153 if { (eval echo configure:12154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12155 glibcpp_cv_func__isinf_use=yes
12157 echo "configure: failed program was:" >&5
12158 cat conftest.$ac_ext >&5
12160 glibcpp_cv_func__isinf_use=no
12164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12165 ac_cpp='$CPP $CPPFLAGS'
12166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12168 cross_compiling=$ac_cv_prog_cc_cross
12174 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
12176 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
12177 for ac_func in _isinf
12179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12180 echo "configure:12181: checking for $ac_func" >&5
12181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12182 echo $ac_n "(cached) $ac_c" 1>&6
12184 cat > conftest.$ac_ext <<EOF
12185 #line 12186 "configure"
12186 #include "confdefs.h"
12187 /* System header to define __stub macros and hopefully few prototypes,
12188 which can conflict with char $ac_func(); below. */
12189 #include <assert.h>
12190 /* Override any gcc2 internal prototype to avoid an error. */
12191 /* We use char because int might match the return type of a gcc2
12192 builtin and then its argument prototype would still apply. */
12197 /* The GNU C library defines this for functions which it implements
12198 to always fail with ENOSYS. Some functions are actually named
12199 something starting with __ and the normal name is an alias. */
12200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12208 if { (eval echo configure:12209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12210 eval "ac_cv_func_$ac_func=yes"
12212 echo "configure: failed program was:" >&5
12213 cat conftest.$ac_ext >&5
12215 eval "ac_cv_func_$ac_func=no"
12220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12221 echo "$ac_t""yes" 1>&6
12222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12223 cat >> confdefs.h <<EOF
12224 #define $ac_tr_func 1
12228 echo "$ac_t""no" 1>&6
12237 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
12238 echo "configure:12239: checking for isnan declaration" >&5
12239 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12240 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12241 echo $ac_n "(cached) $ac_c" 1>&6
12246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12247 ac_cpp='$CXXCPP $CPPFLAGS'
12248 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12249 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12250 cross_compiling=$ac_cv_prog_cxx_cross
12252 cat > conftest.$ac_ext <<EOF
12253 #line 12254 "configure"
12254 #include "confdefs.h"
12256 #ifdef HAVE_IEEEFP_H
12257 #include <ieeefp.h>
12264 if { (eval echo configure:12265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12266 glibcpp_cv_func_isnan_use=yes
12268 echo "configure: failed program was:" >&5
12269 cat conftest.$ac_ext >&5
12271 glibcpp_cv_func_isnan_use=no
12275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12276 ac_cpp='$CPP $CPPFLAGS'
12277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12279 cross_compiling=$ac_cv_prog_cc_cross
12285 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12287 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12288 for ac_func in isnan
12290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12291 echo "configure:12292: checking for $ac_func" >&5
12292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12293 echo $ac_n "(cached) $ac_c" 1>&6
12295 cat > conftest.$ac_ext <<EOF
12296 #line 12297 "configure"
12297 #include "confdefs.h"
12298 /* System header to define __stub macros and hopefully few prototypes,
12299 which can conflict with char $ac_func(); below. */
12300 #include <assert.h>
12301 /* Override any gcc2 internal prototype to avoid an error. */
12302 /* We use char because int might match the return type of a gcc2
12303 builtin and then its argument prototype would still apply. */
12308 /* The GNU C library defines this for functions which it implements
12309 to always fail with ENOSYS. Some functions are actually named
12310 something starting with __ and the normal name is an alias. */
12311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12319 if { (eval echo configure:12320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12321 eval "ac_cv_func_$ac_func=yes"
12323 echo "configure: failed program was:" >&5
12324 cat conftest.$ac_ext >&5
12326 eval "ac_cv_func_$ac_func=no"
12331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12332 echo "$ac_t""yes" 1>&6
12333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12334 cat >> confdefs.h <<EOF
12335 #define $ac_tr_func 1
12339 echo "$ac_t""no" 1>&6
12345 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
12346 echo "configure:12347: checking for _isnan declaration" >&5
12347 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12348 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12349 echo $ac_n "(cached) $ac_c" 1>&6
12354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12355 ac_cpp='$CXXCPP $CPPFLAGS'
12356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12358 cross_compiling=$ac_cv_prog_cxx_cross
12360 cat > conftest.$ac_ext <<EOF
12361 #line 12362 "configure"
12362 #include "confdefs.h"
12364 #ifdef HAVE_IEEEFP_H
12365 #include <ieeefp.h>
12372 if { (eval echo configure:12373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12374 glibcpp_cv_func__isnan_use=yes
12376 echo "configure: failed program was:" >&5
12377 cat conftest.$ac_ext >&5
12379 glibcpp_cv_func__isnan_use=no
12383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12384 ac_cpp='$CPP $CPPFLAGS'
12385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12387 cross_compiling=$ac_cv_prog_cc_cross
12393 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12395 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12396 for ac_func in _isnan
12398 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12399 echo "configure:12400: checking for $ac_func" >&5
12400 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12401 echo $ac_n "(cached) $ac_c" 1>&6
12403 cat > conftest.$ac_ext <<EOF
12404 #line 12405 "configure"
12405 #include "confdefs.h"
12406 /* System header to define __stub macros and hopefully few prototypes,
12407 which can conflict with char $ac_func(); below. */
12408 #include <assert.h>
12409 /* Override any gcc2 internal prototype to avoid an error. */
12410 /* We use char because int might match the return type of a gcc2
12411 builtin and then its argument prototype would still apply. */
12416 /* The GNU C library defines this for functions which it implements
12417 to always fail with ENOSYS. Some functions are actually named
12418 something starting with __ and the normal name is an alias. */
12419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12427 if { (eval echo configure:12428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12429 eval "ac_cv_func_$ac_func=yes"
12431 echo "configure: failed program was:" >&5
12432 cat conftest.$ac_ext >&5
12434 eval "ac_cv_func_$ac_func=no"
12439 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12440 echo "$ac_t""yes" 1>&6
12441 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12442 cat >> confdefs.h <<EOF
12443 #define $ac_tr_func 1
12447 echo "$ac_t""no" 1>&6
12456 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
12457 echo "configure:12458: checking for finite declaration" >&5
12458 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12459 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12460 echo $ac_n "(cached) $ac_c" 1>&6
12465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12466 ac_cpp='$CXXCPP $CPPFLAGS'
12467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12469 cross_compiling=$ac_cv_prog_cxx_cross
12471 cat > conftest.$ac_ext <<EOF
12472 #line 12473 "configure"
12473 #include "confdefs.h"
12475 #ifdef HAVE_IEEEFP_H
12476 #include <ieeefp.h>
12483 if { (eval echo configure:12484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12485 glibcpp_cv_func_finite_use=yes
12487 echo "configure: failed program was:" >&5
12488 cat conftest.$ac_ext >&5
12490 glibcpp_cv_func_finite_use=no
12494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12495 ac_cpp='$CPP $CPPFLAGS'
12496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12498 cross_compiling=$ac_cv_prog_cc_cross
12504 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12506 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12507 for ac_func in finite
12509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12510 echo "configure:12511: checking for $ac_func" >&5
12511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12512 echo $ac_n "(cached) $ac_c" 1>&6
12514 cat > conftest.$ac_ext <<EOF
12515 #line 12516 "configure"
12516 #include "confdefs.h"
12517 /* System header to define __stub macros and hopefully few prototypes,
12518 which can conflict with char $ac_func(); below. */
12519 #include <assert.h>
12520 /* Override any gcc2 internal prototype to avoid an error. */
12521 /* We use char because int might match the return type of a gcc2
12522 builtin and then its argument prototype would still apply. */
12527 /* The GNU C library defines this for functions which it implements
12528 to always fail with ENOSYS. Some functions are actually named
12529 something starting with __ and the normal name is an alias. */
12530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12538 if { (eval echo configure:12539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12540 eval "ac_cv_func_$ac_func=yes"
12542 echo "configure: failed program was:" >&5
12543 cat conftest.$ac_ext >&5
12545 eval "ac_cv_func_$ac_func=no"
12550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12551 echo "$ac_t""yes" 1>&6
12552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12553 cat >> confdefs.h <<EOF
12554 #define $ac_tr_func 1
12558 echo "$ac_t""no" 1>&6
12564 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
12565 echo "configure:12566: checking for _finite declaration" >&5
12566 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12567 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12568 echo $ac_n "(cached) $ac_c" 1>&6
12573 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12574 ac_cpp='$CXXCPP $CPPFLAGS'
12575 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12576 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12577 cross_compiling=$ac_cv_prog_cxx_cross
12579 cat > conftest.$ac_ext <<EOF
12580 #line 12581 "configure"
12581 #include "confdefs.h"
12583 #ifdef HAVE_IEEEFP_H
12584 #include <ieeefp.h>
12591 if { (eval echo configure:12592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12593 glibcpp_cv_func__finite_use=yes
12595 echo "configure: failed program was:" >&5
12596 cat conftest.$ac_ext >&5
12598 glibcpp_cv_func__finite_use=no
12602 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12603 ac_cpp='$CPP $CPPFLAGS'
12604 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12605 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12606 cross_compiling=$ac_cv_prog_cc_cross
12612 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12614 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12615 for ac_func in _finite
12617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12618 echo "configure:12619: checking for $ac_func" >&5
12619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12620 echo $ac_n "(cached) $ac_c" 1>&6
12622 cat > conftest.$ac_ext <<EOF
12623 #line 12624 "configure"
12624 #include "confdefs.h"
12625 /* System header to define __stub macros and hopefully few prototypes,
12626 which can conflict with char $ac_func(); below. */
12627 #include <assert.h>
12628 /* Override any gcc2 internal prototype to avoid an error. */
12629 /* We use char because int might match the return type of a gcc2
12630 builtin and then its argument prototype would still apply. */
12635 /* The GNU C library defines this for functions which it implements
12636 to always fail with ENOSYS. Some functions are actually named
12637 something starting with __ and the normal name is an alias. */
12638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12646 if { (eval echo configure:12647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12648 eval "ac_cv_func_$ac_func=yes"
12650 echo "configure: failed program was:" >&5
12651 cat conftest.$ac_ext >&5
12653 eval "ac_cv_func_$ac_func=no"
12658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12659 echo "$ac_t""yes" 1>&6
12660 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12661 cat >> confdefs.h <<EOF
12662 #define $ac_tr_func 1
12666 echo "$ac_t""no" 1>&6
12675 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
12676 echo "configure:12677: checking for copysign declaration" >&5
12677 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12678 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12679 echo $ac_n "(cached) $ac_c" 1>&6
12684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12685 ac_cpp='$CXXCPP $CPPFLAGS'
12686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12688 cross_compiling=$ac_cv_prog_cxx_cross
12690 cat > conftest.$ac_ext <<EOF
12691 #line 12692 "configure"
12692 #include "confdefs.h"
12698 if { (eval echo configure:12699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12700 glibcpp_cv_func_copysign_use=yes
12702 echo "configure: failed program was:" >&5
12703 cat conftest.$ac_ext >&5
12705 glibcpp_cv_func_copysign_use=no
12709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12710 ac_cpp='$CPP $CPPFLAGS'
12711 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12712 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12713 cross_compiling=$ac_cv_prog_cc_cross
12719 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12721 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12722 for ac_func in copysign
12724 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12725 echo "configure:12726: checking for $ac_func" >&5
12726 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12727 echo $ac_n "(cached) $ac_c" 1>&6
12729 cat > conftest.$ac_ext <<EOF
12730 #line 12731 "configure"
12731 #include "confdefs.h"
12732 /* System header to define __stub macros and hopefully few prototypes,
12733 which can conflict with char $ac_func(); below. */
12734 #include <assert.h>
12735 /* Override any gcc2 internal prototype to avoid an error. */
12736 /* We use char because int might match the return type of a gcc2
12737 builtin and then its argument prototype would still apply. */
12742 /* The GNU C library defines this for functions which it implements
12743 to always fail with ENOSYS. Some functions are actually named
12744 something starting with __ and the normal name is an alias. */
12745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12753 if { (eval echo configure:12754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12755 eval "ac_cv_func_$ac_func=yes"
12757 echo "configure: failed program was:" >&5
12758 cat conftest.$ac_ext >&5
12760 eval "ac_cv_func_$ac_func=no"
12765 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12766 echo "$ac_t""yes" 1>&6
12767 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12768 cat >> confdefs.h <<EOF
12769 #define $ac_tr_func 1
12773 echo "$ac_t""no" 1>&6
12779 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
12780 echo "configure:12781: checking for _copysign declaration" >&5
12781 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12782 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12783 echo $ac_n "(cached) $ac_c" 1>&6
12788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12789 ac_cpp='$CXXCPP $CPPFLAGS'
12790 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12791 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12792 cross_compiling=$ac_cv_prog_cxx_cross
12794 cat > conftest.$ac_ext <<EOF
12795 #line 12796 "configure"
12796 #include "confdefs.h"
12802 if { (eval echo configure:12803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12804 glibcpp_cv_func__copysign_use=yes
12806 echo "configure: failed program was:" >&5
12807 cat conftest.$ac_ext >&5
12809 glibcpp_cv_func__copysign_use=no
12813 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12814 ac_cpp='$CPP $CPPFLAGS'
12815 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12816 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12817 cross_compiling=$ac_cv_prog_cc_cross
12823 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12825 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12826 for ac_func in _copysign
12828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12829 echo "configure:12830: checking for $ac_func" >&5
12830 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12831 echo $ac_n "(cached) $ac_c" 1>&6
12833 cat > conftest.$ac_ext <<EOF
12834 #line 12835 "configure"
12835 #include "confdefs.h"
12836 /* System header to define __stub macros and hopefully few prototypes,
12837 which can conflict with char $ac_func(); below. */
12838 #include <assert.h>
12839 /* Override any gcc2 internal prototype to avoid an error. */
12840 /* We use char because int might match the return type of a gcc2
12841 builtin and then its argument prototype would still apply. */
12846 /* The GNU C library defines this for functions which it implements
12847 to always fail with ENOSYS. Some functions are actually named
12848 something starting with __ and the normal name is an alias. */
12849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12857 if { (eval echo configure:12858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12859 eval "ac_cv_func_$ac_func=yes"
12861 echo "configure: failed program was:" >&5
12862 cat conftest.$ac_ext >&5
12864 eval "ac_cv_func_$ac_func=no"
12869 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12870 echo "$ac_t""yes" 1>&6
12871 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12872 cat >> confdefs.h <<EOF
12873 #define $ac_tr_func 1
12877 echo "$ac_t""no" 1>&6
12886 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
12887 echo "configure:12888: checking for sincos declaration" >&5
12888 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12889 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12890 echo $ac_n "(cached) $ac_c" 1>&6
12895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12896 ac_cpp='$CXXCPP $CPPFLAGS'
12897 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12898 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12899 cross_compiling=$ac_cv_prog_cxx_cross
12901 cat > conftest.$ac_ext <<EOF
12902 #line 12903 "configure"
12903 #include "confdefs.h"
12909 if { (eval echo configure:12910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12911 glibcpp_cv_func_sincos_use=yes
12913 echo "configure: failed program was:" >&5
12914 cat conftest.$ac_ext >&5
12916 glibcpp_cv_func_sincos_use=no
12920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12921 ac_cpp='$CPP $CPPFLAGS'
12922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12924 cross_compiling=$ac_cv_prog_cc_cross
12930 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12932 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12933 for ac_func in sincos
12935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12936 echo "configure:12937: checking for $ac_func" >&5
12937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12938 echo $ac_n "(cached) $ac_c" 1>&6
12940 cat > conftest.$ac_ext <<EOF
12941 #line 12942 "configure"
12942 #include "confdefs.h"
12943 /* System header to define __stub macros and hopefully few prototypes,
12944 which can conflict with char $ac_func(); below. */
12945 #include <assert.h>
12946 /* Override any gcc2 internal prototype to avoid an error. */
12947 /* We use char because int might match the return type of a gcc2
12948 builtin and then its argument prototype would still apply. */
12953 /* The GNU C library defines this for functions which it implements
12954 to always fail with ENOSYS. Some functions are actually named
12955 something starting with __ and the normal name is an alias. */
12956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12964 if { (eval echo configure:12965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12966 eval "ac_cv_func_$ac_func=yes"
12968 echo "configure: failed program was:" >&5
12969 cat conftest.$ac_ext >&5
12971 eval "ac_cv_func_$ac_func=no"
12976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12977 echo "$ac_t""yes" 1>&6
12978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12979 cat >> confdefs.h <<EOF
12980 #define $ac_tr_func 1
12984 echo "$ac_t""no" 1>&6
12990 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
12991 echo "configure:12992: checking for _sincos declaration" >&5
12992 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
12993 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
12994 echo $ac_n "(cached) $ac_c" 1>&6
12999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13000 ac_cpp='$CXXCPP $CPPFLAGS'
13001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13003 cross_compiling=$ac_cv_prog_cxx_cross
13005 cat > conftest.$ac_ext <<EOF
13006 #line 13007 "configure"
13007 #include "confdefs.h"
13013 if { (eval echo configure:13014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13015 glibcpp_cv_func__sincos_use=yes
13017 echo "configure: failed program was:" >&5
13018 cat conftest.$ac_ext >&5
13020 glibcpp_cv_func__sincos_use=no
13024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13025 ac_cpp='$CPP $CPPFLAGS'
13026 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13027 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13028 cross_compiling=$ac_cv_prog_cc_cross
13034 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
13036 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
13037 for ac_func in _sincos
13039 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13040 echo "configure:13041: checking for $ac_func" >&5
13041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13042 echo $ac_n "(cached) $ac_c" 1>&6
13044 cat > conftest.$ac_ext <<EOF
13045 #line 13046 "configure"
13046 #include "confdefs.h"
13047 /* System header to define __stub macros and hopefully few prototypes,
13048 which can conflict with char $ac_func(); below. */
13049 #include <assert.h>
13050 /* Override any gcc2 internal prototype to avoid an error. */
13051 /* We use char because int might match the return type of a gcc2
13052 builtin and then its argument prototype would still apply. */
13057 /* The GNU C library defines this for functions which it implements
13058 to always fail with ENOSYS. Some functions are actually named
13059 something starting with __ and the normal name is an alias. */
13060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13068 if { (eval echo configure:13069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13070 eval "ac_cv_func_$ac_func=yes"
13072 echo "configure: failed program was:" >&5
13073 cat conftest.$ac_ext >&5
13075 eval "ac_cv_func_$ac_func=no"
13080 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13081 echo "$ac_t""yes" 1>&6
13082 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13083 cat >> confdefs.h <<EOF
13084 #define $ac_tr_func 1
13088 echo "$ac_t""no" 1>&6
13097 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
13098 echo "configure:13099: checking for fpclass declaration" >&5
13099 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
13100 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
13101 echo $ac_n "(cached) $ac_c" 1>&6
13106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13107 ac_cpp='$CXXCPP $CPPFLAGS'
13108 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13109 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13110 cross_compiling=$ac_cv_prog_cxx_cross
13112 cat > conftest.$ac_ext <<EOF
13113 #line 13114 "configure"
13114 #include "confdefs.h"
13116 #ifdef HAVE_IEEEFP_H
13117 #include <ieeefp.h>
13124 if { (eval echo configure:13125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13126 glibcpp_cv_func_fpclass_use=yes
13128 echo "configure: failed program was:" >&5
13129 cat conftest.$ac_ext >&5
13131 glibcpp_cv_func_fpclass_use=no
13135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13136 ac_cpp='$CPP $CPPFLAGS'
13137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13139 cross_compiling=$ac_cv_prog_cc_cross
13145 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
13147 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
13148 for ac_func in fpclass
13150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13151 echo "configure:13152: checking for $ac_func" >&5
13152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13153 echo $ac_n "(cached) $ac_c" 1>&6
13155 cat > conftest.$ac_ext <<EOF
13156 #line 13157 "configure"
13157 #include "confdefs.h"
13158 /* System header to define __stub macros and hopefully few prototypes,
13159 which can conflict with char $ac_func(); below. */
13160 #include <assert.h>
13161 /* Override any gcc2 internal prototype to avoid an error. */
13162 /* We use char because int might match the return type of a gcc2
13163 builtin and then its argument prototype would still apply. */
13168 /* The GNU C library defines this for functions which it implements
13169 to always fail with ENOSYS. Some functions are actually named
13170 something starting with __ and the normal name is an alias. */
13171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13179 if { (eval echo configure:13180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13181 eval "ac_cv_func_$ac_func=yes"
13183 echo "configure: failed program was:" >&5
13184 cat conftest.$ac_ext >&5
13186 eval "ac_cv_func_$ac_func=no"
13191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13192 echo "$ac_t""yes" 1>&6
13193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13194 cat >> confdefs.h <<EOF
13195 #define $ac_tr_func 1
13199 echo "$ac_t""no" 1>&6
13205 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
13206 echo "configure:13207: checking for _fpclass declaration" >&5
13207 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13208 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13209 echo $ac_n "(cached) $ac_c" 1>&6
13214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13215 ac_cpp='$CXXCPP $CPPFLAGS'
13216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13218 cross_compiling=$ac_cv_prog_cxx_cross
13220 cat > conftest.$ac_ext <<EOF
13221 #line 13222 "configure"
13222 #include "confdefs.h"
13224 #ifdef HAVE_IEEEFP_H
13225 #include <ieeefp.h>
13232 if { (eval echo configure:13233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13234 glibcpp_cv_func__fpclass_use=yes
13236 echo "configure: failed program was:" >&5
13237 cat conftest.$ac_ext >&5
13239 glibcpp_cv_func__fpclass_use=no
13243 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13244 ac_cpp='$CPP $CPPFLAGS'
13245 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13246 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13247 cross_compiling=$ac_cv_prog_cc_cross
13253 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13255 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13256 for ac_func in _fpclass
13258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13259 echo "configure:13260: checking for $ac_func" >&5
13260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13261 echo $ac_n "(cached) $ac_c" 1>&6
13263 cat > conftest.$ac_ext <<EOF
13264 #line 13265 "configure"
13265 #include "confdefs.h"
13266 /* System header to define __stub macros and hopefully few prototypes,
13267 which can conflict with char $ac_func(); below. */
13268 #include <assert.h>
13269 /* Override any gcc2 internal prototype to avoid an error. */
13270 /* We use char because int might match the return type of a gcc2
13271 builtin and then its argument prototype would still apply. */
13276 /* The GNU C library defines this for functions which it implements
13277 to always fail with ENOSYS. Some functions are actually named
13278 something starting with __ and the normal name is an alias. */
13279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13287 if { (eval echo configure:13288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13289 eval "ac_cv_func_$ac_func=yes"
13291 echo "configure: failed program was:" >&5
13292 cat conftest.$ac_ext >&5
13294 eval "ac_cv_func_$ac_func=no"
13299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13300 echo "$ac_t""yes" 1>&6
13301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13302 cat >> confdefs.h <<EOF
13303 #define $ac_tr_func 1
13307 echo "$ac_t""no" 1>&6
13316 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
13317 echo "configure:13318: checking for qfpclass declaration" >&5
13318 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13319 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13320 echo $ac_n "(cached) $ac_c" 1>&6
13325 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13326 ac_cpp='$CXXCPP $CPPFLAGS'
13327 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13328 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13329 cross_compiling=$ac_cv_prog_cxx_cross
13331 cat > conftest.$ac_ext <<EOF
13332 #line 13333 "configure"
13333 #include "confdefs.h"
13335 #ifdef HAVE_IEEEFP_H
13336 #include <ieeefp.h>
13343 if { (eval echo configure:13344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13345 glibcpp_cv_func_qfpclass_use=yes
13347 echo "configure: failed program was:" >&5
13348 cat conftest.$ac_ext >&5
13350 glibcpp_cv_func_qfpclass_use=no
13354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13355 ac_cpp='$CPP $CPPFLAGS'
13356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13358 cross_compiling=$ac_cv_prog_cc_cross
13364 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13366 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13367 for ac_func in qfpclass
13369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13370 echo "configure:13371: checking for $ac_func" >&5
13371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13372 echo $ac_n "(cached) $ac_c" 1>&6
13374 cat > conftest.$ac_ext <<EOF
13375 #line 13376 "configure"
13376 #include "confdefs.h"
13377 /* System header to define __stub macros and hopefully few prototypes,
13378 which can conflict with char $ac_func(); below. */
13379 #include <assert.h>
13380 /* Override any gcc2 internal prototype to avoid an error. */
13381 /* We use char because int might match the return type of a gcc2
13382 builtin and then its argument prototype would still apply. */
13387 /* The GNU C library defines this for functions which it implements
13388 to always fail with ENOSYS. Some functions are actually named
13389 something starting with __ and the normal name is an alias. */
13390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13398 if { (eval echo configure:13399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13400 eval "ac_cv_func_$ac_func=yes"
13402 echo "configure: failed program was:" >&5
13403 cat conftest.$ac_ext >&5
13405 eval "ac_cv_func_$ac_func=no"
13410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13411 echo "$ac_t""yes" 1>&6
13412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13413 cat >> confdefs.h <<EOF
13414 #define $ac_tr_func 1
13418 echo "$ac_t""no" 1>&6
13424 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
13425 echo "configure:13426: checking for _qfpclass declaration" >&5
13426 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13427 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13428 echo $ac_n "(cached) $ac_c" 1>&6
13433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13434 ac_cpp='$CXXCPP $CPPFLAGS'
13435 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13436 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13437 cross_compiling=$ac_cv_prog_cxx_cross
13439 cat > conftest.$ac_ext <<EOF
13440 #line 13441 "configure"
13441 #include "confdefs.h"
13443 #ifdef HAVE_IEEEFP_H
13444 #include <ieeefp.h>
13451 if { (eval echo configure:13452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13453 glibcpp_cv_func__qfpclass_use=yes
13455 echo "configure: failed program was:" >&5
13456 cat conftest.$ac_ext >&5
13458 glibcpp_cv_func__qfpclass_use=no
13462 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13463 ac_cpp='$CPP $CPPFLAGS'
13464 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13465 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13466 cross_compiling=$ac_cv_prog_cc_cross
13472 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13474 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13475 for ac_func in _qfpclass
13477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13478 echo "configure:13479: checking for $ac_func" >&5
13479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13480 echo $ac_n "(cached) $ac_c" 1>&6
13482 cat > conftest.$ac_ext <<EOF
13483 #line 13484 "configure"
13484 #include "confdefs.h"
13485 /* System header to define __stub macros and hopefully few prototypes,
13486 which can conflict with char $ac_func(); below. */
13487 #include <assert.h>
13488 /* Override any gcc2 internal prototype to avoid an error. */
13489 /* We use char because int might match the return type of a gcc2
13490 builtin and then its argument prototype would still apply. */
13495 /* The GNU C library defines this for functions which it implements
13496 to always fail with ENOSYS. Some functions are actually named
13497 something starting with __ and the normal name is an alias. */
13498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13506 if { (eval echo configure:13507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13508 eval "ac_cv_func_$ac_func=yes"
13510 echo "configure: failed program was:" >&5
13511 cat conftest.$ac_ext >&5
13513 eval "ac_cv_func_$ac_func=no"
13518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13519 echo "$ac_t""yes" 1>&6
13520 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13521 cat >> confdefs.h <<EOF
13522 #define $ac_tr_func 1
13526 echo "$ac_t""no" 1>&6
13535 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
13536 echo "configure:13537: checking for hypot declaration" >&5
13537 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13538 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13539 echo $ac_n "(cached) $ac_c" 1>&6
13544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13545 ac_cpp='$CXXCPP $CPPFLAGS'
13546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13548 cross_compiling=$ac_cv_prog_cxx_cross
13550 cat > conftest.$ac_ext <<EOF
13551 #line 13552 "configure"
13552 #include "confdefs.h"
13558 if { (eval echo configure:13559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13560 glibcpp_cv_func_hypot_use=yes
13562 echo "configure: failed program was:" >&5
13563 cat conftest.$ac_ext >&5
13565 glibcpp_cv_func_hypot_use=no
13569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13570 ac_cpp='$CPP $CPPFLAGS'
13571 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13572 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13573 cross_compiling=$ac_cv_prog_cc_cross
13579 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13581 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13582 for ac_func in hypot
13584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13585 echo "configure:13586: checking for $ac_func" >&5
13586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13587 echo $ac_n "(cached) $ac_c" 1>&6
13589 cat > conftest.$ac_ext <<EOF
13590 #line 13591 "configure"
13591 #include "confdefs.h"
13592 /* System header to define __stub macros and hopefully few prototypes,
13593 which can conflict with char $ac_func(); below. */
13594 #include <assert.h>
13595 /* Override any gcc2 internal prototype to avoid an error. */
13596 /* We use char because int might match the return type of a gcc2
13597 builtin and then its argument prototype would still apply. */
13602 /* The GNU C library defines this for functions which it implements
13603 to always fail with ENOSYS. Some functions are actually named
13604 something starting with __ and the normal name is an alias. */
13605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13613 if { (eval echo configure:13614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13615 eval "ac_cv_func_$ac_func=yes"
13617 echo "configure: failed program was:" >&5
13618 cat conftest.$ac_ext >&5
13620 eval "ac_cv_func_$ac_func=no"
13625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13626 echo "$ac_t""yes" 1>&6
13627 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13628 cat >> confdefs.h <<EOF
13629 #define $ac_tr_func 1
13633 echo "$ac_t""no" 1>&6
13639 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
13640 echo "configure:13641: checking for _hypot declaration" >&5
13641 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13642 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13643 echo $ac_n "(cached) $ac_c" 1>&6
13648 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13649 ac_cpp='$CXXCPP $CPPFLAGS'
13650 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13651 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13652 cross_compiling=$ac_cv_prog_cxx_cross
13654 cat > conftest.$ac_ext <<EOF
13655 #line 13656 "configure"
13656 #include "confdefs.h"
13662 if { (eval echo configure:13663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13664 glibcpp_cv_func__hypot_use=yes
13666 echo "configure: failed program was:" >&5
13667 cat conftest.$ac_ext >&5
13669 glibcpp_cv_func__hypot_use=no
13673 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13674 ac_cpp='$CPP $CPPFLAGS'
13675 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13676 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13677 cross_compiling=$ac_cv_prog_cc_cross
13683 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13685 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13686 for ac_func in _hypot
13688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13689 echo "configure:13690: checking for $ac_func" >&5
13690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13691 echo $ac_n "(cached) $ac_c" 1>&6
13693 cat > conftest.$ac_ext <<EOF
13694 #line 13695 "configure"
13695 #include "confdefs.h"
13696 /* System header to define __stub macros and hopefully few prototypes,
13697 which can conflict with char $ac_func(); below. */
13698 #include <assert.h>
13699 /* Override any gcc2 internal prototype to avoid an error. */
13700 /* We use char because int might match the return type of a gcc2
13701 builtin and then its argument prototype would still apply. */
13706 /* The GNU C library defines this for functions which it implements
13707 to always fail with ENOSYS. Some functions are actually named
13708 something starting with __ and the normal name is an alias. */
13709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13717 if { (eval echo configure:13718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13719 eval "ac_cv_func_$ac_func=yes"
13721 echo "configure: failed program was:" >&5
13722 cat conftest.$ac_ext >&5
13724 eval "ac_cv_func_$ac_func=no"
13729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13730 echo "$ac_t""yes" 1>&6
13731 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13732 cat >> confdefs.h <<EOF
13733 #define $ac_tr_func 1
13737 echo "$ac_t""no" 1>&6
13746 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
13747 echo "configure:13748: checking for float trig functions" >&5
13748 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13749 echo $ac_n "(cached) $ac_c" 1>&6
13754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13755 ac_cpp='$CXXCPP $CPPFLAGS'
13756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13758 cross_compiling=$ac_cv_prog_cxx_cross
13760 cat > conftest.$ac_ext <<EOF
13761 #line 13762 "configure"
13762 #include "confdefs.h"
13765 `for x in acosf asinf atanf \
13767 coshf sinhf tanhf; do echo "$x (0);"; done`
13770 if { (eval echo configure:13771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13772 glibcpp_cv_func_float_trig_use=yes
13774 echo "configure: failed program was:" >&5
13775 cat conftest.$ac_ext >&5
13777 glibcpp_cv_func_float_trig_use=no
13781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13782 ac_cpp='$CPP $CPPFLAGS'
13783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13785 cross_compiling=$ac_cv_prog_cc_cross
13789 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13790 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13791 for ac_func in acosf asinf atanf \
13795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13796 echo "configure:13797: checking for $ac_func" >&5
13797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13798 echo $ac_n "(cached) $ac_c" 1>&6
13800 cat > conftest.$ac_ext <<EOF
13801 #line 13802 "configure"
13802 #include "confdefs.h"
13803 /* System header to define __stub macros and hopefully few prototypes,
13804 which can conflict with char $ac_func(); below. */
13805 #include <assert.h>
13806 /* Override any gcc2 internal prototype to avoid an error. */
13807 /* We use char because int might match the return type of a gcc2
13808 builtin and then its argument prototype would still apply. */
13813 /* The GNU C library defines this for functions which it implements
13814 to always fail with ENOSYS. Some functions are actually named
13815 something starting with __ and the normal name is an alias. */
13816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13824 if { (eval echo configure:13825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13826 eval "ac_cv_func_$ac_func=yes"
13828 echo "configure: failed program was:" >&5
13829 cat conftest.$ac_ext >&5
13831 eval "ac_cv_func_$ac_func=no"
13836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13837 echo "$ac_t""yes" 1>&6
13838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13839 cat >> confdefs.h <<EOF
13840 #define $ac_tr_func 1
13844 echo "$ac_t""no" 1>&6
13851 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
13852 echo "configure:13853: checking for float round functions" >&5
13853 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13854 echo $ac_n "(cached) $ac_c" 1>&6
13859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13860 ac_cpp='$CXXCPP $CPPFLAGS'
13861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13863 cross_compiling=$ac_cv_prog_cxx_cross
13865 cat > conftest.$ac_ext <<EOF
13866 #line 13867 "configure"
13867 #include "confdefs.h"
13870 `for x in ceilf floorf; do echo "$x (0);"; done`
13873 if { (eval echo configure:13874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13875 glibcpp_cv_func_float_round_use=yes
13877 echo "configure: failed program was:" >&5
13878 cat conftest.$ac_ext >&5
13880 glibcpp_cv_func_float_round_use=no
13884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13885 ac_cpp='$CPP $CPPFLAGS'
13886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13888 cross_compiling=$ac_cv_prog_cc_cross
13892 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13893 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13894 for ac_func in ceilf floorf
13896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13897 echo "configure:13898: checking for $ac_func" >&5
13898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13899 echo $ac_n "(cached) $ac_c" 1>&6
13901 cat > conftest.$ac_ext <<EOF
13902 #line 13903 "configure"
13903 #include "confdefs.h"
13904 /* System header to define __stub macros and hopefully few prototypes,
13905 which can conflict with char $ac_func(); below. */
13906 #include <assert.h>
13907 /* Override any gcc2 internal prototype to avoid an error. */
13908 /* We use char because int might match the return type of a gcc2
13909 builtin and then its argument prototype would still apply. */
13914 /* The GNU C library defines this for functions which it implements
13915 to always fail with ENOSYS. Some functions are actually named
13916 something starting with __ and the normal name is an alias. */
13917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13925 if { (eval echo configure:13926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13927 eval "ac_cv_func_$ac_func=yes"
13929 echo "configure: failed program was:" >&5
13930 cat conftest.$ac_ext >&5
13932 eval "ac_cv_func_$ac_func=no"
13937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13938 echo "$ac_t""yes" 1>&6
13939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13940 cat >> confdefs.h <<EOF
13941 #define $ac_tr_func 1
13945 echo "$ac_t""no" 1>&6
13953 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
13954 echo "configure:13955: checking for expf declaration" >&5
13955 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13956 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13957 echo $ac_n "(cached) $ac_c" 1>&6
13962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13963 ac_cpp='$CXXCPP $CPPFLAGS'
13964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13966 cross_compiling=$ac_cv_prog_cxx_cross
13968 cat > conftest.$ac_ext <<EOF
13969 #line 13970 "configure"
13970 #include "confdefs.h"
13972 #ifdef HAVE_IEEEFP_H
13973 #include <ieeefp.h>
13980 if { (eval echo configure:13981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13982 glibcpp_cv_func_expf_use=yes
13984 echo "configure: failed program was:" >&5
13985 cat conftest.$ac_ext >&5
13987 glibcpp_cv_func_expf_use=no
13991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13992 ac_cpp='$CPP $CPPFLAGS'
13993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13995 cross_compiling=$ac_cv_prog_cc_cross
14001 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
14003 if test x$glibcpp_cv_func_expf_use = x"yes"; then
14004 for ac_func in expf
14006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14007 echo "configure:14008: checking for $ac_func" >&5
14008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14009 echo $ac_n "(cached) $ac_c" 1>&6
14011 cat > conftest.$ac_ext <<EOF
14012 #line 14013 "configure"
14013 #include "confdefs.h"
14014 /* System header to define __stub macros and hopefully few prototypes,
14015 which can conflict with char $ac_func(); below. */
14016 #include <assert.h>
14017 /* Override any gcc2 internal prototype to avoid an error. */
14018 /* We use char because int might match the return type of a gcc2
14019 builtin and then its argument prototype would still apply. */
14024 /* The GNU C library defines this for functions which it implements
14025 to always fail with ENOSYS. Some functions are actually named
14026 something starting with __ and the normal name is an alias. */
14027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14035 if { (eval echo configure:14036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14037 eval "ac_cv_func_$ac_func=yes"
14039 echo "configure: failed program was:" >&5
14040 cat conftest.$ac_ext >&5
14042 eval "ac_cv_func_$ac_func=no"
14047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14048 echo "$ac_t""yes" 1>&6
14049 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14050 cat >> confdefs.h <<EOF
14051 #define $ac_tr_func 1
14055 echo "$ac_t""no" 1>&6
14061 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
14062 echo "configure:14063: checking for _expf declaration" >&5
14063 if test x${glibcpp_cv_func__expf_use+set} != xset; then
14064 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
14065 echo $ac_n "(cached) $ac_c" 1>&6
14070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14071 ac_cpp='$CXXCPP $CPPFLAGS'
14072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14074 cross_compiling=$ac_cv_prog_cxx_cross
14076 cat > conftest.$ac_ext <<EOF
14077 #line 14078 "configure"
14078 #include "confdefs.h"
14080 #ifdef HAVE_IEEEFP_H
14081 #include <ieeefp.h>
14088 if { (eval echo configure:14089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14090 glibcpp_cv_func__expf_use=yes
14092 echo "configure: failed program was:" >&5
14093 cat conftest.$ac_ext >&5
14095 glibcpp_cv_func__expf_use=no
14099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14100 ac_cpp='$CPP $CPPFLAGS'
14101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14103 cross_compiling=$ac_cv_prog_cc_cross
14109 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
14111 if test x$glibcpp_cv_func__expf_use = x"yes"; then
14112 for ac_func in _expf
14114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14115 echo "configure:14116: checking for $ac_func" >&5
14116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14117 echo $ac_n "(cached) $ac_c" 1>&6
14119 cat > conftest.$ac_ext <<EOF
14120 #line 14121 "configure"
14121 #include "confdefs.h"
14122 /* System header to define __stub macros and hopefully few prototypes,
14123 which can conflict with char $ac_func(); below. */
14124 #include <assert.h>
14125 /* Override any gcc2 internal prototype to avoid an error. */
14126 /* We use char because int might match the return type of a gcc2
14127 builtin and then its argument prototype would still apply. */
14132 /* The GNU C library defines this for functions which it implements
14133 to always fail with ENOSYS. Some functions are actually named
14134 something starting with __ and the normal name is an alias. */
14135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14143 if { (eval echo configure:14144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14145 eval "ac_cv_func_$ac_func=yes"
14147 echo "configure: failed program was:" >&5
14148 cat conftest.$ac_ext >&5
14150 eval "ac_cv_func_$ac_func=no"
14155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14156 echo "$ac_t""yes" 1>&6
14157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14158 cat >> confdefs.h <<EOF
14159 #define $ac_tr_func 1
14163 echo "$ac_t""no" 1>&6
14172 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
14173 echo "configure:14174: checking for isnanf declaration" >&5
14174 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
14175 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
14176 echo $ac_n "(cached) $ac_c" 1>&6
14181 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14182 ac_cpp='$CXXCPP $CPPFLAGS'
14183 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14184 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14185 cross_compiling=$ac_cv_prog_cxx_cross
14187 cat > conftest.$ac_ext <<EOF
14188 #line 14189 "configure"
14189 #include "confdefs.h"
14191 #ifdef HAVE_IEEEFP_H
14192 #include <ieeefp.h>
14199 if { (eval echo configure:14200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14201 glibcpp_cv_func_isnanf_use=yes
14203 echo "configure: failed program was:" >&5
14204 cat conftest.$ac_ext >&5
14206 glibcpp_cv_func_isnanf_use=no
14210 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14211 ac_cpp='$CPP $CPPFLAGS'
14212 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14213 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14214 cross_compiling=$ac_cv_prog_cc_cross
14220 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14222 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14223 for ac_func in isnanf
14225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14226 echo "configure:14227: checking for $ac_func" >&5
14227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14228 echo $ac_n "(cached) $ac_c" 1>&6
14230 cat > conftest.$ac_ext <<EOF
14231 #line 14232 "configure"
14232 #include "confdefs.h"
14233 /* System header to define __stub macros and hopefully few prototypes,
14234 which can conflict with char $ac_func(); below. */
14235 #include <assert.h>
14236 /* Override any gcc2 internal prototype to avoid an error. */
14237 /* We use char because int might match the return type of a gcc2
14238 builtin and then its argument prototype would still apply. */
14243 /* The GNU C library defines this for functions which it implements
14244 to always fail with ENOSYS. Some functions are actually named
14245 something starting with __ and the normal name is an alias. */
14246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14254 if { (eval echo configure:14255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14256 eval "ac_cv_func_$ac_func=yes"
14258 echo "configure: failed program was:" >&5
14259 cat conftest.$ac_ext >&5
14261 eval "ac_cv_func_$ac_func=no"
14266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14267 echo "$ac_t""yes" 1>&6
14268 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14269 cat >> confdefs.h <<EOF
14270 #define $ac_tr_func 1
14274 echo "$ac_t""no" 1>&6
14280 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
14281 echo "configure:14282: checking for _isnanf declaration" >&5
14282 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14283 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14284 echo $ac_n "(cached) $ac_c" 1>&6
14289 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14290 ac_cpp='$CXXCPP $CPPFLAGS'
14291 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14292 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14293 cross_compiling=$ac_cv_prog_cxx_cross
14295 cat > conftest.$ac_ext <<EOF
14296 #line 14297 "configure"
14297 #include "confdefs.h"
14299 #ifdef HAVE_IEEEFP_H
14300 #include <ieeefp.h>
14307 if { (eval echo configure:14308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14309 glibcpp_cv_func__isnanf_use=yes
14311 echo "configure: failed program was:" >&5
14312 cat conftest.$ac_ext >&5
14314 glibcpp_cv_func__isnanf_use=no
14318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14319 ac_cpp='$CPP $CPPFLAGS'
14320 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14321 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14322 cross_compiling=$ac_cv_prog_cc_cross
14328 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14330 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14331 for ac_func in _isnanf
14333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14334 echo "configure:14335: checking for $ac_func" >&5
14335 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14336 echo $ac_n "(cached) $ac_c" 1>&6
14338 cat > conftest.$ac_ext <<EOF
14339 #line 14340 "configure"
14340 #include "confdefs.h"
14341 /* System header to define __stub macros and hopefully few prototypes,
14342 which can conflict with char $ac_func(); below. */
14343 #include <assert.h>
14344 /* Override any gcc2 internal prototype to avoid an error. */
14345 /* We use char because int might match the return type of a gcc2
14346 builtin and then its argument prototype would still apply. */
14351 /* The GNU C library defines this for functions which it implements
14352 to always fail with ENOSYS. Some functions are actually named
14353 something starting with __ and the normal name is an alias. */
14354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14362 if { (eval echo configure:14363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14364 eval "ac_cv_func_$ac_func=yes"
14366 echo "configure: failed program was:" >&5
14367 cat conftest.$ac_ext >&5
14369 eval "ac_cv_func_$ac_func=no"
14374 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14375 echo "$ac_t""yes" 1>&6
14376 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14377 cat >> confdefs.h <<EOF
14378 #define $ac_tr_func 1
14382 echo "$ac_t""no" 1>&6
14391 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
14392 echo "configure:14393: checking for isinff declaration" >&5
14393 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14394 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14395 echo $ac_n "(cached) $ac_c" 1>&6
14400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14401 ac_cpp='$CXXCPP $CPPFLAGS'
14402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14404 cross_compiling=$ac_cv_prog_cxx_cross
14406 cat > conftest.$ac_ext <<EOF
14407 #line 14408 "configure"
14408 #include "confdefs.h"
14410 #ifdef HAVE_IEEEFP_H
14411 #include <ieeefp.h>
14418 if { (eval echo configure:14419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14420 glibcpp_cv_func_isinff_use=yes
14422 echo "configure: failed program was:" >&5
14423 cat conftest.$ac_ext >&5
14425 glibcpp_cv_func_isinff_use=no
14429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14430 ac_cpp='$CPP $CPPFLAGS'
14431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14433 cross_compiling=$ac_cv_prog_cc_cross
14439 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14441 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14442 for ac_func in isinff
14444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14445 echo "configure:14446: checking for $ac_func" >&5
14446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14447 echo $ac_n "(cached) $ac_c" 1>&6
14449 cat > conftest.$ac_ext <<EOF
14450 #line 14451 "configure"
14451 #include "confdefs.h"
14452 /* System header to define __stub macros and hopefully few prototypes,
14453 which can conflict with char $ac_func(); below. */
14454 #include <assert.h>
14455 /* Override any gcc2 internal prototype to avoid an error. */
14456 /* We use char because int might match the return type of a gcc2
14457 builtin and then its argument prototype would still apply. */
14462 /* The GNU C library defines this for functions which it implements
14463 to always fail with ENOSYS. Some functions are actually named
14464 something starting with __ and the normal name is an alias. */
14465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14473 if { (eval echo configure:14474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14475 eval "ac_cv_func_$ac_func=yes"
14477 echo "configure: failed program was:" >&5
14478 cat conftest.$ac_ext >&5
14480 eval "ac_cv_func_$ac_func=no"
14485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14486 echo "$ac_t""yes" 1>&6
14487 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14488 cat >> confdefs.h <<EOF
14489 #define $ac_tr_func 1
14493 echo "$ac_t""no" 1>&6
14499 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
14500 echo "configure:14501: checking for _isinff declaration" >&5
14501 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14502 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14503 echo $ac_n "(cached) $ac_c" 1>&6
14508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14509 ac_cpp='$CXXCPP $CPPFLAGS'
14510 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14511 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14512 cross_compiling=$ac_cv_prog_cxx_cross
14514 cat > conftest.$ac_ext <<EOF
14515 #line 14516 "configure"
14516 #include "confdefs.h"
14518 #ifdef HAVE_IEEEFP_H
14519 #include <ieeefp.h>
14526 if { (eval echo configure:14527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14528 glibcpp_cv_func__isinff_use=yes
14530 echo "configure: failed program was:" >&5
14531 cat conftest.$ac_ext >&5
14533 glibcpp_cv_func__isinff_use=no
14537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14538 ac_cpp='$CPP $CPPFLAGS'
14539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14541 cross_compiling=$ac_cv_prog_cc_cross
14547 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14549 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14550 for ac_func in _isinff
14552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14553 echo "configure:14554: checking for $ac_func" >&5
14554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14555 echo $ac_n "(cached) $ac_c" 1>&6
14557 cat > conftest.$ac_ext <<EOF
14558 #line 14559 "configure"
14559 #include "confdefs.h"
14560 /* System header to define __stub macros and hopefully few prototypes,
14561 which can conflict with char $ac_func(); below. */
14562 #include <assert.h>
14563 /* Override any gcc2 internal prototype to avoid an error. */
14564 /* We use char because int might match the return type of a gcc2
14565 builtin and then its argument prototype would still apply. */
14570 /* The GNU C library defines this for functions which it implements
14571 to always fail with ENOSYS. Some functions are actually named
14572 something starting with __ and the normal name is an alias. */
14573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14581 if { (eval echo configure:14582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14583 eval "ac_cv_func_$ac_func=yes"
14585 echo "configure: failed program was:" >&5
14586 cat conftest.$ac_ext >&5
14588 eval "ac_cv_func_$ac_func=no"
14593 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14594 echo "$ac_t""yes" 1>&6
14595 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14596 cat >> confdefs.h <<EOF
14597 #define $ac_tr_func 1
14601 echo "$ac_t""no" 1>&6
14610 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
14611 echo "configure:14612: checking for atan2f declaration" >&5
14612 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14613 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14614 echo $ac_n "(cached) $ac_c" 1>&6
14619 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14620 ac_cpp='$CXXCPP $CPPFLAGS'
14621 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14622 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14623 cross_compiling=$ac_cv_prog_cxx_cross
14625 cat > conftest.$ac_ext <<EOF
14626 #line 14627 "configure"
14627 #include "confdefs.h"
14633 if { (eval echo configure:14634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14635 glibcpp_cv_func_atan2f_use=yes
14637 echo "configure: failed program was:" >&5
14638 cat conftest.$ac_ext >&5
14640 glibcpp_cv_func_atan2f_use=no
14644 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14645 ac_cpp='$CPP $CPPFLAGS'
14646 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14647 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14648 cross_compiling=$ac_cv_prog_cc_cross
14654 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14656 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14657 for ac_func in atan2f
14659 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14660 echo "configure:14661: checking for $ac_func" >&5
14661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14662 echo $ac_n "(cached) $ac_c" 1>&6
14664 cat > conftest.$ac_ext <<EOF
14665 #line 14666 "configure"
14666 #include "confdefs.h"
14667 /* System header to define __stub macros and hopefully few prototypes,
14668 which can conflict with char $ac_func(); below. */
14669 #include <assert.h>
14670 /* Override any gcc2 internal prototype to avoid an error. */
14671 /* We use char because int might match the return type of a gcc2
14672 builtin and then its argument prototype would still apply. */
14677 /* The GNU C library defines this for functions which it implements
14678 to always fail with ENOSYS. Some functions are actually named
14679 something starting with __ and the normal name is an alias. */
14680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14688 if { (eval echo configure:14689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14690 eval "ac_cv_func_$ac_func=yes"
14692 echo "configure: failed program was:" >&5
14693 cat conftest.$ac_ext >&5
14695 eval "ac_cv_func_$ac_func=no"
14700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14701 echo "$ac_t""yes" 1>&6
14702 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14703 cat >> confdefs.h <<EOF
14704 #define $ac_tr_func 1
14708 echo "$ac_t""no" 1>&6
14714 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
14715 echo "configure:14716: checking for _atan2f declaration" >&5
14716 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14717 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14718 echo $ac_n "(cached) $ac_c" 1>&6
14723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14724 ac_cpp='$CXXCPP $CPPFLAGS'
14725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14727 cross_compiling=$ac_cv_prog_cxx_cross
14729 cat > conftest.$ac_ext <<EOF
14730 #line 14731 "configure"
14731 #include "confdefs.h"
14737 if { (eval echo configure:14738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14739 glibcpp_cv_func__atan2f_use=yes
14741 echo "configure: failed program was:" >&5
14742 cat conftest.$ac_ext >&5
14744 glibcpp_cv_func__atan2f_use=no
14748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14749 ac_cpp='$CPP $CPPFLAGS'
14750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14752 cross_compiling=$ac_cv_prog_cc_cross
14758 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14760 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14761 for ac_func in _atan2f
14763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14764 echo "configure:14765: checking for $ac_func" >&5
14765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14766 echo $ac_n "(cached) $ac_c" 1>&6
14768 cat > conftest.$ac_ext <<EOF
14769 #line 14770 "configure"
14770 #include "confdefs.h"
14771 /* System header to define __stub macros and hopefully few prototypes,
14772 which can conflict with char $ac_func(); below. */
14773 #include <assert.h>
14774 /* Override any gcc2 internal prototype to avoid an error. */
14775 /* We use char because int might match the return type of a gcc2
14776 builtin and then its argument prototype would still apply. */
14781 /* The GNU C library defines this for functions which it implements
14782 to always fail with ENOSYS. Some functions are actually named
14783 something starting with __ and the normal name is an alias. */
14784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14792 if { (eval echo configure:14793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14794 eval "ac_cv_func_$ac_func=yes"
14796 echo "configure: failed program was:" >&5
14797 cat conftest.$ac_ext >&5
14799 eval "ac_cv_func_$ac_func=no"
14804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14805 echo "$ac_t""yes" 1>&6
14806 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14807 cat >> confdefs.h <<EOF
14808 #define $ac_tr_func 1
14812 echo "$ac_t""no" 1>&6
14821 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
14822 echo "configure:14823: checking for fabsf declaration" >&5
14823 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14824 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14825 echo $ac_n "(cached) $ac_c" 1>&6
14830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14831 ac_cpp='$CXXCPP $CPPFLAGS'
14832 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14833 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14834 cross_compiling=$ac_cv_prog_cxx_cross
14836 cat > conftest.$ac_ext <<EOF
14837 #line 14838 "configure"
14838 #include "confdefs.h"
14840 #ifdef HAVE_IEEEFP_H
14841 #include <ieeefp.h>
14848 if { (eval echo configure:14849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14850 glibcpp_cv_func_fabsf_use=yes
14852 echo "configure: failed program was:" >&5
14853 cat conftest.$ac_ext >&5
14855 glibcpp_cv_func_fabsf_use=no
14859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14860 ac_cpp='$CPP $CPPFLAGS'
14861 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14862 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14863 cross_compiling=$ac_cv_prog_cc_cross
14869 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14871 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14872 for ac_func in fabsf
14874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14875 echo "configure:14876: checking for $ac_func" >&5
14876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14877 echo $ac_n "(cached) $ac_c" 1>&6
14879 cat > conftest.$ac_ext <<EOF
14880 #line 14881 "configure"
14881 #include "confdefs.h"
14882 /* System header to define __stub macros and hopefully few prototypes,
14883 which can conflict with char $ac_func(); below. */
14884 #include <assert.h>
14885 /* Override any gcc2 internal prototype to avoid an error. */
14886 /* We use char because int might match the return type of a gcc2
14887 builtin and then its argument prototype would still apply. */
14892 /* The GNU C library defines this for functions which it implements
14893 to always fail with ENOSYS. Some functions are actually named
14894 something starting with __ and the normal name is an alias. */
14895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14903 if { (eval echo configure:14904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14905 eval "ac_cv_func_$ac_func=yes"
14907 echo "configure: failed program was:" >&5
14908 cat conftest.$ac_ext >&5
14910 eval "ac_cv_func_$ac_func=no"
14915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14916 echo "$ac_t""yes" 1>&6
14917 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14918 cat >> confdefs.h <<EOF
14919 #define $ac_tr_func 1
14923 echo "$ac_t""no" 1>&6
14929 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
14930 echo "configure:14931: checking for _fabsf declaration" >&5
14931 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14932 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14933 echo $ac_n "(cached) $ac_c" 1>&6
14938 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14939 ac_cpp='$CXXCPP $CPPFLAGS'
14940 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14941 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14942 cross_compiling=$ac_cv_prog_cxx_cross
14944 cat > conftest.$ac_ext <<EOF
14945 #line 14946 "configure"
14946 #include "confdefs.h"
14948 #ifdef HAVE_IEEEFP_H
14949 #include <ieeefp.h>
14956 if { (eval echo configure:14957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14958 glibcpp_cv_func__fabsf_use=yes
14960 echo "configure: failed program was:" >&5
14961 cat conftest.$ac_ext >&5
14963 glibcpp_cv_func__fabsf_use=no
14967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14968 ac_cpp='$CPP $CPPFLAGS'
14969 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14970 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14971 cross_compiling=$ac_cv_prog_cc_cross
14977 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14979 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14980 for ac_func in _fabsf
14982 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14983 echo "configure:14984: checking for $ac_func" >&5
14984 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14985 echo $ac_n "(cached) $ac_c" 1>&6
14987 cat > conftest.$ac_ext <<EOF
14988 #line 14989 "configure"
14989 #include "confdefs.h"
14990 /* System header to define __stub macros and hopefully few prototypes,
14991 which can conflict with char $ac_func(); below. */
14992 #include <assert.h>
14993 /* Override any gcc2 internal prototype to avoid an error. */
14994 /* We use char because int might match the return type of a gcc2
14995 builtin and then its argument prototype would still apply. */
15000 /* The GNU C library defines this for functions which it implements
15001 to always fail with ENOSYS. Some functions are actually named
15002 something starting with __ and the normal name is an alias. */
15003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15011 if { (eval echo configure:15012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15013 eval "ac_cv_func_$ac_func=yes"
15015 echo "configure: failed program was:" >&5
15016 cat conftest.$ac_ext >&5
15018 eval "ac_cv_func_$ac_func=no"
15023 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15024 echo "$ac_t""yes" 1>&6
15025 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15026 cat >> confdefs.h <<EOF
15027 #define $ac_tr_func 1
15031 echo "$ac_t""no" 1>&6
15040 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
15041 echo "configure:15042: checking for fmodf declaration" >&5
15042 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
15043 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
15044 echo $ac_n "(cached) $ac_c" 1>&6
15049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15050 ac_cpp='$CXXCPP $CPPFLAGS'
15051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15053 cross_compiling=$ac_cv_prog_cxx_cross
15055 cat > conftest.$ac_ext <<EOF
15056 #line 15057 "configure"
15057 #include "confdefs.h"
15063 if { (eval echo configure:15064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15065 glibcpp_cv_func_fmodf_use=yes
15067 echo "configure: failed program was:" >&5
15068 cat conftest.$ac_ext >&5
15070 glibcpp_cv_func_fmodf_use=no
15074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15075 ac_cpp='$CPP $CPPFLAGS'
15076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15078 cross_compiling=$ac_cv_prog_cc_cross
15084 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
15086 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
15087 for ac_func in fmodf
15089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15090 echo "configure:15091: checking for $ac_func" >&5
15091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15092 echo $ac_n "(cached) $ac_c" 1>&6
15094 cat > conftest.$ac_ext <<EOF
15095 #line 15096 "configure"
15096 #include "confdefs.h"
15097 /* System header to define __stub macros and hopefully few prototypes,
15098 which can conflict with char $ac_func(); below. */
15099 #include <assert.h>
15100 /* Override any gcc2 internal prototype to avoid an error. */
15101 /* We use char because int might match the return type of a gcc2
15102 builtin and then its argument prototype would still apply. */
15107 /* The GNU C library defines this for functions which it implements
15108 to always fail with ENOSYS. Some functions are actually named
15109 something starting with __ and the normal name is an alias. */
15110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15118 if { (eval echo configure:15119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15120 eval "ac_cv_func_$ac_func=yes"
15122 echo "configure: failed program was:" >&5
15123 cat conftest.$ac_ext >&5
15125 eval "ac_cv_func_$ac_func=no"
15130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15131 echo "$ac_t""yes" 1>&6
15132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15133 cat >> confdefs.h <<EOF
15134 #define $ac_tr_func 1
15138 echo "$ac_t""no" 1>&6
15144 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
15145 echo "configure:15146: checking for _fmodf declaration" >&5
15146 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
15147 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
15148 echo $ac_n "(cached) $ac_c" 1>&6
15153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15154 ac_cpp='$CXXCPP $CPPFLAGS'
15155 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15156 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15157 cross_compiling=$ac_cv_prog_cxx_cross
15159 cat > conftest.$ac_ext <<EOF
15160 #line 15161 "configure"
15161 #include "confdefs.h"
15167 if { (eval echo configure:15168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15169 glibcpp_cv_func__fmodf_use=yes
15171 echo "configure: failed program was:" >&5
15172 cat conftest.$ac_ext >&5
15174 glibcpp_cv_func__fmodf_use=no
15178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15179 ac_cpp='$CPP $CPPFLAGS'
15180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15182 cross_compiling=$ac_cv_prog_cc_cross
15188 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
15190 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
15191 for ac_func in _fmodf
15193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15194 echo "configure:15195: checking for $ac_func" >&5
15195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15196 echo $ac_n "(cached) $ac_c" 1>&6
15198 cat > conftest.$ac_ext <<EOF
15199 #line 15200 "configure"
15200 #include "confdefs.h"
15201 /* System header to define __stub macros and hopefully few prototypes,
15202 which can conflict with char $ac_func(); below. */
15203 #include <assert.h>
15204 /* Override any gcc2 internal prototype to avoid an error. */
15205 /* We use char because int might match the return type of a gcc2
15206 builtin and then its argument prototype would still apply. */
15211 /* The GNU C library defines this for functions which it implements
15212 to always fail with ENOSYS. Some functions are actually named
15213 something starting with __ and the normal name is an alias. */
15214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15222 if { (eval echo configure:15223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15224 eval "ac_cv_func_$ac_func=yes"
15226 echo "configure: failed program was:" >&5
15227 cat conftest.$ac_ext >&5
15229 eval "ac_cv_func_$ac_func=no"
15234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15235 echo "$ac_t""yes" 1>&6
15236 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15237 cat >> confdefs.h <<EOF
15238 #define $ac_tr_func 1
15242 echo "$ac_t""no" 1>&6
15251 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
15252 echo "configure:15253: checking for frexpf declaration" >&5
15253 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15254 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15255 echo $ac_n "(cached) $ac_c" 1>&6
15260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15261 ac_cpp='$CXXCPP $CPPFLAGS'
15262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15264 cross_compiling=$ac_cv_prog_cxx_cross
15266 cat > conftest.$ac_ext <<EOF
15267 #line 15268 "configure"
15268 #include "confdefs.h"
15274 if { (eval echo configure:15275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15276 glibcpp_cv_func_frexpf_use=yes
15278 echo "configure: failed program was:" >&5
15279 cat conftest.$ac_ext >&5
15281 glibcpp_cv_func_frexpf_use=no
15285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15286 ac_cpp='$CPP $CPPFLAGS'
15287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15289 cross_compiling=$ac_cv_prog_cc_cross
15295 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15297 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15298 for ac_func in frexpf
15300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15301 echo "configure:15302: checking for $ac_func" >&5
15302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15303 echo $ac_n "(cached) $ac_c" 1>&6
15305 cat > conftest.$ac_ext <<EOF
15306 #line 15307 "configure"
15307 #include "confdefs.h"
15308 /* System header to define __stub macros and hopefully few prototypes,
15309 which can conflict with char $ac_func(); below. */
15310 #include <assert.h>
15311 /* Override any gcc2 internal prototype to avoid an error. */
15312 /* We use char because int might match the return type of a gcc2
15313 builtin and then its argument prototype would still apply. */
15318 /* The GNU C library defines this for functions which it implements
15319 to always fail with ENOSYS. Some functions are actually named
15320 something starting with __ and the normal name is an alias. */
15321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15329 if { (eval echo configure:15330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15331 eval "ac_cv_func_$ac_func=yes"
15333 echo "configure: failed program was:" >&5
15334 cat conftest.$ac_ext >&5
15336 eval "ac_cv_func_$ac_func=no"
15341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15342 echo "$ac_t""yes" 1>&6
15343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15344 cat >> confdefs.h <<EOF
15345 #define $ac_tr_func 1
15349 echo "$ac_t""no" 1>&6
15355 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
15356 echo "configure:15357: checking for _frexpf declaration" >&5
15357 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15358 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15359 echo $ac_n "(cached) $ac_c" 1>&6
15364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15365 ac_cpp='$CXXCPP $CPPFLAGS'
15366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15368 cross_compiling=$ac_cv_prog_cxx_cross
15370 cat > conftest.$ac_ext <<EOF
15371 #line 15372 "configure"
15372 #include "confdefs.h"
15378 if { (eval echo configure:15379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15380 glibcpp_cv_func__frexpf_use=yes
15382 echo "configure: failed program was:" >&5
15383 cat conftest.$ac_ext >&5
15385 glibcpp_cv_func__frexpf_use=no
15389 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15390 ac_cpp='$CPP $CPPFLAGS'
15391 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15392 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15393 cross_compiling=$ac_cv_prog_cc_cross
15399 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15401 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15402 for ac_func in _frexpf
15404 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15405 echo "configure:15406: checking for $ac_func" >&5
15406 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15407 echo $ac_n "(cached) $ac_c" 1>&6
15409 cat > conftest.$ac_ext <<EOF
15410 #line 15411 "configure"
15411 #include "confdefs.h"
15412 /* System header to define __stub macros and hopefully few prototypes,
15413 which can conflict with char $ac_func(); below. */
15414 #include <assert.h>
15415 /* Override any gcc2 internal prototype to avoid an error. */
15416 /* We use char because int might match the return type of a gcc2
15417 builtin and then its argument prototype would still apply. */
15422 /* The GNU C library defines this for functions which it implements
15423 to always fail with ENOSYS. Some functions are actually named
15424 something starting with __ and the normal name is an alias. */
15425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15433 if { (eval echo configure:15434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15435 eval "ac_cv_func_$ac_func=yes"
15437 echo "configure: failed program was:" >&5
15438 cat conftest.$ac_ext >&5
15440 eval "ac_cv_func_$ac_func=no"
15445 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15446 echo "$ac_t""yes" 1>&6
15447 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15448 cat >> confdefs.h <<EOF
15449 #define $ac_tr_func 1
15453 echo "$ac_t""no" 1>&6
15462 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
15463 echo "configure:15464: checking for hypotf declaration" >&5
15464 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15465 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15466 echo $ac_n "(cached) $ac_c" 1>&6
15471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15472 ac_cpp='$CXXCPP $CPPFLAGS'
15473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15475 cross_compiling=$ac_cv_prog_cxx_cross
15477 cat > conftest.$ac_ext <<EOF
15478 #line 15479 "configure"
15479 #include "confdefs.h"
15485 if { (eval echo configure:15486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15487 glibcpp_cv_func_hypotf_use=yes
15489 echo "configure: failed program was:" >&5
15490 cat conftest.$ac_ext >&5
15492 glibcpp_cv_func_hypotf_use=no
15496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15497 ac_cpp='$CPP $CPPFLAGS'
15498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15500 cross_compiling=$ac_cv_prog_cc_cross
15506 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15508 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15509 for ac_func in hypotf
15511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15512 echo "configure:15513: checking for $ac_func" >&5
15513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15514 echo $ac_n "(cached) $ac_c" 1>&6
15516 cat > conftest.$ac_ext <<EOF
15517 #line 15518 "configure"
15518 #include "confdefs.h"
15519 /* System header to define __stub macros and hopefully few prototypes,
15520 which can conflict with char $ac_func(); below. */
15521 #include <assert.h>
15522 /* Override any gcc2 internal prototype to avoid an error. */
15523 /* We use char because int might match the return type of a gcc2
15524 builtin and then its argument prototype would still apply. */
15529 /* The GNU C library defines this for functions which it implements
15530 to always fail with ENOSYS. Some functions are actually named
15531 something starting with __ and the normal name is an alias. */
15532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15540 if { (eval echo configure:15541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15542 eval "ac_cv_func_$ac_func=yes"
15544 echo "configure: failed program was:" >&5
15545 cat conftest.$ac_ext >&5
15547 eval "ac_cv_func_$ac_func=no"
15552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15553 echo "$ac_t""yes" 1>&6
15554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15555 cat >> confdefs.h <<EOF
15556 #define $ac_tr_func 1
15560 echo "$ac_t""no" 1>&6
15566 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
15567 echo "configure:15568: checking for _hypotf declaration" >&5
15568 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15569 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15570 echo $ac_n "(cached) $ac_c" 1>&6
15575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15576 ac_cpp='$CXXCPP $CPPFLAGS'
15577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15579 cross_compiling=$ac_cv_prog_cxx_cross
15581 cat > conftest.$ac_ext <<EOF
15582 #line 15583 "configure"
15583 #include "confdefs.h"
15589 if { (eval echo configure:15590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15591 glibcpp_cv_func__hypotf_use=yes
15593 echo "configure: failed program was:" >&5
15594 cat conftest.$ac_ext >&5
15596 glibcpp_cv_func__hypotf_use=no
15600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15601 ac_cpp='$CPP $CPPFLAGS'
15602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15604 cross_compiling=$ac_cv_prog_cc_cross
15610 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15612 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15613 for ac_func in _hypotf
15615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15616 echo "configure:15617: checking for $ac_func" >&5
15617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15618 echo $ac_n "(cached) $ac_c" 1>&6
15620 cat > conftest.$ac_ext <<EOF
15621 #line 15622 "configure"
15622 #include "confdefs.h"
15623 /* System header to define __stub macros and hopefully few prototypes,
15624 which can conflict with char $ac_func(); below. */
15625 #include <assert.h>
15626 /* Override any gcc2 internal prototype to avoid an error. */
15627 /* We use char because int might match the return type of a gcc2
15628 builtin and then its argument prototype would still apply. */
15633 /* The GNU C library defines this for functions which it implements
15634 to always fail with ENOSYS. Some functions are actually named
15635 something starting with __ and the normal name is an alias. */
15636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15644 if { (eval echo configure:15645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15646 eval "ac_cv_func_$ac_func=yes"
15648 echo "configure: failed program was:" >&5
15649 cat conftest.$ac_ext >&5
15651 eval "ac_cv_func_$ac_func=no"
15656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15657 echo "$ac_t""yes" 1>&6
15658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15659 cat >> confdefs.h <<EOF
15660 #define $ac_tr_func 1
15664 echo "$ac_t""no" 1>&6
15673 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
15674 echo "configure:15675: checking for ldexpf declaration" >&5
15675 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15676 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15677 echo $ac_n "(cached) $ac_c" 1>&6
15682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15683 ac_cpp='$CXXCPP $CPPFLAGS'
15684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15686 cross_compiling=$ac_cv_prog_cxx_cross
15688 cat > conftest.$ac_ext <<EOF
15689 #line 15690 "configure"
15690 #include "confdefs.h"
15696 if { (eval echo configure:15697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15698 glibcpp_cv_func_ldexpf_use=yes
15700 echo "configure: failed program was:" >&5
15701 cat conftest.$ac_ext >&5
15703 glibcpp_cv_func_ldexpf_use=no
15707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15708 ac_cpp='$CPP $CPPFLAGS'
15709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15711 cross_compiling=$ac_cv_prog_cc_cross
15717 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15719 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15720 for ac_func in ldexpf
15722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15723 echo "configure:15724: checking for $ac_func" >&5
15724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15725 echo $ac_n "(cached) $ac_c" 1>&6
15727 cat > conftest.$ac_ext <<EOF
15728 #line 15729 "configure"
15729 #include "confdefs.h"
15730 /* System header to define __stub macros and hopefully few prototypes,
15731 which can conflict with char $ac_func(); below. */
15732 #include <assert.h>
15733 /* Override any gcc2 internal prototype to avoid an error. */
15734 /* We use char because int might match the return type of a gcc2
15735 builtin and then its argument prototype would still apply. */
15740 /* The GNU C library defines this for functions which it implements
15741 to always fail with ENOSYS. Some functions are actually named
15742 something starting with __ and the normal name is an alias. */
15743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15751 if { (eval echo configure:15752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15753 eval "ac_cv_func_$ac_func=yes"
15755 echo "configure: failed program was:" >&5
15756 cat conftest.$ac_ext >&5
15758 eval "ac_cv_func_$ac_func=no"
15763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15764 echo "$ac_t""yes" 1>&6
15765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15766 cat >> confdefs.h <<EOF
15767 #define $ac_tr_func 1
15771 echo "$ac_t""no" 1>&6
15777 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
15778 echo "configure:15779: checking for _ldexpf declaration" >&5
15779 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15780 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15781 echo $ac_n "(cached) $ac_c" 1>&6
15786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15787 ac_cpp='$CXXCPP $CPPFLAGS'
15788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15790 cross_compiling=$ac_cv_prog_cxx_cross
15792 cat > conftest.$ac_ext <<EOF
15793 #line 15794 "configure"
15794 #include "confdefs.h"
15800 if { (eval echo configure:15801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15802 glibcpp_cv_func__ldexpf_use=yes
15804 echo "configure: failed program was:" >&5
15805 cat conftest.$ac_ext >&5
15807 glibcpp_cv_func__ldexpf_use=no
15811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15812 ac_cpp='$CPP $CPPFLAGS'
15813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15815 cross_compiling=$ac_cv_prog_cc_cross
15821 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15823 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15824 for ac_func in _ldexpf
15826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15827 echo "configure:15828: checking for $ac_func" >&5
15828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15829 echo $ac_n "(cached) $ac_c" 1>&6
15831 cat > conftest.$ac_ext <<EOF
15832 #line 15833 "configure"
15833 #include "confdefs.h"
15834 /* System header to define __stub macros and hopefully few prototypes,
15835 which can conflict with char $ac_func(); below. */
15836 #include <assert.h>
15837 /* Override any gcc2 internal prototype to avoid an error. */
15838 /* We use char because int might match the return type of a gcc2
15839 builtin and then its argument prototype would still apply. */
15844 /* The GNU C library defines this for functions which it implements
15845 to always fail with ENOSYS. Some functions are actually named
15846 something starting with __ and the normal name is an alias. */
15847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15855 if { (eval echo configure:15856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15857 eval "ac_cv_func_$ac_func=yes"
15859 echo "configure: failed program was:" >&5
15860 cat conftest.$ac_ext >&5
15862 eval "ac_cv_func_$ac_func=no"
15867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15868 echo "$ac_t""yes" 1>&6
15869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15870 cat >> confdefs.h <<EOF
15871 #define $ac_tr_func 1
15875 echo "$ac_t""no" 1>&6
15884 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
15885 echo "configure:15886: checking for logf declaration" >&5
15886 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15887 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15888 echo $ac_n "(cached) $ac_c" 1>&6
15893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15894 ac_cpp='$CXXCPP $CPPFLAGS'
15895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15897 cross_compiling=$ac_cv_prog_cxx_cross
15899 cat > conftest.$ac_ext <<EOF
15900 #line 15901 "configure"
15901 #include "confdefs.h"
15903 #ifdef HAVE_IEEEFP_H
15904 #include <ieeefp.h>
15911 if { (eval echo configure:15912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15913 glibcpp_cv_func_logf_use=yes
15915 echo "configure: failed program was:" >&5
15916 cat conftest.$ac_ext >&5
15918 glibcpp_cv_func_logf_use=no
15922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15923 ac_cpp='$CPP $CPPFLAGS'
15924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15926 cross_compiling=$ac_cv_prog_cc_cross
15932 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15934 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15935 for ac_func in logf
15937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15938 echo "configure:15939: checking for $ac_func" >&5
15939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15940 echo $ac_n "(cached) $ac_c" 1>&6
15942 cat > conftest.$ac_ext <<EOF
15943 #line 15944 "configure"
15944 #include "confdefs.h"
15945 /* System header to define __stub macros and hopefully few prototypes,
15946 which can conflict with char $ac_func(); below. */
15947 #include <assert.h>
15948 /* Override any gcc2 internal prototype to avoid an error. */
15949 /* We use char because int might match the return type of a gcc2
15950 builtin and then its argument prototype would still apply. */
15955 /* The GNU C library defines this for functions which it implements
15956 to always fail with ENOSYS. Some functions are actually named
15957 something starting with __ and the normal name is an alias. */
15958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15966 if { (eval echo configure:15967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15968 eval "ac_cv_func_$ac_func=yes"
15970 echo "configure: failed program was:" >&5
15971 cat conftest.$ac_ext >&5
15973 eval "ac_cv_func_$ac_func=no"
15978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15979 echo "$ac_t""yes" 1>&6
15980 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15981 cat >> confdefs.h <<EOF
15982 #define $ac_tr_func 1
15986 echo "$ac_t""no" 1>&6
15992 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
15993 echo "configure:15994: checking for _logf declaration" >&5
15994 if test x${glibcpp_cv_func__logf_use+set} != xset; then
15995 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
15996 echo $ac_n "(cached) $ac_c" 1>&6
16001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16002 ac_cpp='$CXXCPP $CPPFLAGS'
16003 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16004 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16005 cross_compiling=$ac_cv_prog_cxx_cross
16007 cat > conftest.$ac_ext <<EOF
16008 #line 16009 "configure"
16009 #include "confdefs.h"
16011 #ifdef HAVE_IEEEFP_H
16012 #include <ieeefp.h>
16019 if { (eval echo configure:16020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16021 glibcpp_cv_func__logf_use=yes
16023 echo "configure: failed program was:" >&5
16024 cat conftest.$ac_ext >&5
16026 glibcpp_cv_func__logf_use=no
16030 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16031 ac_cpp='$CPP $CPPFLAGS'
16032 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16033 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16034 cross_compiling=$ac_cv_prog_cc_cross
16040 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
16042 if test x$glibcpp_cv_func__logf_use = x"yes"; then
16043 for ac_func in _logf
16045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16046 echo "configure:16047: checking for $ac_func" >&5
16047 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16048 echo $ac_n "(cached) $ac_c" 1>&6
16050 cat > conftest.$ac_ext <<EOF
16051 #line 16052 "configure"
16052 #include "confdefs.h"
16053 /* System header to define __stub macros and hopefully few prototypes,
16054 which can conflict with char $ac_func(); below. */
16055 #include <assert.h>
16056 /* Override any gcc2 internal prototype to avoid an error. */
16057 /* We use char because int might match the return type of a gcc2
16058 builtin and then its argument prototype would still apply. */
16063 /* The GNU C library defines this for functions which it implements
16064 to always fail with ENOSYS. Some functions are actually named
16065 something starting with __ and the normal name is an alias. */
16066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16074 if { (eval echo configure:16075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16076 eval "ac_cv_func_$ac_func=yes"
16078 echo "configure: failed program was:" >&5
16079 cat conftest.$ac_ext >&5
16081 eval "ac_cv_func_$ac_func=no"
16086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16087 echo "$ac_t""yes" 1>&6
16088 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16089 cat >> confdefs.h <<EOF
16090 #define $ac_tr_func 1
16094 echo "$ac_t""no" 1>&6
16103 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
16104 echo "configure:16105: checking for log10f declaration" >&5
16105 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
16106 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
16107 echo $ac_n "(cached) $ac_c" 1>&6
16112 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16113 ac_cpp='$CXXCPP $CPPFLAGS'
16114 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16115 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16116 cross_compiling=$ac_cv_prog_cxx_cross
16118 cat > conftest.$ac_ext <<EOF
16119 #line 16120 "configure"
16120 #include "confdefs.h"
16122 #ifdef HAVE_IEEEFP_H
16123 #include <ieeefp.h>
16130 if { (eval echo configure:16131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16132 glibcpp_cv_func_log10f_use=yes
16134 echo "configure: failed program was:" >&5
16135 cat conftest.$ac_ext >&5
16137 glibcpp_cv_func_log10f_use=no
16141 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16142 ac_cpp='$CPP $CPPFLAGS'
16143 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16144 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16145 cross_compiling=$ac_cv_prog_cc_cross
16151 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
16153 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
16154 for ac_func in log10f
16156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16157 echo "configure:16158: checking for $ac_func" >&5
16158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16159 echo $ac_n "(cached) $ac_c" 1>&6
16161 cat > conftest.$ac_ext <<EOF
16162 #line 16163 "configure"
16163 #include "confdefs.h"
16164 /* System header to define __stub macros and hopefully few prototypes,
16165 which can conflict with char $ac_func(); below. */
16166 #include <assert.h>
16167 /* Override any gcc2 internal prototype to avoid an error. */
16168 /* We use char because int might match the return type of a gcc2
16169 builtin and then its argument prototype would still apply. */
16174 /* The GNU C library defines this for functions which it implements
16175 to always fail with ENOSYS. Some functions are actually named
16176 something starting with __ and the normal name is an alias. */
16177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16185 if { (eval echo configure:16186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16187 eval "ac_cv_func_$ac_func=yes"
16189 echo "configure: failed program was:" >&5
16190 cat conftest.$ac_ext >&5
16192 eval "ac_cv_func_$ac_func=no"
16197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16198 echo "$ac_t""yes" 1>&6
16199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16200 cat >> confdefs.h <<EOF
16201 #define $ac_tr_func 1
16205 echo "$ac_t""no" 1>&6
16211 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
16212 echo "configure:16213: checking for _log10f declaration" >&5
16213 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16214 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16215 echo $ac_n "(cached) $ac_c" 1>&6
16220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16221 ac_cpp='$CXXCPP $CPPFLAGS'
16222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16224 cross_compiling=$ac_cv_prog_cxx_cross
16226 cat > conftest.$ac_ext <<EOF
16227 #line 16228 "configure"
16228 #include "confdefs.h"
16230 #ifdef HAVE_IEEEFP_H
16231 #include <ieeefp.h>
16238 if { (eval echo configure:16239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16240 glibcpp_cv_func__log10f_use=yes
16242 echo "configure: failed program was:" >&5
16243 cat conftest.$ac_ext >&5
16245 glibcpp_cv_func__log10f_use=no
16249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16252 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16253 cross_compiling=$ac_cv_prog_cc_cross
16259 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16261 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16262 for ac_func in _log10f
16264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16265 echo "configure:16266: checking for $ac_func" >&5
16266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16267 echo $ac_n "(cached) $ac_c" 1>&6
16269 cat > conftest.$ac_ext <<EOF
16270 #line 16271 "configure"
16271 #include "confdefs.h"
16272 /* System header to define __stub macros and hopefully few prototypes,
16273 which can conflict with char $ac_func(); below. */
16274 #include <assert.h>
16275 /* Override any gcc2 internal prototype to avoid an error. */
16276 /* We use char because int might match the return type of a gcc2
16277 builtin and then its argument prototype would still apply. */
16282 /* The GNU C library defines this for functions which it implements
16283 to always fail with ENOSYS. Some functions are actually named
16284 something starting with __ and the normal name is an alias. */
16285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16293 if { (eval echo configure:16294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16295 eval "ac_cv_func_$ac_func=yes"
16297 echo "configure: failed program was:" >&5
16298 cat conftest.$ac_ext >&5
16300 eval "ac_cv_func_$ac_func=no"
16305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16306 echo "$ac_t""yes" 1>&6
16307 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16308 cat >> confdefs.h <<EOF
16309 #define $ac_tr_func 1
16313 echo "$ac_t""no" 1>&6
16322 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
16323 echo "configure:16324: checking for modff declaration" >&5
16324 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16325 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16326 echo $ac_n "(cached) $ac_c" 1>&6
16331 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16332 ac_cpp='$CXXCPP $CPPFLAGS'
16333 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16334 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16335 cross_compiling=$ac_cv_prog_cxx_cross
16337 cat > conftest.$ac_ext <<EOF
16338 #line 16339 "configure"
16339 #include "confdefs.h"
16345 if { (eval echo configure:16346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16347 glibcpp_cv_func_modff_use=yes
16349 echo "configure: failed program was:" >&5
16350 cat conftest.$ac_ext >&5
16352 glibcpp_cv_func_modff_use=no
16356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16357 ac_cpp='$CPP $CPPFLAGS'
16358 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16359 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16360 cross_compiling=$ac_cv_prog_cc_cross
16366 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16368 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16369 for ac_func in modff
16371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16372 echo "configure:16373: checking for $ac_func" >&5
16373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16374 echo $ac_n "(cached) $ac_c" 1>&6
16376 cat > conftest.$ac_ext <<EOF
16377 #line 16378 "configure"
16378 #include "confdefs.h"
16379 /* System header to define __stub macros and hopefully few prototypes,
16380 which can conflict with char $ac_func(); below. */
16381 #include <assert.h>
16382 /* Override any gcc2 internal prototype to avoid an error. */
16383 /* We use char because int might match the return type of a gcc2
16384 builtin and then its argument prototype would still apply. */
16389 /* The GNU C library defines this for functions which it implements
16390 to always fail with ENOSYS. Some functions are actually named
16391 something starting with __ and the normal name is an alias. */
16392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16400 if { (eval echo configure:16401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16402 eval "ac_cv_func_$ac_func=yes"
16404 echo "configure: failed program was:" >&5
16405 cat conftest.$ac_ext >&5
16407 eval "ac_cv_func_$ac_func=no"
16412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16413 echo "$ac_t""yes" 1>&6
16414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16415 cat >> confdefs.h <<EOF
16416 #define $ac_tr_func 1
16420 echo "$ac_t""no" 1>&6
16426 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
16427 echo "configure:16428: checking for _modff declaration" >&5
16428 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16429 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16430 echo $ac_n "(cached) $ac_c" 1>&6
16435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16436 ac_cpp='$CXXCPP $CPPFLAGS'
16437 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16438 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16439 cross_compiling=$ac_cv_prog_cxx_cross
16441 cat > conftest.$ac_ext <<EOF
16442 #line 16443 "configure"
16443 #include "confdefs.h"
16449 if { (eval echo configure:16450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16451 glibcpp_cv_func__modff_use=yes
16453 echo "configure: failed program was:" >&5
16454 cat conftest.$ac_ext >&5
16456 glibcpp_cv_func__modff_use=no
16460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16461 ac_cpp='$CPP $CPPFLAGS'
16462 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16463 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16464 cross_compiling=$ac_cv_prog_cc_cross
16470 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16472 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16473 for ac_func in _modff
16475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16476 echo "configure:16477: checking for $ac_func" >&5
16477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16478 echo $ac_n "(cached) $ac_c" 1>&6
16480 cat > conftest.$ac_ext <<EOF
16481 #line 16482 "configure"
16482 #include "confdefs.h"
16483 /* System header to define __stub macros and hopefully few prototypes,
16484 which can conflict with char $ac_func(); below. */
16485 #include <assert.h>
16486 /* Override any gcc2 internal prototype to avoid an error. */
16487 /* We use char because int might match the return type of a gcc2
16488 builtin and then its argument prototype would still apply. */
16493 /* The GNU C library defines this for functions which it implements
16494 to always fail with ENOSYS. Some functions are actually named
16495 something starting with __ and the normal name is an alias. */
16496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16504 if { (eval echo configure:16505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16506 eval "ac_cv_func_$ac_func=yes"
16508 echo "configure: failed program was:" >&5
16509 cat conftest.$ac_ext >&5
16511 eval "ac_cv_func_$ac_func=no"
16516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16517 echo "$ac_t""yes" 1>&6
16518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16519 cat >> confdefs.h <<EOF
16520 #define $ac_tr_func 1
16524 echo "$ac_t""no" 1>&6
16533 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
16534 echo "configure:16535: checking for powf declaration" >&5
16535 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16536 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16537 echo $ac_n "(cached) $ac_c" 1>&6
16542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16543 ac_cpp='$CXXCPP $CPPFLAGS'
16544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16546 cross_compiling=$ac_cv_prog_cxx_cross
16548 cat > conftest.$ac_ext <<EOF
16549 #line 16550 "configure"
16550 #include "confdefs.h"
16556 if { (eval echo configure:16557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16558 glibcpp_cv_func_powf_use=yes
16560 echo "configure: failed program was:" >&5
16561 cat conftest.$ac_ext >&5
16563 glibcpp_cv_func_powf_use=no
16567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16568 ac_cpp='$CPP $CPPFLAGS'
16569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16571 cross_compiling=$ac_cv_prog_cc_cross
16577 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16579 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16580 for ac_func in powf
16582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16583 echo "configure:16584: checking for $ac_func" >&5
16584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16585 echo $ac_n "(cached) $ac_c" 1>&6
16587 cat > conftest.$ac_ext <<EOF
16588 #line 16589 "configure"
16589 #include "confdefs.h"
16590 /* System header to define __stub macros and hopefully few prototypes,
16591 which can conflict with char $ac_func(); below. */
16592 #include <assert.h>
16593 /* Override any gcc2 internal prototype to avoid an error. */
16594 /* We use char because int might match the return type of a gcc2
16595 builtin and then its argument prototype would still apply. */
16600 /* The GNU C library defines this for functions which it implements
16601 to always fail with ENOSYS. Some functions are actually named
16602 something starting with __ and the normal name is an alias. */
16603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16611 if { (eval echo configure:16612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16613 eval "ac_cv_func_$ac_func=yes"
16615 echo "configure: failed program was:" >&5
16616 cat conftest.$ac_ext >&5
16618 eval "ac_cv_func_$ac_func=no"
16623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16624 echo "$ac_t""yes" 1>&6
16625 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16626 cat >> confdefs.h <<EOF
16627 #define $ac_tr_func 1
16631 echo "$ac_t""no" 1>&6
16637 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
16638 echo "configure:16639: checking for _powf declaration" >&5
16639 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16640 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16641 echo $ac_n "(cached) $ac_c" 1>&6
16646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16647 ac_cpp='$CXXCPP $CPPFLAGS'
16648 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16649 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16650 cross_compiling=$ac_cv_prog_cxx_cross
16652 cat > conftest.$ac_ext <<EOF
16653 #line 16654 "configure"
16654 #include "confdefs.h"
16660 if { (eval echo configure:16661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16662 glibcpp_cv_func__powf_use=yes
16664 echo "configure: failed program was:" >&5
16665 cat conftest.$ac_ext >&5
16667 glibcpp_cv_func__powf_use=no
16671 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16672 ac_cpp='$CPP $CPPFLAGS'
16673 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16674 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16675 cross_compiling=$ac_cv_prog_cc_cross
16681 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16683 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16684 for ac_func in _powf
16686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16687 echo "configure:16688: checking for $ac_func" >&5
16688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16689 echo $ac_n "(cached) $ac_c" 1>&6
16691 cat > conftest.$ac_ext <<EOF
16692 #line 16693 "configure"
16693 #include "confdefs.h"
16694 /* System header to define __stub macros and hopefully few prototypes,
16695 which can conflict with char $ac_func(); below. */
16696 #include <assert.h>
16697 /* Override any gcc2 internal prototype to avoid an error. */
16698 /* We use char because int might match the return type of a gcc2
16699 builtin and then its argument prototype would still apply. */
16704 /* The GNU C library defines this for functions which it implements
16705 to always fail with ENOSYS. Some functions are actually named
16706 something starting with __ and the normal name is an alias. */
16707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16715 if { (eval echo configure:16716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16717 eval "ac_cv_func_$ac_func=yes"
16719 echo "configure: failed program was:" >&5
16720 cat conftest.$ac_ext >&5
16722 eval "ac_cv_func_$ac_func=no"
16727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16728 echo "$ac_t""yes" 1>&6
16729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16730 cat >> confdefs.h <<EOF
16731 #define $ac_tr_func 1
16735 echo "$ac_t""no" 1>&6
16744 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
16745 echo "configure:16746: checking for sqrtf declaration" >&5
16746 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16747 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16748 echo $ac_n "(cached) $ac_c" 1>&6
16753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16754 ac_cpp='$CXXCPP $CPPFLAGS'
16755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16757 cross_compiling=$ac_cv_prog_cxx_cross
16759 cat > conftest.$ac_ext <<EOF
16760 #line 16761 "configure"
16761 #include "confdefs.h"
16763 #ifdef HAVE_IEEEFP_H
16764 #include <ieeefp.h>
16771 if { (eval echo configure:16772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16773 glibcpp_cv_func_sqrtf_use=yes
16775 echo "configure: failed program was:" >&5
16776 cat conftest.$ac_ext >&5
16778 glibcpp_cv_func_sqrtf_use=no
16782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16783 ac_cpp='$CPP $CPPFLAGS'
16784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16786 cross_compiling=$ac_cv_prog_cc_cross
16792 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16794 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16795 for ac_func in sqrtf
16797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16798 echo "configure:16799: checking for $ac_func" >&5
16799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16800 echo $ac_n "(cached) $ac_c" 1>&6
16802 cat > conftest.$ac_ext <<EOF
16803 #line 16804 "configure"
16804 #include "confdefs.h"
16805 /* System header to define __stub macros and hopefully few prototypes,
16806 which can conflict with char $ac_func(); below. */
16807 #include <assert.h>
16808 /* Override any gcc2 internal prototype to avoid an error. */
16809 /* We use char because int might match the return type of a gcc2
16810 builtin and then its argument prototype would still apply. */
16815 /* The GNU C library defines this for functions which it implements
16816 to always fail with ENOSYS. Some functions are actually named
16817 something starting with __ and the normal name is an alias. */
16818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16826 if { (eval echo configure:16827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16828 eval "ac_cv_func_$ac_func=yes"
16830 echo "configure: failed program was:" >&5
16831 cat conftest.$ac_ext >&5
16833 eval "ac_cv_func_$ac_func=no"
16838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16839 echo "$ac_t""yes" 1>&6
16840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16841 cat >> confdefs.h <<EOF
16842 #define $ac_tr_func 1
16846 echo "$ac_t""no" 1>&6
16852 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
16853 echo "configure:16854: checking for _sqrtf declaration" >&5
16854 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16855 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16856 echo $ac_n "(cached) $ac_c" 1>&6
16861 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16862 ac_cpp='$CXXCPP $CPPFLAGS'
16863 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16864 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16865 cross_compiling=$ac_cv_prog_cxx_cross
16867 cat > conftest.$ac_ext <<EOF
16868 #line 16869 "configure"
16869 #include "confdefs.h"
16871 #ifdef HAVE_IEEEFP_H
16872 #include <ieeefp.h>
16879 if { (eval echo configure:16880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16881 glibcpp_cv_func__sqrtf_use=yes
16883 echo "configure: failed program was:" >&5
16884 cat conftest.$ac_ext >&5
16886 glibcpp_cv_func__sqrtf_use=no
16890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16891 ac_cpp='$CPP $CPPFLAGS'
16892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16894 cross_compiling=$ac_cv_prog_cc_cross
16900 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16902 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16903 for ac_func in _sqrtf
16905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16906 echo "configure:16907: checking for $ac_func" >&5
16907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16908 echo $ac_n "(cached) $ac_c" 1>&6
16910 cat > conftest.$ac_ext <<EOF
16911 #line 16912 "configure"
16912 #include "confdefs.h"
16913 /* System header to define __stub macros and hopefully few prototypes,
16914 which can conflict with char $ac_func(); below. */
16915 #include <assert.h>
16916 /* Override any gcc2 internal prototype to avoid an error. */
16917 /* We use char because int might match the return type of a gcc2
16918 builtin and then its argument prototype would still apply. */
16923 /* The GNU C library defines this for functions which it implements
16924 to always fail with ENOSYS. Some functions are actually named
16925 something starting with __ and the normal name is an alias. */
16926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16934 if { (eval echo configure:16935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16936 eval "ac_cv_func_$ac_func=yes"
16938 echo "configure: failed program was:" >&5
16939 cat conftest.$ac_ext >&5
16941 eval "ac_cv_func_$ac_func=no"
16946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16947 echo "$ac_t""yes" 1>&6
16948 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16949 cat >> confdefs.h <<EOF
16950 #define $ac_tr_func 1
16954 echo "$ac_t""no" 1>&6
16963 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
16964 echo "configure:16965: checking for sincosf declaration" >&5
16965 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16966 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16967 echo $ac_n "(cached) $ac_c" 1>&6
16972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16973 ac_cpp='$CXXCPP $CPPFLAGS'
16974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16976 cross_compiling=$ac_cv_prog_cxx_cross
16978 cat > conftest.$ac_ext <<EOF
16979 #line 16980 "configure"
16980 #include "confdefs.h"
16986 if { (eval echo configure:16987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16988 glibcpp_cv_func_sincosf_use=yes
16990 echo "configure: failed program was:" >&5
16991 cat conftest.$ac_ext >&5
16993 glibcpp_cv_func_sincosf_use=no
16997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16998 ac_cpp='$CPP $CPPFLAGS'
16999 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17000 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17001 cross_compiling=$ac_cv_prog_cc_cross
17007 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
17009 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
17010 for ac_func in sincosf
17012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17013 echo "configure:17014: checking for $ac_func" >&5
17014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17015 echo $ac_n "(cached) $ac_c" 1>&6
17017 cat > conftest.$ac_ext <<EOF
17018 #line 17019 "configure"
17019 #include "confdefs.h"
17020 /* System header to define __stub macros and hopefully few prototypes,
17021 which can conflict with char $ac_func(); below. */
17022 #include <assert.h>
17023 /* Override any gcc2 internal prototype to avoid an error. */
17024 /* We use char because int might match the return type of a gcc2
17025 builtin and then its argument prototype would still apply. */
17030 /* The GNU C library defines this for functions which it implements
17031 to always fail with ENOSYS. Some functions are actually named
17032 something starting with __ and the normal name is an alias. */
17033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17041 if { (eval echo configure:17042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17043 eval "ac_cv_func_$ac_func=yes"
17045 echo "configure: failed program was:" >&5
17046 cat conftest.$ac_ext >&5
17048 eval "ac_cv_func_$ac_func=no"
17053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17054 echo "$ac_t""yes" 1>&6
17055 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17056 cat >> confdefs.h <<EOF
17057 #define $ac_tr_func 1
17061 echo "$ac_t""no" 1>&6
17067 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
17068 echo "configure:17069: checking for _sincosf declaration" >&5
17069 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
17070 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
17071 echo $ac_n "(cached) $ac_c" 1>&6
17076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17077 ac_cpp='$CXXCPP $CPPFLAGS'
17078 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17079 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17080 cross_compiling=$ac_cv_prog_cxx_cross
17082 cat > conftest.$ac_ext <<EOF
17083 #line 17084 "configure"
17084 #include "confdefs.h"
17090 if { (eval echo configure:17091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17092 glibcpp_cv_func__sincosf_use=yes
17094 echo "configure: failed program was:" >&5
17095 cat conftest.$ac_ext >&5
17097 glibcpp_cv_func__sincosf_use=no
17101 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17102 ac_cpp='$CPP $CPPFLAGS'
17103 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17104 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17105 cross_compiling=$ac_cv_prog_cc_cross
17111 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
17113 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
17114 for ac_func in _sincosf
17116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17117 echo "configure:17118: checking for $ac_func" >&5
17118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17119 echo $ac_n "(cached) $ac_c" 1>&6
17121 cat > conftest.$ac_ext <<EOF
17122 #line 17123 "configure"
17123 #include "confdefs.h"
17124 /* System header to define __stub macros and hopefully few prototypes,
17125 which can conflict with char $ac_func(); below. */
17126 #include <assert.h>
17127 /* Override any gcc2 internal prototype to avoid an error. */
17128 /* We use char because int might match the return type of a gcc2
17129 builtin and then its argument prototype would still apply. */
17134 /* The GNU C library defines this for functions which it implements
17135 to always fail with ENOSYS. Some functions are actually named
17136 something starting with __ and the normal name is an alias. */
17137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17145 if { (eval echo configure:17146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17147 eval "ac_cv_func_$ac_func=yes"
17149 echo "configure: failed program was:" >&5
17150 cat conftest.$ac_ext >&5
17152 eval "ac_cv_func_$ac_func=no"
17157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17158 echo "$ac_t""yes" 1>&6
17159 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17160 cat >> confdefs.h <<EOF
17161 #define $ac_tr_func 1
17165 echo "$ac_t""no" 1>&6
17174 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
17175 echo "configure:17176: checking for finitef declaration" >&5
17176 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
17177 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
17178 echo $ac_n "(cached) $ac_c" 1>&6
17183 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17184 ac_cpp='$CXXCPP $CPPFLAGS'
17185 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17186 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17187 cross_compiling=$ac_cv_prog_cxx_cross
17189 cat > conftest.$ac_ext <<EOF
17190 #line 17191 "configure"
17191 #include "confdefs.h"
17193 #ifdef HAVE_IEEEFP_H
17194 #include <ieeefp.h>
17201 if { (eval echo configure:17202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17203 glibcpp_cv_func_finitef_use=yes
17205 echo "configure: failed program was:" >&5
17206 cat conftest.$ac_ext >&5
17208 glibcpp_cv_func_finitef_use=no
17212 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17215 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17216 cross_compiling=$ac_cv_prog_cc_cross
17222 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17224 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17225 for ac_func in finitef
17227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17228 echo "configure:17229: checking for $ac_func" >&5
17229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17230 echo $ac_n "(cached) $ac_c" 1>&6
17232 cat > conftest.$ac_ext <<EOF
17233 #line 17234 "configure"
17234 #include "confdefs.h"
17235 /* System header to define __stub macros and hopefully few prototypes,
17236 which can conflict with char $ac_func(); below. */
17237 #include <assert.h>
17238 /* Override any gcc2 internal prototype to avoid an error. */
17239 /* We use char because int might match the return type of a gcc2
17240 builtin and then its argument prototype would still apply. */
17245 /* The GNU C library defines this for functions which it implements
17246 to always fail with ENOSYS. Some functions are actually named
17247 something starting with __ and the normal name is an alias. */
17248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17256 if { (eval echo configure:17257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17258 eval "ac_cv_func_$ac_func=yes"
17260 echo "configure: failed program was:" >&5
17261 cat conftest.$ac_ext >&5
17263 eval "ac_cv_func_$ac_func=no"
17268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17269 echo "$ac_t""yes" 1>&6
17270 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17271 cat >> confdefs.h <<EOF
17272 #define $ac_tr_func 1
17276 echo "$ac_t""no" 1>&6
17282 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
17283 echo "configure:17284: checking for _finitef declaration" >&5
17284 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17285 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17286 echo $ac_n "(cached) $ac_c" 1>&6
17291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17292 ac_cpp='$CXXCPP $CPPFLAGS'
17293 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17294 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17295 cross_compiling=$ac_cv_prog_cxx_cross
17297 cat > conftest.$ac_ext <<EOF
17298 #line 17299 "configure"
17299 #include "confdefs.h"
17301 #ifdef HAVE_IEEEFP_H
17302 #include <ieeefp.h>
17309 if { (eval echo configure:17310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17311 glibcpp_cv_func__finitef_use=yes
17313 echo "configure: failed program was:" >&5
17314 cat conftest.$ac_ext >&5
17316 glibcpp_cv_func__finitef_use=no
17320 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17321 ac_cpp='$CPP $CPPFLAGS'
17322 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17323 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17324 cross_compiling=$ac_cv_prog_cc_cross
17330 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17332 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17333 for ac_func in _finitef
17335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17336 echo "configure:17337: checking for $ac_func" >&5
17337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17338 echo $ac_n "(cached) $ac_c" 1>&6
17340 cat > conftest.$ac_ext <<EOF
17341 #line 17342 "configure"
17342 #include "confdefs.h"
17343 /* System header to define __stub macros and hopefully few prototypes,
17344 which can conflict with char $ac_func(); below. */
17345 #include <assert.h>
17346 /* Override any gcc2 internal prototype to avoid an error. */
17347 /* We use char because int might match the return type of a gcc2
17348 builtin and then its argument prototype would still apply. */
17353 /* The GNU C library defines this for functions which it implements
17354 to always fail with ENOSYS. Some functions are actually named
17355 something starting with __ and the normal name is an alias. */
17356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17364 if { (eval echo configure:17365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17366 eval "ac_cv_func_$ac_func=yes"
17368 echo "configure: failed program was:" >&5
17369 cat conftest.$ac_ext >&5
17371 eval "ac_cv_func_$ac_func=no"
17376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17377 echo "$ac_t""yes" 1>&6
17378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17379 cat >> confdefs.h <<EOF
17380 #define $ac_tr_func 1
17384 echo "$ac_t""no" 1>&6
17393 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
17394 echo "configure:17395: checking for long double trig functions" >&5
17395 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17396 echo $ac_n "(cached) $ac_c" 1>&6
17401 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17402 ac_cpp='$CXXCPP $CPPFLAGS'
17403 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17404 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17405 cross_compiling=$ac_cv_prog_cxx_cross
17407 cat > conftest.$ac_ext <<EOF
17408 #line 17409 "configure"
17409 #include "confdefs.h"
17412 `for x in acosl asinl atanl \
17414 coshl sinhl tanhl; do echo "$x (0);"; done`
17417 if { (eval echo configure:17418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17419 glibcpp_cv_func_long_double_trig_use=yes
17421 echo "configure: failed program was:" >&5
17422 cat conftest.$ac_ext >&5
17424 glibcpp_cv_func_long_double_trig_use=no
17428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17429 ac_cpp='$CPP $CPPFLAGS'
17430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17432 cross_compiling=$ac_cv_prog_cc_cross
17436 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17437 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17438 for ac_func in acosl asinl atanl \
17442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17443 echo "configure:17444: checking for $ac_func" >&5
17444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17445 echo $ac_n "(cached) $ac_c" 1>&6
17447 cat > conftest.$ac_ext <<EOF
17448 #line 17449 "configure"
17449 #include "confdefs.h"
17450 /* System header to define __stub macros and hopefully few prototypes,
17451 which can conflict with char $ac_func(); below. */
17452 #include <assert.h>
17453 /* Override any gcc2 internal prototype to avoid an error. */
17454 /* We use char because int might match the return type of a gcc2
17455 builtin and then its argument prototype would still apply. */
17460 /* The GNU C library defines this for functions which it implements
17461 to always fail with ENOSYS. Some functions are actually named
17462 something starting with __ and the normal name is an alias. */
17463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17471 if { (eval echo configure:17472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17473 eval "ac_cv_func_$ac_func=yes"
17475 echo "configure: failed program was:" >&5
17476 cat conftest.$ac_ext >&5
17478 eval "ac_cv_func_$ac_func=no"
17483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17484 echo "$ac_t""yes" 1>&6
17485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17486 cat >> confdefs.h <<EOF
17487 #define $ac_tr_func 1
17491 echo "$ac_t""no" 1>&6
17498 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
17499 echo "configure:17500: checking for long double round functions" >&5
17500 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17501 echo $ac_n "(cached) $ac_c" 1>&6
17506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17507 ac_cpp='$CXXCPP $CPPFLAGS'
17508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17510 cross_compiling=$ac_cv_prog_cxx_cross
17512 cat > conftest.$ac_ext <<EOF
17513 #line 17514 "configure"
17514 #include "confdefs.h"
17517 `for x in ceill floorl; do echo "$x (0);"; done`
17520 if { (eval echo configure:17521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17522 glibcpp_cv_func_long_double_round_use=yes
17524 echo "configure: failed program was:" >&5
17525 cat conftest.$ac_ext >&5
17527 glibcpp_cv_func_long_double_round_use=no
17531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17532 ac_cpp='$CPP $CPPFLAGS'
17533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17535 cross_compiling=$ac_cv_prog_cc_cross
17539 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17540 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17541 for ac_func in ceill floorl
17543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17544 echo "configure:17545: checking for $ac_func" >&5
17545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17546 echo $ac_n "(cached) $ac_c" 1>&6
17548 cat > conftest.$ac_ext <<EOF
17549 #line 17550 "configure"
17550 #include "confdefs.h"
17551 /* System header to define __stub macros and hopefully few prototypes,
17552 which can conflict with char $ac_func(); below. */
17553 #include <assert.h>
17554 /* Override any gcc2 internal prototype to avoid an error. */
17555 /* We use char because int might match the return type of a gcc2
17556 builtin and then its argument prototype would still apply. */
17561 /* The GNU C library defines this for functions which it implements
17562 to always fail with ENOSYS. Some functions are actually named
17563 something starting with __ and the normal name is an alias. */
17564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17572 if { (eval echo configure:17573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17574 eval "ac_cv_func_$ac_func=yes"
17576 echo "configure: failed program was:" >&5
17577 cat conftest.$ac_ext >&5
17579 eval "ac_cv_func_$ac_func=no"
17584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17585 echo "$ac_t""yes" 1>&6
17586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17587 cat >> confdefs.h <<EOF
17588 #define $ac_tr_func 1
17592 echo "$ac_t""no" 1>&6
17600 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
17601 echo "configure:17602: checking for isnanl declaration" >&5
17602 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17603 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17604 echo $ac_n "(cached) $ac_c" 1>&6
17609 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17610 ac_cpp='$CXXCPP $CPPFLAGS'
17611 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17612 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17613 cross_compiling=$ac_cv_prog_cxx_cross
17615 cat > conftest.$ac_ext <<EOF
17616 #line 17617 "configure"
17617 #include "confdefs.h"
17619 #ifdef HAVE_IEEEFP_H
17620 #include <ieeefp.h>
17627 if { (eval echo configure:17628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17629 glibcpp_cv_func_isnanl_use=yes
17631 echo "configure: failed program was:" >&5
17632 cat conftest.$ac_ext >&5
17634 glibcpp_cv_func_isnanl_use=no
17638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17639 ac_cpp='$CPP $CPPFLAGS'
17640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17642 cross_compiling=$ac_cv_prog_cc_cross
17648 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17650 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17651 for ac_func in isnanl
17653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17654 echo "configure:17655: checking for $ac_func" >&5
17655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17656 echo $ac_n "(cached) $ac_c" 1>&6
17658 cat > conftest.$ac_ext <<EOF
17659 #line 17660 "configure"
17660 #include "confdefs.h"
17661 /* System header to define __stub macros and hopefully few prototypes,
17662 which can conflict with char $ac_func(); below. */
17663 #include <assert.h>
17664 /* Override any gcc2 internal prototype to avoid an error. */
17665 /* We use char because int might match the return type of a gcc2
17666 builtin and then its argument prototype would still apply. */
17671 /* The GNU C library defines this for functions which it implements
17672 to always fail with ENOSYS. Some functions are actually named
17673 something starting with __ and the normal name is an alias. */
17674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17682 if { (eval echo configure:17683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17684 eval "ac_cv_func_$ac_func=yes"
17686 echo "configure: failed program was:" >&5
17687 cat conftest.$ac_ext >&5
17689 eval "ac_cv_func_$ac_func=no"
17694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17695 echo "$ac_t""yes" 1>&6
17696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17697 cat >> confdefs.h <<EOF
17698 #define $ac_tr_func 1
17702 echo "$ac_t""no" 1>&6
17708 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
17709 echo "configure:17710: checking for _isnanl declaration" >&5
17710 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17711 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17712 echo $ac_n "(cached) $ac_c" 1>&6
17717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17718 ac_cpp='$CXXCPP $CPPFLAGS'
17719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17721 cross_compiling=$ac_cv_prog_cxx_cross
17723 cat > conftest.$ac_ext <<EOF
17724 #line 17725 "configure"
17725 #include "confdefs.h"
17727 #ifdef HAVE_IEEEFP_H
17728 #include <ieeefp.h>
17735 if { (eval echo configure:17736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17737 glibcpp_cv_func__isnanl_use=yes
17739 echo "configure: failed program was:" >&5
17740 cat conftest.$ac_ext >&5
17742 glibcpp_cv_func__isnanl_use=no
17746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17747 ac_cpp='$CPP $CPPFLAGS'
17748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17749 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17750 cross_compiling=$ac_cv_prog_cc_cross
17756 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17758 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17759 for ac_func in _isnanl
17761 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17762 echo "configure:17763: checking for $ac_func" >&5
17763 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17764 echo $ac_n "(cached) $ac_c" 1>&6
17766 cat > conftest.$ac_ext <<EOF
17767 #line 17768 "configure"
17768 #include "confdefs.h"
17769 /* System header to define __stub macros and hopefully few prototypes,
17770 which can conflict with char $ac_func(); below. */
17771 #include <assert.h>
17772 /* Override any gcc2 internal prototype to avoid an error. */
17773 /* We use char because int might match the return type of a gcc2
17774 builtin and then its argument prototype would still apply. */
17779 /* The GNU C library defines this for functions which it implements
17780 to always fail with ENOSYS. Some functions are actually named
17781 something starting with __ and the normal name is an alias. */
17782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17790 if { (eval echo configure:17791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17792 eval "ac_cv_func_$ac_func=yes"
17794 echo "configure: failed program was:" >&5
17795 cat conftest.$ac_ext >&5
17797 eval "ac_cv_func_$ac_func=no"
17802 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17803 echo "$ac_t""yes" 1>&6
17804 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17805 cat >> confdefs.h <<EOF
17806 #define $ac_tr_func 1
17810 echo "$ac_t""no" 1>&6
17819 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
17820 echo "configure:17821: checking for isinfl declaration" >&5
17821 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17822 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17823 echo $ac_n "(cached) $ac_c" 1>&6
17828 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17829 ac_cpp='$CXXCPP $CPPFLAGS'
17830 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17831 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17832 cross_compiling=$ac_cv_prog_cxx_cross
17834 cat > conftest.$ac_ext <<EOF
17835 #line 17836 "configure"
17836 #include "confdefs.h"
17838 #ifdef HAVE_IEEEFP_H
17839 #include <ieeefp.h>
17846 if { (eval echo configure:17847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17848 glibcpp_cv_func_isinfl_use=yes
17850 echo "configure: failed program was:" >&5
17851 cat conftest.$ac_ext >&5
17853 glibcpp_cv_func_isinfl_use=no
17857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17858 ac_cpp='$CPP $CPPFLAGS'
17859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17861 cross_compiling=$ac_cv_prog_cc_cross
17867 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17869 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17870 for ac_func in isinfl
17872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17873 echo "configure:17874: checking for $ac_func" >&5
17874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17875 echo $ac_n "(cached) $ac_c" 1>&6
17877 cat > conftest.$ac_ext <<EOF
17878 #line 17879 "configure"
17879 #include "confdefs.h"
17880 /* System header to define __stub macros and hopefully few prototypes,
17881 which can conflict with char $ac_func(); below. */
17882 #include <assert.h>
17883 /* Override any gcc2 internal prototype to avoid an error. */
17884 /* We use char because int might match the return type of a gcc2
17885 builtin and then its argument prototype would still apply. */
17890 /* The GNU C library defines this for functions which it implements
17891 to always fail with ENOSYS. Some functions are actually named
17892 something starting with __ and the normal name is an alias. */
17893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17901 if { (eval echo configure:17902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17903 eval "ac_cv_func_$ac_func=yes"
17905 echo "configure: failed program was:" >&5
17906 cat conftest.$ac_ext >&5
17908 eval "ac_cv_func_$ac_func=no"
17913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17914 echo "$ac_t""yes" 1>&6
17915 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17916 cat >> confdefs.h <<EOF
17917 #define $ac_tr_func 1
17921 echo "$ac_t""no" 1>&6
17927 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
17928 echo "configure:17929: checking for _isinfl declaration" >&5
17929 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17930 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17931 echo $ac_n "(cached) $ac_c" 1>&6
17936 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17937 ac_cpp='$CXXCPP $CPPFLAGS'
17938 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17939 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17940 cross_compiling=$ac_cv_prog_cxx_cross
17942 cat > conftest.$ac_ext <<EOF
17943 #line 17944 "configure"
17944 #include "confdefs.h"
17946 #ifdef HAVE_IEEEFP_H
17947 #include <ieeefp.h>
17954 if { (eval echo configure:17955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17956 glibcpp_cv_func__isinfl_use=yes
17958 echo "configure: failed program was:" >&5
17959 cat conftest.$ac_ext >&5
17961 glibcpp_cv_func__isinfl_use=no
17965 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17966 ac_cpp='$CPP $CPPFLAGS'
17967 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17968 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17969 cross_compiling=$ac_cv_prog_cc_cross
17975 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17977 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17978 for ac_func in _isinfl
17980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17981 echo "configure:17982: checking for $ac_func" >&5
17982 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17983 echo $ac_n "(cached) $ac_c" 1>&6
17985 cat > conftest.$ac_ext <<EOF
17986 #line 17987 "configure"
17987 #include "confdefs.h"
17988 /* System header to define __stub macros and hopefully few prototypes,
17989 which can conflict with char $ac_func(); below. */
17990 #include <assert.h>
17991 /* Override any gcc2 internal prototype to avoid an error. */
17992 /* We use char because int might match the return type of a gcc2
17993 builtin and then its argument prototype would still apply. */
17998 /* The GNU C library defines this for functions which it implements
17999 to always fail with ENOSYS. Some functions are actually named
18000 something starting with __ and the normal name is an alias. */
18001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18009 if { (eval echo configure:18010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18011 eval "ac_cv_func_$ac_func=yes"
18013 echo "configure: failed program was:" >&5
18014 cat conftest.$ac_ext >&5
18016 eval "ac_cv_func_$ac_func=no"
18021 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18022 echo "$ac_t""yes" 1>&6
18023 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18024 cat >> confdefs.h <<EOF
18025 #define $ac_tr_func 1
18029 echo "$ac_t""no" 1>&6
18038 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
18039 echo "configure:18040: checking for copysignl declaration" >&5
18040 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
18041 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
18042 echo $ac_n "(cached) $ac_c" 1>&6
18047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18048 ac_cpp='$CXXCPP $CPPFLAGS'
18049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18051 cross_compiling=$ac_cv_prog_cxx_cross
18053 cat > conftest.$ac_ext <<EOF
18054 #line 18055 "configure"
18055 #include "confdefs.h"
18061 if { (eval echo configure:18062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18063 glibcpp_cv_func_copysignl_use=yes
18065 echo "configure: failed program was:" >&5
18066 cat conftest.$ac_ext >&5
18068 glibcpp_cv_func_copysignl_use=no
18072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18073 ac_cpp='$CPP $CPPFLAGS'
18074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18076 cross_compiling=$ac_cv_prog_cc_cross
18082 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
18084 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
18085 for ac_func in copysignl
18087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18088 echo "configure:18089: checking for $ac_func" >&5
18089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18090 echo $ac_n "(cached) $ac_c" 1>&6
18092 cat > conftest.$ac_ext <<EOF
18093 #line 18094 "configure"
18094 #include "confdefs.h"
18095 /* System header to define __stub macros and hopefully few prototypes,
18096 which can conflict with char $ac_func(); below. */
18097 #include <assert.h>
18098 /* Override any gcc2 internal prototype to avoid an error. */
18099 /* We use char because int might match the return type of a gcc2
18100 builtin and then its argument prototype would still apply. */
18105 /* The GNU C library defines this for functions which it implements
18106 to always fail with ENOSYS. Some functions are actually named
18107 something starting with __ and the normal name is an alias. */
18108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18116 if { (eval echo configure:18117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18118 eval "ac_cv_func_$ac_func=yes"
18120 echo "configure: failed program was:" >&5
18121 cat conftest.$ac_ext >&5
18123 eval "ac_cv_func_$ac_func=no"
18128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18129 echo "$ac_t""yes" 1>&6
18130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18131 cat >> confdefs.h <<EOF
18132 #define $ac_tr_func 1
18136 echo "$ac_t""no" 1>&6
18142 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
18143 echo "configure:18144: checking for _copysignl declaration" >&5
18144 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
18145 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
18146 echo $ac_n "(cached) $ac_c" 1>&6
18151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18152 ac_cpp='$CXXCPP $CPPFLAGS'
18153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18155 cross_compiling=$ac_cv_prog_cxx_cross
18157 cat > conftest.$ac_ext <<EOF
18158 #line 18159 "configure"
18159 #include "confdefs.h"
18165 if { (eval echo configure:18166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18167 glibcpp_cv_func__copysignl_use=yes
18169 echo "configure: failed program was:" >&5
18170 cat conftest.$ac_ext >&5
18172 glibcpp_cv_func__copysignl_use=no
18176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18177 ac_cpp='$CPP $CPPFLAGS'
18178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18180 cross_compiling=$ac_cv_prog_cc_cross
18186 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
18188 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
18189 for ac_func in _copysignl
18191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18192 echo "configure:18193: checking for $ac_func" >&5
18193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18194 echo $ac_n "(cached) $ac_c" 1>&6
18196 cat > conftest.$ac_ext <<EOF
18197 #line 18198 "configure"
18198 #include "confdefs.h"
18199 /* System header to define __stub macros and hopefully few prototypes,
18200 which can conflict with char $ac_func(); below. */
18201 #include <assert.h>
18202 /* Override any gcc2 internal prototype to avoid an error. */
18203 /* We use char because int might match the return type of a gcc2
18204 builtin and then its argument prototype would still apply. */
18209 /* The GNU C library defines this for functions which it implements
18210 to always fail with ENOSYS. Some functions are actually named
18211 something starting with __ and the normal name is an alias. */
18212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18220 if { (eval echo configure:18221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18222 eval "ac_cv_func_$ac_func=yes"
18224 echo "configure: failed program was:" >&5
18225 cat conftest.$ac_ext >&5
18227 eval "ac_cv_func_$ac_func=no"
18232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18233 echo "$ac_t""yes" 1>&6
18234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18235 cat >> confdefs.h <<EOF
18236 #define $ac_tr_func 1
18240 echo "$ac_t""no" 1>&6
18249 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
18250 echo "configure:18251: checking for atan2l declaration" >&5
18251 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18252 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18253 echo $ac_n "(cached) $ac_c" 1>&6
18258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18259 ac_cpp='$CXXCPP $CPPFLAGS'
18260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18262 cross_compiling=$ac_cv_prog_cxx_cross
18264 cat > conftest.$ac_ext <<EOF
18265 #line 18266 "configure"
18266 #include "confdefs.h"
18272 if { (eval echo configure:18273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18274 glibcpp_cv_func_atan2l_use=yes
18276 echo "configure: failed program was:" >&5
18277 cat conftest.$ac_ext >&5
18279 glibcpp_cv_func_atan2l_use=no
18283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18284 ac_cpp='$CPP $CPPFLAGS'
18285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18287 cross_compiling=$ac_cv_prog_cc_cross
18293 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18295 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18296 for ac_func in atan2l
18298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18299 echo "configure:18300: checking for $ac_func" >&5
18300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18301 echo $ac_n "(cached) $ac_c" 1>&6
18303 cat > conftest.$ac_ext <<EOF
18304 #line 18305 "configure"
18305 #include "confdefs.h"
18306 /* System header to define __stub macros and hopefully few prototypes,
18307 which can conflict with char $ac_func(); below. */
18308 #include <assert.h>
18309 /* Override any gcc2 internal prototype to avoid an error. */
18310 /* We use char because int might match the return type of a gcc2
18311 builtin and then its argument prototype would still apply. */
18316 /* The GNU C library defines this for functions which it implements
18317 to always fail with ENOSYS. Some functions are actually named
18318 something starting with __ and the normal name is an alias. */
18319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18327 if { (eval echo configure:18328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18329 eval "ac_cv_func_$ac_func=yes"
18331 echo "configure: failed program was:" >&5
18332 cat conftest.$ac_ext >&5
18334 eval "ac_cv_func_$ac_func=no"
18339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18340 echo "$ac_t""yes" 1>&6
18341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18342 cat >> confdefs.h <<EOF
18343 #define $ac_tr_func 1
18347 echo "$ac_t""no" 1>&6
18353 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
18354 echo "configure:18355: checking for _atan2l declaration" >&5
18355 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18356 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18357 echo $ac_n "(cached) $ac_c" 1>&6
18362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18363 ac_cpp='$CXXCPP $CPPFLAGS'
18364 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18365 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18366 cross_compiling=$ac_cv_prog_cxx_cross
18368 cat > conftest.$ac_ext <<EOF
18369 #line 18370 "configure"
18370 #include "confdefs.h"
18376 if { (eval echo configure:18377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18378 glibcpp_cv_func__atan2l_use=yes
18380 echo "configure: failed program was:" >&5
18381 cat conftest.$ac_ext >&5
18383 glibcpp_cv_func__atan2l_use=no
18387 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18388 ac_cpp='$CPP $CPPFLAGS'
18389 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18390 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18391 cross_compiling=$ac_cv_prog_cc_cross
18397 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18399 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18400 for ac_func in _atan2l
18402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18403 echo "configure:18404: checking for $ac_func" >&5
18404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18405 echo $ac_n "(cached) $ac_c" 1>&6
18407 cat > conftest.$ac_ext <<EOF
18408 #line 18409 "configure"
18409 #include "confdefs.h"
18410 /* System header to define __stub macros and hopefully few prototypes,
18411 which can conflict with char $ac_func(); below. */
18412 #include <assert.h>
18413 /* Override any gcc2 internal prototype to avoid an error. */
18414 /* We use char because int might match the return type of a gcc2
18415 builtin and then its argument prototype would still apply. */
18420 /* The GNU C library defines this for functions which it implements
18421 to always fail with ENOSYS. Some functions are actually named
18422 something starting with __ and the normal name is an alias. */
18423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18431 if { (eval echo configure:18432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18433 eval "ac_cv_func_$ac_func=yes"
18435 echo "configure: failed program was:" >&5
18436 cat conftest.$ac_ext >&5
18438 eval "ac_cv_func_$ac_func=no"
18443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18444 echo "$ac_t""yes" 1>&6
18445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18446 cat >> confdefs.h <<EOF
18447 #define $ac_tr_func 1
18451 echo "$ac_t""no" 1>&6
18460 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
18461 echo "configure:18462: checking for expl declaration" >&5
18462 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18463 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18464 echo $ac_n "(cached) $ac_c" 1>&6
18469 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18470 ac_cpp='$CXXCPP $CPPFLAGS'
18471 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18472 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18473 cross_compiling=$ac_cv_prog_cxx_cross
18475 cat > conftest.$ac_ext <<EOF
18476 #line 18477 "configure"
18477 #include "confdefs.h"
18479 #ifdef HAVE_IEEEFP_H
18480 #include <ieeefp.h>
18487 if { (eval echo configure:18488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18489 glibcpp_cv_func_expl_use=yes
18491 echo "configure: failed program was:" >&5
18492 cat conftest.$ac_ext >&5
18494 glibcpp_cv_func_expl_use=no
18498 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18499 ac_cpp='$CPP $CPPFLAGS'
18500 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18501 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18502 cross_compiling=$ac_cv_prog_cc_cross
18508 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18510 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18511 for ac_func in expl
18513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18514 echo "configure:18515: checking for $ac_func" >&5
18515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18516 echo $ac_n "(cached) $ac_c" 1>&6
18518 cat > conftest.$ac_ext <<EOF
18519 #line 18520 "configure"
18520 #include "confdefs.h"
18521 /* System header to define __stub macros and hopefully few prototypes,
18522 which can conflict with char $ac_func(); below. */
18523 #include <assert.h>
18524 /* Override any gcc2 internal prototype to avoid an error. */
18525 /* We use char because int might match the return type of a gcc2
18526 builtin and then its argument prototype would still apply. */
18531 /* The GNU C library defines this for functions which it implements
18532 to always fail with ENOSYS. Some functions are actually named
18533 something starting with __ and the normal name is an alias. */
18534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18542 if { (eval echo configure:18543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18544 eval "ac_cv_func_$ac_func=yes"
18546 echo "configure: failed program was:" >&5
18547 cat conftest.$ac_ext >&5
18549 eval "ac_cv_func_$ac_func=no"
18554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18555 echo "$ac_t""yes" 1>&6
18556 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18557 cat >> confdefs.h <<EOF
18558 #define $ac_tr_func 1
18562 echo "$ac_t""no" 1>&6
18568 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
18569 echo "configure:18570: checking for _expl declaration" >&5
18570 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18571 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18572 echo $ac_n "(cached) $ac_c" 1>&6
18577 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18578 ac_cpp='$CXXCPP $CPPFLAGS'
18579 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18580 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18581 cross_compiling=$ac_cv_prog_cxx_cross
18583 cat > conftest.$ac_ext <<EOF
18584 #line 18585 "configure"
18585 #include "confdefs.h"
18587 #ifdef HAVE_IEEEFP_H
18588 #include <ieeefp.h>
18595 if { (eval echo configure:18596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18597 glibcpp_cv_func__expl_use=yes
18599 echo "configure: failed program was:" >&5
18600 cat conftest.$ac_ext >&5
18602 glibcpp_cv_func__expl_use=no
18606 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18607 ac_cpp='$CPP $CPPFLAGS'
18608 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18609 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18610 cross_compiling=$ac_cv_prog_cc_cross
18616 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18618 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18619 for ac_func in _expl
18621 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18622 echo "configure:18623: checking for $ac_func" >&5
18623 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18624 echo $ac_n "(cached) $ac_c" 1>&6
18626 cat > conftest.$ac_ext <<EOF
18627 #line 18628 "configure"
18628 #include "confdefs.h"
18629 /* System header to define __stub macros and hopefully few prototypes,
18630 which can conflict with char $ac_func(); below. */
18631 #include <assert.h>
18632 /* Override any gcc2 internal prototype to avoid an error. */
18633 /* We use char because int might match the return type of a gcc2
18634 builtin and then its argument prototype would still apply. */
18639 /* The GNU C library defines this for functions which it implements
18640 to always fail with ENOSYS. Some functions are actually named
18641 something starting with __ and the normal name is an alias. */
18642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18650 if { (eval echo configure:18651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18652 eval "ac_cv_func_$ac_func=yes"
18654 echo "configure: failed program was:" >&5
18655 cat conftest.$ac_ext >&5
18657 eval "ac_cv_func_$ac_func=no"
18662 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18663 echo "$ac_t""yes" 1>&6
18664 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18665 cat >> confdefs.h <<EOF
18666 #define $ac_tr_func 1
18670 echo "$ac_t""no" 1>&6
18679 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
18680 echo "configure:18681: checking for fabsl declaration" >&5
18681 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18682 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18683 echo $ac_n "(cached) $ac_c" 1>&6
18688 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18689 ac_cpp='$CXXCPP $CPPFLAGS'
18690 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18691 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18692 cross_compiling=$ac_cv_prog_cxx_cross
18694 cat > conftest.$ac_ext <<EOF
18695 #line 18696 "configure"
18696 #include "confdefs.h"
18698 #ifdef HAVE_IEEEFP_H
18699 #include <ieeefp.h>
18706 if { (eval echo configure:18707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18708 glibcpp_cv_func_fabsl_use=yes
18710 echo "configure: failed program was:" >&5
18711 cat conftest.$ac_ext >&5
18713 glibcpp_cv_func_fabsl_use=no
18717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18718 ac_cpp='$CPP $CPPFLAGS'
18719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18721 cross_compiling=$ac_cv_prog_cc_cross
18727 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18729 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18730 for ac_func in fabsl
18732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18733 echo "configure:18734: checking for $ac_func" >&5
18734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18735 echo $ac_n "(cached) $ac_c" 1>&6
18737 cat > conftest.$ac_ext <<EOF
18738 #line 18739 "configure"
18739 #include "confdefs.h"
18740 /* System header to define __stub macros and hopefully few prototypes,
18741 which can conflict with char $ac_func(); below. */
18742 #include <assert.h>
18743 /* Override any gcc2 internal prototype to avoid an error. */
18744 /* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18750 /* The GNU C library defines this for functions which it implements
18751 to always fail with ENOSYS. Some functions are actually named
18752 something starting with __ and the normal name is an alias. */
18753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18761 if { (eval echo configure:18762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18763 eval "ac_cv_func_$ac_func=yes"
18765 echo "configure: failed program was:" >&5
18766 cat conftest.$ac_ext >&5
18768 eval "ac_cv_func_$ac_func=no"
18773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18774 echo "$ac_t""yes" 1>&6
18775 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18776 cat >> confdefs.h <<EOF
18777 #define $ac_tr_func 1
18781 echo "$ac_t""no" 1>&6
18787 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
18788 echo "configure:18789: checking for _fabsl declaration" >&5
18789 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18790 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18791 echo $ac_n "(cached) $ac_c" 1>&6
18796 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18797 ac_cpp='$CXXCPP $CPPFLAGS'
18798 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18799 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18800 cross_compiling=$ac_cv_prog_cxx_cross
18802 cat > conftest.$ac_ext <<EOF
18803 #line 18804 "configure"
18804 #include "confdefs.h"
18806 #ifdef HAVE_IEEEFP_H
18807 #include <ieeefp.h>
18814 if { (eval echo configure:18815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18816 glibcpp_cv_func__fabsl_use=yes
18818 echo "configure: failed program was:" >&5
18819 cat conftest.$ac_ext >&5
18821 glibcpp_cv_func__fabsl_use=no
18825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18826 ac_cpp='$CPP $CPPFLAGS'
18827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18829 cross_compiling=$ac_cv_prog_cc_cross
18835 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18837 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18838 for ac_func in _fabsl
18840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18841 echo "configure:18842: checking for $ac_func" >&5
18842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18843 echo $ac_n "(cached) $ac_c" 1>&6
18845 cat > conftest.$ac_ext <<EOF
18846 #line 18847 "configure"
18847 #include "confdefs.h"
18848 /* System header to define __stub macros and hopefully few prototypes,
18849 which can conflict with char $ac_func(); below. */
18850 #include <assert.h>
18851 /* Override any gcc2 internal prototype to avoid an error. */
18852 /* We use char because int might match the return type of a gcc2
18853 builtin and then its argument prototype would still apply. */
18858 /* The GNU C library defines this for functions which it implements
18859 to always fail with ENOSYS. Some functions are actually named
18860 something starting with __ and the normal name is an alias. */
18861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18869 if { (eval echo configure:18870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18871 eval "ac_cv_func_$ac_func=yes"
18873 echo "configure: failed program was:" >&5
18874 cat conftest.$ac_ext >&5
18876 eval "ac_cv_func_$ac_func=no"
18881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18882 echo "$ac_t""yes" 1>&6
18883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18884 cat >> confdefs.h <<EOF
18885 #define $ac_tr_func 1
18889 echo "$ac_t""no" 1>&6
18898 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
18899 echo "configure:18900: checking for fmodl declaration" >&5
18900 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18901 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18902 echo $ac_n "(cached) $ac_c" 1>&6
18907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18908 ac_cpp='$CXXCPP $CPPFLAGS'
18909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18911 cross_compiling=$ac_cv_prog_cxx_cross
18913 cat > conftest.$ac_ext <<EOF
18914 #line 18915 "configure"
18915 #include "confdefs.h"
18921 if { (eval echo configure:18922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18923 glibcpp_cv_func_fmodl_use=yes
18925 echo "configure: failed program was:" >&5
18926 cat conftest.$ac_ext >&5
18928 glibcpp_cv_func_fmodl_use=no
18932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18933 ac_cpp='$CPP $CPPFLAGS'
18934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18936 cross_compiling=$ac_cv_prog_cc_cross
18942 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18944 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18945 for ac_func in fmodl
18947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18948 echo "configure:18949: checking for $ac_func" >&5
18949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18950 echo $ac_n "(cached) $ac_c" 1>&6
18952 cat > conftest.$ac_ext <<EOF
18953 #line 18954 "configure"
18954 #include "confdefs.h"
18955 /* System header to define __stub macros and hopefully few prototypes,
18956 which can conflict with char $ac_func(); below. */
18957 #include <assert.h>
18958 /* Override any gcc2 internal prototype to avoid an error. */
18959 /* We use char because int might match the return type of a gcc2
18960 builtin and then its argument prototype would still apply. */
18965 /* The GNU C library defines this for functions which it implements
18966 to always fail with ENOSYS. Some functions are actually named
18967 something starting with __ and the normal name is an alias. */
18968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18976 if { (eval echo configure:18977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18978 eval "ac_cv_func_$ac_func=yes"
18980 echo "configure: failed program was:" >&5
18981 cat conftest.$ac_ext >&5
18983 eval "ac_cv_func_$ac_func=no"
18988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18989 echo "$ac_t""yes" 1>&6
18990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18991 cat >> confdefs.h <<EOF
18992 #define $ac_tr_func 1
18996 echo "$ac_t""no" 1>&6
19002 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
19003 echo "configure:19004: checking for _fmodl declaration" >&5
19004 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
19005 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
19006 echo $ac_n "(cached) $ac_c" 1>&6
19011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19012 ac_cpp='$CXXCPP $CPPFLAGS'
19013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19015 cross_compiling=$ac_cv_prog_cxx_cross
19017 cat > conftest.$ac_ext <<EOF
19018 #line 19019 "configure"
19019 #include "confdefs.h"
19025 if { (eval echo configure:19026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19027 glibcpp_cv_func__fmodl_use=yes
19029 echo "configure: failed program was:" >&5
19030 cat conftest.$ac_ext >&5
19032 glibcpp_cv_func__fmodl_use=no
19036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19037 ac_cpp='$CPP $CPPFLAGS'
19038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19040 cross_compiling=$ac_cv_prog_cc_cross
19046 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
19048 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
19049 for ac_func in _fmodl
19051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19052 echo "configure:19053: checking for $ac_func" >&5
19053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19054 echo $ac_n "(cached) $ac_c" 1>&6
19056 cat > conftest.$ac_ext <<EOF
19057 #line 19058 "configure"
19058 #include "confdefs.h"
19059 /* System header to define __stub macros and hopefully few prototypes,
19060 which can conflict with char $ac_func(); below. */
19061 #include <assert.h>
19062 /* Override any gcc2 internal prototype to avoid an error. */
19063 /* We use char because int might match the return type of a gcc2
19064 builtin and then its argument prototype would still apply. */
19069 /* The GNU C library defines this for functions which it implements
19070 to always fail with ENOSYS. Some functions are actually named
19071 something starting with __ and the normal name is an alias. */
19072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19080 if { (eval echo configure:19081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19082 eval "ac_cv_func_$ac_func=yes"
19084 echo "configure: failed program was:" >&5
19085 cat conftest.$ac_ext >&5
19087 eval "ac_cv_func_$ac_func=no"
19092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19093 echo "$ac_t""yes" 1>&6
19094 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19095 cat >> confdefs.h <<EOF
19096 #define $ac_tr_func 1
19100 echo "$ac_t""no" 1>&6
19109 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
19110 echo "configure:19111: checking for frexpl declaration" >&5
19111 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
19112 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
19113 echo $ac_n "(cached) $ac_c" 1>&6
19118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19119 ac_cpp='$CXXCPP $CPPFLAGS'
19120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19122 cross_compiling=$ac_cv_prog_cxx_cross
19124 cat > conftest.$ac_ext <<EOF
19125 #line 19126 "configure"
19126 #include "confdefs.h"
19132 if { (eval echo configure:19133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19134 glibcpp_cv_func_frexpl_use=yes
19136 echo "configure: failed program was:" >&5
19137 cat conftest.$ac_ext >&5
19139 glibcpp_cv_func_frexpl_use=no
19143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19144 ac_cpp='$CPP $CPPFLAGS'
19145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19147 cross_compiling=$ac_cv_prog_cc_cross
19153 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
19155 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
19156 for ac_func in frexpl
19158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19159 echo "configure:19160: checking for $ac_func" >&5
19160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19161 echo $ac_n "(cached) $ac_c" 1>&6
19163 cat > conftest.$ac_ext <<EOF
19164 #line 19165 "configure"
19165 #include "confdefs.h"
19166 /* System header to define __stub macros and hopefully few prototypes,
19167 which can conflict with char $ac_func(); below. */
19168 #include <assert.h>
19169 /* Override any gcc2 internal prototype to avoid an error. */
19170 /* We use char because int might match the return type of a gcc2
19171 builtin and then its argument prototype would still apply. */
19176 /* The GNU C library defines this for functions which it implements
19177 to always fail with ENOSYS. Some functions are actually named
19178 something starting with __ and the normal name is an alias. */
19179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19187 if { (eval echo configure:19188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19189 eval "ac_cv_func_$ac_func=yes"
19191 echo "configure: failed program was:" >&5
19192 cat conftest.$ac_ext >&5
19194 eval "ac_cv_func_$ac_func=no"
19199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19200 echo "$ac_t""yes" 1>&6
19201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19202 cat >> confdefs.h <<EOF
19203 #define $ac_tr_func 1
19207 echo "$ac_t""no" 1>&6
19213 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
19214 echo "configure:19215: checking for _frexpl declaration" >&5
19215 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19216 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19217 echo $ac_n "(cached) $ac_c" 1>&6
19222 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19223 ac_cpp='$CXXCPP $CPPFLAGS'
19224 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19225 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19226 cross_compiling=$ac_cv_prog_cxx_cross
19228 cat > conftest.$ac_ext <<EOF
19229 #line 19230 "configure"
19230 #include "confdefs.h"
19236 if { (eval echo configure:19237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19238 glibcpp_cv_func__frexpl_use=yes
19240 echo "configure: failed program was:" >&5
19241 cat conftest.$ac_ext >&5
19243 glibcpp_cv_func__frexpl_use=no
19247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19248 ac_cpp='$CPP $CPPFLAGS'
19249 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19250 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19251 cross_compiling=$ac_cv_prog_cc_cross
19257 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19259 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19260 for ac_func in _frexpl
19262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19263 echo "configure:19264: checking for $ac_func" >&5
19264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19265 echo $ac_n "(cached) $ac_c" 1>&6
19267 cat > conftest.$ac_ext <<EOF
19268 #line 19269 "configure"
19269 #include "confdefs.h"
19270 /* System header to define __stub macros and hopefully few prototypes,
19271 which can conflict with char $ac_func(); below. */
19272 #include <assert.h>
19273 /* Override any gcc2 internal prototype to avoid an error. */
19274 /* We use char because int might match the return type of a gcc2
19275 builtin and then its argument prototype would still apply. */
19280 /* The GNU C library defines this for functions which it implements
19281 to always fail with ENOSYS. Some functions are actually named
19282 something starting with __ and the normal name is an alias. */
19283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19291 if { (eval echo configure:19292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19293 eval "ac_cv_func_$ac_func=yes"
19295 echo "configure: failed program was:" >&5
19296 cat conftest.$ac_ext >&5
19298 eval "ac_cv_func_$ac_func=no"
19303 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19304 echo "$ac_t""yes" 1>&6
19305 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19306 cat >> confdefs.h <<EOF
19307 #define $ac_tr_func 1
19311 echo "$ac_t""no" 1>&6
19320 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
19321 echo "configure:19322: checking for hypotl declaration" >&5
19322 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19323 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19324 echo $ac_n "(cached) $ac_c" 1>&6
19329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19330 ac_cpp='$CXXCPP $CPPFLAGS'
19331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19333 cross_compiling=$ac_cv_prog_cxx_cross
19335 cat > conftest.$ac_ext <<EOF
19336 #line 19337 "configure"
19337 #include "confdefs.h"
19343 if { (eval echo configure:19344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19345 glibcpp_cv_func_hypotl_use=yes
19347 echo "configure: failed program was:" >&5
19348 cat conftest.$ac_ext >&5
19350 glibcpp_cv_func_hypotl_use=no
19354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19355 ac_cpp='$CPP $CPPFLAGS'
19356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19358 cross_compiling=$ac_cv_prog_cc_cross
19364 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19366 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19367 for ac_func in hypotl
19369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19370 echo "configure:19371: checking for $ac_func" >&5
19371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19372 echo $ac_n "(cached) $ac_c" 1>&6
19374 cat > conftest.$ac_ext <<EOF
19375 #line 19376 "configure"
19376 #include "confdefs.h"
19377 /* System header to define __stub macros and hopefully few prototypes,
19378 which can conflict with char $ac_func(); below. */
19379 #include <assert.h>
19380 /* Override any gcc2 internal prototype to avoid an error. */
19381 /* We use char because int might match the return type of a gcc2
19382 builtin and then its argument prototype would still apply. */
19387 /* The GNU C library defines this for functions which it implements
19388 to always fail with ENOSYS. Some functions are actually named
19389 something starting with __ and the normal name is an alias. */
19390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19398 if { (eval echo configure:19399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19400 eval "ac_cv_func_$ac_func=yes"
19402 echo "configure: failed program was:" >&5
19403 cat conftest.$ac_ext >&5
19405 eval "ac_cv_func_$ac_func=no"
19410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19411 echo "$ac_t""yes" 1>&6
19412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19413 cat >> confdefs.h <<EOF
19414 #define $ac_tr_func 1
19418 echo "$ac_t""no" 1>&6
19424 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
19425 echo "configure:19426: checking for _hypotl declaration" >&5
19426 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19427 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19428 echo $ac_n "(cached) $ac_c" 1>&6
19433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19434 ac_cpp='$CXXCPP $CPPFLAGS'
19435 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19436 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19437 cross_compiling=$ac_cv_prog_cxx_cross
19439 cat > conftest.$ac_ext <<EOF
19440 #line 19441 "configure"
19441 #include "confdefs.h"
19447 if { (eval echo configure:19448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19449 glibcpp_cv_func__hypotl_use=yes
19451 echo "configure: failed program was:" >&5
19452 cat conftest.$ac_ext >&5
19454 glibcpp_cv_func__hypotl_use=no
19458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19459 ac_cpp='$CPP $CPPFLAGS'
19460 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19461 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19462 cross_compiling=$ac_cv_prog_cc_cross
19468 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19470 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19471 for ac_func in _hypotl
19473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19474 echo "configure:19475: checking for $ac_func" >&5
19475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19476 echo $ac_n "(cached) $ac_c" 1>&6
19478 cat > conftest.$ac_ext <<EOF
19479 #line 19480 "configure"
19480 #include "confdefs.h"
19481 /* System header to define __stub macros and hopefully few prototypes,
19482 which can conflict with char $ac_func(); below. */
19483 #include <assert.h>
19484 /* Override any gcc2 internal prototype to avoid an error. */
19485 /* We use char because int might match the return type of a gcc2
19486 builtin and then its argument prototype would still apply. */
19491 /* The GNU C library defines this for functions which it implements
19492 to always fail with ENOSYS. Some functions are actually named
19493 something starting with __ and the normal name is an alias. */
19494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19502 if { (eval echo configure:19503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19504 eval "ac_cv_func_$ac_func=yes"
19506 echo "configure: failed program was:" >&5
19507 cat conftest.$ac_ext >&5
19509 eval "ac_cv_func_$ac_func=no"
19514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19515 echo "$ac_t""yes" 1>&6
19516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19517 cat >> confdefs.h <<EOF
19518 #define $ac_tr_func 1
19522 echo "$ac_t""no" 1>&6
19531 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
19532 echo "configure:19533: checking for ldexpl declaration" >&5
19533 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19534 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19535 echo $ac_n "(cached) $ac_c" 1>&6
19540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19541 ac_cpp='$CXXCPP $CPPFLAGS'
19542 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19543 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19544 cross_compiling=$ac_cv_prog_cxx_cross
19546 cat > conftest.$ac_ext <<EOF
19547 #line 19548 "configure"
19548 #include "confdefs.h"
19554 if { (eval echo configure:19555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19556 glibcpp_cv_func_ldexpl_use=yes
19558 echo "configure: failed program was:" >&5
19559 cat conftest.$ac_ext >&5
19561 glibcpp_cv_func_ldexpl_use=no
19565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19566 ac_cpp='$CPP $CPPFLAGS'
19567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19568 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19569 cross_compiling=$ac_cv_prog_cc_cross
19575 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19577 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19578 for ac_func in ldexpl
19580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19581 echo "configure:19582: checking for $ac_func" >&5
19582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19583 echo $ac_n "(cached) $ac_c" 1>&6
19585 cat > conftest.$ac_ext <<EOF
19586 #line 19587 "configure"
19587 #include "confdefs.h"
19588 /* System header to define __stub macros and hopefully few prototypes,
19589 which can conflict with char $ac_func(); below. */
19590 #include <assert.h>
19591 /* Override any gcc2 internal prototype to avoid an error. */
19592 /* We use char because int might match the return type of a gcc2
19593 builtin and then its argument prototype would still apply. */
19598 /* The GNU C library defines this for functions which it implements
19599 to always fail with ENOSYS. Some functions are actually named
19600 something starting with __ and the normal name is an alias. */
19601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19609 if { (eval echo configure:19610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19611 eval "ac_cv_func_$ac_func=yes"
19613 echo "configure: failed program was:" >&5
19614 cat conftest.$ac_ext >&5
19616 eval "ac_cv_func_$ac_func=no"
19621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19622 echo "$ac_t""yes" 1>&6
19623 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19624 cat >> confdefs.h <<EOF
19625 #define $ac_tr_func 1
19629 echo "$ac_t""no" 1>&6
19635 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
19636 echo "configure:19637: checking for _ldexpl declaration" >&5
19637 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19638 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19639 echo $ac_n "(cached) $ac_c" 1>&6
19644 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19645 ac_cpp='$CXXCPP $CPPFLAGS'
19646 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19647 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19648 cross_compiling=$ac_cv_prog_cxx_cross
19650 cat > conftest.$ac_ext <<EOF
19651 #line 19652 "configure"
19652 #include "confdefs.h"
19658 if { (eval echo configure:19659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19660 glibcpp_cv_func__ldexpl_use=yes
19662 echo "configure: failed program was:" >&5
19663 cat conftest.$ac_ext >&5
19665 glibcpp_cv_func__ldexpl_use=no
19669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19670 ac_cpp='$CPP $CPPFLAGS'
19671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19673 cross_compiling=$ac_cv_prog_cc_cross
19679 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19681 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19682 for ac_func in _ldexpl
19684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19685 echo "configure:19686: checking for $ac_func" >&5
19686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19687 echo $ac_n "(cached) $ac_c" 1>&6
19689 cat > conftest.$ac_ext <<EOF
19690 #line 19691 "configure"
19691 #include "confdefs.h"
19692 /* System header to define __stub macros and hopefully few prototypes,
19693 which can conflict with char $ac_func(); below. */
19694 #include <assert.h>
19695 /* Override any gcc2 internal prototype to avoid an error. */
19696 /* We use char because int might match the return type of a gcc2
19697 builtin and then its argument prototype would still apply. */
19702 /* The GNU C library defines this for functions which it implements
19703 to always fail with ENOSYS. Some functions are actually named
19704 something starting with __ and the normal name is an alias. */
19705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19713 if { (eval echo configure:19714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19715 eval "ac_cv_func_$ac_func=yes"
19717 echo "configure: failed program was:" >&5
19718 cat conftest.$ac_ext >&5
19720 eval "ac_cv_func_$ac_func=no"
19725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19726 echo "$ac_t""yes" 1>&6
19727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19728 cat >> confdefs.h <<EOF
19729 #define $ac_tr_func 1
19733 echo "$ac_t""no" 1>&6
19742 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
19743 echo "configure:19744: checking for logl declaration" >&5
19744 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19745 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19746 echo $ac_n "(cached) $ac_c" 1>&6
19751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19752 ac_cpp='$CXXCPP $CPPFLAGS'
19753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19755 cross_compiling=$ac_cv_prog_cxx_cross
19757 cat > conftest.$ac_ext <<EOF
19758 #line 19759 "configure"
19759 #include "confdefs.h"
19761 #ifdef HAVE_IEEEFP_H
19762 #include <ieeefp.h>
19769 if { (eval echo configure:19770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19771 glibcpp_cv_func_logl_use=yes
19773 echo "configure: failed program was:" >&5
19774 cat conftest.$ac_ext >&5
19776 glibcpp_cv_func_logl_use=no
19780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19781 ac_cpp='$CPP $CPPFLAGS'
19782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19784 cross_compiling=$ac_cv_prog_cc_cross
19790 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19792 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19793 for ac_func in logl
19795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19796 echo "configure:19797: checking for $ac_func" >&5
19797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19798 echo $ac_n "(cached) $ac_c" 1>&6
19800 cat > conftest.$ac_ext <<EOF
19801 #line 19802 "configure"
19802 #include "confdefs.h"
19803 /* System header to define __stub macros and hopefully few prototypes,
19804 which can conflict with char $ac_func(); below. */
19805 #include <assert.h>
19806 /* Override any gcc2 internal prototype to avoid an error. */
19807 /* We use char because int might match the return type of a gcc2
19808 builtin and then its argument prototype would still apply. */
19813 /* The GNU C library defines this for functions which it implements
19814 to always fail with ENOSYS. Some functions are actually named
19815 something starting with __ and the normal name is an alias. */
19816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19824 if { (eval echo configure:19825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19826 eval "ac_cv_func_$ac_func=yes"
19828 echo "configure: failed program was:" >&5
19829 cat conftest.$ac_ext >&5
19831 eval "ac_cv_func_$ac_func=no"
19836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19837 echo "$ac_t""yes" 1>&6
19838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19839 cat >> confdefs.h <<EOF
19840 #define $ac_tr_func 1
19844 echo "$ac_t""no" 1>&6
19850 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
19851 echo "configure:19852: checking for _logl declaration" >&5
19852 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19853 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19854 echo $ac_n "(cached) $ac_c" 1>&6
19859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19860 ac_cpp='$CXXCPP $CPPFLAGS'
19861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19863 cross_compiling=$ac_cv_prog_cxx_cross
19865 cat > conftest.$ac_ext <<EOF
19866 #line 19867 "configure"
19867 #include "confdefs.h"
19869 #ifdef HAVE_IEEEFP_H
19870 #include <ieeefp.h>
19877 if { (eval echo configure:19878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19879 glibcpp_cv_func__logl_use=yes
19881 echo "configure: failed program was:" >&5
19882 cat conftest.$ac_ext >&5
19884 glibcpp_cv_func__logl_use=no
19888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19889 ac_cpp='$CPP $CPPFLAGS'
19890 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19891 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19892 cross_compiling=$ac_cv_prog_cc_cross
19898 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19900 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19901 for ac_func in _logl
19903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19904 echo "configure:19905: checking for $ac_func" >&5
19905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19906 echo $ac_n "(cached) $ac_c" 1>&6
19908 cat > conftest.$ac_ext <<EOF
19909 #line 19910 "configure"
19910 #include "confdefs.h"
19911 /* System header to define __stub macros and hopefully few prototypes,
19912 which can conflict with char $ac_func(); below. */
19913 #include <assert.h>
19914 /* Override any gcc2 internal prototype to avoid an error. */
19915 /* We use char because int might match the return type of a gcc2
19916 builtin and then its argument prototype would still apply. */
19921 /* The GNU C library defines this for functions which it implements
19922 to always fail with ENOSYS. Some functions are actually named
19923 something starting with __ and the normal name is an alias. */
19924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19932 if { (eval echo configure:19933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19934 eval "ac_cv_func_$ac_func=yes"
19936 echo "configure: failed program was:" >&5
19937 cat conftest.$ac_ext >&5
19939 eval "ac_cv_func_$ac_func=no"
19944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19945 echo "$ac_t""yes" 1>&6
19946 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19947 cat >> confdefs.h <<EOF
19948 #define $ac_tr_func 1
19952 echo "$ac_t""no" 1>&6
19961 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
19962 echo "configure:19963: checking for log10l declaration" >&5
19963 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19964 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19965 echo $ac_n "(cached) $ac_c" 1>&6
19970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19971 ac_cpp='$CXXCPP $CPPFLAGS'
19972 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19973 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19974 cross_compiling=$ac_cv_prog_cxx_cross
19976 cat > conftest.$ac_ext <<EOF
19977 #line 19978 "configure"
19978 #include "confdefs.h"
19980 #ifdef HAVE_IEEEFP_H
19981 #include <ieeefp.h>
19988 if { (eval echo configure:19989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19990 glibcpp_cv_func_log10l_use=yes
19992 echo "configure: failed program was:" >&5
19993 cat conftest.$ac_ext >&5
19995 glibcpp_cv_func_log10l_use=no
19999 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20000 ac_cpp='$CPP $CPPFLAGS'
20001 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20002 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20003 cross_compiling=$ac_cv_prog_cc_cross
20009 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
20011 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
20012 for ac_func in log10l
20014 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20015 echo "configure:20016: checking for $ac_func" >&5
20016 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20017 echo $ac_n "(cached) $ac_c" 1>&6
20019 cat > conftest.$ac_ext <<EOF
20020 #line 20021 "configure"
20021 #include "confdefs.h"
20022 /* System header to define __stub macros and hopefully few prototypes,
20023 which can conflict with char $ac_func(); below. */
20024 #include <assert.h>
20025 /* Override any gcc2 internal prototype to avoid an error. */
20026 /* We use char because int might match the return type of a gcc2
20027 builtin and then its argument prototype would still apply. */
20032 /* The GNU C library defines this for functions which it implements
20033 to always fail with ENOSYS. Some functions are actually named
20034 something starting with __ and the normal name is an alias. */
20035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20043 if { (eval echo configure:20044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20045 eval "ac_cv_func_$ac_func=yes"
20047 echo "configure: failed program was:" >&5
20048 cat conftest.$ac_ext >&5
20050 eval "ac_cv_func_$ac_func=no"
20055 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20056 echo "$ac_t""yes" 1>&6
20057 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20058 cat >> confdefs.h <<EOF
20059 #define $ac_tr_func 1
20063 echo "$ac_t""no" 1>&6
20069 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
20070 echo "configure:20071: checking for _log10l declaration" >&5
20071 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
20072 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
20073 echo $ac_n "(cached) $ac_c" 1>&6
20078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20079 ac_cpp='$CXXCPP $CPPFLAGS'
20080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20082 cross_compiling=$ac_cv_prog_cxx_cross
20084 cat > conftest.$ac_ext <<EOF
20085 #line 20086 "configure"
20086 #include "confdefs.h"
20088 #ifdef HAVE_IEEEFP_H
20089 #include <ieeefp.h>
20096 if { (eval echo configure:20097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20098 glibcpp_cv_func__log10l_use=yes
20100 echo "configure: failed program was:" >&5
20101 cat conftest.$ac_ext >&5
20103 glibcpp_cv_func__log10l_use=no
20107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20108 ac_cpp='$CPP $CPPFLAGS'
20109 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20110 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20111 cross_compiling=$ac_cv_prog_cc_cross
20117 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
20119 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
20120 for ac_func in _log10l
20122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20123 echo "configure:20124: checking for $ac_func" >&5
20124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20125 echo $ac_n "(cached) $ac_c" 1>&6
20127 cat > conftest.$ac_ext <<EOF
20128 #line 20129 "configure"
20129 #include "confdefs.h"
20130 /* System header to define __stub macros and hopefully few prototypes,
20131 which can conflict with char $ac_func(); below. */
20132 #include <assert.h>
20133 /* Override any gcc2 internal prototype to avoid an error. */
20134 /* We use char because int might match the return type of a gcc2
20135 builtin and then its argument prototype would still apply. */
20140 /* The GNU C library defines this for functions which it implements
20141 to always fail with ENOSYS. Some functions are actually named
20142 something starting with __ and the normal name is an alias. */
20143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20151 if { (eval echo configure:20152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20153 eval "ac_cv_func_$ac_func=yes"
20155 echo "configure: failed program was:" >&5
20156 cat conftest.$ac_ext >&5
20158 eval "ac_cv_func_$ac_func=no"
20163 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20164 echo "$ac_t""yes" 1>&6
20165 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20166 cat >> confdefs.h <<EOF
20167 #define $ac_tr_func 1
20171 echo "$ac_t""no" 1>&6
20180 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
20181 echo "configure:20182: checking for modfl declaration" >&5
20182 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
20183 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
20184 echo $ac_n "(cached) $ac_c" 1>&6
20189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20190 ac_cpp='$CXXCPP $CPPFLAGS'
20191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20193 cross_compiling=$ac_cv_prog_cxx_cross
20195 cat > conftest.$ac_ext <<EOF
20196 #line 20197 "configure"
20197 #include "confdefs.h"
20203 if { (eval echo configure:20204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20205 glibcpp_cv_func_modfl_use=yes
20207 echo "configure: failed program was:" >&5
20208 cat conftest.$ac_ext >&5
20210 glibcpp_cv_func_modfl_use=no
20214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20215 ac_cpp='$CPP $CPPFLAGS'
20216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20218 cross_compiling=$ac_cv_prog_cc_cross
20224 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20226 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20227 for ac_func in modfl
20229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20230 echo "configure:20231: checking for $ac_func" >&5
20231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20232 echo $ac_n "(cached) $ac_c" 1>&6
20234 cat > conftest.$ac_ext <<EOF
20235 #line 20236 "configure"
20236 #include "confdefs.h"
20237 /* System header to define __stub macros and hopefully few prototypes,
20238 which can conflict with char $ac_func(); below. */
20239 #include <assert.h>
20240 /* Override any gcc2 internal prototype to avoid an error. */
20241 /* We use char because int might match the return type of a gcc2
20242 builtin and then its argument prototype would still apply. */
20247 /* The GNU C library defines this for functions which it implements
20248 to always fail with ENOSYS. Some functions are actually named
20249 something starting with __ and the normal name is an alias. */
20250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20258 if { (eval echo configure:20259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20260 eval "ac_cv_func_$ac_func=yes"
20262 echo "configure: failed program was:" >&5
20263 cat conftest.$ac_ext >&5
20265 eval "ac_cv_func_$ac_func=no"
20270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20271 echo "$ac_t""yes" 1>&6
20272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20273 cat >> confdefs.h <<EOF
20274 #define $ac_tr_func 1
20278 echo "$ac_t""no" 1>&6
20284 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
20285 echo "configure:20286: checking for _modfl declaration" >&5
20286 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20287 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20288 echo $ac_n "(cached) $ac_c" 1>&6
20293 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20294 ac_cpp='$CXXCPP $CPPFLAGS'
20295 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20296 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20297 cross_compiling=$ac_cv_prog_cxx_cross
20299 cat > conftest.$ac_ext <<EOF
20300 #line 20301 "configure"
20301 #include "confdefs.h"
20307 if { (eval echo configure:20308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20309 glibcpp_cv_func__modfl_use=yes
20311 echo "configure: failed program was:" >&5
20312 cat conftest.$ac_ext >&5
20314 glibcpp_cv_func__modfl_use=no
20318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20319 ac_cpp='$CPP $CPPFLAGS'
20320 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20321 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20322 cross_compiling=$ac_cv_prog_cc_cross
20328 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20330 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20331 for ac_func in _modfl
20333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20334 echo "configure:20335: checking for $ac_func" >&5
20335 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20336 echo $ac_n "(cached) $ac_c" 1>&6
20338 cat > conftest.$ac_ext <<EOF
20339 #line 20340 "configure"
20340 #include "confdefs.h"
20341 /* System header to define __stub macros and hopefully few prototypes,
20342 which can conflict with char $ac_func(); below. */
20343 #include <assert.h>
20344 /* Override any gcc2 internal prototype to avoid an error. */
20345 /* We use char because int might match the return type of a gcc2
20346 builtin and then its argument prototype would still apply. */
20351 /* The GNU C library defines this for functions which it implements
20352 to always fail with ENOSYS. Some functions are actually named
20353 something starting with __ and the normal name is an alias. */
20354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20362 if { (eval echo configure:20363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20364 eval "ac_cv_func_$ac_func=yes"
20366 echo "configure: failed program was:" >&5
20367 cat conftest.$ac_ext >&5
20369 eval "ac_cv_func_$ac_func=no"
20374 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20375 echo "$ac_t""yes" 1>&6
20376 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20377 cat >> confdefs.h <<EOF
20378 #define $ac_tr_func 1
20382 echo "$ac_t""no" 1>&6
20391 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
20392 echo "configure:20393: checking for powl declaration" >&5
20393 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20394 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20395 echo $ac_n "(cached) $ac_c" 1>&6
20400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20401 ac_cpp='$CXXCPP $CPPFLAGS'
20402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20404 cross_compiling=$ac_cv_prog_cxx_cross
20406 cat > conftest.$ac_ext <<EOF
20407 #line 20408 "configure"
20408 #include "confdefs.h"
20414 if { (eval echo configure:20415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20416 glibcpp_cv_func_powl_use=yes
20418 echo "configure: failed program was:" >&5
20419 cat conftest.$ac_ext >&5
20421 glibcpp_cv_func_powl_use=no
20425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20426 ac_cpp='$CPP $CPPFLAGS'
20427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20429 cross_compiling=$ac_cv_prog_cc_cross
20435 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20437 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20438 for ac_func in powl
20440 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20441 echo "configure:20442: checking for $ac_func" >&5
20442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20443 echo $ac_n "(cached) $ac_c" 1>&6
20445 cat > conftest.$ac_ext <<EOF
20446 #line 20447 "configure"
20447 #include "confdefs.h"
20448 /* System header to define __stub macros and hopefully few prototypes,
20449 which can conflict with char $ac_func(); below. */
20450 #include <assert.h>
20451 /* Override any gcc2 internal prototype to avoid an error. */
20452 /* We use char because int might match the return type of a gcc2
20453 builtin and then its argument prototype would still apply. */
20458 /* The GNU C library defines this for functions which it implements
20459 to always fail with ENOSYS. Some functions are actually named
20460 something starting with __ and the normal name is an alias. */
20461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20469 if { (eval echo configure:20470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20471 eval "ac_cv_func_$ac_func=yes"
20473 echo "configure: failed program was:" >&5
20474 cat conftest.$ac_ext >&5
20476 eval "ac_cv_func_$ac_func=no"
20481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20482 echo "$ac_t""yes" 1>&6
20483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20484 cat >> confdefs.h <<EOF
20485 #define $ac_tr_func 1
20489 echo "$ac_t""no" 1>&6
20495 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
20496 echo "configure:20497: checking for _powl declaration" >&5
20497 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20498 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20499 echo $ac_n "(cached) $ac_c" 1>&6
20504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20507 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20508 cross_compiling=$ac_cv_prog_cxx_cross
20510 cat > conftest.$ac_ext <<EOF
20511 #line 20512 "configure"
20512 #include "confdefs.h"
20518 if { (eval echo configure:20519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20520 glibcpp_cv_func__powl_use=yes
20522 echo "configure: failed program was:" >&5
20523 cat conftest.$ac_ext >&5
20525 glibcpp_cv_func__powl_use=no
20529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20530 ac_cpp='$CPP $CPPFLAGS'
20531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20533 cross_compiling=$ac_cv_prog_cc_cross
20539 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20541 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20542 for ac_func in _powl
20544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20545 echo "configure:20546: checking for $ac_func" >&5
20546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20547 echo $ac_n "(cached) $ac_c" 1>&6
20549 cat > conftest.$ac_ext <<EOF
20550 #line 20551 "configure"
20551 #include "confdefs.h"
20552 /* System header to define __stub macros and hopefully few prototypes,
20553 which can conflict with char $ac_func(); below. */
20554 #include <assert.h>
20555 /* Override any gcc2 internal prototype to avoid an error. */
20556 /* We use char because int might match the return type of a gcc2
20557 builtin and then its argument prototype would still apply. */
20562 /* The GNU C library defines this for functions which it implements
20563 to always fail with ENOSYS. Some functions are actually named
20564 something starting with __ and the normal name is an alias. */
20565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20573 if { (eval echo configure:20574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20575 eval "ac_cv_func_$ac_func=yes"
20577 echo "configure: failed program was:" >&5
20578 cat conftest.$ac_ext >&5
20580 eval "ac_cv_func_$ac_func=no"
20585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20586 echo "$ac_t""yes" 1>&6
20587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20588 cat >> confdefs.h <<EOF
20589 #define $ac_tr_func 1
20593 echo "$ac_t""no" 1>&6
20602 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
20603 echo "configure:20604: checking for sqrtl declaration" >&5
20604 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20605 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20606 echo $ac_n "(cached) $ac_c" 1>&6
20611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20612 ac_cpp='$CXXCPP $CPPFLAGS'
20613 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20614 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20615 cross_compiling=$ac_cv_prog_cxx_cross
20617 cat > conftest.$ac_ext <<EOF
20618 #line 20619 "configure"
20619 #include "confdefs.h"
20621 #ifdef HAVE_IEEEFP_H
20622 #include <ieeefp.h>
20629 if { (eval echo configure:20630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20631 glibcpp_cv_func_sqrtl_use=yes
20633 echo "configure: failed program was:" >&5
20634 cat conftest.$ac_ext >&5
20636 glibcpp_cv_func_sqrtl_use=no
20640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20641 ac_cpp='$CPP $CPPFLAGS'
20642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20644 cross_compiling=$ac_cv_prog_cc_cross
20650 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20652 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20653 for ac_func in sqrtl
20655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20656 echo "configure:20657: checking for $ac_func" >&5
20657 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20658 echo $ac_n "(cached) $ac_c" 1>&6
20660 cat > conftest.$ac_ext <<EOF
20661 #line 20662 "configure"
20662 #include "confdefs.h"
20663 /* System header to define __stub macros and hopefully few prototypes,
20664 which can conflict with char $ac_func(); below. */
20665 #include <assert.h>
20666 /* Override any gcc2 internal prototype to avoid an error. */
20667 /* We use char because int might match the return type of a gcc2
20668 builtin and then its argument prototype would still apply. */
20673 /* The GNU C library defines this for functions which it implements
20674 to always fail with ENOSYS. Some functions are actually named
20675 something starting with __ and the normal name is an alias. */
20676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20684 if { (eval echo configure:20685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20686 eval "ac_cv_func_$ac_func=yes"
20688 echo "configure: failed program was:" >&5
20689 cat conftest.$ac_ext >&5
20691 eval "ac_cv_func_$ac_func=no"
20696 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20697 echo "$ac_t""yes" 1>&6
20698 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20699 cat >> confdefs.h <<EOF
20700 #define $ac_tr_func 1
20704 echo "$ac_t""no" 1>&6
20710 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
20711 echo "configure:20712: checking for _sqrtl declaration" >&5
20712 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20713 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20714 echo $ac_n "(cached) $ac_c" 1>&6
20719 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20720 ac_cpp='$CXXCPP $CPPFLAGS'
20721 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20722 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20723 cross_compiling=$ac_cv_prog_cxx_cross
20725 cat > conftest.$ac_ext <<EOF
20726 #line 20727 "configure"
20727 #include "confdefs.h"
20729 #ifdef HAVE_IEEEFP_H
20730 #include <ieeefp.h>
20737 if { (eval echo configure:20738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20739 glibcpp_cv_func__sqrtl_use=yes
20741 echo "configure: failed program was:" >&5
20742 cat conftest.$ac_ext >&5
20744 glibcpp_cv_func__sqrtl_use=no
20748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20749 ac_cpp='$CPP $CPPFLAGS'
20750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20752 cross_compiling=$ac_cv_prog_cc_cross
20758 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20760 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20761 for ac_func in _sqrtl
20763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20764 echo "configure:20765: checking for $ac_func" >&5
20765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20766 echo $ac_n "(cached) $ac_c" 1>&6
20768 cat > conftest.$ac_ext <<EOF
20769 #line 20770 "configure"
20770 #include "confdefs.h"
20771 /* System header to define __stub macros and hopefully few prototypes,
20772 which can conflict with char $ac_func(); below. */
20773 #include <assert.h>
20774 /* Override any gcc2 internal prototype to avoid an error. */
20775 /* We use char because int might match the return type of a gcc2
20776 builtin and then its argument prototype would still apply. */
20781 /* The GNU C library defines this for functions which it implements
20782 to always fail with ENOSYS. Some functions are actually named
20783 something starting with __ and the normal name is an alias. */
20784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20792 if { (eval echo configure:20793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20794 eval "ac_cv_func_$ac_func=yes"
20796 echo "configure: failed program was:" >&5
20797 cat conftest.$ac_ext >&5
20799 eval "ac_cv_func_$ac_func=no"
20804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20805 echo "$ac_t""yes" 1>&6
20806 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20807 cat >> confdefs.h <<EOF
20808 #define $ac_tr_func 1
20812 echo "$ac_t""no" 1>&6
20821 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
20822 echo "configure:20823: checking for sincosl declaration" >&5
20823 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20824 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20825 echo $ac_n "(cached) $ac_c" 1>&6
20830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20831 ac_cpp='$CXXCPP $CPPFLAGS'
20832 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20833 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20834 cross_compiling=$ac_cv_prog_cxx_cross
20836 cat > conftest.$ac_ext <<EOF
20837 #line 20838 "configure"
20838 #include "confdefs.h"
20844 if { (eval echo configure:20845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20846 glibcpp_cv_func_sincosl_use=yes
20848 echo "configure: failed program was:" >&5
20849 cat conftest.$ac_ext >&5
20851 glibcpp_cv_func_sincosl_use=no
20855 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20856 ac_cpp='$CPP $CPPFLAGS'
20857 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20858 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20859 cross_compiling=$ac_cv_prog_cc_cross
20865 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20867 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20868 for ac_func in sincosl
20870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20871 echo "configure:20872: checking for $ac_func" >&5
20872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20873 echo $ac_n "(cached) $ac_c" 1>&6
20875 cat > conftest.$ac_ext <<EOF
20876 #line 20877 "configure"
20877 #include "confdefs.h"
20878 /* System header to define __stub macros and hopefully few prototypes,
20879 which can conflict with char $ac_func(); below. */
20880 #include <assert.h>
20881 /* Override any gcc2 internal prototype to avoid an error. */
20882 /* We use char because int might match the return type of a gcc2
20883 builtin and then its argument prototype would still apply. */
20888 /* The GNU C library defines this for functions which it implements
20889 to always fail with ENOSYS. Some functions are actually named
20890 something starting with __ and the normal name is an alias. */
20891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20899 if { (eval echo configure:20900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20901 eval "ac_cv_func_$ac_func=yes"
20903 echo "configure: failed program was:" >&5
20904 cat conftest.$ac_ext >&5
20906 eval "ac_cv_func_$ac_func=no"
20911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20912 echo "$ac_t""yes" 1>&6
20913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20914 cat >> confdefs.h <<EOF
20915 #define $ac_tr_func 1
20919 echo "$ac_t""no" 1>&6
20925 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
20926 echo "configure:20927: checking for _sincosl declaration" >&5
20927 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20928 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20929 echo $ac_n "(cached) $ac_c" 1>&6
20934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20935 ac_cpp='$CXXCPP $CPPFLAGS'
20936 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20937 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20938 cross_compiling=$ac_cv_prog_cxx_cross
20940 cat > conftest.$ac_ext <<EOF
20941 #line 20942 "configure"
20942 #include "confdefs.h"
20948 if { (eval echo configure:20949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20950 glibcpp_cv_func__sincosl_use=yes
20952 echo "configure: failed program was:" >&5
20953 cat conftest.$ac_ext >&5
20955 glibcpp_cv_func__sincosl_use=no
20959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20960 ac_cpp='$CPP $CPPFLAGS'
20961 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20962 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20963 cross_compiling=$ac_cv_prog_cc_cross
20969 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20971 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20972 for ac_func in _sincosl
20974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20975 echo "configure:20976: checking for $ac_func" >&5
20976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20977 echo $ac_n "(cached) $ac_c" 1>&6
20979 cat > conftest.$ac_ext <<EOF
20980 #line 20981 "configure"
20981 #include "confdefs.h"
20982 /* System header to define __stub macros and hopefully few prototypes,
20983 which can conflict with char $ac_func(); below. */
20984 #include <assert.h>
20985 /* Override any gcc2 internal prototype to avoid an error. */
20986 /* We use char because int might match the return type of a gcc2
20987 builtin and then its argument prototype would still apply. */
20992 /* The GNU C library defines this for functions which it implements
20993 to always fail with ENOSYS. Some functions are actually named
20994 something starting with __ and the normal name is an alias. */
20995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21003 if { (eval echo configure:21004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21005 eval "ac_cv_func_$ac_func=yes"
21007 echo "configure: failed program was:" >&5
21008 cat conftest.$ac_ext >&5
21010 eval "ac_cv_func_$ac_func=no"
21015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21016 echo "$ac_t""yes" 1>&6
21017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21018 cat >> confdefs.h <<EOF
21019 #define $ac_tr_func 1
21023 echo "$ac_t""no" 1>&6
21032 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
21033 echo "configure:21034: checking for finitel declaration" >&5
21034 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
21035 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
21036 echo $ac_n "(cached) $ac_c" 1>&6
21041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21042 ac_cpp='$CXXCPP $CPPFLAGS'
21043 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21044 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21045 cross_compiling=$ac_cv_prog_cxx_cross
21047 cat > conftest.$ac_ext <<EOF
21048 #line 21049 "configure"
21049 #include "confdefs.h"
21051 #ifdef HAVE_IEEEFP_H
21052 #include <ieeefp.h>
21059 if { (eval echo configure:21060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21061 glibcpp_cv_func_finitel_use=yes
21063 echo "configure: failed program was:" >&5
21064 cat conftest.$ac_ext >&5
21066 glibcpp_cv_func_finitel_use=no
21070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21071 ac_cpp='$CPP $CPPFLAGS'
21072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21074 cross_compiling=$ac_cv_prog_cc_cross
21080 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
21082 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
21083 for ac_func in finitel
21085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21086 echo "configure:21087: checking for $ac_func" >&5
21087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21088 echo $ac_n "(cached) $ac_c" 1>&6
21090 cat > conftest.$ac_ext <<EOF
21091 #line 21092 "configure"
21092 #include "confdefs.h"
21093 /* System header to define __stub macros and hopefully few prototypes,
21094 which can conflict with char $ac_func(); below. */
21095 #include <assert.h>
21096 /* Override any gcc2 internal prototype to avoid an error. */
21097 /* We use char because int might match the return type of a gcc2
21098 builtin and then its argument prototype would still apply. */
21103 /* The GNU C library defines this for functions which it implements
21104 to always fail with ENOSYS. Some functions are actually named
21105 something starting with __ and the normal name is an alias. */
21106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21114 if { (eval echo configure:21115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21116 eval "ac_cv_func_$ac_func=yes"
21118 echo "configure: failed program was:" >&5
21119 cat conftest.$ac_ext >&5
21121 eval "ac_cv_func_$ac_func=no"
21126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21127 echo "$ac_t""yes" 1>&6
21128 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21129 cat >> confdefs.h <<EOF
21130 #define $ac_tr_func 1
21134 echo "$ac_t""no" 1>&6
21140 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
21141 echo "configure:21142: checking for _finitel declaration" >&5
21142 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
21143 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
21144 echo $ac_n "(cached) $ac_c" 1>&6
21149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21150 ac_cpp='$CXXCPP $CPPFLAGS'
21151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21153 cross_compiling=$ac_cv_prog_cxx_cross
21155 cat > conftest.$ac_ext <<EOF
21156 #line 21157 "configure"
21157 #include "confdefs.h"
21159 #ifdef HAVE_IEEEFP_H
21160 #include <ieeefp.h>
21167 if { (eval echo configure:21168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21169 glibcpp_cv_func__finitel_use=yes
21171 echo "configure: failed program was:" >&5
21172 cat conftest.$ac_ext >&5
21174 glibcpp_cv_func__finitel_use=no
21178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21179 ac_cpp='$CPP $CPPFLAGS'
21180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21182 cross_compiling=$ac_cv_prog_cc_cross
21188 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
21190 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
21191 for ac_func in _finitel
21193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21194 echo "configure:21195: checking for $ac_func" >&5
21195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21196 echo $ac_n "(cached) $ac_c" 1>&6
21198 cat > conftest.$ac_ext <<EOF
21199 #line 21200 "configure"
21200 #include "confdefs.h"
21201 /* System header to define __stub macros and hopefully few prototypes,
21202 which can conflict with char $ac_func(); below. */
21203 #include <assert.h>
21204 /* Override any gcc2 internal prototype to avoid an error. */
21205 /* We use char because int might match the return type of a gcc2
21206 builtin and then its argument prototype would still apply. */
21211 /* The GNU C library defines this for functions which it implements
21212 to always fail with ENOSYS. Some functions are actually named
21213 something starting with __ and the normal name is an alias. */
21214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21222 if { (eval echo configure:21223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21224 eval "ac_cv_func_$ac_func=yes"
21226 echo "configure: failed program was:" >&5
21227 cat conftest.$ac_ext >&5
21229 eval "ac_cv_func_$ac_func=no"
21234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21235 echo "$ac_t""yes" 1>&6
21236 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21237 cat >> confdefs.h <<EOF
21238 #define $ac_tr_func 1
21242 echo "$ac_t""no" 1>&6
21252 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
21253 echo "configure:21254: checking for _float trig functions" >&5
21254 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21255 echo $ac_n "(cached) $ac_c" 1>&6
21260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21261 ac_cpp='$CXXCPP $CPPFLAGS'
21262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21264 cross_compiling=$ac_cv_prog_cxx_cross
21266 cat > conftest.$ac_ext <<EOF
21267 #line 21268 "configure"
21268 #include "confdefs.h"
21271 `for x in _acosf _asinf _atanf \
21272 _cosf _sinf _tanf \
21273 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21276 if { (eval echo configure:21277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21278 glibcpp_cv_func__float_trig_use=yes
21280 echo "configure: failed program was:" >&5
21281 cat conftest.$ac_ext >&5
21283 glibcpp_cv_func__float_trig_use=no
21287 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21288 ac_cpp='$CPP $CPPFLAGS'
21289 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21290 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21291 cross_compiling=$ac_cv_prog_cc_cross
21295 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21296 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21297 for ac_func in _acosf _asinf _atanf \
21298 _cosf _sinf _tanf \
21299 _coshf _sinhf _tanhf
21301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21302 echo "configure:21303: checking for $ac_func" >&5
21303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21304 echo $ac_n "(cached) $ac_c" 1>&6
21306 cat > conftest.$ac_ext <<EOF
21307 #line 21308 "configure"
21308 #include "confdefs.h"
21309 /* System header to define __stub macros and hopefully few prototypes,
21310 which can conflict with char $ac_func(); below. */
21311 #include <assert.h>
21312 /* Override any gcc2 internal prototype to avoid an error. */
21313 /* We use char because int might match the return type of a gcc2
21314 builtin and then its argument prototype would still apply. */
21319 /* The GNU C library defines this for functions which it implements
21320 to always fail with ENOSYS. Some functions are actually named
21321 something starting with __ and the normal name is an alias. */
21322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21330 if { (eval echo configure:21331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21332 eval "ac_cv_func_$ac_func=yes"
21334 echo "configure: failed program was:" >&5
21335 cat conftest.$ac_ext >&5
21337 eval "ac_cv_func_$ac_func=no"
21342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21343 echo "$ac_t""yes" 1>&6
21344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21345 cat >> confdefs.h <<EOF
21346 #define $ac_tr_func 1
21350 echo "$ac_t""no" 1>&6
21357 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
21358 echo "configure:21359: checking for _float round functions" >&5
21359 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
21360 echo $ac_n "(cached) $ac_c" 1>&6
21365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21366 ac_cpp='$CXXCPP $CPPFLAGS'
21367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21369 cross_compiling=$ac_cv_prog_cxx_cross
21371 cat > conftest.$ac_ext <<EOF
21372 #line 21373 "configure"
21373 #include "confdefs.h"
21376 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21379 if { (eval echo configure:21380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21381 glibcpp_cv_func__float_round_use=yes
21383 echo "configure: failed program was:" >&5
21384 cat conftest.$ac_ext >&5
21386 glibcpp_cv_func__float_round_use=no
21390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21391 ac_cpp='$CPP $CPPFLAGS'
21392 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21393 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21394 cross_compiling=$ac_cv_prog_cc_cross
21398 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21399 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21400 for ac_func in _ceilf _floorf
21402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21403 echo "configure:21404: checking for $ac_func" >&5
21404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21405 echo $ac_n "(cached) $ac_c" 1>&6
21407 cat > conftest.$ac_ext <<EOF
21408 #line 21409 "configure"
21409 #include "confdefs.h"
21410 /* System header to define __stub macros and hopefully few prototypes,
21411 which can conflict with char $ac_func(); below. */
21412 #include <assert.h>
21413 /* Override any gcc2 internal prototype to avoid an error. */
21414 /* We use char because int might match the return type of a gcc2
21415 builtin and then its argument prototype would still apply. */
21420 /* The GNU C library defines this for functions which it implements
21421 to always fail with ENOSYS. Some functions are actually named
21422 something starting with __ and the normal name is an alias. */
21423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21431 if { (eval echo configure:21432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21433 eval "ac_cv_func_$ac_func=yes"
21435 echo "configure: failed program was:" >&5
21436 cat conftest.$ac_ext >&5
21438 eval "ac_cv_func_$ac_func=no"
21443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21444 echo "$ac_t""yes" 1>&6
21445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21446 cat >> confdefs.h <<EOF
21447 #define $ac_tr_func 1
21451 echo "$ac_t""no" 1>&6
21459 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
21460 echo "configure:21461: checking for _long double trig functions" >&5
21461 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21462 echo $ac_n "(cached) $ac_c" 1>&6
21467 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21468 ac_cpp='$CXXCPP $CPPFLAGS'
21469 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21470 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21471 cross_compiling=$ac_cv_prog_cxx_cross
21473 cat > conftest.$ac_ext <<EOF
21474 #line 21475 "configure"
21475 #include "confdefs.h"
21478 `for x in _acosl _asinl _atanl \
21479 _cosl _sinl _tanl \
21480 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21483 if { (eval echo configure:21484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21485 glibcpp_cv_func__long_double_trig_use=yes
21487 echo "configure: failed program was:" >&5
21488 cat conftest.$ac_ext >&5
21490 glibcpp_cv_func__long_double_trig_use=no
21494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21495 ac_cpp='$CPP $CPPFLAGS'
21496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21498 cross_compiling=$ac_cv_prog_cc_cross
21502 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21503 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21504 for ac_func in _acosl _asinl _atanl \
21505 _cosl _sinl _tanl \
21506 _coshl _sinhl _tanhl
21508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21509 echo "configure:21510: checking for $ac_func" >&5
21510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21511 echo $ac_n "(cached) $ac_c" 1>&6
21513 cat > conftest.$ac_ext <<EOF
21514 #line 21515 "configure"
21515 #include "confdefs.h"
21516 /* System header to define __stub macros and hopefully few prototypes,
21517 which can conflict with char $ac_func(); below. */
21518 #include <assert.h>
21519 /* Override any gcc2 internal prototype to avoid an error. */
21520 /* We use char because int might match the return type of a gcc2
21521 builtin and then its argument prototype would still apply. */
21526 /* The GNU C library defines this for functions which it implements
21527 to always fail with ENOSYS. Some functions are actually named
21528 something starting with __ and the normal name is an alias. */
21529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21537 if { (eval echo configure:21538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21539 eval "ac_cv_func_$ac_func=yes"
21541 echo "configure: failed program was:" >&5
21542 cat conftest.$ac_ext >&5
21544 eval "ac_cv_func_$ac_func=no"
21549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21550 echo "$ac_t""yes" 1>&6
21551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21552 cat >> confdefs.h <<EOF
21553 #define $ac_tr_func 1
21557 echo "$ac_t""no" 1>&6
21564 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
21565 echo "configure:21566: checking for _long double round functions" >&5
21566 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21567 echo $ac_n "(cached) $ac_c" 1>&6
21572 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21573 ac_cpp='$CXXCPP $CPPFLAGS'
21574 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21575 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21576 cross_compiling=$ac_cv_prog_cxx_cross
21578 cat > conftest.$ac_ext <<EOF
21579 #line 21580 "configure"
21580 #include "confdefs.h"
21583 `for x in _ceill _floorl; do echo "$x (0);"; done`
21586 if { (eval echo configure:21587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21588 glibcpp_cv_func__long_double_round_use=yes
21590 echo "configure: failed program was:" >&5
21591 cat conftest.$ac_ext >&5
21593 glibcpp_cv_func__long_double_round_use=no
21597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21598 ac_cpp='$CPP $CPPFLAGS'
21599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21601 cross_compiling=$ac_cv_prog_cc_cross
21605 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21606 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21607 for ac_func in _ceill _floorl
21609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21610 echo "configure:21611: checking for $ac_func" >&5
21611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21612 echo $ac_n "(cached) $ac_c" 1>&6
21614 cat > conftest.$ac_ext <<EOF
21615 #line 21616 "configure"
21616 #include "confdefs.h"
21617 /* System header to define __stub macros and hopefully few prototypes,
21618 which can conflict with char $ac_func(); below. */
21619 #include <assert.h>
21620 /* Override any gcc2 internal prototype to avoid an error. */
21621 /* We use char because int might match the return type of a gcc2
21622 builtin and then its argument prototype would still apply. */
21627 /* The GNU C library defines this for functions which it implements
21628 to always fail with ENOSYS. Some functions are actually named
21629 something starting with __ and the normal name is an alias. */
21630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21638 if { (eval echo configure:21639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21640 eval "ac_cv_func_$ac_func=yes"
21642 echo "configure: failed program was:" >&5
21643 cat conftest.$ac_ext >&5
21645 eval "ac_cv_func_$ac_func=no"
21650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21651 echo "$ac_t""yes" 1>&6
21652 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21653 cat >> confdefs.h <<EOF
21654 #define $ac_tr_func 1
21658 echo "$ac_t""no" 1>&6
21665 LIBS="$ac_save_LIBS"
21666 CXXFLAGS="$ac_save_CXXFLAGS"
21669 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21670 echo "configure:21671: checking for main in -lm" >&5
21671 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21672 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21673 echo $ac_n "(cached) $ac_c" 1>&6
21675 ac_save_LIBS="$LIBS"
21677 cat > conftest.$ac_ext <<EOF
21678 #line 21679 "configure"
21679 #include "confdefs.h"
21685 if { (eval echo configure:21686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21687 eval "ac_cv_lib_$ac_lib_var=yes"
21689 echo "configure: failed program was:" >&5
21690 cat conftest.$ac_ext >&5
21692 eval "ac_cv_lib_$ac_lib_var=no"
21695 LIBS="$ac_save_LIBS"
21698 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21699 echo "$ac_t""yes" 1>&6
21700 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21701 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21702 cat >> confdefs.h <<EOF
21703 #define $ac_tr_lib 1
21709 echo "$ac_t""no" 1>&6
21712 for ac_func in nan copysignf
21714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21715 echo "configure:21716: checking for $ac_func" >&5
21716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21717 echo $ac_n "(cached) $ac_c" 1>&6
21719 cat > conftest.$ac_ext <<EOF
21720 #line 21721 "configure"
21721 #include "confdefs.h"
21722 /* System header to define __stub macros and hopefully few prototypes,
21723 which can conflict with char $ac_func(); below. */
21724 #include <assert.h>
21725 /* Override any gcc2 internal prototype to avoid an error. */
21726 /* We use char because int might match the return type of a gcc2
21727 builtin and then its argument prototype would still apply. */
21732 /* The GNU C library defines this for functions which it implements
21733 to always fail with ENOSYS. Some functions are actually named
21734 something starting with __ and the normal name is an alias. */
21735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21743 if { (eval echo configure:21744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21745 eval "ac_cv_func_$ac_func=yes"
21747 echo "configure: failed program was:" >&5
21748 cat conftest.$ac_ext >&5
21750 eval "ac_cv_func_$ac_func=no"
21755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21756 echo "$ac_t""yes" 1>&6
21757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21758 cat >> confdefs.h <<EOF
21759 #define $ac_tr_func 1
21763 echo "$ac_t""no" 1>&6
21764 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21769 for ac_func in __signbit
21771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21772 echo "configure:21773: checking for $ac_func" >&5
21773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21774 echo $ac_n "(cached) $ac_c" 1>&6
21776 cat > conftest.$ac_ext <<EOF
21777 #line 21778 "configure"
21778 #include "confdefs.h"
21779 /* System header to define __stub macros and hopefully few prototypes,
21780 which can conflict with char $ac_func(); below. */
21781 #include <assert.h>
21782 /* Override any gcc2 internal prototype to avoid an error. */
21783 /* We use char because int might match the return type of a gcc2
21784 builtin and then its argument prototype would still apply. */
21789 /* The GNU C library defines this for functions which it implements
21790 to always fail with ENOSYS. Some functions are actually named
21791 something starting with __ and the normal name is an alias. */
21792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21800 if { (eval echo configure:21801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21802 eval "ac_cv_func_$ac_func=yes"
21804 echo "configure: failed program was:" >&5
21805 cat conftest.$ac_ext >&5
21807 eval "ac_cv_func_$ac_func=no"
21812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21813 echo "$ac_t""yes" 1>&6
21814 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21815 cat >> confdefs.h <<EOF
21816 #define $ac_tr_func 1
21820 echo "$ac_t""no" 1>&6
21821 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21825 for ac_func in __signbitf
21827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21828 echo "configure:21829: checking for $ac_func" >&5
21829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21830 echo $ac_n "(cached) $ac_c" 1>&6
21832 cat > conftest.$ac_ext <<EOF
21833 #line 21834 "configure"
21834 #include "confdefs.h"
21835 /* System header to define __stub macros and hopefully few prototypes,
21836 which can conflict with char $ac_func(); below. */
21837 #include <assert.h>
21838 /* Override any gcc2 internal prototype to avoid an error. */
21839 /* We use char because int might match the return type of a gcc2
21840 builtin and then its argument prototype would still apply. */
21845 /* The GNU C library defines this for functions which it implements
21846 to always fail with ENOSYS. Some functions are actually named
21847 something starting with __ and the normal name is an alias. */
21848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21856 if { (eval echo configure:21857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21858 eval "ac_cv_func_$ac_func=yes"
21860 echo "configure: failed program was:" >&5
21861 cat conftest.$ac_ext >&5
21863 eval "ac_cv_func_$ac_func=no"
21868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21869 echo "$ac_t""yes" 1>&6
21870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21871 cat >> confdefs.h <<EOF
21872 #define $ac_tr_func 1
21876 echo "$ac_t""no" 1>&6
21877 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21882 if test x$ac_cv_func_copysignl = x"yes"; then
21883 for ac_func in __signbitl
21885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21886 echo "configure:21887: checking for $ac_func" >&5
21887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21888 echo $ac_n "(cached) $ac_c" 1>&6
21890 cat > conftest.$ac_ext <<EOF
21891 #line 21892 "configure"
21892 #include "confdefs.h"
21893 /* System header to define __stub macros and hopefully few prototypes,
21894 which can conflict with char $ac_func(); below. */
21895 #include <assert.h>
21896 /* Override any gcc2 internal prototype to avoid an error. */
21897 /* We use char because int might match the return type of a gcc2
21898 builtin and then its argument prototype would still apply. */
21903 /* The GNU C library defines this for functions which it implements
21904 to always fail with ENOSYS. Some functions are actually named
21905 something starting with __ and the normal name is an alias. */
21906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21914 if { (eval echo configure:21915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21916 eval "ac_cv_func_$ac_func=yes"
21918 echo "configure: failed program was:" >&5
21919 cat conftest.$ac_ext >&5
21921 eval "ac_cv_func_$ac_func=no"
21926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21927 echo "$ac_t""yes" 1>&6
21928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21929 cat >> confdefs.h <<EOF
21930 #define $ac_tr_func 1
21934 echo "$ac_t""no" 1>&6
21935 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21941 if test -n "$LIBMATHOBJS"; then
21947 if test "$need_libmath" = yes; then
21948 GLIBCPP_BUILD_LIBMATH_TRUE=
21949 GLIBCPP_BUILD_LIBMATH_FALSE='#'
21951 GLIBCPP_BUILD_LIBMATH_TRUE='#'
21952 GLIBCPP_BUILD_LIBMATH_FALSE=
21958 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21959 echo "configure:21960: checking for mbstate_t" >&5
21960 cat > conftest.$ac_ext <<EOF
21961 #line 21962 "configure"
21962 #include "confdefs.h"
21965 mbstate_t teststate;
21968 if { (eval echo configure:21969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21972 echo "configure: failed program was:" >&5
21973 cat conftest.$ac_ext >&5
21978 echo "$ac_t""$have_mbstate_t" 1>&6
21979 if test x"$have_mbstate_t" = xyes; then
21980 cat >> confdefs.h <<\EOF
21981 #define HAVE_MBSTATE_T 1
21986 for ac_hdr in wchar.h
21988 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21989 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21990 echo "configure:21991: checking for $ac_hdr" >&5
21991 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21992 echo $ac_n "(cached) $ac_c" 1>&6
21994 cat > conftest.$ac_ext <<EOF
21995 #line 21996 "configure"
21996 #include "confdefs.h"
21999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22000 { (eval echo configure:22001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22002 if test -z "$ac_err"; then
22004 eval "ac_cv_header_$ac_safe=yes"
22007 echo "configure: failed program was:" >&5
22008 cat conftest.$ac_ext >&5
22010 eval "ac_cv_header_$ac_safe=no"
22014 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22015 echo "$ac_t""yes" 1>&6
22016 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22017 cat >> confdefs.h <<EOF
22018 #define $ac_tr_hdr 1
22022 echo "$ac_t""no" 1>&6
22027 for ac_hdr in wctype.h
22029 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22030 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22031 echo "configure:22032: checking for $ac_hdr" >&5
22032 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22033 echo $ac_n "(cached) $ac_c" 1>&6
22035 cat > conftest.$ac_ext <<EOF
22036 #line 22037 "configure"
22037 #include "confdefs.h"
22040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22041 { (eval echo configure:22042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22043 if test -z "$ac_err"; then
22045 eval "ac_cv_header_$ac_safe=yes"
22048 echo "configure: failed program was:" >&5
22049 cat conftest.$ac_ext >&5
22051 eval "ac_cv_header_$ac_safe=no"
22055 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22056 echo "$ac_t""yes" 1>&6
22057 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22058 cat >> confdefs.h <<EOF
22059 #define $ac_tr_hdr 1
22061 ac_has_wctype_h=yes
22063 echo "$ac_t""no" 1>&6
22069 if test x"$ac_has_wchar_h" = xyes &&
22070 test x"$ac_has_wctype_h" = xyes &&
22071 test x"$enable_c_mbchar" != xno; then
22073 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22074 echo "configure:22075: checking for WCHAR_MIN and WCHAR_MAX" >&5
22075 cat > conftest.$ac_ext <<EOF
22076 #line 22077 "configure"
22077 #include "confdefs.h"
22080 int i = WCHAR_MIN; int j = WCHAR_MAX;
22083 if { (eval echo configure:22084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22085 has_wchar_minmax=yes
22087 echo "configure: failed program was:" >&5
22088 cat conftest.$ac_ext >&5
22090 has_wchar_minmax=no
22093 echo "$ac_t""$has_wchar_minmax" 1>&6
22095 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22096 echo "configure:22097: checking for WEOF" >&5
22097 cat > conftest.$ac_ext <<EOF
22098 #line 22099 "configure"
22099 #include "confdefs.h"
22102 #include <stddef.h>
22107 if { (eval echo configure:22108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22111 echo "configure: failed program was:" >&5
22112 cat conftest.$ac_ext >&5
22117 echo "$ac_t""$has_weof" 1>&6
22120 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22123 echo "configure:22124: checking for $ac_func" >&5
22124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22125 echo $ac_n "(cached) $ac_c" 1>&6
22127 cat > conftest.$ac_ext <<EOF
22128 #line 22129 "configure"
22129 #include "confdefs.h"
22130 /* System header to define __stub macros and hopefully few prototypes,
22131 which can conflict with char $ac_func(); below. */
22132 #include <assert.h>
22133 /* Override any gcc2 internal prototype to avoid an error. */
22134 /* We use char because int might match the return type of a gcc2
22135 builtin and then its argument prototype would still apply. */
22140 /* The GNU C library defines this for functions which it implements
22141 to always fail with ENOSYS. Some functions are actually named
22142 something starting with __ and the normal name is an alias. */
22143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22151 if { (eval echo configure:22152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22153 eval "ac_cv_func_$ac_func=yes"
22155 echo "configure: failed program was:" >&5
22156 cat conftest.$ac_ext >&5
22158 eval "ac_cv_func_$ac_func=no"
22163 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22164 echo "$ac_t""yes" 1>&6
22165 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22166 cat >> confdefs.h <<EOF
22167 #define $ac_tr_func 1
22171 echo "$ac_t""no" 1>&6
22178 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22179 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22180 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22181 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22182 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22183 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22186 echo "configure:22187: checking for $ac_func" >&5
22187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22188 echo $ac_n "(cached) $ac_c" 1>&6
22190 cat > conftest.$ac_ext <<EOF
22191 #line 22192 "configure"
22192 #include "confdefs.h"
22193 /* System header to define __stub macros and hopefully few prototypes,
22194 which can conflict with char $ac_func(); below. */
22195 #include <assert.h>
22196 /* Override any gcc2 internal prototype to avoid an error. */
22197 /* We use char because int might match the return type of a gcc2
22198 builtin and then its argument prototype would still apply. */
22203 /* The GNU C library defines this for functions which it implements
22204 to always fail with ENOSYS. Some functions are actually named
22205 something starting with __ and the normal name is an alias. */
22206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22214 if { (eval echo configure:22215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22216 eval "ac_cv_func_$ac_func=yes"
22218 echo "configure: failed program was:" >&5
22219 cat conftest.$ac_ext >&5
22221 eval "ac_cv_func_$ac_func=no"
22226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22227 echo "$ac_t""yes" 1>&6
22228 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22229 cat >> confdefs.h <<EOF
22230 #define $ac_tr_func 1
22234 echo "$ac_t""no" 1>&6
22241 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22242 echo "configure:22243: checking for ISO C99 wchar_t support" >&5
22243 if test x"$has_weof" = xyes &&
22244 test x"$has_wchar_minmax" = xyes &&
22245 test x"$ac_wfuncs" = xyes; then
22246 ac_isoC99_wchar_t=yes
22248 ac_isoC99_wchar_t=no
22250 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22252 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22253 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22254 echo "configure:22255: checking for iconv.h" >&5
22255 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22256 echo $ac_n "(cached) $ac_c" 1>&6
22258 cat > conftest.$ac_ext <<EOF
22259 #line 22260 "configure"
22260 #include "confdefs.h"
22263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22264 { (eval echo configure:22265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22266 if test -z "$ac_err"; then
22268 eval "ac_cv_header_$ac_safe=yes"
22271 echo "configure: failed program was:" >&5
22272 cat conftest.$ac_ext >&5
22274 eval "ac_cv_header_$ac_safe=no"
22278 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22279 echo "$ac_t""yes" 1>&6
22282 echo "$ac_t""no" 1>&6
22286 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22287 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22288 echo "configure:22289: checking for langinfo.h" >&5
22289 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22290 echo $ac_n "(cached) $ac_c" 1>&6
22292 cat > conftest.$ac_ext <<EOF
22293 #line 22294 "configure"
22294 #include "confdefs.h"
22295 #include <langinfo.h>
22297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22298 { (eval echo configure:22299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22300 if test -z "$ac_err"; then
22302 eval "ac_cv_header_$ac_safe=yes"
22305 echo "configure: failed program was:" >&5
22306 cat conftest.$ac_ext >&5
22308 eval "ac_cv_header_$ac_safe=no"
22312 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22313 echo "$ac_t""yes" 1>&6
22314 ac_has_langinfo_h=yes
22316 echo "$ac_t""no" 1>&6
22317 ac_has_langinfo_h=no
22321 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22322 echo "configure:22323: checking for iconv in -liconv" >&5
22323 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22324 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22325 echo $ac_n "(cached) $ac_c" 1>&6
22327 ac_save_LIBS="$LIBS"
22328 LIBS="-liconv $LIBS"
22329 cat > conftest.$ac_ext <<EOF
22330 #line 22331 "configure"
22331 #include "confdefs.h"
22332 /* Override any gcc2 internal prototype to avoid an error. */
22333 /* We use char because int might match the return type of a gcc2
22334 builtin and then its argument prototype would still apply. */
22341 if { (eval echo configure:22342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22343 eval "ac_cv_lib_$ac_lib_var=yes"
22345 echo "configure: failed program was:" >&5
22346 cat conftest.$ac_ext >&5
22348 eval "ac_cv_lib_$ac_lib_var=no"
22351 LIBS="$ac_save_LIBS"
22354 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22355 echo "$ac_t""yes" 1>&6
22358 echo "$ac_t""no" 1>&6
22361 ac_save_LIBS="$LIBS"
22362 LIBS="$LIBS $libiconv"
22364 for ac_func in iconv_open iconv_close iconv nl_langinfo
22366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22367 echo "configure:22368: checking for $ac_func" >&5
22368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22369 echo $ac_n "(cached) $ac_c" 1>&6
22371 cat > conftest.$ac_ext <<EOF
22372 #line 22373 "configure"
22373 #include "confdefs.h"
22374 /* System header to define __stub macros and hopefully few prototypes,
22375 which can conflict with char $ac_func(); below. */
22376 #include <assert.h>
22377 /* Override any gcc2 internal prototype to avoid an error. */
22378 /* We use char because int might match the return type of a gcc2
22379 builtin and then its argument prototype would still apply. */
22384 /* The GNU C library defines this for functions which it implements
22385 to always fail with ENOSYS. Some functions are actually named
22386 something starting with __ and the normal name is an alias. */
22387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22395 if { (eval echo configure:22396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22397 eval "ac_cv_func_$ac_func=yes"
22399 echo "configure: failed program was:" >&5
22400 cat conftest.$ac_ext >&5
22402 eval "ac_cv_func_$ac_func=no"
22407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22408 echo "$ac_t""yes" 1>&6
22409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22410 cat >> confdefs.h <<EOF
22411 #define $ac_tr_func 1
22416 echo "$ac_t""no" 1>&6
22422 LIBS="$ac_save_LIBS"
22424 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22425 echo "configure:22426: checking for XPG2 wchar_t support" >&5
22426 if test x"$ac_has_iconv_h" = xyes &&
22427 test x"$ac_has_langinfo_h" = xyes &&
22428 test x"$ac_XPG2funcs" = xyes; then
22429 ac_XPG2_wchar_t=yes
22433 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22435 if test x"$ac_isoC99_wchar_t" = xyes &&
22436 test x"$ac_XPG2_wchar_t" = xyes; then
22437 cat >> confdefs.h <<\EOF
22438 #define _GLIBCPP_USE_WCHAR_T 1
22444 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22445 echo "configure:22446: checking for enabled wchar_t specializations" >&5
22446 echo "$ac_t""$enable_wchar_t" 1>&6
22449 if test "$enable_wchar_t" = yes; then
22450 GLIBCPP_TEST_WCHAR_T_TRUE=
22451 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22453 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22454 GLIBCPP_TEST_WCHAR_T_FALSE=
22458 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22459 ac_save_CXXFLAGS="$CXXFLAGS"
22460 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22463 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22464 echo "configure:22465: checking for strtold declaration" >&5
22465 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22466 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22467 echo $ac_n "(cached) $ac_c" 1>&6
22472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22473 ac_cpp='$CXXCPP $CPPFLAGS'
22474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22476 cross_compiling=$ac_cv_prog_cxx_cross
22478 cat > conftest.$ac_ext <<EOF
22479 #line 22480 "configure"
22480 #include "confdefs.h"
22481 #include <stdlib.h>
22486 if { (eval echo configure:22487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22488 glibcpp_cv_func_strtold_use=yes
22490 echo "configure: failed program was:" >&5
22491 cat conftest.$ac_ext >&5
22493 glibcpp_cv_func_strtold_use=no
22497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22498 ac_cpp='$CPP $CPPFLAGS'
22499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22501 cross_compiling=$ac_cv_prog_cc_cross
22507 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22508 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22509 for ac_func in strtold
22511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22512 echo "configure:22513: checking for $ac_func" >&5
22513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22514 echo $ac_n "(cached) $ac_c" 1>&6
22516 cat > conftest.$ac_ext <<EOF
22517 #line 22518 "configure"
22518 #include "confdefs.h"
22519 /* System header to define __stub macros and hopefully few prototypes,
22520 which can conflict with char $ac_func(); below. */
22521 #include <assert.h>
22522 /* Override any gcc2 internal prototype to avoid an error. */
22523 /* We use char because int might match the return type of a gcc2
22524 builtin and then its argument prototype would still apply. */
22529 /* The GNU C library defines this for functions which it implements
22530 to always fail with ENOSYS. Some functions are actually named
22531 something starting with __ and the normal name is an alias. */
22532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22540 if { (eval echo configure:22541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22542 eval "ac_cv_func_$ac_func=yes"
22544 echo "configure: failed program was:" >&5
22545 cat conftest.$ac_ext >&5
22547 eval "ac_cv_func_$ac_func=no"
22552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22553 echo "$ac_t""yes" 1>&6
22554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22555 cat >> confdefs.h <<EOF
22556 #define $ac_tr_func 1
22560 echo "$ac_t""no" 1>&6
22567 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22568 echo "configure:22569: checking for strtof declaration" >&5
22569 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22570 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22571 echo $ac_n "(cached) $ac_c" 1>&6
22576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22577 ac_cpp='$CXXCPP $CPPFLAGS'
22578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22580 cross_compiling=$ac_cv_prog_cxx_cross
22582 cat > conftest.$ac_ext <<EOF
22583 #line 22584 "configure"
22584 #include "confdefs.h"
22585 #include <stdlib.h>
22590 if { (eval echo configure:22591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22592 glibcpp_cv_func_strtof_use=yes
22594 echo "configure: failed program was:" >&5
22595 cat conftest.$ac_ext >&5
22597 glibcpp_cv_func_strtof_use=no
22601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22602 ac_cpp='$CPP $CPPFLAGS'
22603 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22604 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22605 cross_compiling=$ac_cv_prog_cc_cross
22611 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22612 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22613 for ac_func in strtof
22615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22616 echo "configure:22617: checking for $ac_func" >&5
22617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22618 echo $ac_n "(cached) $ac_c" 1>&6
22620 cat > conftest.$ac_ext <<EOF
22621 #line 22622 "configure"
22622 #include "confdefs.h"
22623 /* System header to define __stub macros and hopefully few prototypes,
22624 which can conflict with char $ac_func(); below. */
22625 #include <assert.h>
22626 /* Override any gcc2 internal prototype to avoid an error. */
22627 /* We use char because int might match the return type of a gcc2
22628 builtin and then its argument prototype would still apply. */
22633 /* The GNU C library defines this for functions which it implements
22634 to always fail with ENOSYS. Some functions are actually named
22635 something starting with __ and the normal name is an alias. */
22636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22644 if { (eval echo configure:22645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22646 eval "ac_cv_func_$ac_func=yes"
22648 echo "configure: failed program was:" >&5
22649 cat conftest.$ac_ext >&5
22651 eval "ac_cv_func_$ac_func=no"
22656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22657 echo "$ac_t""yes" 1>&6
22658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22659 cat >> confdefs.h <<EOF
22660 #define $ac_tr_func 1
22664 echo "$ac_t""no" 1>&6
22670 for ac_func in drand48
22672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22673 echo "configure:22674: checking for $ac_func" >&5
22674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22675 echo $ac_n "(cached) $ac_c" 1>&6
22677 cat > conftest.$ac_ext <<EOF
22678 #line 22679 "configure"
22679 #include "confdefs.h"
22680 /* System header to define __stub macros and hopefully few prototypes,
22681 which can conflict with char $ac_func(); below. */
22682 #include <assert.h>
22683 /* Override any gcc2 internal prototype to avoid an error. */
22684 /* We use char because int might match the return type of a gcc2
22685 builtin and then its argument prototype would still apply. */
22690 /* The GNU C library defines this for functions which it implements
22691 to always fail with ENOSYS. Some functions are actually named
22692 something starting with __ and the normal name is an alias. */
22693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22701 if { (eval echo configure:22702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22703 eval "ac_cv_func_$ac_func=yes"
22705 echo "configure: failed program was:" >&5
22706 cat conftest.$ac_ext >&5
22708 eval "ac_cv_func_$ac_func=no"
22713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22714 echo "$ac_t""yes" 1>&6
22715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22716 cat >> confdefs.h <<EOF
22717 #define $ac_tr_func 1
22721 echo "$ac_t""no" 1>&6
22726 CXXFLAGS="$ac_save_CXXFLAGS"
22729 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22730 ac_save_CXXFLAGS="$CXXFLAGS"
22731 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22734 echo $ac_n "checking for isatty declaration""... $ac_c" 1>&6
22735 echo "configure:22736: checking for isatty declaration" >&5
22736 if test x${glibcpp_cv_func_isatty_use+set} != xset; then
22737 if eval "test \"`echo '$''{'glibcpp_cv_func_isatty_use'+set}'`\" = set"; then
22738 echo $ac_n "(cached) $ac_c" 1>&6
22743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22744 ac_cpp='$CXXCPP $CPPFLAGS'
22745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22747 cross_compiling=$ac_cv_prog_cxx_cross
22749 cat > conftest.$ac_ext <<EOF
22750 #line 22751 "configure"
22751 #include "confdefs.h"
22752 #include <unistd.h>
22757 if { (eval echo configure:22758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22759 glibcpp_cv_func_isatty_use=yes
22761 echo "configure: failed program was:" >&5
22762 cat conftest.$ac_ext >&5
22764 glibcpp_cv_func_isatty_use=no
22768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22769 ac_cpp='$CPP $CPPFLAGS'
22770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22772 cross_compiling=$ac_cv_prog_cc_cross
22778 echo "$ac_t""$glibcpp_cv_func_isatty_use" 1>&6
22779 if test x$glibcpp_cv_func_isatty_use = x"yes"; then
22780 for ac_func in isatty
22782 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22783 echo "configure:22784: checking for $ac_func" >&5
22784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22785 echo $ac_n "(cached) $ac_c" 1>&6
22787 cat > conftest.$ac_ext <<EOF
22788 #line 22789 "configure"
22789 #include "confdefs.h"
22790 /* System header to define __stub macros and hopefully few prototypes,
22791 which can conflict with char $ac_func(); below. */
22792 #include <assert.h>
22793 /* Override any gcc2 internal prototype to avoid an error. */
22794 /* We use char because int might match the return type of a gcc2
22795 builtin and then its argument prototype would still apply. */
22800 /* The GNU C library defines this for functions which it implements
22801 to always fail with ENOSYS. Some functions are actually named
22802 something starting with __ and the normal name is an alias. */
22803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22811 if { (eval echo configure:22812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22813 eval "ac_cv_func_$ac_func=yes"
22815 echo "configure: failed program was:" >&5
22816 cat conftest.$ac_ext >&5
22818 eval "ac_cv_func_$ac_func=no"
22823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22824 echo "$ac_t""yes" 1>&6
22825 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22826 cat >> confdefs.h <<EOF
22827 #define $ac_tr_func 1
22831 echo "$ac_t""no" 1>&6
22838 CXXFLAGS="$ac_save_CXXFLAGS"
22841 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22842 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22843 echo "configure:22844: checking for locale.h" >&5
22844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22845 echo $ac_n "(cached) $ac_c" 1>&6
22847 cat > conftest.$ac_ext <<EOF
22848 #line 22849 "configure"
22849 #include "confdefs.h"
22850 #include <locale.h>
22852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22853 { (eval echo configure:22854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22855 if test -z "$ac_err"; then
22857 eval "ac_cv_header_$ac_safe=yes"
22860 echo "configure: failed program was:" >&5
22861 cat conftest.$ac_ext >&5
22863 eval "ac_cv_header_$ac_safe=no"
22867 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22868 echo "$ac_t""yes" 1>&6
22870 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22871 echo "configure:22872: checking for LC_MESSAGES" >&5
22872 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22873 echo $ac_n "(cached) $ac_c" 1>&6
22875 cat > conftest.$ac_ext <<EOF
22876 #line 22877 "configure"
22877 #include "confdefs.h"
22878 #include <locale.h>
22883 if { (eval echo configure:22884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22885 ac_cv_val_LC_MESSAGES=yes
22887 echo "configure: failed program was:" >&5
22888 cat conftest.$ac_ext >&5
22890 ac_cv_val_LC_MESSAGES=no
22895 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22896 if test $ac_cv_val_LC_MESSAGES = yes; then
22897 cat >> confdefs.h <<\EOF
22898 #define HAVE_LC_MESSAGES 1
22904 echo "$ac_t""no" 1>&6
22909 cat > conftest.$ac_ext <<EOF
22910 #line 22911 "configure"
22911 #include "confdefs.h"
22913 #include <setjmp.h>
22916 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22919 if { (eval echo configure:22920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22921 cat >> confdefs.h <<\EOF
22922 #define HAVE_SIGSETJMP 1
22927 echo "configure: failed program was:" >&5
22928 cat conftest.$ac_ext >&5
22932 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22934 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22935 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22936 echo "configure:22937: checking for $ac_hdr" >&5
22937 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22938 echo $ac_n "(cached) $ac_c" 1>&6
22940 cat > conftest.$ac_ext <<EOF
22941 #line 22942 "configure"
22942 #include "confdefs.h"
22945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22946 { (eval echo configure:22947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22948 if test -z "$ac_err"; then
22950 eval "ac_cv_header_$ac_safe=yes"
22953 echo "configure: failed program was:" >&5
22954 cat conftest.$ac_ext >&5
22956 eval "ac_cv_header_$ac_safe=no"
22960 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22961 echo "$ac_t""yes" 1>&6
22962 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22963 cat >> confdefs.h <<EOF
22964 #define $ac_tr_hdr 1
22968 echo "$ac_t""no" 1>&6
22972 for ac_func in getpagesize
22974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22975 echo "configure:22976: checking for $ac_func" >&5
22976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22977 echo $ac_n "(cached) $ac_c" 1>&6
22979 cat > conftest.$ac_ext <<EOF
22980 #line 22981 "configure"
22981 #include "confdefs.h"
22982 /* System header to define __stub macros and hopefully few prototypes,
22983 which can conflict with char $ac_func(); below. */
22984 #include <assert.h>
22985 /* Override any gcc2 internal prototype to avoid an error. */
22986 /* We use char because int might match the return type of a gcc2
22987 builtin and then its argument prototype would still apply. */
22992 /* The GNU C library defines this for functions which it implements
22993 to always fail with ENOSYS. Some functions are actually named
22994 something starting with __ and the normal name is an alias. */
22995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23003 if { (eval echo configure:23004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23005 eval "ac_cv_func_$ac_func=yes"
23007 echo "configure: failed program was:" >&5
23008 cat conftest.$ac_ext >&5
23010 eval "ac_cv_func_$ac_func=no"
23015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23016 echo "$ac_t""yes" 1>&6
23017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23018 cat >> confdefs.h <<EOF
23019 #define $ac_tr_func 1
23023 echo "$ac_t""no" 1>&6
23027 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
23028 echo "configure:23029: checking for working mmap" >&5
23029 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23030 echo $ac_n "(cached) $ac_c" 1>&6
23032 if test "$cross_compiling" = yes; then
23033 ac_cv_func_mmap_fixed_mapped=no
23035 cat > conftest.$ac_ext <<EOF
23036 #line 23037 "configure"
23037 #include "confdefs.h"
23039 /* Thanks to Mike Haertel and Jim Avera for this test.
23040 Here is a matrix of mmap possibilities:
23041 mmap private not fixed
23042 mmap private fixed at somewhere currently unmapped
23043 mmap private fixed at somewhere already mapped
23044 mmap shared not fixed
23045 mmap shared fixed at somewhere currently unmapped
23046 mmap shared fixed at somewhere already mapped
23047 For private mappings, we should verify that changes cannot be read()
23048 back from the file, nor mmap's back from the file at a different
23049 address. (There have been systems where private was not correctly
23050 implemented like the infamous i386 svr4.0, and systems where the
23051 VM page cache was not coherent with the filesystem buffer cache
23052 like early versions of FreeBSD and possibly contemporary NetBSD.)
23053 For shared mappings, we should conversely verify that changes get
23054 propogated back to all the places they're supposed to be.
23056 Grep wants private fixed already mapped.
23057 The main things grep needs to know about mmap are:
23058 * does it exist and is it safe to write into the mmap'd area
23059 * how to use it (BSD variants) */
23060 #include <sys/types.h>
23062 #include <sys/mman.h>
23064 #if HAVE_SYS_TYPES_H
23065 # include <sys/types.h>
23069 # include <stdlib.h>
23072 #if HAVE_SYS_STAT_H
23073 # include <sys/stat.h>
23077 # include <unistd.h>
23080 /* This mess was copied from the GNU getpagesize.h. */
23081 #ifndef HAVE_GETPAGESIZE
23083 /* Assume that all systems that can run configure have sys/param.h. */
23084 # ifndef HAVE_SYS_PARAM_H
23085 # define HAVE_SYS_PARAM_H 1
23088 # ifdef _SC_PAGESIZE
23089 # define getpagesize() sysconf(_SC_PAGESIZE)
23090 # else /* no _SC_PAGESIZE */
23091 # ifdef HAVE_SYS_PARAM_H
23092 # include <sys/param.h>
23093 # ifdef EXEC_PAGESIZE
23094 # define getpagesize() EXEC_PAGESIZE
23095 # else /* no EXEC_PAGESIZE */
23097 # define getpagesize() NBPG * CLSIZE
23100 # endif /* no CLSIZE */
23101 # else /* no NBPG */
23103 # define getpagesize() NBPC
23104 # else /* no NBPC */
23106 # define getpagesize() PAGESIZE
23107 # endif /* PAGESIZE */
23108 # endif /* no NBPC */
23109 # endif /* no NBPG */
23110 # endif /* no EXEC_PAGESIZE */
23111 # else /* no HAVE_SYS_PARAM_H */
23112 # define getpagesize() 8192 /* punt totally */
23113 # endif /* no HAVE_SYS_PARAM_H */
23114 # endif /* no _SC_PAGESIZE */
23116 #endif /* no HAVE_GETPAGESIZE */
23119 extern "C" { void *malloc(unsigned); }
23127 char *data, *data2, *data3;
23131 pagesize = getpagesize();
23134 * First, make a file with some known garbage in it.
23136 data = malloc(pagesize);
23139 for (i = 0; i < pagesize; ++i)
23140 *(data + i) = rand();
23142 fd = creat("conftestmmap", 0600);
23145 if (write(fd, data, pagesize) != pagesize)
23150 * Next, try to mmap the file at a fixed address which
23151 * already has something else allocated at it. If we can,
23152 * also make sure that we see the same garbage.
23154 fd = open("conftestmmap", O_RDWR);
23157 data2 = malloc(2 * pagesize);
23160 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23161 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23162 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23164 for (i = 0; i < pagesize; ++i)
23165 if (*(data + i) != *(data2 + i))
23169 * Finally, make sure that changes to the mapped area
23170 * do not percolate back to the file as seen by read().
23171 * (This is a bug on some variants of i386 svr4.0.)
23173 for (i = 0; i < pagesize; ++i)
23174 *(data2 + i) = *(data2 + i) + 1;
23175 data3 = malloc(pagesize);
23178 if (read(fd, data3, pagesize) != pagesize)
23180 for (i = 0; i < pagesize; ++i)
23181 if (*(data + i) != *(data3 + i))
23184 unlink("conftestmmap");
23189 if { (eval echo configure:23190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23191 ac_cv_func_mmap_fixed_mapped=yes
23193 echo "configure: failed program was:" >&5
23194 cat conftest.$ac_ext >&5
23196 ac_cv_func_mmap_fixed_mapped=no
23203 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23204 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23205 cat >> confdefs.h <<\EOF
23206 #define HAVE_MMAP 1
23212 # Establish limits on memory usage during 'make check'
23215 setrlimit_have_headers=yes
23216 for ac_hdr in unistd.h sys/time.h sys/resource.h
23218 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23219 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23220 echo "configure:23221: checking for $ac_hdr" >&5
23221 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23222 echo $ac_n "(cached) $ac_c" 1>&6
23224 cat > conftest.$ac_ext <<EOF
23225 #line 23226 "configure"
23226 #include "confdefs.h"
23229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23230 { (eval echo configure:23231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23232 if test -z "$ac_err"; then
23234 eval "ac_cv_header_$ac_safe=yes"
23237 echo "configure: failed program was:" >&5
23238 cat conftest.$ac_ext >&5
23240 eval "ac_cv_header_$ac_safe=no"
23244 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23245 echo "$ac_t""yes" 1>&6
23246 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23247 cat >> confdefs.h <<EOF
23248 #define $ac_tr_hdr 1
23252 echo "$ac_t""no" 1>&6
23253 setrlimit_have_headers=no
23257 # If don't have the headers, then we can't run the tests now, and we
23258 # won't be seeing any of these during testsuite compilation.
23259 if test $setrlimit_have_headers = yes; then
23260 # Can't do these in a loop, else the resulting syntax is wrong.
23262 cat > conftest.$ac_ext <<EOF
23263 #line 23264 "configure"
23264 #include "confdefs.h"
23265 #include <unistd.h>
23266 #include <sys/time.h>
23267 #include <sys/resource.h>
23270 int f = RLIMIT_DATA ;
23273 if { (eval echo configure:23274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23277 echo "configure: failed program was:" >&5
23278 cat conftest.$ac_ext >&5
23283 cat >> confdefs.h <<EOF
23284 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23289 cat > conftest.$ac_ext <<EOF
23290 #line 23291 "configure"
23291 #include "confdefs.h"
23292 #include <unistd.h>
23293 #include <sys/time.h>
23294 #include <sys/resource.h>
23297 int f = RLIMIT_RSS ;
23300 if { (eval echo configure:23301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23304 echo "configure: failed program was:" >&5
23305 cat conftest.$ac_ext >&5
23310 cat >> confdefs.h <<EOF
23311 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23316 cat > conftest.$ac_ext <<EOF
23317 #line 23318 "configure"
23318 #include "confdefs.h"
23319 #include <unistd.h>
23320 #include <sys/time.h>
23321 #include <sys/resource.h>
23324 int f = RLIMIT_VMEM ;
23327 if { (eval echo configure:23328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23331 echo "configure: failed program was:" >&5
23332 cat conftest.$ac_ext >&5
23337 cat >> confdefs.h <<EOF
23338 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23343 cat > conftest.$ac_ext <<EOF
23344 #line 23345 "configure"
23345 #include "confdefs.h"
23346 #include <unistd.h>
23347 #include <sys/time.h>
23348 #include <sys/resource.h>
23351 int f = RLIMIT_AS ;
23354 if { (eval echo configure:23355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23358 echo "configure: failed program was:" >&5
23359 cat conftest.$ac_ext >&5
23364 cat >> confdefs.h <<EOF
23365 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23370 # Check for rlimit, setrlimit.
23371 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23372 echo $ac_n "(cached) $ac_c" 1>&6
23375 cat > conftest.$ac_ext <<EOF
23376 #line 23377 "configure"
23377 #include "confdefs.h"
23378 #include <unistd.h>
23379 #include <sys/time.h>
23380 #include <sys/resource.h>
23383 struct rlimit r; setrlimit(0, &r);
23386 if { (eval echo configure:23387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23390 echo "configure: failed program was:" >&5
23391 cat conftest.$ac_ext >&5
23401 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23402 echo "configure:23403: checking for testsuite memory limit support" >&5
23403 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23405 cat >> confdefs.h <<\EOF
23406 #define _GLIBCPP_MEM_LIMITS 1
23412 echo "$ac_t""$ac_mem_limits" 1>&6
23415 # Look for setenv, so that extended locale tests can be performed.
23417 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23418 echo "configure:23419: checking for setenv declaration" >&5
23419 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23420 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23421 echo $ac_n "(cached) $ac_c" 1>&6
23426 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23427 ac_cpp='$CXXCPP $CPPFLAGS'
23428 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23429 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23430 cross_compiling=$ac_cv_prog_cxx_cross
23432 cat > conftest.$ac_ext <<EOF
23433 #line 23434 "configure"
23434 #include "confdefs.h"
23435 #include <stdlib.h>
23440 if { (eval echo configure:23441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23442 glibcpp_cv_func_setenv_use=yes
23444 echo "configure: failed program was:" >&5
23445 cat conftest.$ac_ext >&5
23447 glibcpp_cv_func_setenv_use=no
23451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23452 ac_cpp='$CPP $CPPFLAGS'
23453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23455 cross_compiling=$ac_cv_prog_cc_cross
23461 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23462 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23463 for ac_func in setenv
23465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23466 echo "configure:23467: checking for $ac_func" >&5
23467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23468 echo $ac_n "(cached) $ac_c" 1>&6
23470 cat > conftest.$ac_ext <<EOF
23471 #line 23472 "configure"
23472 #include "confdefs.h"
23473 /* System header to define __stub macros and hopefully few prototypes,
23474 which can conflict with char $ac_func(); below. */
23475 #include <assert.h>
23476 /* Override any gcc2 internal prototype to avoid an error. */
23477 /* We use char because int might match the return type of a gcc2
23478 builtin and then its argument prototype would still apply. */
23483 /* The GNU C library defines this for functions which it implements
23484 to always fail with ENOSYS. Some functions are actually named
23485 something starting with __ and the normal name is an alias. */
23486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23494 if { (eval echo configure:23495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23496 eval "ac_cv_func_$ac_func=yes"
23498 echo "configure: failed program was:" >&5
23499 cat conftest.$ac_ext >&5
23501 eval "ac_cv_func_$ac_func=no"
23506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23507 echo "$ac_t""yes" 1>&6
23508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23509 cat >> confdefs.h <<EOF
23510 #define $ac_tr_func 1
23514 echo "$ac_t""no" 1>&6
23521 # Export file names for ABI checking.
23522 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23525 # Don't do ABI checking unless native.
23529 *-*-cygwin* ) enable_abi_check=no ;;
23530 * ) enable_abi_check=yes ;;
23533 if test x"$build" = x"$host" && test -z "$with_cross_host" \
23534 && test "$enable_abi_check" = yes ; then
23535 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23536 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23538 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23539 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23544 # This depends on the possibly-skipped linker test above.
23545 # Check whether --enable-symvers or --disable-symvers was given.
23546 if test "${enable_symvers+set}" = set; then
23547 enableval="$enable_symvers"
23548 case "$enableval" in
23549 yes) enable_symvers=yes ;;
23550 no) enable_symvers=no ;;
23551 # other names here, just as sanity checks
23552 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23553 gnu) enable_symvers=$enableval ;;
23554 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23560 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23561 # don't know enough about $LD to do tricks...
23562 if test x$enable_shared = xno ||
23564 test x$glibcpp_gnu_ld_version = x; then
23568 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23569 if test $enable_symvers != no; then
23570 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23571 echo "configure:23566: checking for shared libgcc" >&5
23572 ac_save_CFLAGS="$CFLAGS"
23574 cat > conftest.$ac_ext <<EOF
23575 #line 23570 "configure"
23576 #include "confdefs.h"
23582 if { (eval echo configure:23577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23584 glibcpp_shared_libgcc=yes
23586 echo "configure: failed program was:" >&5
23587 cat conftest.$ac_ext >&5
23589 glibcpp_shared_libgcc=no
23592 CFLAGS="$ac_save_CFLAGS"
23593 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23596 # For GNU ld, we need at least this version. It's 2.12 in the same format
23597 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23598 glibcpp_min_gnu_ld_version=21200
23600 # Check to see if unspecified "yes" value can win, given results
23602 if test $enable_symvers = yes ; then
23603 if test $with_gnu_ld = yes &&
23604 test $glibcpp_shared_libgcc = yes ;
23606 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23609 ac_test_CFLAGS="${CFLAGS+set}"
23610 ac_save_CFLAGS="$CFLAGS"
23611 CFLAGS='-shared -Wl,--version-script,conftest.map'
23614 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23616 cat > conftest.$ac_ext <<EOF
23617 #line 23612 "configure"
23618 #include "confdefs.h"
23624 if { (eval echo configure:23619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23628 echo "configure: failed program was:" >&5
23629 cat conftest.$ac_ext >&5
23632 if test "$ac_test_CFLAGS" = set; then
23633 CFLAGS="$ac_save_CFLAGS"
23635 # this is the suspicious part
23641 # just fail for now
23646 case $enable_symvers in
23648 SYMVER_MAP=config/linker-map.dummy
23651 SYMVER_MAP=config/linker-map.gnu
23652 cat >> confdefs.h <<\EOF
23653 #define _GLIBCPP_SYMVER 1
23662 if test $enable_symvers != no; then
23663 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23664 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23666 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23667 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23669 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23670 echo "configure:23665: checking versioning on shared library symbols" >&5
23671 echo "$ac_t""$enable_symvers" 1>&6
23674 # Propagate the target-specific source directories through the build chain.
23675 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23676 # uses it, and it only gets used in this file.)
23677 OS_INC_SRCDIR=config/${os_include_dir}
23678 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23682 # Set up cross-compile flags
23685 if test "$CANADIAN" = yes; then
23693 cat > confcache <<\EOF
23694 # This file is a shell script that caches the results of configure
23695 # tests run on this system so they can be shared between configure
23696 # scripts and configure runs. It is not useful on other systems.
23697 # If it contains results you don't want to keep, you may remove or edit it.
23699 # By default, configure uses ./config.cache as the cache file,
23700 # creating it if it does not exist already. You can give configure
23701 # the --cache-file=FILE option to use a different cache file; that is
23702 # what configure does when it calls configure scripts in
23703 # subdirectories, so they share the cache.
23704 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23705 # config.status only pays attention to the cache file if you give it the
23706 # --recheck option to rerun configure.
23709 # The following way of writing the cache mishandles newlines in values,
23710 # but we know of no workaround that is simple, portable, and efficient.
23711 # So, don't put newlines in cache variables' values.
23712 # Ultrix sh set writes to stderr and can't be redirected directly,
23713 # and sets the high bit in the cache file unless we assign to the vars.
23715 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23717 # `set' does not quote correctly, so add quotes (double-quote substitution
23718 # turns \\\\ into \\, and sed turns \\ into \).
23720 -e "s/'/'\\\\''/g" \
23721 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23724 # `set' quotes correctly as required by POSIX, so do not add quotes.
23725 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23728 if cmp -s $cache_file confcache; then
23731 if test -w $cache_file; then
23732 echo "updating cache $cache_file"
23733 cat confcache > $cache_file
23735 echo "not updating unwritable cache $cache_file"
23741 if test "${multilib}" = "yes"; then
23742 multilib_arg="--enable-multilib"
23747 # Export all the install information
23749 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23750 # exported correctly in GLIBCPP_CONFIGURE.
23751 glibcpp_toolexecdir=no
23752 glibcpp_toolexeclibdir=no
23753 glibcpp_prefixdir=${prefix}
23755 # Process the option --with-gxx-include-dir=<path to include-files directory>
23756 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23757 echo "configure:23752: checking for --with-gxx-include-dir" >&5
23758 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23759 if test "${with_gxx_include_dir+set}" = set; then
23760 withval="$with_gxx_include_dir"
23761 case "${withval}" in
23763 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23770 gxx_include_dir=${withval}
23777 echo "$ac_t""$gxx_include_dir" 1>&6
23779 # Process the option "--enable-version-specific-runtime-libs"
23780 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23781 echo "configure:23776: checking for --enable-version-specific-runtime-libs" >&5
23782 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23783 if test "${enable_version_specific_runtime_libs+set}" = set; then
23784 enableval="$enable_version_specific_runtime_libs"
23785 case "$enableval" in
23786 yes) version_specific_libs=yes ;;
23787 no) version_specific_libs=no ;;
23788 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23791 version_specific_libs=no
23793 # Option set, now we can test it.
23794 echo "$ac_t""$version_specific_libs" 1>&6
23796 # Default case for install directory for include files.
23797 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23798 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23801 # Version-specific runtime libs processing.
23802 if test $version_specific_libs = yes; then
23803 # Need the gcc compiler version to know where to install libraries
23804 # and header files if --enable-version-specific-runtime-libs option
23806 if test x"$gxx_include_dir" = x"no"; then
23807 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23809 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23810 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23813 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23814 # Install a library built with a cross compiler in tooldir, not libdir.
23815 if test x"$glibcpp_toolexecdir" = x"no"; then
23816 if test -n "$with_cross_host" &&
23817 test x"$with_cross_host" != x"no"; then
23818 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23819 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23821 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23822 glibcpp_toolexeclibdir='$(libdir)'
23824 glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/`$CC -print-multi-os-directory`
23827 echo $ac_n "checking for install location""... $ac_c" 1>&6
23828 echo "configure:23823: checking for install location" >&5
23829 echo "$ac_t""$gxx_include_dir" 1>&6
23837 # Export all the include and flag information to Makefiles.
23839 # Root level of the build directory include sources.
23840 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23842 # Passed down for canadian crosses.
23843 if test x"$CANADIAN" = xyes; then
23844 TOPLEVEL_INCLUDES='-I$(includedir)'
23847 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23849 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23851 if test x"$need_libio" = xyes; then
23852 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23856 # Now, export this to all the little Makefiles....
23863 # Optimization flags that are probably a good idea for thrill-seekers. Just
23864 # uncomment the lines below and make, everything else is ready to go...
23865 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23869 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23873 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23874 grep "enable shared" > /dev/null; then
23875 LIBSUPCXX_PICFLAGS=-prefer-pic
23877 LIBSUPCXX_PICFLAGS=
23881 # Generate the various Makefiles, include files, and scripts.
23882 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23883 # and libsupc++/Makefile.am so that multilib installs will end up
23884 # installed in the correct place. To work around this not being passed
23885 # down from config-ml.in -> top_srcdir/Makefile.am ->
23886 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23888 cat > confcache <<\EOF
23889 # This file is a shell script that caches the results of configure
23890 # tests run on this system so they can be shared between configure
23891 # scripts and configure runs. It is not useful on other systems.
23892 # If it contains results you don't want to keep, you may remove or edit it.
23894 # By default, configure uses ./config.cache as the cache file,
23895 # creating it if it does not exist already. You can give configure
23896 # the --cache-file=FILE option to use a different cache file; that is
23897 # what configure does when it calls configure scripts in
23898 # subdirectories, so they share the cache.
23899 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23900 # config.status only pays attention to the cache file if you give it the
23901 # --recheck option to rerun configure.
23904 # The following way of writing the cache mishandles newlines in values,
23905 # but we know of no workaround that is simple, portable, and efficient.
23906 # So, don't put newlines in cache variables' values.
23907 # Ultrix sh set writes to stderr and can't be redirected directly,
23908 # and sets the high bit in the cache file unless we assign to the vars.
23910 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23912 # `set' does not quote correctly, so add quotes (double-quote substitution
23913 # turns \\\\ into \\, and sed turns \\ into \).
23915 -e "s/'/'\\\\''/g" \
23916 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23919 # `set' quotes correctly as required by POSIX, so do not add quotes.
23920 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23923 if cmp -s $cache_file confcache; then
23926 if test -w $cache_file; then
23927 echo "updating cache $cache_file"
23928 cat confcache > $cache_file
23930 echo "not updating unwritable cache $cache_file"
23935 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23937 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23938 # Let make expand exec_prefix.
23939 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23941 # Any assignment to VPATH causes Sun make to only execute
23942 # the first set of double-colon rules, so remove it if not needed.
23943 # If there is a colon in the path, we need to keep it.
23944 if test "x$srcdir" = x.; then
23945 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23948 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23950 DEFS=-DHAVE_CONFIG_H
23952 # Without the "./", some shells look in PATH for config.status.
23953 : ${CONFIG_STATUS=./config.status}
23955 echo creating $CONFIG_STATUS
23956 rm -f $CONFIG_STATUS
23957 cat > $CONFIG_STATUS <<EOF
23959 # Generated automatically by configure.
23960 # Run this file to recreate the current configuration.
23961 # This directory was configured as follows,
23962 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23964 # $0 $ac_configure_args
23966 # Compiler output produced by configure, useful for debugging
23967 # configure, is in ./config.log if it exists.
23969 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23972 case "\$ac_option" in
23973 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23974 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23975 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23976 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23977 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23979 -help | --help | --hel | --he | --h)
23980 echo "\$ac_cs_usage"; exit 0 ;;
23981 *) echo "\$ac_cs_usage"; exit 1 ;;
23985 ac_given_srcdir=$srcdir
23986 ac_given_INSTALL="$INSTALL"
23988 trap 'rm -fr `echo "Makefile \
23989 include/Makefile src/Makefile \
23990 libmath/Makefile libio/Makefile libsupc++/Makefile \
23991 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23993 cat >> $CONFIG_STATUS <<EOF
23995 # Protect against being on the right side of a sed subst in config.status.
23996 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23997 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24001 s%@CFLAGS@%$CFLAGS%g
24002 s%@CPPFLAGS@%$CPPFLAGS%g
24003 s%@CXXFLAGS@%$CXXFLAGS%g
24004 s%@FFLAGS@%$FFLAGS%g
24006 s%@LDFLAGS@%$LDFLAGS%g
24008 s%@exec_prefix@%$exec_prefix%g
24009 s%@prefix@%$prefix%g
24010 s%@program_transform_name@%$program_transform_name%g
24011 s%@bindir@%$bindir%g
24012 s%@sbindir@%$sbindir%g
24013 s%@libexecdir@%$libexecdir%g
24014 s%@datadir@%$datadir%g
24015 s%@sysconfdir@%$sysconfdir%g
24016 s%@sharedstatedir@%$sharedstatedir%g
24017 s%@localstatedir@%$localstatedir%g
24018 s%@libdir@%$libdir%g
24019 s%@includedir@%$includedir%g
24020 s%@oldincludedir@%$oldincludedir%g
24021 s%@infodir@%$infodir%g
24022 s%@mandir@%$mandir%g
24023 s%@PACKAGE@%$PACKAGE%g
24024 s%@libtool_VERSION@%$libtool_VERSION%g
24025 s%@toplevel_srcdir@%$toplevel_srcdir%g
24027 s%@host_alias@%$host_alias%g
24028 s%@host_cpu@%$host_cpu%g
24029 s%@host_vendor@%$host_vendor%g
24030 s%@host_os@%$host_os%g
24031 s%@target@%$target%g
24032 s%@target_alias@%$target_alias%g
24033 s%@target_cpu@%$target_cpu%g
24034 s%@target_vendor@%$target_vendor%g
24035 s%@target_os@%$target_os%g
24037 s%@build_alias@%$build_alias%g
24038 s%@build_cpu@%$build_cpu%g
24039 s%@build_vendor@%$build_vendor%g
24040 s%@build_os@%$build_os%g
24041 s%@glibcpp_builddir@%$glibcpp_builddir%g
24042 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24045 s%@glibcpp_basedir@%$glibcpp_basedir%g
24047 s%@glibcpp_CXX@%$glibcpp_CXX%g
24050 s%@RANLIB@%$RANLIB%g
24051 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24052 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24053 s%@INSTALL_DATA@%$INSTALL_DATA%g
24054 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24055 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24057 s%@EXEEXT@%$EXEEXT%g
24058 s%@VERSION@%$VERSION%g
24059 s%@ACLOCAL@%$ACLOCAL%g
24060 s%@AUTOCONF@%$AUTOCONF%g
24061 s%@AUTOMAKE@%$AUTOMAKE%g
24062 s%@AUTOHEADER@%$AUTOHEADER%g
24063 s%@MAKEINFO@%$MAKEINFO%g
24064 s%@SET_MAKE@%$SET_MAKE%g
24065 s%@OBJEXT@%$OBJEXT%g
24067 s%@LIBTOOL@%$LIBTOOL%g
24068 s%@CXXCPP@%$CXXCPP%g
24069 s%@enable_shared@%$enable_shared%g
24070 s%@enable_static@%$enable_static%g
24071 s%@ifGNUmake@%$ifGNUmake%g
24073 s%@CSTDIO_H@%$CSTDIO_H%g
24074 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24075 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24076 s%@CCODECVT_C@%$CCODECVT_C%g
24077 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24078 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24079 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24080 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24081 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24082 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24083 s%@libio_la@%$libio_la%g
24084 s%@check_msgfmt@%$check_msgfmt%g
24085 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24086 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24087 s%@glibcpp_localedir@%$glibcpp_localedir%g
24088 s%@USE_NLS@%$USE_NLS%g
24089 s%@CLOCALE_H@%$CLOCALE_H%g
24090 s%@CCODECVT_H@%$CCODECVT_H%g
24091 s%@CMESSAGES_H@%$CMESSAGES_H%g
24092 s%@CCODECVT_CC@%$CCODECVT_CC%g
24093 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24094 s%@CCTYPE_CC@%$CCTYPE_CC%g
24095 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24096 s%@CMONEY_CC@%$CMONEY_CC%g
24097 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24098 s%@CTIME_H@%$CTIME_H%g
24099 s%@CTIME_CC@%$CTIME_CC%g
24100 s%@CLOCALE_CC@%$CLOCALE_CC%g
24101 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24102 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24103 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24104 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24105 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24106 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24107 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24108 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24109 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24110 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24111 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24112 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24113 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24114 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24115 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24116 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24117 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24118 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24119 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24120 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24121 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24122 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24123 s%@WERROR@%$WERROR%g
24124 s%@baseline_file@%$baseline_file%g
24125 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24126 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24127 s%@SYMVER_MAP@%$SYMVER_MAP%g
24128 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24129 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24130 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24131 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24132 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24133 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24134 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24135 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24136 s%@gxx_include_dir@%$gxx_include_dir%g
24137 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24138 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24139 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24140 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24141 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24142 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24143 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24144 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24145 s%@WARN_FLAGS@%$WARN_FLAGS%g
24146 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24151 cat >> $CONFIG_STATUS <<\EOF
24153 # Split the substitutions into bite-sized pieces for seds with
24154 # small command number limits, like on Digital OSF/1 and HP-UX.
24155 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24156 ac_file=1 # Number of current file.
24157 ac_beg=1 # First line for current file.
24158 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24161 while $ac_more_lines; do
24162 if test $ac_beg -gt 1; then
24163 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24165 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24167 if test ! -s conftest.s$ac_file; then
24168 ac_more_lines=false
24169 rm -f conftest.s$ac_file
24171 if test -z "$ac_sed_cmds"; then
24172 ac_sed_cmds="sed -f conftest.s$ac_file"
24174 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24176 ac_file=`expr $ac_file + 1`
24178 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24181 if test -z "$ac_sed_cmds"; then
24186 cat >> $CONFIG_STATUS <<EOF
24188 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24189 include/Makefile src/Makefile \
24190 libmath/Makefile libio/Makefile libsupc++/Makefile \
24191 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
24193 cat >> $CONFIG_STATUS <<\EOF
24194 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24195 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24197 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24198 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24199 *) ac_file_in="${ac_file}.in" ;;
24202 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24204 # Remove last slash and all that follows it. Not all systems have dirname.
24205 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24206 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24207 # The file is in a subdirectory.
24208 test ! -d "$ac_dir" && mkdir "$ac_dir"
24209 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24210 # A "../" for each directory in $ac_dir_suffix.
24211 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24213 ac_dir_suffix= ac_dots=
24216 case "$ac_given_srcdir" in
24218 if test -z "$ac_dots"; then top_srcdir=.
24219 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24220 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24221 *) # Relative path.
24222 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24223 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24226 case "$ac_given_INSTALL" in
24227 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24228 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24231 echo creating "$ac_file"
24233 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24235 *Makefile*) ac_comsub="1i\\
24236 # $configure_input" ;;
24240 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24242 s%@configure_input@%$configure_input%g
24243 s%@srcdir@%$srcdir%g
24244 s%@top_srcdir@%$top_srcdir%g
24245 s%@INSTALL@%$INSTALL%g
24246 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24250 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24251 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24253 # ac_d sets the value in "#define NAME VALUE" lines.
24254 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24255 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24258 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24259 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24260 ac_uB='\([ ]\)%\1#\2define\3'
24263 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24264 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24265 ac_eB='$%\1#\2define\3'
24269 if test "${CONFIG_HEADERS+set}" != set; then
24271 cat >> $CONFIG_STATUS <<EOF
24272 CONFIG_HEADERS="config.h"
24274 cat >> $CONFIG_STATUS <<\EOF
24276 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24277 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24279 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24280 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24281 *) ac_file_in="${ac_file}.in" ;;
24284 echo creating $ac_file
24286 rm -f conftest.frag conftest.in conftest.out
24287 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24288 cat $ac_file_inputs > conftest.in
24292 # Transform confdefs.h into a sed script conftest.vals that substitutes
24293 # the proper values into config.h.in to produce config.h. And first:
24294 # Protect against being on the right side of a sed subst in config.status.
24295 # Protect against being in an unquoted here document in config.status.
24296 rm -f conftest.vals
24297 cat > conftest.hdr <<\EOF
24300 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24304 sed -n -f conftest.hdr confdefs.h > conftest.vals
24307 # This sed command replaces #undef with comments. This is necessary, for
24308 # example, in the case of _POSIX_SOURCE, which is predefined and required
24309 # on some systems where configure will not decide to define it.
24310 cat >> conftest.vals <<\EOF
24311 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24314 # Break up conftest.vals because some shells have a limit on
24315 # the size of here documents, and old seds have small limits too.
24317 rm -f conftest.tail
24320 ac_lines=`grep -c . conftest.vals`
24321 # grep -c gives empty output for an empty file on some AIX systems.
24322 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24323 # Write a limited-size here document to conftest.frag.
24324 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24325 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24327 sed -f conftest.frag conftest.in > conftest.out
24329 mv conftest.out conftest.in
24330 ' >> $CONFIG_STATUS
24331 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24332 rm -f conftest.vals
24333 mv conftest.tail conftest.vals
24335 rm -f conftest.vals
24337 cat >> $CONFIG_STATUS <<\EOF
24338 rm -f conftest.frag conftest.h
24339 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24340 cat conftest.in >> conftest.h
24342 if cmp -s $ac_file conftest.h 2>/dev/null; then
24343 echo "$ac_file is unchanged"
24346 # Remove last slash and all that follows it. Not all systems have dirname.
24347 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24348 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24349 # The file is in a subdirectory.
24350 test ! -d "$ac_dir" && mkdir "$ac_dir"
24353 mv conftest.h $ac_file
24358 cat >> $CONFIG_STATUS <<EOF
24363 with_target_subdir=${with_target_subdir}
24364 with_build_subdir=${with_build_subdir}
24365 with_multisubdir=${with_multisubdir}
24366 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24367 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24368 glibcpp_basedir=${glibcpp_basedir}
24373 cat >> $CONFIG_STATUS <<\EOF
24374 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24375 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24376 if test -n "$CONFIG_FILES"; then
24377 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24378 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24379 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24380 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24381 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24385 chmod +x testsuite_flags
24388 chmod +x $CONFIG_STATUS
24389 rm -fr confdefs* $ac_clean_files
24390 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24394 # Sanity checking & User-visible messages.
24395 # Checks down here, otherwise they get scrolled off before
24396 # the user will notice.
24398 # Trying to get more people to read documentation. Possibly remove
24399 # check and warn all the time. There is no "informational" AC_MSG_
24400 # macro, so these are going to be printed even when --quiet/--silent
24402 if test ! -f stamp-sanity-warned; then
24403 touch stamp-sanity-warned
24405 echo "Please make certain that you read the installation information here:"
24406 echo " faster => ${srcdir}/docs/html/install.html"
24407 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24409 echo "and the configuration information here:"
24410 echo " faster => ${srcdir}/docs/html/configopts.html"
24411 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24413 echo "before proceeding with ${_cv_gnu_make_command}."