3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-cstdio enable stdio for target io package.
38 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
41 --enable-clocale enable model for target locale package.
42 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
45 --enable-nls use Native Language Support (default)"
47 --enable-cheaders=MODEL construct "C" header files for g++ [default=c_std]"
49 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
51 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
53 --enable-long-long turns on 'long long' [default=yes]"
55 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
57 --enable-libunwind-exceptions force use of libunwind for exceptions"
59 --enable-concept-checks use Boost-derived template checks [default=no]"
61 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
64 --enable-debug build extra debug library [default=no]"
66 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
67 library;[default=none]"
69 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
71 --with-gxx-include-dir the installation directory for include files"
73 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
75 # Initialize some variables set by options.
76 # The variables have the same names as the options, with
77 # dashes changed to underlines.
79 cache_file=./config.cache
88 program_transform_name=s,x,x,
96 bindir='${exec_prefix}/bin'
97 sbindir='${exec_prefix}/sbin'
98 libexecdir='${exec_prefix}/libexec'
99 datadir='${prefix}/share'
100 sysconfdir='${prefix}/etc'
101 sharedstatedir='${prefix}/com'
102 localstatedir='${prefix}/var'
103 libdir='${exec_prefix}/lib'
104 includedir='${prefix}/include'
105 oldincludedir='/usr/include'
106 infodir='${prefix}/info'
107 mandir='${prefix}/man'
109 # Initialize some other variables.
112 SHELL=${CONFIG_SHELL-/bin/sh}
113 # Maximum number of lines to put in a shell here document.
120 # If the previous option needs an argument, assign it.
121 if test -n "$ac_prev"; then
122 eval "$ac_prev=\$ac_option"
128 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
132 # Accept the important Cygnus configure options, so we can diagnose typos.
136 -bindir | --bindir | --bindi | --bind | --bin | --bi)
138 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
139 bindir="$ac_optarg" ;;
141 -build | --build | --buil | --bui | --bu)
143 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
144 build="$ac_optarg" ;;
146 -cache-file | --cache-file | --cache-fil | --cache-fi \
147 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
148 ac_prev=cache_file ;;
149 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
150 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
151 cache_file="$ac_optarg" ;;
153 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
155 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
157 datadir="$ac_optarg" ;;
159 -disable-* | --disable-*)
160 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
166 eval "enable_${ac_feature}=no" ;;
168 -enable-* | --enable-*)
169 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
170 # Reject names that are not valid shell variable names.
171 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
172 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
174 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
179 eval "enable_${ac_feature}='$ac_optarg'" ;;
181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
183 | --exec | --exe | --ex)
184 ac_prev=exec_prefix ;;
185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
187 | --exec=* | --exe=* | --ex=*)
188 exec_prefix="$ac_optarg" ;;
190 -gas | --gas | --ga | --g)
191 # Obsolete; use --with-gas.
194 -help | --help | --hel | --he)
195 # Omit some internal or obsolete options to make the list less imposing.
196 # This message is too long to be a string in the A/UX 3.1 sh.
198 Usage: configure [options] [host]
199 Options: [defaults in brackets after descriptions]
201 --cache-file=FILE cache test results in FILE
202 --help print this message
203 --no-create do not create output files
204 --quiet, --silent do not print \`checking...' messages
205 --version print the version of autoconf that created configure
206 Directory and file names:
207 --prefix=PREFIX install architecture-independent files in PREFIX
209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
211 --bindir=DIR user executables in DIR [EPREFIX/bin]
212 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
213 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
214 --datadir=DIR read-only architecture-independent data in DIR
216 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
217 --sharedstatedir=DIR modifiable architecture-independent data in DIR
219 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
220 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
221 --includedir=DIR C header files in DIR [PREFIX/include]
222 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
223 --infodir=DIR info documentation in DIR [PREFIX/info]
224 --mandir=DIR man documentation in DIR [PREFIX/man]
225 --srcdir=DIR find the sources in DIR [configure dir or ..]
226 --program-prefix=PREFIX prepend PREFIX to installed program names
227 --program-suffix=SUFFIX append SUFFIX to installed program names
228 --program-transform-name=PROGRAM
229 run sed PROGRAM on installed program names
233 --build=BUILD configure for building on BUILD [BUILD=HOST]
234 --host=HOST configure for HOST [guessed]
235 --target=TARGET configure for TARGET [TARGET=HOST]
236 Features and packages:
237 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
238 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
239 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
240 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
241 --x-includes=DIR X include files are in DIR
242 --x-libraries=DIR X library files are in DIR
244 if test -n "$ac_help"; then
245 echo "--enable and --with options recognized:$ac_help"
249 -host | --host | --hos | --ho)
251 -host=* | --host=* | --hos=* | --ho=*)
254 -includedir | --includedir | --includedi | --included | --include \
255 | --includ | --inclu | --incl | --inc)
256 ac_prev=includedir ;;
257 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
258 | --includ=* | --inclu=* | --incl=* | --inc=*)
259 includedir="$ac_optarg" ;;
261 -infodir | --infodir | --infodi | --infod | --info | --inf)
263 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
264 infodir="$ac_optarg" ;;
266 -libdir | --libdir | --libdi | --libd)
268 -libdir=* | --libdir=* | --libdi=* | --libd=*)
269 libdir="$ac_optarg" ;;
271 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
272 | --libexe | --libex | --libe)
273 ac_prev=libexecdir ;;
274 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
275 | --libexe=* | --libex=* | --libe=*)
276 libexecdir="$ac_optarg" ;;
278 -localstatedir | --localstatedir | --localstatedi | --localstated \
279 | --localstate | --localstat | --localsta | --localst \
280 | --locals | --local | --loca | --loc | --lo)
281 ac_prev=localstatedir ;;
282 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
283 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
284 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
285 localstatedir="$ac_optarg" ;;
287 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
289 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
290 mandir="$ac_optarg" ;;
293 # Obsolete; use --without-fp.
296 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
300 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
301 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
304 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
305 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
306 | --oldin | --oldi | --old | --ol | --o)
307 ac_prev=oldincludedir ;;
308 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
309 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
310 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
311 oldincludedir="$ac_optarg" ;;
313 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
315 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
316 prefix="$ac_optarg" ;;
318 -program-prefix | --program-prefix | --program-prefi | --program-pref \
319 | --program-pre | --program-pr | --program-p)
320 ac_prev=program_prefix ;;
321 -program-prefix=* | --program-prefix=* | --program-prefi=* \
322 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
323 program_prefix="$ac_optarg" ;;
325 -program-suffix | --program-suffix | --program-suffi | --program-suff \
326 | --program-suf | --program-su | --program-s)
327 ac_prev=program_suffix ;;
328 -program-suffix=* | --program-suffix=* | --program-suffi=* \
329 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
330 program_suffix="$ac_optarg" ;;
332 -program-transform-name | --program-transform-name \
333 | --program-transform-nam | --program-transform-na \
334 | --program-transform-n | --program-transform- \
335 | --program-transform | --program-transfor \
336 | --program-transfo | --program-transf \
337 | --program-trans | --program-tran \
338 | --progr-tra | --program-tr | --program-t)
339 ac_prev=program_transform_name ;;
340 -program-transform-name=* | --program-transform-name=* \
341 | --program-transform-nam=* | --program-transform-na=* \
342 | --program-transform-n=* | --program-transform-=* \
343 | --program-transform=* | --program-transfor=* \
344 | --program-transfo=* | --program-transf=* \
345 | --program-trans=* | --program-tran=* \
346 | --progr-tra=* | --program-tr=* | --program-t=*)
347 program_transform_name="$ac_optarg" ;;
349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
350 | -silent | --silent | --silen | --sile | --sil)
353 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
355 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
357 sbindir="$ac_optarg" ;;
359 -sharedstatedir | --sharedstatedir | --sharedstatedi \
360 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
361 | --sharedst | --shareds | --shared | --share | --shar \
363 ac_prev=sharedstatedir ;;
364 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
365 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
366 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
368 sharedstatedir="$ac_optarg" ;;
370 -site | --site | --sit)
372 -site=* | --site=* | --sit=*)
375 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
377 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
378 srcdir="$ac_optarg" ;;
380 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
381 | --syscon | --sysco | --sysc | --sys | --sy)
382 ac_prev=sysconfdir ;;
383 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
384 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
385 sysconfdir="$ac_optarg" ;;
387 -target | --target | --targe | --targ | --tar | --ta | --t)
389 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
390 target="$ac_optarg" ;;
392 -v | -verbose | --verbose | --verbos | --verbo | --verb)
395 -version | --version | --versio | --versi | --vers)
396 echo "configure generated by autoconf version 2.13"
400 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
403 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
405 ac_package=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}='$ac_optarg'" ;;
412 -without-* | --without-*)
413 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package=`echo $ac_package| sed 's/-/_/g'`
419 eval "with_${ac_package}=no" ;;
422 # Obsolete; use --with-x.
425 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
426 | --x-incl | --x-inc | --x-in | --x-i)
427 ac_prev=x_includes ;;
428 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
429 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
430 x_includes="$ac_optarg" ;;
432 -x-libraries | --x-libraries | --x-librarie | --x-librari \
433 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
434 ac_prev=x_libraries ;;
435 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
436 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
437 x_libraries="$ac_optarg" ;;
439 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
443 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
444 echo "configure: warning: $ac_option: invalid host type" 1>&2
446 if test "x$nonopt" != xNONE; then
447 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
455 if test -n "$ac_prev"; then
456 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
459 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
461 # File descriptor usage:
464 # 2 errors and warnings
465 # 3 some systems may open it to /dev/tty
466 # 4 used on the Kubota Titan
467 # 6 checking for... messages and results
468 # 5 compiler messages saved in config.log
469 if test "$silent" = yes; then
477 This file contains any messages produced by compilers while
478 running configure, to aid debugging if configure makes a mistake.
481 # Strip out --no-create and --no-recursion so they do not pile up.
482 # Also quote any args containing shell metacharacters.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c) ;;
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
492 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
493 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
498 # Only set these to C if already set. These must not be set unconditionally
499 # because not all systems understand e.g. LANG=C (notably SCO).
500 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
501 # Non-C LC_CTYPE values break the ctype check.
502 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
503 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
504 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
505 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
508 rm -rf conftest* confdefs.h
509 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
512 # A filename unique to this package, relative to the directory that
513 # configure is in, which we can look for to find out if srcdir is correct.
514 ac_unique_file=src/ios.cc
516 # Find the source files, if location was not specified.
517 if test -z "$srcdir"; then
518 ac_srcdir_defaulted=yes
519 # Try the directory containing this script, then its parent.
521 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
522 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
524 if test ! -r $srcdir/$ac_unique_file; then
528 ac_srcdir_defaulted=no
530 if test ! -r $srcdir/$ac_unique_file; then
531 if test "$ac_srcdir_defaulted" = yes; then
532 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
534 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
537 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
539 # Prefer explicitly selected file to automatically selected ones.
540 if test -z "$CONFIG_SITE"; then
541 if test "x$prefix" != xNONE; then
542 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
544 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
547 for ac_site_file in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp='$CPP $CPPFLAGS'
565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
580 ac_n= ac_c='\c' ac_t=
585 # This works around the fact that libtool configuration may change LD
586 # for this particular configuration, but some shells, instead of
587 # keeping the changes in LD private, export them just because LD is
588 # exported. Only used at the end of this file.
589 ORIGINAL_LD_FOR_MULTILIBS=$LD
593 # For libtool versioning info, format is CURRENT:REVISION:AGE
594 libtool_VERSION=6:0:0
598 # Check whether --enable-multilib or --disable-multilib was given.
599 if test "${enable_multilib+set}" = set; then
600 enableval="$enable_multilib"
601 case "${enableval}" in
604 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
610 # When building with srcdir == objdir, links to the source files will
611 # be created in directories within the target_subdir. We have to
612 # adjust toplevel_srcdir accordingly, so that configure finds
613 # install-sh and other auxiliary files that live in the top-level
615 if test "${srcdir}" = "."; then
616 if test -z "${with_target_subdir}"; then
619 if test "${with_target_subdir}" != "."; then
620 toprel="${with_multisrctop}../.."
622 toprel="${with_multisrctop}.."
629 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
630 if test -f $ac_dir/install-sh; then
632 ac_install_sh="$ac_aux_dir/install-sh -c"
634 elif test -f $ac_dir/install.sh; then
636 ac_install_sh="$ac_aux_dir/install.sh -c"
640 if test -z "$ac_aux_dir"; then
641 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
643 ac_config_guess=$ac_aux_dir/config.guess
644 ac_config_sub=$ac_aux_dir/config.sub
645 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
647 toplevel_srcdir=\${top_srcdir}/$toprel
651 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
653 # You will slowly go insane if you do not grok the following fact: when
654 # building v3 as part of the compiler, the top-level /target/ becomes the
655 # library's /host/. `configure' then causes --target to default to --host,
656 # exactly like any other package using autoconf. Therefore, 'target' and
657 # 'host' will always be the same. This makes sense both for native and
658 # cross compilers, just think about it for a little while. :-)
660 # Also, if v3 is being configured as part of a cross compiler, the top-level
661 # configure script will pass the "real" host as $with_cross_host.
663 # AC 2.5x sets target_alias iff the user specified --target, but we use it
664 # everywhere, so we set it here just to be sure. In AC 2.13
665 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
667 # Do some error checking and defaulting for the host and target type.
669 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
672 # 1. You are not allowed to specify --host, --target, and nonopt at the
674 # 2. Host defaults to nonopt.
675 # 3. If nonopt is not specified, then host defaults to the current host,
676 # as determined by config.guess.
677 # 4. Target and build default to nonopt.
678 # 5. If nonopt is not specified, then target and build default to host.
680 # The aliases save the names the user supplied, while $host etc.
681 # will get canonicalized.
682 case $host---$target---$nonopt in
683 NONE---*---* | *---NONE---* | *---*---NONE) ;;
684 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
688 # Make sure we can run config.sub.
689 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
690 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
693 echo $ac_n "checking host system type""... $ac_c" 1>&6
694 echo "configure:695: checking host system type" >&5
697 case "$host_alias" in
701 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
702 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
704 *) host_alias=$nonopt ;;
708 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
709 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$host" 1>&6
714 echo $ac_n "checking target system type""... $ac_c" 1>&6
715 echo "configure:716: checking target system type" >&5
718 case "$target_alias" in
721 NONE) target_alias=$host_alias ;;
722 *) target_alias=$nonopt ;;
726 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
727 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$target" 1>&6
732 echo $ac_n "checking build system type""... $ac_c" 1>&6
733 echo "configure:734: checking build system type" >&5
736 case "$build_alias" in
739 NONE) build_alias=$host_alias ;;
740 *) build_alias=$nonopt ;;
744 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
745 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
746 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
747 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
748 echo "$ac_t""$build" 1>&6
750 test "$host_alias" != "$target_alias" &&
751 test "$program_prefix$program_suffix$program_transform_name" = \
753 program_prefix=${target_alias}-
755 target_alias=${target_alias-$target}
758 # Runs configure.target, finds CC, CXX and assorted other critical bits.
759 # Must run this before the GLIBCPP_ENABLE_* macros below.
760 if test $host != $build; then
761 ac_tool_prefix=${host_alias}-
766 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
767 echo "configure:768: checking for Cygwin environment" >&5
768 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
769 echo $ac_n "(cached) $ac_c" 1>&6
771 cat > conftest.$ac_ext <<EOF
772 #line 773 "configure"
773 #include "confdefs.h"
778 #define __CYGWIN__ __CYGWIN32__
783 if { (eval echo configure:784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
787 echo "configure: failed program was:" >&5
788 cat conftest.$ac_ext >&5
796 echo "$ac_t""$ac_cv_cygwin" 1>&6
798 test "$ac_cv_cygwin" = yes && CYGWIN=yes
799 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
800 echo "configure:801: checking for mingw32 environment" >&5
801 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
802 echo $ac_n "(cached) $ac_c" 1>&6
804 cat > conftest.$ac_ext <<EOF
805 #line 806 "configure"
806 #include "confdefs.h"
812 if { (eval echo configure:813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
816 echo "configure: failed program was:" >&5
817 cat conftest.$ac_ext >&5
825 echo "$ac_t""$ac_cv_mingw32" 1>&6
827 test "$ac_cv_mingw32" = yes && MINGW32=yes
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in gawk mawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
848 echo "configure:849: checking for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
882 echo "configure:883: checking whether ln -s works" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
920 # Never versions of autoconf add an underscore to these functions.
921 # Prevent future problems ...
928 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
929 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
930 # are probably using a cross compiler, which will not be able to fully
931 # link an executable. This is addressed in later versions of autoconf.
936 # Extract the first word of "gcc", so it can be a program name with args.
937 set dummy gcc; ac_word=$2
938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
939 echo "configure:940: checking for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC="$CC" # Let the user override the test.
946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
948 for ac_dir in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no" 1>&6
965 if test -z "$CC"; then
966 # Extract the first word of "cc", so it can be a program name with args.
967 set dummy cc; ac_word=$2
968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
969 echo "configure:970: checking for $ac_word" >&5
970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
971 echo $ac_n "(cached) $ac_c" 1>&6
973 if test -n "$CC"; then
974 ac_cv_prog_CC="$CC" # Let the user override the test.
976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 for ac_dir in $ac_dummy; do
980 test -z "$ac_dir" && ac_dir=.
981 if test -f $ac_dir/$ac_word; then
982 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
991 if test $ac_prog_rejected = yes; then
992 # We found a bogon in the path, so make sure we never use it.
993 set dummy $ac_cv_prog_CC
995 if test $# -gt 0; then
996 # We chose a different compiler from the bogus one.
997 # However, it has the same basename, so the bogon will be chosen
998 # first if we set CC to just the basename; use the full file name.
1000 set dummy "$ac_dir/$ac_word" "$@"
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no" 1>&6
1014 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1017 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1018 echo "configure:1019: checking whether we are using GNU C" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached) $ac_c" 1>&6
1022 cat > conftest.c <<EOF
1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1038 ac_test_CFLAGS="${CFLAGS+set}"
1039 ac_save_CFLAGS="$CFLAGS"
1041 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1042 echo "configure:1043: checking whether ${CC-cc} accepts -g" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1044 echo $ac_n "(cached) $ac_c" 1>&6
1046 echo 'void f(){}' > conftest.c
1047 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1056 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1057 if test "$ac_test_CFLAGS" = set; then
1058 CFLAGS="$ac_save_CFLAGS"
1059 elif test $ac_cv_prog_cc_g = yes; then
1066 test "${CFLAGS+set}" = set || CFLAGS="-g"
1070 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1071 # will try to link in libstdc++.
1075 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1076 # flags that come in CXX while configuring libstdc++. They're different
1077 # from those used for all other target libraries. If CXX is set in
1078 # the environment, respect that here.
1080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1085 echo "configure:1086: checking for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1087 echo $ac_n "(cached) $ac_c" 1>&6
1089 if test -n "$glibcpp_CXX"; then
1090 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_glibcpp_CXX="$ac_prog"
1104 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1105 if test -n "$glibcpp_CXX"; then
1106 echo "$ac_t""$glibcpp_CXX" 1>&6
1108 echo "$ac_t""no" 1>&6
1111 test -n "$glibcpp_CXX" && break
1113 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1117 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1119 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1120 echo "configure:1121: checking whether we are using GNU C++" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1122 echo $ac_n "(cached) $ac_c" 1>&6
1124 cat > conftest.C <<EOF
1129 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1136 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1138 if test $ac_cv_prog_gxx = yes; then
1140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1141 ac_save_CXXFLAGS="$CXXFLAGS"
1143 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1144 echo "configure:1145: checking whether ${CXX-g++} accepts -g" >&5
1145 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1146 echo $ac_n "(cached) $ac_c" 1>&6
1148 echo 'void f(){}' > conftest.cc
1149 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1150 ac_cv_prog_cxx_g=yes
1158 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1159 if test "$ac_test_CXXFLAGS" = set; then
1160 CXXFLAGS="$ac_save_CXXFLAGS"
1161 elif test $ac_cv_prog_cxx_g = yes; then
1168 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1172 # For directory versioning (e.g., headers) and other variables.
1173 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1174 echo "configure:1175: checking for GCC version number" >&5
1175 gcc_version=`$glibcpp_CXX -dumpversion`
1176 echo "$ac_t""$gcc_version" 1>&6
1178 # For some reason, gettext needs this.
1180 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1181 echo "configure:1182: checking for strerror in -lcposix" >&5
1182 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 ac_save_LIBS="$LIBS"
1187 LIBS="-lcposix $LIBS"
1188 cat > conftest.$ac_ext <<EOF
1189 #line 1190 "configure"
1190 #include "confdefs.h"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202 eval "ac_cv_lib_$ac_lib_var=yes"
1204 echo "configure: failed program was:" >&5
1205 cat conftest.$ac_ext >&5
1207 eval "ac_cv_lib_$ac_lib_var=no"
1210 LIBS="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 LIBS="$LIBS -lcposix"
1217 echo "$ac_t""no" 1>&6
1223 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1224 set dummy ${ac_tool_prefix}as; ac_word=$2
1225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1226 echo "configure:1227: checking for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1228 echo $ac_n "(cached) $ac_c" 1>&6
1230 if test -n "$AS"; then
1231 ac_cv_prog_AS="$AS" # Let the user override the test.
1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 ac_cv_prog_AS="${ac_tool_prefix}as"
1243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1247 if test -n "$AS"; then
1248 echo "$ac_t""$AS" 1>&6
1250 echo "$ac_t""no" 1>&6
1255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1256 set dummy ${ac_tool_prefix}ar; ac_word=$2
1257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1258 echo "configure:1259: checking for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR="$AR" # Let the user override the test.
1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1267 for ac_dir in $ac_dummy; do
1268 test -z "$ac_dir" && ac_dir=.
1269 if test -f $ac_dir/$ac_word; then
1270 ac_cv_prog_AR="${ac_tool_prefix}ar"
1275 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1279 if test -n "$AR"; then
1280 echo "$ac_t""$AR" 1>&6
1282 echo "$ac_t""no" 1>&6
1287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1290 echo "configure:1291: checking for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1292 echo $ac_n "(cached) $ac_c" 1>&6
1294 if test -n "$RANLIB"; then
1295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1309 RANLIB="$ac_cv_prog_RANLIB"
1310 if test -n "$RANLIB"; then
1311 echo "$ac_t""$RANLIB" 1>&6
1313 echo "$ac_t""no" 1>&6
1317 if test -z "$ac_cv_prog_RANLIB"; then
1318 if test -n "$ac_tool_prefix"; then
1319 # Extract the first word of "ranlib", so it can be a program name with args.
1320 set dummy ranlib; ac_word=$2
1321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1322 echo "configure:1323: checking for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 if test -n "$RANLIB"; then
1327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_RANLIB="ranlib"
1339 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1342 RANLIB="$ac_cv_prog_RANLIB"
1343 if test -n "$RANLIB"; then
1344 echo "$ac_t""$RANLIB" 1>&6
1346 echo "$ac_t""no" 1>&6
1350 RANLIB="ranlib-not-found-in-path-error"
1354 # Find a good install program. We prefer a C program (faster),
1355 # so one script is as good as another. But avoid the broken or
1356 # incompatible versions:
1357 # SysV /etc/install, /usr/sbin/install
1358 # SunOS /usr/etc/install
1359 # IRIX /sbin/install
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1364 # ./install, which can be erroneously created by make from ./install.sh.
1365 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1366 echo "configure:1367: checking for a BSD compatible install" >&5
1367 if test -z "$INSTALL"; then
1368 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1369 echo $ac_n "(cached) $ac_c" 1>&6
1371 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1372 for ac_dir in $PATH; do
1373 # Account for people who put trailing slashes in PATH elements.
1375 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1380 for ac_prog in ginstall scoinst install; do
1381 if test -f $ac_dir/$ac_prog; then
1382 if test $ac_prog = install &&
1383 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1384 # AIX install. It has an incompatible calling convention.
1387 ac_cv_path_install="$ac_dir/$ac_prog -c"
1398 if test "${ac_cv_path_install+set}" = set; then
1399 INSTALL="$ac_cv_path_install"
1401 # As a last resort, use the slow shell script. We don't cache a
1402 # path for INSTALL within a source directory, because that will
1403 # break other packages using the cache if that directory is
1404 # removed, or if the path is relative.
1405 INSTALL="$ac_install_sh"
1408 echo "$ac_t""$INSTALL" 1>&6
1410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411 # It thinks the first close brace ends the variable substitution.
1412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1420 echo "configure:1421: checking whether to enable maintainer-specific portions of Makefiles" >&5
1421 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1422 if test "${enable_maintainer_mode+set}" = set; then
1423 enableval="$enable_maintainer_mode"
1424 USE_MAINTAINER_MODE=$enableval
1426 USE_MAINTAINER_MODE=no
1429 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1432 if test $USE_MAINTAINER_MODE = yes; then
1433 MAINTAINER_MODE_TRUE=
1434 MAINTAINER_MODE_FALSE='#'
1436 MAINTAINER_MODE_TRUE='#'
1437 MAINTAINER_MODE_FALSE=
1439 MAINT=$MAINTAINER_MODE_TRUE
1443 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1444 # at least currently, we never actually build a program, so we never
1445 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1446 # fails, because we are probably configuring with a cross compiler
1447 # which can't create executables. So we include AC_EXEEXT to keep
1448 # automake happy, but we don't execute it, since we don't care about
1451 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1452 # to nothing, so nothing would remain between `then' and `fi' if it
1453 # were not for the `:' below.
1457 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1458 echo "configure:1459: checking for executable suffix" >&5
1459 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1460 echo $ac_n "(cached) $ac_c" 1>&6
1462 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1466 echo 'int main () { return 0; }' > conftest.$ac_ext
1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1469 for file in conftest.*; do
1471 *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1504 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1505 echo "configure:1506: checking whether build environment is sane" >&5
1508 echo timestamp > conftestfile
1509 # Do `set' in a subshell so we don't clobber the current shell's
1510 # arguments. Must try -L first in case configure is actually a
1511 # symlink; some systems play weird games with the mod time of symlinks
1512 # (eg FreeBSD returns the mod time of the symlink's containing
1515 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1516 if test "$*" = "X"; then
1518 set X `ls -t $srcdir/configure conftestfile`
1520 if test "$*" != "X $srcdir/configure conftestfile" \
1521 && test "$*" != "X conftestfile $srcdir/configure"; then
1523 # If neither matched, then we have a broken ls. This can happen
1524 # if, for instance, CONFIG_SHELL is bash and it inherits a
1525 # broken ls alias from the environment. This has actually
1526 # happened. Such a system could not be considered "sane".
1527 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1528 alias in your environment" 1>&2; exit 1; }
1531 test "$2" = conftestfile
1537 { echo "configure: error: newly created file is older than distributed files!
1538 Check your system clock" 1>&2; exit 1; }
1541 echo "$ac_t""yes" 1>&6
1542 if test "$program_transform_name" = s,x,x,; then
1543 program_transform_name=
1545 # Double any \ or $. echo might interpret backslashes.
1546 cat <<\EOF_SED > conftestsed
1547 s,\\,\\\\,g; s,\$,$$,g
1549 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1552 test "$program_prefix" != NONE &&
1553 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1554 # Use a double $ so make ignores it.
1555 test "$program_suffix" != NONE &&
1556 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1558 # sed with no file args requires a program.
1559 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1561 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1562 echo "configure:1563: checking whether ${MAKE-make} sets \${MAKE}" >&5
1563 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1564 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1565 echo $ac_n "(cached) $ac_c" 1>&6
1567 cat > conftestmake <<\EOF
1569 @echo 'ac_maketemp="${MAKE}"'
1571 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1572 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1573 if test -n "$ac_maketemp"; then
1574 eval ac_cv_prog_make_${ac_make}_set=yes
1576 eval ac_cv_prog_make_${ac_make}_set=no
1580 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1581 echo "$ac_t""yes" 1>&6
1584 echo "$ac_t""no" 1>&6
1585 SET_MAKE="MAKE=${MAKE-make}"
1591 VERSION=$gcc_version
1593 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1594 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1596 cat >> confdefs.h <<EOF
1597 #define PACKAGE "$PACKAGE"
1600 cat >> confdefs.h <<EOF
1601 #define VERSION "$VERSION"
1606 missing_dir=`cd $ac_aux_dir && pwd`
1607 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1608 echo "configure:1609: checking for working aclocal" >&5
1609 # Run test in a subshell; some versions of sh will print an error if
1610 # an executable is not found, even if stderr is redirected.
1611 # Redirect stdin to placate older versions of autoconf. Sigh.
1612 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1614 echo "$ac_t""found" 1>&6
1616 ACLOCAL="$missing_dir/missing aclocal"
1617 echo "$ac_t""missing" 1>&6
1620 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1621 echo "configure:1622: checking for working autoconf" >&5
1622 # Run test in a subshell; some versions of sh will print an error if
1623 # an executable is not found, even if stderr is redirected.
1624 # Redirect stdin to placate older versions of autoconf. Sigh.
1625 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1627 echo "$ac_t""found" 1>&6
1629 AUTOCONF="$missing_dir/missing autoconf"
1630 echo "$ac_t""missing" 1>&6
1633 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1634 echo "configure:1635: checking for working automake" >&5
1635 # Run test in a subshell; some versions of sh will print an error if
1636 # an executable is not found, even if stderr is redirected.
1637 # Redirect stdin to placate older versions of autoconf. Sigh.
1638 if (automake --version) < /dev/null > /dev/null 2>&1; then
1640 echo "$ac_t""found" 1>&6
1642 AUTOMAKE="$missing_dir/missing automake"
1643 echo "$ac_t""missing" 1>&6
1646 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1647 echo "configure:1648: checking for working autoheader" >&5
1648 # Run test in a subshell; some versions of sh will print an error if
1649 # an executable is not found, even if stderr is redirected.
1650 # Redirect stdin to placate older versions of autoconf. Sigh.
1651 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1652 AUTOHEADER=autoheader
1653 echo "$ac_t""found" 1>&6
1655 AUTOHEADER="$missing_dir/missing autoheader"
1656 echo "$ac_t""missing" 1>&6
1659 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1660 echo "configure:1661: checking for working makeinfo" >&5
1661 # Run test in a subshell; some versions of sh will print an error if
1662 # an executable is not found, even if stderr is redirected.
1663 # Redirect stdin to placate older versions of autoconf. Sigh.
1664 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1666 echo "$ac_t""found" 1>&6
1668 MAKEINFO="$missing_dir/missing makeinfo"
1669 echo "$ac_t""missing" 1>&6
1678 # Check whether --enable-shared or --disable-shared was given.
1679 if test "${enable_shared+set}" = set; then
1680 enableval="$enable_shared"
1681 p=${PACKAGE-default}
1683 yes) enable_shared=yes ;;
1684 no) enable_shared=no ;;
1687 # Look at the argument we got. We use all the common list separators.
1688 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1689 for pkg in $enableval; do
1690 if test "X$pkg" = "X$p"; then
1701 # Check whether --enable-static or --disable-static was given.
1702 if test "${enable_static+set}" = set; then
1703 enableval="$enable_static"
1704 p=${PACKAGE-default}
1706 yes) enable_static=yes ;;
1707 no) enable_static=no ;;
1710 # Look at the argument we got. We use all the common list separators.
1711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1712 for pkg in $enableval; do
1713 if test "X$pkg" = "X$p"; then
1724 # Check whether --enable-fast-install or --disable-fast-install was given.
1725 if test "${enable_fast_install+set}" = set; then
1726 enableval="$enable_fast_install"
1727 p=${PACKAGE-default}
1729 yes) enable_fast_install=yes ;;
1730 no) enable_fast_install=no ;;
1732 enable_fast_install=no
1733 # Look at the argument we got. We use all the common list separators.
1734 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1735 for pkg in $enableval; do
1736 if test "X$pkg" = "X$p"; then
1737 enable_fast_install=yes
1744 enable_fast_install=yes
1747 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1748 if test "${with_gnu_ld+set}" = set; then
1749 withval="$with_gnu_ld"
1750 test "$withval" = no || with_gnu_ld=yes
1756 if test "$GCC" = yes; then
1757 # Check if gcc -print-prog-name=ld gives a path.
1758 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1759 echo "configure:1760: checking for ld used by GCC" >&5
1762 # gcc leaves a trailing carriage return which upsets mingw
1763 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1765 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1768 # Accept absolute paths.
1769 [\\/]* | [A-Za-z]:[\\/]*)
1770 re_direlt='/[^/][^/]*/\.\./'
1771 # Canonicalize the path of ld
1772 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1773 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1774 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1776 test -z "$LD" && LD="$ac_prog"
1779 # If it fails, then pretend we aren't using GCC.
1783 # If it is relative, then search for the first ld in PATH.
1787 elif test "$with_gnu_ld" = yes; then
1788 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1789 echo "configure:1790: checking for GNU ld" >&5
1791 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1792 echo "configure:1793: checking for non-GNU ld" >&5
1794 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1795 echo $ac_n "(cached) $ac_c" 1>&6
1797 if test -z "$LD"; then
1798 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1799 for ac_dir in $PATH; do
1800 test -z "$ac_dir" && ac_dir=.
1801 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1802 lt_cv_path_LD="$ac_dir/$ac_prog"
1803 # Check to see if the program is GNU ld. I'd rather use --version,
1804 # but apparently some GNU ld's only accept -v.
1805 # Break only if it was the GNU/non-GNU ld that we prefer.
1806 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1807 test "$with_gnu_ld" != no && break
1809 test "$with_gnu_ld" != yes && break
1815 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1820 if test -n "$LD"; then
1821 echo "$ac_t""$LD" 1>&6
1823 echo "$ac_t""no" 1>&6
1825 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1826 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1827 echo "configure:1828: checking if the linker ($LD) is GNU ld" >&5
1828 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1829 echo $ac_n "(cached) $ac_c" 1>&6
1831 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1832 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1833 lt_cv_prog_gnu_ld=yes
1835 lt_cv_prog_gnu_ld=no
1839 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1840 with_gnu_ld=$lt_cv_prog_gnu_ld
1843 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1844 echo "configure:1845: checking for $LD option to reload object files" >&5
1845 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1846 echo $ac_n "(cached) $ac_c" 1>&6
1848 lt_cv_ld_reload_flag='-r'
1851 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1852 reload_flag=$lt_cv_ld_reload_flag
1853 test -n "$reload_flag" && reload_flag=" $reload_flag"
1855 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1856 echo "configure:1857: checking for BSD-compatible nm" >&5
1857 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1858 echo $ac_n "(cached) $ac_c" 1>&6
1860 if test -n "$NM"; then
1861 # Let the user override the test.
1864 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1865 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1866 test -z "$ac_dir" && ac_dir=.
1867 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1868 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1869 # Check to see if the nm accepts a BSD-compat flag.
1870 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1871 # nm: unknown option "B" ignored
1872 # Tru64's nm complains that /dev/null is an invalid object file
1873 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1874 lt_cv_path_NM="$tmp_nm -B"
1876 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1877 lt_cv_path_NM="$tmp_nm -p"
1880 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1881 continue # so that we can try to find one that supports BSD flags
1886 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1891 echo "$ac_t""$NM" 1>&6
1893 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1894 echo "configure:1895: checking how to recognise dependant libraries" >&5
1895 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1896 echo $ac_n "(cached) $ac_c" 1>&6
1898 lt_cv_file_magic_cmd='$MAGIC_CMD'
1899 lt_cv_file_magic_test_file=
1900 lt_cv_deplibs_check_method='unknown'
1901 # Need to set the preceding variable on all platforms that support
1902 # interlibrary dependencies.
1903 # 'none' -- dependencies not supported.
1904 # `unknown' -- same as none, but documents that we really don't know.
1905 # 'pass_all' -- all dependencies passed with no checks.
1906 # 'test_compile' -- check by making test program.
1907 # 'file_magic [regex]' -- check by looking for files in library path
1908 # which responds to the $file_magic_cmd with a given egrep regex.
1909 # If you have `file' or equivalent on your system and you're not sure
1910 # whether `pass_all' will *always* work, you probably want this one.
1914 lt_cv_deplibs_check_method=pass_all
1918 lt_cv_deplibs_check_method=pass_all
1922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1923 lt_cv_file_magic_cmd='/usr/bin/file -L'
1924 lt_cv_file_magic_test_file=/shlib/libc.so
1927 cygwin* | mingw* |pw32*)
1928 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1929 lt_cv_file_magic_cmd='$OBJDUMP -f'
1932 darwin* | rhapsody*)
1933 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1934 lt_cv_file_magic_cmd='/usr/bin/file -L'
1936 rhapsody* | darwin1.012)
1937 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1940 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1946 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1949 # Not sure whether the presence of OpenBSD here was a mistake.
1950 # Let's accept both of them until this is cleared up.
1951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1952 lt_cv_file_magic_cmd=/usr/bin/file
1953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1957 lt_cv_deplibs_check_method=pass_all
1962 lt_cv_deplibs_check_method=pass_all
1968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1969 lt_cv_file_magic_cmd=/usr/bin/file
1970 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1974 lt_cv_file_magic_cmd=/usr/bin/file
1975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1983 # this will be overridden with pass_all, but let us keep it just in case
1984 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1988 *-32|*"-32 ") libmagic=32-bit;;
1989 *-n32|*"-n32 ") libmagic=N32;;
1990 *-64|*"-64 ") libmagic=64-bit;;
1991 *) libmagic=never-match;;
1993 # this will be overridden with pass_all, but let us keep it just in case
1994 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1997 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1998 lt_cv_deplibs_check_method=pass_all
2001 # This must be Linux ELF.
2004 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2005 lt_cv_deplibs_check_method=pass_all ;;
2007 # glibc up to 2.1.1 does not perform some relocations on ARM
2008 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2010 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2014 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2015 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2017 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2022 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2023 lt_cv_file_magic_cmd=/usr/bin/file
2024 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2027 osf3* | osf4* | osf5*)
2028 # this will be overridden with pass_all, but let us keep it just in case
2029 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2030 lt_cv_file_magic_test_file=/shlib/libc.so
2031 lt_cv_deplibs_check_method=pass_all
2035 lt_cv_deplibs_check_method=pass_all
2039 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_file_magic_test_file=/lib/libc.so
2043 sysv5uw[78]* | sysv4*uw2*)
2044 lt_cv_deplibs_check_method=pass_all
2047 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2048 case $host_vendor in
2050 lt_cv_deplibs_check_method=pass_all
2053 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
2054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2062 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2063 file_magic_cmd=$lt_cv_file_magic_cmd
2064 deplibs_check_method=$lt_cv_deplibs_check_method
2066 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2067 echo "configure:2068: checking for object suffix" >&5
2068 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2069 echo $ac_n "(cached) $ac_c" 1>&6
2072 echo 'int i = 1;' > conftest.$ac_ext
2073 if { (eval echo configure:2074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2074 for ac_file in conftest.*; do
2077 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2081 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2086 echo "$ac_t""$ac_cv_objext" 1>&6
2087 OBJEXT=$ac_cv_objext
2088 ac_objext=$ac_cv_objext
2090 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2092 # Only perform the check for file, if the check method requires it
2093 case $deplibs_check_method in
2095 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2096 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2097 echo "configure:2098: checking for ${ac_tool_prefix}file" >&5
2098 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2099 echo $ac_n "(cached) $ac_c" 1>&6
2103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2106 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2109 ac_save_MAGIC_CMD="$MAGIC_CMD"
2110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2111 ac_dummy="/usr/bin:$PATH"
2112 for ac_dir in $ac_dummy; do
2113 test -z "$ac_dir" && ac_dir=.
2114 if test -f $ac_dir/${ac_tool_prefix}file; then
2115 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2116 if test -n "$file_magic_test_file"; then
2117 case $deplibs_check_method in
2119 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2120 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2121 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2122 egrep "$file_magic_regex" > /dev/null; then
2127 *** Warning: the command libtool uses to detect shared libraries,
2128 *** $file_magic_cmd, produces output that libtool cannot recognize.
2129 *** The result is that libtool may fail to recognize shared libraries
2130 *** as such. This will affect the creation of libtool libraries that
2131 *** depend on shared libraries, but programs linked with such libtool
2132 *** libraries will work regardless of this problem. Nevertheless, you
2133 *** may want to report the problem to your system manager and/or to
2134 *** bug-libtool@gnu.org
2144 MAGIC_CMD="$ac_save_MAGIC_CMD"
2149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2150 if test -n "$MAGIC_CMD"; then
2151 echo "$ac_t""$MAGIC_CMD" 1>&6
2153 echo "$ac_t""no" 1>&6
2156 if test -z "$lt_cv_path_MAGIC_CMD"; then
2157 if test -n "$ac_tool_prefix"; then
2158 echo $ac_n "checking for file""... $ac_c" 1>&6
2159 echo "configure:2160: checking for file" >&5
2160 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2161 echo $ac_n "(cached) $ac_c" 1>&6
2165 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2168 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2171 ac_save_MAGIC_CMD="$MAGIC_CMD"
2172 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2173 ac_dummy="/usr/bin:$PATH"
2174 for ac_dir in $ac_dummy; do
2175 test -z "$ac_dir" && ac_dir=.
2176 if test -f $ac_dir/file; then
2177 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2178 if test -n "$file_magic_test_file"; then
2179 case $deplibs_check_method in
2181 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2183 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2184 egrep "$file_magic_regex" > /dev/null; then
2189 *** Warning: the command libtool uses to detect shared libraries,
2190 *** $file_magic_cmd, produces output that libtool cannot recognize.
2191 *** The result is that libtool may fail to recognize shared libraries
2192 *** as such. This will affect the creation of libtool libraries that
2193 *** depend on shared libraries, but programs linked with such libtool
2194 *** libraries will work regardless of this problem. Nevertheless, you
2195 *** may want to report the problem to your system manager and/or to
2196 *** bug-libtool@gnu.org
2206 MAGIC_CMD="$ac_save_MAGIC_CMD"
2211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2212 if test -n "$MAGIC_CMD"; then
2213 echo "$ac_t""$MAGIC_CMD" 1>&6
2215 echo "$ac_t""no" 1>&6
2227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2229 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2230 echo "configure:2231: checking for $ac_word" >&5
2231 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2232 echo $ac_n "(cached) $ac_c" 1>&6
2234 if test -n "$RANLIB"; then
2235 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2237 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2239 for ac_dir in $ac_dummy; do
2240 test -z "$ac_dir" && ac_dir=.
2241 if test -f $ac_dir/$ac_word; then
2242 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2249 RANLIB="$ac_cv_prog_RANLIB"
2250 if test -n "$RANLIB"; then
2251 echo "$ac_t""$RANLIB" 1>&6
2253 echo "$ac_t""no" 1>&6
2257 if test -z "$ac_cv_prog_RANLIB"; then
2258 if test -n "$ac_tool_prefix"; then
2259 # Extract the first word of "ranlib", so it can be a program name with args.
2260 set dummy ranlib; ac_word=$2
2261 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2262 echo "configure:2263: checking for $ac_word" >&5
2263 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2264 echo $ac_n "(cached) $ac_c" 1>&6
2266 if test -n "$RANLIB"; then
2267 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2269 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2271 for ac_dir in $ac_dummy; do
2272 test -z "$ac_dir" && ac_dir=.
2273 if test -f $ac_dir/$ac_word; then
2274 ac_cv_prog_RANLIB="ranlib"
2279 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2282 RANLIB="$ac_cv_prog_RANLIB"
2283 if test -n "$RANLIB"; then
2284 echo "$ac_t""$RANLIB" 1>&6
2286 echo "$ac_t""no" 1>&6
2294 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2295 set dummy ${ac_tool_prefix}strip; ac_word=$2
2296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2297 echo "configure:2298: checking for $ac_word" >&5
2298 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2299 echo $ac_n "(cached) $ac_c" 1>&6
2301 if test -n "$STRIP"; then
2302 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2306 for ac_dir in $ac_dummy; do
2307 test -z "$ac_dir" && ac_dir=.
2308 if test -f $ac_dir/$ac_word; then
2309 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2316 STRIP="$ac_cv_prog_STRIP"
2317 if test -n "$STRIP"; then
2318 echo "$ac_t""$STRIP" 1>&6
2320 echo "$ac_t""no" 1>&6
2324 if test -z "$ac_cv_prog_STRIP"; then
2325 if test -n "$ac_tool_prefix"; then
2326 # Extract the first word of "strip", so it can be a program name with args.
2327 set dummy strip; ac_word=$2
2328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2329 echo "configure:2330: checking for $ac_word" >&5
2330 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2331 echo $ac_n "(cached) $ac_c" 1>&6
2333 if test -n "$STRIP"; then
2334 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2338 for ac_dir in $ac_dummy; do
2339 test -z "$ac_dir" && ac_dir=.
2340 if test -f $ac_dir/$ac_word; then
2341 ac_cv_prog_STRIP="strip"
2346 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2349 STRIP="$ac_cv_prog_STRIP"
2350 if test -n "$STRIP"; then
2351 echo "$ac_t""$STRIP" 1>&6
2353 echo "$ac_t""no" 1>&6
2362 # Check for any special flags to pass to ltconfig.
2363 libtool_flags="--cache-file=$cache_file"
2364 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2365 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2366 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2367 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2368 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2369 libtool_flags="$libtool_flags --enable-dlopen"
2371 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2372 if test "${enable_libtool_lock+set}" = set; then
2373 enableval="$enable_libtool_lock"
2377 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2378 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2380 # Check whether --with-pic or --without-pic was given.
2381 if test "${with_pic+set}" = set; then
2388 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2389 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2391 # Some flags need to be propagated to the compiler or linker for good
2395 # Find out which ABI we are using.
2396 echo '#line 2397 "configure"' > conftest.$ac_ext
2397 if { (eval echo configure:2398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2398 if test "$lt_cv_prog_gnu_ld" = yes; then
2399 case `/usr/bin/file conftest.$ac_objext` in
2401 LD="${LD-ld} -melf32bsmip"
2404 LD="${LD-ld} -melf32bmipn32"
2407 LD="${LD-ld} -melf64bmip"
2411 case `/usr/bin/file conftest.$ac_objext` in
2428 # Find out which ABI we are using.
2429 echo 'int i;' > conftest.$ac_ext
2430 if { (eval echo configure:2431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2431 case "`/usr/bin/file conftest.o`" in
2443 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2444 # Find out which ABI we are using.
2445 echo 'int i;' > conftest.$ac_ext
2446 if { (eval echo configure:2447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2447 case "`/usr/bin/file conftest.o`" in
2451 LD="${LD-ld} -m elf_i386"
2454 LD="${LD-ld} -m elf32ppclinux"
2457 LD="${LD-ld} -m elf_s390"
2460 LD="${LD-ld} -m elf32_sparc"
2467 LD="${LD-ld} -m elf_x86_64"
2469 ppc*-*linux*|powerpc*-*linux*)
2470 LD="${LD-ld} -m elf64ppc"
2473 LD="${LD-ld} -m elf64_s390"
2476 LD="${LD-ld} -m elf64_sparc"
2486 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2487 SAVE_CFLAGS="$CFLAGS"
2488 CFLAGS="$CFLAGS -belf"
2489 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2490 echo "configure:2491: checking whether the C compiler needs -belf" >&5
2491 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2492 echo $ac_n "(cached) $ac_c" 1>&6
2496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2497 ac_cpp='$CPP $CPPFLAGS'
2498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2500 cross_compiling=$ac_cv_prog_cc_cross
2502 cat > conftest.$ac_ext <<EOF
2503 #line 2504 "configure"
2504 #include "confdefs.h"
2510 if { (eval echo configure:2511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2512 lt_cv_cc_needs_belf=yes
2514 echo "configure: failed program was:" >&5
2515 cat conftest.$ac_ext >&5
2517 lt_cv_cc_needs_belf=no
2521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2522 ac_cpp='$CPP $CPPFLAGS'
2523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2525 cross_compiling=$ac_cv_prog_cc_cross
2529 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2530 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2531 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2532 CFLAGS="$SAVE_CFLAGS"
2539 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2540 echo "configure:2541: checking how to run the C++ preprocessor" >&5
2541 if test -z "$CXXCPP"; then
2542 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2543 echo $ac_n "(cached) $ac_c" 1>&6
2546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2547 ac_cpp='$CXXCPP $CPPFLAGS'
2548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2550 cross_compiling=$ac_cv_prog_cxx_cross
2551 CXXCPP="${CXX-g++} -E"
2552 cat > conftest.$ac_ext <<EOF
2553 #line 2554 "configure"
2554 #include "confdefs.h"
2557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2558 { (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2560 if test -z "$ac_err"; then
2564 echo "configure: failed program was:" >&5
2565 cat conftest.$ac_ext >&5
2570 ac_cv_prog_CXXCPP="$CXXCPP"
2572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2573 ac_cpp='$CPP $CPPFLAGS'
2574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2576 cross_compiling=$ac_cv_prog_cc_cross
2579 CXXCPP="$ac_cv_prog_CXXCPP"
2580 echo "$ac_t""$CXXCPP" 1>&6
2583 # Save cache, so that ltconfig can load it
2584 cat > confcache <<\EOF
2585 # This file is a shell script that caches the results of configure
2586 # tests run on this system so they can be shared between configure
2587 # scripts and configure runs. It is not useful on other systems.
2588 # If it contains results you don't want to keep, you may remove or edit it.
2590 # By default, configure uses ./config.cache as the cache file,
2591 # creating it if it does not exist already. You can give configure
2592 # the --cache-file=FILE option to use a different cache file; that is
2593 # what configure does when it calls configure scripts in
2594 # subdirectories, so they share the cache.
2595 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2596 # config.status only pays attention to the cache file if you give it the
2597 # --recheck option to rerun configure.
2600 # The following way of writing the cache mishandles newlines in values,
2601 # but we know of no workaround that is simple, portable, and efficient.
2602 # So, don't put newlines in cache variables' values.
2603 # Ultrix sh set writes to stderr and can't be redirected directly,
2604 # and sets the high bit in the cache file unless we assign to the vars.
2606 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2608 # `set' does not quote correctly, so add quotes (double-quote substitution
2609 # turns \\\\ into \\, and sed turns \\ into \).
2611 -e "s/'/'\\\\''/g" \
2612 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2615 # `set' quotes correctly as required by POSIX, so do not add quotes.
2616 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2619 if cmp -s $cache_file confcache; then
2622 if test -w $cache_file; then
2623 echo "updating cache $cache_file"
2624 cat confcache > $cache_file
2626 echo "not updating unwritable cache $cache_file"
2632 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2633 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2634 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2635 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2636 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2637 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2638 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2639 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2640 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2641 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2643 # Reload cache, that may have been modified by ltconfig
2644 if test -r "$cache_file"; then
2645 echo "loading cache $cache_file"
2648 echo "creating cache $cache_file"
2653 # This can be used to rebuild libtool when needed
2654 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2656 # Always use our own libtool.
2657 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2659 # Redirect the config.log output again, so that the ltconfig log is not
2660 # clobbered by the next message.
2661 exec 5>>./config.log
2665 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2667 lt_save_CFLAGS="$CFLAGS"
2668 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2669 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2670 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2671 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2672 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2673 deplibs_check_method="$deplibs_check_method" \
2674 file_magic_cmd="$file_magic_cmd" \
2675 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2676 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2677 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2679 CFLAGS="$lt_save_CFLAGS"
2681 # Redirect the config.log output again, so that the ltconfig log is not
2682 # clobbered by the next message.
2683 exec 5>>./config.log
2693 # Check for c++ or library specific bits that don't require linking.
2694 #GLIBCPP_CHECK_COMPILER_VERSION
2695 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2696 echo "configure:2697: checking for GNU make" >&5
2697 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2698 echo $ac_n "(cached) $ac_c" 1>&6
2700 _cv_gnu_make_command='' ;
2701 for a in "${MAKE-make}" make gmake gnumake ; do
2702 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2704 _cv_gnu_make_command=$a ;
2711 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2712 if test "x$_cv_gnu_make_command" != "x" ; then
2720 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2721 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2722 echo "configure:2723: checking how to run the C preprocessor" >&5
2723 # On Suns, sometimes $CPP names a directory.
2724 if test -n "$CPP" && test -d "$CPP"; then
2727 if test -z "$CPP"; then
2728 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2729 echo $ac_n "(cached) $ac_c" 1>&6
2731 # This must be in double quotes, not single quotes, because CPP may get
2732 # substituted into the Makefile and "${CC-cc}" will confuse make.
2734 # On the NeXT, cc -E runs the code through the compiler's parser,
2735 # not just through cpp.
2736 cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure"
2738 #include "confdefs.h"
2742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2743 { (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2745 if test -z "$ac_err"; then
2749 echo "configure: failed program was:" >&5
2750 cat conftest.$ac_ext >&5
2752 CPP="${CC-cc} -E -traditional-cpp"
2753 cat > conftest.$ac_ext <<EOF
2754 #line 2755 "configure"
2755 #include "confdefs.h"
2759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2760 { (eval echo configure:2761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2762 if test -z "$ac_err"; then
2766 echo "configure: failed program was:" >&5
2767 cat conftest.$ac_ext >&5
2769 CPP="${CC-cc} -nologo -E"
2770 cat > conftest.$ac_ext <<EOF
2771 #line 2772 "configure"
2772 #include "confdefs.h"
2776 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2777 { (eval echo configure:2778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2779 if test -z "$ac_err"; then
2783 echo "configure: failed program was:" >&5
2784 cat conftest.$ac_ext >&5
2793 ac_cv_prog_CPP="$CPP"
2795 CPP="$ac_cv_prog_CPP"
2797 ac_cv_prog_CPP="$CPP"
2799 echo "$ac_t""$CPP" 1>&6
2802 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2803 echo "configure:2804: checking for cstdio to use" >&5
2804 # Check whether --enable-cstdio or --disable-cstdio was given.
2805 if test "${enable_cstdio+set}" = set; then
2806 enableval="$enable_cstdio"
2807 if test x$enable_cstdio = xno; then
2815 enable_cstdio_flag=$enable_cstdio
2817 case x${enable_cstdio_flag} in
2819 CSTDIO_H=config/io/c_io_libio.h
2820 BASIC_FILE_H=config/io/basic_file_libio.h
2821 BASIC_FILE_CC=config/io/basic_file_libio.cc
2822 echo "$ac_t""libio" 1>&6
2824 # see if we are on a system with libio native (ie, linux)
2825 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2826 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2827 echo "configure:2828: checking for libio.h" >&5
2828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2829 echo $ac_n "(cached) $ac_c" 1>&6
2831 cat > conftest.$ac_ext <<EOF
2832 #line 2833 "configure"
2833 #include "confdefs.h"
2836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2837 { (eval echo configure:2838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2839 if test -z "$ac_err"; then
2841 eval "ac_cv_header_$ac_safe=yes"
2844 echo "configure: failed program was:" >&5
2845 cat conftest.$ac_ext >&5
2847 eval "ac_cv_header_$ac_safe=no"
2851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2852 echo "$ac_t""yes" 1>&6
2855 echo "$ac_t""no" 1>&6
2860 # Need to check and see what version of glibc is being used. If
2861 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2862 # compile most of libio for linux systems.
2863 if test x$has_libio = x"yes"; then
2866 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2867 echo "configure:2868: checking for glibc version >= 2.2" >&5
2868 cat > conftest.$ac_ext <<EOF
2869 #line 2870 "configure"
2870 #include "confdefs.h"
2872 #include <features.h>
2873 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2879 egrep "ok" >/dev/null 2>&1; then
2881 glibc_satisfactory=yes
2884 glibc_satisfactory=no
2888 echo "$ac_t""$glibc_satisfactory" 1>&6
2892 # XXX at the moment, admit defeat and force the recompilation
2893 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2894 glibc_satisfactory=no
2896 if test x$glibc_satisfactory = x"yes"; then
2901 # bkoz XXX need to add checks to enable this
2902 # pme XXX here's a first pass at such a check
2903 if test x$enable_c_mbchar != xno; then
2911 # Using libio, but <libio.h> doesn't exist on the target system. . .
2913 # bkoz XXX need to add checks to enable this
2914 # pme XXX here's a first pass at such a check
2915 if test x$enable_c_mbchar != xno; then
2922 xstdio | x | xno | xnone | xyes)
2924 CSTDIO_H=config/io/c_io_stdio.h
2925 BASIC_FILE_H=config/io/basic_file_stdio.h
2926 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2927 echo "$ac_t""stdio" 1>&6
2929 # We're not using stdio.
2934 echo "$enable_cstdio is an unknown io package" 1>&2
2942 # 2000-08-04 bkoz hack
2943 CCODECVT_C=config/io/c_io_libio_codecvt.c
2945 # 2000-08-04 bkoz hack
2949 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2950 GLIBCPP_BUILD_LIBIO_TRUE=
2951 GLIBCPP_BUILD_LIBIO_FALSE='#'
2953 GLIBCPP_BUILD_LIBIO_TRUE='#'
2954 GLIBCPP_BUILD_LIBIO_FALSE=
2958 if test "$need_libio" = yes; then
2959 GLIBCPP_NEED_LIBIO_TRUE=
2960 GLIBCPP_NEED_LIBIO_FALSE='#'
2962 GLIBCPP_NEED_LIBIO_TRUE='#'
2963 GLIBCPP_NEED_LIBIO_FALSE=
2967 if test "$need_wlibio" = yes; then
2968 GLIBCPP_NEED_WLIBIO_TRUE=
2969 GLIBCPP_NEED_WLIBIO_FALSE='#'
2971 GLIBCPP_NEED_WLIBIO_TRUE='#'
2972 GLIBCPP_NEED_WLIBIO_FALSE=
2974 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2975 libio_la=../libio/libio.la
2982 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2983 echo "configure:2984: checking for clocale to use" >&5
2984 # Check whether --enable-clocale or --disable-clocale was given.
2985 if test "${enable_clocale+set}" = set; then
2986 enableval="$enable_clocale"
2987 if test x$enable_clocale = xno; then
2995 enable_clocale_flag=$enable_clocale
2997 if test x$enable_clocale_flag = xno; then
2998 case x${target_os} in
3000 cat > conftest.$ac_ext <<EOF
3001 #line 3002 "configure"
3002 #include "confdefs.h"
3004 #include <features.h>
3005 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3011 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3013 enable_clocale_flag=gnu
3016 enable_clocale_flag=generic
3021 # Test for bugs early in glibc-2.2.x series
3022 if test x$enable_clocale_flag = xgnu; then
3023 if test "$cross_compiling" = yes; then
3024 enable_clocale_flag=generic
3026 cat > conftest.$ac_ext <<EOF
3027 #line 3028 "configure"
3028 #include "confdefs.h"
3030 #define _GNU_SOURCE 1
3033 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3034 extern __typeof(newlocale) __newlocale;
3035 extern __typeof(duplocale) __duplocale;
3036 extern __typeof(strcoll_l) __strcoll_l;
3040 const char __one[] = "Äuglein Augmen";
3041 const char __two[] = "Äuglein";
3046 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3047 loc_dup = __duplocale(loc);
3048 i = __strcoll_l(__one, __two, loc);
3049 j = __strcoll_l(__one, __two, loc_dup);
3054 if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3056 enable_clocale_flag=gnu
3058 echo "configure: failed program was:" >&5
3059 cat conftest.$ac_ext >&5
3061 enable_clocale_flag=generic
3068 # ... at some point put __strxfrm_l tests in as well.
3071 enable_clocale_flag=generic
3076 # Check whether --enable-nls or --disable-nls was given.
3077 if test "${enable_nls+set}" = set; then
3078 enableval="$enable_nls"
3086 case x${enable_clocale_flag} in
3088 echo "$ac_t""generic" 1>&6
3090 CLOCALE_H=config/locale/generic/c_locale.h
3091 CLOCALE_CC=config/locale/generic/c_locale.cc
3092 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3093 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3094 CCOLLATE_CC=config/locale/generic/collate_members.cc
3095 CCTYPE_CC=config/locale/generic/ctype_members.cc
3096 CMESSAGES_H=config/locale/generic/messages_members.h
3097 CMESSAGES_CC=config/locale/generic/messages_members.cc
3098 CMONEY_CC=config/locale/generic/monetary_members.cc
3099 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3100 CTIME_H=config/locale/generic/time_members.h
3101 CTIME_CC=config/locale/generic/time_members.cc
3102 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3105 echo "$ac_t""gnu" 1>&6
3107 # Declare intention to use gettext, and add support for specific
3109 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3112 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3113 # Extract the first word of "msgfmt", so it can be a program name with args.
3114 set dummy msgfmt; ac_word=$2
3115 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3116 echo "configure:3117: checking for $ac_word" >&5
3117 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3118 echo $ac_n "(cached) $ac_c" 1>&6
3120 if test -n "$check_msgfmt"; then
3121 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3123 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3125 for ac_dir in $ac_dummy; do
3126 test -z "$ac_dir" && ac_dir=.
3127 if test -f $ac_dir/$ac_word; then
3128 ac_cv_prog_check_msgfmt="yes"
3133 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3136 check_msgfmt="$ac_cv_prog_check_msgfmt"
3137 if test -n "$check_msgfmt"; then
3138 echo "$ac_t""$check_msgfmt" 1>&6
3140 echo "$ac_t""no" 1>&6
3143 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3146 # Export the build objects.
3147 for ling in $ALL_LINGUAS; do \
3148 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3149 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3154 CLOCALE_H=config/locale/gnu/c_locale.h
3155 CLOCALE_CC=config/locale/gnu/c_locale.cc
3156 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3157 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3158 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3159 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3160 CMESSAGES_H=config/locale/gnu/messages_members.h
3161 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3162 CMONEY_CC=config/locale/gnu/monetary_members.cc
3163 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3164 CTIME_H=config/locale/gnu/time_members.h
3165 CTIME_CC=config/locale/gnu/time_members.cc
3166 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3169 echo "$ac_t""generic" 1>&6
3171 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3172 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3173 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3174 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3175 CCOLLATE_CC=config/locale/generic/collate_members.cc
3176 CCTYPE_CC=config/locale/generic/ctype_members.cc
3177 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3178 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3179 CMONEY_CC=config/locale/generic/monetary_members.cc
3180 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3181 CTIME_H=config/locale/generic/time_members.h
3182 CTIME_CC=config/locale/generic/time_members.cc
3183 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3186 echo "$enable_clocale is an unknown locale package" 1>&2
3191 # This is where the testsuite looks for locale catalogs, using the
3192 # -DLOCALEDIR define during testsuite compilation.
3193 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3211 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3212 echo "configure:3213: checking for c header strategy to use" >&5
3213 # Check whether --enable-cheaders or --disable-cheaders was given.
3214 if test "${enable_cheaders+set}" = set; then
3215 enableval="$enable_cheaders"
3217 case "$enableval" in
3222 enable_cheaders=c_std
3224 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3228 enable_cheaders=c_std
3231 echo "$ac_t""$enable_cheaders" 1>&6
3233 case "$enable_cheaders" in
3235 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3238 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3245 if test "$enable_cheaders" = c; then
3246 GLIBCPP_C_HEADERS_C_TRUE=
3247 GLIBCPP_C_HEADERS_C_FALSE='#'
3249 GLIBCPP_C_HEADERS_C_TRUE='#'
3250 GLIBCPP_C_HEADERS_C_FALSE=
3254 if test "$enable_cheaders" = c_std; then
3255 GLIBCPP_C_HEADERS_C_STD_TRUE=
3256 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3258 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3259 GLIBCPP_C_HEADERS_C_STD_FALSE=
3263 if test "$c_compatibility" = yes; then
3264 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3265 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3267 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3268 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3271 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3272 if test "${enable_c_mbchar+set}" = set; then
3273 enableval="$enable_c_mbchar"
3274 case "$enableval" in
3275 yes) enable_c_mbchar=yes ;;
3276 no) enable_c_mbchar=no ;;
3277 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3284 # Check whether --enable-c99 or --disable-c99 was given.
3285 if test "${enable_c99+set}" = set; then
3286 enableval="$enable_c99"
3287 case "$enableval" in
3288 yes) enable_c99=yes ;;
3289 no) enable_c99=no ;;
3290 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3299 ac_cpp='$CXXCPP $CPPFLAGS'
3300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3302 cross_compiling=$ac_cv_prog_cxx_cross
3305 # Check for the existence of <math.h> functions used if C99 is enabled.
3307 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3308 echo "configure:3309: checking for ISO C99 support in <math.h>" >&5
3309 cat > conftest.$ac_ext <<EOF
3310 #line 3311 "configure"
3311 #include "confdefs.h"
3317 if { (eval echo configure:3318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3320 echo "configure: failed program was:" >&5
3321 cat conftest.$ac_ext >&5
3326 cat > conftest.$ac_ext <<EOF
3327 #line 3328 "configure"
3328 #include "confdefs.h"
3334 if { (eval echo configure:3335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3337 echo "configure: failed program was:" >&5
3338 cat conftest.$ac_ext >&5
3343 cat > conftest.$ac_ext <<EOF
3344 #line 3345 "configure"
3345 #include "confdefs.h"
3351 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3354 echo "configure: failed program was:" >&5
3355 cat conftest.$ac_ext >&5
3360 cat > conftest.$ac_ext <<EOF
3361 #line 3362 "configure"
3362 #include "confdefs.h"
3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3371 echo "configure: failed program was:" >&5
3372 cat conftest.$ac_ext >&5
3377 cat > conftest.$ac_ext <<EOF
3378 #line 3379 "configure"
3379 #include "confdefs.h"
3385 if { (eval echo configure:3386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3388 echo "configure: failed program was:" >&5
3389 cat conftest.$ac_ext >&5
3394 cat > conftest.$ac_ext <<EOF
3395 #line 3396 "configure"
3396 #include "confdefs.h"
3402 if { (eval echo configure:3403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3405 echo "configure: failed program was:" >&5
3406 cat conftest.$ac_ext >&5
3411 cat > conftest.$ac_ext <<EOF
3412 #line 3413 "configure"
3413 #include "confdefs.h"
3419 if { (eval echo configure:3420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3422 echo "configure: failed program was:" >&5
3423 cat conftest.$ac_ext >&5
3428 cat > conftest.$ac_ext <<EOF
3429 #line 3430 "configure"
3430 #include "confdefs.h"
3433 isgreaterequal(0.0,0.0);
3436 if { (eval echo configure:3437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3439 echo "configure: failed program was:" >&5
3440 cat conftest.$ac_ext >&5
3445 cat > conftest.$ac_ext <<EOF
3446 #line 3447 "configure"
3447 #include "confdefs.h"
3453 if { (eval echo configure:3454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3456 echo "configure: failed program was:" >&5
3457 cat conftest.$ac_ext >&5
3462 cat > conftest.$ac_ext <<EOF
3463 #line 3464 "configure"
3464 #include "confdefs.h"
3467 islessequal(0.0,0.0);
3470 if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3473 echo "configure: failed program was:" >&5
3474 cat conftest.$ac_ext >&5
3479 cat > conftest.$ac_ext <<EOF
3480 #line 3481 "configure"
3481 #include "confdefs.h"
3484 islessgreater(0.0,0.0);
3487 if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3490 echo "configure: failed program was:" >&5
3491 cat conftest.$ac_ext >&5
3496 cat > conftest.$ac_ext <<EOF
3497 #line 3498 "configure"
3498 #include "confdefs.h"
3501 isunordered(0.0,0.0);
3504 if { (eval echo configure:3505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3507 echo "configure: failed program was:" >&5
3508 cat conftest.$ac_ext >&5
3513 echo "$ac_t""$ac_c99_math" 1>&6
3515 # Check for the existence in <stdio.h> of vscanf, et. al.
3517 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3518 echo "configure:3519: checking for ISO C99 support in <stdio.h>" >&5
3519 cat > conftest.$ac_ext <<EOF
3520 #line 3521 "configure"
3521 #include "confdefs.h"
3524 snprintf("12", 0, "%i");
3527 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3530 echo "configure: failed program was:" >&5
3531 cat conftest.$ac_ext >&5
3536 cat > conftest.$ac_ext <<EOF
3537 #line 3538 "configure"
3538 #include "confdefs.h"
3541 void foo(char* fmt, ...)
3542 {va_list args; va_start(args, fmt);
3543 vfscanf(stderr, "%i", args);}
3548 if { (eval echo configure:3549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3551 echo "configure: failed program was:" >&5
3552 cat conftest.$ac_ext >&5
3557 cat > conftest.$ac_ext <<EOF
3558 #line 3559 "configure"
3559 #include "confdefs.h"
3562 void foo(char* fmt, ...)
3563 {va_list args; va_start(args, fmt);
3564 vscanf("%i", args);}
3569 if { (eval echo configure:3570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 echo "configure: failed program was:" >&5
3573 cat conftest.$ac_ext >&5
3578 cat > conftest.$ac_ext <<EOF
3579 #line 3580 "configure"
3580 #include "confdefs.h"
3583 void foo(char* fmt, ...)
3584 {va_list args; va_start(args, fmt);
3585 vsnprintf(fmt, 0, "%i", args);}
3590 if { (eval echo configure:3591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3593 echo "configure: failed program was:" >&5
3594 cat conftest.$ac_ext >&5
3599 cat > conftest.$ac_ext <<EOF
3600 #line 3601 "configure"
3601 #include "confdefs.h"
3604 void foo(char* fmt, ...)
3605 {va_list args; va_start(args, fmt);
3606 vsscanf(fmt, "%i", args);}
3611 if { (eval echo configure:3612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3614 echo "configure: failed program was:" >&5
3615 cat conftest.$ac_ext >&5
3620 echo "$ac_t""$ac_c99_stdio" 1>&6
3622 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3624 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3625 echo "configure:3626: checking for lldiv_t declaration" >&5
3626 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3627 echo $ac_n "(cached) $ac_c" 1>&6
3630 cat > conftest.$ac_ext <<EOF
3631 #line 3632 "configure"
3632 #include "confdefs.h"
3638 if { (eval echo configure:3639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3642 echo "configure: failed program was:" >&5
3643 cat conftest.$ac_ext >&5
3651 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3653 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3654 echo "configure:3655: checking for ISO C99 support in <stdlib.h>" >&5
3655 cat > conftest.$ac_ext <<EOF
3656 #line 3657 "configure"
3657 #include "confdefs.h"
3660 char* tmp; strtof("gnu", &tmp);
3663 if { (eval echo configure:3664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3666 echo "configure: failed program was:" >&5
3667 cat conftest.$ac_ext >&5
3672 cat > conftest.$ac_ext <<EOF
3673 #line 3674 "configure"
3674 #include "confdefs.h"
3677 char* tmp; strtold("gnu", &tmp);
3680 if { (eval echo configure:3681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3683 echo "configure: failed program was:" >&5
3684 cat conftest.$ac_ext >&5
3689 cat > conftest.$ac_ext <<EOF
3690 #line 3691 "configure"
3691 #include "confdefs.h"
3697 if { (eval echo configure:3698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3700 echo "configure: failed program was:" >&5
3701 cat conftest.$ac_ext >&5
3706 cat > conftest.$ac_ext <<EOF
3707 #line 3708 "configure"
3708 #include "confdefs.h"
3714 if { (eval echo configure:3715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3717 echo "configure: failed program was:" >&5
3718 cat conftest.$ac_ext >&5
3723 cat > conftest.$ac_ext <<EOF
3724 #line 3725 "configure"
3725 #include "confdefs.h"
3731 if { (eval echo configure:3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3734 echo "configure: failed program was:" >&5
3735 cat conftest.$ac_ext >&5
3740 cat > conftest.$ac_ext <<EOF
3741 #line 3742 "configure"
3742 #include "confdefs.h"
3748 if { (eval echo configure:3749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3751 echo "configure: failed program was:" >&5
3752 cat conftest.$ac_ext >&5
3757 if test x"$ac_c99_lldiv_t" = x"no"; then
3760 echo "$ac_t""$ac_c99_stdlib" 1>&6
3762 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3763 # XXX the wchar.h checks should be rolled into the general C99 bits.
3765 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3766 echo "configure:3767: checking for additional ISO C99 support in <wchar.h>" >&5
3767 cat > conftest.$ac_ext <<EOF
3768 #line 3769 "configure"
3769 #include "confdefs.h"
3772 wcstold(L"10.0", NULL);
3775 if { (eval echo configure:3776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3778 echo "configure: failed program was:" >&5
3779 cat conftest.$ac_ext >&5
3784 cat > conftest.$ac_ext <<EOF
3785 #line 3786 "configure"
3786 #include "confdefs.h"
3789 wcstoll(L"10", NULL, 10);
3792 if { (eval echo configure:3793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3795 echo "configure: failed program was:" >&5
3796 cat conftest.$ac_ext >&5
3801 cat > conftest.$ac_ext <<EOF
3802 #line 3803 "configure"
3803 #include "confdefs.h"
3806 wcstoull(L"10", NULL, 10);
3809 if { (eval echo configure:3810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3812 echo "configure: failed program was:" >&5
3813 cat conftest.$ac_ext >&5
3818 echo "$ac_t""$ac_c99_wchar" 1>&6
3820 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3821 echo "configure:3822: checking for enabled ISO C99 support" >&5
3822 if test x"$ac_c99_math" = x"no" ||
3823 test x"$ac_c99_stdio" = x"no" ||
3824 test x"$ac_c99_stdlib" = x"no" ||
3825 test x"$ac_c99_wchar" = x"no"; then
3828 echo "$ac_t""$enable_c99" 1>&6
3830 # Option parsed, now set things appropriately
3831 if test x"$enable_c99" = x"yes"; then
3832 cat >> confdefs.h <<\EOF
3833 #define _GLIBCPP_USE_C99 1
3839 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3842 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3843 cross_compiling=$ac_cv_prog_cc_cross
3847 # Check whether --enable-long-long or --disable-long-long was given.
3848 if test "${enable_long_long+set}" = set; then
3849 enableval="$enable_long_long"
3850 case "$enableval" in
3851 yes) enable_long_long=yes ;;
3852 no) enable_long_long=no ;;
3853 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3856 enable_long_long=yes
3861 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3862 ac_cpp='$CXXCPP $CPPFLAGS'
3863 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3864 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3865 cross_compiling=$ac_cv_prog_cxx_cross
3868 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3869 echo "configure:3870: checking for enabled long long I/O support" >&5
3870 # iostreams require strtoll, strtoull to compile
3871 cat > conftest.$ac_ext <<EOF
3872 #line 3873 "configure"
3873 #include "confdefs.h"
3876 char* tmp; strtoll("gnu", &tmp, 10);
3879 if { (eval echo configure:3880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3882 echo "configure: failed program was:" >&5
3883 cat conftest.$ac_ext >&5
3888 cat > conftest.$ac_ext <<EOF
3889 #line 3890 "configure"
3890 #include "confdefs.h"
3893 char* tmp; strtoull("gnu", &tmp, 10);
3896 if { (eval echo configure:3897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3899 echo "configure: failed program was:" >&5
3900 cat conftest.$ac_ext >&5
3906 # Option parsed, now set things appropriately
3907 if test x"$enable_long_long" = xyes; then
3908 cat >> confdefs.h <<\EOF
3909 #define _GLIBCPP_USE_LONG_LONG 1
3913 echo "$ac_t""$enable_long_long" 1>&6
3916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3917 ac_cpp='$CPP $CPPFLAGS'
3918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3920 cross_compiling=$ac_cv_prog_cc_cross
3924 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3925 echo "configure:3926: checking for thread model used by GCC" >&5
3926 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3927 echo "$ac_t""$target_thread_file" 1>&6
3929 if test $target_thread_file != single; then
3930 cat >> confdefs.h <<\EOF
3931 #define HAVE_GTHR_DEFAULT 1
3934 cat >> confdefs.h <<\EOF
3935 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3940 glibcpp_thread_h=gthr-$target_thread_file.h
3944 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3945 echo "configure:3946: checking for exception model to use" >&5
3948 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3949 ac_cpp='$CXXCPP $CPPFLAGS'
3950 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3951 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3952 cross_compiling=$ac_cv_prog_cxx_cross
3954 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3955 if test "${enable_sjlj_exceptions+set}" = set; then
3956 enableval="$enable_sjlj_exceptions"
3959 cat > conftest.$ac_ext << EOF
3960 #line 3961 "configure"
3969 old_CXXFLAGS="$CXXFLAGS"
3971 if { (eval echo configure:3972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3972 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3973 enable_sjlj_exceptions=yes
3974 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3975 enable_sjlj_exceptions=no
3978 CXXFLAGS="$old_CXXFLAGS"
3982 if test x$enable_sjlj_exceptions = xyes; then
3983 cat >> confdefs.h <<\EOF
3984 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3987 ac_exception_model_name=sjlj
3988 elif test x$enable_sjlj_exceptions = xno; then
3989 ac_exception_model_name="call frame"
3991 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3995 ac_cpp='$CPP $CPPFLAGS'
3996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3998 cross_compiling=$ac_cv_prog_cc_cross
4000 echo "$ac_t""$ac_exception_model_name" 1>&6
4003 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4004 echo "configure:4005: checking for use of libunwind" >&5
4005 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4006 if test "${enable_libunwind_exceptions+set}" = set; then
4007 enableval="$enable_libunwind_exceptions"
4008 use_libunwind_exceptions=$enableval
4010 use_libunwind_exceptions=no
4013 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4014 if test x"$use_libunwind_exceptions" = xyes; then
4015 LIBUNWIND_FLAG="-lunwind"
4021 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4022 if test "${enable_concept_checks+set}" = set; then
4023 enableval="$enable_concept_checks"
4024 case "$enableval" in
4025 yes) enable_concept_checks=yes ;;
4026 no) enable_concept_checks=no ;;
4027 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4030 enable_concept_checks=no
4032 if test x"$enable_concept_checks" = xyes; then
4033 cat >> confdefs.h <<\EOF
4034 #define _GLIBCPP_CONCEPT_CHECKS 1
4039 echo $ac_n "checking for extra compiler flags for building""... $ac_c" 1>&6
4040 echo "configure:4041: checking for extra compiler flags for building" >&5
4041 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4042 if test "${enable_cxx_flags+set}" = set; then
4043 enableval="$enable_cxx_flags"
4044 case "x$enable_cxx_flags" in
4046 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
4048 enable_cxx_flags='' ;;
4050 enable_cxx_flags="$enableval" ;;
4057 if test -n "$enable_cxx_flags"; then
4058 for f in $enable_cxx_flags; do
4062 *) # and we're trying to pass /what/ exactly?
4063 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
4067 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4068 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4071 # Check whether --enable-debug or --disable-debug was given.
4072 if test "${enable_debug+set}" = set; then
4073 enableval="$enable_debug"
4074 case "${enableval}" in
4075 yes) enable_debug=yes ;;
4076 no) enable_debug=no ;;
4077 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
4082 echo $ac_n "checking for additional debug build""... $ac_c" 1>&6
4083 echo "configure:4084: checking for additional debug build" >&5
4084 echo "$ac_t""$enable_debug" 1>&6
4087 if test "$enable_debug" = yes; then
4088 GLIBCPP_BUILD_DEBUG_TRUE=
4089 GLIBCPP_BUILD_DEBUG_FALSE='#'
4091 GLIBCPP_BUILD_DEBUG_TRUE='#'
4092 GLIBCPP_BUILD_DEBUG_FALSE=
4095 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4096 if test "${enable_debug_flags+set}" = set; then
4097 enableval="$enable_debug_flags"
4098 case "${enableval}" in
4100 -*) enable_debug_flags="${enableval}" ;;
4101 *) { echo "configure: error: Unknown argument to extra debugging flags" 1>&2; exit 1; } ;;
4104 enable_debug_flags=none
4107 case x"$enable_debug" in
4109 case "$enable_debug_flags" in
4111 DEBUG_FLAGS="-g3 -O0";;
4113 DEBUG_FLAGS="${enableval}"
4122 echo $ac_n "checking for debug build flags""... $ac_c" 1>&6
4123 echo "configure:4124: checking for debug build flags" >&5
4124 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4127 # No surprises, no surprises...
4128 if test $ATOMICITYH = cpu/generic ; then
4129 echo "configure: warning: No native atomic operations are provided for this platform." 1>&2
4130 if test $target_thread_file = single; then
4131 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4132 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4134 echo "configure: warning: They will be faked using a mutex." 1>&2
4135 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4140 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4142 # We are being configured with some form of cross compiler.
4143 GLIBCPP_IS_CROSS_COMPILING=1
4145 # This lets us hard-code the functionality we know we'll have in the cross
4146 # target environment. "Let" is a sugar-coated word placed on an especially
4147 # dull and tedious hack, actually.
4149 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4150 # that involve linking, can't be used:
4151 # "cannot open sim-crt0.o"
4152 # "cannot open crt0.o"
4153 # etc. All this is because there currently exists no unified, consistent
4154 # way for top level CC information to be passed down to target directories:
4155 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4156 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4157 # crosses can be removed.
4159 # If Canadian cross, then don't pick up tools from the build directory.
4160 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4161 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4167 # Construct crosses by hand, eliminating bits that need ld...
4168 # GLIBCPP_CHECK_COMPILER_FEATURES
4169 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4170 # GLIBCPP_CHECK_MATH_SUPPORT
4174 os_include_dir="os/gnu-linux"
4175 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4176 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4177 fp.h locale.h float.h inttypes.h
4179 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4180 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4181 echo "configure:4182: checking for $ac_hdr" >&5
4182 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4183 echo $ac_n "(cached) $ac_c" 1>&6
4185 cat > conftest.$ac_ext <<EOF
4186 #line 4187 "configure"
4187 #include "confdefs.h"
4190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4191 { (eval echo configure:4192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4193 if test -z "$ac_err"; then
4195 eval "ac_cv_header_$ac_safe=yes"
4198 echo "configure: failed program was:" >&5
4199 cat conftest.$ac_ext >&5
4201 eval "ac_cv_header_$ac_safe=no"
4205 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4206 echo "$ac_t""yes" 1>&6
4207 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4208 cat >> confdefs.h <<EOF
4209 #define $ac_tr_hdr 1
4213 echo "$ac_t""no" 1>&6
4217 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4220 # If we're not using GNU ld, then there's no point in even trying these
4221 # tests. Check for that first. We should have already tested for gld
4222 # by now (in libtool), but require it now just to be safe...
4223 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4224 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4227 # The name set by libtool depends on the version of libtool. Shame on us
4228 # for depending on an impl detail, but c'est la vie. Older versions used
4229 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4230 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4231 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4232 # set (hence we're using an older libtool), then set it.
4233 if test x${with_gnu_ld+set} != xset; then
4234 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4235 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4238 with_gnu_ld=$ac_cv_prog_gnu_ld
4242 # Start by getting the version number. I think the libtool test already
4243 # does some of this, but throws away the result.
4245 ldver=`$LD --version 2>/dev/null | head -1 | \
4246 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4248 glibcpp_gnu_ld_version=`echo $ldver | \
4249 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4251 # Set --gc-sections.
4252 if test "$with_gnu_ld" = "notbroken"; then
4253 # GNU ld it is! Joy and bunny rabbits!
4255 # All these tests are for C++; save the language and the compiler flags.
4256 # Need to do this so that g++ won't try to link in libstdc++
4257 ac_test_CFLAGS="${CFLAGS+set}"
4258 ac_save_CFLAGS="$CFLAGS"
4259 CFLAGS='-x c++ -Wl,--gc-sections'
4261 # Check for -Wl,--gc-sections
4262 # XXX This test is broken at the moment, as symbols required for
4263 # linking are now in libsupc++ (not built yet.....). In addition,
4264 # this test has cored on solaris in the past. In addition,
4265 # --gc-sections doesn't really work at the moment (keeps on discarding
4266 # used sections, first .eh_frame and now some of the glibc sections for
4267 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4268 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4269 echo "configure:4270: checking for ld that supports -Wl,--gc-sections" >&5
4270 if test "$cross_compiling" = yes; then
4271 ac_sectionLDflags=yes
4273 cat > conftest.$ac_ext <<EOF
4274 #line 4275 "configure"
4275 #include "confdefs.h"
4285 if { (eval echo configure:4286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4287 ac_sectionLDflags=yes
4289 echo "configure: failed program was:" >&5
4290 cat conftest.$ac_ext >&5
4292 ac_sectionLDflags=no
4297 if test "$ac_test_CFLAGS" = set; then
4298 CFLAGS="$ac_save_CFLAGS"
4300 # this is the suspicious part
4303 if test "$ac_sectionLDflags" = "yes"; then
4304 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4306 echo "$ac_t""$ac_sectionLDflags" 1>&6
4309 # Set linker optimization flags.
4310 if test x"$with_gnu_ld" = x"yes"; then
4311 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4318 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4319 echo "configure:4320: checking for main in -lm" >&5
4320 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4321 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4322 echo $ac_n "(cached) $ac_c" 1>&6
4324 ac_save_LIBS="$LIBS"
4326 cat > conftest.$ac_ext <<EOF
4327 #line 4328 "configure"
4328 #include "confdefs.h"
4334 if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4336 eval "ac_cv_lib_$ac_lib_var=yes"
4338 echo "configure: failed program was:" >&5
4339 cat conftest.$ac_ext >&5
4341 eval "ac_cv_lib_$ac_lib_var=no"
4344 LIBS="$ac_save_LIBS"
4347 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4348 echo "$ac_t""yes" 1>&6
4349 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4350 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4351 cat >> confdefs.h <<EOF
4352 #define $ac_tr_lib 1
4358 echo "$ac_t""no" 1>&6
4361 for ac_func in nan copysignf
4363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4364 echo "configure:4365: checking for $ac_func" >&5
4365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4366 echo $ac_n "(cached) $ac_c" 1>&6
4368 cat > conftest.$ac_ext <<EOF
4369 #line 4370 "configure"
4370 #include "confdefs.h"
4371 /* System header to define __stub macros and hopefully few prototypes,
4372 which can conflict with char $ac_func(); below. */
4374 /* Override any gcc2 internal prototype to avoid an error. */
4375 /* We use char because int might match the return type of a gcc2
4376 builtin and then its argument prototype would still apply. */
4381 /* The GNU C library defines this for functions which it implements
4382 to always fail with ENOSYS. Some functions are actually named
4383 something starting with __ and the normal name is an alias. */
4384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4392 if { (eval echo configure:4393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4394 eval "ac_cv_func_$ac_func=yes"
4396 echo "configure: failed program was:" >&5
4397 cat conftest.$ac_ext >&5
4399 eval "ac_cv_func_$ac_func=no"
4404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4405 echo "$ac_t""yes" 1>&6
4406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4407 cat >> confdefs.h <<EOF
4408 #define $ac_tr_func 1
4412 echo "$ac_t""no" 1>&6
4413 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4418 for ac_func in __signbit
4420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4421 echo "configure:4422: checking for $ac_func" >&5
4422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4423 echo $ac_n "(cached) $ac_c" 1>&6
4425 cat > conftest.$ac_ext <<EOF
4426 #line 4427 "configure"
4427 #include "confdefs.h"
4428 /* System header to define __stub macros and hopefully few prototypes,
4429 which can conflict with char $ac_func(); below. */
4431 /* Override any gcc2 internal prototype to avoid an error. */
4432 /* We use char because int might match the return type of a gcc2
4433 builtin and then its argument prototype would still apply. */
4438 /* The GNU C library defines this for functions which it implements
4439 to always fail with ENOSYS. Some functions are actually named
4440 something starting with __ and the normal name is an alias. */
4441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4451 eval "ac_cv_func_$ac_func=yes"
4453 echo "configure: failed program was:" >&5
4454 cat conftest.$ac_ext >&5
4456 eval "ac_cv_func_$ac_func=no"
4461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4462 echo "$ac_t""yes" 1>&6
4463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4464 cat >> confdefs.h <<EOF
4465 #define $ac_tr_func 1
4469 echo "$ac_t""no" 1>&6
4470 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4474 for ac_func in __signbitf
4476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4477 echo "configure:4478: checking for $ac_func" >&5
4478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4479 echo $ac_n "(cached) $ac_c" 1>&6
4481 cat > conftest.$ac_ext <<EOF
4482 #line 4483 "configure"
4483 #include "confdefs.h"
4484 /* System header to define __stub macros and hopefully few prototypes,
4485 which can conflict with char $ac_func(); below. */
4487 /* Override any gcc2 internal prototype to avoid an error. */
4488 /* We use char because int might match the return type of a gcc2
4489 builtin and then its argument prototype would still apply. */
4494 /* The GNU C library defines this for functions which it implements
4495 to always fail with ENOSYS. Some functions are actually named
4496 something starting with __ and the normal name is an alias. */
4497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4505 if { (eval echo configure:4506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4507 eval "ac_cv_func_$ac_func=yes"
4509 echo "configure: failed program was:" >&5
4510 cat conftest.$ac_ext >&5
4512 eval "ac_cv_func_$ac_func=no"
4517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4518 echo "$ac_t""yes" 1>&6
4519 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4520 cat >> confdefs.h <<EOF
4521 #define $ac_tr_func 1
4525 echo "$ac_t""no" 1>&6
4526 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4531 if test x$ac_cv_func_copysignl = x"yes"; then
4532 for ac_func in __signbitl
4534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4535 echo "configure:4536: checking for $ac_func" >&5
4536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4537 echo $ac_n "(cached) $ac_c" 1>&6
4539 cat > conftest.$ac_ext <<EOF
4540 #line 4541 "configure"
4541 #include "confdefs.h"
4542 /* System header to define __stub macros and hopefully few prototypes,
4543 which can conflict with char $ac_func(); below. */
4545 /* Override any gcc2 internal prototype to avoid an error. */
4546 /* We use char because int might match the return type of a gcc2
4547 builtin and then its argument prototype would still apply. */
4552 /* The GNU C library defines this for functions which it implements
4553 to always fail with ENOSYS. Some functions are actually named
4554 something starting with __ and the normal name is an alias. */
4555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4563 if { (eval echo configure:4564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4565 eval "ac_cv_func_$ac_func=yes"
4567 echo "configure: failed program was:" >&5
4568 cat conftest.$ac_ext >&5
4570 eval "ac_cv_func_$ac_func=no"
4575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4576 echo "$ac_t""yes" 1>&6
4577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4578 cat >> confdefs.h <<EOF
4579 #define $ac_tr_func 1
4583 echo "$ac_t""no" 1>&6
4584 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4590 if test -n "$LIBMATHOBJS"; then
4596 if test "$need_libmath" = yes; then
4597 GLIBCPP_BUILD_LIBMATH_TRUE=
4598 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4600 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4601 GLIBCPP_BUILD_LIBMATH_FALSE=
4607 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4608 echo "configure:4609: checking for mbstate_t" >&5
4609 cat > conftest.$ac_ext <<EOF
4610 #line 4611 "configure"
4611 #include "confdefs.h"
4614 mbstate_t teststate;
4617 if { (eval echo configure:4618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4621 echo "configure: failed program was:" >&5
4622 cat conftest.$ac_ext >&5
4627 echo "$ac_t""$have_mbstate_t" 1>&6
4628 if test x"$have_mbstate_t" = xyes; then
4629 cat >> confdefs.h <<\EOF
4630 #define HAVE_MBSTATE_T 1
4635 for ac_hdr in wchar.h
4637 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4638 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4639 echo "configure:4640: checking for $ac_hdr" >&5
4640 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4641 echo $ac_n "(cached) $ac_c" 1>&6
4643 cat > conftest.$ac_ext <<EOF
4644 #line 4645 "configure"
4645 #include "confdefs.h"
4648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4649 { (eval echo configure:4650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4651 if test -z "$ac_err"; then
4653 eval "ac_cv_header_$ac_safe=yes"
4656 echo "configure: failed program was:" >&5
4657 cat conftest.$ac_ext >&5
4659 eval "ac_cv_header_$ac_safe=no"
4663 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4664 echo "$ac_t""yes" 1>&6
4665 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4666 cat >> confdefs.h <<EOF
4667 #define $ac_tr_hdr 1
4671 echo "$ac_t""no" 1>&6
4676 for ac_hdr in wctype.h
4678 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4679 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4680 echo "configure:4681: checking for $ac_hdr" >&5
4681 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4682 echo $ac_n "(cached) $ac_c" 1>&6
4684 cat > conftest.$ac_ext <<EOF
4685 #line 4686 "configure"
4686 #include "confdefs.h"
4689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4690 { (eval echo configure:4691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4692 if test -z "$ac_err"; then
4694 eval "ac_cv_header_$ac_safe=yes"
4697 echo "configure: failed program was:" >&5
4698 cat conftest.$ac_ext >&5
4700 eval "ac_cv_header_$ac_safe=no"
4704 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4705 echo "$ac_t""yes" 1>&6
4706 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4707 cat >> confdefs.h <<EOF
4708 #define $ac_tr_hdr 1
4712 echo "$ac_t""no" 1>&6
4718 if test x"$ac_has_wchar_h" = xyes &&
4719 test x"$ac_has_wctype_h" = xyes &&
4720 test x"$enable_c_mbchar" != xno; then
4722 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4723 echo "configure:4724: checking for WCHAR_MIN and WCHAR_MAX" >&5
4724 cat > conftest.$ac_ext <<EOF
4725 #line 4726 "configure"
4726 #include "confdefs.h"
4729 int i = WCHAR_MIN; int j = WCHAR_MAX;
4732 if { (eval echo configure:4733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4734 has_wchar_minmax=yes
4736 echo "configure: failed program was:" >&5
4737 cat conftest.$ac_ext >&5
4742 echo "$ac_t""$has_wchar_minmax" 1>&6
4744 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4745 echo "configure:4746: checking for WEOF" >&5
4746 cat > conftest.$ac_ext <<EOF
4747 #line 4748 "configure"
4748 #include "confdefs.h"
4756 if { (eval echo configure:4757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4760 echo "configure: failed program was:" >&5
4761 cat conftest.$ac_ext >&5
4766 echo "$ac_t""$has_weof" 1>&6
4769 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4772 echo "configure:4773: checking for $ac_func" >&5
4773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4774 echo $ac_n "(cached) $ac_c" 1>&6
4776 cat > conftest.$ac_ext <<EOF
4777 #line 4778 "configure"
4778 #include "confdefs.h"
4779 /* System header to define __stub macros and hopefully few prototypes,
4780 which can conflict with char $ac_func(); below. */
4782 /* Override any gcc2 internal prototype to avoid an error. */
4783 /* We use char because int might match the return type of a gcc2
4784 builtin and then its argument prototype would still apply. */
4789 /* The GNU C library defines this for functions which it implements
4790 to always fail with ENOSYS. Some functions are actually named
4791 something starting with __ and the normal name is an alias. */
4792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4800 if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4802 eval "ac_cv_func_$ac_func=yes"
4804 echo "configure: failed program was:" >&5
4805 cat conftest.$ac_ext >&5
4807 eval "ac_cv_func_$ac_func=no"
4812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4813 echo "$ac_t""yes" 1>&6
4814 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4815 cat >> confdefs.h <<EOF
4816 #define $ac_tr_func 1
4820 echo "$ac_t""no" 1>&6
4827 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4828 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4829 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4830 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4831 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4832 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4835 echo "configure:4836: checking for $ac_func" >&5
4836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4837 echo $ac_n "(cached) $ac_c" 1>&6
4839 cat > conftest.$ac_ext <<EOF
4840 #line 4841 "configure"
4841 #include "confdefs.h"
4842 /* System header to define __stub macros and hopefully few prototypes,
4843 which can conflict with char $ac_func(); below. */
4845 /* Override any gcc2 internal prototype to avoid an error. */
4846 /* We use char because int might match the return type of a gcc2
4847 builtin and then its argument prototype would still apply. */
4852 /* The GNU C library defines this for functions which it implements
4853 to always fail with ENOSYS. Some functions are actually named
4854 something starting with __ and the normal name is an alias. */
4855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4863 if { (eval echo configure:4864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4865 eval "ac_cv_func_$ac_func=yes"
4867 echo "configure: failed program was:" >&5
4868 cat conftest.$ac_ext >&5
4870 eval "ac_cv_func_$ac_func=no"
4875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4876 echo "$ac_t""yes" 1>&6
4877 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4878 cat >> confdefs.h <<EOF
4879 #define $ac_tr_func 1
4883 echo "$ac_t""no" 1>&6
4890 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4891 echo "configure:4892: checking for ISO C99 wchar_t support" >&5
4892 if test x"$has_weof" = xyes &&
4893 test x"$has_wchar_minmax" = xyes &&
4894 test x"$ac_wfuncs" = xyes; then
4895 ac_isoC99_wchar_t=yes
4897 ac_isoC99_wchar_t=no
4899 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4901 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4902 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4903 echo "configure:4904: checking for iconv.h" >&5
4904 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4905 echo $ac_n "(cached) $ac_c" 1>&6
4907 cat > conftest.$ac_ext <<EOF
4908 #line 4909 "configure"
4909 #include "confdefs.h"
4912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4913 { (eval echo configure:4914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4915 if test -z "$ac_err"; then
4917 eval "ac_cv_header_$ac_safe=yes"
4920 echo "configure: failed program was:" >&5
4921 cat conftest.$ac_ext >&5
4923 eval "ac_cv_header_$ac_safe=no"
4927 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4928 echo "$ac_t""yes" 1>&6
4931 echo "$ac_t""no" 1>&6
4935 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4936 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4937 echo "configure:4938: checking for langinfo.h" >&5
4938 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4939 echo $ac_n "(cached) $ac_c" 1>&6
4941 cat > conftest.$ac_ext <<EOF
4942 #line 4943 "configure"
4943 #include "confdefs.h"
4944 #include <langinfo.h>
4946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4947 { (eval echo configure:4948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4948 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4949 if test -z "$ac_err"; then
4951 eval "ac_cv_header_$ac_safe=yes"
4954 echo "configure: failed program was:" >&5
4955 cat conftest.$ac_ext >&5
4957 eval "ac_cv_header_$ac_safe=no"
4961 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4962 echo "$ac_t""yes" 1>&6
4963 ac_has_langinfo_h=yes
4965 echo "$ac_t""no" 1>&6
4966 ac_has_langinfo_h=no
4970 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4971 echo "configure:4972: checking for iconv in -liconv" >&5
4972 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4973 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4974 echo $ac_n "(cached) $ac_c" 1>&6
4976 ac_save_LIBS="$LIBS"
4977 LIBS="-liconv $LIBS"
4978 cat > conftest.$ac_ext <<EOF
4979 #line 4980 "configure"
4980 #include "confdefs.h"
4981 /* Override any gcc2 internal prototype to avoid an error. */
4982 /* We use char because int might match the return type of a gcc2
4983 builtin and then its argument prototype would still apply. */
4990 if { (eval echo configure:4991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4992 eval "ac_cv_lib_$ac_lib_var=yes"
4994 echo "configure: failed program was:" >&5
4995 cat conftest.$ac_ext >&5
4997 eval "ac_cv_lib_$ac_lib_var=no"
5000 LIBS="$ac_save_LIBS"
5003 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5004 echo "$ac_t""yes" 1>&6
5007 echo "$ac_t""no" 1>&6
5010 ac_save_LIBS="$LIBS"
5011 LIBS="$LIBS $libiconv"
5013 for ac_func in iconv_open iconv_close iconv nl_langinfo
5015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5016 echo "configure:5017: checking for $ac_func" >&5
5017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5018 echo $ac_n "(cached) $ac_c" 1>&6
5020 cat > conftest.$ac_ext <<EOF
5021 #line 5022 "configure"
5022 #include "confdefs.h"
5023 /* System header to define __stub macros and hopefully few prototypes,
5024 which can conflict with char $ac_func(); below. */
5026 /* Override any gcc2 internal prototype to avoid an error. */
5027 /* We use char because int might match the return type of a gcc2
5028 builtin and then its argument prototype would still apply. */
5033 /* The GNU C library defines this for functions which it implements
5034 to always fail with ENOSYS. Some functions are actually named
5035 something starting with __ and the normal name is an alias. */
5036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5044 if { (eval echo configure:5045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5046 eval "ac_cv_func_$ac_func=yes"
5048 echo "configure: failed program was:" >&5
5049 cat conftest.$ac_ext >&5
5051 eval "ac_cv_func_$ac_func=no"
5056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5057 echo "$ac_t""yes" 1>&6
5058 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5059 cat >> confdefs.h <<EOF
5060 #define $ac_tr_func 1
5065 echo "$ac_t""no" 1>&6
5071 LIBS="$ac_save_LIBS"
5073 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5074 echo "configure:5075: checking for XPG2 wchar_t support" >&5
5075 if test x"$ac_has_iconv_h" = xyes &&
5076 test x"$ac_has_langinfo_h" = xyes &&
5077 test x"$ac_XPG2funcs" = xyes; then
5082 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5084 if test x"$ac_isoC99_wchar_t" = xyes &&
5085 test x"$ac_XPG2_wchar_t" = xyes; then
5086 cat >> confdefs.h <<\EOF
5087 #define _GLIBCPP_USE_WCHAR_T 1
5093 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5094 echo "configure:5095: checking for enabled wchar_t specializations" >&5
5095 echo "$ac_t""$enable_wchar_t" 1>&6
5098 if test "$enable_wchar_t" = yes; then
5099 GLIBCPP_TEST_WCHAR_T_TRUE=
5100 GLIBCPP_TEST_WCHAR_T_FALSE='#'
5102 GLIBCPP_TEST_WCHAR_T_TRUE='#'
5103 GLIBCPP_TEST_WCHAR_T_FALSE=
5106 cat >> confdefs.h <<\EOF
5107 #define HAVE_COPYSIGN 1
5110 cat >> confdefs.h <<\EOF
5111 #define HAVE_COPYSIGNF 1
5114 cat >> confdefs.h <<\EOF
5115 #define HAVE_FINITE 1
5118 cat >> confdefs.h <<\EOF
5119 #define HAVE_FINITEF 1
5122 cat >> confdefs.h <<\EOF
5123 #define HAVE_FREXPF 1
5126 cat >> confdefs.h <<\EOF
5127 #define HAVE_HYPOTF 1
5130 cat >> confdefs.h <<\EOF
5131 #define HAVE_ISINF 1
5134 cat >> confdefs.h <<\EOF
5135 #define HAVE_ISINFF 1
5138 cat >> confdefs.h <<\EOF
5139 #define HAVE_ISNAN 1
5142 cat >> confdefs.h <<\EOF
5143 #define HAVE_ISNANF 1
5146 cat >> confdefs.h <<\EOF
5147 #define HAVE_SINCOS 1
5150 cat >> confdefs.h <<\EOF
5151 #define HAVE_SINCOSF 1
5154 if test x"long_double_math_on_this_cpu" = x"yes"; then
5155 cat >> confdefs.h <<\EOF
5156 #define HAVE_FINITEL 1
5159 cat >> confdefs.h <<\EOF
5160 #define HAVE_HYPOTL 1
5163 cat >> confdefs.h <<\EOF
5164 #define HAVE_ISINFL 1
5167 cat >> confdefs.h <<\EOF
5168 #define HAVE_ISNANL 1
5174 # Check for available headers.
5175 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5176 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5177 fp.h locale.h float.h inttypes.h
5179 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5180 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5181 echo "configure:5182: checking for $ac_hdr" >&5
5182 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5183 echo $ac_n "(cached) $ac_c" 1>&6
5185 cat > conftest.$ac_ext <<EOF
5186 #line 5187 "configure"
5187 #include "confdefs.h"
5190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5191 { (eval echo configure:5192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5193 if test -z "$ac_err"; then
5195 eval "ac_cv_header_$ac_safe=yes"
5198 echo "configure: failed program was:" >&5
5199 cat conftest.$ac_ext >&5
5201 eval "ac_cv_header_$ac_safe=no"
5205 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5206 echo "$ac_t""yes" 1>&6
5207 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5208 cat >> confdefs.h <<EOF
5209 #define $ac_tr_hdr 1
5213 echo "$ac_t""no" 1>&6
5217 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5220 # If we're not using GNU ld, then there's no point in even trying these
5221 # tests. Check for that first. We should have already tested for gld
5222 # by now (in libtool), but require it now just to be safe...
5223 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5224 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5227 # The name set by libtool depends on the version of libtool. Shame on us
5228 # for depending on an impl detail, but c'est la vie. Older versions used
5229 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5230 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5231 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5232 # set (hence we're using an older libtool), then set it.
5233 if test x${with_gnu_ld+set} != xset; then
5234 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5235 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5238 with_gnu_ld=$ac_cv_prog_gnu_ld
5242 # Start by getting the version number. I think the libtool test already
5243 # does some of this, but throws away the result.
5245 ldver=`$LD --version 2>/dev/null | head -1 | \
5246 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5248 glibcpp_gnu_ld_version=`echo $ldver | \
5249 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5251 # Set --gc-sections.
5252 if test "$with_gnu_ld" = "notbroken"; then
5253 # GNU ld it is! Joy and bunny rabbits!
5255 # All these tests are for C++; save the language and the compiler flags.
5256 # Need to do this so that g++ won't try to link in libstdc++
5257 ac_test_CFLAGS="${CFLAGS+set}"
5258 ac_save_CFLAGS="$CFLAGS"
5259 CFLAGS='-x c++ -Wl,--gc-sections'
5261 # Check for -Wl,--gc-sections
5262 # XXX This test is broken at the moment, as symbols required for
5263 # linking are now in libsupc++ (not built yet.....). In addition,
5264 # this test has cored on solaris in the past. In addition,
5265 # --gc-sections doesn't really work at the moment (keeps on discarding
5266 # used sections, first .eh_frame and now some of the glibc sections for
5267 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5268 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5269 echo "configure:5270: checking for ld that supports -Wl,--gc-sections" >&5
5270 if test "$cross_compiling" = yes; then
5271 ac_sectionLDflags=yes
5273 cat > conftest.$ac_ext <<EOF
5274 #line 5275 "configure"
5275 #include "confdefs.h"
5285 if { (eval echo configure:5286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5287 ac_sectionLDflags=yes
5289 echo "configure: failed program was:" >&5
5290 cat conftest.$ac_ext >&5
5292 ac_sectionLDflags=no
5297 if test "$ac_test_CFLAGS" = set; then
5298 CFLAGS="$ac_save_CFLAGS"
5300 # this is the suspicious part
5303 if test "$ac_sectionLDflags" = "yes"; then
5304 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5306 echo "$ac_t""$ac_sectionLDflags" 1>&6
5309 # Set linker optimization flags.
5310 if test x"$with_gnu_ld" = x"yes"; then
5311 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5318 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5319 echo "configure:5320: checking for main in -lm" >&5
5320 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5321 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5322 echo $ac_n "(cached) $ac_c" 1>&6
5324 ac_save_LIBS="$LIBS"
5326 cat > conftest.$ac_ext <<EOF
5327 #line 5328 "configure"
5328 #include "confdefs.h"
5334 if { (eval echo configure:5335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5336 eval "ac_cv_lib_$ac_lib_var=yes"
5338 echo "configure: failed program was:" >&5
5339 cat conftest.$ac_ext >&5
5341 eval "ac_cv_lib_$ac_lib_var=no"
5344 LIBS="$ac_save_LIBS"
5347 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5348 echo "$ac_t""yes" 1>&6
5349 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5350 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5351 cat >> confdefs.h <<EOF
5352 #define $ac_tr_lib 1
5358 echo "$ac_t""no" 1>&6
5361 for ac_func in nan copysignf
5363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5364 echo "configure:5365: checking for $ac_func" >&5
5365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5366 echo $ac_n "(cached) $ac_c" 1>&6
5368 cat > conftest.$ac_ext <<EOF
5369 #line 5370 "configure"
5370 #include "confdefs.h"
5371 /* System header to define __stub macros and hopefully few prototypes,
5372 which can conflict with char $ac_func(); below. */
5374 /* Override any gcc2 internal prototype to avoid an error. */
5375 /* We use char because int might match the return type of a gcc2
5376 builtin and then its argument prototype would still apply. */
5381 /* The GNU C library defines this for functions which it implements
5382 to always fail with ENOSYS. Some functions are actually named
5383 something starting with __ and the normal name is an alias. */
5384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5392 if { (eval echo configure:5393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5394 eval "ac_cv_func_$ac_func=yes"
5396 echo "configure: failed program was:" >&5
5397 cat conftest.$ac_ext >&5
5399 eval "ac_cv_func_$ac_func=no"
5404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5405 echo "$ac_t""yes" 1>&6
5406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5407 cat >> confdefs.h <<EOF
5408 #define $ac_tr_func 1
5412 echo "$ac_t""no" 1>&6
5413 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5418 for ac_func in __signbit
5420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5421 echo "configure:5422: checking for $ac_func" >&5
5422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5423 echo $ac_n "(cached) $ac_c" 1>&6
5425 cat > conftest.$ac_ext <<EOF
5426 #line 5427 "configure"
5427 #include "confdefs.h"
5428 /* System header to define __stub macros and hopefully few prototypes,
5429 which can conflict with char $ac_func(); below. */
5431 /* Override any gcc2 internal prototype to avoid an error. */
5432 /* We use char because int might match the return type of a gcc2
5433 builtin and then its argument prototype would still apply. */
5438 /* The GNU C library defines this for functions which it implements
5439 to always fail with ENOSYS. Some functions are actually named
5440 something starting with __ and the normal name is an alias. */
5441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5449 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5451 eval "ac_cv_func_$ac_func=yes"
5453 echo "configure: failed program was:" >&5
5454 cat conftest.$ac_ext >&5
5456 eval "ac_cv_func_$ac_func=no"
5461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5462 echo "$ac_t""yes" 1>&6
5463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5464 cat >> confdefs.h <<EOF
5465 #define $ac_tr_func 1
5469 echo "$ac_t""no" 1>&6
5470 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5474 for ac_func in __signbitf
5476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5477 echo "configure:5478: checking for $ac_func" >&5
5478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5479 echo $ac_n "(cached) $ac_c" 1>&6
5481 cat > conftest.$ac_ext <<EOF
5482 #line 5483 "configure"
5483 #include "confdefs.h"
5484 /* System header to define __stub macros and hopefully few prototypes,
5485 which can conflict with char $ac_func(); below. */
5487 /* Override any gcc2 internal prototype to avoid an error. */
5488 /* We use char because int might match the return type of a gcc2
5489 builtin and then its argument prototype would still apply. */
5494 /* The GNU C library defines this for functions which it implements
5495 to always fail with ENOSYS. Some functions are actually named
5496 something starting with __ and the normal name is an alias. */
5497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5505 if { (eval echo configure:5506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5507 eval "ac_cv_func_$ac_func=yes"
5509 echo "configure: failed program was:" >&5
5510 cat conftest.$ac_ext >&5
5512 eval "ac_cv_func_$ac_func=no"
5517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5518 echo "$ac_t""yes" 1>&6
5519 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5520 cat >> confdefs.h <<EOF
5521 #define $ac_tr_func 1
5525 echo "$ac_t""no" 1>&6
5526 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5531 if test x$ac_cv_func_copysignl = x"yes"; then
5532 for ac_func in __signbitl
5534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5535 echo "configure:5536: checking for $ac_func" >&5
5536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5537 echo $ac_n "(cached) $ac_c" 1>&6
5539 cat > conftest.$ac_ext <<EOF
5540 #line 5541 "configure"
5541 #include "confdefs.h"
5542 /* System header to define __stub macros and hopefully few prototypes,
5543 which can conflict with char $ac_func(); below. */
5545 /* Override any gcc2 internal prototype to avoid an error. */
5546 /* We use char because int might match the return type of a gcc2
5547 builtin and then its argument prototype would still apply. */
5552 /* The GNU C library defines this for functions which it implements
5553 to always fail with ENOSYS. Some functions are actually named
5554 something starting with __ and the normal name is an alias. */
5555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5563 if { (eval echo configure:5564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5565 eval "ac_cv_func_$ac_func=yes"
5567 echo "configure: failed program was:" >&5
5568 cat conftest.$ac_ext >&5
5570 eval "ac_cv_func_$ac_func=no"
5575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5576 echo "$ac_t""yes" 1>&6
5577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5578 cat >> confdefs.h <<EOF
5579 #define $ac_tr_func 1
5583 echo "$ac_t""no" 1>&6
5584 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5590 if test -n "$LIBMATHOBJS"; then
5596 if test "$need_libmath" = yes; then
5597 GLIBCPP_BUILD_LIBMATH_TRUE=
5598 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5600 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5601 GLIBCPP_BUILD_LIBMATH_FALSE=
5607 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5608 echo "configure:5609: checking for mbstate_t" >&5
5609 cat > conftest.$ac_ext <<EOF
5610 #line 5611 "configure"
5611 #include "confdefs.h"
5614 mbstate_t teststate;
5617 if { (eval echo configure:5618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5621 echo "configure: failed program was:" >&5
5622 cat conftest.$ac_ext >&5
5627 echo "$ac_t""$have_mbstate_t" 1>&6
5628 if test x"$have_mbstate_t" = xyes; then
5629 cat >> confdefs.h <<\EOF
5630 #define HAVE_MBSTATE_T 1
5635 for ac_hdr in wchar.h
5637 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5638 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5639 echo "configure:5640: checking for $ac_hdr" >&5
5640 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5641 echo $ac_n "(cached) $ac_c" 1>&6
5643 cat > conftest.$ac_ext <<EOF
5644 #line 5645 "configure"
5645 #include "confdefs.h"
5648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5649 { (eval echo configure:5650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5651 if test -z "$ac_err"; then
5653 eval "ac_cv_header_$ac_safe=yes"
5656 echo "configure: failed program was:" >&5
5657 cat conftest.$ac_ext >&5
5659 eval "ac_cv_header_$ac_safe=no"
5663 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5664 echo "$ac_t""yes" 1>&6
5665 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5666 cat >> confdefs.h <<EOF
5667 #define $ac_tr_hdr 1
5671 echo "$ac_t""no" 1>&6
5676 for ac_hdr in wctype.h
5678 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5679 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5680 echo "configure:5681: checking for $ac_hdr" >&5
5681 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5682 echo $ac_n "(cached) $ac_c" 1>&6
5684 cat > conftest.$ac_ext <<EOF
5685 #line 5686 "configure"
5686 #include "confdefs.h"
5689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5690 { (eval echo configure:5691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5692 if test -z "$ac_err"; then
5694 eval "ac_cv_header_$ac_safe=yes"
5697 echo "configure: failed program was:" >&5
5698 cat conftest.$ac_ext >&5
5700 eval "ac_cv_header_$ac_safe=no"
5704 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5705 echo "$ac_t""yes" 1>&6
5706 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5707 cat >> confdefs.h <<EOF
5708 #define $ac_tr_hdr 1
5712 echo "$ac_t""no" 1>&6
5718 if test x"$ac_has_wchar_h" = xyes &&
5719 test x"$ac_has_wctype_h" = xyes &&
5720 test x"$enable_c_mbchar" != xno; then
5722 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5723 echo "configure:5724: checking for WCHAR_MIN and WCHAR_MAX" >&5
5724 cat > conftest.$ac_ext <<EOF
5725 #line 5726 "configure"
5726 #include "confdefs.h"
5729 int i = WCHAR_MIN; int j = WCHAR_MAX;
5732 if { (eval echo configure:5733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5734 has_wchar_minmax=yes
5736 echo "configure: failed program was:" >&5
5737 cat conftest.$ac_ext >&5
5742 echo "$ac_t""$has_wchar_minmax" 1>&6
5744 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5745 echo "configure:5746: checking for WEOF" >&5
5746 cat > conftest.$ac_ext <<EOF
5747 #line 5748 "configure"
5748 #include "confdefs.h"
5756 if { (eval echo configure:5757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5760 echo "configure: failed program was:" >&5
5761 cat conftest.$ac_ext >&5
5766 echo "$ac_t""$has_weof" 1>&6
5769 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5772 echo "configure:5773: checking for $ac_func" >&5
5773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5774 echo $ac_n "(cached) $ac_c" 1>&6
5776 cat > conftest.$ac_ext <<EOF
5777 #line 5778 "configure"
5778 #include "confdefs.h"
5779 /* System header to define __stub macros and hopefully few prototypes,
5780 which can conflict with char $ac_func(); below. */
5782 /* Override any gcc2 internal prototype to avoid an error. */
5783 /* We use char because int might match the return type of a gcc2
5784 builtin and then its argument prototype would still apply. */
5789 /* The GNU C library defines this for functions which it implements
5790 to always fail with ENOSYS. Some functions are actually named
5791 something starting with __ and the normal name is an alias. */
5792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5800 if { (eval echo configure:5801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5802 eval "ac_cv_func_$ac_func=yes"
5804 echo "configure: failed program was:" >&5
5805 cat conftest.$ac_ext >&5
5807 eval "ac_cv_func_$ac_func=no"
5812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5813 echo "$ac_t""yes" 1>&6
5814 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5815 cat >> confdefs.h <<EOF
5816 #define $ac_tr_func 1
5820 echo "$ac_t""no" 1>&6
5827 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5828 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5829 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5830 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5831 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5832 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5835 echo "configure:5836: checking for $ac_func" >&5
5836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5837 echo $ac_n "(cached) $ac_c" 1>&6
5839 cat > conftest.$ac_ext <<EOF
5840 #line 5841 "configure"
5841 #include "confdefs.h"
5842 /* System header to define __stub macros and hopefully few prototypes,
5843 which can conflict with char $ac_func(); below. */
5845 /* Override any gcc2 internal prototype to avoid an error. */
5846 /* We use char because int might match the return type of a gcc2
5847 builtin and then its argument prototype would still apply. */
5852 /* The GNU C library defines this for functions which it implements
5853 to always fail with ENOSYS. Some functions are actually named
5854 something starting with __ and the normal name is an alias. */
5855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5863 if { (eval echo configure:5864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5865 eval "ac_cv_func_$ac_func=yes"
5867 echo "configure: failed program was:" >&5
5868 cat conftest.$ac_ext >&5
5870 eval "ac_cv_func_$ac_func=no"
5875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5876 echo "$ac_t""yes" 1>&6
5877 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5878 cat >> confdefs.h <<EOF
5879 #define $ac_tr_func 1
5883 echo "$ac_t""no" 1>&6
5890 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5891 echo "configure:5892: checking for ISO C99 wchar_t support" >&5
5892 if test x"$has_weof" = xyes &&
5893 test x"$has_wchar_minmax" = xyes &&
5894 test x"$ac_wfuncs" = xyes; then
5895 ac_isoC99_wchar_t=yes
5897 ac_isoC99_wchar_t=no
5899 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5901 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5902 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5903 echo "configure:5904: checking for iconv.h" >&5
5904 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5905 echo $ac_n "(cached) $ac_c" 1>&6
5907 cat > conftest.$ac_ext <<EOF
5908 #line 5909 "configure"
5909 #include "confdefs.h"
5912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5913 { (eval echo configure:5914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5915 if test -z "$ac_err"; then
5917 eval "ac_cv_header_$ac_safe=yes"
5920 echo "configure: failed program was:" >&5
5921 cat conftest.$ac_ext >&5
5923 eval "ac_cv_header_$ac_safe=no"
5927 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5928 echo "$ac_t""yes" 1>&6
5931 echo "$ac_t""no" 1>&6
5935 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5936 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5937 echo "configure:5938: checking for langinfo.h" >&5
5938 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5939 echo $ac_n "(cached) $ac_c" 1>&6
5941 cat > conftest.$ac_ext <<EOF
5942 #line 5943 "configure"
5943 #include "confdefs.h"
5944 #include <langinfo.h>
5946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5947 { (eval echo configure:5948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5948 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5949 if test -z "$ac_err"; then
5951 eval "ac_cv_header_$ac_safe=yes"
5954 echo "configure: failed program was:" >&5
5955 cat conftest.$ac_ext >&5
5957 eval "ac_cv_header_$ac_safe=no"
5961 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5962 echo "$ac_t""yes" 1>&6
5963 ac_has_langinfo_h=yes
5965 echo "$ac_t""no" 1>&6
5966 ac_has_langinfo_h=no
5970 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5971 echo "configure:5972: checking for iconv in -liconv" >&5
5972 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5973 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5974 echo $ac_n "(cached) $ac_c" 1>&6
5976 ac_save_LIBS="$LIBS"
5977 LIBS="-liconv $LIBS"
5978 cat > conftest.$ac_ext <<EOF
5979 #line 5980 "configure"
5980 #include "confdefs.h"
5981 /* Override any gcc2 internal prototype to avoid an error. */
5982 /* We use char because int might match the return type of a gcc2
5983 builtin and then its argument prototype would still apply. */
5990 if { (eval echo configure:5991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5992 eval "ac_cv_lib_$ac_lib_var=yes"
5994 echo "configure: failed program was:" >&5
5995 cat conftest.$ac_ext >&5
5997 eval "ac_cv_lib_$ac_lib_var=no"
6000 LIBS="$ac_save_LIBS"
6003 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6004 echo "$ac_t""yes" 1>&6
6007 echo "$ac_t""no" 1>&6
6010 ac_save_LIBS="$LIBS"
6011 LIBS="$LIBS $libiconv"
6013 for ac_func in iconv_open iconv_close iconv nl_langinfo
6015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6016 echo "configure:6017: checking for $ac_func" >&5
6017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6018 echo $ac_n "(cached) $ac_c" 1>&6
6020 cat > conftest.$ac_ext <<EOF
6021 #line 6022 "configure"
6022 #include "confdefs.h"
6023 /* System header to define __stub macros and hopefully few prototypes,
6024 which can conflict with char $ac_func(); below. */
6026 /* Override any gcc2 internal prototype to avoid an error. */
6027 /* We use char because int might match the return type of a gcc2
6028 builtin and then its argument prototype would still apply. */
6033 /* The GNU C library defines this for functions which it implements
6034 to always fail with ENOSYS. Some functions are actually named
6035 something starting with __ and the normal name is an alias. */
6036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6044 if { (eval echo configure:6045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6046 eval "ac_cv_func_$ac_func=yes"
6048 echo "configure: failed program was:" >&5
6049 cat conftest.$ac_ext >&5
6051 eval "ac_cv_func_$ac_func=no"
6056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6057 echo "$ac_t""yes" 1>&6
6058 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6059 cat >> confdefs.h <<EOF
6060 #define $ac_tr_func 1
6065 echo "$ac_t""no" 1>&6
6071 LIBS="$ac_save_LIBS"
6073 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6074 echo "configure:6075: checking for XPG2 wchar_t support" >&5
6075 if test x"$ac_has_iconv_h" = xyes &&
6076 test x"$ac_has_langinfo_h" = xyes &&
6077 test x"$ac_XPG2funcs" = xyes; then
6082 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6084 if test x"$ac_isoC99_wchar_t" = xyes &&
6085 test x"$ac_XPG2_wchar_t" = xyes; then
6086 cat >> confdefs.h <<\EOF
6087 #define _GLIBCPP_USE_WCHAR_T 1
6093 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6094 echo "configure:6095: checking for enabled wchar_t specializations" >&5
6095 echo "$ac_t""$enable_wchar_t" 1>&6
6098 if test "$enable_wchar_t" = yes; then
6099 GLIBCPP_TEST_WCHAR_T_TRUE=
6100 GLIBCPP_TEST_WCHAR_T_FALSE='#'
6102 GLIBCPP_TEST_WCHAR_T_TRUE='#'
6103 GLIBCPP_TEST_WCHAR_T_FALSE=
6106 os_include_dir="os/hpux"
6107 cat >> confdefs.h <<\EOF
6108 #define HAVE_COPYSIGN 1
6111 cat >> confdefs.h <<\EOF
6112 #define HAVE_COPYSIGNF 1
6115 cat >> confdefs.h <<\EOF
6116 #define HAVE_FREXPF 1
6119 cat >> confdefs.h <<\EOF
6120 #define HAVE_HYPOT 1
6125 cat >> confdefs.h <<\EOF
6126 #define HAVE_FINITE 1
6129 cat >> confdefs.h <<\EOF
6130 #define HAVE_FINITEF 1
6133 cat >> confdefs.h <<\EOF
6134 #define HAVE_ISINF 1
6137 cat >> confdefs.h <<\EOF
6138 #define HAVE_ISINFF 1
6141 cat >> confdefs.h <<\EOF
6142 #define HAVE_ISNAN 1
6145 cat >> confdefs.h <<\EOF
6146 #define HAVE_ISNANF 1
6154 # Check for available headers.
6155 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6156 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6157 fp.h locale.h float.h inttypes.h
6159 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6160 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6161 echo "configure:6162: checking for $ac_hdr" >&5
6162 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6163 echo $ac_n "(cached) $ac_c" 1>&6
6165 cat > conftest.$ac_ext <<EOF
6166 #line 6167 "configure"
6167 #include "confdefs.h"
6170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6171 { (eval echo configure:6172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6173 if test -z "$ac_err"; then
6175 eval "ac_cv_header_$ac_safe=yes"
6178 echo "configure: failed program was:" >&5
6179 cat conftest.$ac_ext >&5
6181 eval "ac_cv_header_$ac_safe=no"
6185 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6186 echo "$ac_t""yes" 1>&6
6187 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6188 cat >> confdefs.h <<EOF
6189 #define $ac_tr_hdr 1
6193 echo "$ac_t""no" 1>&6
6197 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6200 # If we're not using GNU ld, then there's no point in even trying these
6201 # tests. Check for that first. We should have already tested for gld
6202 # by now (in libtool), but require it now just to be safe...
6203 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6204 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6207 # The name set by libtool depends on the version of libtool. Shame on us
6208 # for depending on an impl detail, but c'est la vie. Older versions used
6209 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6210 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6211 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6212 # set (hence we're using an older libtool), then set it.
6213 if test x${with_gnu_ld+set} != xset; then
6214 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6215 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6218 with_gnu_ld=$ac_cv_prog_gnu_ld
6222 # Start by getting the version number. I think the libtool test already
6223 # does some of this, but throws away the result.
6225 ldver=`$LD --version 2>/dev/null | head -1 | \
6226 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6228 glibcpp_gnu_ld_version=`echo $ldver | \
6229 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6231 # Set --gc-sections.
6232 if test "$with_gnu_ld" = "notbroken"; then
6233 # GNU ld it is! Joy and bunny rabbits!
6235 # All these tests are for C++; save the language and the compiler flags.
6236 # Need to do this so that g++ won't try to link in libstdc++
6237 ac_test_CFLAGS="${CFLAGS+set}"
6238 ac_save_CFLAGS="$CFLAGS"
6239 CFLAGS='-x c++ -Wl,--gc-sections'
6241 # Check for -Wl,--gc-sections
6242 # XXX This test is broken at the moment, as symbols required for
6243 # linking are now in libsupc++ (not built yet.....). In addition,
6244 # this test has cored on solaris in the past. In addition,
6245 # --gc-sections doesn't really work at the moment (keeps on discarding
6246 # used sections, first .eh_frame and now some of the glibc sections for
6247 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6248 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6249 echo "configure:6250: checking for ld that supports -Wl,--gc-sections" >&5
6250 if test "$cross_compiling" = yes; then
6251 ac_sectionLDflags=yes
6253 cat > conftest.$ac_ext <<EOF
6254 #line 6255 "configure"
6255 #include "confdefs.h"
6265 if { (eval echo configure:6266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6267 ac_sectionLDflags=yes
6269 echo "configure: failed program was:" >&5
6270 cat conftest.$ac_ext >&5
6272 ac_sectionLDflags=no
6277 if test "$ac_test_CFLAGS" = set; then
6278 CFLAGS="$ac_save_CFLAGS"
6280 # this is the suspicious part
6283 if test "$ac_sectionLDflags" = "yes"; then
6284 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6286 echo "$ac_t""$ac_sectionLDflags" 1>&6
6289 # Set linker optimization flags.
6290 if test x"$with_gnu_ld" = x"yes"; then
6291 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6298 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6299 echo "configure:6300: checking for main in -lm" >&5
6300 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6301 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6302 echo $ac_n "(cached) $ac_c" 1>&6
6304 ac_save_LIBS="$LIBS"
6306 cat > conftest.$ac_ext <<EOF
6307 #line 6308 "configure"
6308 #include "confdefs.h"
6314 if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6316 eval "ac_cv_lib_$ac_lib_var=yes"
6318 echo "configure: failed program was:" >&5
6319 cat conftest.$ac_ext >&5
6321 eval "ac_cv_lib_$ac_lib_var=no"
6324 LIBS="$ac_save_LIBS"
6327 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6328 echo "$ac_t""yes" 1>&6
6329 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6330 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6331 cat >> confdefs.h <<EOF
6332 #define $ac_tr_lib 1
6338 echo "$ac_t""no" 1>&6
6341 for ac_func in nan copysignf
6343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6344 echo "configure:6345: checking for $ac_func" >&5
6345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6346 echo $ac_n "(cached) $ac_c" 1>&6
6348 cat > conftest.$ac_ext <<EOF
6349 #line 6350 "configure"
6350 #include "confdefs.h"
6351 /* System header to define __stub macros and hopefully few prototypes,
6352 which can conflict with char $ac_func(); below. */
6354 /* Override any gcc2 internal prototype to avoid an error. */
6355 /* We use char because int might match the return type of a gcc2
6356 builtin and then its argument prototype would still apply. */
6361 /* The GNU C library defines this for functions which it implements
6362 to always fail with ENOSYS. Some functions are actually named
6363 something starting with __ and the normal name is an alias. */
6364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6372 if { (eval echo configure:6373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6374 eval "ac_cv_func_$ac_func=yes"
6376 echo "configure: failed program was:" >&5
6377 cat conftest.$ac_ext >&5
6379 eval "ac_cv_func_$ac_func=no"
6384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6385 echo "$ac_t""yes" 1>&6
6386 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6387 cat >> confdefs.h <<EOF
6388 #define $ac_tr_func 1
6392 echo "$ac_t""no" 1>&6
6393 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6398 for ac_func in __signbit
6400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6401 echo "configure:6402: checking for $ac_func" >&5
6402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6403 echo $ac_n "(cached) $ac_c" 1>&6
6405 cat > conftest.$ac_ext <<EOF
6406 #line 6407 "configure"
6407 #include "confdefs.h"
6408 /* System header to define __stub macros and hopefully few prototypes,
6409 which can conflict with char $ac_func(); below. */
6411 /* Override any gcc2 internal prototype to avoid an error. */
6412 /* We use char because int might match the return type of a gcc2
6413 builtin and then its argument prototype would still apply. */
6418 /* The GNU C library defines this for functions which it implements
6419 to always fail with ENOSYS. Some functions are actually named
6420 something starting with __ and the normal name is an alias. */
6421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6429 if { (eval echo configure:6430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6431 eval "ac_cv_func_$ac_func=yes"
6433 echo "configure: failed program was:" >&5
6434 cat conftest.$ac_ext >&5
6436 eval "ac_cv_func_$ac_func=no"
6441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6442 echo "$ac_t""yes" 1>&6
6443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6444 cat >> confdefs.h <<EOF
6445 #define $ac_tr_func 1
6449 echo "$ac_t""no" 1>&6
6450 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6454 for ac_func in __signbitf
6456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6457 echo "configure:6458: checking for $ac_func" >&5
6458 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6459 echo $ac_n "(cached) $ac_c" 1>&6
6461 cat > conftest.$ac_ext <<EOF
6462 #line 6463 "configure"
6463 #include "confdefs.h"
6464 /* System header to define __stub macros and hopefully few prototypes,
6465 which can conflict with char $ac_func(); below. */
6467 /* Override any gcc2 internal prototype to avoid an error. */
6468 /* We use char because int might match the return type of a gcc2
6469 builtin and then its argument prototype would still apply. */
6474 /* The GNU C library defines this for functions which it implements
6475 to always fail with ENOSYS. Some functions are actually named
6476 something starting with __ and the normal name is an alias. */
6477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6485 if { (eval echo configure:6486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6487 eval "ac_cv_func_$ac_func=yes"
6489 echo "configure: failed program was:" >&5
6490 cat conftest.$ac_ext >&5
6492 eval "ac_cv_func_$ac_func=no"
6497 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6498 echo "$ac_t""yes" 1>&6
6499 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6500 cat >> confdefs.h <<EOF
6501 #define $ac_tr_func 1
6505 echo "$ac_t""no" 1>&6
6506 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6511 if test x$ac_cv_func_copysignl = x"yes"; then
6512 for ac_func in __signbitl
6514 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6515 echo "configure:6516: checking for $ac_func" >&5
6516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6517 echo $ac_n "(cached) $ac_c" 1>&6
6519 cat > conftest.$ac_ext <<EOF
6520 #line 6521 "configure"
6521 #include "confdefs.h"
6522 /* System header to define __stub macros and hopefully few prototypes,
6523 which can conflict with char $ac_func(); below. */
6525 /* Override any gcc2 internal prototype to avoid an error. */
6526 /* We use char because int might match the return type of a gcc2
6527 builtin and then its argument prototype would still apply. */
6532 /* The GNU C library defines this for functions which it implements
6533 to always fail with ENOSYS. Some functions are actually named
6534 something starting with __ and the normal name is an alias. */
6535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6543 if { (eval echo configure:6544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6545 eval "ac_cv_func_$ac_func=yes"
6547 echo "configure: failed program was:" >&5
6548 cat conftest.$ac_ext >&5
6550 eval "ac_cv_func_$ac_func=no"
6555 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6556 echo "$ac_t""yes" 1>&6
6557 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6558 cat >> confdefs.h <<EOF
6559 #define $ac_tr_func 1
6563 echo "$ac_t""no" 1>&6
6564 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6570 if test -n "$LIBMATHOBJS"; then
6576 if test "$need_libmath" = yes; then
6577 GLIBCPP_BUILD_LIBMATH_TRUE=
6578 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6580 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6581 GLIBCPP_BUILD_LIBMATH_FALSE=
6587 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6588 echo "configure:6589: checking for mbstate_t" >&5
6589 cat > conftest.$ac_ext <<EOF
6590 #line 6591 "configure"
6591 #include "confdefs.h"
6594 mbstate_t teststate;
6597 if { (eval echo configure:6598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6601 echo "configure: failed program was:" >&5
6602 cat conftest.$ac_ext >&5
6607 echo "$ac_t""$have_mbstate_t" 1>&6
6608 if test x"$have_mbstate_t" = xyes; then
6609 cat >> confdefs.h <<\EOF
6610 #define HAVE_MBSTATE_T 1
6615 for ac_hdr in wchar.h
6617 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6618 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6619 echo "configure:6620: checking for $ac_hdr" >&5
6620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6621 echo $ac_n "(cached) $ac_c" 1>&6
6623 cat > conftest.$ac_ext <<EOF
6624 #line 6625 "configure"
6625 #include "confdefs.h"
6628 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6629 { (eval echo configure:6630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6631 if test -z "$ac_err"; then
6633 eval "ac_cv_header_$ac_safe=yes"
6636 echo "configure: failed program was:" >&5
6637 cat conftest.$ac_ext >&5
6639 eval "ac_cv_header_$ac_safe=no"
6643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6644 echo "$ac_t""yes" 1>&6
6645 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6646 cat >> confdefs.h <<EOF
6647 #define $ac_tr_hdr 1
6651 echo "$ac_t""no" 1>&6
6656 for ac_hdr in wctype.h
6658 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6659 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6660 echo "configure:6661: checking for $ac_hdr" >&5
6661 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6662 echo $ac_n "(cached) $ac_c" 1>&6
6664 cat > conftest.$ac_ext <<EOF
6665 #line 6666 "configure"
6666 #include "confdefs.h"
6669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6670 { (eval echo configure:6671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6672 if test -z "$ac_err"; then
6674 eval "ac_cv_header_$ac_safe=yes"
6677 echo "configure: failed program was:" >&5
6678 cat conftest.$ac_ext >&5
6680 eval "ac_cv_header_$ac_safe=no"
6684 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6685 echo "$ac_t""yes" 1>&6
6686 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6687 cat >> confdefs.h <<EOF
6688 #define $ac_tr_hdr 1
6692 echo "$ac_t""no" 1>&6
6698 if test x"$ac_has_wchar_h" = xyes &&
6699 test x"$ac_has_wctype_h" = xyes &&
6700 test x"$enable_c_mbchar" != xno; then
6702 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6703 echo "configure:6704: checking for WCHAR_MIN and WCHAR_MAX" >&5
6704 cat > conftest.$ac_ext <<EOF
6705 #line 6706 "configure"
6706 #include "confdefs.h"
6709 int i = WCHAR_MIN; int j = WCHAR_MAX;
6712 if { (eval echo configure:6713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6714 has_wchar_minmax=yes
6716 echo "configure: failed program was:" >&5
6717 cat conftest.$ac_ext >&5
6722 echo "$ac_t""$has_wchar_minmax" 1>&6
6724 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6725 echo "configure:6726: checking for WEOF" >&5
6726 cat > conftest.$ac_ext <<EOF
6727 #line 6728 "configure"
6728 #include "confdefs.h"
6736 if { (eval echo configure:6737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6740 echo "configure: failed program was:" >&5
6741 cat conftest.$ac_ext >&5
6746 echo "$ac_t""$has_weof" 1>&6
6749 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6752 echo "configure:6753: checking for $ac_func" >&5
6753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6754 echo $ac_n "(cached) $ac_c" 1>&6
6756 cat > conftest.$ac_ext <<EOF
6757 #line 6758 "configure"
6758 #include "confdefs.h"
6759 /* System header to define __stub macros and hopefully few prototypes,
6760 which can conflict with char $ac_func(); below. */
6762 /* Override any gcc2 internal prototype to avoid an error. */
6763 /* We use char because int might match the return type of a gcc2
6764 builtin and then its argument prototype would still apply. */
6769 /* The GNU C library defines this for functions which it implements
6770 to always fail with ENOSYS. Some functions are actually named
6771 something starting with __ and the normal name is an alias. */
6772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6780 if { (eval echo configure:6781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6782 eval "ac_cv_func_$ac_func=yes"
6784 echo "configure: failed program was:" >&5
6785 cat conftest.$ac_ext >&5
6787 eval "ac_cv_func_$ac_func=no"
6792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6793 echo "$ac_t""yes" 1>&6
6794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6795 cat >> confdefs.h <<EOF
6796 #define $ac_tr_func 1
6800 echo "$ac_t""no" 1>&6
6807 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6808 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6809 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6810 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6811 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6812 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6815 echo "configure:6816: checking for $ac_func" >&5
6816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6817 echo $ac_n "(cached) $ac_c" 1>&6
6819 cat > conftest.$ac_ext <<EOF
6820 #line 6821 "configure"
6821 #include "confdefs.h"
6822 /* System header to define __stub macros and hopefully few prototypes,
6823 which can conflict with char $ac_func(); below. */
6825 /* Override any gcc2 internal prototype to avoid an error. */
6826 /* We use char because int might match the return type of a gcc2
6827 builtin and then its argument prototype would still apply. */
6832 /* The GNU C library defines this for functions which it implements
6833 to always fail with ENOSYS. Some functions are actually named
6834 something starting with __ and the normal name is an alias. */
6835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6843 if { (eval echo configure:6844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6845 eval "ac_cv_func_$ac_func=yes"
6847 echo "configure: failed program was:" >&5
6848 cat conftest.$ac_ext >&5
6850 eval "ac_cv_func_$ac_func=no"
6855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6856 echo "$ac_t""yes" 1>&6
6857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6858 cat >> confdefs.h <<EOF
6859 #define $ac_tr_func 1
6863 echo "$ac_t""no" 1>&6
6870 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6871 echo "configure:6872: checking for ISO C99 wchar_t support" >&5
6872 if test x"$has_weof" = xyes &&
6873 test x"$has_wchar_minmax" = xyes &&
6874 test x"$ac_wfuncs" = xyes; then
6875 ac_isoC99_wchar_t=yes
6877 ac_isoC99_wchar_t=no
6879 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6881 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6882 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6883 echo "configure:6884: checking for iconv.h" >&5
6884 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6885 echo $ac_n "(cached) $ac_c" 1>&6
6887 cat > conftest.$ac_ext <<EOF
6888 #line 6889 "configure"
6889 #include "confdefs.h"
6892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6893 { (eval echo configure:6894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6895 if test -z "$ac_err"; then
6897 eval "ac_cv_header_$ac_safe=yes"
6900 echo "configure: failed program was:" >&5
6901 cat conftest.$ac_ext >&5
6903 eval "ac_cv_header_$ac_safe=no"
6907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6908 echo "$ac_t""yes" 1>&6
6911 echo "$ac_t""no" 1>&6
6915 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6916 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6917 echo "configure:6918: checking for langinfo.h" >&5
6918 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6919 echo $ac_n "(cached) $ac_c" 1>&6
6921 cat > conftest.$ac_ext <<EOF
6922 #line 6923 "configure"
6923 #include "confdefs.h"
6924 #include <langinfo.h>
6926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6927 { (eval echo configure:6928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6928 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6929 if test -z "$ac_err"; then
6931 eval "ac_cv_header_$ac_safe=yes"
6934 echo "configure: failed program was:" >&5
6935 cat conftest.$ac_ext >&5
6937 eval "ac_cv_header_$ac_safe=no"
6941 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6942 echo "$ac_t""yes" 1>&6
6943 ac_has_langinfo_h=yes
6945 echo "$ac_t""no" 1>&6
6946 ac_has_langinfo_h=no
6950 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6951 echo "configure:6952: checking for iconv in -liconv" >&5
6952 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6953 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6954 echo $ac_n "(cached) $ac_c" 1>&6
6956 ac_save_LIBS="$LIBS"
6957 LIBS="-liconv $LIBS"
6958 cat > conftest.$ac_ext <<EOF
6959 #line 6960 "configure"
6960 #include "confdefs.h"
6961 /* Override any gcc2 internal prototype to avoid an error. */
6962 /* We use char because int might match the return type of a gcc2
6963 builtin and then its argument prototype would still apply. */
6970 if { (eval echo configure:6971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6972 eval "ac_cv_lib_$ac_lib_var=yes"
6974 echo "configure: failed program was:" >&5
6975 cat conftest.$ac_ext >&5
6977 eval "ac_cv_lib_$ac_lib_var=no"
6980 LIBS="$ac_save_LIBS"
6983 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6984 echo "$ac_t""yes" 1>&6
6987 echo "$ac_t""no" 1>&6
6990 ac_save_LIBS="$LIBS"
6991 LIBS="$LIBS $libiconv"
6993 for ac_func in iconv_open iconv_close iconv nl_langinfo
6995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6996 echo "configure:6997: checking for $ac_func" >&5
6997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6998 echo $ac_n "(cached) $ac_c" 1>&6
7000 cat > conftest.$ac_ext <<EOF
7001 #line 7002 "configure"
7002 #include "confdefs.h"
7003 /* System header to define __stub macros and hopefully few prototypes,
7004 which can conflict with char $ac_func(); below. */
7006 /* Override any gcc2 internal prototype to avoid an error. */
7007 /* We use char because int might match the return type of a gcc2
7008 builtin and then its argument prototype would still apply. */
7013 /* The GNU C library defines this for functions which it implements
7014 to always fail with ENOSYS. Some functions are actually named
7015 something starting with __ and the normal name is an alias. */
7016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7024 if { (eval echo configure:7025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7026 eval "ac_cv_func_$ac_func=yes"
7028 echo "configure: failed program was:" >&5
7029 cat conftest.$ac_ext >&5
7031 eval "ac_cv_func_$ac_func=no"
7036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7037 echo "$ac_t""yes" 1>&6
7038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7039 cat >> confdefs.h <<EOF
7040 #define $ac_tr_func 1
7045 echo "$ac_t""no" 1>&6
7051 LIBS="$ac_save_LIBS"
7053 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7054 echo "configure:7055: checking for XPG2 wchar_t support" >&5
7055 if test x"$ac_has_iconv_h" = xyes &&
7056 test x"$ac_has_langinfo_h" = xyes &&
7057 test x"$ac_XPG2funcs" = xyes; then
7062 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7064 if test x"$ac_isoC99_wchar_t" = xyes &&
7065 test x"$ac_XPG2_wchar_t" = xyes; then
7066 cat >> confdefs.h <<\EOF
7067 #define _GLIBCPP_USE_WCHAR_T 1
7073 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7074 echo "configure:7075: checking for enabled wchar_t specializations" >&5
7075 echo "$ac_t""$enable_wchar_t" 1>&6
7078 if test "$enable_wchar_t" = yes; then
7079 GLIBCPP_TEST_WCHAR_T_TRUE=
7080 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7082 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7083 GLIBCPP_TEST_WCHAR_T_FALSE=
7086 os_include_dir="os/bsd/netbsd"
7087 cat >> confdefs.h <<\EOF
7088 #define HAVE_COPYSIGN 1
7091 cat >> confdefs.h <<\EOF
7092 #define HAVE_COPYSIGNF 1
7095 cat >> confdefs.h <<\EOF
7096 #define HAVE_FINITEF 1
7099 cat >> confdefs.h <<\EOF
7100 #define HAVE_FINITE 1
7103 cat >> confdefs.h <<\EOF
7104 #define HAVE_FREXPF 1
7107 cat >> confdefs.h <<\EOF
7108 #define HAVE_HYPOTF 1
7111 cat >> confdefs.h <<\EOF
7112 #define HAVE_ISINF 1
7115 cat >> confdefs.h <<\EOF
7116 #define HAVE_ISINFF 1
7119 cat >> confdefs.h <<\EOF
7120 #define HAVE_ISNAN 1
7123 cat >> confdefs.h <<\EOF
7124 #define HAVE_ISNANF 1
7127 if test x"long_double_math_on_this_cpu" = x"yes"; then
7128 cat >> confdefs.h <<\EOF
7129 #define HAVE_FINITEL 1
7132 cat >> confdefs.h <<\EOF
7133 #define HAVE_ISINFL 1
7136 cat >> confdefs.h <<\EOF
7137 #define HAVE_ISNANL 1
7143 # Check for available headers.
7144 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7145 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7146 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7149 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7151 echo "configure:7152: checking for $ac_hdr" >&5
7152 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7153 echo $ac_n "(cached) $ac_c" 1>&6
7155 cat > conftest.$ac_ext <<EOF
7156 #line 7157 "configure"
7157 #include "confdefs.h"
7160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7161 { (eval echo configure:7162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7163 if test -z "$ac_err"; then
7165 eval "ac_cv_header_$ac_safe=yes"
7168 echo "configure: failed program was:" >&5
7169 cat conftest.$ac_ext >&5
7171 eval "ac_cv_header_$ac_safe=no"
7175 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7176 echo "$ac_t""yes" 1>&6
7177 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7178 cat >> confdefs.h <<EOF
7179 #define $ac_tr_hdr 1
7183 echo "$ac_t""no" 1>&6
7187 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7190 # If we're not using GNU ld, then there's no point in even trying these
7191 # tests. Check for that first. We should have already tested for gld
7192 # by now (in libtool), but require it now just to be safe...
7193 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7194 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7197 # The name set by libtool depends on the version of libtool. Shame on us
7198 # for depending on an impl detail, but c'est la vie. Older versions used
7199 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7200 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7201 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7202 # set (hence we're using an older libtool), then set it.
7203 if test x${with_gnu_ld+set} != xset; then
7204 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7205 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7208 with_gnu_ld=$ac_cv_prog_gnu_ld
7212 # Start by getting the version number. I think the libtool test already
7213 # does some of this, but throws away the result.
7215 ldver=`$LD --version 2>/dev/null | head -1 | \
7216 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7218 glibcpp_gnu_ld_version=`echo $ldver | \
7219 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7221 # Set --gc-sections.
7222 if test "$with_gnu_ld" = "notbroken"; then
7223 # GNU ld it is! Joy and bunny rabbits!
7225 # All these tests are for C++; save the language and the compiler flags.
7226 # Need to do this so that g++ won't try to link in libstdc++
7227 ac_test_CFLAGS="${CFLAGS+set}"
7228 ac_save_CFLAGS="$CFLAGS"
7229 CFLAGS='-x c++ -Wl,--gc-sections'
7231 # Check for -Wl,--gc-sections
7232 # XXX This test is broken at the moment, as symbols required for
7233 # linking are now in libsupc++ (not built yet.....). In addition,
7234 # this test has cored on solaris in the past. In addition,
7235 # --gc-sections doesn't really work at the moment (keeps on discarding
7236 # used sections, first .eh_frame and now some of the glibc sections for
7237 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7238 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7239 echo "configure:7240: checking for ld that supports -Wl,--gc-sections" >&5
7240 if test "$cross_compiling" = yes; then
7241 ac_sectionLDflags=yes
7243 cat > conftest.$ac_ext <<EOF
7244 #line 7245 "configure"
7245 #include "confdefs.h"
7255 if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7257 ac_sectionLDflags=yes
7259 echo "configure: failed program was:" >&5
7260 cat conftest.$ac_ext >&5
7262 ac_sectionLDflags=no
7267 if test "$ac_test_CFLAGS" = set; then
7268 CFLAGS="$ac_save_CFLAGS"
7270 # this is the suspicious part
7273 if test "$ac_sectionLDflags" = "yes"; then
7274 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7276 echo "$ac_t""$ac_sectionLDflags" 1>&6
7279 # Set linker optimization flags.
7280 if test x"$with_gnu_ld" = x"yes"; then
7281 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7288 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7289 echo "configure:7290: checking for main in -lm" >&5
7290 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7292 echo $ac_n "(cached) $ac_c" 1>&6
7294 ac_save_LIBS="$LIBS"
7296 cat > conftest.$ac_ext <<EOF
7297 #line 7298 "configure"
7298 #include "confdefs.h"
7304 if { (eval echo configure:7305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7306 eval "ac_cv_lib_$ac_lib_var=yes"
7308 echo "configure: failed program was:" >&5
7309 cat conftest.$ac_ext >&5
7311 eval "ac_cv_lib_$ac_lib_var=no"
7314 LIBS="$ac_save_LIBS"
7317 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7318 echo "$ac_t""yes" 1>&6
7319 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7320 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7321 cat >> confdefs.h <<EOF
7322 #define $ac_tr_lib 1
7328 echo "$ac_t""no" 1>&6
7331 for ac_func in nan copysignf
7333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7334 echo "configure:7335: checking for $ac_func" >&5
7335 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7336 echo $ac_n "(cached) $ac_c" 1>&6
7338 cat > conftest.$ac_ext <<EOF
7339 #line 7340 "configure"
7340 #include "confdefs.h"
7341 /* System header to define __stub macros and hopefully few prototypes,
7342 which can conflict with char $ac_func(); below. */
7344 /* Override any gcc2 internal prototype to avoid an error. */
7345 /* We use char because int might match the return type of a gcc2
7346 builtin and then its argument prototype would still apply. */
7351 /* The GNU C library defines this for functions which it implements
7352 to always fail with ENOSYS. Some functions are actually named
7353 something starting with __ and the normal name is an alias. */
7354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7362 if { (eval echo configure:7363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7364 eval "ac_cv_func_$ac_func=yes"
7366 echo "configure: failed program was:" >&5
7367 cat conftest.$ac_ext >&5
7369 eval "ac_cv_func_$ac_func=no"
7374 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7375 echo "$ac_t""yes" 1>&6
7376 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7377 cat >> confdefs.h <<EOF
7378 #define $ac_tr_func 1
7382 echo "$ac_t""no" 1>&6
7383 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7388 for ac_func in __signbit
7390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7391 echo "configure:7392: checking for $ac_func" >&5
7392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7393 echo $ac_n "(cached) $ac_c" 1>&6
7395 cat > conftest.$ac_ext <<EOF
7396 #line 7397 "configure"
7397 #include "confdefs.h"
7398 /* System header to define __stub macros and hopefully few prototypes,
7399 which can conflict with char $ac_func(); below. */
7401 /* Override any gcc2 internal prototype to avoid an error. */
7402 /* We use char because int might match the return type of a gcc2
7403 builtin and then its argument prototype would still apply. */
7408 /* The GNU C library defines this for functions which it implements
7409 to always fail with ENOSYS. Some functions are actually named
7410 something starting with __ and the normal name is an alias. */
7411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7419 if { (eval echo configure:7420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7421 eval "ac_cv_func_$ac_func=yes"
7423 echo "configure: failed program was:" >&5
7424 cat conftest.$ac_ext >&5
7426 eval "ac_cv_func_$ac_func=no"
7431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7432 echo "$ac_t""yes" 1>&6
7433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7434 cat >> confdefs.h <<EOF
7435 #define $ac_tr_func 1
7439 echo "$ac_t""no" 1>&6
7440 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7444 for ac_func in __signbitf
7446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7447 echo "configure:7448: checking for $ac_func" >&5
7448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7449 echo $ac_n "(cached) $ac_c" 1>&6
7451 cat > conftest.$ac_ext <<EOF
7452 #line 7453 "configure"
7453 #include "confdefs.h"
7454 /* System header to define __stub macros and hopefully few prototypes,
7455 which can conflict with char $ac_func(); below. */
7457 /* Override any gcc2 internal prototype to avoid an error. */
7458 /* We use char because int might match the return type of a gcc2
7459 builtin and then its argument prototype would still apply. */
7464 /* The GNU C library defines this for functions which it implements
7465 to always fail with ENOSYS. Some functions are actually named
7466 something starting with __ and the normal name is an alias. */
7467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7475 if { (eval echo configure:7476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7477 eval "ac_cv_func_$ac_func=yes"
7479 echo "configure: failed program was:" >&5
7480 cat conftest.$ac_ext >&5
7482 eval "ac_cv_func_$ac_func=no"
7487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7488 echo "$ac_t""yes" 1>&6
7489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7490 cat >> confdefs.h <<EOF
7491 #define $ac_tr_func 1
7495 echo "$ac_t""no" 1>&6
7496 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7501 if test x$ac_cv_func_copysignl = x"yes"; then
7502 for ac_func in __signbitl
7504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7505 echo "configure:7506: checking for $ac_func" >&5
7506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7507 echo $ac_n "(cached) $ac_c" 1>&6
7509 cat > conftest.$ac_ext <<EOF
7510 #line 7511 "configure"
7511 #include "confdefs.h"
7512 /* System header to define __stub macros and hopefully few prototypes,
7513 which can conflict with char $ac_func(); below. */
7515 /* Override any gcc2 internal prototype to avoid an error. */
7516 /* We use char because int might match the return type of a gcc2
7517 builtin and then its argument prototype would still apply. */
7522 /* The GNU C library defines this for functions which it implements
7523 to always fail with ENOSYS. Some functions are actually named
7524 something starting with __ and the normal name is an alias. */
7525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7533 if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7535 eval "ac_cv_func_$ac_func=yes"
7537 echo "configure: failed program was:" >&5
7538 cat conftest.$ac_ext >&5
7540 eval "ac_cv_func_$ac_func=no"
7545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7546 echo "$ac_t""yes" 1>&6
7547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7548 cat >> confdefs.h <<EOF
7549 #define $ac_tr_func 1
7553 echo "$ac_t""no" 1>&6
7554 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7560 if test -n "$LIBMATHOBJS"; then
7566 if test "$need_libmath" = yes; then
7567 GLIBCPP_BUILD_LIBMATH_TRUE=
7568 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7570 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7571 GLIBCPP_BUILD_LIBMATH_FALSE=
7577 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7578 echo "configure:7579: checking for mbstate_t" >&5
7579 cat > conftest.$ac_ext <<EOF
7580 #line 7581 "configure"
7581 #include "confdefs.h"
7584 mbstate_t teststate;
7587 if { (eval echo configure:7588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7591 echo "configure: failed program was:" >&5
7592 cat conftest.$ac_ext >&5
7597 echo "$ac_t""$have_mbstate_t" 1>&6
7598 if test x"$have_mbstate_t" = xyes; then
7599 cat >> confdefs.h <<\EOF
7600 #define HAVE_MBSTATE_T 1
7605 for ac_hdr in wchar.h
7607 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7608 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7609 echo "configure:7610: checking for $ac_hdr" >&5
7610 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7611 echo $ac_n "(cached) $ac_c" 1>&6
7613 cat > conftest.$ac_ext <<EOF
7614 #line 7615 "configure"
7615 #include "confdefs.h"
7618 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7619 { (eval echo configure:7620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7620 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7621 if test -z "$ac_err"; then
7623 eval "ac_cv_header_$ac_safe=yes"
7626 echo "configure: failed program was:" >&5
7627 cat conftest.$ac_ext >&5
7629 eval "ac_cv_header_$ac_safe=no"
7633 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7634 echo "$ac_t""yes" 1>&6
7635 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7636 cat >> confdefs.h <<EOF
7637 #define $ac_tr_hdr 1
7641 echo "$ac_t""no" 1>&6
7646 for ac_hdr in wctype.h
7648 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7649 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7650 echo "configure:7651: checking for $ac_hdr" >&5
7651 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7652 echo $ac_n "(cached) $ac_c" 1>&6
7654 cat > conftest.$ac_ext <<EOF
7655 #line 7656 "configure"
7656 #include "confdefs.h"
7659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7660 { (eval echo configure:7661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7662 if test -z "$ac_err"; then
7664 eval "ac_cv_header_$ac_safe=yes"
7667 echo "configure: failed program was:" >&5
7668 cat conftest.$ac_ext >&5
7670 eval "ac_cv_header_$ac_safe=no"
7674 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7675 echo "$ac_t""yes" 1>&6
7676 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7677 cat >> confdefs.h <<EOF
7678 #define $ac_tr_hdr 1
7682 echo "$ac_t""no" 1>&6
7688 if test x"$ac_has_wchar_h" = xyes &&
7689 test x"$ac_has_wctype_h" = xyes &&
7690 test x"$enable_c_mbchar" != xno; then
7692 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7693 echo "configure:7694: checking for WCHAR_MIN and WCHAR_MAX" >&5
7694 cat > conftest.$ac_ext <<EOF
7695 #line 7696 "configure"
7696 #include "confdefs.h"
7699 int i = WCHAR_MIN; int j = WCHAR_MAX;
7702 if { (eval echo configure:7703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7704 has_wchar_minmax=yes
7706 echo "configure: failed program was:" >&5
7707 cat conftest.$ac_ext >&5
7712 echo "$ac_t""$has_wchar_minmax" 1>&6
7714 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7715 echo "configure:7716: checking for WEOF" >&5
7716 cat > conftest.$ac_ext <<EOF
7717 #line 7718 "configure"
7718 #include "confdefs.h"
7726 if { (eval echo configure:7727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7730 echo "configure: failed program was:" >&5
7731 cat conftest.$ac_ext >&5
7736 echo "$ac_t""$has_weof" 1>&6
7739 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7741 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7742 echo "configure:7743: checking for $ac_func" >&5
7743 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7744 echo $ac_n "(cached) $ac_c" 1>&6
7746 cat > conftest.$ac_ext <<EOF
7747 #line 7748 "configure"
7748 #include "confdefs.h"
7749 /* System header to define __stub macros and hopefully few prototypes,
7750 which can conflict with char $ac_func(); below. */
7752 /* Override any gcc2 internal prototype to avoid an error. */
7753 /* We use char because int might match the return type of a gcc2
7754 builtin and then its argument prototype would still apply. */
7759 /* The GNU C library defines this for functions which it implements
7760 to always fail with ENOSYS. Some functions are actually named
7761 something starting with __ and the normal name is an alias. */
7762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7770 if { (eval echo configure:7771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7772 eval "ac_cv_func_$ac_func=yes"
7774 echo "configure: failed program was:" >&5
7775 cat conftest.$ac_ext >&5
7777 eval "ac_cv_func_$ac_func=no"
7782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7783 echo "$ac_t""yes" 1>&6
7784 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7785 cat >> confdefs.h <<EOF
7786 #define $ac_tr_func 1
7790 echo "$ac_t""no" 1>&6
7797 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7798 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7799 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7800 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7801 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7802 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7805 echo "configure:7806: checking for $ac_func" >&5
7806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7807 echo $ac_n "(cached) $ac_c" 1>&6
7809 cat > conftest.$ac_ext <<EOF
7810 #line 7811 "configure"
7811 #include "confdefs.h"
7812 /* System header to define __stub macros and hopefully few prototypes,
7813 which can conflict with char $ac_func(); below. */
7815 /* Override any gcc2 internal prototype to avoid an error. */
7816 /* We use char because int might match the return type of a gcc2
7817 builtin and then its argument prototype would still apply. */
7822 /* The GNU C library defines this for functions which it implements
7823 to always fail with ENOSYS. Some functions are actually named
7824 something starting with __ and the normal name is an alias. */
7825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7833 if { (eval echo configure:7834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7835 eval "ac_cv_func_$ac_func=yes"
7837 echo "configure: failed program was:" >&5
7838 cat conftest.$ac_ext >&5
7840 eval "ac_cv_func_$ac_func=no"
7845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7846 echo "$ac_t""yes" 1>&6
7847 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7848 cat >> confdefs.h <<EOF
7849 #define $ac_tr_func 1
7853 echo "$ac_t""no" 1>&6
7860 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7861 echo "configure:7862: checking for ISO C99 wchar_t support" >&5
7862 if test x"$has_weof" = xyes &&
7863 test x"$has_wchar_minmax" = xyes &&
7864 test x"$ac_wfuncs" = xyes; then
7865 ac_isoC99_wchar_t=yes
7867 ac_isoC99_wchar_t=no
7869 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7871 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7872 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7873 echo "configure:7874: checking for iconv.h" >&5
7874 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7875 echo $ac_n "(cached) $ac_c" 1>&6
7877 cat > conftest.$ac_ext <<EOF
7878 #line 7879 "configure"
7879 #include "confdefs.h"
7882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7883 { (eval echo configure:7884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7885 if test -z "$ac_err"; then
7887 eval "ac_cv_header_$ac_safe=yes"
7890 echo "configure: failed program was:" >&5
7891 cat conftest.$ac_ext >&5
7893 eval "ac_cv_header_$ac_safe=no"
7897 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7898 echo "$ac_t""yes" 1>&6
7901 echo "$ac_t""no" 1>&6
7905 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7906 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7907 echo "configure:7908: checking for langinfo.h" >&5
7908 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7909 echo $ac_n "(cached) $ac_c" 1>&6
7911 cat > conftest.$ac_ext <<EOF
7912 #line 7913 "configure"
7913 #include "confdefs.h"
7914 #include <langinfo.h>
7916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7917 { (eval echo configure:7918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7919 if test -z "$ac_err"; then
7921 eval "ac_cv_header_$ac_safe=yes"
7924 echo "configure: failed program was:" >&5
7925 cat conftest.$ac_ext >&5
7927 eval "ac_cv_header_$ac_safe=no"
7931 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7932 echo "$ac_t""yes" 1>&6
7933 ac_has_langinfo_h=yes
7935 echo "$ac_t""no" 1>&6
7936 ac_has_langinfo_h=no
7940 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7941 echo "configure:7942: checking for iconv in -liconv" >&5
7942 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7943 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7944 echo $ac_n "(cached) $ac_c" 1>&6
7946 ac_save_LIBS="$LIBS"
7947 LIBS="-liconv $LIBS"
7948 cat > conftest.$ac_ext <<EOF
7949 #line 7950 "configure"
7950 #include "confdefs.h"
7951 /* Override any gcc2 internal prototype to avoid an error. */
7952 /* We use char because int might match the return type of a gcc2
7953 builtin and then its argument prototype would still apply. */
7960 if { (eval echo configure:7961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7962 eval "ac_cv_lib_$ac_lib_var=yes"
7964 echo "configure: failed program was:" >&5
7965 cat conftest.$ac_ext >&5
7967 eval "ac_cv_lib_$ac_lib_var=no"
7970 LIBS="$ac_save_LIBS"
7973 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7974 echo "$ac_t""yes" 1>&6
7977 echo "$ac_t""no" 1>&6
7980 ac_save_LIBS="$LIBS"
7981 LIBS="$LIBS $libiconv"
7983 for ac_func in iconv_open iconv_close iconv nl_langinfo
7985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7986 echo "configure:7987: checking for $ac_func" >&5
7987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7988 echo $ac_n "(cached) $ac_c" 1>&6
7990 cat > conftest.$ac_ext <<EOF
7991 #line 7992 "configure"
7992 #include "confdefs.h"
7993 /* System header to define __stub macros and hopefully few prototypes,
7994 which can conflict with char $ac_func(); below. */
7996 /* Override any gcc2 internal prototype to avoid an error. */
7997 /* We use char because int might match the return type of a gcc2
7998 builtin and then its argument prototype would still apply. */
8003 /* The GNU C library defines this for functions which it implements
8004 to always fail with ENOSYS. Some functions are actually named
8005 something starting with __ and the normal name is an alias. */
8006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8014 if { (eval echo configure:8015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8016 eval "ac_cv_func_$ac_func=yes"
8018 echo "configure: failed program was:" >&5
8019 cat conftest.$ac_ext >&5
8021 eval "ac_cv_func_$ac_func=no"
8026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8027 echo "$ac_t""yes" 1>&6
8028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8029 cat >> confdefs.h <<EOF
8030 #define $ac_tr_func 1
8035 echo "$ac_t""no" 1>&6
8041 LIBS="$ac_save_LIBS"
8043 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8044 echo "configure:8045: checking for XPG2 wchar_t support" >&5
8045 if test x"$ac_has_iconv_h" = xyes &&
8046 test x"$ac_has_langinfo_h" = xyes &&
8047 test x"$ac_XPG2funcs" = xyes; then
8052 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8054 if test x"$ac_isoC99_wchar_t" = xyes &&
8055 test x"$ac_XPG2_wchar_t" = xyes; then
8056 cat >> confdefs.h <<\EOF
8057 #define _GLIBCPP_USE_WCHAR_T 1
8063 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8064 echo "configure:8065: checking for enabled wchar_t specializations" >&5
8065 echo "$ac_t""$enable_wchar_t" 1>&6
8068 if test "$enable_wchar_t" = yes; then
8069 GLIBCPP_TEST_WCHAR_T_TRUE=
8070 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8072 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8073 GLIBCPP_TEST_WCHAR_T_FALSE=
8076 os_include_dir="os/bsd/freebsd"
8077 cat >> confdefs.h <<\EOF
8078 #define HAVE_LC_MESSAGES 1
8081 cat >> confdefs.h <<\EOF
8082 #define HAVE_DRAND48 1
8085 cat >> confdefs.h <<\EOF
8086 #define HAVE_GETPAGESIZE 1
8089 cat >> confdefs.h <<\EOF
8090 #define HAVE_SETENV 1
8093 cat >> confdefs.h <<\EOF
8094 #define HAVE_SIGSETJMP 1
8097 cat >> confdefs.h <<\EOF
8098 #define HAVE_COPYSIGN 1
8101 cat >> confdefs.h <<\EOF
8102 #define HAVE_COPYSIGNF 1
8105 cat >> confdefs.h <<\EOF
8106 #define HAVE_FINITEF 1
8109 cat >> confdefs.h <<\EOF
8110 #define HAVE_FINITE 1
8113 cat >> confdefs.h <<\EOF
8114 #define HAVE_FREXPF 1
8117 cat >> confdefs.h <<\EOF
8118 #define HAVE_HYPOT 1
8121 cat >> confdefs.h <<\EOF
8122 #define HAVE_HYPOTF 1
8125 cat >> confdefs.h <<\EOF
8126 #define HAVE_ISINF 1
8129 cat >> confdefs.h <<\EOF
8130 #define HAVE_ISNAN 1
8133 cat >> confdefs.h <<\EOF
8134 #define HAVE_ISNANF 1
8137 if test x"long_double_math_on_this_cpu" = x"yes"; then
8138 cat >> confdefs.h <<\EOF
8139 #define HAVE_FINITEL 1
8142 cat >> confdefs.h <<\EOF
8143 #define HAVE_ISINFL 1
8146 cat >> confdefs.h <<\EOF
8147 #define HAVE_ISNANL 1
8153 for ac_hdr in sys/types.h locale.h float.h
8155 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8156 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8157 echo "configure:8158: checking for $ac_hdr" >&5
8158 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8159 echo $ac_n "(cached) $ac_c" 1>&6
8161 cat > conftest.$ac_ext <<EOF
8162 #line 8163 "configure"
8163 #include "confdefs.h"
8166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8167 { (eval echo configure:8168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8169 if test -z "$ac_err"; then
8171 eval "ac_cv_header_$ac_safe=yes"
8174 echo "configure: failed program was:" >&5
8175 cat conftest.$ac_ext >&5
8177 eval "ac_cv_header_$ac_safe=no"
8181 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8182 echo "$ac_t""yes" 1>&6
8183 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8184 cat >> confdefs.h <<EOF
8185 #define $ac_tr_hdr 1
8189 echo "$ac_t""no" 1>&6
8194 # If we're not using GNU ld, then there's no point in even trying these
8195 # tests. Check for that first. We should have already tested for gld
8196 # by now (in libtool), but require it now just to be safe...
8197 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8198 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8201 # The name set by libtool depends on the version of libtool. Shame on us
8202 # for depending on an impl detail, but c'est la vie. Older versions used
8203 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8204 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8205 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8206 # set (hence we're using an older libtool), then set it.
8207 if test x${with_gnu_ld+set} != xset; then
8208 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8209 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8212 with_gnu_ld=$ac_cv_prog_gnu_ld
8216 # Start by getting the version number. I think the libtool test already
8217 # does some of this, but throws away the result.
8219 ldver=`$LD --version 2>/dev/null | head -1 | \
8220 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8222 glibcpp_gnu_ld_version=`echo $ldver | \
8223 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8225 # Set --gc-sections.
8226 if test "$with_gnu_ld" = "notbroken"; then
8227 # GNU ld it is! Joy and bunny rabbits!
8229 # All these tests are for C++; save the language and the compiler flags.
8230 # Need to do this so that g++ won't try to link in libstdc++
8231 ac_test_CFLAGS="${CFLAGS+set}"
8232 ac_save_CFLAGS="$CFLAGS"
8233 CFLAGS='-x c++ -Wl,--gc-sections'
8235 # Check for -Wl,--gc-sections
8236 # XXX This test is broken at the moment, as symbols required for
8237 # linking are now in libsupc++ (not built yet.....). In addition,
8238 # this test has cored on solaris in the past. In addition,
8239 # --gc-sections doesn't really work at the moment (keeps on discarding
8240 # used sections, first .eh_frame and now some of the glibc sections for
8241 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8242 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8243 echo "configure:8244: checking for ld that supports -Wl,--gc-sections" >&5
8244 if test "$cross_compiling" = yes; then
8245 ac_sectionLDflags=yes
8247 cat > conftest.$ac_ext <<EOF
8248 #line 8249 "configure"
8249 #include "confdefs.h"
8259 if { (eval echo configure:8260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8261 ac_sectionLDflags=yes
8263 echo "configure: failed program was:" >&5
8264 cat conftest.$ac_ext >&5
8266 ac_sectionLDflags=no
8271 if test "$ac_test_CFLAGS" = set; then
8272 CFLAGS="$ac_save_CFLAGS"
8274 # this is the suspicious part
8277 if test "$ac_sectionLDflags" = "yes"; then
8278 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8280 echo "$ac_t""$ac_sectionLDflags" 1>&6
8283 # Set linker optimization flags.
8284 if test x"$with_gnu_ld" = x"yes"; then
8285 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8292 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8293 echo "configure:8294: checking for main in -lm" >&5
8294 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8296 echo $ac_n "(cached) $ac_c" 1>&6
8298 ac_save_LIBS="$LIBS"
8300 cat > conftest.$ac_ext <<EOF
8301 #line 8302 "configure"
8302 #include "confdefs.h"
8308 if { (eval echo configure:8309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8310 eval "ac_cv_lib_$ac_lib_var=yes"
8312 echo "configure: failed program was:" >&5
8313 cat conftest.$ac_ext >&5
8315 eval "ac_cv_lib_$ac_lib_var=no"
8318 LIBS="$ac_save_LIBS"
8321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8322 echo "$ac_t""yes" 1>&6
8323 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8324 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8325 cat >> confdefs.h <<EOF
8326 #define $ac_tr_lib 1
8332 echo "$ac_t""no" 1>&6
8335 for ac_func in nan copysignf
8337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8338 echo "configure:8339: checking for $ac_func" >&5
8339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8340 echo $ac_n "(cached) $ac_c" 1>&6
8342 cat > conftest.$ac_ext <<EOF
8343 #line 8344 "configure"
8344 #include "confdefs.h"
8345 /* System header to define __stub macros and hopefully few prototypes,
8346 which can conflict with char $ac_func(); below. */
8348 /* Override any gcc2 internal prototype to avoid an error. */
8349 /* We use char because int might match the return type of a gcc2
8350 builtin and then its argument prototype would still apply. */
8355 /* The GNU C library defines this for functions which it implements
8356 to always fail with ENOSYS. Some functions are actually named
8357 something starting with __ and the normal name is an alias. */
8358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8366 if { (eval echo configure:8367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8368 eval "ac_cv_func_$ac_func=yes"
8370 echo "configure: failed program was:" >&5
8371 cat conftest.$ac_ext >&5
8373 eval "ac_cv_func_$ac_func=no"
8378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8379 echo "$ac_t""yes" 1>&6
8380 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8381 cat >> confdefs.h <<EOF
8382 #define $ac_tr_func 1
8386 echo "$ac_t""no" 1>&6
8387 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8392 for ac_func in __signbit
8394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8395 echo "configure:8396: checking for $ac_func" >&5
8396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8397 echo $ac_n "(cached) $ac_c" 1>&6
8399 cat > conftest.$ac_ext <<EOF
8400 #line 8401 "configure"
8401 #include "confdefs.h"
8402 /* System header to define __stub macros and hopefully few prototypes,
8403 which can conflict with char $ac_func(); below. */
8405 /* Override any gcc2 internal prototype to avoid an error. */
8406 /* We use char because int might match the return type of a gcc2
8407 builtin and then its argument prototype would still apply. */
8412 /* The GNU C library defines this for functions which it implements
8413 to always fail with ENOSYS. Some functions are actually named
8414 something starting with __ and the normal name is an alias. */
8415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8423 if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8425 eval "ac_cv_func_$ac_func=yes"
8427 echo "configure: failed program was:" >&5
8428 cat conftest.$ac_ext >&5
8430 eval "ac_cv_func_$ac_func=no"
8435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8436 echo "$ac_t""yes" 1>&6
8437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8438 cat >> confdefs.h <<EOF
8439 #define $ac_tr_func 1
8443 echo "$ac_t""no" 1>&6
8444 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8448 for ac_func in __signbitf
8450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8451 echo "configure:8452: checking for $ac_func" >&5
8452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8453 echo $ac_n "(cached) $ac_c" 1>&6
8455 cat > conftest.$ac_ext <<EOF
8456 #line 8457 "configure"
8457 #include "confdefs.h"
8458 /* System header to define __stub macros and hopefully few prototypes,
8459 which can conflict with char $ac_func(); below. */
8461 /* Override any gcc2 internal prototype to avoid an error. */
8462 /* We use char because int might match the return type of a gcc2
8463 builtin and then its argument prototype would still apply. */
8468 /* The GNU C library defines this for functions which it implements
8469 to always fail with ENOSYS. Some functions are actually named
8470 something starting with __ and the normal name is an alias. */
8471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8479 if { (eval echo configure:8480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8481 eval "ac_cv_func_$ac_func=yes"
8483 echo "configure: failed program was:" >&5
8484 cat conftest.$ac_ext >&5
8486 eval "ac_cv_func_$ac_func=no"
8491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8492 echo "$ac_t""yes" 1>&6
8493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8494 cat >> confdefs.h <<EOF
8495 #define $ac_tr_func 1
8499 echo "$ac_t""no" 1>&6
8500 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8505 if test x$ac_cv_func_copysignl = x"yes"; then
8506 for ac_func in __signbitl
8508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8509 echo "configure:8510: checking for $ac_func" >&5
8510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8511 echo $ac_n "(cached) $ac_c" 1>&6
8513 cat > conftest.$ac_ext <<EOF
8514 #line 8515 "configure"
8515 #include "confdefs.h"
8516 /* System header to define __stub macros and hopefully few prototypes,
8517 which can conflict with char $ac_func(); below. */
8519 /* Override any gcc2 internal prototype to avoid an error. */
8520 /* We use char because int might match the return type of a gcc2
8521 builtin and then its argument prototype would still apply. */
8526 /* The GNU C library defines this for functions which it implements
8527 to always fail with ENOSYS. Some functions are actually named
8528 something starting with __ and the normal name is an alias. */
8529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8539 eval "ac_cv_func_$ac_func=yes"
8541 echo "configure: failed program was:" >&5
8542 cat conftest.$ac_ext >&5
8544 eval "ac_cv_func_$ac_func=no"
8549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8550 echo "$ac_t""yes" 1>&6
8551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8552 cat >> confdefs.h <<EOF
8553 #define $ac_tr_func 1
8557 echo "$ac_t""no" 1>&6
8558 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8564 if test -n "$LIBMATHOBJS"; then
8570 if test "$need_libmath" = yes; then
8571 GLIBCPP_BUILD_LIBMATH_TRUE=
8572 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8574 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8575 GLIBCPP_BUILD_LIBMATH_FALSE=
8581 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8582 echo "configure:8583: checking for mbstate_t" >&5
8583 cat > conftest.$ac_ext <<EOF
8584 #line 8585 "configure"
8585 #include "confdefs.h"
8588 mbstate_t teststate;
8591 if { (eval echo configure:8592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8595 echo "configure: failed program was:" >&5
8596 cat conftest.$ac_ext >&5
8601 echo "$ac_t""$have_mbstate_t" 1>&6
8602 if test x"$have_mbstate_t" = xyes; then
8603 cat >> confdefs.h <<\EOF
8604 #define HAVE_MBSTATE_T 1
8609 for ac_hdr in wchar.h
8611 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8612 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8613 echo "configure:8614: checking for $ac_hdr" >&5
8614 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8615 echo $ac_n "(cached) $ac_c" 1>&6
8617 cat > conftest.$ac_ext <<EOF
8618 #line 8619 "configure"
8619 #include "confdefs.h"
8622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8623 { (eval echo configure:8624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8625 if test -z "$ac_err"; then
8627 eval "ac_cv_header_$ac_safe=yes"
8630 echo "configure: failed program was:" >&5
8631 cat conftest.$ac_ext >&5
8633 eval "ac_cv_header_$ac_safe=no"
8637 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8638 echo "$ac_t""yes" 1>&6
8639 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8640 cat >> confdefs.h <<EOF
8641 #define $ac_tr_hdr 1
8645 echo "$ac_t""no" 1>&6
8650 for ac_hdr in wctype.h
8652 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8653 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8654 echo "configure:8655: checking for $ac_hdr" >&5
8655 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8656 echo $ac_n "(cached) $ac_c" 1>&6
8658 cat > conftest.$ac_ext <<EOF
8659 #line 8660 "configure"
8660 #include "confdefs.h"
8663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8664 { (eval echo configure:8665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8666 if test -z "$ac_err"; then
8668 eval "ac_cv_header_$ac_safe=yes"
8671 echo "configure: failed program was:" >&5
8672 cat conftest.$ac_ext >&5
8674 eval "ac_cv_header_$ac_safe=no"
8678 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8679 echo "$ac_t""yes" 1>&6
8680 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8681 cat >> confdefs.h <<EOF
8682 #define $ac_tr_hdr 1
8686 echo "$ac_t""no" 1>&6
8692 if test x"$ac_has_wchar_h" = xyes &&
8693 test x"$ac_has_wctype_h" = xyes &&
8694 test x"$enable_c_mbchar" != xno; then
8696 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8697 echo "configure:8698: checking for WCHAR_MIN and WCHAR_MAX" >&5
8698 cat > conftest.$ac_ext <<EOF
8699 #line 8700 "configure"
8700 #include "confdefs.h"
8703 int i = WCHAR_MIN; int j = WCHAR_MAX;
8706 if { (eval echo configure:8707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8708 has_wchar_minmax=yes
8710 echo "configure: failed program was:" >&5
8711 cat conftest.$ac_ext >&5
8716 echo "$ac_t""$has_wchar_minmax" 1>&6
8718 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8719 echo "configure:8720: checking for WEOF" >&5
8720 cat > conftest.$ac_ext <<EOF
8721 #line 8722 "configure"
8722 #include "confdefs.h"
8730 if { (eval echo configure:8731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8734 echo "configure: failed program was:" >&5
8735 cat conftest.$ac_ext >&5
8740 echo "$ac_t""$has_weof" 1>&6
8743 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8746 echo "configure:8747: checking for $ac_func" >&5
8747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8748 echo $ac_n "(cached) $ac_c" 1>&6
8750 cat > conftest.$ac_ext <<EOF
8751 #line 8752 "configure"
8752 #include "confdefs.h"
8753 /* System header to define __stub macros and hopefully few prototypes,
8754 which can conflict with char $ac_func(); below. */
8756 /* Override any gcc2 internal prototype to avoid an error. */
8757 /* We use char because int might match the return type of a gcc2
8758 builtin and then its argument prototype would still apply. */
8763 /* The GNU C library defines this for functions which it implements
8764 to always fail with ENOSYS. Some functions are actually named
8765 something starting with __ and the normal name is an alias. */
8766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8774 if { (eval echo configure:8775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8776 eval "ac_cv_func_$ac_func=yes"
8778 echo "configure: failed program was:" >&5
8779 cat conftest.$ac_ext >&5
8781 eval "ac_cv_func_$ac_func=no"
8786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8787 echo "$ac_t""yes" 1>&6
8788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8789 cat >> confdefs.h <<EOF
8790 #define $ac_tr_func 1
8794 echo "$ac_t""no" 1>&6
8801 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8802 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8803 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8804 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8805 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8806 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8809 echo "configure:8810: checking for $ac_func" >&5
8810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8811 echo $ac_n "(cached) $ac_c" 1>&6
8813 cat > conftest.$ac_ext <<EOF
8814 #line 8815 "configure"
8815 #include "confdefs.h"
8816 /* System header to define __stub macros and hopefully few prototypes,
8817 which can conflict with char $ac_func(); below. */
8819 /* Override any gcc2 internal prototype to avoid an error. */
8820 /* We use char because int might match the return type of a gcc2
8821 builtin and then its argument prototype would still apply. */
8826 /* The GNU C library defines this for functions which it implements
8827 to always fail with ENOSYS. Some functions are actually named
8828 something starting with __ and the normal name is an alias. */
8829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8837 if { (eval echo configure:8838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8839 eval "ac_cv_func_$ac_func=yes"
8841 echo "configure: failed program was:" >&5
8842 cat conftest.$ac_ext >&5
8844 eval "ac_cv_func_$ac_func=no"
8849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8850 echo "$ac_t""yes" 1>&6
8851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8852 cat >> confdefs.h <<EOF
8853 #define $ac_tr_func 1
8857 echo "$ac_t""no" 1>&6
8864 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8865 echo "configure:8866: checking for ISO C99 wchar_t support" >&5
8866 if test x"$has_weof" = xyes &&
8867 test x"$has_wchar_minmax" = xyes &&
8868 test x"$ac_wfuncs" = xyes; then
8869 ac_isoC99_wchar_t=yes
8871 ac_isoC99_wchar_t=no
8873 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8875 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8876 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8877 echo "configure:8878: checking for iconv.h" >&5
8878 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8879 echo $ac_n "(cached) $ac_c" 1>&6
8881 cat > conftest.$ac_ext <<EOF
8882 #line 8883 "configure"
8883 #include "confdefs.h"
8886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8887 { (eval echo configure:8888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8889 if test -z "$ac_err"; then
8891 eval "ac_cv_header_$ac_safe=yes"
8894 echo "configure: failed program was:" >&5
8895 cat conftest.$ac_ext >&5
8897 eval "ac_cv_header_$ac_safe=no"
8901 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8902 echo "$ac_t""yes" 1>&6
8905 echo "$ac_t""no" 1>&6
8909 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8910 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8911 echo "configure:8912: checking for langinfo.h" >&5
8912 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8913 echo $ac_n "(cached) $ac_c" 1>&6
8915 cat > conftest.$ac_ext <<EOF
8916 #line 8917 "configure"
8917 #include "confdefs.h"
8918 #include <langinfo.h>
8920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8921 { (eval echo configure:8922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8922 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8923 if test -z "$ac_err"; then
8925 eval "ac_cv_header_$ac_safe=yes"
8928 echo "configure: failed program was:" >&5
8929 cat conftest.$ac_ext >&5
8931 eval "ac_cv_header_$ac_safe=no"
8935 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8936 echo "$ac_t""yes" 1>&6
8937 ac_has_langinfo_h=yes
8939 echo "$ac_t""no" 1>&6
8940 ac_has_langinfo_h=no
8944 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8945 echo "configure:8946: checking for iconv in -liconv" >&5
8946 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8947 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8948 echo $ac_n "(cached) $ac_c" 1>&6
8950 ac_save_LIBS="$LIBS"
8951 LIBS="-liconv $LIBS"
8952 cat > conftest.$ac_ext <<EOF
8953 #line 8954 "configure"
8954 #include "confdefs.h"
8955 /* Override any gcc2 internal prototype to avoid an error. */
8956 /* We use char because int might match the return type of a gcc2
8957 builtin and then its argument prototype would still apply. */
8964 if { (eval echo configure:8965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8966 eval "ac_cv_lib_$ac_lib_var=yes"
8968 echo "configure: failed program was:" >&5
8969 cat conftest.$ac_ext >&5
8971 eval "ac_cv_lib_$ac_lib_var=no"
8974 LIBS="$ac_save_LIBS"
8977 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8978 echo "$ac_t""yes" 1>&6
8981 echo "$ac_t""no" 1>&6
8984 ac_save_LIBS="$LIBS"
8985 LIBS="$LIBS $libiconv"
8987 for ac_func in iconv_open iconv_close iconv nl_langinfo
8989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8990 echo "configure:8991: checking for $ac_func" >&5
8991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8992 echo $ac_n "(cached) $ac_c" 1>&6
8994 cat > conftest.$ac_ext <<EOF
8995 #line 8996 "configure"
8996 #include "confdefs.h"
8997 /* System header to define __stub macros and hopefully few prototypes,
8998 which can conflict with char $ac_func(); below. */
9000 /* Override any gcc2 internal prototype to avoid an error. */
9001 /* We use char because int might match the return type of a gcc2
9002 builtin and then its argument prototype would still apply. */
9007 /* The GNU C library defines this for functions which it implements
9008 to always fail with ENOSYS. Some functions are actually named
9009 something starting with __ and the normal name is an alias. */
9010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9018 if { (eval echo configure:9019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9020 eval "ac_cv_func_$ac_func=yes"
9022 echo "configure: failed program was:" >&5
9023 cat conftest.$ac_ext >&5
9025 eval "ac_cv_func_$ac_func=no"
9030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9031 echo "$ac_t""yes" 1>&6
9032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9033 cat >> confdefs.h <<EOF
9034 #define $ac_tr_func 1
9039 echo "$ac_t""no" 1>&6
9045 LIBS="$ac_save_LIBS"
9047 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9048 echo "configure:9049: checking for XPG2 wchar_t support" >&5
9049 if test x"$ac_has_iconv_h" = xyes &&
9050 test x"$ac_has_langinfo_h" = xyes &&
9051 test x"$ac_XPG2funcs" = xyes; then
9056 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9058 if test x"$ac_isoC99_wchar_t" = xyes &&
9059 test x"$ac_XPG2_wchar_t" = xyes; then
9060 cat >> confdefs.h <<\EOF
9061 #define _GLIBCPP_USE_WCHAR_T 1
9067 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9068 echo "configure:9069: checking for enabled wchar_t specializations" >&5
9069 echo "$ac_t""$enable_wchar_t" 1>&6
9072 if test "$enable_wchar_t" = yes; then
9073 GLIBCPP_TEST_WCHAR_T_TRUE=
9074 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9076 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9077 GLIBCPP_TEST_WCHAR_T_FALSE=
9080 os_include_dir="os/mingw32"
9083 os_include_dir="os/windiss"
9086 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9089 # If we're not using GNU ld, then there's no point in even trying these
9090 # tests. Check for that first. We should have already tested for gld
9091 # by now (in libtool), but require it now just to be safe...
9092 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9093 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9096 # The name set by libtool depends on the version of libtool. Shame on us
9097 # for depending on an impl detail, but c'est la vie. Older versions used
9098 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9099 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9100 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9101 # set (hence we're using an older libtool), then set it.
9102 if test x${with_gnu_ld+set} != xset; then
9103 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9104 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9107 with_gnu_ld=$ac_cv_prog_gnu_ld
9111 # Start by getting the version number. I think the libtool test already
9112 # does some of this, but throws away the result.
9114 ldver=`$LD --version 2>/dev/null | head -1 | \
9115 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9117 glibcpp_gnu_ld_version=`echo $ldver | \
9118 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9120 # Set --gc-sections.
9121 if test "$with_gnu_ld" = "notbroken"; then
9122 # GNU ld it is! Joy and bunny rabbits!
9124 # All these tests are for C++; save the language and the compiler flags.
9125 # Need to do this so that g++ won't try to link in libstdc++
9126 ac_test_CFLAGS="${CFLAGS+set}"
9127 ac_save_CFLAGS="$CFLAGS"
9128 CFLAGS='-x c++ -Wl,--gc-sections'
9130 # Check for -Wl,--gc-sections
9131 # XXX This test is broken at the moment, as symbols required for
9132 # linking are now in libsupc++ (not built yet.....). In addition,
9133 # this test has cored on solaris in the past. In addition,
9134 # --gc-sections doesn't really work at the moment (keeps on discarding
9135 # used sections, first .eh_frame and now some of the glibc sections for
9136 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9137 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9138 echo "configure:9139: checking for ld that supports -Wl,--gc-sections" >&5
9139 if test "$cross_compiling" = yes; then
9140 ac_sectionLDflags=yes
9142 cat > conftest.$ac_ext <<EOF
9143 #line 9144 "configure"
9144 #include "confdefs.h"
9154 if { (eval echo configure:9155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9156 ac_sectionLDflags=yes
9158 echo "configure: failed program was:" >&5
9159 cat conftest.$ac_ext >&5
9161 ac_sectionLDflags=no
9166 if test "$ac_test_CFLAGS" = set; then
9167 CFLAGS="$ac_save_CFLAGS"
9169 # this is the suspicious part
9172 if test "$ac_sectionLDflags" = "yes"; then
9173 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9175 echo "$ac_t""$ac_sectionLDflags" 1>&6
9178 # Set linker optimization flags.
9179 if test x"$with_gnu_ld" = x"yes"; then
9180 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9187 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9188 echo "configure:9189: checking for main in -lm" >&5
9189 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9190 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9191 echo $ac_n "(cached) $ac_c" 1>&6
9193 ac_save_LIBS="$LIBS"
9195 cat > conftest.$ac_ext <<EOF
9196 #line 9197 "configure"
9197 #include "confdefs.h"
9203 if { (eval echo configure:9204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9205 eval "ac_cv_lib_$ac_lib_var=yes"
9207 echo "configure: failed program was:" >&5
9208 cat conftest.$ac_ext >&5
9210 eval "ac_cv_lib_$ac_lib_var=no"
9213 LIBS="$ac_save_LIBS"
9216 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9217 echo "$ac_t""yes" 1>&6
9218 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9219 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9220 cat >> confdefs.h <<EOF
9221 #define $ac_tr_lib 1
9227 echo "$ac_t""no" 1>&6
9230 for ac_func in nan copysignf
9232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9233 echo "configure:9234: checking for $ac_func" >&5
9234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9235 echo $ac_n "(cached) $ac_c" 1>&6
9237 cat > conftest.$ac_ext <<EOF
9238 #line 9239 "configure"
9239 #include "confdefs.h"
9240 /* System header to define __stub macros and hopefully few prototypes,
9241 which can conflict with char $ac_func(); below. */
9243 /* Override any gcc2 internal prototype to avoid an error. */
9244 /* We use char because int might match the return type of a gcc2
9245 builtin and then its argument prototype would still apply. */
9250 /* The GNU C library defines this for functions which it implements
9251 to always fail with ENOSYS. Some functions are actually named
9252 something starting with __ and the normal name is an alias. */
9253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9261 if { (eval echo configure:9262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9263 eval "ac_cv_func_$ac_func=yes"
9265 echo "configure: failed program was:" >&5
9266 cat conftest.$ac_ext >&5
9268 eval "ac_cv_func_$ac_func=no"
9273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9274 echo "$ac_t""yes" 1>&6
9275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9276 cat >> confdefs.h <<EOF
9277 #define $ac_tr_func 1
9281 echo "$ac_t""no" 1>&6
9282 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9287 for ac_func in __signbit
9289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9290 echo "configure:9291: checking for $ac_func" >&5
9291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9292 echo $ac_n "(cached) $ac_c" 1>&6
9294 cat > conftest.$ac_ext <<EOF
9295 #line 9296 "configure"
9296 #include "confdefs.h"
9297 /* System header to define __stub macros and hopefully few prototypes,
9298 which can conflict with char $ac_func(); below. */
9300 /* Override any gcc2 internal prototype to avoid an error. */
9301 /* We use char because int might match the return type of a gcc2
9302 builtin and then its argument prototype would still apply. */
9307 /* The GNU C library defines this for functions which it implements
9308 to always fail with ENOSYS. Some functions are actually named
9309 something starting with __ and the normal name is an alias. */
9310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9318 if { (eval echo configure:9319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9320 eval "ac_cv_func_$ac_func=yes"
9322 echo "configure: failed program was:" >&5
9323 cat conftest.$ac_ext >&5
9325 eval "ac_cv_func_$ac_func=no"
9330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9331 echo "$ac_t""yes" 1>&6
9332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9333 cat >> confdefs.h <<EOF
9334 #define $ac_tr_func 1
9338 echo "$ac_t""no" 1>&6
9339 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9343 for ac_func in __signbitf
9345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9346 echo "configure:9347: checking for $ac_func" >&5
9347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9348 echo $ac_n "(cached) $ac_c" 1>&6
9350 cat > conftest.$ac_ext <<EOF
9351 #line 9352 "configure"
9352 #include "confdefs.h"
9353 /* System header to define __stub macros and hopefully few prototypes,
9354 which can conflict with char $ac_func(); below. */
9356 /* Override any gcc2 internal prototype to avoid an error. */
9357 /* We use char because int might match the return type of a gcc2
9358 builtin and then its argument prototype would still apply. */
9363 /* The GNU C library defines this for functions which it implements
9364 to always fail with ENOSYS. Some functions are actually named
9365 something starting with __ and the normal name is an alias. */
9366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9374 if { (eval echo configure:9375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9376 eval "ac_cv_func_$ac_func=yes"
9378 echo "configure: failed program was:" >&5
9379 cat conftest.$ac_ext >&5
9381 eval "ac_cv_func_$ac_func=no"
9386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9387 echo "$ac_t""yes" 1>&6
9388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9389 cat >> confdefs.h <<EOF
9390 #define $ac_tr_func 1
9394 echo "$ac_t""no" 1>&6
9395 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9400 if test x$ac_cv_func_copysignl = x"yes"; then
9401 for ac_func in __signbitl
9403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9404 echo "configure:9405: checking for $ac_func" >&5
9405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9406 echo $ac_n "(cached) $ac_c" 1>&6
9408 cat > conftest.$ac_ext <<EOF
9409 #line 9410 "configure"
9410 #include "confdefs.h"
9411 /* System header to define __stub macros and hopefully few prototypes,
9412 which can conflict with char $ac_func(); below. */
9414 /* Override any gcc2 internal prototype to avoid an error. */
9415 /* We use char because int might match the return type of a gcc2
9416 builtin and then its argument prototype would still apply. */
9421 /* The GNU C library defines this for functions which it implements
9422 to always fail with ENOSYS. Some functions are actually named
9423 something starting with __ and the normal name is an alias. */
9424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9432 if { (eval echo configure:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9434 eval "ac_cv_func_$ac_func=yes"
9436 echo "configure: failed program was:" >&5
9437 cat conftest.$ac_ext >&5
9439 eval "ac_cv_func_$ac_func=no"
9444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9445 echo "$ac_t""yes" 1>&6
9446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9447 cat >> confdefs.h <<EOF
9448 #define $ac_tr_func 1
9452 echo "$ac_t""no" 1>&6
9453 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9459 if test -n "$LIBMATHOBJS"; then
9465 if test "$need_libmath" = yes; then
9466 GLIBCPP_BUILD_LIBMATH_TRUE=
9467 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9469 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9470 GLIBCPP_BUILD_LIBMATH_FALSE=
9476 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9477 echo "configure:9478: checking for mbstate_t" >&5
9478 cat > conftest.$ac_ext <<EOF
9479 #line 9480 "configure"
9480 #include "confdefs.h"
9483 mbstate_t teststate;
9486 if { (eval echo configure:9487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9490 echo "configure: failed program was:" >&5
9491 cat conftest.$ac_ext >&5
9496 echo "$ac_t""$have_mbstate_t" 1>&6
9497 if test x"$have_mbstate_t" = xyes; then
9498 cat >> confdefs.h <<\EOF
9499 #define HAVE_MBSTATE_T 1
9504 for ac_hdr in wchar.h
9506 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9507 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9508 echo "configure:9509: checking for $ac_hdr" >&5
9509 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9510 echo $ac_n "(cached) $ac_c" 1>&6
9512 cat > conftest.$ac_ext <<EOF
9513 #line 9514 "configure"
9514 #include "confdefs.h"
9517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9518 { (eval echo configure:9519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9520 if test -z "$ac_err"; then
9522 eval "ac_cv_header_$ac_safe=yes"
9525 echo "configure: failed program was:" >&5
9526 cat conftest.$ac_ext >&5
9528 eval "ac_cv_header_$ac_safe=no"
9532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9533 echo "$ac_t""yes" 1>&6
9534 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9535 cat >> confdefs.h <<EOF
9536 #define $ac_tr_hdr 1
9540 echo "$ac_t""no" 1>&6
9545 for ac_hdr in wctype.h
9547 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9548 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9549 echo "configure:9550: checking for $ac_hdr" >&5
9550 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9551 echo $ac_n "(cached) $ac_c" 1>&6
9553 cat > conftest.$ac_ext <<EOF
9554 #line 9555 "configure"
9555 #include "confdefs.h"
9558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9559 { (eval echo configure:9560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9561 if test -z "$ac_err"; then
9563 eval "ac_cv_header_$ac_safe=yes"
9566 echo "configure: failed program was:" >&5
9567 cat conftest.$ac_ext >&5
9569 eval "ac_cv_header_$ac_safe=no"
9573 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9574 echo "$ac_t""yes" 1>&6
9575 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9576 cat >> confdefs.h <<EOF
9577 #define $ac_tr_hdr 1
9581 echo "$ac_t""no" 1>&6
9587 if test x"$ac_has_wchar_h" = xyes &&
9588 test x"$ac_has_wctype_h" = xyes &&
9589 test x"$enable_c_mbchar" != xno; then
9591 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9592 echo "configure:9593: checking for WCHAR_MIN and WCHAR_MAX" >&5
9593 cat > conftest.$ac_ext <<EOF
9594 #line 9595 "configure"
9595 #include "confdefs.h"
9598 int i = WCHAR_MIN; int j = WCHAR_MAX;
9601 if { (eval echo configure:9602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9603 has_wchar_minmax=yes
9605 echo "configure: failed program was:" >&5
9606 cat conftest.$ac_ext >&5
9611 echo "$ac_t""$has_wchar_minmax" 1>&6
9613 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9614 echo "configure:9615: checking for WEOF" >&5
9615 cat > conftest.$ac_ext <<EOF
9616 #line 9617 "configure"
9617 #include "confdefs.h"
9625 if { (eval echo configure:9626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9629 echo "configure: failed program was:" >&5
9630 cat conftest.$ac_ext >&5
9635 echo "$ac_t""$has_weof" 1>&6
9638 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9641 echo "configure:9642: checking for $ac_func" >&5
9642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9643 echo $ac_n "(cached) $ac_c" 1>&6
9645 cat > conftest.$ac_ext <<EOF
9646 #line 9647 "configure"
9647 #include "confdefs.h"
9648 /* System header to define __stub macros and hopefully few prototypes,
9649 which can conflict with char $ac_func(); below. */
9651 /* Override any gcc2 internal prototype to avoid an error. */
9652 /* We use char because int might match the return type of a gcc2
9653 builtin and then its argument prototype would still apply. */
9658 /* The GNU C library defines this for functions which it implements
9659 to always fail with ENOSYS. Some functions are actually named
9660 something starting with __ and the normal name is an alias. */
9661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9669 if { (eval echo configure:9670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9671 eval "ac_cv_func_$ac_func=yes"
9673 echo "configure: failed program was:" >&5
9674 cat conftest.$ac_ext >&5
9676 eval "ac_cv_func_$ac_func=no"
9681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9682 echo "$ac_t""yes" 1>&6
9683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9684 cat >> confdefs.h <<EOF
9685 #define $ac_tr_func 1
9689 echo "$ac_t""no" 1>&6
9696 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9697 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9698 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9699 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9700 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9701 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9704 echo "configure:9705: checking for $ac_func" >&5
9705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9706 echo $ac_n "(cached) $ac_c" 1>&6
9708 cat > conftest.$ac_ext <<EOF
9709 #line 9710 "configure"
9710 #include "confdefs.h"
9711 /* System header to define __stub macros and hopefully few prototypes,
9712 which can conflict with char $ac_func(); below. */
9714 /* Override any gcc2 internal prototype to avoid an error. */
9715 /* We use char because int might match the return type of a gcc2
9716 builtin and then its argument prototype would still apply. */
9721 /* The GNU C library defines this for functions which it implements
9722 to always fail with ENOSYS. Some functions are actually named
9723 something starting with __ and the normal name is an alias. */
9724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9732 if { (eval echo configure:9733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9734 eval "ac_cv_func_$ac_func=yes"
9736 echo "configure: failed program was:" >&5
9737 cat conftest.$ac_ext >&5
9739 eval "ac_cv_func_$ac_func=no"
9744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9745 echo "$ac_t""yes" 1>&6
9746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9747 cat >> confdefs.h <<EOF
9748 #define $ac_tr_func 1
9752 echo "$ac_t""no" 1>&6
9759 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9760 echo "configure:9761: checking for ISO C99 wchar_t support" >&5
9761 if test x"$has_weof" = xyes &&
9762 test x"$has_wchar_minmax" = xyes &&
9763 test x"$ac_wfuncs" = xyes; then
9764 ac_isoC99_wchar_t=yes
9766 ac_isoC99_wchar_t=no
9768 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9770 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9771 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9772 echo "configure:9773: checking for iconv.h" >&5
9773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9774 echo $ac_n "(cached) $ac_c" 1>&6
9776 cat > conftest.$ac_ext <<EOF
9777 #line 9778 "configure"
9778 #include "confdefs.h"
9781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9782 { (eval echo configure:9783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9784 if test -z "$ac_err"; then
9786 eval "ac_cv_header_$ac_safe=yes"
9789 echo "configure: failed program was:" >&5
9790 cat conftest.$ac_ext >&5
9792 eval "ac_cv_header_$ac_safe=no"
9796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9797 echo "$ac_t""yes" 1>&6
9800 echo "$ac_t""no" 1>&6
9804 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9805 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9806 echo "configure:9807: checking for langinfo.h" >&5
9807 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9808 echo $ac_n "(cached) $ac_c" 1>&6
9810 cat > conftest.$ac_ext <<EOF
9811 #line 9812 "configure"
9812 #include "confdefs.h"
9813 #include <langinfo.h>
9815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9816 { (eval echo configure:9817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9818 if test -z "$ac_err"; then
9820 eval "ac_cv_header_$ac_safe=yes"
9823 echo "configure: failed program was:" >&5
9824 cat conftest.$ac_ext >&5
9826 eval "ac_cv_header_$ac_safe=no"
9830 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9831 echo "$ac_t""yes" 1>&6
9832 ac_has_langinfo_h=yes
9834 echo "$ac_t""no" 1>&6
9835 ac_has_langinfo_h=no
9839 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9840 echo "configure:9841: checking for iconv in -liconv" >&5
9841 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9843 echo $ac_n "(cached) $ac_c" 1>&6
9845 ac_save_LIBS="$LIBS"
9846 LIBS="-liconv $LIBS"
9847 cat > conftest.$ac_ext <<EOF
9848 #line 9849 "configure"
9849 #include "confdefs.h"
9850 /* Override any gcc2 internal prototype to avoid an error. */
9851 /* We use char because int might match the return type of a gcc2
9852 builtin and then its argument prototype would still apply. */
9859 if { (eval echo configure:9860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9861 eval "ac_cv_lib_$ac_lib_var=yes"
9863 echo "configure: failed program was:" >&5
9864 cat conftest.$ac_ext >&5
9866 eval "ac_cv_lib_$ac_lib_var=no"
9869 LIBS="$ac_save_LIBS"
9872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9873 echo "$ac_t""yes" 1>&6
9876 echo "$ac_t""no" 1>&6
9879 ac_save_LIBS="$LIBS"
9880 LIBS="$LIBS $libiconv"
9882 for ac_func in iconv_open iconv_close iconv nl_langinfo
9884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9885 echo "configure:9886: checking for $ac_func" >&5
9886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9887 echo $ac_n "(cached) $ac_c" 1>&6
9889 cat > conftest.$ac_ext <<EOF
9890 #line 9891 "configure"
9891 #include "confdefs.h"
9892 /* System header to define __stub macros and hopefully few prototypes,
9893 which can conflict with char $ac_func(); below. */
9895 /* Override any gcc2 internal prototype to avoid an error. */
9896 /* We use char because int might match the return type of a gcc2
9897 builtin and then its argument prototype would still apply. */
9902 /* The GNU C library defines this for functions which it implements
9903 to always fail with ENOSYS. Some functions are actually named
9904 something starting with __ and the normal name is an alias. */
9905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9913 if { (eval echo configure:9914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9915 eval "ac_cv_func_$ac_func=yes"
9917 echo "configure: failed program was:" >&5
9918 cat conftest.$ac_ext >&5
9920 eval "ac_cv_func_$ac_func=no"
9925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9926 echo "$ac_t""yes" 1>&6
9927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9928 cat >> confdefs.h <<EOF
9929 #define $ac_tr_func 1
9934 echo "$ac_t""no" 1>&6
9940 LIBS="$ac_save_LIBS"
9942 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9943 echo "configure:9944: checking for XPG2 wchar_t support" >&5
9944 if test x"$ac_has_iconv_h" = xyes &&
9945 test x"$ac_has_langinfo_h" = xyes &&
9946 test x"$ac_XPG2funcs" = xyes; then
9951 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9953 if test x"$ac_isoC99_wchar_t" = xyes &&
9954 test x"$ac_XPG2_wchar_t" = xyes; then
9955 cat >> confdefs.h <<\EOF
9956 #define _GLIBCPP_USE_WCHAR_T 1
9962 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9963 echo "configure:9964: checking for enabled wchar_t specializations" >&5
9964 echo "$ac_t""$enable_wchar_t" 1>&6
9967 if test "$enable_wchar_t" = yes; then
9968 GLIBCPP_TEST_WCHAR_T_TRUE=
9969 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9971 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9972 GLIBCPP_TEST_WCHAR_T_FALSE=
9975 os_include_dir="os/qnx/qnx6.1"
9976 cat >> confdefs.h <<\EOF
9980 cat >> confdefs.h <<\EOF
9984 cat >> confdefs.h <<\EOF
9985 #define HAVE_COSHF 1
9988 cat >> confdefs.h <<\EOF
9989 #define HAVE_COSHL 1
9992 cat >> confdefs.h <<\EOF
9996 cat >> confdefs.h <<\EOF
10000 cat >> confdefs.h <<\EOF
10001 #define HAVE_LOG10F 1
10004 cat >> confdefs.h <<\EOF
10005 #define HAVE_LOG10L 1
10008 cat >> confdefs.h <<\EOF
10009 #define HAVE_SINF 1
10012 cat >> confdefs.h <<\EOF
10013 #define HAVE_SINL 1
10016 cat >> confdefs.h <<\EOF
10017 #define HAVE_SINHF 1
10020 cat >> confdefs.h <<\EOF
10021 #define HAVE_SINHL 1
10026 os_include_dir="os/newlib"
10027 cat >> confdefs.h <<\EOF
10028 #define HAVE_HYPOT 1
10038 cat >> confdefs.h <<\EOF
10039 #define HAVE_ACOSF 1
10042 cat >> confdefs.h <<\EOF
10043 #define HAVE_ASINF 1
10046 cat >> confdefs.h <<\EOF
10047 #define HAVE_ATAN2F 1
10050 cat >> confdefs.h <<\EOF
10051 #define HAVE_ATANF 1
10054 cat >> confdefs.h <<\EOF
10055 #define HAVE_CEILF 1
10058 cat >> confdefs.h <<\EOF
10059 #define HAVE_COPYSIGN 1
10062 cat >> confdefs.h <<\EOF
10063 #define HAVE_COPYSIGNF 1
10066 cat >> confdefs.h <<\EOF
10067 #define HAVE_COSF 1
10070 cat >> confdefs.h <<\EOF
10071 #define HAVE_COSHF 1
10074 cat >> confdefs.h <<\EOF
10075 #define HAVE_EXPF 1
10078 cat >> confdefs.h <<\EOF
10079 #define HAVE_FABSF 1
10082 cat >> confdefs.h <<\EOF
10083 #define HAVE_FLOORF 1
10086 cat >> confdefs.h <<\EOF
10087 #define HAVE_FMODF 1
10090 cat >> confdefs.h <<\EOF
10091 #define HAVE_FREXPF 1
10094 cat >> confdefs.h <<\EOF
10095 #define HAVE_LDEXPF 1
10098 cat >> confdefs.h <<\EOF
10099 #define HAVE_LOG10F 1
10102 cat >> confdefs.h <<\EOF
10103 #define HAVE_LOGF 1
10106 cat >> confdefs.h <<\EOF
10107 #define HAVE_MODFF 1
10110 cat >> confdefs.h <<\EOF
10111 #define HAVE_POWF 1
10114 cat >> confdefs.h <<\EOF
10115 #define HAVE_SINF 1
10118 cat >> confdefs.h <<\EOF
10119 #define HAVE_SINHF 1
10122 cat >> confdefs.h <<\EOF
10123 #define HAVE_SQRTF 1
10126 cat >> confdefs.h <<\EOF
10127 #define HAVE_TANF 1
10130 cat >> confdefs.h <<\EOF
10131 #define HAVE_TANHF 1
10136 # Must replicate generic section since we don't have strtof or strtold.
10137 cat >> confdefs.h <<\EOF
10138 #define HAVE_MMAP 1
10141 cat >> confdefs.h <<\EOF
10142 #define HAVE_ACOSF 1
10145 cat >> confdefs.h <<\EOF
10146 #define HAVE_ASINF 1
10149 cat >> confdefs.h <<\EOF
10150 #define HAVE_ATAN2F 1
10153 cat >> confdefs.h <<\EOF
10154 #define HAVE_ATANF 1
10157 cat >> confdefs.h <<\EOF
10158 #define HAVE_CEILF 1
10161 cat >> confdefs.h <<\EOF
10162 #define HAVE_COPYSIGN 1
10165 cat >> confdefs.h <<\EOF
10166 #define HAVE_COPYSIGNF 1
10169 cat >> confdefs.h <<\EOF
10170 #define HAVE_COSF 1
10173 cat >> confdefs.h <<\EOF
10174 #define HAVE_COSHF 1
10177 cat >> confdefs.h <<\EOF
10178 #define HAVE_EXPF 1
10181 cat >> confdefs.h <<\EOF
10182 #define HAVE_FABSF 1
10185 cat >> confdefs.h <<\EOF
10186 #define HAVE_FLOORF 1
10189 cat >> confdefs.h <<\EOF
10190 #define HAVE_FMODF 1
10193 cat >> confdefs.h <<\EOF
10194 #define HAVE_FREXPF 1
10197 cat >> confdefs.h <<\EOF
10198 #define HAVE_LDEXPF 1
10201 cat >> confdefs.h <<\EOF
10202 #define HAVE_LOG10F 1
10205 cat >> confdefs.h <<\EOF
10206 #define HAVE_LOGF 1
10209 cat >> confdefs.h <<\EOF
10210 #define HAVE_MODFF 1
10213 cat >> confdefs.h <<\EOF
10214 #define HAVE_POWF 1
10217 cat >> confdefs.h <<\EOF
10218 #define HAVE_SINF 1
10221 cat >> confdefs.h <<\EOF
10222 #define HAVE_SINHF 1
10225 cat >> confdefs.h <<\EOF
10226 #define HAVE_SQRTF 1
10229 cat >> confdefs.h <<\EOF
10230 #define HAVE_TANF 1
10233 cat >> confdefs.h <<\EOF
10234 #define HAVE_TANHF 1
10239 # GLIBCPP_CHECK_STDLIB_SUPPORT
10240 cat >> confdefs.h <<\EOF
10241 #define HAVE_STRTOF 1
10244 cat >> confdefs.h <<\EOF
10245 #define HAVE_STRTOLD 1
10249 cat >> confdefs.h <<\EOF
10250 #define HAVE_MMAP 1
10254 cat >> confdefs.h <<\EOF
10255 #define HAVE_ACOSF 1
10258 cat >> confdefs.h <<\EOF
10259 #define HAVE_ASINF 1
10262 cat >> confdefs.h <<\EOF
10263 #define HAVE_ATAN2F 1
10266 cat >> confdefs.h <<\EOF
10267 #define HAVE_ATANF 1
10270 cat >> confdefs.h <<\EOF
10271 #define HAVE_CEILF 1
10274 cat >> confdefs.h <<\EOF
10275 #define HAVE_COPYSIGN 1
10278 cat >> confdefs.h <<\EOF
10279 #define HAVE_COPYSIGNF 1
10282 cat >> confdefs.h <<\EOF
10283 #define HAVE_COSF 1
10286 cat >> confdefs.h <<\EOF
10287 #define HAVE_COSHF 1
10290 cat >> confdefs.h <<\EOF
10291 #define HAVE_EXPF 1
10294 cat >> confdefs.h <<\EOF
10295 #define HAVE_FABSF 1
10298 cat >> confdefs.h <<\EOF
10299 #define HAVE_FLOORF 1
10302 cat >> confdefs.h <<\EOF
10303 #define HAVE_FMODF 1
10306 cat >> confdefs.h <<\EOF
10307 #define HAVE_FREXPF 1
10310 cat >> confdefs.h <<\EOF
10311 #define HAVE_LDEXPF 1
10314 cat >> confdefs.h <<\EOF
10315 #define HAVE_LOG10F 1
10318 cat >> confdefs.h <<\EOF
10319 #define HAVE_LOGF 1
10322 cat >> confdefs.h <<\EOF
10323 #define HAVE_MODFF 1
10326 cat >> confdefs.h <<\EOF
10327 #define HAVE_POWF 1
10330 cat >> confdefs.h <<\EOF
10331 #define HAVE_SINF 1
10334 cat >> confdefs.h <<\EOF
10335 #define HAVE_SINHF 1
10338 cat >> confdefs.h <<\EOF
10339 #define HAVE_SQRTF 1
10342 cat >> confdefs.h <<\EOF
10343 #define HAVE_TANF 1
10346 cat >> confdefs.h <<\EOF
10347 #define HAVE_TANHF 1
10353 # At some point, we should differentiate between architectures
10354 # like x86, which have long double versions, and alpha/powerpc/etc.,
10355 # which don't. For the time being, punt.
10356 if test x"long_double_math_on_this_cpu" = x"yes"; then
10357 cat >> confdefs.h <<\EOF
10358 #define HAVE_ACOSL 1
10361 cat >> confdefs.h <<\EOF
10362 #define HAVE_ASINL 1
10365 cat >> confdefs.h <<\EOF
10366 #define HAVE_ATAN2L 1
10369 cat >> confdefs.h <<\EOF
10370 #define HAVE_ATANL 1
10373 cat >> confdefs.h <<\EOF
10374 #define HAVE_CEILL 1
10377 cat >> confdefs.h <<\EOF
10378 #define HAVE_COPYSIGNL 1
10381 cat >> confdefs.h <<\EOF
10382 #define HAVE_COSL 1
10385 cat >> confdefs.h <<\EOF
10386 #define HAVE_COSHL 1
10389 cat >> confdefs.h <<\EOF
10390 #define HAVE_EXPL 1
10393 cat >> confdefs.h <<\EOF
10394 #define HAVE_FABSL 1
10397 cat >> confdefs.h <<\EOF
10398 #define HAVE_FLOORL 1
10401 cat >> confdefs.h <<\EOF
10402 #define HAVE_FMODL 1
10405 cat >> confdefs.h <<\EOF
10406 #define HAVE_FREXPL 1
10409 cat >> confdefs.h <<\EOF
10410 #define HAVE_LDEXPL 1
10413 cat >> confdefs.h <<\EOF
10414 #define HAVE_LOG10L 1
10417 cat >> confdefs.h <<\EOF
10418 #define HAVE_LOGL 1
10421 cat >> confdefs.h <<\EOF
10422 #define HAVE_MODFL 1
10425 cat >> confdefs.h <<\EOF
10426 #define HAVE_POWL 1
10429 cat >> confdefs.h <<\EOF
10430 #define HAVE_SINCOSL 1
10433 cat >> confdefs.h <<\EOF
10434 #define HAVE_SINL 1
10437 cat >> confdefs.h <<\EOF
10438 #define HAVE_SINHL 1
10441 cat >> confdefs.h <<\EOF
10442 #define HAVE_SQRTL 1
10445 cat >> confdefs.h <<\EOF
10446 #define HAVE_TANL 1
10449 cat >> confdefs.h <<\EOF
10450 #define HAVE_TANHL 1
10457 # We are being configured natively. We can do more elaborate tests
10458 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10460 GLIBCPP_IS_CROSS_COMPILING=0
10463 # Check for available headers.
10464 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10465 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10468 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10469 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10470 echo "configure:10471: checking for $ac_hdr" >&5
10471 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10472 echo $ac_n "(cached) $ac_c" 1>&6
10474 cat > conftest.$ac_ext <<EOF
10475 #line 10476 "configure"
10476 #include "confdefs.h"
10479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10480 { (eval echo configure:10481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10482 if test -z "$ac_err"; then
10484 eval "ac_cv_header_$ac_safe=yes"
10487 echo "configure: failed program was:" >&5
10488 cat conftest.$ac_ext >&5
10490 eval "ac_cv_header_$ac_safe=no"
10494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10495 echo "$ac_t""yes" 1>&6
10496 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10497 cat >> confdefs.h <<EOF
10498 #define $ac_tr_hdr 1
10502 echo "$ac_t""no" 1>&6
10508 # All these tests are for C++; save the language and the compiler flags.
10509 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10510 # found in GLIBCPP_CONFIGURE.
10513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10514 ac_cpp='$CXXCPP $CPPFLAGS'
10515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10517 cross_compiling=$ac_cv_prog_cxx_cross
10519 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10520 ac_save_CXXFLAGS="$CXXFLAGS"
10522 # Check for maintainer-mode bits.
10523 if test x"$USE_MAINTAINER_MODE" = xno; then
10529 # Check for -ffunction-sections -fdata-sections
10530 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10531 echo "configure:10532: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10532 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10533 cat > conftest.$ac_ext <<EOF
10534 #line 10535 "configure"
10535 #include "confdefs.h"
10542 if { (eval echo configure:10543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10546 echo "configure: failed program was:" >&5
10547 cat conftest.$ac_ext >&5
10552 if test "$ac_test_CXXFLAGS" = set; then
10553 CXXFLAGS="$ac_save_CXXFLAGS"
10555 # this is the suspicious part
10558 if test x"$ac_fdsections" = x"yes"; then
10559 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10561 echo "$ac_t""$ac_fdsections" 1>&6
10564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10565 ac_cpp='$CPP $CPPFLAGS'
10566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10568 cross_compiling=$ac_cv_prog_cc_cross
10574 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10575 ac_save_CXXFLAGS="$CXXFLAGS"
10576 CXXFLAGS='-Werror -Winvalid-pch -Wno-deprecated -x c++-header'
10578 echo $ac_n "checking for compiler that seems to compile .gch files""... $ac_c" 1>&6
10579 echo "configure:10580: checking for compiler that seems to compile .gch files" >&5
10580 if test x${glibcpp_pch_comp+set} != xset; then
10581 if eval "test \"`echo '$''{'glibcpp_pch_comp'+set}'`\" = set"; then
10582 echo $ac_n "(cached) $ac_c" 1>&6
10587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10588 ac_cpp='$CXXCPP $CPPFLAGS'
10589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10591 cross_compiling=$ac_cv_prog_cxx_cross
10593 cat > conftest.$ac_ext <<EOF
10594 #line 10595 "configure"
10595 #include "confdefs.h"
10602 if { (eval echo configure:10603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10604 glibcpp_pch_comp=yes
10606 echo "configure: failed program was:" >&5
10607 cat conftest.$ac_ext >&5
10609 glibcpp_pch_comp=no
10613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10614 ac_cpp='$CPP $CPPFLAGS'
10615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10617 cross_compiling=$ac_cv_prog_cc_cross
10623 echo "$ac_t""$glibcpp_pch_comp" 1>&6
10625 CXXFLAGS="$ac_save_CXXFLAGS"
10628 if test "$glibcpp_pch_comp" = yes; then
10629 GLIBCPP_BUILD_PCH_TRUE=
10630 GLIBCPP_BUILD_PCH_FALSE='#'
10632 GLIBCPP_BUILD_PCH_TRUE='#'
10633 GLIBCPP_BUILD_PCH_FALSE=
10637 # If we're not using GNU ld, then there's no point in even trying these
10638 # tests. Check for that first. We should have already tested for gld
10639 # by now (in libtool), but require it now just to be safe...
10640 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10641 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10644 # The name set by libtool depends on the version of libtool. Shame on us
10645 # for depending on an impl detail, but c'est la vie. Older versions used
10646 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10647 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10648 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10649 # set (hence we're using an older libtool), then set it.
10650 if test x${with_gnu_ld+set} != xset; then
10651 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10652 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10655 with_gnu_ld=$ac_cv_prog_gnu_ld
10659 # Start by getting the version number. I think the libtool test already
10660 # does some of this, but throws away the result.
10662 ldver=`$LD --version 2>/dev/null | head -1 | \
10663 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10665 glibcpp_gnu_ld_version=`echo $ldver | \
10666 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10668 # Set --gc-sections.
10669 if test "$with_gnu_ld" = "notbroken"; then
10670 # GNU ld it is! Joy and bunny rabbits!
10672 # All these tests are for C++; save the language and the compiler flags.
10673 # Need to do this so that g++ won't try to link in libstdc++
10674 ac_test_CFLAGS="${CFLAGS+set}"
10675 ac_save_CFLAGS="$CFLAGS"
10676 CFLAGS='-x c++ -Wl,--gc-sections'
10678 # Check for -Wl,--gc-sections
10679 # XXX This test is broken at the moment, as symbols required for
10680 # linking are now in libsupc++ (not built yet.....). In addition,
10681 # this test has cored on solaris in the past. In addition,
10682 # --gc-sections doesn't really work at the moment (keeps on discarding
10683 # used sections, first .eh_frame and now some of the glibc sections for
10684 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10685 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10686 echo "configure:10687: checking for ld that supports -Wl,--gc-sections" >&5
10687 if test "$cross_compiling" = yes; then
10688 ac_sectionLDflags=yes
10690 cat > conftest.$ac_ext <<EOF
10691 #line 10692 "configure"
10692 #include "confdefs.h"
10702 if { (eval echo configure:10703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10704 ac_sectionLDflags=yes
10706 echo "configure: failed program was:" >&5
10707 cat conftest.$ac_ext >&5
10709 ac_sectionLDflags=no
10714 if test "$ac_test_CFLAGS" = set; then
10715 CFLAGS="$ac_save_CFLAGS"
10717 # this is the suspicious part
10720 if test "$ac_sectionLDflags" = "yes"; then
10721 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10723 echo "$ac_t""$ac_sectionLDflags" 1>&6
10726 # Set linker optimization flags.
10727 if test x"$with_gnu_ld" = x"yes"; then
10728 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10735 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10736 ac_save_CXXFLAGS="$CXXFLAGS"
10737 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10739 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10740 echo "configure:10741: checking for sin in -lm" >&5
10741 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10742 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10743 echo $ac_n "(cached) $ac_c" 1>&6
10745 ac_save_LIBS="$LIBS"
10747 cat > conftest.$ac_ext <<EOF
10748 #line 10749 "configure"
10749 #include "confdefs.h"
10750 /* Override any gcc2 internal prototype to avoid an error. */
10751 /* We use char because int might match the return type of a gcc2
10752 builtin and then its argument prototype would still apply. */
10759 if { (eval echo configure:10760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10761 eval "ac_cv_lib_$ac_lib_var=yes"
10763 echo "configure: failed program was:" >&5
10764 cat conftest.$ac_ext >&5
10766 eval "ac_cv_lib_$ac_lib_var=no"
10769 LIBS="$ac_save_LIBS"
10772 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10773 echo "$ac_t""yes" 1>&6
10776 echo "$ac_t""no" 1>&6
10779 ac_save_LIBS="$LIBS"
10784 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10785 echo "configure:10786: checking for isinf declaration" >&5
10786 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10787 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10788 echo $ac_n "(cached) $ac_c" 1>&6
10793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10794 ac_cpp='$CXXCPP $CPPFLAGS'
10795 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10796 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10797 cross_compiling=$ac_cv_prog_cxx_cross
10799 cat > conftest.$ac_ext <<EOF
10800 #line 10801 "configure"
10801 #include "confdefs.h"
10803 #ifdef HAVE_IEEEFP_H
10804 #include <ieeefp.h>
10811 if { (eval echo configure:10812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10813 glibcpp_cv_func_isinf_use=yes
10815 echo "configure: failed program was:" >&5
10816 cat conftest.$ac_ext >&5
10818 glibcpp_cv_func_isinf_use=no
10822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10823 ac_cpp='$CPP $CPPFLAGS'
10824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10826 cross_compiling=$ac_cv_prog_cc_cross
10832 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10834 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10835 for ac_func in isinf
10837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10838 echo "configure:10839: checking for $ac_func" >&5
10839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10840 echo $ac_n "(cached) $ac_c" 1>&6
10842 cat > conftest.$ac_ext <<EOF
10843 #line 10844 "configure"
10844 #include "confdefs.h"
10845 /* System header to define __stub macros and hopefully few prototypes,
10846 which can conflict with char $ac_func(); below. */
10847 #include <assert.h>
10848 /* Override any gcc2 internal prototype to avoid an error. */
10849 /* We use char because int might match the return type of a gcc2
10850 builtin and then its argument prototype would still apply. */
10855 /* The GNU C library defines this for functions which it implements
10856 to always fail with ENOSYS. Some functions are actually named
10857 something starting with __ and the normal name is an alias. */
10858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10866 if { (eval echo configure:10867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10868 eval "ac_cv_func_$ac_func=yes"
10870 echo "configure: failed program was:" >&5
10871 cat conftest.$ac_ext >&5
10873 eval "ac_cv_func_$ac_func=no"
10878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10879 echo "$ac_t""yes" 1>&6
10880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10881 cat >> confdefs.h <<EOF
10882 #define $ac_tr_func 1
10886 echo "$ac_t""no" 1>&6
10892 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10893 echo "configure:10894: checking for _isinf declaration" >&5
10894 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10895 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10896 echo $ac_n "(cached) $ac_c" 1>&6
10901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10902 ac_cpp='$CXXCPP $CPPFLAGS'
10903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10905 cross_compiling=$ac_cv_prog_cxx_cross
10907 cat > conftest.$ac_ext <<EOF
10908 #line 10909 "configure"
10909 #include "confdefs.h"
10911 #ifdef HAVE_IEEEFP_H
10912 #include <ieeefp.h>
10919 if { (eval echo configure:10920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10921 glibcpp_cv_func__isinf_use=yes
10923 echo "configure: failed program was:" >&5
10924 cat conftest.$ac_ext >&5
10926 glibcpp_cv_func__isinf_use=no
10930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10931 ac_cpp='$CPP $CPPFLAGS'
10932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10934 cross_compiling=$ac_cv_prog_cc_cross
10940 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10942 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10943 for ac_func in _isinf
10945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10946 echo "configure:10947: checking for $ac_func" >&5
10947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10948 echo $ac_n "(cached) $ac_c" 1>&6
10950 cat > conftest.$ac_ext <<EOF
10951 #line 10952 "configure"
10952 #include "confdefs.h"
10953 /* System header to define __stub macros and hopefully few prototypes,
10954 which can conflict with char $ac_func(); below. */
10955 #include <assert.h>
10956 /* Override any gcc2 internal prototype to avoid an error. */
10957 /* We use char because int might match the return type of a gcc2
10958 builtin and then its argument prototype would still apply. */
10963 /* The GNU C library defines this for functions which it implements
10964 to always fail with ENOSYS. Some functions are actually named
10965 something starting with __ and the normal name is an alias. */
10966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10974 if { (eval echo configure:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10976 eval "ac_cv_func_$ac_func=yes"
10978 echo "configure: failed program was:" >&5
10979 cat conftest.$ac_ext >&5
10981 eval "ac_cv_func_$ac_func=no"
10986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10987 echo "$ac_t""yes" 1>&6
10988 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10989 cat >> confdefs.h <<EOF
10990 #define $ac_tr_func 1
10994 echo "$ac_t""no" 1>&6
11003 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
11004 echo "configure:11005: checking for isnan declaration" >&5
11005 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
11006 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
11007 echo $ac_n "(cached) $ac_c" 1>&6
11012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11013 ac_cpp='$CXXCPP $CPPFLAGS'
11014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11016 cross_compiling=$ac_cv_prog_cxx_cross
11018 cat > conftest.$ac_ext <<EOF
11019 #line 11020 "configure"
11020 #include "confdefs.h"
11022 #ifdef HAVE_IEEEFP_H
11023 #include <ieeefp.h>
11030 if { (eval echo configure:11031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11032 glibcpp_cv_func_isnan_use=yes
11034 echo "configure: failed program was:" >&5
11035 cat conftest.$ac_ext >&5
11037 glibcpp_cv_func_isnan_use=no
11041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11042 ac_cpp='$CPP $CPPFLAGS'
11043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11045 cross_compiling=$ac_cv_prog_cc_cross
11051 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11053 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11054 for ac_func in isnan
11056 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11057 echo "configure:11058: checking for $ac_func" >&5
11058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11059 echo $ac_n "(cached) $ac_c" 1>&6
11061 cat > conftest.$ac_ext <<EOF
11062 #line 11063 "configure"
11063 #include "confdefs.h"
11064 /* System header to define __stub macros and hopefully few prototypes,
11065 which can conflict with char $ac_func(); below. */
11066 #include <assert.h>
11067 /* Override any gcc2 internal prototype to avoid an error. */
11068 /* We use char because int might match the return type of a gcc2
11069 builtin and then its argument prototype would still apply. */
11074 /* The GNU C library defines this for functions which it implements
11075 to always fail with ENOSYS. Some functions are actually named
11076 something starting with __ and the normal name is an alias. */
11077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11085 if { (eval echo configure:11086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11087 eval "ac_cv_func_$ac_func=yes"
11089 echo "configure: failed program was:" >&5
11090 cat conftest.$ac_ext >&5
11092 eval "ac_cv_func_$ac_func=no"
11097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11098 echo "$ac_t""yes" 1>&6
11099 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11100 cat >> confdefs.h <<EOF
11101 #define $ac_tr_func 1
11105 echo "$ac_t""no" 1>&6
11111 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11112 echo "configure:11113: checking for _isnan declaration" >&5
11113 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11114 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11115 echo $ac_n "(cached) $ac_c" 1>&6
11120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11121 ac_cpp='$CXXCPP $CPPFLAGS'
11122 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11123 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11124 cross_compiling=$ac_cv_prog_cxx_cross
11126 cat > conftest.$ac_ext <<EOF
11127 #line 11128 "configure"
11128 #include "confdefs.h"
11130 #ifdef HAVE_IEEEFP_H
11131 #include <ieeefp.h>
11138 if { (eval echo configure:11139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11140 glibcpp_cv_func__isnan_use=yes
11142 echo "configure: failed program was:" >&5
11143 cat conftest.$ac_ext >&5
11145 glibcpp_cv_func__isnan_use=no
11149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11150 ac_cpp='$CPP $CPPFLAGS'
11151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11153 cross_compiling=$ac_cv_prog_cc_cross
11159 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11161 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11162 for ac_func in _isnan
11164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11165 echo "configure:11166: checking for $ac_func" >&5
11166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11167 echo $ac_n "(cached) $ac_c" 1>&6
11169 cat > conftest.$ac_ext <<EOF
11170 #line 11171 "configure"
11171 #include "confdefs.h"
11172 /* System header to define __stub macros and hopefully few prototypes,
11173 which can conflict with char $ac_func(); below. */
11174 #include <assert.h>
11175 /* Override any gcc2 internal prototype to avoid an error. */
11176 /* We use char because int might match the return type of a gcc2
11177 builtin and then its argument prototype would still apply. */
11182 /* The GNU C library defines this for functions which it implements
11183 to always fail with ENOSYS. Some functions are actually named
11184 something starting with __ and the normal name is an alias. */
11185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11193 if { (eval echo configure:11194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11195 eval "ac_cv_func_$ac_func=yes"
11197 echo "configure: failed program was:" >&5
11198 cat conftest.$ac_ext >&5
11200 eval "ac_cv_func_$ac_func=no"
11205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11206 echo "$ac_t""yes" 1>&6
11207 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11208 cat >> confdefs.h <<EOF
11209 #define $ac_tr_func 1
11213 echo "$ac_t""no" 1>&6
11222 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11223 echo "configure:11224: checking for finite declaration" >&5
11224 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11225 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11226 echo $ac_n "(cached) $ac_c" 1>&6
11231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11232 ac_cpp='$CXXCPP $CPPFLAGS'
11233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11235 cross_compiling=$ac_cv_prog_cxx_cross
11237 cat > conftest.$ac_ext <<EOF
11238 #line 11239 "configure"
11239 #include "confdefs.h"
11241 #ifdef HAVE_IEEEFP_H
11242 #include <ieeefp.h>
11249 if { (eval echo configure:11250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11251 glibcpp_cv_func_finite_use=yes
11253 echo "configure: failed program was:" >&5
11254 cat conftest.$ac_ext >&5
11256 glibcpp_cv_func_finite_use=no
11260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11261 ac_cpp='$CPP $CPPFLAGS'
11262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11264 cross_compiling=$ac_cv_prog_cc_cross
11270 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11272 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11273 for ac_func in finite
11275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11276 echo "configure:11277: checking for $ac_func" >&5
11277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11278 echo $ac_n "(cached) $ac_c" 1>&6
11280 cat > conftest.$ac_ext <<EOF
11281 #line 11282 "configure"
11282 #include "confdefs.h"
11283 /* System header to define __stub macros and hopefully few prototypes,
11284 which can conflict with char $ac_func(); below. */
11285 #include <assert.h>
11286 /* Override any gcc2 internal prototype to avoid an error. */
11287 /* We use char because int might match the return type of a gcc2
11288 builtin and then its argument prototype would still apply. */
11293 /* The GNU C library defines this for functions which it implements
11294 to always fail with ENOSYS. Some functions are actually named
11295 something starting with __ and the normal name is an alias. */
11296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11304 if { (eval echo configure:11305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11306 eval "ac_cv_func_$ac_func=yes"
11308 echo "configure: failed program was:" >&5
11309 cat conftest.$ac_ext >&5
11311 eval "ac_cv_func_$ac_func=no"
11316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11317 echo "$ac_t""yes" 1>&6
11318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11319 cat >> confdefs.h <<EOF
11320 #define $ac_tr_func 1
11324 echo "$ac_t""no" 1>&6
11330 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11331 echo "configure:11332: checking for _finite declaration" >&5
11332 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11333 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11334 echo $ac_n "(cached) $ac_c" 1>&6
11339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11340 ac_cpp='$CXXCPP $CPPFLAGS'
11341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11343 cross_compiling=$ac_cv_prog_cxx_cross
11345 cat > conftest.$ac_ext <<EOF
11346 #line 11347 "configure"
11347 #include "confdefs.h"
11349 #ifdef HAVE_IEEEFP_H
11350 #include <ieeefp.h>
11357 if { (eval echo configure:11358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11359 glibcpp_cv_func__finite_use=yes
11361 echo "configure: failed program was:" >&5
11362 cat conftest.$ac_ext >&5
11364 glibcpp_cv_func__finite_use=no
11368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11369 ac_cpp='$CPP $CPPFLAGS'
11370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11372 cross_compiling=$ac_cv_prog_cc_cross
11378 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11380 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11381 for ac_func in _finite
11383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11384 echo "configure:11385: checking for $ac_func" >&5
11385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11386 echo $ac_n "(cached) $ac_c" 1>&6
11388 cat > conftest.$ac_ext <<EOF
11389 #line 11390 "configure"
11390 #include "confdefs.h"
11391 /* System header to define __stub macros and hopefully few prototypes,
11392 which can conflict with char $ac_func(); below. */
11393 #include <assert.h>
11394 /* Override any gcc2 internal prototype to avoid an error. */
11395 /* We use char because int might match the return type of a gcc2
11396 builtin and then its argument prototype would still apply. */
11401 /* The GNU C library defines this for functions which it implements
11402 to always fail with ENOSYS. Some functions are actually named
11403 something starting with __ and the normal name is an alias. */
11404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11412 if { (eval echo configure:11413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11414 eval "ac_cv_func_$ac_func=yes"
11416 echo "configure: failed program was:" >&5
11417 cat conftest.$ac_ext >&5
11419 eval "ac_cv_func_$ac_func=no"
11424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11425 echo "$ac_t""yes" 1>&6
11426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11427 cat >> confdefs.h <<EOF
11428 #define $ac_tr_func 1
11432 echo "$ac_t""no" 1>&6
11441 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11442 echo "configure:11443: checking for copysign declaration" >&5
11443 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11444 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11445 echo $ac_n "(cached) $ac_c" 1>&6
11450 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11451 ac_cpp='$CXXCPP $CPPFLAGS'
11452 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11453 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11454 cross_compiling=$ac_cv_prog_cxx_cross
11456 cat > conftest.$ac_ext <<EOF
11457 #line 11458 "configure"
11458 #include "confdefs.h"
11464 if { (eval echo configure:11465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11466 glibcpp_cv_func_copysign_use=yes
11468 echo "configure: failed program was:" >&5
11469 cat conftest.$ac_ext >&5
11471 glibcpp_cv_func_copysign_use=no
11475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11476 ac_cpp='$CPP $CPPFLAGS'
11477 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11478 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11479 cross_compiling=$ac_cv_prog_cc_cross
11485 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11487 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11488 for ac_func in copysign
11490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11491 echo "configure:11492: checking for $ac_func" >&5
11492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11493 echo $ac_n "(cached) $ac_c" 1>&6
11495 cat > conftest.$ac_ext <<EOF
11496 #line 11497 "configure"
11497 #include "confdefs.h"
11498 /* System header to define __stub macros and hopefully few prototypes,
11499 which can conflict with char $ac_func(); below. */
11500 #include <assert.h>
11501 /* Override any gcc2 internal prototype to avoid an error. */
11502 /* We use char because int might match the return type of a gcc2
11503 builtin and then its argument prototype would still apply. */
11508 /* The GNU C library defines this for functions which it implements
11509 to always fail with ENOSYS. Some functions are actually named
11510 something starting with __ and the normal name is an alias. */
11511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11519 if { (eval echo configure:11520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11521 eval "ac_cv_func_$ac_func=yes"
11523 echo "configure: failed program was:" >&5
11524 cat conftest.$ac_ext >&5
11526 eval "ac_cv_func_$ac_func=no"
11531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11532 echo "$ac_t""yes" 1>&6
11533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11534 cat >> confdefs.h <<EOF
11535 #define $ac_tr_func 1
11539 echo "$ac_t""no" 1>&6
11545 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11546 echo "configure:11547: checking for _copysign declaration" >&5
11547 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11548 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11549 echo $ac_n "(cached) $ac_c" 1>&6
11554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11555 ac_cpp='$CXXCPP $CPPFLAGS'
11556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11558 cross_compiling=$ac_cv_prog_cxx_cross
11560 cat > conftest.$ac_ext <<EOF
11561 #line 11562 "configure"
11562 #include "confdefs.h"
11568 if { (eval echo configure:11569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11570 glibcpp_cv_func__copysign_use=yes
11572 echo "configure: failed program was:" >&5
11573 cat conftest.$ac_ext >&5
11575 glibcpp_cv_func__copysign_use=no
11579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11580 ac_cpp='$CPP $CPPFLAGS'
11581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11583 cross_compiling=$ac_cv_prog_cc_cross
11589 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11591 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11592 for ac_func in _copysign
11594 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11595 echo "configure:11596: checking for $ac_func" >&5
11596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11597 echo $ac_n "(cached) $ac_c" 1>&6
11599 cat > conftest.$ac_ext <<EOF
11600 #line 11601 "configure"
11601 #include "confdefs.h"
11602 /* System header to define __stub macros and hopefully few prototypes,
11603 which can conflict with char $ac_func(); below. */
11604 #include <assert.h>
11605 /* Override any gcc2 internal prototype to avoid an error. */
11606 /* We use char because int might match the return type of a gcc2
11607 builtin and then its argument prototype would still apply. */
11612 /* The GNU C library defines this for functions which it implements
11613 to always fail with ENOSYS. Some functions are actually named
11614 something starting with __ and the normal name is an alias. */
11615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11623 if { (eval echo configure:11624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11625 eval "ac_cv_func_$ac_func=yes"
11627 echo "configure: failed program was:" >&5
11628 cat conftest.$ac_ext >&5
11630 eval "ac_cv_func_$ac_func=no"
11635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11636 echo "$ac_t""yes" 1>&6
11637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11638 cat >> confdefs.h <<EOF
11639 #define $ac_tr_func 1
11643 echo "$ac_t""no" 1>&6
11652 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11653 echo "configure:11654: checking for sincos declaration" >&5
11654 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11655 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11656 echo $ac_n "(cached) $ac_c" 1>&6
11661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11662 ac_cpp='$CXXCPP $CPPFLAGS'
11663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11665 cross_compiling=$ac_cv_prog_cxx_cross
11667 cat > conftest.$ac_ext <<EOF
11668 #line 11669 "configure"
11669 #include "confdefs.h"
11675 if { (eval echo configure:11676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11677 glibcpp_cv_func_sincos_use=yes
11679 echo "configure: failed program was:" >&5
11680 cat conftest.$ac_ext >&5
11682 glibcpp_cv_func_sincos_use=no
11686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11687 ac_cpp='$CPP $CPPFLAGS'
11688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11690 cross_compiling=$ac_cv_prog_cc_cross
11696 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11698 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11699 for ac_func in sincos
11701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11702 echo "configure:11703: checking for $ac_func" >&5
11703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11704 echo $ac_n "(cached) $ac_c" 1>&6
11706 cat > conftest.$ac_ext <<EOF
11707 #line 11708 "configure"
11708 #include "confdefs.h"
11709 /* System header to define __stub macros and hopefully few prototypes,
11710 which can conflict with char $ac_func(); below. */
11711 #include <assert.h>
11712 /* Override any gcc2 internal prototype to avoid an error. */
11713 /* We use char because int might match the return type of a gcc2
11714 builtin and then its argument prototype would still apply. */
11719 /* The GNU C library defines this for functions which it implements
11720 to always fail with ENOSYS. Some functions are actually named
11721 something starting with __ and the normal name is an alias. */
11722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11730 if { (eval echo configure:11731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11732 eval "ac_cv_func_$ac_func=yes"
11734 echo "configure: failed program was:" >&5
11735 cat conftest.$ac_ext >&5
11737 eval "ac_cv_func_$ac_func=no"
11742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11743 echo "$ac_t""yes" 1>&6
11744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11745 cat >> confdefs.h <<EOF
11746 #define $ac_tr_func 1
11750 echo "$ac_t""no" 1>&6
11756 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11757 echo "configure:11758: checking for _sincos declaration" >&5
11758 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11759 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11760 echo $ac_n "(cached) $ac_c" 1>&6
11765 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11766 ac_cpp='$CXXCPP $CPPFLAGS'
11767 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11768 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11769 cross_compiling=$ac_cv_prog_cxx_cross
11771 cat > conftest.$ac_ext <<EOF
11772 #line 11773 "configure"
11773 #include "confdefs.h"
11779 if { (eval echo configure:11780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11781 glibcpp_cv_func__sincos_use=yes
11783 echo "configure: failed program was:" >&5
11784 cat conftest.$ac_ext >&5
11786 glibcpp_cv_func__sincos_use=no
11790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11791 ac_cpp='$CPP $CPPFLAGS'
11792 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11793 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11794 cross_compiling=$ac_cv_prog_cc_cross
11800 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11802 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11803 for ac_func in _sincos
11805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11806 echo "configure:11807: checking for $ac_func" >&5
11807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11808 echo $ac_n "(cached) $ac_c" 1>&6
11810 cat > conftest.$ac_ext <<EOF
11811 #line 11812 "configure"
11812 #include "confdefs.h"
11813 /* System header to define __stub macros and hopefully few prototypes,
11814 which can conflict with char $ac_func(); below. */
11815 #include <assert.h>
11816 /* Override any gcc2 internal prototype to avoid an error. */
11817 /* We use char because int might match the return type of a gcc2
11818 builtin and then its argument prototype would still apply. */
11823 /* The GNU C library defines this for functions which it implements
11824 to always fail with ENOSYS. Some functions are actually named
11825 something starting with __ and the normal name is an alias. */
11826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11834 if { (eval echo configure:11835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11836 eval "ac_cv_func_$ac_func=yes"
11838 echo "configure: failed program was:" >&5
11839 cat conftest.$ac_ext >&5
11841 eval "ac_cv_func_$ac_func=no"
11846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11847 echo "$ac_t""yes" 1>&6
11848 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11849 cat >> confdefs.h <<EOF
11850 #define $ac_tr_func 1
11854 echo "$ac_t""no" 1>&6
11863 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11864 echo "configure:11865: checking for fpclass declaration" >&5
11865 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11866 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11867 echo $ac_n "(cached) $ac_c" 1>&6
11872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11873 ac_cpp='$CXXCPP $CPPFLAGS'
11874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11876 cross_compiling=$ac_cv_prog_cxx_cross
11878 cat > conftest.$ac_ext <<EOF
11879 #line 11880 "configure"
11880 #include "confdefs.h"
11882 #ifdef HAVE_IEEEFP_H
11883 #include <ieeefp.h>
11890 if { (eval echo configure:11891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11892 glibcpp_cv_func_fpclass_use=yes
11894 echo "configure: failed program was:" >&5
11895 cat conftest.$ac_ext >&5
11897 glibcpp_cv_func_fpclass_use=no
11901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11902 ac_cpp='$CPP $CPPFLAGS'
11903 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11904 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11905 cross_compiling=$ac_cv_prog_cc_cross
11911 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11913 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11914 for ac_func in fpclass
11916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11917 echo "configure:11918: checking for $ac_func" >&5
11918 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11919 echo $ac_n "(cached) $ac_c" 1>&6
11921 cat > conftest.$ac_ext <<EOF
11922 #line 11923 "configure"
11923 #include "confdefs.h"
11924 /* System header to define __stub macros and hopefully few prototypes,
11925 which can conflict with char $ac_func(); below. */
11926 #include <assert.h>
11927 /* Override any gcc2 internal prototype to avoid an error. */
11928 /* We use char because int might match the return type of a gcc2
11929 builtin and then its argument prototype would still apply. */
11934 /* The GNU C library defines this for functions which it implements
11935 to always fail with ENOSYS. Some functions are actually named
11936 something starting with __ and the normal name is an alias. */
11937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11945 if { (eval echo configure:11946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11947 eval "ac_cv_func_$ac_func=yes"
11949 echo "configure: failed program was:" >&5
11950 cat conftest.$ac_ext >&5
11952 eval "ac_cv_func_$ac_func=no"
11957 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11958 echo "$ac_t""yes" 1>&6
11959 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11960 cat >> confdefs.h <<EOF
11961 #define $ac_tr_func 1
11965 echo "$ac_t""no" 1>&6
11971 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11972 echo "configure:11973: checking for _fpclass declaration" >&5
11973 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11974 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11975 echo $ac_n "(cached) $ac_c" 1>&6
11980 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11981 ac_cpp='$CXXCPP $CPPFLAGS'
11982 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11983 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11984 cross_compiling=$ac_cv_prog_cxx_cross
11986 cat > conftest.$ac_ext <<EOF
11987 #line 11988 "configure"
11988 #include "confdefs.h"
11990 #ifdef HAVE_IEEEFP_H
11991 #include <ieeefp.h>
11998 if { (eval echo configure:11999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12000 glibcpp_cv_func__fpclass_use=yes
12002 echo "configure: failed program was:" >&5
12003 cat conftest.$ac_ext >&5
12005 glibcpp_cv_func__fpclass_use=no
12009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12010 ac_cpp='$CPP $CPPFLAGS'
12011 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12012 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12013 cross_compiling=$ac_cv_prog_cc_cross
12019 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
12021 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
12022 for ac_func in _fpclass
12024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12025 echo "configure:12026: checking for $ac_func" >&5
12026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12027 echo $ac_n "(cached) $ac_c" 1>&6
12029 cat > conftest.$ac_ext <<EOF
12030 #line 12031 "configure"
12031 #include "confdefs.h"
12032 /* System header to define __stub macros and hopefully few prototypes,
12033 which can conflict with char $ac_func(); below. */
12034 #include <assert.h>
12035 /* Override any gcc2 internal prototype to avoid an error. */
12036 /* We use char because int might match the return type of a gcc2
12037 builtin and then its argument prototype would still apply. */
12042 /* The GNU C library defines this for functions which it implements
12043 to always fail with ENOSYS. Some functions are actually named
12044 something starting with __ and the normal name is an alias. */
12045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12053 if { (eval echo configure:12054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12055 eval "ac_cv_func_$ac_func=yes"
12057 echo "configure: failed program was:" >&5
12058 cat conftest.$ac_ext >&5
12060 eval "ac_cv_func_$ac_func=no"
12065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12066 echo "$ac_t""yes" 1>&6
12067 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12068 cat >> confdefs.h <<EOF
12069 #define $ac_tr_func 1
12073 echo "$ac_t""no" 1>&6
12082 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12083 echo "configure:12084: checking for qfpclass declaration" >&5
12084 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12085 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12086 echo $ac_n "(cached) $ac_c" 1>&6
12091 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12092 ac_cpp='$CXXCPP $CPPFLAGS'
12093 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12094 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12095 cross_compiling=$ac_cv_prog_cxx_cross
12097 cat > conftest.$ac_ext <<EOF
12098 #line 12099 "configure"
12099 #include "confdefs.h"
12101 #ifdef HAVE_IEEEFP_H
12102 #include <ieeefp.h>
12109 if { (eval echo configure:12110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12111 glibcpp_cv_func_qfpclass_use=yes
12113 echo "configure: failed program was:" >&5
12114 cat conftest.$ac_ext >&5
12116 glibcpp_cv_func_qfpclass_use=no
12120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12121 ac_cpp='$CPP $CPPFLAGS'
12122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12124 cross_compiling=$ac_cv_prog_cc_cross
12130 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12132 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12133 for ac_func in qfpclass
12135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12136 echo "configure:12137: checking for $ac_func" >&5
12137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12138 echo $ac_n "(cached) $ac_c" 1>&6
12140 cat > conftest.$ac_ext <<EOF
12141 #line 12142 "configure"
12142 #include "confdefs.h"
12143 /* System header to define __stub macros and hopefully few prototypes,
12144 which can conflict with char $ac_func(); below. */
12145 #include <assert.h>
12146 /* Override any gcc2 internal prototype to avoid an error. */
12147 /* We use char because int might match the return type of a gcc2
12148 builtin and then its argument prototype would still apply. */
12153 /* The GNU C library defines this for functions which it implements
12154 to always fail with ENOSYS. Some functions are actually named
12155 something starting with __ and the normal name is an alias. */
12156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12164 if { (eval echo configure:12165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12166 eval "ac_cv_func_$ac_func=yes"
12168 echo "configure: failed program was:" >&5
12169 cat conftest.$ac_ext >&5
12171 eval "ac_cv_func_$ac_func=no"
12176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12177 echo "$ac_t""yes" 1>&6
12178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12179 cat >> confdefs.h <<EOF
12180 #define $ac_tr_func 1
12184 echo "$ac_t""no" 1>&6
12190 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12191 echo "configure:12192: checking for _qfpclass declaration" >&5
12192 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12193 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12194 echo $ac_n "(cached) $ac_c" 1>&6
12199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12200 ac_cpp='$CXXCPP $CPPFLAGS'
12201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12203 cross_compiling=$ac_cv_prog_cxx_cross
12205 cat > conftest.$ac_ext <<EOF
12206 #line 12207 "configure"
12207 #include "confdefs.h"
12209 #ifdef HAVE_IEEEFP_H
12210 #include <ieeefp.h>
12217 if { (eval echo configure:12218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12219 glibcpp_cv_func__qfpclass_use=yes
12221 echo "configure: failed program was:" >&5
12222 cat conftest.$ac_ext >&5
12224 glibcpp_cv_func__qfpclass_use=no
12228 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12229 ac_cpp='$CPP $CPPFLAGS'
12230 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12231 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12232 cross_compiling=$ac_cv_prog_cc_cross
12238 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12240 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12241 for ac_func in _qfpclass
12243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12244 echo "configure:12245: checking for $ac_func" >&5
12245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12246 echo $ac_n "(cached) $ac_c" 1>&6
12248 cat > conftest.$ac_ext <<EOF
12249 #line 12250 "configure"
12250 #include "confdefs.h"
12251 /* System header to define __stub macros and hopefully few prototypes,
12252 which can conflict with char $ac_func(); below. */
12253 #include <assert.h>
12254 /* Override any gcc2 internal prototype to avoid an error. */
12255 /* We use char because int might match the return type of a gcc2
12256 builtin and then its argument prototype would still apply. */
12261 /* The GNU C library defines this for functions which it implements
12262 to always fail with ENOSYS. Some functions are actually named
12263 something starting with __ and the normal name is an alias. */
12264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12272 if { (eval echo configure:12273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12274 eval "ac_cv_func_$ac_func=yes"
12276 echo "configure: failed program was:" >&5
12277 cat conftest.$ac_ext >&5
12279 eval "ac_cv_func_$ac_func=no"
12284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12285 echo "$ac_t""yes" 1>&6
12286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12287 cat >> confdefs.h <<EOF
12288 #define $ac_tr_func 1
12292 echo "$ac_t""no" 1>&6
12301 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12302 echo "configure:12303: checking for hypot declaration" >&5
12303 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12304 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12305 echo $ac_n "(cached) $ac_c" 1>&6
12310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12311 ac_cpp='$CXXCPP $CPPFLAGS'
12312 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12313 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12314 cross_compiling=$ac_cv_prog_cxx_cross
12316 cat > conftest.$ac_ext <<EOF
12317 #line 12318 "configure"
12318 #include "confdefs.h"
12324 if { (eval echo configure:12325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12326 glibcpp_cv_func_hypot_use=yes
12328 echo "configure: failed program was:" >&5
12329 cat conftest.$ac_ext >&5
12331 glibcpp_cv_func_hypot_use=no
12335 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12336 ac_cpp='$CPP $CPPFLAGS'
12337 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12338 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12339 cross_compiling=$ac_cv_prog_cc_cross
12345 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12347 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12348 for ac_func in hypot
12350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12351 echo "configure:12352: checking for $ac_func" >&5
12352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12353 echo $ac_n "(cached) $ac_c" 1>&6
12355 cat > conftest.$ac_ext <<EOF
12356 #line 12357 "configure"
12357 #include "confdefs.h"
12358 /* System header to define __stub macros and hopefully few prototypes,
12359 which can conflict with char $ac_func(); below. */
12360 #include <assert.h>
12361 /* Override any gcc2 internal prototype to avoid an error. */
12362 /* We use char because int might match the return type of a gcc2
12363 builtin and then its argument prototype would still apply. */
12368 /* The GNU C library defines this for functions which it implements
12369 to always fail with ENOSYS. Some functions are actually named
12370 something starting with __ and the normal name is an alias. */
12371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12379 if { (eval echo configure:12380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12381 eval "ac_cv_func_$ac_func=yes"
12383 echo "configure: failed program was:" >&5
12384 cat conftest.$ac_ext >&5
12386 eval "ac_cv_func_$ac_func=no"
12391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12392 echo "$ac_t""yes" 1>&6
12393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12394 cat >> confdefs.h <<EOF
12395 #define $ac_tr_func 1
12399 echo "$ac_t""no" 1>&6
12405 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12406 echo "configure:12407: checking for _hypot declaration" >&5
12407 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12408 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12409 echo $ac_n "(cached) $ac_c" 1>&6
12414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12415 ac_cpp='$CXXCPP $CPPFLAGS'
12416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12418 cross_compiling=$ac_cv_prog_cxx_cross
12420 cat > conftest.$ac_ext <<EOF
12421 #line 12422 "configure"
12422 #include "confdefs.h"
12428 if { (eval echo configure:12429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12430 glibcpp_cv_func__hypot_use=yes
12432 echo "configure: failed program was:" >&5
12433 cat conftest.$ac_ext >&5
12435 glibcpp_cv_func__hypot_use=no
12439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12440 ac_cpp='$CPP $CPPFLAGS'
12441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12443 cross_compiling=$ac_cv_prog_cc_cross
12449 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12451 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12452 for ac_func in _hypot
12454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12455 echo "configure:12456: checking for $ac_func" >&5
12456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12457 echo $ac_n "(cached) $ac_c" 1>&6
12459 cat > conftest.$ac_ext <<EOF
12460 #line 12461 "configure"
12461 #include "confdefs.h"
12462 /* System header to define __stub macros and hopefully few prototypes,
12463 which can conflict with char $ac_func(); below. */
12464 #include <assert.h>
12465 /* Override any gcc2 internal prototype to avoid an error. */
12466 /* We use char because int might match the return type of a gcc2
12467 builtin and then its argument prototype would still apply. */
12472 /* The GNU C library defines this for functions which it implements
12473 to always fail with ENOSYS. Some functions are actually named
12474 something starting with __ and the normal name is an alias. */
12475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12483 if { (eval echo configure:12484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12485 eval "ac_cv_func_$ac_func=yes"
12487 echo "configure: failed program was:" >&5
12488 cat conftest.$ac_ext >&5
12490 eval "ac_cv_func_$ac_func=no"
12495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12496 echo "$ac_t""yes" 1>&6
12497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12498 cat >> confdefs.h <<EOF
12499 #define $ac_tr_func 1
12503 echo "$ac_t""no" 1>&6
12512 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12513 echo "configure:12514: checking for float trig functions" >&5
12514 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12515 echo $ac_n "(cached) $ac_c" 1>&6
12520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12521 ac_cpp='$CXXCPP $CPPFLAGS'
12522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12524 cross_compiling=$ac_cv_prog_cxx_cross
12526 cat > conftest.$ac_ext <<EOF
12527 #line 12528 "configure"
12528 #include "confdefs.h"
12531 `for x in acosf asinf atanf \
12533 coshf sinhf tanhf; do echo "$x (0);"; done`
12536 if { (eval echo configure:12537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12538 glibcpp_cv_func_float_trig_use=yes
12540 echo "configure: failed program was:" >&5
12541 cat conftest.$ac_ext >&5
12543 glibcpp_cv_func_float_trig_use=no
12547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12548 ac_cpp='$CPP $CPPFLAGS'
12549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12551 cross_compiling=$ac_cv_prog_cc_cross
12555 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12556 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12557 for ac_func in acosf asinf atanf \
12561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12562 echo "configure:12563: checking for $ac_func" >&5
12563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12564 echo $ac_n "(cached) $ac_c" 1>&6
12566 cat > conftest.$ac_ext <<EOF
12567 #line 12568 "configure"
12568 #include "confdefs.h"
12569 /* System header to define __stub macros and hopefully few prototypes,
12570 which can conflict with char $ac_func(); below. */
12571 #include <assert.h>
12572 /* Override any gcc2 internal prototype to avoid an error. */
12573 /* We use char because int might match the return type of a gcc2
12574 builtin and then its argument prototype would still apply. */
12579 /* The GNU C library defines this for functions which it implements
12580 to always fail with ENOSYS. Some functions are actually named
12581 something starting with __ and the normal name is an alias. */
12582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12590 if { (eval echo configure:12591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12592 eval "ac_cv_func_$ac_func=yes"
12594 echo "configure: failed program was:" >&5
12595 cat conftest.$ac_ext >&5
12597 eval "ac_cv_func_$ac_func=no"
12602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12603 echo "$ac_t""yes" 1>&6
12604 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12605 cat >> confdefs.h <<EOF
12606 #define $ac_tr_func 1
12610 echo "$ac_t""no" 1>&6
12617 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12618 echo "configure:12619: checking for float round functions" >&5
12619 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12620 echo $ac_n "(cached) $ac_c" 1>&6
12625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12626 ac_cpp='$CXXCPP $CPPFLAGS'
12627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12629 cross_compiling=$ac_cv_prog_cxx_cross
12631 cat > conftest.$ac_ext <<EOF
12632 #line 12633 "configure"
12633 #include "confdefs.h"
12636 `for x in ceilf floorf; do echo "$x (0);"; done`
12639 if { (eval echo configure:12640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12641 glibcpp_cv_func_float_round_use=yes
12643 echo "configure: failed program was:" >&5
12644 cat conftest.$ac_ext >&5
12646 glibcpp_cv_func_float_round_use=no
12650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12651 ac_cpp='$CPP $CPPFLAGS'
12652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12654 cross_compiling=$ac_cv_prog_cc_cross
12658 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12659 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12660 for ac_func in ceilf floorf
12662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12663 echo "configure:12664: checking for $ac_func" >&5
12664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12665 echo $ac_n "(cached) $ac_c" 1>&6
12667 cat > conftest.$ac_ext <<EOF
12668 #line 12669 "configure"
12669 #include "confdefs.h"
12670 /* System header to define __stub macros and hopefully few prototypes,
12671 which can conflict with char $ac_func(); below. */
12672 #include <assert.h>
12673 /* Override any gcc2 internal prototype to avoid an error. */
12674 /* We use char because int might match the return type of a gcc2
12675 builtin and then its argument prototype would still apply. */
12680 /* The GNU C library defines this for functions which it implements
12681 to always fail with ENOSYS. Some functions are actually named
12682 something starting with __ and the normal name is an alias. */
12683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12691 if { (eval echo configure:12692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12693 eval "ac_cv_func_$ac_func=yes"
12695 echo "configure: failed program was:" >&5
12696 cat conftest.$ac_ext >&5
12698 eval "ac_cv_func_$ac_func=no"
12703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12704 echo "$ac_t""yes" 1>&6
12705 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12706 cat >> confdefs.h <<EOF
12707 #define $ac_tr_func 1
12711 echo "$ac_t""no" 1>&6
12719 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12720 echo "configure:12721: checking for expf declaration" >&5
12721 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12722 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12723 echo $ac_n "(cached) $ac_c" 1>&6
12728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12729 ac_cpp='$CXXCPP $CPPFLAGS'
12730 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12731 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12732 cross_compiling=$ac_cv_prog_cxx_cross
12734 cat > conftest.$ac_ext <<EOF
12735 #line 12736 "configure"
12736 #include "confdefs.h"
12738 #ifdef HAVE_IEEEFP_H
12739 #include <ieeefp.h>
12746 if { (eval echo configure:12747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12748 glibcpp_cv_func_expf_use=yes
12750 echo "configure: failed program was:" >&5
12751 cat conftest.$ac_ext >&5
12753 glibcpp_cv_func_expf_use=no
12757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12758 ac_cpp='$CPP $CPPFLAGS'
12759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12761 cross_compiling=$ac_cv_prog_cc_cross
12767 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12769 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12770 for ac_func in expf
12772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12773 echo "configure:12774: checking for $ac_func" >&5
12774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12775 echo $ac_n "(cached) $ac_c" 1>&6
12777 cat > conftest.$ac_ext <<EOF
12778 #line 12779 "configure"
12779 #include "confdefs.h"
12780 /* System header to define __stub macros and hopefully few prototypes,
12781 which can conflict with char $ac_func(); below. */
12782 #include <assert.h>
12783 /* Override any gcc2 internal prototype to avoid an error. */
12784 /* We use char because int might match the return type of a gcc2
12785 builtin and then its argument prototype would still apply. */
12790 /* The GNU C library defines this for functions which it implements
12791 to always fail with ENOSYS. Some functions are actually named
12792 something starting with __ and the normal name is an alias. */
12793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12801 if { (eval echo configure:12802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12803 eval "ac_cv_func_$ac_func=yes"
12805 echo "configure: failed program was:" >&5
12806 cat conftest.$ac_ext >&5
12808 eval "ac_cv_func_$ac_func=no"
12813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12814 echo "$ac_t""yes" 1>&6
12815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12816 cat >> confdefs.h <<EOF
12817 #define $ac_tr_func 1
12821 echo "$ac_t""no" 1>&6
12827 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12828 echo "configure:12829: checking for _expf declaration" >&5
12829 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12830 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12831 echo $ac_n "(cached) $ac_c" 1>&6
12836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12837 ac_cpp='$CXXCPP $CPPFLAGS'
12838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12840 cross_compiling=$ac_cv_prog_cxx_cross
12842 cat > conftest.$ac_ext <<EOF
12843 #line 12844 "configure"
12844 #include "confdefs.h"
12846 #ifdef HAVE_IEEEFP_H
12847 #include <ieeefp.h>
12854 if { (eval echo configure:12855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12856 glibcpp_cv_func__expf_use=yes
12858 echo "configure: failed program was:" >&5
12859 cat conftest.$ac_ext >&5
12861 glibcpp_cv_func__expf_use=no
12865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12866 ac_cpp='$CPP $CPPFLAGS'
12867 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12868 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12869 cross_compiling=$ac_cv_prog_cc_cross
12875 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12877 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12878 for ac_func in _expf
12880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12881 echo "configure:12882: checking for $ac_func" >&5
12882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12883 echo $ac_n "(cached) $ac_c" 1>&6
12885 cat > conftest.$ac_ext <<EOF
12886 #line 12887 "configure"
12887 #include "confdefs.h"
12888 /* System header to define __stub macros and hopefully few prototypes,
12889 which can conflict with char $ac_func(); below. */
12890 #include <assert.h>
12891 /* Override any gcc2 internal prototype to avoid an error. */
12892 /* We use char because int might match the return type of a gcc2
12893 builtin and then its argument prototype would still apply. */
12898 /* The GNU C library defines this for functions which it implements
12899 to always fail with ENOSYS. Some functions are actually named
12900 something starting with __ and the normal name is an alias. */
12901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12911 eval "ac_cv_func_$ac_func=yes"
12913 echo "configure: failed program was:" >&5
12914 cat conftest.$ac_ext >&5
12916 eval "ac_cv_func_$ac_func=no"
12921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12922 echo "$ac_t""yes" 1>&6
12923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12924 cat >> confdefs.h <<EOF
12925 #define $ac_tr_func 1
12929 echo "$ac_t""no" 1>&6
12938 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12939 echo "configure:12940: checking for isnanf declaration" >&5
12940 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12941 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12942 echo $ac_n "(cached) $ac_c" 1>&6
12947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12948 ac_cpp='$CXXCPP $CPPFLAGS'
12949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12951 cross_compiling=$ac_cv_prog_cxx_cross
12953 cat > conftest.$ac_ext <<EOF
12954 #line 12955 "configure"
12955 #include "confdefs.h"
12957 #ifdef HAVE_IEEEFP_H
12958 #include <ieeefp.h>
12965 if { (eval echo configure:12966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12967 glibcpp_cv_func_isnanf_use=yes
12969 echo "configure: failed program was:" >&5
12970 cat conftest.$ac_ext >&5
12972 glibcpp_cv_func_isnanf_use=no
12976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12977 ac_cpp='$CPP $CPPFLAGS'
12978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12980 cross_compiling=$ac_cv_prog_cc_cross
12986 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12988 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12989 for ac_func in isnanf
12991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12992 echo "configure:12993: checking for $ac_func" >&5
12993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12994 echo $ac_n "(cached) $ac_c" 1>&6
12996 cat > conftest.$ac_ext <<EOF
12997 #line 12998 "configure"
12998 #include "confdefs.h"
12999 /* System header to define __stub macros and hopefully few prototypes,
13000 which can conflict with char $ac_func(); below. */
13001 #include <assert.h>
13002 /* Override any gcc2 internal prototype to avoid an error. */
13003 /* We use char because int might match the return type of a gcc2
13004 builtin and then its argument prototype would still apply. */
13009 /* The GNU C library defines this for functions which it implements
13010 to always fail with ENOSYS. Some functions are actually named
13011 something starting with __ and the normal name is an alias. */
13012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13020 if { (eval echo configure:13021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13022 eval "ac_cv_func_$ac_func=yes"
13024 echo "configure: failed program was:" >&5
13025 cat conftest.$ac_ext >&5
13027 eval "ac_cv_func_$ac_func=no"
13032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13033 echo "$ac_t""yes" 1>&6
13034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13035 cat >> confdefs.h <<EOF
13036 #define $ac_tr_func 1
13040 echo "$ac_t""no" 1>&6
13046 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
13047 echo "configure:13048: checking for _isnanf declaration" >&5
13048 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13049 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13050 echo $ac_n "(cached) $ac_c" 1>&6
13055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13056 ac_cpp='$CXXCPP $CPPFLAGS'
13057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13059 cross_compiling=$ac_cv_prog_cxx_cross
13061 cat > conftest.$ac_ext <<EOF
13062 #line 13063 "configure"
13063 #include "confdefs.h"
13065 #ifdef HAVE_IEEEFP_H
13066 #include <ieeefp.h>
13073 if { (eval echo configure:13074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13075 glibcpp_cv_func__isnanf_use=yes
13077 echo "configure: failed program was:" >&5
13078 cat conftest.$ac_ext >&5
13080 glibcpp_cv_func__isnanf_use=no
13084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13085 ac_cpp='$CPP $CPPFLAGS'
13086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13088 cross_compiling=$ac_cv_prog_cc_cross
13094 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13096 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13097 for ac_func in _isnanf
13099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13100 echo "configure:13101: checking for $ac_func" >&5
13101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13102 echo $ac_n "(cached) $ac_c" 1>&6
13104 cat > conftest.$ac_ext <<EOF
13105 #line 13106 "configure"
13106 #include "confdefs.h"
13107 /* System header to define __stub macros and hopefully few prototypes,
13108 which can conflict with char $ac_func(); below. */
13109 #include <assert.h>
13110 /* Override any gcc2 internal prototype to avoid an error. */
13111 /* We use char because int might match the return type of a gcc2
13112 builtin and then its argument prototype would still apply. */
13117 /* The GNU C library defines this for functions which it implements
13118 to always fail with ENOSYS. Some functions are actually named
13119 something starting with __ and the normal name is an alias. */
13120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13128 if { (eval echo configure:13129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13130 eval "ac_cv_func_$ac_func=yes"
13132 echo "configure: failed program was:" >&5
13133 cat conftest.$ac_ext >&5
13135 eval "ac_cv_func_$ac_func=no"
13140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13141 echo "$ac_t""yes" 1>&6
13142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13143 cat >> confdefs.h <<EOF
13144 #define $ac_tr_func 1
13148 echo "$ac_t""no" 1>&6
13157 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13158 echo "configure:13159: checking for isinff declaration" >&5
13159 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13160 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13161 echo $ac_n "(cached) $ac_c" 1>&6
13166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13167 ac_cpp='$CXXCPP $CPPFLAGS'
13168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13170 cross_compiling=$ac_cv_prog_cxx_cross
13172 cat > conftest.$ac_ext <<EOF
13173 #line 13174 "configure"
13174 #include "confdefs.h"
13176 #ifdef HAVE_IEEEFP_H
13177 #include <ieeefp.h>
13184 if { (eval echo configure:13185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13186 glibcpp_cv_func_isinff_use=yes
13188 echo "configure: failed program was:" >&5
13189 cat conftest.$ac_ext >&5
13191 glibcpp_cv_func_isinff_use=no
13195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13196 ac_cpp='$CPP $CPPFLAGS'
13197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13199 cross_compiling=$ac_cv_prog_cc_cross
13205 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13207 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13208 for ac_func in isinff
13210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13211 echo "configure:13212: checking for $ac_func" >&5
13212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13213 echo $ac_n "(cached) $ac_c" 1>&6
13215 cat > conftest.$ac_ext <<EOF
13216 #line 13217 "configure"
13217 #include "confdefs.h"
13218 /* System header to define __stub macros and hopefully few prototypes,
13219 which can conflict with char $ac_func(); below. */
13220 #include <assert.h>
13221 /* Override any gcc2 internal prototype to avoid an error. */
13222 /* We use char because int might match the return type of a gcc2
13223 builtin and then its argument prototype would still apply. */
13228 /* The GNU C library defines this for functions which it implements
13229 to always fail with ENOSYS. Some functions are actually named
13230 something starting with __ and the normal name is an alias. */
13231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13239 if { (eval echo configure:13240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13241 eval "ac_cv_func_$ac_func=yes"
13243 echo "configure: failed program was:" >&5
13244 cat conftest.$ac_ext >&5
13246 eval "ac_cv_func_$ac_func=no"
13251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13252 echo "$ac_t""yes" 1>&6
13253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13254 cat >> confdefs.h <<EOF
13255 #define $ac_tr_func 1
13259 echo "$ac_t""no" 1>&6
13265 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13266 echo "configure:13267: checking for _isinff declaration" >&5
13267 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13268 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13269 echo $ac_n "(cached) $ac_c" 1>&6
13274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13275 ac_cpp='$CXXCPP $CPPFLAGS'
13276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13278 cross_compiling=$ac_cv_prog_cxx_cross
13280 cat > conftest.$ac_ext <<EOF
13281 #line 13282 "configure"
13282 #include "confdefs.h"
13284 #ifdef HAVE_IEEEFP_H
13285 #include <ieeefp.h>
13292 if { (eval echo configure:13293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13294 glibcpp_cv_func__isinff_use=yes
13296 echo "configure: failed program was:" >&5
13297 cat conftest.$ac_ext >&5
13299 glibcpp_cv_func__isinff_use=no
13303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13304 ac_cpp='$CPP $CPPFLAGS'
13305 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13306 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13307 cross_compiling=$ac_cv_prog_cc_cross
13313 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13315 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13316 for ac_func in _isinff
13318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13319 echo "configure:13320: checking for $ac_func" >&5
13320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13321 echo $ac_n "(cached) $ac_c" 1>&6
13323 cat > conftest.$ac_ext <<EOF
13324 #line 13325 "configure"
13325 #include "confdefs.h"
13326 /* System header to define __stub macros and hopefully few prototypes,
13327 which can conflict with char $ac_func(); below. */
13328 #include <assert.h>
13329 /* Override any gcc2 internal prototype to avoid an error. */
13330 /* We use char because int might match the return type of a gcc2
13331 builtin and then its argument prototype would still apply. */
13336 /* The GNU C library defines this for functions which it implements
13337 to always fail with ENOSYS. Some functions are actually named
13338 something starting with __ and the normal name is an alias. */
13339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13347 if { (eval echo configure:13348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13349 eval "ac_cv_func_$ac_func=yes"
13351 echo "configure: failed program was:" >&5
13352 cat conftest.$ac_ext >&5
13354 eval "ac_cv_func_$ac_func=no"
13359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13360 echo "$ac_t""yes" 1>&6
13361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13362 cat >> confdefs.h <<EOF
13363 #define $ac_tr_func 1
13367 echo "$ac_t""no" 1>&6
13376 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13377 echo "configure:13378: checking for atan2f declaration" >&5
13378 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13379 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13380 echo $ac_n "(cached) $ac_c" 1>&6
13385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13386 ac_cpp='$CXXCPP $CPPFLAGS'
13387 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13388 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13389 cross_compiling=$ac_cv_prog_cxx_cross
13391 cat > conftest.$ac_ext <<EOF
13392 #line 13393 "configure"
13393 #include "confdefs.h"
13399 if { (eval echo configure:13400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13401 glibcpp_cv_func_atan2f_use=yes
13403 echo "configure: failed program was:" >&5
13404 cat conftest.$ac_ext >&5
13406 glibcpp_cv_func_atan2f_use=no
13410 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13411 ac_cpp='$CPP $CPPFLAGS'
13412 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13413 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13414 cross_compiling=$ac_cv_prog_cc_cross
13420 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13422 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13423 for ac_func in atan2f
13425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13426 echo "configure:13427: checking for $ac_func" >&5
13427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13428 echo $ac_n "(cached) $ac_c" 1>&6
13430 cat > conftest.$ac_ext <<EOF
13431 #line 13432 "configure"
13432 #include "confdefs.h"
13433 /* System header to define __stub macros and hopefully few prototypes,
13434 which can conflict with char $ac_func(); below. */
13435 #include <assert.h>
13436 /* Override any gcc2 internal prototype to avoid an error. */
13437 /* We use char because int might match the return type of a gcc2
13438 builtin and then its argument prototype would still apply. */
13443 /* The GNU C library defines this for functions which it implements
13444 to always fail with ENOSYS. Some functions are actually named
13445 something starting with __ and the normal name is an alias. */
13446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13454 if { (eval echo configure:13455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13456 eval "ac_cv_func_$ac_func=yes"
13458 echo "configure: failed program was:" >&5
13459 cat conftest.$ac_ext >&5
13461 eval "ac_cv_func_$ac_func=no"
13466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13467 echo "$ac_t""yes" 1>&6
13468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13469 cat >> confdefs.h <<EOF
13470 #define $ac_tr_func 1
13474 echo "$ac_t""no" 1>&6
13480 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13481 echo "configure:13482: checking for _atan2f declaration" >&5
13482 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13483 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13484 echo $ac_n "(cached) $ac_c" 1>&6
13489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13490 ac_cpp='$CXXCPP $CPPFLAGS'
13491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13493 cross_compiling=$ac_cv_prog_cxx_cross
13495 cat > conftest.$ac_ext <<EOF
13496 #line 13497 "configure"
13497 #include "confdefs.h"
13503 if { (eval echo configure:13504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13505 glibcpp_cv_func__atan2f_use=yes
13507 echo "configure: failed program was:" >&5
13508 cat conftest.$ac_ext >&5
13510 glibcpp_cv_func__atan2f_use=no
13514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13515 ac_cpp='$CPP $CPPFLAGS'
13516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13518 cross_compiling=$ac_cv_prog_cc_cross
13524 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13526 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13527 for ac_func in _atan2f
13529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13530 echo "configure:13531: checking for $ac_func" >&5
13531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13532 echo $ac_n "(cached) $ac_c" 1>&6
13534 cat > conftest.$ac_ext <<EOF
13535 #line 13536 "configure"
13536 #include "confdefs.h"
13537 /* System header to define __stub macros and hopefully few prototypes,
13538 which can conflict with char $ac_func(); below. */
13539 #include <assert.h>
13540 /* Override any gcc2 internal prototype to avoid an error. */
13541 /* We use char because int might match the return type of a gcc2
13542 builtin and then its argument prototype would still apply. */
13547 /* The GNU C library defines this for functions which it implements
13548 to always fail with ENOSYS. Some functions are actually named
13549 something starting with __ and the normal name is an alias. */
13550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13558 if { (eval echo configure:13559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13560 eval "ac_cv_func_$ac_func=yes"
13562 echo "configure: failed program was:" >&5
13563 cat conftest.$ac_ext >&5
13565 eval "ac_cv_func_$ac_func=no"
13570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13571 echo "$ac_t""yes" 1>&6
13572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13573 cat >> confdefs.h <<EOF
13574 #define $ac_tr_func 1
13578 echo "$ac_t""no" 1>&6
13587 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13588 echo "configure:13589: checking for fabsf declaration" >&5
13589 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13590 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13591 echo $ac_n "(cached) $ac_c" 1>&6
13596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13597 ac_cpp='$CXXCPP $CPPFLAGS'
13598 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13599 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13600 cross_compiling=$ac_cv_prog_cxx_cross
13602 cat > conftest.$ac_ext <<EOF
13603 #line 13604 "configure"
13604 #include "confdefs.h"
13606 #ifdef HAVE_IEEEFP_H
13607 #include <ieeefp.h>
13614 if { (eval echo configure:13615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13616 glibcpp_cv_func_fabsf_use=yes
13618 echo "configure: failed program was:" >&5
13619 cat conftest.$ac_ext >&5
13621 glibcpp_cv_func_fabsf_use=no
13625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13626 ac_cpp='$CPP $CPPFLAGS'
13627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13629 cross_compiling=$ac_cv_prog_cc_cross
13635 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13637 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13638 for ac_func in fabsf
13640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13641 echo "configure:13642: checking for $ac_func" >&5
13642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13643 echo $ac_n "(cached) $ac_c" 1>&6
13645 cat > conftest.$ac_ext <<EOF
13646 #line 13647 "configure"
13647 #include "confdefs.h"
13648 /* System header to define __stub macros and hopefully few prototypes,
13649 which can conflict with char $ac_func(); below. */
13650 #include <assert.h>
13651 /* Override any gcc2 internal prototype to avoid an error. */
13652 /* We use char because int might match the return type of a gcc2
13653 builtin and then its argument prototype would still apply. */
13658 /* The GNU C library defines this for functions which it implements
13659 to always fail with ENOSYS. Some functions are actually named
13660 something starting with __ and the normal name is an alias. */
13661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13669 if { (eval echo configure:13670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13671 eval "ac_cv_func_$ac_func=yes"
13673 echo "configure: failed program was:" >&5
13674 cat conftest.$ac_ext >&5
13676 eval "ac_cv_func_$ac_func=no"
13681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13682 echo "$ac_t""yes" 1>&6
13683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13684 cat >> confdefs.h <<EOF
13685 #define $ac_tr_func 1
13689 echo "$ac_t""no" 1>&6
13695 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13696 echo "configure:13697: checking for _fabsf declaration" >&5
13697 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13698 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13699 echo $ac_n "(cached) $ac_c" 1>&6
13704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13705 ac_cpp='$CXXCPP $CPPFLAGS'
13706 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13707 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13708 cross_compiling=$ac_cv_prog_cxx_cross
13710 cat > conftest.$ac_ext <<EOF
13711 #line 13712 "configure"
13712 #include "confdefs.h"
13714 #ifdef HAVE_IEEEFP_H
13715 #include <ieeefp.h>
13722 if { (eval echo configure:13723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13724 glibcpp_cv_func__fabsf_use=yes
13726 echo "configure: failed program was:" >&5
13727 cat conftest.$ac_ext >&5
13729 glibcpp_cv_func__fabsf_use=no
13733 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13734 ac_cpp='$CPP $CPPFLAGS'
13735 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13736 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13737 cross_compiling=$ac_cv_prog_cc_cross
13743 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13745 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13746 for ac_func in _fabsf
13748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13749 echo "configure:13750: checking for $ac_func" >&5
13750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13751 echo $ac_n "(cached) $ac_c" 1>&6
13753 cat > conftest.$ac_ext <<EOF
13754 #line 13755 "configure"
13755 #include "confdefs.h"
13756 /* System header to define __stub macros and hopefully few prototypes,
13757 which can conflict with char $ac_func(); below. */
13758 #include <assert.h>
13759 /* Override any gcc2 internal prototype to avoid an error. */
13760 /* We use char because int might match the return type of a gcc2
13761 builtin and then its argument prototype would still apply. */
13766 /* The GNU C library defines this for functions which it implements
13767 to always fail with ENOSYS. Some functions are actually named
13768 something starting with __ and the normal name is an alias. */
13769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13777 if { (eval echo configure:13778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13779 eval "ac_cv_func_$ac_func=yes"
13781 echo "configure: failed program was:" >&5
13782 cat conftest.$ac_ext >&5
13784 eval "ac_cv_func_$ac_func=no"
13789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13790 echo "$ac_t""yes" 1>&6
13791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13792 cat >> confdefs.h <<EOF
13793 #define $ac_tr_func 1
13797 echo "$ac_t""no" 1>&6
13806 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13807 echo "configure:13808: checking for fmodf declaration" >&5
13808 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13809 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13810 echo $ac_n "(cached) $ac_c" 1>&6
13815 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13816 ac_cpp='$CXXCPP $CPPFLAGS'
13817 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13818 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13819 cross_compiling=$ac_cv_prog_cxx_cross
13821 cat > conftest.$ac_ext <<EOF
13822 #line 13823 "configure"
13823 #include "confdefs.h"
13829 if { (eval echo configure:13830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13831 glibcpp_cv_func_fmodf_use=yes
13833 echo "configure: failed program was:" >&5
13834 cat conftest.$ac_ext >&5
13836 glibcpp_cv_func_fmodf_use=no
13840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13841 ac_cpp='$CPP $CPPFLAGS'
13842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13844 cross_compiling=$ac_cv_prog_cc_cross
13850 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13852 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13853 for ac_func in fmodf
13855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13856 echo "configure:13857: checking for $ac_func" >&5
13857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13858 echo $ac_n "(cached) $ac_c" 1>&6
13860 cat > conftest.$ac_ext <<EOF
13861 #line 13862 "configure"
13862 #include "confdefs.h"
13863 /* System header to define __stub macros and hopefully few prototypes,
13864 which can conflict with char $ac_func(); below. */
13865 #include <assert.h>
13866 /* Override any gcc2 internal prototype to avoid an error. */
13867 /* We use char because int might match the return type of a gcc2
13868 builtin and then its argument prototype would still apply. */
13873 /* The GNU C library defines this for functions which it implements
13874 to always fail with ENOSYS. Some functions are actually named
13875 something starting with __ and the normal name is an alias. */
13876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13884 if { (eval echo configure:13885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13886 eval "ac_cv_func_$ac_func=yes"
13888 echo "configure: failed program was:" >&5
13889 cat conftest.$ac_ext >&5
13891 eval "ac_cv_func_$ac_func=no"
13896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13897 echo "$ac_t""yes" 1>&6
13898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13899 cat >> confdefs.h <<EOF
13900 #define $ac_tr_func 1
13904 echo "$ac_t""no" 1>&6
13910 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13911 echo "configure:13912: checking for _fmodf declaration" >&5
13912 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13913 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13914 echo $ac_n "(cached) $ac_c" 1>&6
13919 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13920 ac_cpp='$CXXCPP $CPPFLAGS'
13921 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13922 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13923 cross_compiling=$ac_cv_prog_cxx_cross
13925 cat > conftest.$ac_ext <<EOF
13926 #line 13927 "configure"
13927 #include "confdefs.h"
13933 if { (eval echo configure:13934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13935 glibcpp_cv_func__fmodf_use=yes
13937 echo "configure: failed program was:" >&5
13938 cat conftest.$ac_ext >&5
13940 glibcpp_cv_func__fmodf_use=no
13944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13945 ac_cpp='$CPP $CPPFLAGS'
13946 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13947 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13948 cross_compiling=$ac_cv_prog_cc_cross
13954 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13956 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13957 for ac_func in _fmodf
13959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13960 echo "configure:13961: checking for $ac_func" >&5
13961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13962 echo $ac_n "(cached) $ac_c" 1>&6
13964 cat > conftest.$ac_ext <<EOF
13965 #line 13966 "configure"
13966 #include "confdefs.h"
13967 /* System header to define __stub macros and hopefully few prototypes,
13968 which can conflict with char $ac_func(); below. */
13969 #include <assert.h>
13970 /* Override any gcc2 internal prototype to avoid an error. */
13971 /* We use char because int might match the return type of a gcc2
13972 builtin and then its argument prototype would still apply. */
13977 /* The GNU C library defines this for functions which it implements
13978 to always fail with ENOSYS. Some functions are actually named
13979 something starting with __ and the normal name is an alias. */
13980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13988 if { (eval echo configure:13989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13990 eval "ac_cv_func_$ac_func=yes"
13992 echo "configure: failed program was:" >&5
13993 cat conftest.$ac_ext >&5
13995 eval "ac_cv_func_$ac_func=no"
14000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14001 echo "$ac_t""yes" 1>&6
14002 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14003 cat >> confdefs.h <<EOF
14004 #define $ac_tr_func 1
14008 echo "$ac_t""no" 1>&6
14017 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
14018 echo "configure:14019: checking for frexpf declaration" >&5
14019 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
14020 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
14021 echo $ac_n "(cached) $ac_c" 1>&6
14026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14027 ac_cpp='$CXXCPP $CPPFLAGS'
14028 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14029 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14030 cross_compiling=$ac_cv_prog_cxx_cross
14032 cat > conftest.$ac_ext <<EOF
14033 #line 14034 "configure"
14034 #include "confdefs.h"
14040 if { (eval echo configure:14041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14042 glibcpp_cv_func_frexpf_use=yes
14044 echo "configure: failed program was:" >&5
14045 cat conftest.$ac_ext >&5
14047 glibcpp_cv_func_frexpf_use=no
14051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14052 ac_cpp='$CPP $CPPFLAGS'
14053 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14054 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14055 cross_compiling=$ac_cv_prog_cc_cross
14061 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14063 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14064 for ac_func in frexpf
14066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14067 echo "configure:14068: checking for $ac_func" >&5
14068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14069 echo $ac_n "(cached) $ac_c" 1>&6
14071 cat > conftest.$ac_ext <<EOF
14072 #line 14073 "configure"
14073 #include "confdefs.h"
14074 /* System header to define __stub macros and hopefully few prototypes,
14075 which can conflict with char $ac_func(); below. */
14076 #include <assert.h>
14077 /* Override any gcc2 internal prototype to avoid an error. */
14078 /* We use char because int might match the return type of a gcc2
14079 builtin and then its argument prototype would still apply. */
14084 /* The GNU C library defines this for functions which it implements
14085 to always fail with ENOSYS. Some functions are actually named
14086 something starting with __ and the normal name is an alias. */
14087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14095 if { (eval echo configure:14096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14097 eval "ac_cv_func_$ac_func=yes"
14099 echo "configure: failed program was:" >&5
14100 cat conftest.$ac_ext >&5
14102 eval "ac_cv_func_$ac_func=no"
14107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14108 echo "$ac_t""yes" 1>&6
14109 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14110 cat >> confdefs.h <<EOF
14111 #define $ac_tr_func 1
14115 echo "$ac_t""no" 1>&6
14121 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14122 echo "configure:14123: checking for _frexpf declaration" >&5
14123 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14124 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14125 echo $ac_n "(cached) $ac_c" 1>&6
14130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14131 ac_cpp='$CXXCPP $CPPFLAGS'
14132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14134 cross_compiling=$ac_cv_prog_cxx_cross
14136 cat > conftest.$ac_ext <<EOF
14137 #line 14138 "configure"
14138 #include "confdefs.h"
14144 if { (eval echo configure:14145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14146 glibcpp_cv_func__frexpf_use=yes
14148 echo "configure: failed program was:" >&5
14149 cat conftest.$ac_ext >&5
14151 glibcpp_cv_func__frexpf_use=no
14155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14156 ac_cpp='$CPP $CPPFLAGS'
14157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14159 cross_compiling=$ac_cv_prog_cc_cross
14165 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14167 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14168 for ac_func in _frexpf
14170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14171 echo "configure:14172: checking for $ac_func" >&5
14172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14173 echo $ac_n "(cached) $ac_c" 1>&6
14175 cat > conftest.$ac_ext <<EOF
14176 #line 14177 "configure"
14177 #include "confdefs.h"
14178 /* System header to define __stub macros and hopefully few prototypes,
14179 which can conflict with char $ac_func(); below. */
14180 #include <assert.h>
14181 /* Override any gcc2 internal prototype to avoid an error. */
14182 /* We use char because int might match the return type of a gcc2
14183 builtin and then its argument prototype would still apply. */
14188 /* The GNU C library defines this for functions which it implements
14189 to always fail with ENOSYS. Some functions are actually named
14190 something starting with __ and the normal name is an alias. */
14191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14199 if { (eval echo configure:14200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14201 eval "ac_cv_func_$ac_func=yes"
14203 echo "configure: failed program was:" >&5
14204 cat conftest.$ac_ext >&5
14206 eval "ac_cv_func_$ac_func=no"
14211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14212 echo "$ac_t""yes" 1>&6
14213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14214 cat >> confdefs.h <<EOF
14215 #define $ac_tr_func 1
14219 echo "$ac_t""no" 1>&6
14228 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14229 echo "configure:14230: checking for hypotf declaration" >&5
14230 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14231 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14232 echo $ac_n "(cached) $ac_c" 1>&6
14237 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14238 ac_cpp='$CXXCPP $CPPFLAGS'
14239 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14240 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14241 cross_compiling=$ac_cv_prog_cxx_cross
14243 cat > conftest.$ac_ext <<EOF
14244 #line 14245 "configure"
14245 #include "confdefs.h"
14251 if { (eval echo configure:14252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14253 glibcpp_cv_func_hypotf_use=yes
14255 echo "configure: failed program was:" >&5
14256 cat conftest.$ac_ext >&5
14258 glibcpp_cv_func_hypotf_use=no
14262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14263 ac_cpp='$CPP $CPPFLAGS'
14264 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14265 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14266 cross_compiling=$ac_cv_prog_cc_cross
14272 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14274 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14275 for ac_func in hypotf
14277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14278 echo "configure:14279: checking for $ac_func" >&5
14279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14280 echo $ac_n "(cached) $ac_c" 1>&6
14282 cat > conftest.$ac_ext <<EOF
14283 #line 14284 "configure"
14284 #include "confdefs.h"
14285 /* System header to define __stub macros and hopefully few prototypes,
14286 which can conflict with char $ac_func(); below. */
14287 #include <assert.h>
14288 /* Override any gcc2 internal prototype to avoid an error. */
14289 /* We use char because int might match the return type of a gcc2
14290 builtin and then its argument prototype would still apply. */
14295 /* The GNU C library defines this for functions which it implements
14296 to always fail with ENOSYS. Some functions are actually named
14297 something starting with __ and the normal name is an alias. */
14298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14306 if { (eval echo configure:14307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14308 eval "ac_cv_func_$ac_func=yes"
14310 echo "configure: failed program was:" >&5
14311 cat conftest.$ac_ext >&5
14313 eval "ac_cv_func_$ac_func=no"
14318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14319 echo "$ac_t""yes" 1>&6
14320 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14321 cat >> confdefs.h <<EOF
14322 #define $ac_tr_func 1
14326 echo "$ac_t""no" 1>&6
14332 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14333 echo "configure:14334: checking for _hypotf declaration" >&5
14334 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14335 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14336 echo $ac_n "(cached) $ac_c" 1>&6
14341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14342 ac_cpp='$CXXCPP $CPPFLAGS'
14343 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14344 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14345 cross_compiling=$ac_cv_prog_cxx_cross
14347 cat > conftest.$ac_ext <<EOF
14348 #line 14349 "configure"
14349 #include "confdefs.h"
14355 if { (eval echo configure:14356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14357 glibcpp_cv_func__hypotf_use=yes
14359 echo "configure: failed program was:" >&5
14360 cat conftest.$ac_ext >&5
14362 glibcpp_cv_func__hypotf_use=no
14366 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14367 ac_cpp='$CPP $CPPFLAGS'
14368 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14369 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14370 cross_compiling=$ac_cv_prog_cc_cross
14376 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14378 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14379 for ac_func in _hypotf
14381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14382 echo "configure:14383: checking for $ac_func" >&5
14383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14384 echo $ac_n "(cached) $ac_c" 1>&6
14386 cat > conftest.$ac_ext <<EOF
14387 #line 14388 "configure"
14388 #include "confdefs.h"
14389 /* System header to define __stub macros and hopefully few prototypes,
14390 which can conflict with char $ac_func(); below. */
14391 #include <assert.h>
14392 /* Override any gcc2 internal prototype to avoid an error. */
14393 /* We use char because int might match the return type of a gcc2
14394 builtin and then its argument prototype would still apply. */
14399 /* The GNU C library defines this for functions which it implements
14400 to always fail with ENOSYS. Some functions are actually named
14401 something starting with __ and the normal name is an alias. */
14402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14410 if { (eval echo configure:14411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14412 eval "ac_cv_func_$ac_func=yes"
14414 echo "configure: failed program was:" >&5
14415 cat conftest.$ac_ext >&5
14417 eval "ac_cv_func_$ac_func=no"
14422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14423 echo "$ac_t""yes" 1>&6
14424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14425 cat >> confdefs.h <<EOF
14426 #define $ac_tr_func 1
14430 echo "$ac_t""no" 1>&6
14439 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14440 echo "configure:14441: checking for ldexpf declaration" >&5
14441 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14442 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14443 echo $ac_n "(cached) $ac_c" 1>&6
14448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14449 ac_cpp='$CXXCPP $CPPFLAGS'
14450 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14451 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14452 cross_compiling=$ac_cv_prog_cxx_cross
14454 cat > conftest.$ac_ext <<EOF
14455 #line 14456 "configure"
14456 #include "confdefs.h"
14462 if { (eval echo configure:14463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14464 glibcpp_cv_func_ldexpf_use=yes
14466 echo "configure: failed program was:" >&5
14467 cat conftest.$ac_ext >&5
14469 glibcpp_cv_func_ldexpf_use=no
14473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14474 ac_cpp='$CPP $CPPFLAGS'
14475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14477 cross_compiling=$ac_cv_prog_cc_cross
14483 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14485 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14486 for ac_func in ldexpf
14488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14489 echo "configure:14490: checking for $ac_func" >&5
14490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14491 echo $ac_n "(cached) $ac_c" 1>&6
14493 cat > conftest.$ac_ext <<EOF
14494 #line 14495 "configure"
14495 #include "confdefs.h"
14496 /* System header to define __stub macros and hopefully few prototypes,
14497 which can conflict with char $ac_func(); below. */
14498 #include <assert.h>
14499 /* Override any gcc2 internal prototype to avoid an error. */
14500 /* We use char because int might match the return type of a gcc2
14501 builtin and then its argument prototype would still apply. */
14506 /* The GNU C library defines this for functions which it implements
14507 to always fail with ENOSYS. Some functions are actually named
14508 something starting with __ and the normal name is an alias. */
14509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14517 if { (eval echo configure:14518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14519 eval "ac_cv_func_$ac_func=yes"
14521 echo "configure: failed program was:" >&5
14522 cat conftest.$ac_ext >&5
14524 eval "ac_cv_func_$ac_func=no"
14529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14530 echo "$ac_t""yes" 1>&6
14531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14532 cat >> confdefs.h <<EOF
14533 #define $ac_tr_func 1
14537 echo "$ac_t""no" 1>&6
14543 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14544 echo "configure:14545: checking for _ldexpf declaration" >&5
14545 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14546 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14547 echo $ac_n "(cached) $ac_c" 1>&6
14552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14553 ac_cpp='$CXXCPP $CPPFLAGS'
14554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14556 cross_compiling=$ac_cv_prog_cxx_cross
14558 cat > conftest.$ac_ext <<EOF
14559 #line 14560 "configure"
14560 #include "confdefs.h"
14566 if { (eval echo configure:14567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14568 glibcpp_cv_func__ldexpf_use=yes
14570 echo "configure: failed program was:" >&5
14571 cat conftest.$ac_ext >&5
14573 glibcpp_cv_func__ldexpf_use=no
14577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14578 ac_cpp='$CPP $CPPFLAGS'
14579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14581 cross_compiling=$ac_cv_prog_cc_cross
14587 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14589 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14590 for ac_func in _ldexpf
14592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14593 echo "configure:14594: checking for $ac_func" >&5
14594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14595 echo $ac_n "(cached) $ac_c" 1>&6
14597 cat > conftest.$ac_ext <<EOF
14598 #line 14599 "configure"
14599 #include "confdefs.h"
14600 /* System header to define __stub macros and hopefully few prototypes,
14601 which can conflict with char $ac_func(); below. */
14602 #include <assert.h>
14603 /* Override any gcc2 internal prototype to avoid an error. */
14604 /* We use char because int might match the return type of a gcc2
14605 builtin and then its argument prototype would still apply. */
14610 /* The GNU C library defines this for functions which it implements
14611 to always fail with ENOSYS. Some functions are actually named
14612 something starting with __ and the normal name is an alias. */
14613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14621 if { (eval echo configure:14622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14623 eval "ac_cv_func_$ac_func=yes"
14625 echo "configure: failed program was:" >&5
14626 cat conftest.$ac_ext >&5
14628 eval "ac_cv_func_$ac_func=no"
14633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14634 echo "$ac_t""yes" 1>&6
14635 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14636 cat >> confdefs.h <<EOF
14637 #define $ac_tr_func 1
14641 echo "$ac_t""no" 1>&6
14650 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14651 echo "configure:14652: checking for logf declaration" >&5
14652 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14653 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14654 echo $ac_n "(cached) $ac_c" 1>&6
14659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14660 ac_cpp='$CXXCPP $CPPFLAGS'
14661 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14662 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14663 cross_compiling=$ac_cv_prog_cxx_cross
14665 cat > conftest.$ac_ext <<EOF
14666 #line 14667 "configure"
14667 #include "confdefs.h"
14669 #ifdef HAVE_IEEEFP_H
14670 #include <ieeefp.h>
14677 if { (eval echo configure:14678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14679 glibcpp_cv_func_logf_use=yes
14681 echo "configure: failed program was:" >&5
14682 cat conftest.$ac_ext >&5
14684 glibcpp_cv_func_logf_use=no
14688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14689 ac_cpp='$CPP $CPPFLAGS'
14690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14692 cross_compiling=$ac_cv_prog_cc_cross
14698 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14700 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14701 for ac_func in logf
14703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14704 echo "configure:14705: checking for $ac_func" >&5
14705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14706 echo $ac_n "(cached) $ac_c" 1>&6
14708 cat > conftest.$ac_ext <<EOF
14709 #line 14710 "configure"
14710 #include "confdefs.h"
14711 /* System header to define __stub macros and hopefully few prototypes,
14712 which can conflict with char $ac_func(); below. */
14713 #include <assert.h>
14714 /* Override any gcc2 internal prototype to avoid an error. */
14715 /* We use char because int might match the return type of a gcc2
14716 builtin and then its argument prototype would still apply. */
14721 /* The GNU C library defines this for functions which it implements
14722 to always fail with ENOSYS. Some functions are actually named
14723 something starting with __ and the normal name is an alias. */
14724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14732 if { (eval echo configure:14733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14734 eval "ac_cv_func_$ac_func=yes"
14736 echo "configure: failed program was:" >&5
14737 cat conftest.$ac_ext >&5
14739 eval "ac_cv_func_$ac_func=no"
14744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14745 echo "$ac_t""yes" 1>&6
14746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14747 cat >> confdefs.h <<EOF
14748 #define $ac_tr_func 1
14752 echo "$ac_t""no" 1>&6
14758 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14759 echo "configure:14760: checking for _logf declaration" >&5
14760 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14761 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14762 echo $ac_n "(cached) $ac_c" 1>&6
14767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14768 ac_cpp='$CXXCPP $CPPFLAGS'
14769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14771 cross_compiling=$ac_cv_prog_cxx_cross
14773 cat > conftest.$ac_ext <<EOF
14774 #line 14775 "configure"
14775 #include "confdefs.h"
14777 #ifdef HAVE_IEEEFP_H
14778 #include <ieeefp.h>
14785 if { (eval echo configure:14786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14787 glibcpp_cv_func__logf_use=yes
14789 echo "configure: failed program was:" >&5
14790 cat conftest.$ac_ext >&5
14792 glibcpp_cv_func__logf_use=no
14796 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14797 ac_cpp='$CPP $CPPFLAGS'
14798 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14799 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14800 cross_compiling=$ac_cv_prog_cc_cross
14806 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14808 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14809 for ac_func in _logf
14811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14812 echo "configure:14813: checking for $ac_func" >&5
14813 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14814 echo $ac_n "(cached) $ac_c" 1>&6
14816 cat > conftest.$ac_ext <<EOF
14817 #line 14818 "configure"
14818 #include "confdefs.h"
14819 /* System header to define __stub macros and hopefully few prototypes,
14820 which can conflict with char $ac_func(); below. */
14821 #include <assert.h>
14822 /* Override any gcc2 internal prototype to avoid an error. */
14823 /* We use char because int might match the return type of a gcc2
14824 builtin and then its argument prototype would still apply. */
14829 /* The GNU C library defines this for functions which it implements
14830 to always fail with ENOSYS. Some functions are actually named
14831 something starting with __ and the normal name is an alias. */
14832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14840 if { (eval echo configure:14841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14842 eval "ac_cv_func_$ac_func=yes"
14844 echo "configure: failed program was:" >&5
14845 cat conftest.$ac_ext >&5
14847 eval "ac_cv_func_$ac_func=no"
14852 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14853 echo "$ac_t""yes" 1>&6
14854 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14855 cat >> confdefs.h <<EOF
14856 #define $ac_tr_func 1
14860 echo "$ac_t""no" 1>&6
14869 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14870 echo "configure:14871: checking for log10f declaration" >&5
14871 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14872 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14873 echo $ac_n "(cached) $ac_c" 1>&6
14878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14879 ac_cpp='$CXXCPP $CPPFLAGS'
14880 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14881 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14882 cross_compiling=$ac_cv_prog_cxx_cross
14884 cat > conftest.$ac_ext <<EOF
14885 #line 14886 "configure"
14886 #include "confdefs.h"
14888 #ifdef HAVE_IEEEFP_H
14889 #include <ieeefp.h>
14896 if { (eval echo configure:14897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14898 glibcpp_cv_func_log10f_use=yes
14900 echo "configure: failed program was:" >&5
14901 cat conftest.$ac_ext >&5
14903 glibcpp_cv_func_log10f_use=no
14907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14908 ac_cpp='$CPP $CPPFLAGS'
14909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14911 cross_compiling=$ac_cv_prog_cc_cross
14917 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14919 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14920 for ac_func in log10f
14922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14923 echo "configure:14924: checking for $ac_func" >&5
14924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14925 echo $ac_n "(cached) $ac_c" 1>&6
14927 cat > conftest.$ac_ext <<EOF
14928 #line 14929 "configure"
14929 #include "confdefs.h"
14930 /* System header to define __stub macros and hopefully few prototypes,
14931 which can conflict with char $ac_func(); below. */
14932 #include <assert.h>
14933 /* Override any gcc2 internal prototype to avoid an error. */
14934 /* We use char because int might match the return type of a gcc2
14935 builtin and then its argument prototype would still apply. */
14940 /* The GNU C library defines this for functions which it implements
14941 to always fail with ENOSYS. Some functions are actually named
14942 something starting with __ and the normal name is an alias. */
14943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14951 if { (eval echo configure:14952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14953 eval "ac_cv_func_$ac_func=yes"
14955 echo "configure: failed program was:" >&5
14956 cat conftest.$ac_ext >&5
14958 eval "ac_cv_func_$ac_func=no"
14963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14964 echo "$ac_t""yes" 1>&6
14965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14966 cat >> confdefs.h <<EOF
14967 #define $ac_tr_func 1
14971 echo "$ac_t""no" 1>&6
14977 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14978 echo "configure:14979: checking for _log10f declaration" >&5
14979 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14980 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14981 echo $ac_n "(cached) $ac_c" 1>&6
14986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14987 ac_cpp='$CXXCPP $CPPFLAGS'
14988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14990 cross_compiling=$ac_cv_prog_cxx_cross
14992 cat > conftest.$ac_ext <<EOF
14993 #line 14994 "configure"
14994 #include "confdefs.h"
14996 #ifdef HAVE_IEEEFP_H
14997 #include <ieeefp.h>
15004 if { (eval echo configure:15005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15006 glibcpp_cv_func__log10f_use=yes
15008 echo "configure: failed program was:" >&5
15009 cat conftest.$ac_ext >&5
15011 glibcpp_cv_func__log10f_use=no
15015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15016 ac_cpp='$CPP $CPPFLAGS'
15017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15019 cross_compiling=$ac_cv_prog_cc_cross
15025 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
15027 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
15028 for ac_func in _log10f
15030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15031 echo "configure:15032: checking for $ac_func" >&5
15032 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15033 echo $ac_n "(cached) $ac_c" 1>&6
15035 cat > conftest.$ac_ext <<EOF
15036 #line 15037 "configure"
15037 #include "confdefs.h"
15038 /* System header to define __stub macros and hopefully few prototypes,
15039 which can conflict with char $ac_func(); below. */
15040 #include <assert.h>
15041 /* Override any gcc2 internal prototype to avoid an error. */
15042 /* We use char because int might match the return type of a gcc2
15043 builtin and then its argument prototype would still apply. */
15048 /* The GNU C library defines this for functions which it implements
15049 to always fail with ENOSYS. Some functions are actually named
15050 something starting with __ and the normal name is an alias. */
15051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15059 if { (eval echo configure:15060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15061 eval "ac_cv_func_$ac_func=yes"
15063 echo "configure: failed program was:" >&5
15064 cat conftest.$ac_ext >&5
15066 eval "ac_cv_func_$ac_func=no"
15071 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15072 echo "$ac_t""yes" 1>&6
15073 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15074 cat >> confdefs.h <<EOF
15075 #define $ac_tr_func 1
15079 echo "$ac_t""no" 1>&6
15088 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15089 echo "configure:15090: checking for modff declaration" >&5
15090 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15091 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15092 echo $ac_n "(cached) $ac_c" 1>&6
15097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15098 ac_cpp='$CXXCPP $CPPFLAGS'
15099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15101 cross_compiling=$ac_cv_prog_cxx_cross
15103 cat > conftest.$ac_ext <<EOF
15104 #line 15105 "configure"
15105 #include "confdefs.h"
15111 if { (eval echo configure:15112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15113 glibcpp_cv_func_modff_use=yes
15115 echo "configure: failed program was:" >&5
15116 cat conftest.$ac_ext >&5
15118 glibcpp_cv_func_modff_use=no
15122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15123 ac_cpp='$CPP $CPPFLAGS'
15124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15126 cross_compiling=$ac_cv_prog_cc_cross
15132 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15134 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15135 for ac_func in modff
15137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15138 echo "configure:15139: checking for $ac_func" >&5
15139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15140 echo $ac_n "(cached) $ac_c" 1>&6
15142 cat > conftest.$ac_ext <<EOF
15143 #line 15144 "configure"
15144 #include "confdefs.h"
15145 /* System header to define __stub macros and hopefully few prototypes,
15146 which can conflict with char $ac_func(); below. */
15147 #include <assert.h>
15148 /* Override any gcc2 internal prototype to avoid an error. */
15149 /* We use char because int might match the return type of a gcc2
15150 builtin and then its argument prototype would still apply. */
15155 /* The GNU C library defines this for functions which it implements
15156 to always fail with ENOSYS. Some functions are actually named
15157 something starting with __ and the normal name is an alias. */
15158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15166 if { (eval echo configure:15167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15168 eval "ac_cv_func_$ac_func=yes"
15170 echo "configure: failed program was:" >&5
15171 cat conftest.$ac_ext >&5
15173 eval "ac_cv_func_$ac_func=no"
15178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15179 echo "$ac_t""yes" 1>&6
15180 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15181 cat >> confdefs.h <<EOF
15182 #define $ac_tr_func 1
15186 echo "$ac_t""no" 1>&6
15192 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15193 echo "configure:15194: checking for _modff declaration" >&5
15194 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15195 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15196 echo $ac_n "(cached) $ac_c" 1>&6
15201 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15202 ac_cpp='$CXXCPP $CPPFLAGS'
15203 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15204 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15205 cross_compiling=$ac_cv_prog_cxx_cross
15207 cat > conftest.$ac_ext <<EOF
15208 #line 15209 "configure"
15209 #include "confdefs.h"
15215 if { (eval echo configure:15216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15217 glibcpp_cv_func__modff_use=yes
15219 echo "configure: failed program was:" >&5
15220 cat conftest.$ac_ext >&5
15222 glibcpp_cv_func__modff_use=no
15226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15227 ac_cpp='$CPP $CPPFLAGS'
15228 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15229 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15230 cross_compiling=$ac_cv_prog_cc_cross
15236 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15238 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15239 for ac_func in _modff
15241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15242 echo "configure:15243: checking for $ac_func" >&5
15243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15244 echo $ac_n "(cached) $ac_c" 1>&6
15246 cat > conftest.$ac_ext <<EOF
15247 #line 15248 "configure"
15248 #include "confdefs.h"
15249 /* System header to define __stub macros and hopefully few prototypes,
15250 which can conflict with char $ac_func(); below. */
15251 #include <assert.h>
15252 /* Override any gcc2 internal prototype to avoid an error. */
15253 /* We use char because int might match the return type of a gcc2
15254 builtin and then its argument prototype would still apply. */
15259 /* The GNU C library defines this for functions which it implements
15260 to always fail with ENOSYS. Some functions are actually named
15261 something starting with __ and the normal name is an alias. */
15262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15270 if { (eval echo configure:15271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15272 eval "ac_cv_func_$ac_func=yes"
15274 echo "configure: failed program was:" >&5
15275 cat conftest.$ac_ext >&5
15277 eval "ac_cv_func_$ac_func=no"
15282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15283 echo "$ac_t""yes" 1>&6
15284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15285 cat >> confdefs.h <<EOF
15286 #define $ac_tr_func 1
15290 echo "$ac_t""no" 1>&6
15299 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15300 echo "configure:15301: checking for powf declaration" >&5
15301 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15302 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15303 echo $ac_n "(cached) $ac_c" 1>&6
15308 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15309 ac_cpp='$CXXCPP $CPPFLAGS'
15310 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15311 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15312 cross_compiling=$ac_cv_prog_cxx_cross
15314 cat > conftest.$ac_ext <<EOF
15315 #line 15316 "configure"
15316 #include "confdefs.h"
15322 if { (eval echo configure:15323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15324 glibcpp_cv_func_powf_use=yes
15326 echo "configure: failed program was:" >&5
15327 cat conftest.$ac_ext >&5
15329 glibcpp_cv_func_powf_use=no
15333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15334 ac_cpp='$CPP $CPPFLAGS'
15335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15337 cross_compiling=$ac_cv_prog_cc_cross
15343 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15345 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15346 for ac_func in powf
15348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15349 echo "configure:15350: checking for $ac_func" >&5
15350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15351 echo $ac_n "(cached) $ac_c" 1>&6
15353 cat > conftest.$ac_ext <<EOF
15354 #line 15355 "configure"
15355 #include "confdefs.h"
15356 /* System header to define __stub macros and hopefully few prototypes,
15357 which can conflict with char $ac_func(); below. */
15358 #include <assert.h>
15359 /* Override any gcc2 internal prototype to avoid an error. */
15360 /* We use char because int might match the return type of a gcc2
15361 builtin and then its argument prototype would still apply. */
15366 /* The GNU C library defines this for functions which it implements
15367 to always fail with ENOSYS. Some functions are actually named
15368 something starting with __ and the normal name is an alias. */
15369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15377 if { (eval echo configure:15378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15379 eval "ac_cv_func_$ac_func=yes"
15381 echo "configure: failed program was:" >&5
15382 cat conftest.$ac_ext >&5
15384 eval "ac_cv_func_$ac_func=no"
15389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15390 echo "$ac_t""yes" 1>&6
15391 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15392 cat >> confdefs.h <<EOF
15393 #define $ac_tr_func 1
15397 echo "$ac_t""no" 1>&6
15403 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15404 echo "configure:15405: checking for _powf declaration" >&5
15405 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15406 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15407 echo $ac_n "(cached) $ac_c" 1>&6
15412 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15413 ac_cpp='$CXXCPP $CPPFLAGS'
15414 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15415 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15416 cross_compiling=$ac_cv_prog_cxx_cross
15418 cat > conftest.$ac_ext <<EOF
15419 #line 15420 "configure"
15420 #include "confdefs.h"
15426 if { (eval echo configure:15427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15428 glibcpp_cv_func__powf_use=yes
15430 echo "configure: failed program was:" >&5
15431 cat conftest.$ac_ext >&5
15433 glibcpp_cv_func__powf_use=no
15437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15441 cross_compiling=$ac_cv_prog_cc_cross
15447 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15449 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15450 for ac_func in _powf
15452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15453 echo "configure:15454: checking for $ac_func" >&5
15454 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15455 echo $ac_n "(cached) $ac_c" 1>&6
15457 cat > conftest.$ac_ext <<EOF
15458 #line 15459 "configure"
15459 #include "confdefs.h"
15460 /* System header to define __stub macros and hopefully few prototypes,
15461 which can conflict with char $ac_func(); below. */
15462 #include <assert.h>
15463 /* Override any gcc2 internal prototype to avoid an error. */
15464 /* We use char because int might match the return type of a gcc2
15465 builtin and then its argument prototype would still apply. */
15470 /* The GNU C library defines this for functions which it implements
15471 to always fail with ENOSYS. Some functions are actually named
15472 something starting with __ and the normal name is an alias. */
15473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15481 if { (eval echo configure:15482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15483 eval "ac_cv_func_$ac_func=yes"
15485 echo "configure: failed program was:" >&5
15486 cat conftest.$ac_ext >&5
15488 eval "ac_cv_func_$ac_func=no"
15493 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15494 echo "$ac_t""yes" 1>&6
15495 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15496 cat >> confdefs.h <<EOF
15497 #define $ac_tr_func 1
15501 echo "$ac_t""no" 1>&6
15510 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15511 echo "configure:15512: checking for sqrtf declaration" >&5
15512 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15513 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15514 echo $ac_n "(cached) $ac_c" 1>&6
15519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15520 ac_cpp='$CXXCPP $CPPFLAGS'
15521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15523 cross_compiling=$ac_cv_prog_cxx_cross
15525 cat > conftest.$ac_ext <<EOF
15526 #line 15527 "configure"
15527 #include "confdefs.h"
15529 #ifdef HAVE_IEEEFP_H
15530 #include <ieeefp.h>
15537 if { (eval echo configure:15538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15539 glibcpp_cv_func_sqrtf_use=yes
15541 echo "configure: failed program was:" >&5
15542 cat conftest.$ac_ext >&5
15544 glibcpp_cv_func_sqrtf_use=no
15548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15549 ac_cpp='$CPP $CPPFLAGS'
15550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15552 cross_compiling=$ac_cv_prog_cc_cross
15558 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15560 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15561 for ac_func in sqrtf
15563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15564 echo "configure:15565: checking for $ac_func" >&5
15565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15566 echo $ac_n "(cached) $ac_c" 1>&6
15568 cat > conftest.$ac_ext <<EOF
15569 #line 15570 "configure"
15570 #include "confdefs.h"
15571 /* System header to define __stub macros and hopefully few prototypes,
15572 which can conflict with char $ac_func(); below. */
15573 #include <assert.h>
15574 /* Override any gcc2 internal prototype to avoid an error. */
15575 /* We use char because int might match the return type of a gcc2
15576 builtin and then its argument prototype would still apply. */
15581 /* The GNU C library defines this for functions which it implements
15582 to always fail with ENOSYS. Some functions are actually named
15583 something starting with __ and the normal name is an alias. */
15584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15592 if { (eval echo configure:15593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15594 eval "ac_cv_func_$ac_func=yes"
15596 echo "configure: failed program was:" >&5
15597 cat conftest.$ac_ext >&5
15599 eval "ac_cv_func_$ac_func=no"
15604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15605 echo "$ac_t""yes" 1>&6
15606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15607 cat >> confdefs.h <<EOF
15608 #define $ac_tr_func 1
15612 echo "$ac_t""no" 1>&6
15618 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15619 echo "configure:15620: checking for _sqrtf declaration" >&5
15620 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15621 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15622 echo $ac_n "(cached) $ac_c" 1>&6
15627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15628 ac_cpp='$CXXCPP $CPPFLAGS'
15629 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15630 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15631 cross_compiling=$ac_cv_prog_cxx_cross
15633 cat > conftest.$ac_ext <<EOF
15634 #line 15635 "configure"
15635 #include "confdefs.h"
15637 #ifdef HAVE_IEEEFP_H
15638 #include <ieeefp.h>
15645 if { (eval echo configure:15646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15647 glibcpp_cv_func__sqrtf_use=yes
15649 echo "configure: failed program was:" >&5
15650 cat conftest.$ac_ext >&5
15652 glibcpp_cv_func__sqrtf_use=no
15656 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15657 ac_cpp='$CPP $CPPFLAGS'
15658 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15659 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15660 cross_compiling=$ac_cv_prog_cc_cross
15666 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15668 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15669 for ac_func in _sqrtf
15671 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15672 echo "configure:15673: checking for $ac_func" >&5
15673 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15674 echo $ac_n "(cached) $ac_c" 1>&6
15676 cat > conftest.$ac_ext <<EOF
15677 #line 15678 "configure"
15678 #include "confdefs.h"
15679 /* System header to define __stub macros and hopefully few prototypes,
15680 which can conflict with char $ac_func(); below. */
15681 #include <assert.h>
15682 /* Override any gcc2 internal prototype to avoid an error. */
15683 /* We use char because int might match the return type of a gcc2
15684 builtin and then its argument prototype would still apply. */
15689 /* The GNU C library defines this for functions which it implements
15690 to always fail with ENOSYS. Some functions are actually named
15691 something starting with __ and the normal name is an alias. */
15692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15700 if { (eval echo configure:15701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15702 eval "ac_cv_func_$ac_func=yes"
15704 echo "configure: failed program was:" >&5
15705 cat conftest.$ac_ext >&5
15707 eval "ac_cv_func_$ac_func=no"
15712 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15713 echo "$ac_t""yes" 1>&6
15714 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15715 cat >> confdefs.h <<EOF
15716 #define $ac_tr_func 1
15720 echo "$ac_t""no" 1>&6
15729 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15730 echo "configure:15731: checking for sincosf declaration" >&5
15731 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15732 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15733 echo $ac_n "(cached) $ac_c" 1>&6
15738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15739 ac_cpp='$CXXCPP $CPPFLAGS'
15740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15742 cross_compiling=$ac_cv_prog_cxx_cross
15744 cat > conftest.$ac_ext <<EOF
15745 #line 15746 "configure"
15746 #include "confdefs.h"
15752 if { (eval echo configure:15753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15754 glibcpp_cv_func_sincosf_use=yes
15756 echo "configure: failed program was:" >&5
15757 cat conftest.$ac_ext >&5
15759 glibcpp_cv_func_sincosf_use=no
15763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15764 ac_cpp='$CPP $CPPFLAGS'
15765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15767 cross_compiling=$ac_cv_prog_cc_cross
15773 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15775 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15776 for ac_func in sincosf
15778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15779 echo "configure:15780: checking for $ac_func" >&5
15780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15781 echo $ac_n "(cached) $ac_c" 1>&6
15783 cat > conftest.$ac_ext <<EOF
15784 #line 15785 "configure"
15785 #include "confdefs.h"
15786 /* System header to define __stub macros and hopefully few prototypes,
15787 which can conflict with char $ac_func(); below. */
15788 #include <assert.h>
15789 /* Override any gcc2 internal prototype to avoid an error. */
15790 /* We use char because int might match the return type of a gcc2
15791 builtin and then its argument prototype would still apply. */
15796 /* The GNU C library defines this for functions which it implements
15797 to always fail with ENOSYS. Some functions are actually named
15798 something starting with __ and the normal name is an alias. */
15799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15807 if { (eval echo configure:15808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15809 eval "ac_cv_func_$ac_func=yes"
15811 echo "configure: failed program was:" >&5
15812 cat conftest.$ac_ext >&5
15814 eval "ac_cv_func_$ac_func=no"
15819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15820 echo "$ac_t""yes" 1>&6
15821 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15822 cat >> confdefs.h <<EOF
15823 #define $ac_tr_func 1
15827 echo "$ac_t""no" 1>&6
15833 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15834 echo "configure:15835: checking for _sincosf declaration" >&5
15835 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15836 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15837 echo $ac_n "(cached) $ac_c" 1>&6
15842 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15843 ac_cpp='$CXXCPP $CPPFLAGS'
15844 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15845 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15846 cross_compiling=$ac_cv_prog_cxx_cross
15848 cat > conftest.$ac_ext <<EOF
15849 #line 15850 "configure"
15850 #include "confdefs.h"
15856 if { (eval echo configure:15857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15858 glibcpp_cv_func__sincosf_use=yes
15860 echo "configure: failed program was:" >&5
15861 cat conftest.$ac_ext >&5
15863 glibcpp_cv_func__sincosf_use=no
15867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15868 ac_cpp='$CPP $CPPFLAGS'
15869 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15870 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15871 cross_compiling=$ac_cv_prog_cc_cross
15877 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15879 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15880 for ac_func in _sincosf
15882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15883 echo "configure:15884: checking for $ac_func" >&5
15884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15885 echo $ac_n "(cached) $ac_c" 1>&6
15887 cat > conftest.$ac_ext <<EOF
15888 #line 15889 "configure"
15889 #include "confdefs.h"
15890 /* System header to define __stub macros and hopefully few prototypes,
15891 which can conflict with char $ac_func(); below. */
15892 #include <assert.h>
15893 /* Override any gcc2 internal prototype to avoid an error. */
15894 /* We use char because int might match the return type of a gcc2
15895 builtin and then its argument prototype would still apply. */
15900 /* The GNU C library defines this for functions which it implements
15901 to always fail with ENOSYS. Some functions are actually named
15902 something starting with __ and the normal name is an alias. */
15903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15911 if { (eval echo configure:15912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15913 eval "ac_cv_func_$ac_func=yes"
15915 echo "configure: failed program was:" >&5
15916 cat conftest.$ac_ext >&5
15918 eval "ac_cv_func_$ac_func=no"
15923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15924 echo "$ac_t""yes" 1>&6
15925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15926 cat >> confdefs.h <<EOF
15927 #define $ac_tr_func 1
15931 echo "$ac_t""no" 1>&6
15940 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15941 echo "configure:15942: checking for finitef declaration" >&5
15942 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15943 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15944 echo $ac_n "(cached) $ac_c" 1>&6
15949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15950 ac_cpp='$CXXCPP $CPPFLAGS'
15951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15953 cross_compiling=$ac_cv_prog_cxx_cross
15955 cat > conftest.$ac_ext <<EOF
15956 #line 15957 "configure"
15957 #include "confdefs.h"
15959 #ifdef HAVE_IEEEFP_H
15960 #include <ieeefp.h>
15967 if { (eval echo configure:15968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15969 glibcpp_cv_func_finitef_use=yes
15971 echo "configure: failed program was:" >&5
15972 cat conftest.$ac_ext >&5
15974 glibcpp_cv_func_finitef_use=no
15978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15979 ac_cpp='$CPP $CPPFLAGS'
15980 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15981 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15982 cross_compiling=$ac_cv_prog_cc_cross
15988 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15990 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15991 for ac_func in finitef
15993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15994 echo "configure:15995: checking for $ac_func" >&5
15995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15996 echo $ac_n "(cached) $ac_c" 1>&6
15998 cat > conftest.$ac_ext <<EOF
15999 #line 16000 "configure"
16000 #include "confdefs.h"
16001 /* System header to define __stub macros and hopefully few prototypes,
16002 which can conflict with char $ac_func(); below. */
16003 #include <assert.h>
16004 /* Override any gcc2 internal prototype to avoid an error. */
16005 /* We use char because int might match the return type of a gcc2
16006 builtin and then its argument prototype would still apply. */
16011 /* The GNU C library defines this for functions which it implements
16012 to always fail with ENOSYS. Some functions are actually named
16013 something starting with __ and the normal name is an alias. */
16014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16022 if { (eval echo configure:16023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16024 eval "ac_cv_func_$ac_func=yes"
16026 echo "configure: failed program was:" >&5
16027 cat conftest.$ac_ext >&5
16029 eval "ac_cv_func_$ac_func=no"
16034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16035 echo "$ac_t""yes" 1>&6
16036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16037 cat >> confdefs.h <<EOF
16038 #define $ac_tr_func 1
16042 echo "$ac_t""no" 1>&6
16048 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
16049 echo "configure:16050: checking for _finitef declaration" >&5
16050 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16051 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16052 echo $ac_n "(cached) $ac_c" 1>&6
16057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16058 ac_cpp='$CXXCPP $CPPFLAGS'
16059 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16060 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16061 cross_compiling=$ac_cv_prog_cxx_cross
16063 cat > conftest.$ac_ext <<EOF
16064 #line 16065 "configure"
16065 #include "confdefs.h"
16067 #ifdef HAVE_IEEEFP_H
16068 #include <ieeefp.h>
16075 if { (eval echo configure:16076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16077 glibcpp_cv_func__finitef_use=yes
16079 echo "configure: failed program was:" >&5
16080 cat conftest.$ac_ext >&5
16082 glibcpp_cv_func__finitef_use=no
16086 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16087 ac_cpp='$CPP $CPPFLAGS'
16088 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16089 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16090 cross_compiling=$ac_cv_prog_cc_cross
16096 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16098 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16099 for ac_func in _finitef
16101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16102 echo "configure:16103: checking for $ac_func" >&5
16103 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16104 echo $ac_n "(cached) $ac_c" 1>&6
16106 cat > conftest.$ac_ext <<EOF
16107 #line 16108 "configure"
16108 #include "confdefs.h"
16109 /* System header to define __stub macros and hopefully few prototypes,
16110 which can conflict with char $ac_func(); below. */
16111 #include <assert.h>
16112 /* Override any gcc2 internal prototype to avoid an error. */
16113 /* We use char because int might match the return type of a gcc2
16114 builtin and then its argument prototype would still apply. */
16119 /* The GNU C library defines this for functions which it implements
16120 to always fail with ENOSYS. Some functions are actually named
16121 something starting with __ and the normal name is an alias. */
16122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16130 if { (eval echo configure:16131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16132 eval "ac_cv_func_$ac_func=yes"
16134 echo "configure: failed program was:" >&5
16135 cat conftest.$ac_ext >&5
16137 eval "ac_cv_func_$ac_func=no"
16142 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16143 echo "$ac_t""yes" 1>&6
16144 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16145 cat >> confdefs.h <<EOF
16146 #define $ac_tr_func 1
16150 echo "$ac_t""no" 1>&6
16159 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16160 echo "configure:16161: checking for long double trig functions" >&5
16161 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16162 echo $ac_n "(cached) $ac_c" 1>&6
16167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16168 ac_cpp='$CXXCPP $CPPFLAGS'
16169 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16170 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16171 cross_compiling=$ac_cv_prog_cxx_cross
16173 cat > conftest.$ac_ext <<EOF
16174 #line 16175 "configure"
16175 #include "confdefs.h"
16178 `for x in acosl asinl atanl \
16180 coshl sinhl tanhl; do echo "$x (0);"; done`
16183 if { (eval echo configure:16184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16185 glibcpp_cv_func_long_double_trig_use=yes
16187 echo "configure: failed program was:" >&5
16188 cat conftest.$ac_ext >&5
16190 glibcpp_cv_func_long_double_trig_use=no
16194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16195 ac_cpp='$CPP $CPPFLAGS'
16196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16198 cross_compiling=$ac_cv_prog_cc_cross
16202 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16203 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16204 for ac_func in acosl asinl atanl \
16208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16209 echo "configure:16210: checking for $ac_func" >&5
16210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16211 echo $ac_n "(cached) $ac_c" 1>&6
16213 cat > conftest.$ac_ext <<EOF
16214 #line 16215 "configure"
16215 #include "confdefs.h"
16216 /* System header to define __stub macros and hopefully few prototypes,
16217 which can conflict with char $ac_func(); below. */
16218 #include <assert.h>
16219 /* Override any gcc2 internal prototype to avoid an error. */
16220 /* We use char because int might match the return type of a gcc2
16221 builtin and then its argument prototype would still apply. */
16226 /* The GNU C library defines this for functions which it implements
16227 to always fail with ENOSYS. Some functions are actually named
16228 something starting with __ and the normal name is an alias. */
16229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16237 if { (eval echo configure:16238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16239 eval "ac_cv_func_$ac_func=yes"
16241 echo "configure: failed program was:" >&5
16242 cat conftest.$ac_ext >&5
16244 eval "ac_cv_func_$ac_func=no"
16249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16250 echo "$ac_t""yes" 1>&6
16251 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16252 cat >> confdefs.h <<EOF
16253 #define $ac_tr_func 1
16257 echo "$ac_t""no" 1>&6
16264 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16265 echo "configure:16266: checking for long double round functions" >&5
16266 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16267 echo $ac_n "(cached) $ac_c" 1>&6
16272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16273 ac_cpp='$CXXCPP $CPPFLAGS'
16274 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16275 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16276 cross_compiling=$ac_cv_prog_cxx_cross
16278 cat > conftest.$ac_ext <<EOF
16279 #line 16280 "configure"
16280 #include "confdefs.h"
16283 `for x in ceill floorl; do echo "$x (0);"; done`
16286 if { (eval echo configure:16287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16288 glibcpp_cv_func_long_double_round_use=yes
16290 echo "configure: failed program was:" >&5
16291 cat conftest.$ac_ext >&5
16293 glibcpp_cv_func_long_double_round_use=no
16297 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16298 ac_cpp='$CPP $CPPFLAGS'
16299 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16300 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16301 cross_compiling=$ac_cv_prog_cc_cross
16305 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16306 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16307 for ac_func in ceill floorl
16309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16310 echo "configure:16311: checking for $ac_func" >&5
16311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16312 echo $ac_n "(cached) $ac_c" 1>&6
16314 cat > conftest.$ac_ext <<EOF
16315 #line 16316 "configure"
16316 #include "confdefs.h"
16317 /* System header to define __stub macros and hopefully few prototypes,
16318 which can conflict with char $ac_func(); below. */
16319 #include <assert.h>
16320 /* Override any gcc2 internal prototype to avoid an error. */
16321 /* We use char because int might match the return type of a gcc2
16322 builtin and then its argument prototype would still apply. */
16327 /* The GNU C library defines this for functions which it implements
16328 to always fail with ENOSYS. Some functions are actually named
16329 something starting with __ and the normal name is an alias. */
16330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16338 if { (eval echo configure:16339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16340 eval "ac_cv_func_$ac_func=yes"
16342 echo "configure: failed program was:" >&5
16343 cat conftest.$ac_ext >&5
16345 eval "ac_cv_func_$ac_func=no"
16350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16351 echo "$ac_t""yes" 1>&6
16352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16353 cat >> confdefs.h <<EOF
16354 #define $ac_tr_func 1
16358 echo "$ac_t""no" 1>&6
16366 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16367 echo "configure:16368: checking for isnanl declaration" >&5
16368 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16369 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16370 echo $ac_n "(cached) $ac_c" 1>&6
16375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16376 ac_cpp='$CXXCPP $CPPFLAGS'
16377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16379 cross_compiling=$ac_cv_prog_cxx_cross
16381 cat > conftest.$ac_ext <<EOF
16382 #line 16383 "configure"
16383 #include "confdefs.h"
16385 #ifdef HAVE_IEEEFP_H
16386 #include <ieeefp.h>
16393 if { (eval echo configure:16394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16395 glibcpp_cv_func_isnanl_use=yes
16397 echo "configure: failed program was:" >&5
16398 cat conftest.$ac_ext >&5
16400 glibcpp_cv_func_isnanl_use=no
16404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16405 ac_cpp='$CPP $CPPFLAGS'
16406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16408 cross_compiling=$ac_cv_prog_cc_cross
16414 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16416 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16417 for ac_func in isnanl
16419 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16420 echo "configure:16421: checking for $ac_func" >&5
16421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16422 echo $ac_n "(cached) $ac_c" 1>&6
16424 cat > conftest.$ac_ext <<EOF
16425 #line 16426 "configure"
16426 #include "confdefs.h"
16427 /* System header to define __stub macros and hopefully few prototypes,
16428 which can conflict with char $ac_func(); below. */
16429 #include <assert.h>
16430 /* Override any gcc2 internal prototype to avoid an error. */
16431 /* We use char because int might match the return type of a gcc2
16432 builtin and then its argument prototype would still apply. */
16437 /* The GNU C library defines this for functions which it implements
16438 to always fail with ENOSYS. Some functions are actually named
16439 something starting with __ and the normal name is an alias. */
16440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16448 if { (eval echo configure:16449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16450 eval "ac_cv_func_$ac_func=yes"
16452 echo "configure: failed program was:" >&5
16453 cat conftest.$ac_ext >&5
16455 eval "ac_cv_func_$ac_func=no"
16460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16461 echo "$ac_t""yes" 1>&6
16462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16463 cat >> confdefs.h <<EOF
16464 #define $ac_tr_func 1
16468 echo "$ac_t""no" 1>&6
16474 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16475 echo "configure:16476: checking for _isnanl declaration" >&5
16476 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16477 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16478 echo $ac_n "(cached) $ac_c" 1>&6
16483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16484 ac_cpp='$CXXCPP $CPPFLAGS'
16485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16487 cross_compiling=$ac_cv_prog_cxx_cross
16489 cat > conftest.$ac_ext <<EOF
16490 #line 16491 "configure"
16491 #include "confdefs.h"
16493 #ifdef HAVE_IEEEFP_H
16494 #include <ieeefp.h>
16501 if { (eval echo configure:16502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16503 glibcpp_cv_func__isnanl_use=yes
16505 echo "configure: failed program was:" >&5
16506 cat conftest.$ac_ext >&5
16508 glibcpp_cv_func__isnanl_use=no
16512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16513 ac_cpp='$CPP $CPPFLAGS'
16514 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16515 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16516 cross_compiling=$ac_cv_prog_cc_cross
16522 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16524 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16525 for ac_func in _isnanl
16527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16528 echo "configure:16529: checking for $ac_func" >&5
16529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16530 echo $ac_n "(cached) $ac_c" 1>&6
16532 cat > conftest.$ac_ext <<EOF
16533 #line 16534 "configure"
16534 #include "confdefs.h"
16535 /* System header to define __stub macros and hopefully few prototypes,
16536 which can conflict with char $ac_func(); below. */
16537 #include <assert.h>
16538 /* Override any gcc2 internal prototype to avoid an error. */
16539 /* We use char because int might match the return type of a gcc2
16540 builtin and then its argument prototype would still apply. */
16545 /* The GNU C library defines this for functions which it implements
16546 to always fail with ENOSYS. Some functions are actually named
16547 something starting with __ and the normal name is an alias. */
16548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16556 if { (eval echo configure:16557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16558 eval "ac_cv_func_$ac_func=yes"
16560 echo "configure: failed program was:" >&5
16561 cat conftest.$ac_ext >&5
16563 eval "ac_cv_func_$ac_func=no"
16568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16569 echo "$ac_t""yes" 1>&6
16570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16571 cat >> confdefs.h <<EOF
16572 #define $ac_tr_func 1
16576 echo "$ac_t""no" 1>&6
16585 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16586 echo "configure:16587: checking for isinfl declaration" >&5
16587 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16588 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16589 echo $ac_n "(cached) $ac_c" 1>&6
16594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16595 ac_cpp='$CXXCPP $CPPFLAGS'
16596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16598 cross_compiling=$ac_cv_prog_cxx_cross
16600 cat > conftest.$ac_ext <<EOF
16601 #line 16602 "configure"
16602 #include "confdefs.h"
16604 #ifdef HAVE_IEEEFP_H
16605 #include <ieeefp.h>
16612 if { (eval echo configure:16613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16614 glibcpp_cv_func_isinfl_use=yes
16616 echo "configure: failed program was:" >&5
16617 cat conftest.$ac_ext >&5
16619 glibcpp_cv_func_isinfl_use=no
16623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16624 ac_cpp='$CPP $CPPFLAGS'
16625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16627 cross_compiling=$ac_cv_prog_cc_cross
16633 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16635 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16636 for ac_func in isinfl
16638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16639 echo "configure:16640: checking for $ac_func" >&5
16640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16641 echo $ac_n "(cached) $ac_c" 1>&6
16643 cat > conftest.$ac_ext <<EOF
16644 #line 16645 "configure"
16645 #include "confdefs.h"
16646 /* System header to define __stub macros and hopefully few prototypes,
16647 which can conflict with char $ac_func(); below. */
16648 #include <assert.h>
16649 /* Override any gcc2 internal prototype to avoid an error. */
16650 /* We use char because int might match the return type of a gcc2
16651 builtin and then its argument prototype would still apply. */
16656 /* The GNU C library defines this for functions which it implements
16657 to always fail with ENOSYS. Some functions are actually named
16658 something starting with __ and the normal name is an alias. */
16659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16667 if { (eval echo configure:16668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16669 eval "ac_cv_func_$ac_func=yes"
16671 echo "configure: failed program was:" >&5
16672 cat conftest.$ac_ext >&5
16674 eval "ac_cv_func_$ac_func=no"
16679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16680 echo "$ac_t""yes" 1>&6
16681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16682 cat >> confdefs.h <<EOF
16683 #define $ac_tr_func 1
16687 echo "$ac_t""no" 1>&6
16693 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16694 echo "configure:16695: checking for _isinfl declaration" >&5
16695 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16696 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16697 echo $ac_n "(cached) $ac_c" 1>&6
16702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16703 ac_cpp='$CXXCPP $CPPFLAGS'
16704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16706 cross_compiling=$ac_cv_prog_cxx_cross
16708 cat > conftest.$ac_ext <<EOF
16709 #line 16710 "configure"
16710 #include "confdefs.h"
16712 #ifdef HAVE_IEEEFP_H
16713 #include <ieeefp.h>
16720 if { (eval echo configure:16721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16722 glibcpp_cv_func__isinfl_use=yes
16724 echo "configure: failed program was:" >&5
16725 cat conftest.$ac_ext >&5
16727 glibcpp_cv_func__isinfl_use=no
16731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16732 ac_cpp='$CPP $CPPFLAGS'
16733 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16734 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16735 cross_compiling=$ac_cv_prog_cc_cross
16741 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16743 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16744 for ac_func in _isinfl
16746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16747 echo "configure:16748: checking for $ac_func" >&5
16748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16749 echo $ac_n "(cached) $ac_c" 1>&6
16751 cat > conftest.$ac_ext <<EOF
16752 #line 16753 "configure"
16753 #include "confdefs.h"
16754 /* System header to define __stub macros and hopefully few prototypes,
16755 which can conflict with char $ac_func(); below. */
16756 #include <assert.h>
16757 /* Override any gcc2 internal prototype to avoid an error. */
16758 /* We use char because int might match the return type of a gcc2
16759 builtin and then its argument prototype would still apply. */
16764 /* The GNU C library defines this for functions which it implements
16765 to always fail with ENOSYS. Some functions are actually named
16766 something starting with __ and the normal name is an alias. */
16767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16775 if { (eval echo configure:16776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16777 eval "ac_cv_func_$ac_func=yes"
16779 echo "configure: failed program was:" >&5
16780 cat conftest.$ac_ext >&5
16782 eval "ac_cv_func_$ac_func=no"
16787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16788 echo "$ac_t""yes" 1>&6
16789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16790 cat >> confdefs.h <<EOF
16791 #define $ac_tr_func 1
16795 echo "$ac_t""no" 1>&6
16804 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16805 echo "configure:16806: checking for copysignl declaration" >&5
16806 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16807 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16808 echo $ac_n "(cached) $ac_c" 1>&6
16813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16814 ac_cpp='$CXXCPP $CPPFLAGS'
16815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16817 cross_compiling=$ac_cv_prog_cxx_cross
16819 cat > conftest.$ac_ext <<EOF
16820 #line 16821 "configure"
16821 #include "confdefs.h"
16827 if { (eval echo configure:16828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16829 glibcpp_cv_func_copysignl_use=yes
16831 echo "configure: failed program was:" >&5
16832 cat conftest.$ac_ext >&5
16834 glibcpp_cv_func_copysignl_use=no
16838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16839 ac_cpp='$CPP $CPPFLAGS'
16840 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16841 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16842 cross_compiling=$ac_cv_prog_cc_cross
16848 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16850 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16851 for ac_func in copysignl
16853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16854 echo "configure:16855: checking for $ac_func" >&5
16855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16856 echo $ac_n "(cached) $ac_c" 1>&6
16858 cat > conftest.$ac_ext <<EOF
16859 #line 16860 "configure"
16860 #include "confdefs.h"
16861 /* System header to define __stub macros and hopefully few prototypes,
16862 which can conflict with char $ac_func(); below. */
16863 #include <assert.h>
16864 /* Override any gcc2 internal prototype to avoid an error. */
16865 /* We use char because int might match the return type of a gcc2
16866 builtin and then its argument prototype would still apply. */
16871 /* The GNU C library defines this for functions which it implements
16872 to always fail with ENOSYS. Some functions are actually named
16873 something starting with __ and the normal name is an alias. */
16874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16882 if { (eval echo configure:16883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16884 eval "ac_cv_func_$ac_func=yes"
16886 echo "configure: failed program was:" >&5
16887 cat conftest.$ac_ext >&5
16889 eval "ac_cv_func_$ac_func=no"
16894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16895 echo "$ac_t""yes" 1>&6
16896 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16897 cat >> confdefs.h <<EOF
16898 #define $ac_tr_func 1
16902 echo "$ac_t""no" 1>&6
16908 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16909 echo "configure:16910: checking for _copysignl declaration" >&5
16910 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16911 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16912 echo $ac_n "(cached) $ac_c" 1>&6
16917 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16918 ac_cpp='$CXXCPP $CPPFLAGS'
16919 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16920 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16921 cross_compiling=$ac_cv_prog_cxx_cross
16923 cat > conftest.$ac_ext <<EOF
16924 #line 16925 "configure"
16925 #include "confdefs.h"
16931 if { (eval echo configure:16932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16933 glibcpp_cv_func__copysignl_use=yes
16935 echo "configure: failed program was:" >&5
16936 cat conftest.$ac_ext >&5
16938 glibcpp_cv_func__copysignl_use=no
16942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16943 ac_cpp='$CPP $CPPFLAGS'
16944 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16945 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16946 cross_compiling=$ac_cv_prog_cc_cross
16952 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16954 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16955 for ac_func in _copysignl
16957 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16958 echo "configure:16959: checking for $ac_func" >&5
16959 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16960 echo $ac_n "(cached) $ac_c" 1>&6
16962 cat > conftest.$ac_ext <<EOF
16963 #line 16964 "configure"
16964 #include "confdefs.h"
16965 /* System header to define __stub macros and hopefully few prototypes,
16966 which can conflict with char $ac_func(); below. */
16967 #include <assert.h>
16968 /* Override any gcc2 internal prototype to avoid an error. */
16969 /* We use char because int might match the return type of a gcc2
16970 builtin and then its argument prototype would still apply. */
16975 /* The GNU C library defines this for functions which it implements
16976 to always fail with ENOSYS. Some functions are actually named
16977 something starting with __ and the normal name is an alias. */
16978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16986 if { (eval echo configure:16987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16988 eval "ac_cv_func_$ac_func=yes"
16990 echo "configure: failed program was:" >&5
16991 cat conftest.$ac_ext >&5
16993 eval "ac_cv_func_$ac_func=no"
16998 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16999 echo "$ac_t""yes" 1>&6
17000 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17001 cat >> confdefs.h <<EOF
17002 #define $ac_tr_func 1
17006 echo "$ac_t""no" 1>&6
17015 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
17016 echo "configure:17017: checking for atan2l declaration" >&5
17017 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
17018 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
17019 echo $ac_n "(cached) $ac_c" 1>&6
17024 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17025 ac_cpp='$CXXCPP $CPPFLAGS'
17026 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17027 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17028 cross_compiling=$ac_cv_prog_cxx_cross
17030 cat > conftest.$ac_ext <<EOF
17031 #line 17032 "configure"
17032 #include "confdefs.h"
17038 if { (eval echo configure:17039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17040 glibcpp_cv_func_atan2l_use=yes
17042 echo "configure: failed program was:" >&5
17043 cat conftest.$ac_ext >&5
17045 glibcpp_cv_func_atan2l_use=no
17049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17050 ac_cpp='$CPP $CPPFLAGS'
17051 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17052 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17053 cross_compiling=$ac_cv_prog_cc_cross
17059 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17061 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17062 for ac_func in atan2l
17064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17065 echo "configure:17066: checking for $ac_func" >&5
17066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17067 echo $ac_n "(cached) $ac_c" 1>&6
17069 cat > conftest.$ac_ext <<EOF
17070 #line 17071 "configure"
17071 #include "confdefs.h"
17072 /* System header to define __stub macros and hopefully few prototypes,
17073 which can conflict with char $ac_func(); below. */
17074 #include <assert.h>
17075 /* Override any gcc2 internal prototype to avoid an error. */
17076 /* We use char because int might match the return type of a gcc2
17077 builtin and then its argument prototype would still apply. */
17082 /* The GNU C library defines this for functions which it implements
17083 to always fail with ENOSYS. Some functions are actually named
17084 something starting with __ and the normal name is an alias. */
17085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17093 if { (eval echo configure:17094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17095 eval "ac_cv_func_$ac_func=yes"
17097 echo "configure: failed program was:" >&5
17098 cat conftest.$ac_ext >&5
17100 eval "ac_cv_func_$ac_func=no"
17105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17106 echo "$ac_t""yes" 1>&6
17107 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17108 cat >> confdefs.h <<EOF
17109 #define $ac_tr_func 1
17113 echo "$ac_t""no" 1>&6
17119 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17120 echo "configure:17121: checking for _atan2l declaration" >&5
17121 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17122 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17123 echo $ac_n "(cached) $ac_c" 1>&6
17128 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17129 ac_cpp='$CXXCPP $CPPFLAGS'
17130 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17131 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17132 cross_compiling=$ac_cv_prog_cxx_cross
17134 cat > conftest.$ac_ext <<EOF
17135 #line 17136 "configure"
17136 #include "confdefs.h"
17142 if { (eval echo configure:17143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17144 glibcpp_cv_func__atan2l_use=yes
17146 echo "configure: failed program was:" >&5
17147 cat conftest.$ac_ext >&5
17149 glibcpp_cv_func__atan2l_use=no
17153 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17154 ac_cpp='$CPP $CPPFLAGS'
17155 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17156 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17157 cross_compiling=$ac_cv_prog_cc_cross
17163 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17165 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17166 for ac_func in _atan2l
17168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17169 echo "configure:17170: checking for $ac_func" >&5
17170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17171 echo $ac_n "(cached) $ac_c" 1>&6
17173 cat > conftest.$ac_ext <<EOF
17174 #line 17175 "configure"
17175 #include "confdefs.h"
17176 /* System header to define __stub macros and hopefully few prototypes,
17177 which can conflict with char $ac_func(); below. */
17178 #include <assert.h>
17179 /* Override any gcc2 internal prototype to avoid an error. */
17180 /* We use char because int might match the return type of a gcc2
17181 builtin and then its argument prototype would still apply. */
17186 /* The GNU C library defines this for functions which it implements
17187 to always fail with ENOSYS. Some functions are actually named
17188 something starting with __ and the normal name is an alias. */
17189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17197 if { (eval echo configure:17198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17199 eval "ac_cv_func_$ac_func=yes"
17201 echo "configure: failed program was:" >&5
17202 cat conftest.$ac_ext >&5
17204 eval "ac_cv_func_$ac_func=no"
17209 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17210 echo "$ac_t""yes" 1>&6
17211 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17212 cat >> confdefs.h <<EOF
17213 #define $ac_tr_func 1
17217 echo "$ac_t""no" 1>&6
17226 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17227 echo "configure:17228: checking for expl declaration" >&5
17228 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17229 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17230 echo $ac_n "(cached) $ac_c" 1>&6
17235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17236 ac_cpp='$CXXCPP $CPPFLAGS'
17237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17239 cross_compiling=$ac_cv_prog_cxx_cross
17241 cat > conftest.$ac_ext <<EOF
17242 #line 17243 "configure"
17243 #include "confdefs.h"
17245 #ifdef HAVE_IEEEFP_H
17246 #include <ieeefp.h>
17253 if { (eval echo configure:17254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17255 glibcpp_cv_func_expl_use=yes
17257 echo "configure: failed program was:" >&5
17258 cat conftest.$ac_ext >&5
17260 glibcpp_cv_func_expl_use=no
17264 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17265 ac_cpp='$CPP $CPPFLAGS'
17266 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17267 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17268 cross_compiling=$ac_cv_prog_cc_cross
17274 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17276 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17277 for ac_func in expl
17279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17280 echo "configure:17281: checking for $ac_func" >&5
17281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17282 echo $ac_n "(cached) $ac_c" 1>&6
17284 cat > conftest.$ac_ext <<EOF
17285 #line 17286 "configure"
17286 #include "confdefs.h"
17287 /* System header to define __stub macros and hopefully few prototypes,
17288 which can conflict with char $ac_func(); below. */
17289 #include <assert.h>
17290 /* Override any gcc2 internal prototype to avoid an error. */
17291 /* We use char because int might match the return type of a gcc2
17292 builtin and then its argument prototype would still apply. */
17297 /* The GNU C library defines this for functions which it implements
17298 to always fail with ENOSYS. Some functions are actually named
17299 something starting with __ and the normal name is an alias. */
17300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17308 if { (eval echo configure:17309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17310 eval "ac_cv_func_$ac_func=yes"
17312 echo "configure: failed program was:" >&5
17313 cat conftest.$ac_ext >&5
17315 eval "ac_cv_func_$ac_func=no"
17320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17321 echo "$ac_t""yes" 1>&6
17322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17323 cat >> confdefs.h <<EOF
17324 #define $ac_tr_func 1
17328 echo "$ac_t""no" 1>&6
17334 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17335 echo "configure:17336: checking for _expl declaration" >&5
17336 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17337 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17338 echo $ac_n "(cached) $ac_c" 1>&6
17343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17344 ac_cpp='$CXXCPP $CPPFLAGS'
17345 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17346 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17347 cross_compiling=$ac_cv_prog_cxx_cross
17349 cat > conftest.$ac_ext <<EOF
17350 #line 17351 "configure"
17351 #include "confdefs.h"
17353 #ifdef HAVE_IEEEFP_H
17354 #include <ieeefp.h>
17361 if { (eval echo configure:17362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17363 glibcpp_cv_func__expl_use=yes
17365 echo "configure: failed program was:" >&5
17366 cat conftest.$ac_ext >&5
17368 glibcpp_cv_func__expl_use=no
17372 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17373 ac_cpp='$CPP $CPPFLAGS'
17374 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17375 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17376 cross_compiling=$ac_cv_prog_cc_cross
17382 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17384 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17385 for ac_func in _expl
17387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17388 echo "configure:17389: checking for $ac_func" >&5
17389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17390 echo $ac_n "(cached) $ac_c" 1>&6
17392 cat > conftest.$ac_ext <<EOF
17393 #line 17394 "configure"
17394 #include "confdefs.h"
17395 /* System header to define __stub macros and hopefully few prototypes,
17396 which can conflict with char $ac_func(); below. */
17397 #include <assert.h>
17398 /* Override any gcc2 internal prototype to avoid an error. */
17399 /* We use char because int might match the return type of a gcc2
17400 builtin and then its argument prototype would still apply. */
17405 /* The GNU C library defines this for functions which it implements
17406 to always fail with ENOSYS. Some functions are actually named
17407 something starting with __ and the normal name is an alias. */
17408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17416 if { (eval echo configure:17417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17418 eval "ac_cv_func_$ac_func=yes"
17420 echo "configure: failed program was:" >&5
17421 cat conftest.$ac_ext >&5
17423 eval "ac_cv_func_$ac_func=no"
17428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17429 echo "$ac_t""yes" 1>&6
17430 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17431 cat >> confdefs.h <<EOF
17432 #define $ac_tr_func 1
17436 echo "$ac_t""no" 1>&6
17445 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17446 echo "configure:17447: checking for fabsl declaration" >&5
17447 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17448 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17449 echo $ac_n "(cached) $ac_c" 1>&6
17454 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17455 ac_cpp='$CXXCPP $CPPFLAGS'
17456 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17457 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17458 cross_compiling=$ac_cv_prog_cxx_cross
17460 cat > conftest.$ac_ext <<EOF
17461 #line 17462 "configure"
17462 #include "confdefs.h"
17464 #ifdef HAVE_IEEEFP_H
17465 #include <ieeefp.h>
17472 if { (eval echo configure:17473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17474 glibcpp_cv_func_fabsl_use=yes
17476 echo "configure: failed program was:" >&5
17477 cat conftest.$ac_ext >&5
17479 glibcpp_cv_func_fabsl_use=no
17483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17484 ac_cpp='$CPP $CPPFLAGS'
17485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17487 cross_compiling=$ac_cv_prog_cc_cross
17493 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17495 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17496 for ac_func in fabsl
17498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17499 echo "configure:17500: checking for $ac_func" >&5
17500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17501 echo $ac_n "(cached) $ac_c" 1>&6
17503 cat > conftest.$ac_ext <<EOF
17504 #line 17505 "configure"
17505 #include "confdefs.h"
17506 /* System header to define __stub macros and hopefully few prototypes,
17507 which can conflict with char $ac_func(); below. */
17508 #include <assert.h>
17509 /* Override any gcc2 internal prototype to avoid an error. */
17510 /* We use char because int might match the return type of a gcc2
17511 builtin and then its argument prototype would still apply. */
17516 /* The GNU C library defines this for functions which it implements
17517 to always fail with ENOSYS. Some functions are actually named
17518 something starting with __ and the normal name is an alias. */
17519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17527 if { (eval echo configure:17528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17529 eval "ac_cv_func_$ac_func=yes"
17531 echo "configure: failed program was:" >&5
17532 cat conftest.$ac_ext >&5
17534 eval "ac_cv_func_$ac_func=no"
17539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17540 echo "$ac_t""yes" 1>&6
17541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17542 cat >> confdefs.h <<EOF
17543 #define $ac_tr_func 1
17547 echo "$ac_t""no" 1>&6
17553 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17554 echo "configure:17555: checking for _fabsl declaration" >&5
17555 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17556 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17557 echo $ac_n "(cached) $ac_c" 1>&6
17562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17563 ac_cpp='$CXXCPP $CPPFLAGS'
17564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17566 cross_compiling=$ac_cv_prog_cxx_cross
17568 cat > conftest.$ac_ext <<EOF
17569 #line 17570 "configure"
17570 #include "confdefs.h"
17572 #ifdef HAVE_IEEEFP_H
17573 #include <ieeefp.h>
17580 if { (eval echo configure:17581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17582 glibcpp_cv_func__fabsl_use=yes
17584 echo "configure: failed program was:" >&5
17585 cat conftest.$ac_ext >&5
17587 glibcpp_cv_func__fabsl_use=no
17591 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17592 ac_cpp='$CPP $CPPFLAGS'
17593 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17594 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17595 cross_compiling=$ac_cv_prog_cc_cross
17601 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17603 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17604 for ac_func in _fabsl
17606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17607 echo "configure:17608: checking for $ac_func" >&5
17608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17609 echo $ac_n "(cached) $ac_c" 1>&6
17611 cat > conftest.$ac_ext <<EOF
17612 #line 17613 "configure"
17613 #include "confdefs.h"
17614 /* System header to define __stub macros and hopefully few prototypes,
17615 which can conflict with char $ac_func(); below. */
17616 #include <assert.h>
17617 /* Override any gcc2 internal prototype to avoid an error. */
17618 /* We use char because int might match the return type of a gcc2
17619 builtin and then its argument prototype would still apply. */
17624 /* The GNU C library defines this for functions which it implements
17625 to always fail with ENOSYS. Some functions are actually named
17626 something starting with __ and the normal name is an alias. */
17627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17635 if { (eval echo configure:17636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17637 eval "ac_cv_func_$ac_func=yes"
17639 echo "configure: failed program was:" >&5
17640 cat conftest.$ac_ext >&5
17642 eval "ac_cv_func_$ac_func=no"
17647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17648 echo "$ac_t""yes" 1>&6
17649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17650 cat >> confdefs.h <<EOF
17651 #define $ac_tr_func 1
17655 echo "$ac_t""no" 1>&6
17664 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17665 echo "configure:17666: checking for fmodl declaration" >&5
17666 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17667 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17668 echo $ac_n "(cached) $ac_c" 1>&6
17673 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17674 ac_cpp='$CXXCPP $CPPFLAGS'
17675 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17676 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17677 cross_compiling=$ac_cv_prog_cxx_cross
17679 cat > conftest.$ac_ext <<EOF
17680 #line 17681 "configure"
17681 #include "confdefs.h"
17687 if { (eval echo configure:17688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17689 glibcpp_cv_func_fmodl_use=yes
17691 echo "configure: failed program was:" >&5
17692 cat conftest.$ac_ext >&5
17694 glibcpp_cv_func_fmodl_use=no
17698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17699 ac_cpp='$CPP $CPPFLAGS'
17700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17702 cross_compiling=$ac_cv_prog_cc_cross
17708 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17710 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17711 for ac_func in fmodl
17713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17714 echo "configure:17715: checking for $ac_func" >&5
17715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17716 echo $ac_n "(cached) $ac_c" 1>&6
17718 cat > conftest.$ac_ext <<EOF
17719 #line 17720 "configure"
17720 #include "confdefs.h"
17721 /* System header to define __stub macros and hopefully few prototypes,
17722 which can conflict with char $ac_func(); below. */
17723 #include <assert.h>
17724 /* Override any gcc2 internal prototype to avoid an error. */
17725 /* We use char because int might match the return type of a gcc2
17726 builtin and then its argument prototype would still apply. */
17731 /* The GNU C library defines this for functions which it implements
17732 to always fail with ENOSYS. Some functions are actually named
17733 something starting with __ and the normal name is an alias. */
17734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17742 if { (eval echo configure:17743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17744 eval "ac_cv_func_$ac_func=yes"
17746 echo "configure: failed program was:" >&5
17747 cat conftest.$ac_ext >&5
17749 eval "ac_cv_func_$ac_func=no"
17754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17755 echo "$ac_t""yes" 1>&6
17756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17757 cat >> confdefs.h <<EOF
17758 #define $ac_tr_func 1
17762 echo "$ac_t""no" 1>&6
17768 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17769 echo "configure:17770: checking for _fmodl declaration" >&5
17770 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17771 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17772 echo $ac_n "(cached) $ac_c" 1>&6
17777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17778 ac_cpp='$CXXCPP $CPPFLAGS'
17779 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17780 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17781 cross_compiling=$ac_cv_prog_cxx_cross
17783 cat > conftest.$ac_ext <<EOF
17784 #line 17785 "configure"
17785 #include "confdefs.h"
17791 if { (eval echo configure:17792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17793 glibcpp_cv_func__fmodl_use=yes
17795 echo "configure: failed program was:" >&5
17796 cat conftest.$ac_ext >&5
17798 glibcpp_cv_func__fmodl_use=no
17802 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17803 ac_cpp='$CPP $CPPFLAGS'
17804 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17805 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17806 cross_compiling=$ac_cv_prog_cc_cross
17812 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17814 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17815 for ac_func in _fmodl
17817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17818 echo "configure:17819: checking for $ac_func" >&5
17819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17820 echo $ac_n "(cached) $ac_c" 1>&6
17822 cat > conftest.$ac_ext <<EOF
17823 #line 17824 "configure"
17824 #include "confdefs.h"
17825 /* System header to define __stub macros and hopefully few prototypes,
17826 which can conflict with char $ac_func(); below. */
17827 #include <assert.h>
17828 /* Override any gcc2 internal prototype to avoid an error. */
17829 /* We use char because int might match the return type of a gcc2
17830 builtin and then its argument prototype would still apply. */
17835 /* The GNU C library defines this for functions which it implements
17836 to always fail with ENOSYS. Some functions are actually named
17837 something starting with __ and the normal name is an alias. */
17838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17846 if { (eval echo configure:17847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17848 eval "ac_cv_func_$ac_func=yes"
17850 echo "configure: failed program was:" >&5
17851 cat conftest.$ac_ext >&5
17853 eval "ac_cv_func_$ac_func=no"
17858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17859 echo "$ac_t""yes" 1>&6
17860 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17861 cat >> confdefs.h <<EOF
17862 #define $ac_tr_func 1
17866 echo "$ac_t""no" 1>&6
17875 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17876 echo "configure:17877: checking for frexpl declaration" >&5
17877 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17878 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17879 echo $ac_n "(cached) $ac_c" 1>&6
17884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17885 ac_cpp='$CXXCPP $CPPFLAGS'
17886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17888 cross_compiling=$ac_cv_prog_cxx_cross
17890 cat > conftest.$ac_ext <<EOF
17891 #line 17892 "configure"
17892 #include "confdefs.h"
17898 if { (eval echo configure:17899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17900 glibcpp_cv_func_frexpl_use=yes
17902 echo "configure: failed program was:" >&5
17903 cat conftest.$ac_ext >&5
17905 glibcpp_cv_func_frexpl_use=no
17909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17910 ac_cpp='$CPP $CPPFLAGS'
17911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17913 cross_compiling=$ac_cv_prog_cc_cross
17919 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17921 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17922 for ac_func in frexpl
17924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17925 echo "configure:17926: checking for $ac_func" >&5
17926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17927 echo $ac_n "(cached) $ac_c" 1>&6
17929 cat > conftest.$ac_ext <<EOF
17930 #line 17931 "configure"
17931 #include "confdefs.h"
17932 /* System header to define __stub macros and hopefully few prototypes,
17933 which can conflict with char $ac_func(); below. */
17934 #include <assert.h>
17935 /* Override any gcc2 internal prototype to avoid an error. */
17936 /* We use char because int might match the return type of a gcc2
17937 builtin and then its argument prototype would still apply. */
17942 /* The GNU C library defines this for functions which it implements
17943 to always fail with ENOSYS. Some functions are actually named
17944 something starting with __ and the normal name is an alias. */
17945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17953 if { (eval echo configure:17954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17955 eval "ac_cv_func_$ac_func=yes"
17957 echo "configure: failed program was:" >&5
17958 cat conftest.$ac_ext >&5
17960 eval "ac_cv_func_$ac_func=no"
17965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17966 echo "$ac_t""yes" 1>&6
17967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17968 cat >> confdefs.h <<EOF
17969 #define $ac_tr_func 1
17973 echo "$ac_t""no" 1>&6
17979 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17980 echo "configure:17981: checking for _frexpl declaration" >&5
17981 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17982 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17983 echo $ac_n "(cached) $ac_c" 1>&6
17988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17989 ac_cpp='$CXXCPP $CPPFLAGS'
17990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17992 cross_compiling=$ac_cv_prog_cxx_cross
17994 cat > conftest.$ac_ext <<EOF
17995 #line 17996 "configure"
17996 #include "confdefs.h"
18002 if { (eval echo configure:18003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18004 glibcpp_cv_func__frexpl_use=yes
18006 echo "configure: failed program was:" >&5
18007 cat conftest.$ac_ext >&5
18009 glibcpp_cv_func__frexpl_use=no
18013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18014 ac_cpp='$CPP $CPPFLAGS'
18015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18017 cross_compiling=$ac_cv_prog_cc_cross
18023 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
18025 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
18026 for ac_func in _frexpl
18028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18029 echo "configure:18030: checking for $ac_func" >&5
18030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18031 echo $ac_n "(cached) $ac_c" 1>&6
18033 cat > conftest.$ac_ext <<EOF
18034 #line 18035 "configure"
18035 #include "confdefs.h"
18036 /* System header to define __stub macros and hopefully few prototypes,
18037 which can conflict with char $ac_func(); below. */
18038 #include <assert.h>
18039 /* Override any gcc2 internal prototype to avoid an error. */
18040 /* We use char because int might match the return type of a gcc2
18041 builtin and then its argument prototype would still apply. */
18046 /* The GNU C library defines this for functions which it implements
18047 to always fail with ENOSYS. Some functions are actually named
18048 something starting with __ and the normal name is an alias. */
18049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18057 if { (eval echo configure:18058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18059 eval "ac_cv_func_$ac_func=yes"
18061 echo "configure: failed program was:" >&5
18062 cat conftest.$ac_ext >&5
18064 eval "ac_cv_func_$ac_func=no"
18069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18070 echo "$ac_t""yes" 1>&6
18071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18072 cat >> confdefs.h <<EOF
18073 #define $ac_tr_func 1
18077 echo "$ac_t""no" 1>&6
18086 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18087 echo "configure:18088: checking for hypotl declaration" >&5
18088 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18089 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18090 echo $ac_n "(cached) $ac_c" 1>&6
18095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18096 ac_cpp='$CXXCPP $CPPFLAGS'
18097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18099 cross_compiling=$ac_cv_prog_cxx_cross
18101 cat > conftest.$ac_ext <<EOF
18102 #line 18103 "configure"
18103 #include "confdefs.h"
18109 if { (eval echo configure:18110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18111 glibcpp_cv_func_hypotl_use=yes
18113 echo "configure: failed program was:" >&5
18114 cat conftest.$ac_ext >&5
18116 glibcpp_cv_func_hypotl_use=no
18120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18121 ac_cpp='$CPP $CPPFLAGS'
18122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18124 cross_compiling=$ac_cv_prog_cc_cross
18130 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18132 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18133 for ac_func in hypotl
18135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18136 echo "configure:18137: checking for $ac_func" >&5
18137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18138 echo $ac_n "(cached) $ac_c" 1>&6
18140 cat > conftest.$ac_ext <<EOF
18141 #line 18142 "configure"
18142 #include "confdefs.h"
18143 /* System header to define __stub macros and hopefully few prototypes,
18144 which can conflict with char $ac_func(); below. */
18145 #include <assert.h>
18146 /* Override any gcc2 internal prototype to avoid an error. */
18147 /* We use char because int might match the return type of a gcc2
18148 builtin and then its argument prototype would still apply. */
18153 /* The GNU C library defines this for functions which it implements
18154 to always fail with ENOSYS. Some functions are actually named
18155 something starting with __ and the normal name is an alias. */
18156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18164 if { (eval echo configure:18165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18166 eval "ac_cv_func_$ac_func=yes"
18168 echo "configure: failed program was:" >&5
18169 cat conftest.$ac_ext >&5
18171 eval "ac_cv_func_$ac_func=no"
18176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18177 echo "$ac_t""yes" 1>&6
18178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18179 cat >> confdefs.h <<EOF
18180 #define $ac_tr_func 1
18184 echo "$ac_t""no" 1>&6
18190 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18191 echo "configure:18192: checking for _hypotl declaration" >&5
18192 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18193 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18194 echo $ac_n "(cached) $ac_c" 1>&6
18199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18200 ac_cpp='$CXXCPP $CPPFLAGS'
18201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18203 cross_compiling=$ac_cv_prog_cxx_cross
18205 cat > conftest.$ac_ext <<EOF
18206 #line 18207 "configure"
18207 #include "confdefs.h"
18213 if { (eval echo configure:18214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18215 glibcpp_cv_func__hypotl_use=yes
18217 echo "configure: failed program was:" >&5
18218 cat conftest.$ac_ext >&5
18220 glibcpp_cv_func__hypotl_use=no
18224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18225 ac_cpp='$CPP $CPPFLAGS'
18226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18228 cross_compiling=$ac_cv_prog_cc_cross
18234 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18236 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18237 for ac_func in _hypotl
18239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18240 echo "configure:18241: checking for $ac_func" >&5
18241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18242 echo $ac_n "(cached) $ac_c" 1>&6
18244 cat > conftest.$ac_ext <<EOF
18245 #line 18246 "configure"
18246 #include "confdefs.h"
18247 /* System header to define __stub macros and hopefully few prototypes,
18248 which can conflict with char $ac_func(); below. */
18249 #include <assert.h>
18250 /* Override any gcc2 internal prototype to avoid an error. */
18251 /* We use char because int might match the return type of a gcc2
18252 builtin and then its argument prototype would still apply. */
18257 /* The GNU C library defines this for functions which it implements
18258 to always fail with ENOSYS. Some functions are actually named
18259 something starting with __ and the normal name is an alias. */
18260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18268 if { (eval echo configure:18269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18270 eval "ac_cv_func_$ac_func=yes"
18272 echo "configure: failed program was:" >&5
18273 cat conftest.$ac_ext >&5
18275 eval "ac_cv_func_$ac_func=no"
18280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18281 echo "$ac_t""yes" 1>&6
18282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18283 cat >> confdefs.h <<EOF
18284 #define $ac_tr_func 1
18288 echo "$ac_t""no" 1>&6
18297 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18298 echo "configure:18299: checking for ldexpl declaration" >&5
18299 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18300 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18301 echo $ac_n "(cached) $ac_c" 1>&6
18306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18307 ac_cpp='$CXXCPP $CPPFLAGS'
18308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18310 cross_compiling=$ac_cv_prog_cxx_cross
18312 cat > conftest.$ac_ext <<EOF
18313 #line 18314 "configure"
18314 #include "confdefs.h"
18320 if { (eval echo configure:18321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18322 glibcpp_cv_func_ldexpl_use=yes
18324 echo "configure: failed program was:" >&5
18325 cat conftest.$ac_ext >&5
18327 glibcpp_cv_func_ldexpl_use=no
18331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18332 ac_cpp='$CPP $CPPFLAGS'
18333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18335 cross_compiling=$ac_cv_prog_cc_cross
18341 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18343 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18344 for ac_func in ldexpl
18346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18347 echo "configure:18348: checking for $ac_func" >&5
18348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18349 echo $ac_n "(cached) $ac_c" 1>&6
18351 cat > conftest.$ac_ext <<EOF
18352 #line 18353 "configure"
18353 #include "confdefs.h"
18354 /* System header to define __stub macros and hopefully few prototypes,
18355 which can conflict with char $ac_func(); below. */
18356 #include <assert.h>
18357 /* Override any gcc2 internal prototype to avoid an error. */
18358 /* We use char because int might match the return type of a gcc2
18359 builtin and then its argument prototype would still apply. */
18364 /* The GNU C library defines this for functions which it implements
18365 to always fail with ENOSYS. Some functions are actually named
18366 something starting with __ and the normal name is an alias. */
18367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18375 if { (eval echo configure:18376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18377 eval "ac_cv_func_$ac_func=yes"
18379 echo "configure: failed program was:" >&5
18380 cat conftest.$ac_ext >&5
18382 eval "ac_cv_func_$ac_func=no"
18387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18388 echo "$ac_t""yes" 1>&6
18389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18390 cat >> confdefs.h <<EOF
18391 #define $ac_tr_func 1
18395 echo "$ac_t""no" 1>&6
18401 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18402 echo "configure:18403: checking for _ldexpl declaration" >&5
18403 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18404 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18405 echo $ac_n "(cached) $ac_c" 1>&6
18410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18411 ac_cpp='$CXXCPP $CPPFLAGS'
18412 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18413 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18414 cross_compiling=$ac_cv_prog_cxx_cross
18416 cat > conftest.$ac_ext <<EOF
18417 #line 18418 "configure"
18418 #include "confdefs.h"
18424 if { (eval echo configure:18425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18426 glibcpp_cv_func__ldexpl_use=yes
18428 echo "configure: failed program was:" >&5
18429 cat conftest.$ac_ext >&5
18431 glibcpp_cv_func__ldexpl_use=no
18435 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18436 ac_cpp='$CPP $CPPFLAGS'
18437 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18438 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18439 cross_compiling=$ac_cv_prog_cc_cross
18445 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18447 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18448 for ac_func in _ldexpl
18450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18451 echo "configure:18452: checking for $ac_func" >&5
18452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18453 echo $ac_n "(cached) $ac_c" 1>&6
18455 cat > conftest.$ac_ext <<EOF
18456 #line 18457 "configure"
18457 #include "confdefs.h"
18458 /* System header to define __stub macros and hopefully few prototypes,
18459 which can conflict with char $ac_func(); below. */
18460 #include <assert.h>
18461 /* Override any gcc2 internal prototype to avoid an error. */
18462 /* We use char because int might match the return type of a gcc2
18463 builtin and then its argument prototype would still apply. */
18468 /* The GNU C library defines this for functions which it implements
18469 to always fail with ENOSYS. Some functions are actually named
18470 something starting with __ and the normal name is an alias. */
18471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18479 if { (eval echo configure:18480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18481 eval "ac_cv_func_$ac_func=yes"
18483 echo "configure: failed program was:" >&5
18484 cat conftest.$ac_ext >&5
18486 eval "ac_cv_func_$ac_func=no"
18491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18492 echo "$ac_t""yes" 1>&6
18493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18494 cat >> confdefs.h <<EOF
18495 #define $ac_tr_func 1
18499 echo "$ac_t""no" 1>&6
18508 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18509 echo "configure:18510: checking for logl declaration" >&5
18510 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18511 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18512 echo $ac_n "(cached) $ac_c" 1>&6
18517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18518 ac_cpp='$CXXCPP $CPPFLAGS'
18519 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18520 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18521 cross_compiling=$ac_cv_prog_cxx_cross
18523 cat > conftest.$ac_ext <<EOF
18524 #line 18525 "configure"
18525 #include "confdefs.h"
18527 #ifdef HAVE_IEEEFP_H
18528 #include <ieeefp.h>
18535 if { (eval echo configure:18536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18537 glibcpp_cv_func_logl_use=yes
18539 echo "configure: failed program was:" >&5
18540 cat conftest.$ac_ext >&5
18542 glibcpp_cv_func_logl_use=no
18546 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18547 ac_cpp='$CPP $CPPFLAGS'
18548 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18549 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18550 cross_compiling=$ac_cv_prog_cc_cross
18556 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18558 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18559 for ac_func in logl
18561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18562 echo "configure:18563: checking for $ac_func" >&5
18563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18564 echo $ac_n "(cached) $ac_c" 1>&6
18566 cat > conftest.$ac_ext <<EOF
18567 #line 18568 "configure"
18568 #include "confdefs.h"
18569 /* System header to define __stub macros and hopefully few prototypes,
18570 which can conflict with char $ac_func(); below. */
18571 #include <assert.h>
18572 /* Override any gcc2 internal prototype to avoid an error. */
18573 /* We use char because int might match the return type of a gcc2
18574 builtin and then its argument prototype would still apply. */
18579 /* The GNU C library defines this for functions which it implements
18580 to always fail with ENOSYS. Some functions are actually named
18581 something starting with __ and the normal name is an alias. */
18582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18590 if { (eval echo configure:18591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18592 eval "ac_cv_func_$ac_func=yes"
18594 echo "configure: failed program was:" >&5
18595 cat conftest.$ac_ext >&5
18597 eval "ac_cv_func_$ac_func=no"
18602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18603 echo "$ac_t""yes" 1>&6
18604 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18605 cat >> confdefs.h <<EOF
18606 #define $ac_tr_func 1
18610 echo "$ac_t""no" 1>&6
18616 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18617 echo "configure:18618: checking for _logl declaration" >&5
18618 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18619 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18620 echo $ac_n "(cached) $ac_c" 1>&6
18625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18626 ac_cpp='$CXXCPP $CPPFLAGS'
18627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18629 cross_compiling=$ac_cv_prog_cxx_cross
18631 cat > conftest.$ac_ext <<EOF
18632 #line 18633 "configure"
18633 #include "confdefs.h"
18635 #ifdef HAVE_IEEEFP_H
18636 #include <ieeefp.h>
18643 if { (eval echo configure:18644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18645 glibcpp_cv_func__logl_use=yes
18647 echo "configure: failed program was:" >&5
18648 cat conftest.$ac_ext >&5
18650 glibcpp_cv_func__logl_use=no
18654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18655 ac_cpp='$CPP $CPPFLAGS'
18656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18658 cross_compiling=$ac_cv_prog_cc_cross
18664 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18666 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18667 for ac_func in _logl
18669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18670 echo "configure:18671: checking for $ac_func" >&5
18671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18672 echo $ac_n "(cached) $ac_c" 1>&6
18674 cat > conftest.$ac_ext <<EOF
18675 #line 18676 "configure"
18676 #include "confdefs.h"
18677 /* System header to define __stub macros and hopefully few prototypes,
18678 which can conflict with char $ac_func(); below. */
18679 #include <assert.h>
18680 /* Override any gcc2 internal prototype to avoid an error. */
18681 /* We use char because int might match the return type of a gcc2
18682 builtin and then its argument prototype would still apply. */
18687 /* The GNU C library defines this for functions which it implements
18688 to always fail with ENOSYS. Some functions are actually named
18689 something starting with __ and the normal name is an alias. */
18690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18698 if { (eval echo configure:18699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18700 eval "ac_cv_func_$ac_func=yes"
18702 echo "configure: failed program was:" >&5
18703 cat conftest.$ac_ext >&5
18705 eval "ac_cv_func_$ac_func=no"
18710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18711 echo "$ac_t""yes" 1>&6
18712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18713 cat >> confdefs.h <<EOF
18714 #define $ac_tr_func 1
18718 echo "$ac_t""no" 1>&6
18727 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18728 echo "configure:18729: checking for log10l declaration" >&5
18729 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18730 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18731 echo $ac_n "(cached) $ac_c" 1>&6
18736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18737 ac_cpp='$CXXCPP $CPPFLAGS'
18738 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18739 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18740 cross_compiling=$ac_cv_prog_cxx_cross
18742 cat > conftest.$ac_ext <<EOF
18743 #line 18744 "configure"
18744 #include "confdefs.h"
18746 #ifdef HAVE_IEEEFP_H
18747 #include <ieeefp.h>
18754 if { (eval echo configure:18755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18756 glibcpp_cv_func_log10l_use=yes
18758 echo "configure: failed program was:" >&5
18759 cat conftest.$ac_ext >&5
18761 glibcpp_cv_func_log10l_use=no
18765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18766 ac_cpp='$CPP $CPPFLAGS'
18767 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18768 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18769 cross_compiling=$ac_cv_prog_cc_cross
18775 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18777 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18778 for ac_func in log10l
18780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18781 echo "configure:18782: checking for $ac_func" >&5
18782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18783 echo $ac_n "(cached) $ac_c" 1>&6
18785 cat > conftest.$ac_ext <<EOF
18786 #line 18787 "configure"
18787 #include "confdefs.h"
18788 /* System header to define __stub macros and hopefully few prototypes,
18789 which can conflict with char $ac_func(); below. */
18790 #include <assert.h>
18791 /* Override any gcc2 internal prototype to avoid an error. */
18792 /* We use char because int might match the return type of a gcc2
18793 builtin and then its argument prototype would still apply. */
18798 /* The GNU C library defines this for functions which it implements
18799 to always fail with ENOSYS. Some functions are actually named
18800 something starting with __ and the normal name is an alias. */
18801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18809 if { (eval echo configure:18810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18811 eval "ac_cv_func_$ac_func=yes"
18813 echo "configure: failed program was:" >&5
18814 cat conftest.$ac_ext >&5
18816 eval "ac_cv_func_$ac_func=no"
18821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18822 echo "$ac_t""yes" 1>&6
18823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18824 cat >> confdefs.h <<EOF
18825 #define $ac_tr_func 1
18829 echo "$ac_t""no" 1>&6
18835 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18836 echo "configure:18837: checking for _log10l declaration" >&5
18837 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18838 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18839 echo $ac_n "(cached) $ac_c" 1>&6
18844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18845 ac_cpp='$CXXCPP $CPPFLAGS'
18846 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18847 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18848 cross_compiling=$ac_cv_prog_cxx_cross
18850 cat > conftest.$ac_ext <<EOF
18851 #line 18852 "configure"
18852 #include "confdefs.h"
18854 #ifdef HAVE_IEEEFP_H
18855 #include <ieeefp.h>
18862 if { (eval echo configure:18863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18864 glibcpp_cv_func__log10l_use=yes
18866 echo "configure: failed program was:" >&5
18867 cat conftest.$ac_ext >&5
18869 glibcpp_cv_func__log10l_use=no
18873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18874 ac_cpp='$CPP $CPPFLAGS'
18875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18877 cross_compiling=$ac_cv_prog_cc_cross
18883 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18885 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18886 for ac_func in _log10l
18888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18889 echo "configure:18890: checking for $ac_func" >&5
18890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18891 echo $ac_n "(cached) $ac_c" 1>&6
18893 cat > conftest.$ac_ext <<EOF
18894 #line 18895 "configure"
18895 #include "confdefs.h"
18896 /* System header to define __stub macros and hopefully few prototypes,
18897 which can conflict with char $ac_func(); below. */
18898 #include <assert.h>
18899 /* Override any gcc2 internal prototype to avoid an error. */
18900 /* We use char because int might match the return type of a gcc2
18901 builtin and then its argument prototype would still apply. */
18906 /* The GNU C library defines this for functions which it implements
18907 to always fail with ENOSYS. Some functions are actually named
18908 something starting with __ and the normal name is an alias. */
18909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18917 if { (eval echo configure:18918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18919 eval "ac_cv_func_$ac_func=yes"
18921 echo "configure: failed program was:" >&5
18922 cat conftest.$ac_ext >&5
18924 eval "ac_cv_func_$ac_func=no"
18929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18930 echo "$ac_t""yes" 1>&6
18931 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18932 cat >> confdefs.h <<EOF
18933 #define $ac_tr_func 1
18937 echo "$ac_t""no" 1>&6
18946 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18947 echo "configure:18948: checking for modfl declaration" >&5
18948 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18949 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18950 echo $ac_n "(cached) $ac_c" 1>&6
18955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18956 ac_cpp='$CXXCPP $CPPFLAGS'
18957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18959 cross_compiling=$ac_cv_prog_cxx_cross
18961 cat > conftest.$ac_ext <<EOF
18962 #line 18963 "configure"
18963 #include "confdefs.h"
18969 if { (eval echo configure:18970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18971 glibcpp_cv_func_modfl_use=yes
18973 echo "configure: failed program was:" >&5
18974 cat conftest.$ac_ext >&5
18976 glibcpp_cv_func_modfl_use=no
18980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18981 ac_cpp='$CPP $CPPFLAGS'
18982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18984 cross_compiling=$ac_cv_prog_cc_cross
18990 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18992 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18993 for ac_func in modfl
18995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18996 echo "configure:18997: checking for $ac_func" >&5
18997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18998 echo $ac_n "(cached) $ac_c" 1>&6
19000 cat > conftest.$ac_ext <<EOF
19001 #line 19002 "configure"
19002 #include "confdefs.h"
19003 /* System header to define __stub macros and hopefully few prototypes,
19004 which can conflict with char $ac_func(); below. */
19005 #include <assert.h>
19006 /* Override any gcc2 internal prototype to avoid an error. */
19007 /* We use char because int might match the return type of a gcc2
19008 builtin and then its argument prototype would still apply. */
19013 /* The GNU C library defines this for functions which it implements
19014 to always fail with ENOSYS. Some functions are actually named
19015 something starting with __ and the normal name is an alias. */
19016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19024 if { (eval echo configure:19025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19026 eval "ac_cv_func_$ac_func=yes"
19028 echo "configure: failed program was:" >&5
19029 cat conftest.$ac_ext >&5
19031 eval "ac_cv_func_$ac_func=no"
19036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19037 echo "$ac_t""yes" 1>&6
19038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19039 cat >> confdefs.h <<EOF
19040 #define $ac_tr_func 1
19044 echo "$ac_t""no" 1>&6
19050 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
19051 echo "configure:19052: checking for _modfl declaration" >&5
19052 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19053 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19054 echo $ac_n "(cached) $ac_c" 1>&6
19059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19060 ac_cpp='$CXXCPP $CPPFLAGS'
19061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19063 cross_compiling=$ac_cv_prog_cxx_cross
19065 cat > conftest.$ac_ext <<EOF
19066 #line 19067 "configure"
19067 #include "confdefs.h"
19073 if { (eval echo configure:19074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19075 glibcpp_cv_func__modfl_use=yes
19077 echo "configure: failed program was:" >&5
19078 cat conftest.$ac_ext >&5
19080 glibcpp_cv_func__modfl_use=no
19084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19085 ac_cpp='$CPP $CPPFLAGS'
19086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19088 cross_compiling=$ac_cv_prog_cc_cross
19094 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19096 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19097 for ac_func in _modfl
19099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19100 echo "configure:19101: checking for $ac_func" >&5
19101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19102 echo $ac_n "(cached) $ac_c" 1>&6
19104 cat > conftest.$ac_ext <<EOF
19105 #line 19106 "configure"
19106 #include "confdefs.h"
19107 /* System header to define __stub macros and hopefully few prototypes,
19108 which can conflict with char $ac_func(); below. */
19109 #include <assert.h>
19110 /* Override any gcc2 internal prototype to avoid an error. */
19111 /* We use char because int might match the return type of a gcc2
19112 builtin and then its argument prototype would still apply. */
19117 /* The GNU C library defines this for functions which it implements
19118 to always fail with ENOSYS. Some functions are actually named
19119 something starting with __ and the normal name is an alias. */
19120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19128 if { (eval echo configure:19129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19130 eval "ac_cv_func_$ac_func=yes"
19132 echo "configure: failed program was:" >&5
19133 cat conftest.$ac_ext >&5
19135 eval "ac_cv_func_$ac_func=no"
19140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19141 echo "$ac_t""yes" 1>&6
19142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19143 cat >> confdefs.h <<EOF
19144 #define $ac_tr_func 1
19148 echo "$ac_t""no" 1>&6
19157 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19158 echo "configure:19159: checking for powl declaration" >&5
19159 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19160 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19161 echo $ac_n "(cached) $ac_c" 1>&6
19166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19167 ac_cpp='$CXXCPP $CPPFLAGS'
19168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19170 cross_compiling=$ac_cv_prog_cxx_cross
19172 cat > conftest.$ac_ext <<EOF
19173 #line 19174 "configure"
19174 #include "confdefs.h"
19180 if { (eval echo configure:19181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19182 glibcpp_cv_func_powl_use=yes
19184 echo "configure: failed program was:" >&5
19185 cat conftest.$ac_ext >&5
19187 glibcpp_cv_func_powl_use=no
19191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19192 ac_cpp='$CPP $CPPFLAGS'
19193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19195 cross_compiling=$ac_cv_prog_cc_cross
19201 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19203 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19204 for ac_func in powl
19206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19207 echo "configure:19208: checking for $ac_func" >&5
19208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19209 echo $ac_n "(cached) $ac_c" 1>&6
19211 cat > conftest.$ac_ext <<EOF
19212 #line 19213 "configure"
19213 #include "confdefs.h"
19214 /* System header to define __stub macros and hopefully few prototypes,
19215 which can conflict with char $ac_func(); below. */
19216 #include <assert.h>
19217 /* Override any gcc2 internal prototype to avoid an error. */
19218 /* We use char because int might match the return type of a gcc2
19219 builtin and then its argument prototype would still apply. */
19224 /* The GNU C library defines this for functions which it implements
19225 to always fail with ENOSYS. Some functions are actually named
19226 something starting with __ and the normal name is an alias. */
19227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19235 if { (eval echo configure:19236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19237 eval "ac_cv_func_$ac_func=yes"
19239 echo "configure: failed program was:" >&5
19240 cat conftest.$ac_ext >&5
19242 eval "ac_cv_func_$ac_func=no"
19247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19248 echo "$ac_t""yes" 1>&6
19249 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19250 cat >> confdefs.h <<EOF
19251 #define $ac_tr_func 1
19255 echo "$ac_t""no" 1>&6
19261 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19262 echo "configure:19263: checking for _powl declaration" >&5
19263 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19264 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19265 echo $ac_n "(cached) $ac_c" 1>&6
19270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19271 ac_cpp='$CXXCPP $CPPFLAGS'
19272 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19273 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19274 cross_compiling=$ac_cv_prog_cxx_cross
19276 cat > conftest.$ac_ext <<EOF
19277 #line 19278 "configure"
19278 #include "confdefs.h"
19284 if { (eval echo configure:19285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19286 glibcpp_cv_func__powl_use=yes
19288 echo "configure: failed program was:" >&5
19289 cat conftest.$ac_ext >&5
19291 glibcpp_cv_func__powl_use=no
19295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19298 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19299 cross_compiling=$ac_cv_prog_cc_cross
19305 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19307 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19308 for ac_func in _powl
19310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19311 echo "configure:19312: checking for $ac_func" >&5
19312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19313 echo $ac_n "(cached) $ac_c" 1>&6
19315 cat > conftest.$ac_ext <<EOF
19316 #line 19317 "configure"
19317 #include "confdefs.h"
19318 /* System header to define __stub macros and hopefully few prototypes,
19319 which can conflict with char $ac_func(); below. */
19320 #include <assert.h>
19321 /* Override any gcc2 internal prototype to avoid an error. */
19322 /* We use char because int might match the return type of a gcc2
19323 builtin and then its argument prototype would still apply. */
19328 /* The GNU C library defines this for functions which it implements
19329 to always fail with ENOSYS. Some functions are actually named
19330 something starting with __ and the normal name is an alias. */
19331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19339 if { (eval echo configure:19340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19341 eval "ac_cv_func_$ac_func=yes"
19343 echo "configure: failed program was:" >&5
19344 cat conftest.$ac_ext >&5
19346 eval "ac_cv_func_$ac_func=no"
19351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19352 echo "$ac_t""yes" 1>&6
19353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19354 cat >> confdefs.h <<EOF
19355 #define $ac_tr_func 1
19359 echo "$ac_t""no" 1>&6
19368 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19369 echo "configure:19370: checking for sqrtl declaration" >&5
19370 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19371 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19372 echo $ac_n "(cached) $ac_c" 1>&6
19377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19378 ac_cpp='$CXXCPP $CPPFLAGS'
19379 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19380 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19381 cross_compiling=$ac_cv_prog_cxx_cross
19383 cat > conftest.$ac_ext <<EOF
19384 #line 19385 "configure"
19385 #include "confdefs.h"
19387 #ifdef HAVE_IEEEFP_H
19388 #include <ieeefp.h>
19395 if { (eval echo configure:19396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19397 glibcpp_cv_func_sqrtl_use=yes
19399 echo "configure: failed program was:" >&5
19400 cat conftest.$ac_ext >&5
19402 glibcpp_cv_func_sqrtl_use=no
19406 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19407 ac_cpp='$CPP $CPPFLAGS'
19408 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19409 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19410 cross_compiling=$ac_cv_prog_cc_cross
19416 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19418 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19419 for ac_func in sqrtl
19421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19422 echo "configure:19423: checking for $ac_func" >&5
19423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19424 echo $ac_n "(cached) $ac_c" 1>&6
19426 cat > conftest.$ac_ext <<EOF
19427 #line 19428 "configure"
19428 #include "confdefs.h"
19429 /* System header to define __stub macros and hopefully few prototypes,
19430 which can conflict with char $ac_func(); below. */
19431 #include <assert.h>
19432 /* Override any gcc2 internal prototype to avoid an error. */
19433 /* We use char because int might match the return type of a gcc2
19434 builtin and then its argument prototype would still apply. */
19439 /* The GNU C library defines this for functions which it implements
19440 to always fail with ENOSYS. Some functions are actually named
19441 something starting with __ and the normal name is an alias. */
19442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19450 if { (eval echo configure:19451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19452 eval "ac_cv_func_$ac_func=yes"
19454 echo "configure: failed program was:" >&5
19455 cat conftest.$ac_ext >&5
19457 eval "ac_cv_func_$ac_func=no"
19462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19463 echo "$ac_t""yes" 1>&6
19464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19465 cat >> confdefs.h <<EOF
19466 #define $ac_tr_func 1
19470 echo "$ac_t""no" 1>&6
19476 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19477 echo "configure:19478: checking for _sqrtl declaration" >&5
19478 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19479 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19480 echo $ac_n "(cached) $ac_c" 1>&6
19485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19486 ac_cpp='$CXXCPP $CPPFLAGS'
19487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19489 cross_compiling=$ac_cv_prog_cxx_cross
19491 cat > conftest.$ac_ext <<EOF
19492 #line 19493 "configure"
19493 #include "confdefs.h"
19495 #ifdef HAVE_IEEEFP_H
19496 #include <ieeefp.h>
19503 if { (eval echo configure:19504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19505 glibcpp_cv_func__sqrtl_use=yes
19507 echo "configure: failed program was:" >&5
19508 cat conftest.$ac_ext >&5
19510 glibcpp_cv_func__sqrtl_use=no
19514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19515 ac_cpp='$CPP $CPPFLAGS'
19516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19518 cross_compiling=$ac_cv_prog_cc_cross
19524 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19526 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19527 for ac_func in _sqrtl
19529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19530 echo "configure:19531: checking for $ac_func" >&5
19531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19532 echo $ac_n "(cached) $ac_c" 1>&6
19534 cat > conftest.$ac_ext <<EOF
19535 #line 19536 "configure"
19536 #include "confdefs.h"
19537 /* System header to define __stub macros and hopefully few prototypes,
19538 which can conflict with char $ac_func(); below. */
19539 #include <assert.h>
19540 /* Override any gcc2 internal prototype to avoid an error. */
19541 /* We use char because int might match the return type of a gcc2
19542 builtin and then its argument prototype would still apply. */
19547 /* The GNU C library defines this for functions which it implements
19548 to always fail with ENOSYS. Some functions are actually named
19549 something starting with __ and the normal name is an alias. */
19550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19558 if { (eval echo configure:19559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19560 eval "ac_cv_func_$ac_func=yes"
19562 echo "configure: failed program was:" >&5
19563 cat conftest.$ac_ext >&5
19565 eval "ac_cv_func_$ac_func=no"
19570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19571 echo "$ac_t""yes" 1>&6
19572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19573 cat >> confdefs.h <<EOF
19574 #define $ac_tr_func 1
19578 echo "$ac_t""no" 1>&6
19587 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19588 echo "configure:19589: checking for sincosl declaration" >&5
19589 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19590 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19591 echo $ac_n "(cached) $ac_c" 1>&6
19596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19597 ac_cpp='$CXXCPP $CPPFLAGS'
19598 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19599 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19600 cross_compiling=$ac_cv_prog_cxx_cross
19602 cat > conftest.$ac_ext <<EOF
19603 #line 19604 "configure"
19604 #include "confdefs.h"
19610 if { (eval echo configure:19611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19612 glibcpp_cv_func_sincosl_use=yes
19614 echo "configure: failed program was:" >&5
19615 cat conftest.$ac_ext >&5
19617 glibcpp_cv_func_sincosl_use=no
19621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19622 ac_cpp='$CPP $CPPFLAGS'
19623 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19624 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19625 cross_compiling=$ac_cv_prog_cc_cross
19631 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19633 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19634 for ac_func in sincosl
19636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19637 echo "configure:19638: checking for $ac_func" >&5
19638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19639 echo $ac_n "(cached) $ac_c" 1>&6
19641 cat > conftest.$ac_ext <<EOF
19642 #line 19643 "configure"
19643 #include "confdefs.h"
19644 /* System header to define __stub macros and hopefully few prototypes,
19645 which can conflict with char $ac_func(); below. */
19646 #include <assert.h>
19647 /* Override any gcc2 internal prototype to avoid an error. */
19648 /* We use char because int might match the return type of a gcc2
19649 builtin and then its argument prototype would still apply. */
19654 /* The GNU C library defines this for functions which it implements
19655 to always fail with ENOSYS. Some functions are actually named
19656 something starting with __ and the normal name is an alias. */
19657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19665 if { (eval echo configure:19666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19667 eval "ac_cv_func_$ac_func=yes"
19669 echo "configure: failed program was:" >&5
19670 cat conftest.$ac_ext >&5
19672 eval "ac_cv_func_$ac_func=no"
19677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19678 echo "$ac_t""yes" 1>&6
19679 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19680 cat >> confdefs.h <<EOF
19681 #define $ac_tr_func 1
19685 echo "$ac_t""no" 1>&6
19691 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19692 echo "configure:19693: checking for _sincosl declaration" >&5
19693 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19694 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19695 echo $ac_n "(cached) $ac_c" 1>&6
19700 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19701 ac_cpp='$CXXCPP $CPPFLAGS'
19702 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19703 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19704 cross_compiling=$ac_cv_prog_cxx_cross
19706 cat > conftest.$ac_ext <<EOF
19707 #line 19708 "configure"
19708 #include "confdefs.h"
19714 if { (eval echo configure:19715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19716 glibcpp_cv_func__sincosl_use=yes
19718 echo "configure: failed program was:" >&5
19719 cat conftest.$ac_ext >&5
19721 glibcpp_cv_func__sincosl_use=no
19725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19726 ac_cpp='$CPP $CPPFLAGS'
19727 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19728 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19729 cross_compiling=$ac_cv_prog_cc_cross
19735 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19737 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19738 for ac_func in _sincosl
19740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19741 echo "configure:19742: checking for $ac_func" >&5
19742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19743 echo $ac_n "(cached) $ac_c" 1>&6
19745 cat > conftest.$ac_ext <<EOF
19746 #line 19747 "configure"
19747 #include "confdefs.h"
19748 /* System header to define __stub macros and hopefully few prototypes,
19749 which can conflict with char $ac_func(); below. */
19750 #include <assert.h>
19751 /* Override any gcc2 internal prototype to avoid an error. */
19752 /* We use char because int might match the return type of a gcc2
19753 builtin and then its argument prototype would still apply. */
19758 /* The GNU C library defines this for functions which it implements
19759 to always fail with ENOSYS. Some functions are actually named
19760 something starting with __ and the normal name is an alias. */
19761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19769 if { (eval echo configure:19770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19771 eval "ac_cv_func_$ac_func=yes"
19773 echo "configure: failed program was:" >&5
19774 cat conftest.$ac_ext >&5
19776 eval "ac_cv_func_$ac_func=no"
19781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19782 echo "$ac_t""yes" 1>&6
19783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19784 cat >> confdefs.h <<EOF
19785 #define $ac_tr_func 1
19789 echo "$ac_t""no" 1>&6
19798 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19799 echo "configure:19800: checking for finitel declaration" >&5
19800 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19801 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19802 echo $ac_n "(cached) $ac_c" 1>&6
19807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19808 ac_cpp='$CXXCPP $CPPFLAGS'
19809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19811 cross_compiling=$ac_cv_prog_cxx_cross
19813 cat > conftest.$ac_ext <<EOF
19814 #line 19815 "configure"
19815 #include "confdefs.h"
19817 #ifdef HAVE_IEEEFP_H
19818 #include <ieeefp.h>
19825 if { (eval echo configure:19826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19827 glibcpp_cv_func_finitel_use=yes
19829 echo "configure: failed program was:" >&5
19830 cat conftest.$ac_ext >&5
19832 glibcpp_cv_func_finitel_use=no
19836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19837 ac_cpp='$CPP $CPPFLAGS'
19838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19840 cross_compiling=$ac_cv_prog_cc_cross
19846 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19848 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19849 for ac_func in finitel
19851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19852 echo "configure:19853: checking for $ac_func" >&5
19853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19854 echo $ac_n "(cached) $ac_c" 1>&6
19856 cat > conftest.$ac_ext <<EOF
19857 #line 19858 "configure"
19858 #include "confdefs.h"
19859 /* System header to define __stub macros and hopefully few prototypes,
19860 which can conflict with char $ac_func(); below. */
19861 #include <assert.h>
19862 /* Override any gcc2 internal prototype to avoid an error. */
19863 /* We use char because int might match the return type of a gcc2
19864 builtin and then its argument prototype would still apply. */
19869 /* The GNU C library defines this for functions which it implements
19870 to always fail with ENOSYS. Some functions are actually named
19871 something starting with __ and the normal name is an alias. */
19872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19880 if { (eval echo configure:19881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19882 eval "ac_cv_func_$ac_func=yes"
19884 echo "configure: failed program was:" >&5
19885 cat conftest.$ac_ext >&5
19887 eval "ac_cv_func_$ac_func=no"
19892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19893 echo "$ac_t""yes" 1>&6
19894 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19895 cat >> confdefs.h <<EOF
19896 #define $ac_tr_func 1
19900 echo "$ac_t""no" 1>&6
19906 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19907 echo "configure:19908: checking for _finitel declaration" >&5
19908 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19909 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19910 echo $ac_n "(cached) $ac_c" 1>&6
19915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19916 ac_cpp='$CXXCPP $CPPFLAGS'
19917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19919 cross_compiling=$ac_cv_prog_cxx_cross
19921 cat > conftest.$ac_ext <<EOF
19922 #line 19923 "configure"
19923 #include "confdefs.h"
19925 #ifdef HAVE_IEEEFP_H
19926 #include <ieeefp.h>
19933 if { (eval echo configure:19934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19935 glibcpp_cv_func__finitel_use=yes
19937 echo "configure: failed program was:" >&5
19938 cat conftest.$ac_ext >&5
19940 glibcpp_cv_func__finitel_use=no
19944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19945 ac_cpp='$CPP $CPPFLAGS'
19946 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19947 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19948 cross_compiling=$ac_cv_prog_cc_cross
19954 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19956 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19957 for ac_func in _finitel
19959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19960 echo "configure:19961: checking for $ac_func" >&5
19961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19962 echo $ac_n "(cached) $ac_c" 1>&6
19964 cat > conftest.$ac_ext <<EOF
19965 #line 19966 "configure"
19966 #include "confdefs.h"
19967 /* System header to define __stub macros and hopefully few prototypes,
19968 which can conflict with char $ac_func(); below. */
19969 #include <assert.h>
19970 /* Override any gcc2 internal prototype to avoid an error. */
19971 /* We use char because int might match the return type of a gcc2
19972 builtin and then its argument prototype would still apply. */
19977 /* The GNU C library defines this for functions which it implements
19978 to always fail with ENOSYS. Some functions are actually named
19979 something starting with __ and the normal name is an alias. */
19980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19988 if { (eval echo configure:19989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19990 eval "ac_cv_func_$ac_func=yes"
19992 echo "configure: failed program was:" >&5
19993 cat conftest.$ac_ext >&5
19995 eval "ac_cv_func_$ac_func=no"
20000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20001 echo "$ac_t""yes" 1>&6
20002 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20003 cat >> confdefs.h <<EOF
20004 #define $ac_tr_func 1
20008 echo "$ac_t""no" 1>&6
20018 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
20019 echo "configure:20020: checking for _float trig functions" >&5
20020 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
20021 echo $ac_n "(cached) $ac_c" 1>&6
20026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20027 ac_cpp='$CXXCPP $CPPFLAGS'
20028 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20029 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20030 cross_compiling=$ac_cv_prog_cxx_cross
20032 cat > conftest.$ac_ext <<EOF
20033 #line 20034 "configure"
20034 #include "confdefs.h"
20037 `for x in _acosf _asinf _atanf \
20038 _cosf _sinf _tanf \
20039 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20042 if { (eval echo configure:20043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20044 glibcpp_cv_func__float_trig_use=yes
20046 echo "configure: failed program was:" >&5
20047 cat conftest.$ac_ext >&5
20049 glibcpp_cv_func__float_trig_use=no
20053 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20054 ac_cpp='$CPP $CPPFLAGS'
20055 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20056 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20057 cross_compiling=$ac_cv_prog_cc_cross
20061 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20062 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20063 for ac_func in _acosf _asinf _atanf \
20064 _cosf _sinf _tanf \
20065 _coshf _sinhf _tanhf
20067 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20068 echo "configure:20069: checking for $ac_func" >&5
20069 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20070 echo $ac_n "(cached) $ac_c" 1>&6
20072 cat > conftest.$ac_ext <<EOF
20073 #line 20074 "configure"
20074 #include "confdefs.h"
20075 /* System header to define __stub macros and hopefully few prototypes,
20076 which can conflict with char $ac_func(); below. */
20077 #include <assert.h>
20078 /* Override any gcc2 internal prototype to avoid an error. */
20079 /* We use char because int might match the return type of a gcc2
20080 builtin and then its argument prototype would still apply. */
20085 /* The GNU C library defines this for functions which it implements
20086 to always fail with ENOSYS. Some functions are actually named
20087 something starting with __ and the normal name is an alias. */
20088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20096 if { (eval echo configure:20097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20098 eval "ac_cv_func_$ac_func=yes"
20100 echo "configure: failed program was:" >&5
20101 cat conftest.$ac_ext >&5
20103 eval "ac_cv_func_$ac_func=no"
20108 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20109 echo "$ac_t""yes" 1>&6
20110 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20111 cat >> confdefs.h <<EOF
20112 #define $ac_tr_func 1
20116 echo "$ac_t""no" 1>&6
20123 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20124 echo "configure:20125: checking for _float round functions" >&5
20125 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20126 echo $ac_n "(cached) $ac_c" 1>&6
20131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20132 ac_cpp='$CXXCPP $CPPFLAGS'
20133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20135 cross_compiling=$ac_cv_prog_cxx_cross
20137 cat > conftest.$ac_ext <<EOF
20138 #line 20139 "configure"
20139 #include "confdefs.h"
20142 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20145 if { (eval echo configure:20146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20147 glibcpp_cv_func__float_round_use=yes
20149 echo "configure: failed program was:" >&5
20150 cat conftest.$ac_ext >&5
20152 glibcpp_cv_func__float_round_use=no
20156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20157 ac_cpp='$CPP $CPPFLAGS'
20158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20160 cross_compiling=$ac_cv_prog_cc_cross
20164 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20165 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20166 for ac_func in _ceilf _floorf
20168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20169 echo "configure:20170: checking for $ac_func" >&5
20170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20171 echo $ac_n "(cached) $ac_c" 1>&6
20173 cat > conftest.$ac_ext <<EOF
20174 #line 20175 "configure"
20175 #include "confdefs.h"
20176 /* System header to define __stub macros and hopefully few prototypes,
20177 which can conflict with char $ac_func(); below. */
20178 #include <assert.h>
20179 /* Override any gcc2 internal prototype to avoid an error. */
20180 /* We use char because int might match the return type of a gcc2
20181 builtin and then its argument prototype would still apply. */
20186 /* The GNU C library defines this for functions which it implements
20187 to always fail with ENOSYS. Some functions are actually named
20188 something starting with __ and the normal name is an alias. */
20189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20197 if { (eval echo configure:20198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20199 eval "ac_cv_func_$ac_func=yes"
20201 echo "configure: failed program was:" >&5
20202 cat conftest.$ac_ext >&5
20204 eval "ac_cv_func_$ac_func=no"
20209 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20210 echo "$ac_t""yes" 1>&6
20211 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20212 cat >> confdefs.h <<EOF
20213 #define $ac_tr_func 1
20217 echo "$ac_t""no" 1>&6
20225 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20226 echo "configure:20227: checking for _long double trig functions" >&5
20227 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20228 echo $ac_n "(cached) $ac_c" 1>&6
20233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20234 ac_cpp='$CXXCPP $CPPFLAGS'
20235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20237 cross_compiling=$ac_cv_prog_cxx_cross
20239 cat > conftest.$ac_ext <<EOF
20240 #line 20241 "configure"
20241 #include "confdefs.h"
20244 `for x in _acosl _asinl _atanl \
20245 _cosl _sinl _tanl \
20246 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20249 if { (eval echo configure:20250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20251 glibcpp_cv_func__long_double_trig_use=yes
20253 echo "configure: failed program was:" >&5
20254 cat conftest.$ac_ext >&5
20256 glibcpp_cv_func__long_double_trig_use=no
20260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20261 ac_cpp='$CPP $CPPFLAGS'
20262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20264 cross_compiling=$ac_cv_prog_cc_cross
20268 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20269 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20270 for ac_func in _acosl _asinl _atanl \
20271 _cosl _sinl _tanl \
20272 _coshl _sinhl _tanhl
20274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20275 echo "configure:20276: checking for $ac_func" >&5
20276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20277 echo $ac_n "(cached) $ac_c" 1>&6
20279 cat > conftest.$ac_ext <<EOF
20280 #line 20281 "configure"
20281 #include "confdefs.h"
20282 /* System header to define __stub macros and hopefully few prototypes,
20283 which can conflict with char $ac_func(); below. */
20284 #include <assert.h>
20285 /* Override any gcc2 internal prototype to avoid an error. */
20286 /* We use char because int might match the return type of a gcc2
20287 builtin and then its argument prototype would still apply. */
20292 /* The GNU C library defines this for functions which it implements
20293 to always fail with ENOSYS. Some functions are actually named
20294 something starting with __ and the normal name is an alias. */
20295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20303 if { (eval echo configure:20304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20305 eval "ac_cv_func_$ac_func=yes"
20307 echo "configure: failed program was:" >&5
20308 cat conftest.$ac_ext >&5
20310 eval "ac_cv_func_$ac_func=no"
20315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20316 echo "$ac_t""yes" 1>&6
20317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20318 cat >> confdefs.h <<EOF
20319 #define $ac_tr_func 1
20323 echo "$ac_t""no" 1>&6
20330 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20331 echo "configure:20332: checking for _long double round functions" >&5
20332 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20333 echo $ac_n "(cached) $ac_c" 1>&6
20338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20339 ac_cpp='$CXXCPP $CPPFLAGS'
20340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20342 cross_compiling=$ac_cv_prog_cxx_cross
20344 cat > conftest.$ac_ext <<EOF
20345 #line 20346 "configure"
20346 #include "confdefs.h"
20349 `for x in _ceill _floorl; do echo "$x (0);"; done`
20352 if { (eval echo configure:20353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20354 glibcpp_cv_func__long_double_round_use=yes
20356 echo "configure: failed program was:" >&5
20357 cat conftest.$ac_ext >&5
20359 glibcpp_cv_func__long_double_round_use=no
20363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20364 ac_cpp='$CPP $CPPFLAGS'
20365 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20366 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20367 cross_compiling=$ac_cv_prog_cc_cross
20371 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20372 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20373 for ac_func in _ceill _floorl
20375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20376 echo "configure:20377: checking for $ac_func" >&5
20377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20378 echo $ac_n "(cached) $ac_c" 1>&6
20380 cat > conftest.$ac_ext <<EOF
20381 #line 20382 "configure"
20382 #include "confdefs.h"
20383 /* System header to define __stub macros and hopefully few prototypes,
20384 which can conflict with char $ac_func(); below. */
20385 #include <assert.h>
20386 /* Override any gcc2 internal prototype to avoid an error. */
20387 /* We use char because int might match the return type of a gcc2
20388 builtin and then its argument prototype would still apply. */
20393 /* The GNU C library defines this for functions which it implements
20394 to always fail with ENOSYS. Some functions are actually named
20395 something starting with __ and the normal name is an alias. */
20396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20404 if { (eval echo configure:20405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20406 eval "ac_cv_func_$ac_func=yes"
20408 echo "configure: failed program was:" >&5
20409 cat conftest.$ac_ext >&5
20411 eval "ac_cv_func_$ac_func=no"
20416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20417 echo "$ac_t""yes" 1>&6
20418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20419 cat >> confdefs.h <<EOF
20420 #define $ac_tr_func 1
20424 echo "$ac_t""no" 1>&6
20431 LIBS="$ac_save_LIBS"
20432 CXXFLAGS="$ac_save_CXXFLAGS"
20436 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
20437 echo "configure:20438: checking for __builtin_abs declaration" >&5
20438 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20439 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20440 echo $ac_n "(cached) $ac_c" 1>&6
20445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20446 ac_cpp='$CXXCPP $CPPFLAGS'
20447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20449 cross_compiling=$ac_cv_prog_cxx_cross
20451 cat > conftest.$ac_ext <<EOF
20452 #line 20453 "configure"
20453 #include "confdefs.h"
20459 if { (eval echo configure:20460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20461 glibcpp_cv_func___builtin_abs_use=yes
20463 echo "configure: failed program was:" >&5
20464 cat conftest.$ac_ext >&5
20466 glibcpp_cv_func___builtin_abs_use=no
20470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20471 ac_cpp='$CPP $CPPFLAGS'
20472 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20473 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20474 cross_compiling=$ac_cv_prog_cc_cross
20480 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20481 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20482 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
20483 echo "configure:20484: checking for __builtin_abs linkage" >&5
20484 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20485 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20486 echo $ac_n "(cached) $ac_c" 1>&6
20489 cat > conftest.$ac_ext <<EOF
20490 #line 20491 "configure"
20491 #include "confdefs.h"
20497 if { (eval echo configure:20498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20499 glibcpp_cv_func___builtin_abs_link=yes
20501 echo "configure: failed program was:" >&5
20502 cat conftest.$ac_ext >&5
20504 glibcpp_cv_func___builtin_abs_link=no
20511 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20512 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20513 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20514 cat >> confdefs.h <<EOF
20515 #define ${ac_tr_func} 1
20522 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
20523 echo "configure:20524: checking for __builtin_fabsf declaration" >&5
20524 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20525 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20526 echo $ac_n "(cached) $ac_c" 1>&6
20531 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20532 ac_cpp='$CXXCPP $CPPFLAGS'
20533 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20534 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20535 cross_compiling=$ac_cv_prog_cxx_cross
20537 cat > conftest.$ac_ext <<EOF
20538 #line 20539 "configure"
20539 #include "confdefs.h"
20542 __builtin_fabsf(0);
20545 if { (eval echo configure:20546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20547 glibcpp_cv_func___builtin_fabsf_use=yes
20549 echo "configure: failed program was:" >&5
20550 cat conftest.$ac_ext >&5
20552 glibcpp_cv_func___builtin_fabsf_use=no
20556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20557 ac_cpp='$CPP $CPPFLAGS'
20558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20560 cross_compiling=$ac_cv_prog_cc_cross
20566 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20567 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20568 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
20569 echo "configure:20570: checking for __builtin_fabsf linkage" >&5
20570 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20571 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20572 echo $ac_n "(cached) $ac_c" 1>&6
20575 cat > conftest.$ac_ext <<EOF
20576 #line 20577 "configure"
20577 #include "confdefs.h"
20580 __builtin_fabsf(0);
20583 if { (eval echo configure:20584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20585 glibcpp_cv_func___builtin_fabsf_link=yes
20587 echo "configure: failed program was:" >&5
20588 cat conftest.$ac_ext >&5
20590 glibcpp_cv_func___builtin_fabsf_link=no
20597 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20598 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20599 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20600 cat >> confdefs.h <<EOF
20601 #define ${ac_tr_func} 1
20608 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
20609 echo "configure:20610: checking for __builtin_fabs declaration" >&5
20610 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20611 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20612 echo $ac_n "(cached) $ac_c" 1>&6
20617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20618 ac_cpp='$CXXCPP $CPPFLAGS'
20619 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20620 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20621 cross_compiling=$ac_cv_prog_cxx_cross
20623 cat > conftest.$ac_ext <<EOF
20624 #line 20625 "configure"
20625 #include "confdefs.h"
20631 if { (eval echo configure:20632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20633 glibcpp_cv_func___builtin_fabs_use=yes
20635 echo "configure: failed program was:" >&5
20636 cat conftest.$ac_ext >&5
20638 glibcpp_cv_func___builtin_fabs_use=no
20642 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20643 ac_cpp='$CPP $CPPFLAGS'
20644 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20645 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20646 cross_compiling=$ac_cv_prog_cc_cross
20652 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20653 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20654 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
20655 echo "configure:20656: checking for __builtin_fabs linkage" >&5
20656 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20657 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20658 echo $ac_n "(cached) $ac_c" 1>&6
20661 cat > conftest.$ac_ext <<EOF
20662 #line 20663 "configure"
20663 #include "confdefs.h"
20669 if { (eval echo configure:20670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20671 glibcpp_cv_func___builtin_fabs_link=yes
20673 echo "configure: failed program was:" >&5
20674 cat conftest.$ac_ext >&5
20676 glibcpp_cv_func___builtin_fabs_link=no
20683 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20684 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20685 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20686 cat >> confdefs.h <<EOF
20687 #define ${ac_tr_func} 1
20694 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
20695 echo "configure:20696: checking for __builtin_fabsl declaration" >&5
20696 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20697 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20698 echo $ac_n "(cached) $ac_c" 1>&6
20703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20704 ac_cpp='$CXXCPP $CPPFLAGS'
20705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20707 cross_compiling=$ac_cv_prog_cxx_cross
20709 cat > conftest.$ac_ext <<EOF
20710 #line 20711 "configure"
20711 #include "confdefs.h"
20714 __builtin_fabsl(0);
20717 if { (eval echo configure:20718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20719 glibcpp_cv_func___builtin_fabsl_use=yes
20721 echo "configure: failed program was:" >&5
20722 cat conftest.$ac_ext >&5
20724 glibcpp_cv_func___builtin_fabsl_use=no
20728 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20729 ac_cpp='$CPP $CPPFLAGS'
20730 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20731 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20732 cross_compiling=$ac_cv_prog_cc_cross
20738 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20739 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20740 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
20741 echo "configure:20742: checking for __builtin_fabsl linkage" >&5
20742 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20743 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20744 echo $ac_n "(cached) $ac_c" 1>&6
20747 cat > conftest.$ac_ext <<EOF
20748 #line 20749 "configure"
20749 #include "confdefs.h"
20752 __builtin_fabsl(0);
20755 if { (eval echo configure:20756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20757 glibcpp_cv_func___builtin_fabsl_link=yes
20759 echo "configure: failed program was:" >&5
20760 cat conftest.$ac_ext >&5
20762 glibcpp_cv_func___builtin_fabsl_link=no
20769 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20770 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20771 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20772 cat >> confdefs.h <<EOF
20773 #define ${ac_tr_func} 1
20780 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
20781 echo "configure:20782: checking for __builtin_labs declaration" >&5
20782 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20783 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20784 echo $ac_n "(cached) $ac_c" 1>&6
20789 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20790 ac_cpp='$CXXCPP $CPPFLAGS'
20791 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20792 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20793 cross_compiling=$ac_cv_prog_cxx_cross
20795 cat > conftest.$ac_ext <<EOF
20796 #line 20797 "configure"
20797 #include "confdefs.h"
20803 if { (eval echo configure:20804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20805 glibcpp_cv_func___builtin_labs_use=yes
20807 echo "configure: failed program was:" >&5
20808 cat conftest.$ac_ext >&5
20810 glibcpp_cv_func___builtin_labs_use=no
20814 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20815 ac_cpp='$CPP $CPPFLAGS'
20816 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20817 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20818 cross_compiling=$ac_cv_prog_cc_cross
20824 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20825 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20826 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
20827 echo "configure:20828: checking for __builtin_labs linkage" >&5
20828 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20829 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20830 echo $ac_n "(cached) $ac_c" 1>&6
20833 cat > conftest.$ac_ext <<EOF
20834 #line 20835 "configure"
20835 #include "confdefs.h"
20841 if { (eval echo configure:20842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20843 glibcpp_cv_func___builtin_labs_link=yes
20845 echo "configure: failed program was:" >&5
20846 cat conftest.$ac_ext >&5
20848 glibcpp_cv_func___builtin_labs_link=no
20855 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
20856 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
20857 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20858 cat >> confdefs.h <<EOF
20859 #define ${ac_tr_func} 1
20867 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
20868 echo "configure:20869: checking for __builtin_sqrtf declaration" >&5
20869 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
20870 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20871 echo $ac_n "(cached) $ac_c" 1>&6
20876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20877 ac_cpp='$CXXCPP $CPPFLAGS'
20878 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20879 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20880 cross_compiling=$ac_cv_prog_cxx_cross
20882 cat > conftest.$ac_ext <<EOF
20883 #line 20884 "configure"
20884 #include "confdefs.h"
20887 __builtin_sqrtf(0);
20890 if { (eval echo configure:20891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20892 glibcpp_cv_func___builtin_sqrtf_use=yes
20894 echo "configure: failed program was:" >&5
20895 cat conftest.$ac_ext >&5
20897 glibcpp_cv_func___builtin_sqrtf_use=no
20901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20902 ac_cpp='$CPP $CPPFLAGS'
20903 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20904 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20905 cross_compiling=$ac_cv_prog_cc_cross
20911 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
20912 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
20913 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
20914 echo "configure:20915: checking for __builtin_sqrtf linkage" >&5
20915 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
20916 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
20917 echo $ac_n "(cached) $ac_c" 1>&6
20920 cat > conftest.$ac_ext <<EOF
20921 #line 20922 "configure"
20922 #include "confdefs.h"
20925 __builtin_sqrtf(0);
20928 if { (eval echo configure:20929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20930 glibcpp_cv_func___builtin_sqrtf_link=yes
20932 echo "configure: failed program was:" >&5
20933 cat conftest.$ac_ext >&5
20935 glibcpp_cv_func___builtin_sqrtf_link=no
20942 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
20943 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
20944 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20945 cat >> confdefs.h <<EOF
20946 #define ${ac_tr_func} 1
20953 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
20954 echo "configure:20955: checking for __builtin_sqrt declaration" >&5
20955 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
20956 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
20957 echo $ac_n "(cached) $ac_c" 1>&6
20962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20963 ac_cpp='$CXXCPP $CPPFLAGS'
20964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20966 cross_compiling=$ac_cv_prog_cxx_cross
20968 cat > conftest.$ac_ext <<EOF
20969 #line 20970 "configure"
20970 #include "confdefs.h"
20976 if { (eval echo configure:20977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20978 glibcpp_cv_func___builtin_sqrt_use=yes
20980 echo "configure: failed program was:" >&5
20981 cat conftest.$ac_ext >&5
20983 glibcpp_cv_func___builtin_sqrt_use=no
20987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20988 ac_cpp='$CPP $CPPFLAGS'
20989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20991 cross_compiling=$ac_cv_prog_cc_cross
20997 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
20998 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
20999 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
21000 echo "configure:21001: checking for __builtin_sqrt linkage" >&5
21001 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
21002 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
21003 echo $ac_n "(cached) $ac_c" 1>&6
21006 cat > conftest.$ac_ext <<EOF
21007 #line 21008 "configure"
21008 #include "confdefs.h"
21014 if { (eval echo configure:21015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21016 glibcpp_cv_func___builtin_sqrt_link=yes
21018 echo "configure: failed program was:" >&5
21019 cat conftest.$ac_ext >&5
21021 glibcpp_cv_func___builtin_sqrt_link=no
21028 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
21029 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
21030 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21031 cat >> confdefs.h <<EOF
21032 #define ${ac_tr_func} 1
21039 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
21040 echo "configure:21041: checking for __builtin_sqrtl declaration" >&5
21041 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
21042 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
21043 echo $ac_n "(cached) $ac_c" 1>&6
21048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21049 ac_cpp='$CXXCPP $CPPFLAGS'
21050 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21051 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21052 cross_compiling=$ac_cv_prog_cxx_cross
21054 cat > conftest.$ac_ext <<EOF
21055 #line 21056 "configure"
21056 #include "confdefs.h"
21059 __builtin_sqrtl(0);
21062 if { (eval echo configure:21063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21064 glibcpp_cv_func___builtin_sqrtl_use=yes
21066 echo "configure: failed program was:" >&5
21067 cat conftest.$ac_ext >&5
21069 glibcpp_cv_func___builtin_sqrtl_use=no
21073 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21074 ac_cpp='$CPP $CPPFLAGS'
21075 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21076 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21077 cross_compiling=$ac_cv_prog_cc_cross
21083 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
21084 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
21085 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
21086 echo "configure:21087: checking for __builtin_sqrtl linkage" >&5
21087 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
21088 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21089 echo $ac_n "(cached) $ac_c" 1>&6
21092 cat > conftest.$ac_ext <<EOF
21093 #line 21094 "configure"
21094 #include "confdefs.h"
21097 __builtin_sqrtl(0);
21100 if { (eval echo configure:21101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21102 glibcpp_cv_func___builtin_sqrtl_link=yes
21104 echo "configure: failed program was:" >&5
21105 cat conftest.$ac_ext >&5
21107 glibcpp_cv_func___builtin_sqrtl_link=no
21114 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21115 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21116 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21117 cat >> confdefs.h <<EOF
21118 #define ${ac_tr_func} 1
21126 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
21127 echo "configure:21128: checking for __builtin_sinf declaration" >&5
21128 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21129 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21130 echo $ac_n "(cached) $ac_c" 1>&6
21135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21136 ac_cpp='$CXXCPP $CPPFLAGS'
21137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21139 cross_compiling=$ac_cv_prog_cxx_cross
21141 cat > conftest.$ac_ext <<EOF
21142 #line 21143 "configure"
21143 #include "confdefs.h"
21149 if { (eval echo configure:21150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21151 glibcpp_cv_func___builtin_sinf_use=yes
21153 echo "configure: failed program was:" >&5
21154 cat conftest.$ac_ext >&5
21156 glibcpp_cv_func___builtin_sinf_use=no
21160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21161 ac_cpp='$CPP $CPPFLAGS'
21162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21164 cross_compiling=$ac_cv_prog_cc_cross
21170 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21171 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21172 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
21173 echo "configure:21174: checking for __builtin_sinf linkage" >&5
21174 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21175 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21176 echo $ac_n "(cached) $ac_c" 1>&6
21179 cat > conftest.$ac_ext <<EOF
21180 #line 21181 "configure"
21181 #include "confdefs.h"
21187 if { (eval echo configure:21188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21189 glibcpp_cv_func___builtin_sinf_link=yes
21191 echo "configure: failed program was:" >&5
21192 cat conftest.$ac_ext >&5
21194 glibcpp_cv_func___builtin_sinf_link=no
21201 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21202 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21203 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21204 cat >> confdefs.h <<EOF
21205 #define ${ac_tr_func} 1
21212 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
21213 echo "configure:21214: checking for __builtin_sin declaration" >&5
21214 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21215 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21216 echo $ac_n "(cached) $ac_c" 1>&6
21221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21225 cross_compiling=$ac_cv_prog_cxx_cross
21227 cat > conftest.$ac_ext <<EOF
21228 #line 21229 "configure"
21229 #include "confdefs.h"
21235 if { (eval echo configure:21236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21237 glibcpp_cv_func___builtin_sin_use=yes
21239 echo "configure: failed program was:" >&5
21240 cat conftest.$ac_ext >&5
21242 glibcpp_cv_func___builtin_sin_use=no
21246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21247 ac_cpp='$CPP $CPPFLAGS'
21248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21250 cross_compiling=$ac_cv_prog_cc_cross
21256 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21257 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21258 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
21259 echo "configure:21260: checking for __builtin_sin linkage" >&5
21260 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21261 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21262 echo $ac_n "(cached) $ac_c" 1>&6
21265 cat > conftest.$ac_ext <<EOF
21266 #line 21267 "configure"
21267 #include "confdefs.h"
21273 if { (eval echo configure:21274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21275 glibcpp_cv_func___builtin_sin_link=yes
21277 echo "configure: failed program was:" >&5
21278 cat conftest.$ac_ext >&5
21280 glibcpp_cv_func___builtin_sin_link=no
21287 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21288 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21289 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21290 cat >> confdefs.h <<EOF
21291 #define ${ac_tr_func} 1
21298 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
21299 echo "configure:21300: checking for __builtin_sinl declaration" >&5
21300 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21301 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21302 echo $ac_n "(cached) $ac_c" 1>&6
21307 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21308 ac_cpp='$CXXCPP $CPPFLAGS'
21309 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21310 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21311 cross_compiling=$ac_cv_prog_cxx_cross
21313 cat > conftest.$ac_ext <<EOF
21314 #line 21315 "configure"
21315 #include "confdefs.h"
21321 if { (eval echo configure:21322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21323 glibcpp_cv_func___builtin_sinl_use=yes
21325 echo "configure: failed program was:" >&5
21326 cat conftest.$ac_ext >&5
21328 glibcpp_cv_func___builtin_sinl_use=no
21332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21333 ac_cpp='$CPP $CPPFLAGS'
21334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21336 cross_compiling=$ac_cv_prog_cc_cross
21342 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21343 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21344 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
21345 echo "configure:21346: checking for __builtin_sinl linkage" >&5
21346 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21347 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21348 echo $ac_n "(cached) $ac_c" 1>&6
21351 cat > conftest.$ac_ext <<EOF
21352 #line 21353 "configure"
21353 #include "confdefs.h"
21359 if { (eval echo configure:21360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21361 glibcpp_cv_func___builtin_sinl_link=yes
21363 echo "configure: failed program was:" >&5
21364 cat conftest.$ac_ext >&5
21366 glibcpp_cv_func___builtin_sinl_link=no
21373 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21374 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21375 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21376 cat >> confdefs.h <<EOF
21377 #define ${ac_tr_func} 1
21385 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
21386 echo "configure:21387: checking for __builtin_cosf declaration" >&5
21387 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21388 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21389 echo $ac_n "(cached) $ac_c" 1>&6
21394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21395 ac_cpp='$CXXCPP $CPPFLAGS'
21396 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21397 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21398 cross_compiling=$ac_cv_prog_cxx_cross
21400 cat > conftest.$ac_ext <<EOF
21401 #line 21402 "configure"
21402 #include "confdefs.h"
21408 if { (eval echo configure:21409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21410 glibcpp_cv_func___builtin_cosf_use=yes
21412 echo "configure: failed program was:" >&5
21413 cat conftest.$ac_ext >&5
21415 glibcpp_cv_func___builtin_cosf_use=no
21419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21420 ac_cpp='$CPP $CPPFLAGS'
21421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21423 cross_compiling=$ac_cv_prog_cc_cross
21429 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21430 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21431 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
21432 echo "configure:21433: checking for __builtin_cosf linkage" >&5
21433 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21434 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21435 echo $ac_n "(cached) $ac_c" 1>&6
21438 cat > conftest.$ac_ext <<EOF
21439 #line 21440 "configure"
21440 #include "confdefs.h"
21446 if { (eval echo configure:21447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21448 glibcpp_cv_func___builtin_cosf_link=yes
21450 echo "configure: failed program was:" >&5
21451 cat conftest.$ac_ext >&5
21453 glibcpp_cv_func___builtin_cosf_link=no
21460 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21461 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21462 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21463 cat >> confdefs.h <<EOF
21464 #define ${ac_tr_func} 1
21471 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
21472 echo "configure:21473: checking for __builtin_cos declaration" >&5
21473 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21474 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21475 echo $ac_n "(cached) $ac_c" 1>&6
21480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21481 ac_cpp='$CXXCPP $CPPFLAGS'
21482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21484 cross_compiling=$ac_cv_prog_cxx_cross
21486 cat > conftest.$ac_ext <<EOF
21487 #line 21488 "configure"
21488 #include "confdefs.h"
21494 if { (eval echo configure:21495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21496 glibcpp_cv_func___builtin_cos_use=yes
21498 echo "configure: failed program was:" >&5
21499 cat conftest.$ac_ext >&5
21501 glibcpp_cv_func___builtin_cos_use=no
21505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21506 ac_cpp='$CPP $CPPFLAGS'
21507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21509 cross_compiling=$ac_cv_prog_cc_cross
21515 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21516 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21517 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
21518 echo "configure:21519: checking for __builtin_cos linkage" >&5
21519 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21520 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21521 echo $ac_n "(cached) $ac_c" 1>&6
21524 cat > conftest.$ac_ext <<EOF
21525 #line 21526 "configure"
21526 #include "confdefs.h"
21532 if { (eval echo configure:21533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21534 glibcpp_cv_func___builtin_cos_link=yes
21536 echo "configure: failed program was:" >&5
21537 cat conftest.$ac_ext >&5
21539 glibcpp_cv_func___builtin_cos_link=no
21546 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21547 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21548 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21549 cat >> confdefs.h <<EOF
21550 #define ${ac_tr_func} 1
21557 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
21558 echo "configure:21559: checking for __builtin_cosl declaration" >&5
21559 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21560 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21561 echo $ac_n "(cached) $ac_c" 1>&6
21566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21567 ac_cpp='$CXXCPP $CPPFLAGS'
21568 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21569 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21570 cross_compiling=$ac_cv_prog_cxx_cross
21572 cat > conftest.$ac_ext <<EOF
21573 #line 21574 "configure"
21574 #include "confdefs.h"
21580 if { (eval echo configure:21581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21582 glibcpp_cv_func___builtin_cosl_use=yes
21584 echo "configure: failed program was:" >&5
21585 cat conftest.$ac_ext >&5
21587 glibcpp_cv_func___builtin_cosl_use=no
21591 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21592 ac_cpp='$CPP $CPPFLAGS'
21593 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21594 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21595 cross_compiling=$ac_cv_prog_cc_cross
21601 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21602 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21603 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
21604 echo "configure:21605: checking for __builtin_cosl linkage" >&5
21605 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21606 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21607 echo $ac_n "(cached) $ac_c" 1>&6
21610 cat > conftest.$ac_ext <<EOF
21611 #line 21612 "configure"
21612 #include "confdefs.h"
21618 if { (eval echo configure:21619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21620 glibcpp_cv_func___builtin_cosl_link=yes
21622 echo "configure: failed program was:" >&5
21623 cat conftest.$ac_ext >&5
21625 glibcpp_cv_func___builtin_cosl_link=no
21632 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21633 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21634 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21635 cat >> confdefs.h <<EOF
21636 #define ${ac_tr_func} 1
21644 if test x$dummyvar = x"yes"; then
21645 cat >> confdefs.h <<\EOF
21646 #define HAVE___BUILTIN_ABS 1
21649 cat >> confdefs.h <<\EOF
21650 #define HAVE___BUILTIN_LABS 1
21653 cat >> confdefs.h <<\EOF
21654 #define HAVE___BUILTIN_COS 1
21657 cat >> confdefs.h <<\EOF
21658 #define HAVE___BUILTIN_COSF 1
21661 cat >> confdefs.h <<\EOF
21662 #define HAVE___BUILTIN_COSL 1
21665 cat >> confdefs.h <<\EOF
21666 #define HAVE___BUILTIN_FABS 1
21669 cat >> confdefs.h <<\EOF
21670 #define HAVE___BUILTIN_FABSF 1
21673 cat >> confdefs.h <<\EOF
21674 #define HAVE___BUILTIN_FABSL 1
21677 cat >> confdefs.h <<\EOF
21678 #define HAVE___BUILTIN_SIN 1
21681 cat >> confdefs.h <<\EOF
21682 #define HAVE___BUILTIN_SINF 1
21685 cat >> confdefs.h <<\EOF
21686 #define HAVE___BUILTIN_SINL 1
21689 cat >> confdefs.h <<\EOF
21690 #define HAVE___BUILTIN_SQRT 1
21693 cat >> confdefs.h <<\EOF
21694 #define HAVE___BUILTIN_SQRTF 1
21697 cat >> confdefs.h <<\EOF
21698 #define HAVE___BUILTIN_SQRTL 1
21704 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21705 echo "configure:21706: checking for main in -lm" >&5
21706 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21707 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21708 echo $ac_n "(cached) $ac_c" 1>&6
21710 ac_save_LIBS="$LIBS"
21712 cat > conftest.$ac_ext <<EOF
21713 #line 21714 "configure"
21714 #include "confdefs.h"
21720 if { (eval echo configure:21721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21722 eval "ac_cv_lib_$ac_lib_var=yes"
21724 echo "configure: failed program was:" >&5
21725 cat conftest.$ac_ext >&5
21727 eval "ac_cv_lib_$ac_lib_var=no"
21730 LIBS="$ac_save_LIBS"
21733 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21734 echo "$ac_t""yes" 1>&6
21735 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21736 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21737 cat >> confdefs.h <<EOF
21738 #define $ac_tr_lib 1
21744 echo "$ac_t""no" 1>&6
21747 for ac_func in nan copysignf
21749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21750 echo "configure:21751: checking for $ac_func" >&5
21751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21752 echo $ac_n "(cached) $ac_c" 1>&6
21754 cat > conftest.$ac_ext <<EOF
21755 #line 21756 "configure"
21756 #include "confdefs.h"
21757 /* System header to define __stub macros and hopefully few prototypes,
21758 which can conflict with char $ac_func(); below. */
21759 #include <assert.h>
21760 /* Override any gcc2 internal prototype to avoid an error. */
21761 /* We use char because int might match the return type of a gcc2
21762 builtin and then its argument prototype would still apply. */
21767 /* The GNU C library defines this for functions which it implements
21768 to always fail with ENOSYS. Some functions are actually named
21769 something starting with __ and the normal name is an alias. */
21770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21778 if { (eval echo configure:21779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21780 eval "ac_cv_func_$ac_func=yes"
21782 echo "configure: failed program was:" >&5
21783 cat conftest.$ac_ext >&5
21785 eval "ac_cv_func_$ac_func=no"
21790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21791 echo "$ac_t""yes" 1>&6
21792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21793 cat >> confdefs.h <<EOF
21794 #define $ac_tr_func 1
21798 echo "$ac_t""no" 1>&6
21799 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21804 for ac_func in __signbit
21806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21807 echo "configure:21808: checking for $ac_func" >&5
21808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21809 echo $ac_n "(cached) $ac_c" 1>&6
21811 cat > conftest.$ac_ext <<EOF
21812 #line 21813 "configure"
21813 #include "confdefs.h"
21814 /* System header to define __stub macros and hopefully few prototypes,
21815 which can conflict with char $ac_func(); below. */
21816 #include <assert.h>
21817 /* Override any gcc2 internal prototype to avoid an error. */
21818 /* We use char because int might match the return type of a gcc2
21819 builtin and then its argument prototype would still apply. */
21824 /* The GNU C library defines this for functions which it implements
21825 to always fail with ENOSYS. Some functions are actually named
21826 something starting with __ and the normal name is an alias. */
21827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21835 if { (eval echo configure:21836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21837 eval "ac_cv_func_$ac_func=yes"
21839 echo "configure: failed program was:" >&5
21840 cat conftest.$ac_ext >&5
21842 eval "ac_cv_func_$ac_func=no"
21847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21848 echo "$ac_t""yes" 1>&6
21849 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21850 cat >> confdefs.h <<EOF
21851 #define $ac_tr_func 1
21855 echo "$ac_t""no" 1>&6
21856 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21860 for ac_func in __signbitf
21862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21863 echo "configure:21864: checking for $ac_func" >&5
21864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21865 echo $ac_n "(cached) $ac_c" 1>&6
21867 cat > conftest.$ac_ext <<EOF
21868 #line 21869 "configure"
21869 #include "confdefs.h"
21870 /* System header to define __stub macros and hopefully few prototypes,
21871 which can conflict with char $ac_func(); below. */
21872 #include <assert.h>
21873 /* Override any gcc2 internal prototype to avoid an error. */
21874 /* We use char because int might match the return type of a gcc2
21875 builtin and then its argument prototype would still apply. */
21880 /* The GNU C library defines this for functions which it implements
21881 to always fail with ENOSYS. Some functions are actually named
21882 something starting with __ and the normal name is an alias. */
21883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21891 if { (eval echo configure:21892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21893 eval "ac_cv_func_$ac_func=yes"
21895 echo "configure: failed program was:" >&5
21896 cat conftest.$ac_ext >&5
21898 eval "ac_cv_func_$ac_func=no"
21903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21904 echo "$ac_t""yes" 1>&6
21905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21906 cat >> confdefs.h <<EOF
21907 #define $ac_tr_func 1
21911 echo "$ac_t""no" 1>&6
21912 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21917 if test x$ac_cv_func_copysignl = x"yes"; then
21918 for ac_func in __signbitl
21920 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21921 echo "configure:21922: checking for $ac_func" >&5
21922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21923 echo $ac_n "(cached) $ac_c" 1>&6
21925 cat > conftest.$ac_ext <<EOF
21926 #line 21927 "configure"
21927 #include "confdefs.h"
21928 /* System header to define __stub macros and hopefully few prototypes,
21929 which can conflict with char $ac_func(); below. */
21930 #include <assert.h>
21931 /* Override any gcc2 internal prototype to avoid an error. */
21932 /* We use char because int might match the return type of a gcc2
21933 builtin and then its argument prototype would still apply. */
21938 /* The GNU C library defines this for functions which it implements
21939 to always fail with ENOSYS. Some functions are actually named
21940 something starting with __ and the normal name is an alias. */
21941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21949 if { (eval echo configure:21950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21951 eval "ac_cv_func_$ac_func=yes"
21953 echo "configure: failed program was:" >&5
21954 cat conftest.$ac_ext >&5
21956 eval "ac_cv_func_$ac_func=no"
21961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21962 echo "$ac_t""yes" 1>&6
21963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21964 cat >> confdefs.h <<EOF
21965 #define $ac_tr_func 1
21969 echo "$ac_t""no" 1>&6
21970 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21976 if test -n "$LIBMATHOBJS"; then
21982 if test "$need_libmath" = yes; then
21983 GLIBCPP_BUILD_LIBMATH_TRUE=
21984 GLIBCPP_BUILD_LIBMATH_FALSE='#'
21986 GLIBCPP_BUILD_LIBMATH_TRUE='#'
21987 GLIBCPP_BUILD_LIBMATH_FALSE=
21993 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21994 echo "configure:21995: checking for mbstate_t" >&5
21995 cat > conftest.$ac_ext <<EOF
21996 #line 21997 "configure"
21997 #include "confdefs.h"
22000 mbstate_t teststate;
22003 if { (eval echo configure:22004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22007 echo "configure: failed program was:" >&5
22008 cat conftest.$ac_ext >&5
22013 echo "$ac_t""$have_mbstate_t" 1>&6
22014 if test x"$have_mbstate_t" = xyes; then
22015 cat >> confdefs.h <<\EOF
22016 #define HAVE_MBSTATE_T 1
22021 for ac_hdr in wchar.h
22023 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22024 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22025 echo "configure:22026: checking for $ac_hdr" >&5
22026 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22027 echo $ac_n "(cached) $ac_c" 1>&6
22029 cat > conftest.$ac_ext <<EOF
22030 #line 22031 "configure"
22031 #include "confdefs.h"
22034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22035 { (eval echo configure:22036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22036 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22037 if test -z "$ac_err"; then
22039 eval "ac_cv_header_$ac_safe=yes"
22042 echo "configure: failed program was:" >&5
22043 cat conftest.$ac_ext >&5
22045 eval "ac_cv_header_$ac_safe=no"
22049 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22050 echo "$ac_t""yes" 1>&6
22051 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22052 cat >> confdefs.h <<EOF
22053 #define $ac_tr_hdr 1
22057 echo "$ac_t""no" 1>&6
22062 for ac_hdr in wctype.h
22064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22066 echo "configure:22067: checking for $ac_hdr" >&5
22067 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22068 echo $ac_n "(cached) $ac_c" 1>&6
22070 cat > conftest.$ac_ext <<EOF
22071 #line 22072 "configure"
22072 #include "confdefs.h"
22075 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22076 { (eval echo configure:22077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22077 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22078 if test -z "$ac_err"; then
22080 eval "ac_cv_header_$ac_safe=yes"
22083 echo "configure: failed program was:" >&5
22084 cat conftest.$ac_ext >&5
22086 eval "ac_cv_header_$ac_safe=no"
22090 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22091 echo "$ac_t""yes" 1>&6
22092 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22093 cat >> confdefs.h <<EOF
22094 #define $ac_tr_hdr 1
22096 ac_has_wctype_h=yes
22098 echo "$ac_t""no" 1>&6
22104 if test x"$ac_has_wchar_h" = xyes &&
22105 test x"$ac_has_wctype_h" = xyes &&
22106 test x"$enable_c_mbchar" != xno; then
22108 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22109 echo "configure:22110: checking for WCHAR_MIN and WCHAR_MAX" >&5
22110 cat > conftest.$ac_ext <<EOF
22111 #line 22112 "configure"
22112 #include "confdefs.h"
22115 int i = WCHAR_MIN; int j = WCHAR_MAX;
22118 if { (eval echo configure:22119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22120 has_wchar_minmax=yes
22122 echo "configure: failed program was:" >&5
22123 cat conftest.$ac_ext >&5
22125 has_wchar_minmax=no
22128 echo "$ac_t""$has_wchar_minmax" 1>&6
22130 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22131 echo "configure:22132: checking for WEOF" >&5
22132 cat > conftest.$ac_ext <<EOF
22133 #line 22134 "configure"
22134 #include "confdefs.h"
22137 #include <stddef.h>
22142 if { (eval echo configure:22143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22146 echo "configure: failed program was:" >&5
22147 cat conftest.$ac_ext >&5
22152 echo "$ac_t""$has_weof" 1>&6
22155 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22158 echo "configure:22159: checking for $ac_func" >&5
22159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22160 echo $ac_n "(cached) $ac_c" 1>&6
22162 cat > conftest.$ac_ext <<EOF
22163 #line 22164 "configure"
22164 #include "confdefs.h"
22165 /* System header to define __stub macros and hopefully few prototypes,
22166 which can conflict with char $ac_func(); below. */
22167 #include <assert.h>
22168 /* Override any gcc2 internal prototype to avoid an error. */
22169 /* We use char because int might match the return type of a gcc2
22170 builtin and then its argument prototype would still apply. */
22175 /* The GNU C library defines this for functions which it implements
22176 to always fail with ENOSYS. Some functions are actually named
22177 something starting with __ and the normal name is an alias. */
22178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22186 if { (eval echo configure:22187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22188 eval "ac_cv_func_$ac_func=yes"
22190 echo "configure: failed program was:" >&5
22191 cat conftest.$ac_ext >&5
22193 eval "ac_cv_func_$ac_func=no"
22198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22199 echo "$ac_t""yes" 1>&6
22200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22201 cat >> confdefs.h <<EOF
22202 #define $ac_tr_func 1
22206 echo "$ac_t""no" 1>&6
22213 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22214 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22215 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22216 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22217 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22218 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22221 echo "configure:22222: checking for $ac_func" >&5
22222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22223 echo $ac_n "(cached) $ac_c" 1>&6
22225 cat > conftest.$ac_ext <<EOF
22226 #line 22227 "configure"
22227 #include "confdefs.h"
22228 /* System header to define __stub macros and hopefully few prototypes,
22229 which can conflict with char $ac_func(); below. */
22230 #include <assert.h>
22231 /* Override any gcc2 internal prototype to avoid an error. */
22232 /* We use char because int might match the return type of a gcc2
22233 builtin and then its argument prototype would still apply. */
22238 /* The GNU C library defines this for functions which it implements
22239 to always fail with ENOSYS. Some functions are actually named
22240 something starting with __ and the normal name is an alias. */
22241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22249 if { (eval echo configure:22250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22251 eval "ac_cv_func_$ac_func=yes"
22253 echo "configure: failed program was:" >&5
22254 cat conftest.$ac_ext >&5
22256 eval "ac_cv_func_$ac_func=no"
22261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22262 echo "$ac_t""yes" 1>&6
22263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22264 cat >> confdefs.h <<EOF
22265 #define $ac_tr_func 1
22269 echo "$ac_t""no" 1>&6
22276 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22277 echo "configure:22278: checking for ISO C99 wchar_t support" >&5
22278 if test x"$has_weof" = xyes &&
22279 test x"$has_wchar_minmax" = xyes &&
22280 test x"$ac_wfuncs" = xyes; then
22281 ac_isoC99_wchar_t=yes
22283 ac_isoC99_wchar_t=no
22285 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22287 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22288 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22289 echo "configure:22290: checking for iconv.h" >&5
22290 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22291 echo $ac_n "(cached) $ac_c" 1>&6
22293 cat > conftest.$ac_ext <<EOF
22294 #line 22295 "configure"
22295 #include "confdefs.h"
22298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22299 { (eval echo configure:22300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22301 if test -z "$ac_err"; then
22303 eval "ac_cv_header_$ac_safe=yes"
22306 echo "configure: failed program was:" >&5
22307 cat conftest.$ac_ext >&5
22309 eval "ac_cv_header_$ac_safe=no"
22313 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22314 echo "$ac_t""yes" 1>&6
22317 echo "$ac_t""no" 1>&6
22321 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22322 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22323 echo "configure:22324: checking for langinfo.h" >&5
22324 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22325 echo $ac_n "(cached) $ac_c" 1>&6
22327 cat > conftest.$ac_ext <<EOF
22328 #line 22329 "configure"
22329 #include "confdefs.h"
22330 #include <langinfo.h>
22332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22333 { (eval echo configure:22334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22335 if test -z "$ac_err"; then
22337 eval "ac_cv_header_$ac_safe=yes"
22340 echo "configure: failed program was:" >&5
22341 cat conftest.$ac_ext >&5
22343 eval "ac_cv_header_$ac_safe=no"
22347 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22348 echo "$ac_t""yes" 1>&6
22349 ac_has_langinfo_h=yes
22351 echo "$ac_t""no" 1>&6
22352 ac_has_langinfo_h=no
22356 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22357 echo "configure:22358: checking for iconv in -liconv" >&5
22358 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22360 echo $ac_n "(cached) $ac_c" 1>&6
22362 ac_save_LIBS="$LIBS"
22363 LIBS="-liconv $LIBS"
22364 cat > conftest.$ac_ext <<EOF
22365 #line 22366 "configure"
22366 #include "confdefs.h"
22367 /* Override any gcc2 internal prototype to avoid an error. */
22368 /* We use char because int might match the return type of a gcc2
22369 builtin and then its argument prototype would still apply. */
22376 if { (eval echo configure:22377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22378 eval "ac_cv_lib_$ac_lib_var=yes"
22380 echo "configure: failed program was:" >&5
22381 cat conftest.$ac_ext >&5
22383 eval "ac_cv_lib_$ac_lib_var=no"
22386 LIBS="$ac_save_LIBS"
22389 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22390 echo "$ac_t""yes" 1>&6
22393 echo "$ac_t""no" 1>&6
22396 ac_save_LIBS="$LIBS"
22397 LIBS="$LIBS $libiconv"
22399 for ac_func in iconv_open iconv_close iconv nl_langinfo
22401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22402 echo "configure:22403: checking for $ac_func" >&5
22403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22404 echo $ac_n "(cached) $ac_c" 1>&6
22406 cat > conftest.$ac_ext <<EOF
22407 #line 22408 "configure"
22408 #include "confdefs.h"
22409 /* System header to define __stub macros and hopefully few prototypes,
22410 which can conflict with char $ac_func(); below. */
22411 #include <assert.h>
22412 /* Override any gcc2 internal prototype to avoid an error. */
22413 /* We use char because int might match the return type of a gcc2
22414 builtin and then its argument prototype would still apply. */
22419 /* The GNU C library defines this for functions which it implements
22420 to always fail with ENOSYS. Some functions are actually named
22421 something starting with __ and the normal name is an alias. */
22422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22430 if { (eval echo configure:22431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22432 eval "ac_cv_func_$ac_func=yes"
22434 echo "configure: failed program was:" >&5
22435 cat conftest.$ac_ext >&5
22437 eval "ac_cv_func_$ac_func=no"
22442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22443 echo "$ac_t""yes" 1>&6
22444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22445 cat >> confdefs.h <<EOF
22446 #define $ac_tr_func 1
22451 echo "$ac_t""no" 1>&6
22457 LIBS="$ac_save_LIBS"
22459 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22460 echo "configure:22461: checking for XPG2 wchar_t support" >&5
22461 if test x"$ac_has_iconv_h" = xyes &&
22462 test x"$ac_has_langinfo_h" = xyes &&
22463 test x"$ac_XPG2funcs" = xyes; then
22464 ac_XPG2_wchar_t=yes
22468 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22470 if test x"$ac_isoC99_wchar_t" = xyes &&
22471 test x"$ac_XPG2_wchar_t" = xyes; then
22472 cat >> confdefs.h <<\EOF
22473 #define _GLIBCPP_USE_WCHAR_T 1
22479 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22480 echo "configure:22481: checking for enabled wchar_t specializations" >&5
22481 echo "$ac_t""$enable_wchar_t" 1>&6
22484 if test "$enable_wchar_t" = yes; then
22485 GLIBCPP_TEST_WCHAR_T_TRUE=
22486 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22488 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22489 GLIBCPP_TEST_WCHAR_T_FALSE=
22493 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22494 ac_save_CXXFLAGS="$CXXFLAGS"
22495 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22498 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22499 echo "configure:22500: checking for strtold declaration" >&5
22500 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22501 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22502 echo $ac_n "(cached) $ac_c" 1>&6
22507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22508 ac_cpp='$CXXCPP $CPPFLAGS'
22509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22511 cross_compiling=$ac_cv_prog_cxx_cross
22513 cat > conftest.$ac_ext <<EOF
22514 #line 22515 "configure"
22515 #include "confdefs.h"
22516 #include <stdlib.h>
22521 if { (eval echo configure:22522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22523 glibcpp_cv_func_strtold_use=yes
22525 echo "configure: failed program was:" >&5
22526 cat conftest.$ac_ext >&5
22528 glibcpp_cv_func_strtold_use=no
22532 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22535 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22536 cross_compiling=$ac_cv_prog_cc_cross
22542 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22543 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22544 for ac_func in strtold
22546 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22547 echo "configure:22548: checking for $ac_func" >&5
22548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22549 echo $ac_n "(cached) $ac_c" 1>&6
22551 cat > conftest.$ac_ext <<EOF
22552 #line 22553 "configure"
22553 #include "confdefs.h"
22554 /* System header to define __stub macros and hopefully few prototypes,
22555 which can conflict with char $ac_func(); below. */
22556 #include <assert.h>
22557 /* Override any gcc2 internal prototype to avoid an error. */
22558 /* We use char because int might match the return type of a gcc2
22559 builtin and then its argument prototype would still apply. */
22564 /* The GNU C library defines this for functions which it implements
22565 to always fail with ENOSYS. Some functions are actually named
22566 something starting with __ and the normal name is an alias. */
22567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22575 if { (eval echo configure:22576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22577 eval "ac_cv_func_$ac_func=yes"
22579 echo "configure: failed program was:" >&5
22580 cat conftest.$ac_ext >&5
22582 eval "ac_cv_func_$ac_func=no"
22587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22588 echo "$ac_t""yes" 1>&6
22589 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22590 cat >> confdefs.h <<EOF
22591 #define $ac_tr_func 1
22595 echo "$ac_t""no" 1>&6
22602 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22603 echo "configure:22604: checking for strtof declaration" >&5
22604 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22605 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22606 echo $ac_n "(cached) $ac_c" 1>&6
22611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22612 ac_cpp='$CXXCPP $CPPFLAGS'
22613 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22614 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22615 cross_compiling=$ac_cv_prog_cxx_cross
22617 cat > conftest.$ac_ext <<EOF
22618 #line 22619 "configure"
22619 #include "confdefs.h"
22620 #include <stdlib.h>
22625 if { (eval echo configure:22626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22627 glibcpp_cv_func_strtof_use=yes
22629 echo "configure: failed program was:" >&5
22630 cat conftest.$ac_ext >&5
22632 glibcpp_cv_func_strtof_use=no
22636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22637 ac_cpp='$CPP $CPPFLAGS'
22638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22640 cross_compiling=$ac_cv_prog_cc_cross
22646 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22647 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22648 for ac_func in strtof
22650 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22651 echo "configure:22652: checking for $ac_func" >&5
22652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22653 echo $ac_n "(cached) $ac_c" 1>&6
22655 cat > conftest.$ac_ext <<EOF
22656 #line 22657 "configure"
22657 #include "confdefs.h"
22658 /* System header to define __stub macros and hopefully few prototypes,
22659 which can conflict with char $ac_func(); below. */
22660 #include <assert.h>
22661 /* Override any gcc2 internal prototype to avoid an error. */
22662 /* We use char because int might match the return type of a gcc2
22663 builtin and then its argument prototype would still apply. */
22668 /* The GNU C library defines this for functions which it implements
22669 to always fail with ENOSYS. Some functions are actually named
22670 something starting with __ and the normal name is an alias. */
22671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22679 if { (eval echo configure:22680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22681 eval "ac_cv_func_$ac_func=yes"
22683 echo "configure: failed program was:" >&5
22684 cat conftest.$ac_ext >&5
22686 eval "ac_cv_func_$ac_func=no"
22691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22692 echo "$ac_t""yes" 1>&6
22693 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22694 cat >> confdefs.h <<EOF
22695 #define $ac_tr_func 1
22699 echo "$ac_t""no" 1>&6
22705 for ac_func in drand48
22707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22708 echo "configure:22709: checking for $ac_func" >&5
22709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22710 echo $ac_n "(cached) $ac_c" 1>&6
22712 cat > conftest.$ac_ext <<EOF
22713 #line 22714 "configure"
22714 #include "confdefs.h"
22715 /* System header to define __stub macros and hopefully few prototypes,
22716 which can conflict with char $ac_func(); below. */
22717 #include <assert.h>
22718 /* Override any gcc2 internal prototype to avoid an error. */
22719 /* We use char because int might match the return type of a gcc2
22720 builtin and then its argument prototype would still apply. */
22725 /* The GNU C library defines this for functions which it implements
22726 to always fail with ENOSYS. Some functions are actually named
22727 something starting with __ and the normal name is an alias. */
22728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22736 if { (eval echo configure:22737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22738 eval "ac_cv_func_$ac_func=yes"
22740 echo "configure: failed program was:" >&5
22741 cat conftest.$ac_ext >&5
22743 eval "ac_cv_func_$ac_func=no"
22748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22749 echo "$ac_t""yes" 1>&6
22750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22751 cat >> confdefs.h <<EOF
22752 #define $ac_tr_func 1
22756 echo "$ac_t""no" 1>&6
22761 CXXFLAGS="$ac_save_CXXFLAGS"
22764 # For showmanyc_helper().
22765 for ac_hdr in sys/ioctl.h sys/filio.h
22767 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22768 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22769 echo "configure:22770: checking for $ac_hdr" >&5
22770 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22771 echo $ac_n "(cached) $ac_c" 1>&6
22773 cat > conftest.$ac_ext <<EOF
22774 #line 22775 "configure"
22775 #include "confdefs.h"
22778 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22779 { (eval echo configure:22780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22781 if test -z "$ac_err"; then
22783 eval "ac_cv_header_$ac_safe=yes"
22786 echo "configure: failed program was:" >&5
22787 cat conftest.$ac_ext >&5
22789 eval "ac_cv_header_$ac_safe=no"
22793 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22794 echo "$ac_t""yes" 1>&6
22795 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22796 cat >> confdefs.h <<EOF
22797 #define $ac_tr_hdr 1
22801 echo "$ac_t""no" 1>&6
22806 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22807 echo $ac_n "(cached) $ac_c" 1>&6
22810 cat > conftest.$ac_ext <<EOF
22811 #line 22812 "configure"
22812 #include "confdefs.h"
22815 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22818 if { (eval echo configure:22819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22820 glibcpp_cv_POLL=yes
22822 echo "configure: failed program was:" >&5
22823 cat conftest.$ac_ext >&5
22831 if test x$glibcpp_cv_POLL = xyes; then
22832 cat >> confdefs.h <<\EOF
22833 #define HAVE_POLL 1
22839 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22840 echo $ac_n "(cached) $ac_c" 1>&6
22843 cat > conftest.$ac_ext <<EOF
22844 #line 22845 "configure"
22845 #include "confdefs.h"
22846 #include <sys/stat.h>
22848 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22851 if { (eval echo configure:22852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22853 glibcpp_cv_S_ISREG=yes
22855 echo "configure: failed program was:" >&5
22856 cat conftest.$ac_ext >&5
22858 glibcpp_cv_S_ISREG=no
22864 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
22865 echo $ac_n "(cached) $ac_c" 1>&6
22868 cat > conftest.$ac_ext <<EOF
22869 #line 22870 "configure"
22870 #include "confdefs.h"
22871 #include <sys/stat.h>
22873 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22876 if { (eval echo configure:22877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22878 glibcpp_cv_S_IFREG=yes
22880 echo "configure: failed program was:" >&5
22881 cat conftest.$ac_ext >&5
22883 glibcpp_cv_S_IFREG=no
22889 if test x$glibcpp_cv_S_ISREG = xyes; then
22890 cat >> confdefs.h <<\EOF
22891 #define HAVE_S_ISREG 1
22894 elif test x$glibcpp_cv_S_IFREG = xyes; then
22895 cat >> confdefs.h <<\EOF
22896 #define HAVE_S_IFREG 1
22903 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22904 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22905 echo "configure:22906: checking for locale.h" >&5
22906 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22907 echo $ac_n "(cached) $ac_c" 1>&6
22909 cat > conftest.$ac_ext <<EOF
22910 #line 22911 "configure"
22911 #include "confdefs.h"
22912 #include <locale.h>
22914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22915 { (eval echo configure:22916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22916 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22917 if test -z "$ac_err"; then
22919 eval "ac_cv_header_$ac_safe=yes"
22922 echo "configure: failed program was:" >&5
22923 cat conftest.$ac_ext >&5
22925 eval "ac_cv_header_$ac_safe=no"
22929 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22930 echo "$ac_t""yes" 1>&6
22932 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22933 echo "configure:22934: checking for LC_MESSAGES" >&5
22934 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22935 echo $ac_n "(cached) $ac_c" 1>&6
22937 cat > conftest.$ac_ext <<EOF
22938 #line 22939 "configure"
22939 #include "confdefs.h"
22940 #include <locale.h>
22945 if { (eval echo configure:22946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22947 ac_cv_val_LC_MESSAGES=yes
22949 echo "configure: failed program was:" >&5
22950 cat conftest.$ac_ext >&5
22952 ac_cv_val_LC_MESSAGES=no
22957 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22958 if test $ac_cv_val_LC_MESSAGES = yes; then
22959 cat >> confdefs.h <<\EOF
22960 #define HAVE_LC_MESSAGES 1
22966 echo "$ac_t""no" 1>&6
22971 cat > conftest.$ac_ext <<EOF
22972 #line 22973 "configure"
22973 #include "confdefs.h"
22975 #include <setjmp.h>
22978 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22981 if { (eval echo configure:22982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22983 cat >> confdefs.h <<\EOF
22984 #define HAVE_SIGSETJMP 1
22989 echo "configure: failed program was:" >&5
22990 cat conftest.$ac_ext >&5
22994 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22996 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22997 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22998 echo "configure:22999: checking for $ac_hdr" >&5
22999 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23000 echo $ac_n "(cached) $ac_c" 1>&6
23002 cat > conftest.$ac_ext <<EOF
23003 #line 23004 "configure"
23004 #include "confdefs.h"
23007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23008 { (eval echo configure:23009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23010 if test -z "$ac_err"; then
23012 eval "ac_cv_header_$ac_safe=yes"
23015 echo "configure: failed program was:" >&5
23016 cat conftest.$ac_ext >&5
23018 eval "ac_cv_header_$ac_safe=no"
23022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23023 echo "$ac_t""yes" 1>&6
23024 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23025 cat >> confdefs.h <<EOF
23026 #define $ac_tr_hdr 1
23030 echo "$ac_t""no" 1>&6
23034 for ac_func in getpagesize
23036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23037 echo "configure:23038: checking for $ac_func" >&5
23038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23039 echo $ac_n "(cached) $ac_c" 1>&6
23041 cat > conftest.$ac_ext <<EOF
23042 #line 23043 "configure"
23043 #include "confdefs.h"
23044 /* System header to define __stub macros and hopefully few prototypes,
23045 which can conflict with char $ac_func(); below. */
23046 #include <assert.h>
23047 /* Override any gcc2 internal prototype to avoid an error. */
23048 /* We use char because int might match the return type of a gcc2
23049 builtin and then its argument prototype would still apply. */
23054 /* The GNU C library defines this for functions which it implements
23055 to always fail with ENOSYS. Some functions are actually named
23056 something starting with __ and the normal name is an alias. */
23057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23065 if { (eval echo configure:23066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23067 eval "ac_cv_func_$ac_func=yes"
23069 echo "configure: failed program was:" >&5
23070 cat conftest.$ac_ext >&5
23072 eval "ac_cv_func_$ac_func=no"
23077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23078 echo "$ac_t""yes" 1>&6
23079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23080 cat >> confdefs.h <<EOF
23081 #define $ac_tr_func 1
23085 echo "$ac_t""no" 1>&6
23089 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
23090 echo "configure:23091: checking for working mmap" >&5
23091 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23092 echo $ac_n "(cached) $ac_c" 1>&6
23094 if test "$cross_compiling" = yes; then
23095 ac_cv_func_mmap_fixed_mapped=no
23097 cat > conftest.$ac_ext <<EOF
23098 #line 23099 "configure"
23099 #include "confdefs.h"
23101 /* Thanks to Mike Haertel and Jim Avera for this test.
23102 Here is a matrix of mmap possibilities:
23103 mmap private not fixed
23104 mmap private fixed at somewhere currently unmapped
23105 mmap private fixed at somewhere already mapped
23106 mmap shared not fixed
23107 mmap shared fixed at somewhere currently unmapped
23108 mmap shared fixed at somewhere already mapped
23109 For private mappings, we should verify that changes cannot be read()
23110 back from the file, nor mmap's back from the file at a different
23111 address. (There have been systems where private was not correctly
23112 implemented like the infamous i386 svr4.0, and systems where the
23113 VM page cache was not coherent with the filesystem buffer cache
23114 like early versions of FreeBSD and possibly contemporary NetBSD.)
23115 For shared mappings, we should conversely verify that changes get
23116 propogated back to all the places they're supposed to be.
23118 Grep wants private fixed already mapped.
23119 The main things grep needs to know about mmap are:
23120 * does it exist and is it safe to write into the mmap'd area
23121 * how to use it (BSD variants) */
23122 #include <sys/types.h>
23124 #include <sys/mman.h>
23126 #if HAVE_SYS_TYPES_H
23127 # include <sys/types.h>
23131 # include <stdlib.h>
23134 #if HAVE_SYS_STAT_H
23135 # include <sys/stat.h>
23139 # include <unistd.h>
23142 /* This mess was copied from the GNU getpagesize.h. */
23143 #ifndef HAVE_GETPAGESIZE
23145 /* Assume that all systems that can run configure have sys/param.h. */
23146 # ifndef HAVE_SYS_PARAM_H
23147 # define HAVE_SYS_PARAM_H 1
23150 # ifdef _SC_PAGESIZE
23151 # define getpagesize() sysconf(_SC_PAGESIZE)
23152 # else /* no _SC_PAGESIZE */
23153 # ifdef HAVE_SYS_PARAM_H
23154 # include <sys/param.h>
23155 # ifdef EXEC_PAGESIZE
23156 # define getpagesize() EXEC_PAGESIZE
23157 # else /* no EXEC_PAGESIZE */
23159 # define getpagesize() NBPG * CLSIZE
23162 # endif /* no CLSIZE */
23163 # else /* no NBPG */
23165 # define getpagesize() NBPC
23166 # else /* no NBPC */
23168 # define getpagesize() PAGESIZE
23169 # endif /* PAGESIZE */
23170 # endif /* no NBPC */
23171 # endif /* no NBPG */
23172 # endif /* no EXEC_PAGESIZE */
23173 # else /* no HAVE_SYS_PARAM_H */
23174 # define getpagesize() 8192 /* punt totally */
23175 # endif /* no HAVE_SYS_PARAM_H */
23176 # endif /* no _SC_PAGESIZE */
23178 #endif /* no HAVE_GETPAGESIZE */
23181 extern "C" { void *malloc(unsigned); }
23189 char *data, *data2, *data3;
23193 pagesize = getpagesize();
23196 * First, make a file with some known garbage in it.
23198 data = malloc(pagesize);
23201 for (i = 0; i < pagesize; ++i)
23202 *(data + i) = rand();
23204 fd = creat("conftestmmap", 0600);
23207 if (write(fd, data, pagesize) != pagesize)
23212 * Next, try to mmap the file at a fixed address which
23213 * already has something else allocated at it. If we can,
23214 * also make sure that we see the same garbage.
23216 fd = open("conftestmmap", O_RDWR);
23219 data2 = malloc(2 * pagesize);
23222 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23223 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23224 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23226 for (i = 0; i < pagesize; ++i)
23227 if (*(data + i) != *(data2 + i))
23231 * Finally, make sure that changes to the mapped area
23232 * do not percolate back to the file as seen by read().
23233 * (This is a bug on some variants of i386 svr4.0.)
23235 for (i = 0; i < pagesize; ++i)
23236 *(data2 + i) = *(data2 + i) + 1;
23237 data3 = malloc(pagesize);
23240 if (read(fd, data3, pagesize) != pagesize)
23242 for (i = 0; i < pagesize; ++i)
23243 if (*(data + i) != *(data3 + i))
23246 unlink("conftestmmap");
23251 if { (eval echo configure:23252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23253 ac_cv_func_mmap_fixed_mapped=yes
23255 echo "configure: failed program was:" >&5
23256 cat conftest.$ac_ext >&5
23258 ac_cv_func_mmap_fixed_mapped=no
23265 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23266 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23267 cat >> confdefs.h <<\EOF
23268 #define HAVE_MMAP 1
23274 # Establish limits on memory usage during 'make check'
23277 setrlimit_have_headers=yes
23278 for ac_hdr in unistd.h sys/time.h sys/resource.h
23280 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23281 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23282 echo "configure:23283: checking for $ac_hdr" >&5
23283 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23284 echo $ac_n "(cached) $ac_c" 1>&6
23286 cat > conftest.$ac_ext <<EOF
23287 #line 23288 "configure"
23288 #include "confdefs.h"
23291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23292 { (eval echo configure:23293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23294 if test -z "$ac_err"; then
23296 eval "ac_cv_header_$ac_safe=yes"
23299 echo "configure: failed program was:" >&5
23300 cat conftest.$ac_ext >&5
23302 eval "ac_cv_header_$ac_safe=no"
23306 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23307 echo "$ac_t""yes" 1>&6
23308 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23309 cat >> confdefs.h <<EOF
23310 #define $ac_tr_hdr 1
23314 echo "$ac_t""no" 1>&6
23315 setrlimit_have_headers=no
23319 # If don't have the headers, then we can't run the tests now, and we
23320 # won't be seeing any of these during testsuite compilation.
23321 if test $setrlimit_have_headers = yes; then
23322 # Can't do these in a loop, else the resulting syntax is wrong.
23324 cat > conftest.$ac_ext <<EOF
23325 #line 23326 "configure"
23326 #include "confdefs.h"
23327 #include <unistd.h>
23328 #include <sys/time.h>
23329 #include <sys/resource.h>
23332 int f = RLIMIT_DATA ;
23335 if { (eval echo configure:23336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23339 echo "configure: failed program was:" >&5
23340 cat conftest.$ac_ext >&5
23345 cat >> confdefs.h <<EOF
23346 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23351 cat > conftest.$ac_ext <<EOF
23352 #line 23353 "configure"
23353 #include "confdefs.h"
23354 #include <unistd.h>
23355 #include <sys/time.h>
23356 #include <sys/resource.h>
23359 int f = RLIMIT_RSS ;
23362 if { (eval echo configure:23363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23366 echo "configure: failed program was:" >&5
23367 cat conftest.$ac_ext >&5
23372 cat >> confdefs.h <<EOF
23373 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23378 cat > conftest.$ac_ext <<EOF
23379 #line 23380 "configure"
23380 #include "confdefs.h"
23381 #include <unistd.h>
23382 #include <sys/time.h>
23383 #include <sys/resource.h>
23386 int f = RLIMIT_VMEM ;
23389 if { (eval echo configure:23390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23393 echo "configure: failed program was:" >&5
23394 cat conftest.$ac_ext >&5
23399 cat >> confdefs.h <<EOF
23400 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23405 cat > conftest.$ac_ext <<EOF
23406 #line 23407 "configure"
23407 #include "confdefs.h"
23408 #include <unistd.h>
23409 #include <sys/time.h>
23410 #include <sys/resource.h>
23413 int f = RLIMIT_AS ;
23416 if { (eval echo configure:23417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23420 echo "configure: failed program was:" >&5
23421 cat conftest.$ac_ext >&5
23426 cat >> confdefs.h <<EOF
23427 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23432 # Check for rlimit, setrlimit.
23433 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23434 echo $ac_n "(cached) $ac_c" 1>&6
23437 cat > conftest.$ac_ext <<EOF
23438 #line 23439 "configure"
23439 #include "confdefs.h"
23440 #include <unistd.h>
23441 #include <sys/time.h>
23442 #include <sys/resource.h>
23445 struct rlimit r; setrlimit(0, &r);
23448 if { (eval echo configure:23449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23452 echo "configure: failed program was:" >&5
23453 cat conftest.$ac_ext >&5
23463 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23464 echo "configure:23465: checking for testsuite memory limit support" >&5
23465 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23467 cat >> confdefs.h <<\EOF
23468 #define _GLIBCPP_MEM_LIMITS 1
23474 echo "$ac_t""$ac_mem_limits" 1>&6
23477 # Look for setenv, so that extended locale tests can be performed.
23479 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23480 echo "configure:23481: checking for setenv declaration" >&5
23481 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23482 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23483 echo $ac_n "(cached) $ac_c" 1>&6
23488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23489 ac_cpp='$CXXCPP $CPPFLAGS'
23490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23492 cross_compiling=$ac_cv_prog_cxx_cross
23494 cat > conftest.$ac_ext <<EOF
23495 #line 23496 "configure"
23496 #include "confdefs.h"
23497 #include <stdlib.h>
23502 if { (eval echo configure:23503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23504 glibcpp_cv_func_setenv_use=yes
23506 echo "configure: failed program was:" >&5
23507 cat conftest.$ac_ext >&5
23509 glibcpp_cv_func_setenv_use=no
23513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23514 ac_cpp='$CPP $CPPFLAGS'
23515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23517 cross_compiling=$ac_cv_prog_cc_cross
23523 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23524 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23525 for ac_func in setenv
23527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23528 echo "configure:23529: checking for $ac_func" >&5
23529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23530 echo $ac_n "(cached) $ac_c" 1>&6
23532 cat > conftest.$ac_ext <<EOF
23533 #line 23534 "configure"
23534 #include "confdefs.h"
23535 /* System header to define __stub macros and hopefully few prototypes,
23536 which can conflict with char $ac_func(); below. */
23537 #include <assert.h>
23538 /* Override any gcc2 internal prototype to avoid an error. */
23539 /* We use char because int might match the return type of a gcc2
23540 builtin and then its argument prototype would still apply. */
23545 /* The GNU C library defines this for functions which it implements
23546 to always fail with ENOSYS. Some functions are actually named
23547 something starting with __ and the normal name is an alias. */
23548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23556 if { (eval echo configure:23557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23558 eval "ac_cv_func_$ac_func=yes"
23560 echo "configure: failed program was:" >&5
23561 cat conftest.$ac_ext >&5
23563 eval "ac_cv_func_$ac_func=no"
23568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23569 echo "$ac_t""yes" 1>&6
23570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23571 cat >> confdefs.h <<EOF
23572 #define $ac_tr_func 1
23576 echo "$ac_t""no" 1>&6
23583 # Export file names for ABI checking.
23584 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23588 *-*-cygwin* ) enable_abi_check=no ;;
23589 * ) enable_abi_check=yes ;;
23592 # Don't do ABI checking unless native.
23595 if test x"$build" = x"$host" && test -z "$with_cross_host" \
23596 && test "$enable_abi_check" = yes ; then
23597 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23598 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23600 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23601 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23606 # This depends on the possibly-skipped linker test above.
23607 # Check whether --enable-symvers or --disable-symvers was given.
23608 if test "${enable_symvers+set}" = set; then
23609 enableval="$enable_symvers"
23610 case "$enableval" in
23611 yes) enable_symvers=yes ;;
23612 no) enable_symvers=no ;;
23613 # other names here, just as sanity checks
23614 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23615 gnu) enable_symvers=$enableval ;;
23616 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23622 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23623 # don't know enough about $LD to do tricks...
23624 if test x$enable_shared = xno ||
23626 test x$glibcpp_gnu_ld_version = x; then
23630 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23631 if test $enable_symvers != no; then
23632 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23633 echo "configure:23634: checking for shared libgcc" >&5
23634 ac_save_CFLAGS="$CFLAGS"
23636 cat > conftest.$ac_ext <<EOF
23637 #line 23638 "configure"
23638 #include "confdefs.h"
23644 if { (eval echo configure:23645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23646 glibcpp_shared_libgcc=yes
23648 echo "configure: failed program was:" >&5
23649 cat conftest.$ac_ext >&5
23651 glibcpp_shared_libgcc=no
23654 CFLAGS="$ac_save_CFLAGS"
23655 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23658 # For GNU ld, we need at least this version. It's 2.12 in the same format
23659 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23660 glibcpp_min_gnu_ld_version=21200
23662 # Check to see if unspecified "yes" value can win, given results
23664 if test $enable_symvers = yes ; then
23665 if test $with_gnu_ld = yes &&
23666 test $glibcpp_shared_libgcc = yes ;
23668 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23671 ac_test_CFLAGS="${CFLAGS+set}"
23672 ac_save_CFLAGS="$CFLAGS"
23673 CFLAGS='-shared -Wl,--version-script,conftest.map'
23676 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23678 cat > conftest.$ac_ext <<EOF
23679 #line 23680 "configure"
23680 #include "confdefs.h"
23686 if { (eval echo configure:23687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23690 echo "configure: failed program was:" >&5
23691 cat conftest.$ac_ext >&5
23694 if test "$ac_test_CFLAGS" = set; then
23695 CFLAGS="$ac_save_CFLAGS"
23697 # this is the suspicious part
23703 # just fail for now
23708 case $enable_symvers in
23710 SYMVER_MAP=config/linker-map.dummy
23713 SYMVER_MAP=config/linker-map.gnu
23714 cat >> confdefs.h <<\EOF
23715 #define _GLIBCPP_SYMVER 1
23724 if test $enable_symvers != no; then
23725 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23726 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23728 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23729 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23731 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23732 echo "configure:23733: checking versioning on shared library symbols" >&5
23733 echo "$ac_t""$enable_symvers" 1>&6
23736 # Propagate the target-specific source directories through the build chain.
23737 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23738 # uses it, and it only gets used in this file.)
23739 OS_INC_SRCDIR=config/${os_include_dir}
23740 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23744 # Set up cross-compile flags
23747 if test "$CANADIAN" = yes; then
23755 cat > confcache <<\EOF
23756 # This file is a shell script that caches the results of configure
23757 # tests run on this system so they can be shared between configure
23758 # scripts and configure runs. It is not useful on other systems.
23759 # If it contains results you don't want to keep, you may remove or edit it.
23761 # By default, configure uses ./config.cache as the cache file,
23762 # creating it if it does not exist already. You can give configure
23763 # the --cache-file=FILE option to use a different cache file; that is
23764 # what configure does when it calls configure scripts in
23765 # subdirectories, so they share the cache.
23766 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23767 # config.status only pays attention to the cache file if you give it the
23768 # --recheck option to rerun configure.
23771 # The following way of writing the cache mishandles newlines in values,
23772 # but we know of no workaround that is simple, portable, and efficient.
23773 # So, don't put newlines in cache variables' values.
23774 # Ultrix sh set writes to stderr and can't be redirected directly,
23775 # and sets the high bit in the cache file unless we assign to the vars.
23777 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23779 # `set' does not quote correctly, so add quotes (double-quote substitution
23780 # turns \\\\ into \\, and sed turns \\ into \).
23782 -e "s/'/'\\\\''/g" \
23783 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23786 # `set' quotes correctly as required by POSIX, so do not add quotes.
23787 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23790 if cmp -s $cache_file confcache; then
23793 if test -w $cache_file; then
23794 echo "updating cache $cache_file"
23795 cat confcache > $cache_file
23797 echo "not updating unwritable cache $cache_file"
23803 if test "${multilib}" = "yes"; then
23804 multilib_arg="--enable-multilib"
23809 # Export all the install information
23811 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23812 # exported correctly in GLIBCPP_CONFIGURE.
23813 glibcpp_toolexecdir=no
23814 glibcpp_toolexeclibdir=no
23815 glibcpp_prefixdir=${prefix}
23817 # Process the option --with-gxx-include-dir=<path to include-files directory>
23818 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23819 echo "configure:23820: checking for --with-gxx-include-dir" >&5
23820 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23821 if test "${with_gxx_include_dir+set}" = set; then
23822 withval="$with_gxx_include_dir"
23823 case "${withval}" in
23825 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23832 gxx_include_dir=${withval}
23839 echo "$ac_t""$gxx_include_dir" 1>&6
23841 # Process the option "--enable-version-specific-runtime-libs"
23842 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23843 echo "configure:23844: checking for --enable-version-specific-runtime-libs" >&5
23844 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23845 if test "${enable_version_specific_runtime_libs+set}" = set; then
23846 enableval="$enable_version_specific_runtime_libs"
23847 case "$enableval" in
23848 yes) version_specific_libs=yes ;;
23849 no) version_specific_libs=no ;;
23850 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23853 version_specific_libs=no
23855 # Option set, now we can test it.
23856 echo "$ac_t""$version_specific_libs" 1>&6
23858 # Default case for install directory for include files.
23859 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23860 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23863 # Version-specific runtime libs processing.
23864 if test $version_specific_libs = yes; then
23865 # Need the gcc compiler version to know where to install libraries
23866 # and header files if --enable-version-specific-runtime-libs option
23868 if test x"$gxx_include_dir" = x"no"; then
23869 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23871 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23872 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23875 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23876 # Install a library built with a cross compiler in tooldir, not libdir.
23877 if test x"$glibcpp_toolexecdir" = x"no"; then
23878 if test -n "$with_cross_host" &&
23879 test x"$with_cross_host" != x"no"; then
23880 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23881 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23883 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23884 glibcpp_toolexeclibdir='$(libdir)'
23886 multi_os_directory=`$CC -print-multi-os-directory`
23887 case $multi_os_directory in
23888 .) ;; # Avoid trailing /.
23889 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
23893 echo $ac_n "checking for install location""... $ac_c" 1>&6
23894 echo "configure:23895: checking for install location" >&5
23895 echo "$ac_t""$gxx_include_dir" 1>&6
23903 # Export all the include and flag information to Makefiles.
23905 # Root level of the build directory include sources.
23906 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23908 # Passed down for canadian crosses.
23909 if test x"$CANADIAN" = xyes; then
23910 TOPLEVEL_INCLUDES='-I$(includedir)'
23913 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23915 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23917 if test x"$need_libio" = xyes; then
23918 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23922 # Now, export this to all the little Makefiles....
23929 # Optimization flags that are probably a good idea for thrill-seekers. Just
23930 # uncomment the lines below and make, everything else is ready to go...
23931 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23935 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23939 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23940 grep "enable shared" > /dev/null; then
23941 LIBSUPCXX_PICFLAGS=-prefer-pic
23943 LIBSUPCXX_PICFLAGS=
23947 # Generate the various Makefiles, include files, and scripts.
23948 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23949 # and libsupc++/Makefile.am so that multilib installs will end up
23950 # installed in the correct place. To work around this not being passed
23951 # down from config-ml.in -> top_srcdir/Makefile.am ->
23952 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23954 cat > confcache <<\EOF
23955 # This file is a shell script that caches the results of configure
23956 # tests run on this system so they can be shared between configure
23957 # scripts and configure runs. It is not useful on other systems.
23958 # If it contains results you don't want to keep, you may remove or edit it.
23960 # By default, configure uses ./config.cache as the cache file,
23961 # creating it if it does not exist already. You can give configure
23962 # the --cache-file=FILE option to use a different cache file; that is
23963 # what configure does when it calls configure scripts in
23964 # subdirectories, so they share the cache.
23965 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23966 # config.status only pays attention to the cache file if you give it the
23967 # --recheck option to rerun configure.
23970 # The following way of writing the cache mishandles newlines in values,
23971 # but we know of no workaround that is simple, portable, and efficient.
23972 # So, don't put newlines in cache variables' values.
23973 # Ultrix sh set writes to stderr and can't be redirected directly,
23974 # and sets the high bit in the cache file unless we assign to the vars.
23976 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23978 # `set' does not quote correctly, so add quotes (double-quote substitution
23979 # turns \\\\ into \\, and sed turns \\ into \).
23981 -e "s/'/'\\\\''/g" \
23982 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23985 # `set' quotes correctly as required by POSIX, so do not add quotes.
23986 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23989 if cmp -s $cache_file confcache; then
23992 if test -w $cache_file; then
23993 echo "updating cache $cache_file"
23994 cat confcache > $cache_file
23996 echo "not updating unwritable cache $cache_file"
24001 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
24003 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24004 # Let make expand exec_prefix.
24005 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24007 # Any assignment to VPATH causes Sun make to only execute
24008 # the first set of double-colon rules, so remove it if not needed.
24009 # If there is a colon in the path, we need to keep it.
24010 if test "x$srcdir" = x.; then
24011 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24014 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24016 DEFS=-DHAVE_CONFIG_H
24018 # Without the "./", some shells look in PATH for config.status.
24019 : ${CONFIG_STATUS=./config.status}
24021 echo creating $CONFIG_STATUS
24022 rm -f $CONFIG_STATUS
24023 cat > $CONFIG_STATUS <<EOF
24025 # Generated automatically by configure.
24026 # Run this file to recreate the current configuration.
24027 # This directory was configured as follows,
24028 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24030 # $0 $ac_configure_args
24032 # Compiler output produced by configure, useful for debugging
24033 # configure, is in ./config.log if it exists.
24035 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
24038 case "\$ac_option" in
24039 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24040 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24041 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24042 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24043 echo "$CONFIG_STATUS generated by autoconf version 2.13"
24045 -help | --help | --hel | --he | --h)
24046 echo "\$ac_cs_usage"; exit 0 ;;
24047 *) echo "\$ac_cs_usage"; exit 1 ;;
24051 ac_given_srcdir=$srcdir
24052 ac_given_INSTALL="$INSTALL"
24054 trap 'rm -fr `echo "Makefile \
24055 include/Makefile src/Makefile \
24056 libmath/Makefile libio/Makefile libsupc++/Makefile \
24057 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
24059 cat >> $CONFIG_STATUS <<EOF
24061 # Protect against being on the right side of a sed subst in config.status.
24062 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24063 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24067 s%@CFLAGS@%$CFLAGS%g
24068 s%@CPPFLAGS@%$CPPFLAGS%g
24069 s%@CXXFLAGS@%$CXXFLAGS%g
24070 s%@FFLAGS@%$FFLAGS%g
24072 s%@LDFLAGS@%$LDFLAGS%g
24074 s%@exec_prefix@%$exec_prefix%g
24075 s%@prefix@%$prefix%g
24076 s%@program_transform_name@%$program_transform_name%g
24077 s%@bindir@%$bindir%g
24078 s%@sbindir@%$sbindir%g
24079 s%@libexecdir@%$libexecdir%g
24080 s%@datadir@%$datadir%g
24081 s%@sysconfdir@%$sysconfdir%g
24082 s%@sharedstatedir@%$sharedstatedir%g
24083 s%@localstatedir@%$localstatedir%g
24084 s%@libdir@%$libdir%g
24085 s%@includedir@%$includedir%g
24086 s%@oldincludedir@%$oldincludedir%g
24087 s%@infodir@%$infodir%g
24088 s%@mandir@%$mandir%g
24089 s%@PACKAGE@%$PACKAGE%g
24090 s%@libtool_VERSION@%$libtool_VERSION%g
24091 s%@toplevel_srcdir@%$toplevel_srcdir%g
24093 s%@host_alias@%$host_alias%g
24094 s%@host_cpu@%$host_cpu%g
24095 s%@host_vendor@%$host_vendor%g
24096 s%@host_os@%$host_os%g
24097 s%@target@%$target%g
24098 s%@target_alias@%$target_alias%g
24099 s%@target_cpu@%$target_cpu%g
24100 s%@target_vendor@%$target_vendor%g
24101 s%@target_os@%$target_os%g
24103 s%@build_alias@%$build_alias%g
24104 s%@build_cpu@%$build_cpu%g
24105 s%@build_vendor@%$build_vendor%g
24106 s%@build_os@%$build_os%g
24107 s%@glibcpp_builddir@%$glibcpp_builddir%g
24108 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24111 s%@glibcpp_basedir@%$glibcpp_basedir%g
24113 s%@glibcpp_CXX@%$glibcpp_CXX%g
24116 s%@RANLIB@%$RANLIB%g
24117 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24118 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24119 s%@INSTALL_DATA@%$INSTALL_DATA%g
24120 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24121 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24123 s%@EXEEXT@%$EXEEXT%g
24124 s%@VERSION@%$VERSION%g
24125 s%@ACLOCAL@%$ACLOCAL%g
24126 s%@AUTOCONF@%$AUTOCONF%g
24127 s%@AUTOMAKE@%$AUTOMAKE%g
24128 s%@AUTOHEADER@%$AUTOHEADER%g
24129 s%@MAKEINFO@%$MAKEINFO%g
24130 s%@SET_MAKE@%$SET_MAKE%g
24131 s%@OBJEXT@%$OBJEXT%g
24133 s%@LIBTOOL@%$LIBTOOL%g
24134 s%@CXXCPP@%$CXXCPP%g
24135 s%@enable_shared@%$enable_shared%g
24136 s%@enable_static@%$enable_static%g
24137 s%@ifGNUmake@%$ifGNUmake%g
24139 s%@CSTDIO_H@%$CSTDIO_H%g
24140 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24141 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24142 s%@CCODECVT_C@%$CCODECVT_C%g
24143 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24144 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24145 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24146 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24147 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24148 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24149 s%@libio_la@%$libio_la%g
24150 s%@check_msgfmt@%$check_msgfmt%g
24151 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24152 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24153 s%@glibcpp_localedir@%$glibcpp_localedir%g
24154 s%@USE_NLS@%$USE_NLS%g
24155 s%@CLOCALE_H@%$CLOCALE_H%g
24156 s%@CCODECVT_H@%$CCODECVT_H%g
24157 s%@CMESSAGES_H@%$CMESSAGES_H%g
24158 s%@CCODECVT_CC@%$CCODECVT_CC%g
24159 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24160 s%@CCTYPE_CC@%$CCTYPE_CC%g
24161 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24162 s%@CMONEY_CC@%$CMONEY_CC%g
24163 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24164 s%@CTIME_H@%$CTIME_H%g
24165 s%@CTIME_CC@%$CTIME_CC%g
24166 s%@CLOCALE_CC@%$CLOCALE_CC%g
24167 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24168 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24169 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24170 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24171 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24172 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24173 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24174 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24175 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24176 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24177 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24178 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24179 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24180 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24181 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24182 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24183 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24184 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24185 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24186 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24187 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24188 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24189 s%@WERROR@%$WERROR%g
24190 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24191 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24192 s%@baseline_file@%$baseline_file%g
24193 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24194 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24195 s%@SYMVER_MAP@%$SYMVER_MAP%g
24196 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24197 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24198 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24199 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24200 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24201 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24202 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24203 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24204 s%@gxx_include_dir@%$gxx_include_dir%g
24205 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24206 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24207 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24208 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24209 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24210 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24211 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24212 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24213 s%@WARN_FLAGS@%$WARN_FLAGS%g
24214 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24219 cat >> $CONFIG_STATUS <<\EOF
24221 # Split the substitutions into bite-sized pieces for seds with
24222 # small command number limits, like on Digital OSF/1 and HP-UX.
24223 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24224 ac_file=1 # Number of current file.
24225 ac_beg=1 # First line for current file.
24226 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24229 while $ac_more_lines; do
24230 if test $ac_beg -gt 1; then
24231 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24233 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24235 if test ! -s conftest.s$ac_file; then
24236 ac_more_lines=false
24237 rm -f conftest.s$ac_file
24239 if test -z "$ac_sed_cmds"; then
24240 ac_sed_cmds="sed -f conftest.s$ac_file"
24242 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24244 ac_file=`expr $ac_file + 1`
24246 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24249 if test -z "$ac_sed_cmds"; then
24254 cat >> $CONFIG_STATUS <<EOF
24256 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24257 include/Makefile src/Makefile \
24258 libmath/Makefile libio/Makefile libsupc++/Makefile \
24259 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
24261 cat >> $CONFIG_STATUS <<\EOF
24262 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24263 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24265 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24266 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24267 *) ac_file_in="${ac_file}.in" ;;
24270 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24272 # Remove last slash and all that follows it. Not all systems have dirname.
24273 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24274 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24275 # The file is in a subdirectory.
24276 test ! -d "$ac_dir" && mkdir "$ac_dir"
24277 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24278 # A "../" for each directory in $ac_dir_suffix.
24279 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24281 ac_dir_suffix= ac_dots=
24284 case "$ac_given_srcdir" in
24286 if test -z "$ac_dots"; then top_srcdir=.
24287 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24288 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24289 *) # Relative path.
24290 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24291 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24294 case "$ac_given_INSTALL" in
24295 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24296 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24299 echo creating "$ac_file"
24301 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24303 *Makefile*) ac_comsub="1i\\
24304 # $configure_input" ;;
24308 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24310 s%@configure_input@%$configure_input%g
24311 s%@srcdir@%$srcdir%g
24312 s%@top_srcdir@%$top_srcdir%g
24313 s%@INSTALL@%$INSTALL%g
24314 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24318 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24319 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24321 # ac_d sets the value in "#define NAME VALUE" lines.
24322 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24323 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24326 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24327 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24328 ac_uB='\([ ]\)%\1#\2define\3'
24331 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24332 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24333 ac_eB='$%\1#\2define\3'
24337 if test "${CONFIG_HEADERS+set}" != set; then
24339 cat >> $CONFIG_STATUS <<EOF
24340 CONFIG_HEADERS="config.h"
24342 cat >> $CONFIG_STATUS <<\EOF
24344 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24345 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24347 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24348 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24349 *) ac_file_in="${ac_file}.in" ;;
24352 echo creating $ac_file
24354 rm -f conftest.frag conftest.in conftest.out
24355 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24356 cat $ac_file_inputs > conftest.in
24360 # Transform confdefs.h into a sed script conftest.vals that substitutes
24361 # the proper values into config.h.in to produce config.h. And first:
24362 # Protect against being on the right side of a sed subst in config.status.
24363 # Protect against being in an unquoted here document in config.status.
24364 rm -f conftest.vals
24365 cat > conftest.hdr <<\EOF
24368 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24372 sed -n -f conftest.hdr confdefs.h > conftest.vals
24375 # This sed command replaces #undef with comments. This is necessary, for
24376 # example, in the case of _POSIX_SOURCE, which is predefined and required
24377 # on some systems where configure will not decide to define it.
24378 cat >> conftest.vals <<\EOF
24379 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24382 # Break up conftest.vals because some shells have a limit on
24383 # the size of here documents, and old seds have small limits too.
24385 rm -f conftest.tail
24388 ac_lines=`grep -c . conftest.vals`
24389 # grep -c gives empty output for an empty file on some AIX systems.
24390 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24391 # Write a limited-size here document to conftest.frag.
24392 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24393 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24395 sed -f conftest.frag conftest.in > conftest.out
24397 mv conftest.out conftest.in
24398 ' >> $CONFIG_STATUS
24399 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24400 rm -f conftest.vals
24401 mv conftest.tail conftest.vals
24403 rm -f conftest.vals
24405 cat >> $CONFIG_STATUS <<\EOF
24406 rm -f conftest.frag conftest.h
24407 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24408 cat conftest.in >> conftest.h
24410 if cmp -s $ac_file conftest.h 2>/dev/null; then
24411 echo "$ac_file is unchanged"
24414 # Remove last slash and all that follows it. Not all systems have dirname.
24415 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24416 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24417 # The file is in a subdirectory.
24418 test ! -d "$ac_dir" && mkdir "$ac_dir"
24421 mv conftest.h $ac_file
24426 cat >> $CONFIG_STATUS <<EOF
24431 with_target_subdir=${with_target_subdir}
24432 with_build_subdir=${with_build_subdir}
24433 with_multisubdir=${with_multisubdir}
24434 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24435 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24436 glibcpp_basedir=${glibcpp_basedir}
24439 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24442 cat >> $CONFIG_STATUS <<\EOF
24443 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24444 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24445 if test -n "$CONFIG_FILES"; then
24446 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24447 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24448 # Ony modify Makefiles that are just being created.
24449 case " $CONFIG_FILES" in
24451 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24454 case $CONFIG_FILES in
24456 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24459 case $CONFIG_FILES in
24460 *libsupc++/Makefile*)
24461 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24467 chmod +x testsuite_flags
24470 chmod +x $CONFIG_STATUS
24471 rm -fr confdefs* $ac_clean_files
24472 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24476 # Sanity checking & User-visible messages.
24477 # Checks down here, otherwise they get scrolled off before
24478 # the user will notice.
24480 # Trying to get more people to read documentation. Possibly remove
24481 # check and warn all the time. There is no "informational" AC_MSG_
24482 # macro, so these are going to be printed even when --quiet/--silent
24484 if test ! -f stamp-sanity-warned; then
24485 touch stamp-sanity-warned
24487 echo "Please make certain that you read the installation information here:"
24488 echo " faster => ${srcdir}/docs/html/install.html"
24489 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24491 echo "and the configuration information here:"
24492 echo " faster => ${srcdir}/docs/html/configopts.html"
24493 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24495 echo "before proceeding with ${_cv_gnu_make_command}."