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=5:5: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 mawk gawk 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 *.$ac_ext | *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1504 am__api_version="1.4"
1505 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1506 echo "configure:1507: checking whether build environment is sane" >&5
1509 echo timestamp > conftestfile
1510 # Do `set' in a subshell so we don't clobber the current shell's
1511 # arguments. Must try -L first in case configure is actually a
1512 # symlink; some systems play weird games with the mod time of symlinks
1513 # (eg FreeBSD returns the mod time of the symlink's containing
1516 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1517 if test "$*" = "X"; then
1519 set X `ls -t $srcdir/configure conftestfile`
1521 if test "$*" != "X $srcdir/configure conftestfile" \
1522 && test "$*" != "X conftestfile $srcdir/configure"; then
1524 # If neither matched, then we have a broken ls. This can happen
1525 # if, for instance, CONFIG_SHELL is bash and it inherits a
1526 # broken ls alias from the environment. This has actually
1527 # happened. Such a system could not be considered "sane".
1528 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1529 alias in your environment" 1>&2; exit 1; }
1532 test "$2" = conftestfile
1538 { echo "configure: error: newly created file is older than distributed files!
1539 Check your system clock" 1>&2; exit 1; }
1542 echo "$ac_t""yes" 1>&6
1543 if test "$program_transform_name" = s,x,x,; then
1544 program_transform_name=
1546 # Double any \ or $. echo might interpret backslashes.
1547 cat <<\EOF_SED > conftestsed
1548 s,\\,\\\\,g; s,\$,$$,g
1550 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1553 test "$program_prefix" != NONE &&
1554 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1555 # Use a double $ so make ignores it.
1556 test "$program_suffix" != NONE &&
1557 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1559 # sed with no file args requires a program.
1560 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1562 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1563 echo "configure:1564: checking whether ${MAKE-make} sets \${MAKE}" >&5
1564 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1565 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1566 echo $ac_n "(cached) $ac_c" 1>&6
1568 cat > conftestmake <<\EOF
1570 @echo 'ac_maketemp="${MAKE}"'
1572 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1573 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1574 if test -n "$ac_maketemp"; then
1575 eval ac_cv_prog_make_${ac_make}_set=yes
1577 eval ac_cv_prog_make_${ac_make}_set=no
1581 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1582 echo "$ac_t""yes" 1>&6
1585 echo "$ac_t""no" 1>&6
1586 SET_MAKE="MAKE=${MAKE-make}"
1592 VERSION=$gcc_version
1594 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1595 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1597 cat >> confdefs.h <<EOF
1598 #define PACKAGE "$PACKAGE"
1601 cat >> confdefs.h <<EOF
1602 #define VERSION "$VERSION"
1607 missing_dir=`cd $ac_aux_dir && pwd`
1608 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1609 echo "configure:1610: checking for working aclocal-${am__api_version}" >&5
1610 # Run test in a subshell; some versions of sh will print an error if
1611 # an executable is not found, even if stderr is redirected.
1612 # Redirect stdin to placate older versions of autoconf. Sigh.
1613 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1614 ACLOCAL=aclocal-${am__api_version}
1615 echo "$ac_t""found" 1>&6
1617 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1618 echo "$ac_t""missing" 1>&6
1621 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1622 echo "configure:1623: checking for working autoconf" >&5
1623 # Run test in a subshell; some versions of sh will print an error if
1624 # an executable is not found, even if stderr is redirected.
1625 # Redirect stdin to placate older versions of autoconf. Sigh.
1626 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1628 echo "$ac_t""found" 1>&6
1630 AUTOCONF="$missing_dir/missing autoconf"
1631 echo "$ac_t""missing" 1>&6
1634 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1635 echo "configure:1636: checking for working automake-${am__api_version}" >&5
1636 # Run test in a subshell; some versions of sh will print an error if
1637 # an executable is not found, even if stderr is redirected.
1638 # Redirect stdin to placate older versions of autoconf. Sigh.
1639 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1640 AUTOMAKE=automake-${am__api_version}
1641 echo "$ac_t""found" 1>&6
1643 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1644 echo "$ac_t""missing" 1>&6
1647 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1648 echo "configure:1649: checking for working autoheader" >&5
1649 # Run test in a subshell; some versions of sh will print an error if
1650 # an executable is not found, even if stderr is redirected.
1651 # Redirect stdin to placate older versions of autoconf. Sigh.
1652 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1653 AUTOHEADER=autoheader
1654 echo "$ac_t""found" 1>&6
1656 AUTOHEADER="$missing_dir/missing autoheader"
1657 echo "$ac_t""missing" 1>&6
1660 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1661 echo "configure:1662: checking for working makeinfo" >&5
1662 # Run test in a subshell; some versions of sh will print an error if
1663 # an executable is not found, even if stderr is redirected.
1664 # Redirect stdin to placate older versions of autoconf. Sigh.
1665 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1667 echo "$ac_t""found" 1>&6
1669 MAKEINFO="$missing_dir/missing makeinfo"
1670 echo "$ac_t""missing" 1>&6
1679 # Check whether --enable-shared or --disable-shared was given.
1680 if test "${enable_shared+set}" = set; then
1681 enableval="$enable_shared"
1682 p=${PACKAGE-default}
1684 yes) enable_shared=yes ;;
1685 no) enable_shared=no ;;
1688 # Look at the argument we got. We use all the common list separators.
1689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1690 for pkg in $enableval; do
1691 if test "X$pkg" = "X$p"; then
1702 # Check whether --enable-static or --disable-static was given.
1703 if test "${enable_static+set}" = set; then
1704 enableval="$enable_static"
1705 p=${PACKAGE-default}
1707 yes) enable_static=yes ;;
1708 no) enable_static=no ;;
1711 # Look at the argument we got. We use all the common list separators.
1712 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1713 for pkg in $enableval; do
1714 if test "X$pkg" = "X$p"; then
1725 # Check whether --enable-fast-install or --disable-fast-install was given.
1726 if test "${enable_fast_install+set}" = set; then
1727 enableval="$enable_fast_install"
1728 p=${PACKAGE-default}
1730 yes) enable_fast_install=yes ;;
1731 no) enable_fast_install=no ;;
1733 enable_fast_install=no
1734 # Look at the argument we got. We use all the common list separators.
1735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1736 for pkg in $enableval; do
1737 if test "X$pkg" = "X$p"; then
1738 enable_fast_install=yes
1745 enable_fast_install=yes
1748 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1749 if test "${with_gnu_ld+set}" = set; then
1750 withval="$with_gnu_ld"
1751 test "$withval" = no || with_gnu_ld=yes
1757 if test "$GCC" = yes; then
1758 # Check if gcc -print-prog-name=ld gives a path.
1759 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1760 echo "configure:1761: checking for ld used by GCC" >&5
1763 # gcc leaves a trailing carriage return which upsets mingw
1764 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1766 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1769 # Accept absolute paths.
1770 [\\/]* | [A-Za-z]:[\\/]*)
1771 re_direlt='/[^/][^/]*/\.\./'
1772 # Canonicalize the path of ld
1773 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1774 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1775 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1777 test -z "$LD" && LD="$ac_prog"
1780 # If it fails, then pretend we aren't using GCC.
1784 # If it is relative, then search for the first ld in PATH.
1788 elif test "$with_gnu_ld" = yes; then
1789 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1790 echo "configure:1791: checking for GNU ld" >&5
1792 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1793 echo "configure:1794: checking for non-GNU ld" >&5
1795 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1796 echo $ac_n "(cached) $ac_c" 1>&6
1798 if test -z "$LD"; then
1799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1800 for ac_dir in $PATH; do
1801 test -z "$ac_dir" && ac_dir=.
1802 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1803 lt_cv_path_LD="$ac_dir/$ac_prog"
1804 # Check to see if the program is GNU ld. I'd rather use --version,
1805 # but apparently some GNU ld's only accept -v.
1806 # Break only if it was the GNU/non-GNU ld that we prefer.
1807 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1808 test "$with_gnu_ld" != no && break
1810 test "$with_gnu_ld" != yes && break
1816 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1821 if test -n "$LD"; then
1822 echo "$ac_t""$LD" 1>&6
1824 echo "$ac_t""no" 1>&6
1826 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1827 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1828 echo "configure:1829: checking if the linker ($LD) is GNU ld" >&5
1829 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1830 echo $ac_n "(cached) $ac_c" 1>&6
1832 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1833 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1834 lt_cv_prog_gnu_ld=yes
1836 lt_cv_prog_gnu_ld=no
1840 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1841 with_gnu_ld=$lt_cv_prog_gnu_ld
1844 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1845 echo "configure:1846: checking for $LD option to reload object files" >&5
1846 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1847 echo $ac_n "(cached) $ac_c" 1>&6
1849 lt_cv_ld_reload_flag='-r'
1852 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1853 reload_flag=$lt_cv_ld_reload_flag
1854 test -n "$reload_flag" && reload_flag=" $reload_flag"
1856 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1857 echo "configure:1858: checking for BSD-compatible nm" >&5
1858 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1859 echo $ac_n "(cached) $ac_c" 1>&6
1861 if test -n "$NM"; then
1862 # Let the user override the test.
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1866 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1867 test -z "$ac_dir" && ac_dir=.
1868 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1869 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1870 # Check to see if the nm accepts a BSD-compat flag.
1871 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1872 # nm: unknown option "B" ignored
1873 # Tru64's nm complains that /dev/null is an invalid object file
1874 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1875 lt_cv_path_NM="$tmp_nm -B"
1877 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1878 lt_cv_path_NM="$tmp_nm -p"
1881 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1882 continue # so that we can try to find one that supports BSD flags
1887 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1892 echo "$ac_t""$NM" 1>&6
1894 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1895 echo "configure:1896: checking how to recognise dependant libraries" >&5
1896 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1897 echo $ac_n "(cached) $ac_c" 1>&6
1899 lt_cv_file_magic_cmd='$MAGIC_CMD'
1900 lt_cv_file_magic_test_file=
1901 lt_cv_deplibs_check_method='unknown'
1902 # Need to set the preceding variable on all platforms that support
1903 # interlibrary dependencies.
1904 # 'none' -- dependencies not supported.
1905 # `unknown' -- same as none, but documents that we really don't know.
1906 # 'pass_all' -- all dependencies passed with no checks.
1907 # 'test_compile' -- check by making test program.
1908 # 'file_magic [regex]' -- check by looking for files in library path
1909 # which responds to the $file_magic_cmd with a given egrep regex.
1910 # If you have `file' or equivalent on your system and you're not sure
1911 # whether `pass_all' will *always* work, you probably want this one.
1915 lt_cv_deplibs_check_method=pass_all
1919 lt_cv_deplibs_check_method=pass_all
1923 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1924 lt_cv_file_magic_cmd='/usr/bin/file -L'
1925 lt_cv_file_magic_test_file=/shlib/libc.so
1928 cygwin* | mingw* |pw32*)
1929 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1930 lt_cv_file_magic_cmd='$OBJDUMP -f'
1933 darwin* | rhapsody*)
1934 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1935 lt_cv_file_magic_cmd='/usr/bin/file -L'
1937 rhapsody* | darwin1.012)
1938 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1941 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1947 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1950 # Not sure whether the presence of OpenBSD here was a mistake.
1951 # Let's accept both of them until this is cleared up.
1952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1953 lt_cv_file_magic_cmd=/usr/bin/file
1954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1958 lt_cv_deplibs_check_method=pass_all
1963 lt_cv_deplibs_check_method=pass_all
1969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1970 lt_cv_file_magic_cmd=/usr/bin/file
1971 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1975 lt_cv_file_magic_cmd=/usr/bin/file
1976 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1984 # this will be overridden with pass_all, but let us keep it just in case
1985 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1989 *-32|*"-32 ") libmagic=32-bit;;
1990 *-n32|*"-n32 ") libmagic=N32;;
1991 *-64|*"-64 ") libmagic=64-bit;;
1992 *) libmagic=never-match;;
1994 # this will be overridden with pass_all, but let us keep it just in case
1995 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1998 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1999 lt_cv_deplibs_check_method=pass_all
2002 # This must be Linux ELF.
2005 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2006 lt_cv_deplibs_check_method=pass_all ;;
2008 # glibc up to 2.1.1 does not perform some relocations on ARM
2009 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2011 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2015 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2016 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2018 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2023 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2024 lt_cv_file_magic_cmd=/usr/bin/file
2025 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2028 osf3* | osf4* | osf5*)
2029 # this will be overridden with pass_all, but let us keep it just in case
2030 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2031 lt_cv_file_magic_test_file=/shlib/libc.so
2032 lt_cv_deplibs_check_method=pass_all
2036 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_deplibs_check_method=pass_all
2041 lt_cv_file_magic_test_file=/lib/libc.so
2044 sysv5uw[78]* | sysv4*uw2*)
2045 lt_cv_deplibs_check_method=pass_all
2048 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2049 case $host_vendor in
2051 lt_cv_deplibs_check_method=pass_all
2054 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
2055 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2063 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2064 file_magic_cmd=$lt_cv_file_magic_cmd
2065 deplibs_check_method=$lt_cv_deplibs_check_method
2067 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2068 echo "configure:2069: checking for object suffix" >&5
2069 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2070 echo $ac_n "(cached) $ac_c" 1>&6
2073 echo 'int i = 1;' > conftest.$ac_ext
2074 if { (eval echo configure:2075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2075 for ac_file in conftest.*; do
2078 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2082 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2087 echo "$ac_t""$ac_cv_objext" 1>&6
2088 OBJEXT=$ac_cv_objext
2089 ac_objext=$ac_cv_objext
2091 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2093 # Only perform the check for file, if the check method requires it
2094 case $deplibs_check_method in
2096 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2097 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2098 echo "configure:2099: checking for ${ac_tool_prefix}file" >&5
2099 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2100 echo $ac_n "(cached) $ac_c" 1>&6
2104 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2107 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2110 ac_save_MAGIC_CMD="$MAGIC_CMD"
2111 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2112 ac_dummy="/usr/bin:$PATH"
2113 for ac_dir in $ac_dummy; do
2114 test -z "$ac_dir" && ac_dir=.
2115 if test -f $ac_dir/${ac_tool_prefix}file; then
2116 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2117 if test -n "$file_magic_test_file"; then
2118 case $deplibs_check_method in
2120 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2121 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2122 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2123 egrep "$file_magic_regex" > /dev/null; then
2128 *** Warning: the command libtool uses to detect shared libraries,
2129 *** $file_magic_cmd, produces output that libtool cannot recognize.
2130 *** The result is that libtool may fail to recognize shared libraries
2131 *** as such. This will affect the creation of libtool libraries that
2132 *** depend on shared libraries, but programs linked with such libtool
2133 *** libraries will work regardless of this problem. Nevertheless, you
2134 *** may want to report the problem to your system manager and/or to
2135 *** bug-libtool@gnu.org
2145 MAGIC_CMD="$ac_save_MAGIC_CMD"
2150 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2151 if test -n "$MAGIC_CMD"; then
2152 echo "$ac_t""$MAGIC_CMD" 1>&6
2154 echo "$ac_t""no" 1>&6
2157 if test -z "$lt_cv_path_MAGIC_CMD"; then
2158 if test -n "$ac_tool_prefix"; then
2159 echo $ac_n "checking for file""... $ac_c" 1>&6
2160 echo "configure:2161: checking for file" >&5
2161 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2162 echo $ac_n "(cached) $ac_c" 1>&6
2166 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2169 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2172 ac_save_MAGIC_CMD="$MAGIC_CMD"
2173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2174 ac_dummy="/usr/bin:$PATH"
2175 for ac_dir in $ac_dummy; do
2176 test -z "$ac_dir" && ac_dir=.
2177 if test -f $ac_dir/file; then
2178 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2179 if test -n "$file_magic_test_file"; then
2180 case $deplibs_check_method in
2182 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2184 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2185 egrep "$file_magic_regex" > /dev/null; then
2190 *** Warning: the command libtool uses to detect shared libraries,
2191 *** $file_magic_cmd, produces output that libtool cannot recognize.
2192 *** The result is that libtool may fail to recognize shared libraries
2193 *** as such. This will affect the creation of libtool libraries that
2194 *** depend on shared libraries, but programs linked with such libtool
2195 *** libraries will work regardless of this problem. Nevertheless, you
2196 *** may want to report the problem to your system manager and/or to
2197 *** bug-libtool@gnu.org
2207 MAGIC_CMD="$ac_save_MAGIC_CMD"
2212 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2213 if test -n "$MAGIC_CMD"; then
2214 echo "$ac_t""$MAGIC_CMD" 1>&6
2216 echo "$ac_t""no" 1>&6
2228 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2229 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2231 echo "configure:2232: checking for $ac_word" >&5
2232 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2233 echo $ac_n "(cached) $ac_c" 1>&6
2235 if test -n "$RANLIB"; then
2236 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2238 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2240 for ac_dir in $ac_dummy; do
2241 test -z "$ac_dir" && ac_dir=.
2242 if test -f $ac_dir/$ac_word; then
2243 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2250 RANLIB="$ac_cv_prog_RANLIB"
2251 if test -n "$RANLIB"; then
2252 echo "$ac_t""$RANLIB" 1>&6
2254 echo "$ac_t""no" 1>&6
2258 if test -z "$ac_cv_prog_RANLIB"; then
2259 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "ranlib", so it can be a program name with args.
2261 set dummy ranlib; ac_word=$2
2262 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2263 echo "configure:2264: checking for $ac_word" >&5
2264 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2265 echo $ac_n "(cached) $ac_c" 1>&6
2267 if test -n "$RANLIB"; then
2268 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2270 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2272 for ac_dir in $ac_dummy; do
2273 test -z "$ac_dir" && ac_dir=.
2274 if test -f $ac_dir/$ac_word; then
2275 ac_cv_prog_RANLIB="ranlib"
2280 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2283 RANLIB="$ac_cv_prog_RANLIB"
2284 if test -n "$RANLIB"; then
2285 echo "$ac_t""$RANLIB" 1>&6
2287 echo "$ac_t""no" 1>&6
2295 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}strip; ac_word=$2
2297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2298 echo "configure:2299: checking for $ac_word" >&5
2299 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2300 echo $ac_n "(cached) $ac_c" 1>&6
2302 if test -n "$STRIP"; then
2303 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2305 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2307 for ac_dir in $ac_dummy; do
2308 test -z "$ac_dir" && ac_dir=.
2309 if test -f $ac_dir/$ac_word; then
2310 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2317 STRIP="$ac_cv_prog_STRIP"
2318 if test -n "$STRIP"; then
2319 echo "$ac_t""$STRIP" 1>&6
2321 echo "$ac_t""no" 1>&6
2325 if test -z "$ac_cv_prog_STRIP"; then
2326 if test -n "$ac_tool_prefix"; then
2327 # Extract the first word of "strip", so it can be a program name with args.
2328 set dummy strip; ac_word=$2
2329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2330 echo "configure:2331: checking for $ac_word" >&5
2331 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2332 echo $ac_n "(cached) $ac_c" 1>&6
2334 if test -n "$STRIP"; then
2335 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2339 for ac_dir in $ac_dummy; do
2340 test -z "$ac_dir" && ac_dir=.
2341 if test -f $ac_dir/$ac_word; then
2342 ac_cv_prog_STRIP="strip"
2347 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2350 STRIP="$ac_cv_prog_STRIP"
2351 if test -n "$STRIP"; then
2352 echo "$ac_t""$STRIP" 1>&6
2354 echo "$ac_t""no" 1>&6
2363 # Check for any special flags to pass to ltconfig.
2364 libtool_flags="--cache-file=$cache_file"
2365 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2366 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2367 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2368 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2369 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2370 libtool_flags="$libtool_flags --enable-dlopen"
2372 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2373 if test "${enable_libtool_lock+set}" = set; then
2374 enableval="$enable_libtool_lock"
2378 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2379 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2381 # Check whether --with-pic or --without-pic was given.
2382 if test "${with_pic+set}" = set; then
2389 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2390 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2392 # Some flags need to be propagated to the compiler or linker for good
2396 # Find out which ABI we are using.
2397 echo '#line 2398 "configure"' > conftest.$ac_ext
2398 if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2399 if test "$lt_cv_prog_gnu_ld" = yes; then
2400 case `/usr/bin/file conftest.$ac_objext` in
2402 LD="${LD-ld} -melf32bsmip"
2405 LD="${LD-ld} -melf32bmipn32"
2408 LD="${LD-ld} -melf64bmip"
2412 case `/usr/bin/file conftest.$ac_objext` in
2429 # Find out which ABI we are using.
2430 echo 'int i;' > conftest.$ac_ext
2431 if { (eval echo configure:2432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2432 case "`/usr/bin/file conftest.o`" in
2444 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2445 # Find out which ABI we are using.
2446 echo 'int i;' > conftest.$ac_ext
2447 if { (eval echo configure:2448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2448 case "`/usr/bin/file conftest.o`" in
2452 LD="${LD-ld} -m elf_i386"
2454 ppc64-*linux*|powerpc64-*linux*)
2455 LD="${LD-ld} -m elf32ppclinux"
2458 LD="${LD-ld} -m elf_s390"
2461 LD="${LD-ld} -m elf32_sparc"
2468 LD="${LD-ld} -m elf_x86_64"
2470 ppc*-*linux*|powerpc*-*linux*)
2471 LD="${LD-ld} -m elf64ppc"
2474 LD="${LD-ld} -m elf64_s390"
2477 LD="${LD-ld} -m elf64_sparc"
2487 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2488 SAVE_CFLAGS="$CFLAGS"
2489 CFLAGS="$CFLAGS -belf"
2490 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2491 echo "configure:2492: checking whether the C compiler needs -belf" >&5
2492 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2493 echo $ac_n "(cached) $ac_c" 1>&6
2497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2498 ac_cpp='$CPP $CPPFLAGS'
2499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2501 cross_compiling=$ac_cv_prog_cc_cross
2503 cat > conftest.$ac_ext <<EOF
2504 #line 2505 "configure"
2505 #include "confdefs.h"
2511 if { (eval echo configure:2512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2513 lt_cv_cc_needs_belf=yes
2515 echo "configure: failed program was:" >&5
2516 cat conftest.$ac_ext >&5
2518 lt_cv_cc_needs_belf=no
2522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2523 ac_cpp='$CPP $CPPFLAGS'
2524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2526 cross_compiling=$ac_cv_prog_cc_cross
2530 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2531 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2532 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2533 CFLAGS="$SAVE_CFLAGS"
2540 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2541 echo "configure:2542: checking how to run the C++ preprocessor" >&5
2542 if test -z "$CXXCPP"; then
2543 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2544 echo $ac_n "(cached) $ac_c" 1>&6
2547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2548 ac_cpp='$CXXCPP $CPPFLAGS'
2549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2551 cross_compiling=$ac_cv_prog_cxx_cross
2552 CXXCPP="${CXX-g++} -E"
2553 cat > conftest.$ac_ext <<EOF
2554 #line 2555 "configure"
2555 #include "confdefs.h"
2558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2559 { (eval echo configure:2560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2561 if test -z "$ac_err"; then
2565 echo "configure: failed program was:" >&5
2566 cat conftest.$ac_ext >&5
2571 ac_cv_prog_CXXCPP="$CXXCPP"
2573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2574 ac_cpp='$CPP $CPPFLAGS'
2575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2577 cross_compiling=$ac_cv_prog_cc_cross
2580 CXXCPP="$ac_cv_prog_CXXCPP"
2581 echo "$ac_t""$CXXCPP" 1>&6
2584 # Save cache, so that ltconfig can load it
2585 cat > confcache <<\EOF
2586 # This file is a shell script that caches the results of configure
2587 # tests run on this system so they can be shared between configure
2588 # scripts and configure runs. It is not useful on other systems.
2589 # If it contains results you don't want to keep, you may remove or edit it.
2591 # By default, configure uses ./config.cache as the cache file,
2592 # creating it if it does not exist already. You can give configure
2593 # the --cache-file=FILE option to use a different cache file; that is
2594 # what configure does when it calls configure scripts in
2595 # subdirectories, so they share the cache.
2596 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2597 # config.status only pays attention to the cache file if you give it the
2598 # --recheck option to rerun configure.
2601 # The following way of writing the cache mishandles newlines in values,
2602 # but we know of no workaround that is simple, portable, and efficient.
2603 # So, don't put newlines in cache variables' values.
2604 # Ultrix sh set writes to stderr and can't be redirected directly,
2605 # and sets the high bit in the cache file unless we assign to the vars.
2607 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2609 # `set' does not quote correctly, so add quotes (double-quote substitution
2610 # turns \\\\ into \\, and sed turns \\ into \).
2612 -e "s/'/'\\\\''/g" \
2613 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2616 # `set' quotes correctly as required by POSIX, so do not add quotes.
2617 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2620 if cmp -s $cache_file confcache; then
2623 if test -w $cache_file; then
2624 echo "updating cache $cache_file"
2625 cat confcache > $cache_file
2627 echo "not updating unwritable cache $cache_file"
2633 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2634 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2635 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2636 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2637 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2638 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2639 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2640 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2641 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2642 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2644 # Reload cache, that may have been modified by ltconfig
2645 if test -r "$cache_file"; then
2646 echo "loading cache $cache_file"
2649 echo "creating cache $cache_file"
2654 # This can be used to rebuild libtool when needed
2655 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2657 # Always use our own libtool.
2658 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2660 # Redirect the config.log output again, so that the ltconfig log is not
2661 # clobbered by the next message.
2662 exec 5>>./config.log
2666 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2668 lt_save_CFLAGS="$CFLAGS"
2669 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2670 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2671 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2672 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2673 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2674 deplibs_check_method="$deplibs_check_method" \
2675 file_magic_cmd="$file_magic_cmd" \
2676 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2677 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2678 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2680 CFLAGS="$lt_save_CFLAGS"
2682 # Redirect the config.log output again, so that the ltconfig log is not
2683 # clobbered by the next message.
2684 exec 5>>./config.log
2694 # Check for c++ or library specific bits that don't require linking.
2695 #GLIBCPP_CHECK_COMPILER_VERSION
2696 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2697 echo "configure:2698: checking for GNU make" >&5
2698 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2699 echo $ac_n "(cached) $ac_c" 1>&6
2701 _cv_gnu_make_command='' ;
2702 for a in "${MAKE-make}" make gmake gnumake ; do
2703 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2705 _cv_gnu_make_command=$a ;
2712 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2713 if test "x$_cv_gnu_make_command" != "x" ; then
2721 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2722 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2723 echo "configure:2724: checking how to run the C preprocessor" >&5
2724 # On Suns, sometimes $CPP names a directory.
2725 if test -n "$CPP" && test -d "$CPP"; then
2728 if test -z "$CPP"; then
2729 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2730 echo $ac_n "(cached) $ac_c" 1>&6
2732 # This must be in double quotes, not single quotes, because CPP may get
2733 # substituted into the Makefile and "${CC-cc}" will confuse make.
2735 # On the NeXT, cc -E runs the code through the compiler's parser,
2736 # not just through cpp.
2737 cat > conftest.$ac_ext <<EOF
2738 #line 2739 "configure"
2739 #include "confdefs.h"
2743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2744 { (eval echo configure:2745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2745 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2746 if test -z "$ac_err"; then
2750 echo "configure: failed program was:" >&5
2751 cat conftest.$ac_ext >&5
2753 CPP="${CC-cc} -E -traditional-cpp"
2754 cat > conftest.$ac_ext <<EOF
2755 #line 2756 "configure"
2756 #include "confdefs.h"
2760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2761 { (eval echo configure:2762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2763 if test -z "$ac_err"; then
2767 echo "configure: failed program was:" >&5
2768 cat conftest.$ac_ext >&5
2770 CPP="${CC-cc} -nologo -E"
2771 cat > conftest.$ac_ext <<EOF
2772 #line 2773 "configure"
2773 #include "confdefs.h"
2777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2778 { (eval echo configure:2779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2780 if test -z "$ac_err"; then
2784 echo "configure: failed program was:" >&5
2785 cat conftest.$ac_ext >&5
2794 ac_cv_prog_CPP="$CPP"
2796 CPP="$ac_cv_prog_CPP"
2798 ac_cv_prog_CPP="$CPP"
2800 echo "$ac_t""$CPP" 1>&6
2803 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2804 echo "configure:2805: checking for cstdio to use" >&5
2805 # Check whether --enable-cstdio or --disable-cstdio was given.
2806 if test "${enable_cstdio+set}" = set; then
2807 enableval="$enable_cstdio"
2808 if test x$enable_cstdio = xno; then
2816 enable_cstdio_flag=$enable_cstdio
2818 case x${enable_cstdio_flag} in
2820 CSTDIO_H=config/io/c_io_libio.h
2821 BASIC_FILE_H=config/io/basic_file_libio.h
2822 BASIC_FILE_CC=config/io/basic_file_libio.cc
2823 echo "$ac_t""libio" 1>&6
2825 # see if we are on a system with libio native (ie, linux)
2826 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2827 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2828 echo "configure:2829: checking for libio.h" >&5
2829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2830 echo $ac_n "(cached) $ac_c" 1>&6
2832 cat > conftest.$ac_ext <<EOF
2833 #line 2834 "configure"
2834 #include "confdefs.h"
2837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2838 { (eval echo configure:2839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2840 if test -z "$ac_err"; then
2842 eval "ac_cv_header_$ac_safe=yes"
2845 echo "configure: failed program was:" >&5
2846 cat conftest.$ac_ext >&5
2848 eval "ac_cv_header_$ac_safe=no"
2852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2853 echo "$ac_t""yes" 1>&6
2856 echo "$ac_t""no" 1>&6
2861 # Need to check and see what version of glibc is being used. If
2862 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2863 # compile most of libio for linux systems.
2864 if test x$has_libio = x"yes"; then
2867 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2868 echo "configure:2869: checking for glibc version >= 2.2" >&5
2869 cat > conftest.$ac_ext <<EOF
2870 #line 2871 "configure"
2871 #include "confdefs.h"
2873 #include <features.h>
2874 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2880 egrep "ok" >/dev/null 2>&1; then
2882 glibc_satisfactory=yes
2885 glibc_satisfactory=no
2889 echo "$ac_t""$glibc_satisfactory" 1>&6
2893 # XXX at the moment, admit defeat and force the recompilation
2894 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2895 glibc_satisfactory=no
2897 if test x$glibc_satisfactory = x"yes"; then
2902 # bkoz XXX need to add checks to enable this
2903 # pme XXX here's a first pass at such a check
2904 if test x$enable_c_mbchar != xno; then
2912 # Using libio, but <libio.h> doesn't exist on the target system. . .
2914 # bkoz XXX need to add checks to enable this
2915 # pme XXX here's a first pass at such a check
2916 if test x$enable_c_mbchar != xno; then
2923 xstdio | x | xno | xnone | xyes)
2925 CSTDIO_H=config/io/c_io_stdio.h
2926 BASIC_FILE_H=config/io/basic_file_stdio.h
2927 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2928 echo "$ac_t""stdio" 1>&6
2930 # We're not using stdio.
2935 echo "$enable_cstdio is an unknown io package" 1>&2
2943 # 2000-08-04 bkoz hack
2944 CCODECVT_C=config/io/c_io_libio_codecvt.c
2946 # 2000-08-04 bkoz hack
2950 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2951 GLIBCPP_BUILD_LIBIO_TRUE=
2952 GLIBCPP_BUILD_LIBIO_FALSE='#'
2954 GLIBCPP_BUILD_LIBIO_TRUE='#'
2955 GLIBCPP_BUILD_LIBIO_FALSE=
2959 if test "$need_libio" = yes; then
2960 GLIBCPP_NEED_LIBIO_TRUE=
2961 GLIBCPP_NEED_LIBIO_FALSE='#'
2963 GLIBCPP_NEED_LIBIO_TRUE='#'
2964 GLIBCPP_NEED_LIBIO_FALSE=
2968 if test "$need_wlibio" = yes; then
2969 GLIBCPP_NEED_WLIBIO_TRUE=
2970 GLIBCPP_NEED_WLIBIO_FALSE='#'
2972 GLIBCPP_NEED_WLIBIO_TRUE='#'
2973 GLIBCPP_NEED_WLIBIO_FALSE=
2975 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2976 libio_la=../libio/libio.la
2983 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2984 echo "configure:2985: checking for clocale to use" >&5
2985 # Check whether --enable-clocale or --disable-clocale was given.
2986 if test "${enable_clocale+set}" = set; then
2987 enableval="$enable_clocale"
2988 if test x$enable_clocale = xno; then
2996 enable_clocale_flag=$enable_clocale
2998 if test x$enable_clocale_flag = xno; then
2999 case x${target_os} in
3001 cat > conftest.$ac_ext <<EOF
3002 #line 3003 "configure"
3003 #include "confdefs.h"
3005 #include <features.h>
3006 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3012 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3014 enable_clocale_flag=gnu
3017 enable_clocale_flag=generic
3022 # Test for bugs early in glibc-2.2.x series
3023 if test x$enable_clocale_flag = xgnu; then
3024 if test "$cross_compiling" = yes; then
3025 enable_clocale_flag=generic
3027 cat > conftest.$ac_ext <<EOF
3028 #line 3029 "configure"
3029 #include "confdefs.h"
3031 #define _GNU_SOURCE 1
3034 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3035 extern __typeof(newlocale) __newlocale;
3036 extern __typeof(duplocale) __duplocale;
3037 extern __typeof(strcoll_l) __strcoll_l;
3041 const char __one[] = "Äuglein Augmen";
3042 const char __two[] = "Äuglein";
3047 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3048 loc_dup = __duplocale(loc);
3049 i = __strcoll_l(__one, __two, loc);
3050 j = __strcoll_l(__one, __two, loc_dup);
3055 if { (eval echo configure:3056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3057 enable_clocale_flag=gnu
3059 echo "configure: failed program was:" >&5
3060 cat conftest.$ac_ext >&5
3062 enable_clocale_flag=generic
3069 # ... at some point put __strxfrm_l tests in as well.
3072 enable_clocale_flag=generic
3077 # Check whether --enable-nls or --disable-nls was given.
3078 if test "${enable_nls+set}" = set; then
3079 enableval="$enable_nls"
3087 case x${enable_clocale_flag} in
3089 echo "$ac_t""generic" 1>&6
3091 CLOCALE_H=config/locale/generic/c_locale.h
3092 CLOCALE_CC=config/locale/generic/c_locale.cc
3093 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3094 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3095 CCOLLATE_CC=config/locale/generic/collate_members.cc
3096 CCTYPE_CC=config/locale/generic/ctype_members.cc
3097 CMESSAGES_H=config/locale/generic/messages_members.h
3098 CMESSAGES_CC=config/locale/generic/messages_members.cc
3099 CMONEY_CC=config/locale/generic/monetary_members.cc
3100 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3101 CTIME_H=config/locale/generic/time_members.h
3102 CTIME_CC=config/locale/generic/time_members.cc
3103 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3106 echo "$ac_t""gnu" 1>&6
3108 # Declare intention to use gettext, and add support for specific
3110 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3113 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3114 # Extract the first word of "msgfmt", so it can be a program name with args.
3115 set dummy msgfmt; ac_word=$2
3116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3117 echo "configure:3118: checking for $ac_word" >&5
3118 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3119 echo $ac_n "(cached) $ac_c" 1>&6
3121 if test -n "$check_msgfmt"; then
3122 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3124 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3126 for ac_dir in $ac_dummy; do
3127 test -z "$ac_dir" && ac_dir=.
3128 if test -f $ac_dir/$ac_word; then
3129 ac_cv_prog_check_msgfmt="yes"
3134 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3137 check_msgfmt="$ac_cv_prog_check_msgfmt"
3138 if test -n "$check_msgfmt"; then
3139 echo "$ac_t""$check_msgfmt" 1>&6
3141 echo "$ac_t""no" 1>&6
3144 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3147 # Export the build objects.
3148 for ling in $ALL_LINGUAS; do \
3149 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3150 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3155 CLOCALE_H=config/locale/gnu/c_locale.h
3156 CLOCALE_CC=config/locale/gnu/c_locale.cc
3157 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3158 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3159 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3160 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3161 CMESSAGES_H=config/locale/gnu/messages_members.h
3162 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3163 CMONEY_CC=config/locale/gnu/monetary_members.cc
3164 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3165 CTIME_H=config/locale/gnu/time_members.h
3166 CTIME_CC=config/locale/gnu/time_members.cc
3167 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3170 echo "$ac_t""generic" 1>&6
3172 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3173 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3174 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3175 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3176 CCOLLATE_CC=config/locale/generic/collate_members.cc
3177 CCTYPE_CC=config/locale/generic/ctype_members.cc
3178 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3179 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3180 CMONEY_CC=config/locale/generic/monetary_members.cc
3181 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3182 CTIME_H=config/locale/generic/time_members.h
3183 CTIME_CC=config/locale/generic/time_members.cc
3184 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3187 echo "$enable_clocale is an unknown locale package" 1>&2
3192 # This is where the testsuite looks for locale catalogs, using the
3193 # -DLOCALEDIR define during testsuite compilation.
3194 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3212 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3213 echo "configure:3214: checking for c header strategy to use" >&5
3214 # Check whether --enable-cheaders or --disable-cheaders was given.
3215 if test "${enable_cheaders+set}" = set; then
3216 enableval="$enable_cheaders"
3218 case "$enableval" in
3223 enable_cheaders=c_std
3225 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3229 enable_cheaders=c_std
3232 echo "$ac_t""$enable_cheaders" 1>&6
3234 case "$enable_cheaders" in
3236 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3239 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3246 if test "$enable_cheaders" = c; then
3247 GLIBCPP_C_HEADERS_C_TRUE=
3248 GLIBCPP_C_HEADERS_C_FALSE='#'
3250 GLIBCPP_C_HEADERS_C_TRUE='#'
3251 GLIBCPP_C_HEADERS_C_FALSE=
3255 if test "$enable_cheaders" = c_std; then
3256 GLIBCPP_C_HEADERS_C_STD_TRUE=
3257 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3259 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3260 GLIBCPP_C_HEADERS_C_STD_FALSE=
3264 if test "$c_compatibility" = yes; then
3265 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3266 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3268 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3269 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3272 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3273 if test "${enable_c_mbchar+set}" = set; then
3274 enableval="$enable_c_mbchar"
3275 case "$enableval" in
3276 yes) enable_c_mbchar=yes ;;
3277 no) enable_c_mbchar=no ;;
3278 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3285 # Check whether --enable-c99 or --disable-c99 was given.
3286 if test "${enable_c99+set}" = set; then
3287 enableval="$enable_c99"
3288 case "$enableval" in
3289 yes) enable_c99=yes ;;
3290 no) enable_c99=no ;;
3291 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3299 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3300 ac_cpp='$CXXCPP $CPPFLAGS'
3301 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3302 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3303 cross_compiling=$ac_cv_prog_cxx_cross
3306 # Check for the existence of <math.h> functions used if C99 is enabled.
3308 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3309 echo "configure:3310: checking for ISO C99 support in <math.h>" >&5
3310 cat > conftest.$ac_ext <<EOF
3311 #line 3312 "configure"
3312 #include "confdefs.h"
3318 if { (eval echo configure:3319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3321 echo "configure: failed program was:" >&5
3322 cat conftest.$ac_ext >&5
3327 cat > conftest.$ac_ext <<EOF
3328 #line 3329 "configure"
3329 #include "confdefs.h"
3335 if { (eval echo configure:3336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3338 echo "configure: failed program was:" >&5
3339 cat conftest.$ac_ext >&5
3344 cat > conftest.$ac_ext <<EOF
3345 #line 3346 "configure"
3346 #include "confdefs.h"
3352 if { (eval echo configure:3353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3355 echo "configure: failed program was:" >&5
3356 cat conftest.$ac_ext >&5
3361 cat > conftest.$ac_ext <<EOF
3362 #line 3363 "configure"
3363 #include "confdefs.h"
3369 if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3372 echo "configure: failed program was:" >&5
3373 cat conftest.$ac_ext >&5
3378 cat > conftest.$ac_ext <<EOF
3379 #line 3380 "configure"
3380 #include "confdefs.h"
3386 if { (eval echo configure:3387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3389 echo "configure: failed program was:" >&5
3390 cat conftest.$ac_ext >&5
3395 cat > conftest.$ac_ext <<EOF
3396 #line 3397 "configure"
3397 #include "confdefs.h"
3403 if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3406 echo "configure: failed program was:" >&5
3407 cat conftest.$ac_ext >&5
3412 cat > conftest.$ac_ext <<EOF
3413 #line 3414 "configure"
3414 #include "confdefs.h"
3420 if { (eval echo configure:3421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3423 echo "configure: failed program was:" >&5
3424 cat conftest.$ac_ext >&5
3429 cat > conftest.$ac_ext <<EOF
3430 #line 3431 "configure"
3431 #include "confdefs.h"
3434 isgreaterequal(0.0,0.0);
3437 if { (eval echo configure:3438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3440 echo "configure: failed program was:" >&5
3441 cat conftest.$ac_ext >&5
3446 cat > conftest.$ac_ext <<EOF
3447 #line 3448 "configure"
3448 #include "confdefs.h"
3454 if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3457 echo "configure: failed program was:" >&5
3458 cat conftest.$ac_ext >&5
3463 cat > conftest.$ac_ext <<EOF
3464 #line 3465 "configure"
3465 #include "confdefs.h"
3468 islessequal(0.0,0.0);
3471 if { (eval echo configure:3472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3474 echo "configure: failed program was:" >&5
3475 cat conftest.$ac_ext >&5
3480 cat > conftest.$ac_ext <<EOF
3481 #line 3482 "configure"
3482 #include "confdefs.h"
3485 islessgreater(0.0,0.0);
3488 if { (eval echo configure:3489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3491 echo "configure: failed program was:" >&5
3492 cat conftest.$ac_ext >&5
3497 cat > conftest.$ac_ext <<EOF
3498 #line 3499 "configure"
3499 #include "confdefs.h"
3502 isunordered(0.0,0.0);
3505 if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3508 echo "configure: failed program was:" >&5
3509 cat conftest.$ac_ext >&5
3514 echo "$ac_t""$ac_c99_math" 1>&6
3516 # Check for the existence in <stdio.h> of vscanf, et. al.
3518 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3519 echo "configure:3520: checking for ISO C99 support in <stdio.h>" >&5
3520 cat > conftest.$ac_ext <<EOF
3521 #line 3522 "configure"
3522 #include "confdefs.h"
3525 snprintf("12", 0, "%i");
3528 if { (eval echo configure:3529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3531 echo "configure: failed program was:" >&5
3532 cat conftest.$ac_ext >&5
3537 cat > conftest.$ac_ext <<EOF
3538 #line 3539 "configure"
3539 #include "confdefs.h"
3542 void foo(char* fmt, ...)
3543 {va_list args; va_start(args, fmt);
3544 vfscanf(stderr, "%i", args);}
3549 if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3552 echo "configure: failed program was:" >&5
3553 cat conftest.$ac_ext >&5
3558 cat > conftest.$ac_ext <<EOF
3559 #line 3560 "configure"
3560 #include "confdefs.h"
3563 void foo(char* fmt, ...)
3564 {va_list args; va_start(args, fmt);
3565 vscanf("%i", args);}
3570 if { (eval echo configure:3571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3573 echo "configure: failed program was:" >&5
3574 cat conftest.$ac_ext >&5
3579 cat > conftest.$ac_ext <<EOF
3580 #line 3581 "configure"
3581 #include "confdefs.h"
3584 void foo(char* fmt, ...)
3585 {va_list args; va_start(args, fmt);
3586 vsnprintf(fmt, 0, "%i", args);}
3591 if { (eval echo configure:3592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3594 echo "configure: failed program was:" >&5
3595 cat conftest.$ac_ext >&5
3600 cat > conftest.$ac_ext <<EOF
3601 #line 3602 "configure"
3602 #include "confdefs.h"
3605 void foo(char* fmt, ...)
3606 {va_list args; va_start(args, fmt);
3607 vsscanf(fmt, "%i", args);}
3612 if { (eval echo configure:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3615 echo "configure: failed program was:" >&5
3616 cat conftest.$ac_ext >&5
3621 echo "$ac_t""$ac_c99_stdio" 1>&6
3623 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3625 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3626 echo "configure:3627: checking for lldiv_t declaration" >&5
3627 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3628 echo $ac_n "(cached) $ac_c" 1>&6
3631 cat > conftest.$ac_ext <<EOF
3632 #line 3633 "configure"
3633 #include "confdefs.h"
3639 if { (eval echo configure:3640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3643 echo "configure: failed program was:" >&5
3644 cat conftest.$ac_ext >&5
3652 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3654 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3655 echo "configure:3656: checking for ISO C99 support in <stdlib.h>" >&5
3656 cat > conftest.$ac_ext <<EOF
3657 #line 3658 "configure"
3658 #include "confdefs.h"
3661 char* tmp; strtof("gnu", &tmp);
3664 if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3667 echo "configure: failed program was:" >&5
3668 cat conftest.$ac_ext >&5
3673 cat > conftest.$ac_ext <<EOF
3674 #line 3675 "configure"
3675 #include "confdefs.h"
3678 char* tmp; strtold("gnu", &tmp);
3681 if { (eval echo configure:3682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3684 echo "configure: failed program was:" >&5
3685 cat conftest.$ac_ext >&5
3690 cat > conftest.$ac_ext <<EOF
3691 #line 3692 "configure"
3692 #include "confdefs.h"
3698 if { (eval echo configure:3699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3701 echo "configure: failed program was:" >&5
3702 cat conftest.$ac_ext >&5
3707 cat > conftest.$ac_ext <<EOF
3708 #line 3709 "configure"
3709 #include "confdefs.h"
3715 if { (eval echo configure:3716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3718 echo "configure: failed program was:" >&5
3719 cat conftest.$ac_ext >&5
3724 cat > conftest.$ac_ext <<EOF
3725 #line 3726 "configure"
3726 #include "confdefs.h"
3732 if { (eval echo configure:3733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3735 echo "configure: failed program was:" >&5
3736 cat conftest.$ac_ext >&5
3741 cat > conftest.$ac_ext <<EOF
3742 #line 3743 "configure"
3743 #include "confdefs.h"
3749 if { (eval echo configure:3750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3752 echo "configure: failed program was:" >&5
3753 cat conftest.$ac_ext >&5
3758 if test x"$ac_c99_lldiv_t" = x"no"; then
3761 echo "$ac_t""$ac_c99_stdlib" 1>&6
3763 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3764 # XXX the wchar.h checks should be rolled into the general C99 bits.
3766 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3767 echo "configure:3768: checking for additional ISO C99 support in <wchar.h>" >&5
3768 cat > conftest.$ac_ext <<EOF
3769 #line 3770 "configure"
3770 #include "confdefs.h"
3773 wcstold(L"10.0", NULL);
3776 if { (eval echo configure:3777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3779 echo "configure: failed program was:" >&5
3780 cat conftest.$ac_ext >&5
3785 cat > conftest.$ac_ext <<EOF
3786 #line 3787 "configure"
3787 #include "confdefs.h"
3790 wcstoll(L"10", NULL, 10);
3793 if { (eval echo configure:3794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3796 echo "configure: failed program was:" >&5
3797 cat conftest.$ac_ext >&5
3802 cat > conftest.$ac_ext <<EOF
3803 #line 3804 "configure"
3804 #include "confdefs.h"
3807 wcstoull(L"10", NULL, 10);
3810 if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3813 echo "configure: failed program was:" >&5
3814 cat conftest.$ac_ext >&5
3819 echo "$ac_t""$ac_c99_wchar" 1>&6
3821 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3822 echo "configure:3823: checking for enabled ISO C99 support" >&5
3823 if test x"$ac_c99_math" = x"no" ||
3824 test x"$ac_c99_stdio" = x"no" ||
3825 test x"$ac_c99_stdlib" = x"no" ||
3826 test x"$ac_c99_wchar" = x"no"; then
3829 echo "$ac_t""$enable_c99" 1>&6
3831 # Option parsed, now set things appropriately
3832 if test x"$enable_c99" = x"yes"; then
3833 cat >> confdefs.h <<\EOF
3834 #define _GLIBCPP_USE_C99 1
3840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3841 ac_cpp='$CPP $CPPFLAGS'
3842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3844 cross_compiling=$ac_cv_prog_cc_cross
3848 # Check whether --enable-long-long or --disable-long-long was given.
3849 if test "${enable_long_long+set}" = set; then
3850 enableval="$enable_long_long"
3851 case "$enableval" in
3852 yes) enable_long_long=yes ;;
3853 no) enable_long_long=no ;;
3854 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3857 enable_long_long=yes
3862 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3863 ac_cpp='$CXXCPP $CPPFLAGS'
3864 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3865 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3866 cross_compiling=$ac_cv_prog_cxx_cross
3869 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3870 echo "configure:3871: checking for enabled long long I/O support" >&5
3871 # iostreams require strtoll, strtoull to compile
3872 cat > conftest.$ac_ext <<EOF
3873 #line 3874 "configure"
3874 #include "confdefs.h"
3877 char* tmp; strtoll("gnu", &tmp, 10);
3880 if { (eval echo configure:3881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3883 echo "configure: failed program was:" >&5
3884 cat conftest.$ac_ext >&5
3889 cat > conftest.$ac_ext <<EOF
3890 #line 3891 "configure"
3891 #include "confdefs.h"
3894 char* tmp; strtoull("gnu", &tmp, 10);
3897 if { (eval echo configure:3898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3900 echo "configure: failed program was:" >&5
3901 cat conftest.$ac_ext >&5
3907 # Option parsed, now set things appropriately
3908 if test x"$enable_long_long" = xyes; then
3909 cat >> confdefs.h <<\EOF
3910 #define _GLIBCPP_USE_LONG_LONG 1
3914 echo "$ac_t""$enable_long_long" 1>&6
3917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3918 ac_cpp='$CPP $CPPFLAGS'
3919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3921 cross_compiling=$ac_cv_prog_cc_cross
3925 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3926 echo "configure:3927: checking for thread model used by GCC" >&5
3927 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3928 echo "$ac_t""$target_thread_file" 1>&6
3930 if test $target_thread_file != single; then
3931 cat >> confdefs.h <<\EOF
3932 #define HAVE_GTHR_DEFAULT 1
3935 cat >> confdefs.h <<\EOF
3936 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3941 glibcpp_thread_h=gthr-$target_thread_file.h
3945 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3946 echo "configure:3947: checking for exception model to use" >&5
3949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3950 ac_cpp='$CXXCPP $CPPFLAGS'
3951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3953 cross_compiling=$ac_cv_prog_cxx_cross
3955 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3956 if test "${enable_sjlj_exceptions+set}" = set; then
3957 enableval="$enable_sjlj_exceptions"
3960 cat > conftest.$ac_ext << EOF
3961 #line 3962 "configure"
3970 old_CXXFLAGS="$CXXFLAGS"
3972 if { (eval echo configure:3973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3973 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3974 enable_sjlj_exceptions=yes
3975 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3976 enable_sjlj_exceptions=no
3979 CXXFLAGS="$old_CXXFLAGS"
3983 if test x$enable_sjlj_exceptions = xyes; then
3984 cat >> confdefs.h <<\EOF
3985 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3988 ac_exception_model_name=sjlj
3989 elif test x$enable_sjlj_exceptions = xno; then
3990 ac_exception_model_name="call frame"
3992 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3996 ac_cpp='$CPP $CPPFLAGS'
3997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3999 cross_compiling=$ac_cv_prog_cc_cross
4001 echo "$ac_t""$ac_exception_model_name" 1>&6
4004 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4005 echo "configure:4006: checking for use of libunwind" >&5
4006 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4007 if test "${enable_libunwind_exceptions+set}" = set; then
4008 enableval="$enable_libunwind_exceptions"
4009 use_libunwind_exceptions=$enableval
4011 use_libunwind_exceptions=no
4014 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4015 if test x"$use_libunwind_exceptions" = xyes; then
4016 LIBUNWIND_FLAG="-lunwind"
4022 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4023 if test "${enable_concept_checks+set}" = set; then
4024 enableval="$enable_concept_checks"
4025 case "$enableval" in
4026 yes) enable_concept_checks=yes ;;
4027 no) enable_concept_checks=no ;;
4028 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4031 enable_concept_checks=no
4033 if test x"$enable_concept_checks" = xyes; then
4034 cat >> confdefs.h <<\EOF
4035 #define _GLIBCPP_CONCEPT_CHECKS 1
4040 echo $ac_n "checking for extra compiler flags for building""... $ac_c" 1>&6
4041 echo "configure:4042: checking for extra compiler flags for building" >&5
4042 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4043 if test "${enable_cxx_flags+set}" = set; then
4044 enableval="$enable_cxx_flags"
4045 case "x$enable_cxx_flags" in
4047 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
4049 enable_cxx_flags='' ;;
4051 enable_cxx_flags="$enableval" ;;
4058 if test -n "$enable_cxx_flags"; then
4059 for f in $enable_cxx_flags; do
4063 *) # and we're trying to pass /what/ exactly?
4064 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
4068 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4069 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4072 # Check whether --enable-debug or --disable-debug was given.
4073 if test "${enable_debug+set}" = set; then
4074 enableval="$enable_debug"
4075 case "${enableval}" in
4076 yes) enable_debug=yes ;;
4077 no) enable_debug=no ;;
4078 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
4083 echo $ac_n "checking for additional debug build""... $ac_c" 1>&6
4084 echo "configure:4085: checking for additional debug build" >&5
4085 echo "$ac_t""$enable_debug" 1>&6
4088 if test "$enable_debug" = yes; then
4089 GLIBCPP_BUILD_DEBUG_TRUE=
4090 GLIBCPP_BUILD_DEBUG_FALSE='#'
4092 GLIBCPP_BUILD_DEBUG_TRUE='#'
4093 GLIBCPP_BUILD_DEBUG_FALSE=
4096 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4097 if test "${enable_debug_flags+set}" = set; then
4098 enableval="$enable_debug_flags"
4099 case "${enableval}" in
4101 -*) enable_debug_flags="${enableval}" ;;
4102 *) { echo "configure: error: Unknown argument to extra debugging flags" 1>&2; exit 1; } ;;
4105 enable_debug_flags=none
4108 case x"$enable_debug" in
4110 case "$enable_debug_flags" in
4112 DEBUG_FLAGS="-g3 -O0";;
4114 DEBUG_FLAGS="${enableval}"
4123 echo $ac_n "checking for debug build flags""... $ac_c" 1>&6
4124 echo "configure:4125: checking for debug build flags" >&5
4125 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4128 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4129 for ac_hdr in string.h stdlib.h
4131 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4132 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4133 echo "configure:4134: checking for $ac_hdr" >&5
4134 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4135 echo $ac_n "(cached) $ac_c" 1>&6
4137 cat > conftest.$ac_ext <<EOF
4138 #line 4139 "configure"
4139 #include "confdefs.h"
4142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4143 { (eval echo configure:4144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4145 if test -z "$ac_err"; then
4147 eval "ac_cv_header_$ac_safe=yes"
4150 echo "configure: failed program was:" >&5
4151 cat conftest.$ac_ext >&5
4153 eval "ac_cv_header_$ac_safe=no"
4157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4158 echo "$ac_t""yes" 1>&6
4159 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4160 cat >> confdefs.h <<EOF
4161 #define $ac_tr_hdr 1
4165 echo "$ac_t""no" 1>&6
4170 # No surprises, no surprises...
4171 if test $ATOMICITYH = cpu/generic ; then
4172 echo "configure: warning: No native atomic operations are provided yet for this platform." 1>&2
4173 if test $target_thread_file = single; then
4174 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4175 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4177 echo "configure: warning: They will be faked using a mutex." 1>&2
4178 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4183 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4185 # We are being configured with some form of cross compiler.
4186 GLIBCPP_IS_CROSS_COMPILING=true
4188 # This lets us hard-code the functionality we know we'll have in the cross
4189 # target environment. "Let" is a sugar-coated word placed on an especially
4190 # dull and tedious hack, actually.
4192 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4193 # that involve linking, can't be used:
4194 # "cannot open sim-crt0.o"
4195 # "cannot open crt0.o"
4196 # etc. All this is because there currently exists no unified, consistent
4197 # way for top level CC information to be passed down to target directories:
4198 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4199 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4200 # crosses can be removed.
4202 # If Canadian cross, then don't pick up tools from the build directory.
4203 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4204 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4210 # Construct crosses by hand, eliminating bits that need ld...
4211 # GLIBCPP_CHECK_COMPILER_FEATURES
4212 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4213 # GLIBCPP_CHECK_MATH_SUPPORT
4217 os_include_dir="os/gnu-linux"
4218 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4219 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4220 fp.h locale.h float.h inttypes.h
4222 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4223 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4224 echo "configure:4225: checking for $ac_hdr" >&5
4225 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4226 echo $ac_n "(cached) $ac_c" 1>&6
4228 cat > conftest.$ac_ext <<EOF
4229 #line 4230 "configure"
4230 #include "confdefs.h"
4233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4234 { (eval echo configure:4235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4236 if test -z "$ac_err"; then
4238 eval "ac_cv_header_$ac_safe=yes"
4241 echo "configure: failed program was:" >&5
4242 cat conftest.$ac_ext >&5
4244 eval "ac_cv_header_$ac_safe=no"
4248 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4249 echo "$ac_t""yes" 1>&6
4250 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4251 cat >> confdefs.h <<EOF
4252 #define $ac_tr_hdr 1
4256 echo "$ac_t""no" 1>&6
4260 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4263 # If we're not using GNU ld, then there's no point in even trying these
4264 # tests. Check for that first. We should have already tested for gld
4265 # by now (in libtool), but require it now just to be safe...
4266 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4267 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4270 # The name set by libtool depends on the version of libtool. Shame on us
4271 # for depending on an impl detail, but c'est la vie. Older versions used
4272 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4273 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4274 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4275 # set (hence we're using an older libtool), then set it.
4276 if test x${with_gnu_ld+set} != xset; then
4277 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4278 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4281 with_gnu_ld=$ac_cv_prog_gnu_ld
4285 # Start by getting the version number. I think the libtool test already
4286 # does some of this, but throws away the result.
4288 ldver=`$LD --version 2>/dev/null | head -1 | \
4289 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4291 glibcpp_gnu_ld_version=`echo $ldver | \
4292 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4294 # Set --gc-sections.
4295 if test "$with_gnu_ld" = "notbroken"; then
4296 # GNU ld it is! Joy and bunny rabbits!
4298 # All these tests are for C++; save the language and the compiler flags.
4299 # Need to do this so that g++ won't try to link in libstdc++
4300 ac_test_CFLAGS="${CFLAGS+set}"
4301 ac_save_CFLAGS="$CFLAGS"
4302 CFLAGS='-x c++ -Wl,--gc-sections'
4304 # Check for -Wl,--gc-sections
4305 # XXX This test is broken at the moment, as symbols required for
4306 # linking are now in libsupc++ (not built yet.....). In addition,
4307 # this test has cored on solaris in the past. In addition,
4308 # --gc-sections doesn't really work at the moment (keeps on discarding
4309 # used sections, first .eh_frame and now some of the glibc sections for
4310 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4311 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4312 echo "configure:4313: checking for ld that supports -Wl,--gc-sections" >&5
4313 if test "$cross_compiling" = yes; then
4314 ac_sectionLDflags=yes
4316 cat > conftest.$ac_ext <<EOF
4317 #line 4318 "configure"
4318 #include "confdefs.h"
4328 if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4330 ac_sectionLDflags=yes
4332 echo "configure: failed program was:" >&5
4333 cat conftest.$ac_ext >&5
4335 ac_sectionLDflags=no
4340 if test "$ac_test_CFLAGS" = set; then
4341 CFLAGS="$ac_save_CFLAGS"
4343 # this is the suspicious part
4346 if test "$ac_sectionLDflags" = "yes"; then
4347 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4349 echo "$ac_t""$ac_sectionLDflags" 1>&6
4352 # Set linker optimization flags.
4353 if test x"$with_gnu_ld" = x"yes"; then
4354 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4361 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4362 echo "configure:4363: checking for main in -lm" >&5
4363 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4364 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4365 echo $ac_n "(cached) $ac_c" 1>&6
4367 ac_save_LIBS="$LIBS"
4369 cat > conftest.$ac_ext <<EOF
4370 #line 4371 "configure"
4371 #include "confdefs.h"
4377 if { (eval echo configure:4378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4379 eval "ac_cv_lib_$ac_lib_var=yes"
4381 echo "configure: failed program was:" >&5
4382 cat conftest.$ac_ext >&5
4384 eval "ac_cv_lib_$ac_lib_var=no"
4387 LIBS="$ac_save_LIBS"
4390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4391 echo "$ac_t""yes" 1>&6
4392 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4393 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4394 cat >> confdefs.h <<EOF
4395 #define $ac_tr_lib 1
4401 echo "$ac_t""no" 1>&6
4404 for ac_func in nan copysignf
4406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4407 echo "configure:4408: checking for $ac_func" >&5
4408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4409 echo $ac_n "(cached) $ac_c" 1>&6
4411 cat > conftest.$ac_ext <<EOF
4412 #line 4413 "configure"
4413 #include "confdefs.h"
4414 /* System header to define __stub macros and hopefully few prototypes,
4415 which can conflict with char $ac_func(); below. */
4417 /* Override any gcc2 internal prototype to avoid an error. */
4418 /* We use char because int might match the return type of a gcc2
4419 builtin and then its argument prototype would still apply. */
4424 /* The GNU C library defines this for functions which it implements
4425 to always fail with ENOSYS. Some functions are actually named
4426 something starting with __ and the normal name is an alias. */
4427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4435 if { (eval echo configure:4436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4437 eval "ac_cv_func_$ac_func=yes"
4439 echo "configure: failed program was:" >&5
4440 cat conftest.$ac_ext >&5
4442 eval "ac_cv_func_$ac_func=no"
4447 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4448 echo "$ac_t""yes" 1>&6
4449 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4450 cat >> confdefs.h <<EOF
4451 #define $ac_tr_func 1
4455 echo "$ac_t""no" 1>&6
4456 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4461 for ac_func in __signbit
4463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4464 echo "configure:4465: checking for $ac_func" >&5
4465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4466 echo $ac_n "(cached) $ac_c" 1>&6
4468 cat > conftest.$ac_ext <<EOF
4469 #line 4470 "configure"
4470 #include "confdefs.h"
4471 /* System header to define __stub macros and hopefully few prototypes,
4472 which can conflict with char $ac_func(); below. */
4474 /* Override any gcc2 internal prototype to avoid an error. */
4475 /* We use char because int might match the return type of a gcc2
4476 builtin and then its argument prototype would still apply. */
4481 /* The GNU C library defines this for functions which it implements
4482 to always fail with ENOSYS. Some functions are actually named
4483 something starting with __ and the normal name is an alias. */
4484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4492 if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4494 eval "ac_cv_func_$ac_func=yes"
4496 echo "configure: failed program was:" >&5
4497 cat conftest.$ac_ext >&5
4499 eval "ac_cv_func_$ac_func=no"
4504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4505 echo "$ac_t""yes" 1>&6
4506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4507 cat >> confdefs.h <<EOF
4508 #define $ac_tr_func 1
4512 echo "$ac_t""no" 1>&6
4513 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4517 for ac_func in __signbitf
4519 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4520 echo "configure:4521: checking for $ac_func" >&5
4521 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4522 echo $ac_n "(cached) $ac_c" 1>&6
4524 cat > conftest.$ac_ext <<EOF
4525 #line 4526 "configure"
4526 #include "confdefs.h"
4527 /* System header to define __stub macros and hopefully few prototypes,
4528 which can conflict with char $ac_func(); below. */
4530 /* Override any gcc2 internal prototype to avoid an error. */
4531 /* We use char because int might match the return type of a gcc2
4532 builtin and then its argument prototype would still apply. */
4537 /* The GNU C library defines this for functions which it implements
4538 to always fail with ENOSYS. Some functions are actually named
4539 something starting with __ and the normal name is an alias. */
4540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4548 if { (eval echo configure:4549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4550 eval "ac_cv_func_$ac_func=yes"
4552 echo "configure: failed program was:" >&5
4553 cat conftest.$ac_ext >&5
4555 eval "ac_cv_func_$ac_func=no"
4560 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4561 echo "$ac_t""yes" 1>&6
4562 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4563 cat >> confdefs.h <<EOF
4564 #define $ac_tr_func 1
4568 echo "$ac_t""no" 1>&6
4569 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4574 if test x$ac_cv_func_copysignl = x"yes"; then
4575 for ac_func in __signbitl
4577 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4578 echo "configure:4579: checking for $ac_func" >&5
4579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4580 echo $ac_n "(cached) $ac_c" 1>&6
4582 cat > conftest.$ac_ext <<EOF
4583 #line 4584 "configure"
4584 #include "confdefs.h"
4585 /* System header to define __stub macros and hopefully few prototypes,
4586 which can conflict with char $ac_func(); below. */
4588 /* Override any gcc2 internal prototype to avoid an error. */
4589 /* We use char because int might match the return type of a gcc2
4590 builtin and then its argument prototype would still apply. */
4595 /* The GNU C library defines this for functions which it implements
4596 to always fail with ENOSYS. Some functions are actually named
4597 something starting with __ and the normal name is an alias. */
4598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4606 if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4608 eval "ac_cv_func_$ac_func=yes"
4610 echo "configure: failed program was:" >&5
4611 cat conftest.$ac_ext >&5
4613 eval "ac_cv_func_$ac_func=no"
4618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4619 echo "$ac_t""yes" 1>&6
4620 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4621 cat >> confdefs.h <<EOF
4622 #define $ac_tr_func 1
4626 echo "$ac_t""no" 1>&6
4627 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4633 if test -n "$LIBMATHOBJS"; then
4639 if test "$need_libmath" = yes; then
4640 GLIBCPP_BUILD_LIBMATH_TRUE=
4641 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4643 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4644 GLIBCPP_BUILD_LIBMATH_FALSE=
4650 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4651 echo "configure:4652: checking for mbstate_t" >&5
4652 cat > conftest.$ac_ext <<EOF
4653 #line 4654 "configure"
4654 #include "confdefs.h"
4657 mbstate_t teststate;
4660 if { (eval echo configure:4661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4664 echo "configure: failed program was:" >&5
4665 cat conftest.$ac_ext >&5
4670 echo "$ac_t""$have_mbstate_t" 1>&6
4671 if test x"$have_mbstate_t" = xyes; then
4672 cat >> confdefs.h <<\EOF
4673 #define HAVE_MBSTATE_T 1
4678 for ac_hdr in wchar.h
4680 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4681 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4682 echo "configure:4683: checking for $ac_hdr" >&5
4683 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4684 echo $ac_n "(cached) $ac_c" 1>&6
4686 cat > conftest.$ac_ext <<EOF
4687 #line 4688 "configure"
4688 #include "confdefs.h"
4691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4692 { (eval echo configure:4693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4694 if test -z "$ac_err"; then
4696 eval "ac_cv_header_$ac_safe=yes"
4699 echo "configure: failed program was:" >&5
4700 cat conftest.$ac_ext >&5
4702 eval "ac_cv_header_$ac_safe=no"
4706 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4707 echo "$ac_t""yes" 1>&6
4708 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4709 cat >> confdefs.h <<EOF
4710 #define $ac_tr_hdr 1
4714 echo "$ac_t""no" 1>&6
4719 for ac_hdr in wctype.h
4721 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4722 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4723 echo "configure:4724: checking for $ac_hdr" >&5
4724 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4725 echo $ac_n "(cached) $ac_c" 1>&6
4727 cat > conftest.$ac_ext <<EOF
4728 #line 4729 "configure"
4729 #include "confdefs.h"
4732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4733 { (eval echo configure:4734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4734 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4735 if test -z "$ac_err"; then
4737 eval "ac_cv_header_$ac_safe=yes"
4740 echo "configure: failed program was:" >&5
4741 cat conftest.$ac_ext >&5
4743 eval "ac_cv_header_$ac_safe=no"
4747 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4748 echo "$ac_t""yes" 1>&6
4749 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4750 cat >> confdefs.h <<EOF
4751 #define $ac_tr_hdr 1
4755 echo "$ac_t""no" 1>&6
4761 if test x"$ac_has_wchar_h" = xyes &&
4762 test x"$ac_has_wctype_h" = xyes &&
4763 test x"$enable_c_mbchar" != xno; then
4765 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4766 echo "configure:4767: checking for WCHAR_MIN and WCHAR_MAX" >&5
4767 cat > conftest.$ac_ext <<EOF
4768 #line 4769 "configure"
4769 #include "confdefs.h"
4772 int i = WCHAR_MIN; int j = WCHAR_MAX;
4775 if { (eval echo configure:4776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4777 has_wchar_minmax=yes
4779 echo "configure: failed program was:" >&5
4780 cat conftest.$ac_ext >&5
4785 echo "$ac_t""$has_wchar_minmax" 1>&6
4787 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4788 echo "configure:4789: checking for WEOF" >&5
4789 cat > conftest.$ac_ext <<EOF
4790 #line 4791 "configure"
4791 #include "confdefs.h"
4799 if { (eval echo configure:4800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4803 echo "configure: failed program was:" >&5
4804 cat conftest.$ac_ext >&5
4809 echo "$ac_t""$has_weof" 1>&6
4812 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4815 echo "configure:4816: checking for $ac_func" >&5
4816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4817 echo $ac_n "(cached) $ac_c" 1>&6
4819 cat > conftest.$ac_ext <<EOF
4820 #line 4821 "configure"
4821 #include "confdefs.h"
4822 /* System header to define __stub macros and hopefully few prototypes,
4823 which can conflict with char $ac_func(); below. */
4825 /* Override any gcc2 internal prototype to avoid an error. */
4826 /* We use char because int might match the return type of a gcc2
4827 builtin and then its argument prototype would still apply. */
4832 /* The GNU C library defines this for functions which it implements
4833 to always fail with ENOSYS. Some functions are actually named
4834 something starting with __ and the normal name is an alias. */
4835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4843 if { (eval echo configure:4844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4845 eval "ac_cv_func_$ac_func=yes"
4847 echo "configure: failed program was:" >&5
4848 cat conftest.$ac_ext >&5
4850 eval "ac_cv_func_$ac_func=no"
4855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4856 echo "$ac_t""yes" 1>&6
4857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4858 cat >> confdefs.h <<EOF
4859 #define $ac_tr_func 1
4863 echo "$ac_t""no" 1>&6
4870 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4871 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4872 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4873 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4874 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4875 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4878 echo "configure:4879: checking for $ac_func" >&5
4879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4880 echo $ac_n "(cached) $ac_c" 1>&6
4882 cat > conftest.$ac_ext <<EOF
4883 #line 4884 "configure"
4884 #include "confdefs.h"
4885 /* System header to define __stub macros and hopefully few prototypes,
4886 which can conflict with char $ac_func(); below. */
4888 /* Override any gcc2 internal prototype to avoid an error. */
4889 /* We use char because int might match the return type of a gcc2
4890 builtin and then its argument prototype would still apply. */
4895 /* The GNU C library defines this for functions which it implements
4896 to always fail with ENOSYS. Some functions are actually named
4897 something starting with __ and the normal name is an alias. */
4898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4908 eval "ac_cv_func_$ac_func=yes"
4910 echo "configure: failed program was:" >&5
4911 cat conftest.$ac_ext >&5
4913 eval "ac_cv_func_$ac_func=no"
4918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4919 echo "$ac_t""yes" 1>&6
4920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4921 cat >> confdefs.h <<EOF
4922 #define $ac_tr_func 1
4926 echo "$ac_t""no" 1>&6
4933 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4934 echo "configure:4935: checking for ISO C99 wchar_t support" >&5
4935 if test x"$has_weof" = xyes &&
4936 test x"$has_wchar_minmax" = xyes &&
4937 test x"$ac_wfuncs" = xyes; then
4938 ac_isoC99_wchar_t=yes
4940 ac_isoC99_wchar_t=no
4942 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4944 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4945 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4946 echo "configure:4947: checking for iconv.h" >&5
4947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4948 echo $ac_n "(cached) $ac_c" 1>&6
4950 cat > conftest.$ac_ext <<EOF
4951 #line 4952 "configure"
4952 #include "confdefs.h"
4955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4956 { (eval echo configure:4957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4958 if test -z "$ac_err"; then
4960 eval "ac_cv_header_$ac_safe=yes"
4963 echo "configure: failed program was:" >&5
4964 cat conftest.$ac_ext >&5
4966 eval "ac_cv_header_$ac_safe=no"
4970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4971 echo "$ac_t""yes" 1>&6
4974 echo "$ac_t""no" 1>&6
4978 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4979 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4980 echo "configure:4981: checking for langinfo.h" >&5
4981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4982 echo $ac_n "(cached) $ac_c" 1>&6
4984 cat > conftest.$ac_ext <<EOF
4985 #line 4986 "configure"
4986 #include "confdefs.h"
4987 #include <langinfo.h>
4989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4990 { (eval echo configure:4991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4992 if test -z "$ac_err"; then
4994 eval "ac_cv_header_$ac_safe=yes"
4997 echo "configure: failed program was:" >&5
4998 cat conftest.$ac_ext >&5
5000 eval "ac_cv_header_$ac_safe=no"
5004 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5005 echo "$ac_t""yes" 1>&6
5006 ac_has_langinfo_h=yes
5008 echo "$ac_t""no" 1>&6
5009 ac_has_langinfo_h=no
5013 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5014 echo "configure:5015: checking for iconv in -liconv" >&5
5015 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5017 echo $ac_n "(cached) $ac_c" 1>&6
5019 ac_save_LIBS="$LIBS"
5020 LIBS="-liconv $LIBS"
5021 cat > conftest.$ac_ext <<EOF
5022 #line 5023 "configure"
5023 #include "confdefs.h"
5024 /* Override any gcc2 internal prototype to avoid an error. */
5025 /* We use char because int might match the return type of a gcc2
5026 builtin and then its argument prototype would still apply. */
5033 if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5035 eval "ac_cv_lib_$ac_lib_var=yes"
5037 echo "configure: failed program was:" >&5
5038 cat conftest.$ac_ext >&5
5040 eval "ac_cv_lib_$ac_lib_var=no"
5043 LIBS="$ac_save_LIBS"
5046 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5047 echo "$ac_t""yes" 1>&6
5050 echo "$ac_t""no" 1>&6
5053 ac_save_LIBS="$LIBS"
5054 LIBS="$LIBS $libiconv"
5056 for ac_func in iconv_open iconv_close iconv nl_langinfo
5058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5059 echo "configure:5060: checking for $ac_func" >&5
5060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5061 echo $ac_n "(cached) $ac_c" 1>&6
5063 cat > conftest.$ac_ext <<EOF
5064 #line 5065 "configure"
5065 #include "confdefs.h"
5066 /* System header to define __stub macros and hopefully few prototypes,
5067 which can conflict with char $ac_func(); below. */
5069 /* Override any gcc2 internal prototype to avoid an error. */
5070 /* We use char because int might match the return type of a gcc2
5071 builtin and then its argument prototype would still apply. */
5076 /* The GNU C library defines this for functions which it implements
5077 to always fail with ENOSYS. Some functions are actually named
5078 something starting with __ and the normal name is an alias. */
5079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5087 if { (eval echo configure:5088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5089 eval "ac_cv_func_$ac_func=yes"
5091 echo "configure: failed program was:" >&5
5092 cat conftest.$ac_ext >&5
5094 eval "ac_cv_func_$ac_func=no"
5099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5100 echo "$ac_t""yes" 1>&6
5101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5102 cat >> confdefs.h <<EOF
5103 #define $ac_tr_func 1
5108 echo "$ac_t""no" 1>&6
5114 LIBS="$ac_save_LIBS"
5116 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5117 echo "configure:5118: checking for XPG2 wchar_t support" >&5
5118 if test x"$ac_has_iconv_h" = xyes &&
5119 test x"$ac_has_langinfo_h" = xyes &&
5120 test x"$ac_XPG2funcs" = xyes; then
5125 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5127 if test x"$ac_isoC99_wchar_t" = xyes &&
5128 test x"$ac_XPG2_wchar_t" = xyes; then
5129 cat >> confdefs.h <<\EOF
5130 #define _GLIBCPP_USE_WCHAR_T 1
5136 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5137 echo "configure:5138: checking for enabled wchar_t specializations" >&5
5138 echo "$ac_t""$enable_wchar_t" 1>&6
5141 if test "$enable_wchar_t" = yes; then
5142 GLIBCPP_TEST_WCHAR_T_TRUE=
5143 GLIBCPP_TEST_WCHAR_T_FALSE='#'
5145 GLIBCPP_TEST_WCHAR_T_TRUE='#'
5146 GLIBCPP_TEST_WCHAR_T_FALSE=
5149 cat >> confdefs.h <<\EOF
5150 #define HAVE_COPYSIGN 1
5153 cat >> confdefs.h <<\EOF
5154 #define HAVE_COPYSIGNF 1
5157 cat >> confdefs.h <<\EOF
5158 #define HAVE_FINITE 1
5161 cat >> confdefs.h <<\EOF
5162 #define HAVE_FINITEF 1
5165 cat >> confdefs.h <<\EOF
5166 #define HAVE_FREXPF 1
5169 cat >> confdefs.h <<\EOF
5170 #define HAVE_HYPOTF 1
5173 cat >> confdefs.h <<\EOF
5174 #define HAVE_ISINF 1
5177 cat >> confdefs.h <<\EOF
5178 #define HAVE_ISINFF 1
5181 cat >> confdefs.h <<\EOF
5182 #define HAVE_ISNAN 1
5185 cat >> confdefs.h <<\EOF
5186 #define HAVE_ISNANF 1
5189 cat >> confdefs.h <<\EOF
5190 #define HAVE_SINCOS 1
5193 cat >> confdefs.h <<\EOF
5194 #define HAVE_SINCOSF 1
5197 if test x"long_double_math_on_this_cpu" = x"yes"; then
5198 cat >> confdefs.h <<\EOF
5199 #define HAVE_FINITEL 1
5202 cat >> confdefs.h <<\EOF
5203 #define HAVE_HYPOTL 1
5206 cat >> confdefs.h <<\EOF
5207 #define HAVE_ISINFL 1
5210 cat >> confdefs.h <<\EOF
5211 #define HAVE_ISNANL 1
5217 # Check for available headers.
5218 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5219 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5220 fp.h locale.h float.h inttypes.h
5222 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5223 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5224 echo "configure:5225: checking for $ac_hdr" >&5
5225 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5226 echo $ac_n "(cached) $ac_c" 1>&6
5228 cat > conftest.$ac_ext <<EOF
5229 #line 5230 "configure"
5230 #include "confdefs.h"
5233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5234 { (eval echo configure:5235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5236 if test -z "$ac_err"; then
5238 eval "ac_cv_header_$ac_safe=yes"
5241 echo "configure: failed program was:" >&5
5242 cat conftest.$ac_ext >&5
5244 eval "ac_cv_header_$ac_safe=no"
5248 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5249 echo "$ac_t""yes" 1>&6
5250 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5251 cat >> confdefs.h <<EOF
5252 #define $ac_tr_hdr 1
5256 echo "$ac_t""no" 1>&6
5260 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5263 # If we're not using GNU ld, then there's no point in even trying these
5264 # tests. Check for that first. We should have already tested for gld
5265 # by now (in libtool), but require it now just to be safe...
5266 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5267 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5270 # The name set by libtool depends on the version of libtool. Shame on us
5271 # for depending on an impl detail, but c'est la vie. Older versions used
5272 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5273 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5274 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5275 # set (hence we're using an older libtool), then set it.
5276 if test x${with_gnu_ld+set} != xset; then
5277 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5278 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5281 with_gnu_ld=$ac_cv_prog_gnu_ld
5285 # Start by getting the version number. I think the libtool test already
5286 # does some of this, but throws away the result.
5288 ldver=`$LD --version 2>/dev/null | head -1 | \
5289 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5291 glibcpp_gnu_ld_version=`echo $ldver | \
5292 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5294 # Set --gc-sections.
5295 if test "$with_gnu_ld" = "notbroken"; then
5296 # GNU ld it is! Joy and bunny rabbits!
5298 # All these tests are for C++; save the language and the compiler flags.
5299 # Need to do this so that g++ won't try to link in libstdc++
5300 ac_test_CFLAGS="${CFLAGS+set}"
5301 ac_save_CFLAGS="$CFLAGS"
5302 CFLAGS='-x c++ -Wl,--gc-sections'
5304 # Check for -Wl,--gc-sections
5305 # XXX This test is broken at the moment, as symbols required for
5306 # linking are now in libsupc++ (not built yet.....). In addition,
5307 # this test has cored on solaris in the past. In addition,
5308 # --gc-sections doesn't really work at the moment (keeps on discarding
5309 # used sections, first .eh_frame and now some of the glibc sections for
5310 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5311 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5312 echo "configure:5313: checking for ld that supports -Wl,--gc-sections" >&5
5313 if test "$cross_compiling" = yes; then
5314 ac_sectionLDflags=yes
5316 cat > conftest.$ac_ext <<EOF
5317 #line 5318 "configure"
5318 #include "confdefs.h"
5328 if { (eval echo configure:5329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5330 ac_sectionLDflags=yes
5332 echo "configure: failed program was:" >&5
5333 cat conftest.$ac_ext >&5
5335 ac_sectionLDflags=no
5340 if test "$ac_test_CFLAGS" = set; then
5341 CFLAGS="$ac_save_CFLAGS"
5343 # this is the suspicious part
5346 if test "$ac_sectionLDflags" = "yes"; then
5347 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5349 echo "$ac_t""$ac_sectionLDflags" 1>&6
5352 # Set linker optimization flags.
5353 if test x"$with_gnu_ld" = x"yes"; then
5354 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5361 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5362 echo "configure:5363: checking for main in -lm" >&5
5363 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5364 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5365 echo $ac_n "(cached) $ac_c" 1>&6
5367 ac_save_LIBS="$LIBS"
5369 cat > conftest.$ac_ext <<EOF
5370 #line 5371 "configure"
5371 #include "confdefs.h"
5377 if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5379 eval "ac_cv_lib_$ac_lib_var=yes"
5381 echo "configure: failed program was:" >&5
5382 cat conftest.$ac_ext >&5
5384 eval "ac_cv_lib_$ac_lib_var=no"
5387 LIBS="$ac_save_LIBS"
5390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5391 echo "$ac_t""yes" 1>&6
5392 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5393 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5394 cat >> confdefs.h <<EOF
5395 #define $ac_tr_lib 1
5401 echo "$ac_t""no" 1>&6
5404 for ac_func in nan copysignf
5406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5407 echo "configure:5408: checking for $ac_func" >&5
5408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5409 echo $ac_n "(cached) $ac_c" 1>&6
5411 cat > conftest.$ac_ext <<EOF
5412 #line 5413 "configure"
5413 #include "confdefs.h"
5414 /* System header to define __stub macros and hopefully few prototypes,
5415 which can conflict with char $ac_func(); below. */
5417 /* Override any gcc2 internal prototype to avoid an error. */
5418 /* We use char because int might match the return type of a gcc2
5419 builtin and then its argument prototype would still apply. */
5424 /* The GNU C library defines this for functions which it implements
5425 to always fail with ENOSYS. Some functions are actually named
5426 something starting with __ and the normal name is an alias. */
5427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5435 if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5437 eval "ac_cv_func_$ac_func=yes"
5439 echo "configure: failed program was:" >&5
5440 cat conftest.$ac_ext >&5
5442 eval "ac_cv_func_$ac_func=no"
5447 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5448 echo "$ac_t""yes" 1>&6
5449 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5450 cat >> confdefs.h <<EOF
5451 #define $ac_tr_func 1
5455 echo "$ac_t""no" 1>&6
5456 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5461 for ac_func in __signbit
5463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5464 echo "configure:5465: checking for $ac_func" >&5
5465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5466 echo $ac_n "(cached) $ac_c" 1>&6
5468 cat > conftest.$ac_ext <<EOF
5469 #line 5470 "configure"
5470 #include "confdefs.h"
5471 /* System header to define __stub macros and hopefully few prototypes,
5472 which can conflict with char $ac_func(); below. */
5474 /* Override any gcc2 internal prototype to avoid an error. */
5475 /* We use char because int might match the return type of a gcc2
5476 builtin and then its argument prototype would still apply. */
5481 /* The GNU C library defines this for functions which it implements
5482 to always fail with ENOSYS. Some functions are actually named
5483 something starting with __ and the normal name is an alias. */
5484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5492 if { (eval echo configure:5493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5494 eval "ac_cv_func_$ac_func=yes"
5496 echo "configure: failed program was:" >&5
5497 cat conftest.$ac_ext >&5
5499 eval "ac_cv_func_$ac_func=no"
5504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5505 echo "$ac_t""yes" 1>&6
5506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5507 cat >> confdefs.h <<EOF
5508 #define $ac_tr_func 1
5512 echo "$ac_t""no" 1>&6
5513 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5517 for ac_func in __signbitf
5519 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5520 echo "configure:5521: checking for $ac_func" >&5
5521 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5522 echo $ac_n "(cached) $ac_c" 1>&6
5524 cat > conftest.$ac_ext <<EOF
5525 #line 5526 "configure"
5526 #include "confdefs.h"
5527 /* System header to define __stub macros and hopefully few prototypes,
5528 which can conflict with char $ac_func(); below. */
5530 /* Override any gcc2 internal prototype to avoid an error. */
5531 /* We use char because int might match the return type of a gcc2
5532 builtin and then its argument prototype would still apply. */
5537 /* The GNU C library defines this for functions which it implements
5538 to always fail with ENOSYS. Some functions are actually named
5539 something starting with __ and the normal name is an alias. */
5540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5548 if { (eval echo configure:5549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5550 eval "ac_cv_func_$ac_func=yes"
5552 echo "configure: failed program was:" >&5
5553 cat conftest.$ac_ext >&5
5555 eval "ac_cv_func_$ac_func=no"
5560 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5561 echo "$ac_t""yes" 1>&6
5562 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5563 cat >> confdefs.h <<EOF
5564 #define $ac_tr_func 1
5568 echo "$ac_t""no" 1>&6
5569 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5574 if test x$ac_cv_func_copysignl = x"yes"; then
5575 for ac_func in __signbitl
5577 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5578 echo "configure:5579: checking for $ac_func" >&5
5579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5580 echo $ac_n "(cached) $ac_c" 1>&6
5582 cat > conftest.$ac_ext <<EOF
5583 #line 5584 "configure"
5584 #include "confdefs.h"
5585 /* System header to define __stub macros and hopefully few prototypes,
5586 which can conflict with char $ac_func(); below. */
5588 /* Override any gcc2 internal prototype to avoid an error. */
5589 /* We use char because int might match the return type of a gcc2
5590 builtin and then its argument prototype would still apply. */
5595 /* The GNU C library defines this for functions which it implements
5596 to always fail with ENOSYS. Some functions are actually named
5597 something starting with __ and the normal name is an alias. */
5598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5606 if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5608 eval "ac_cv_func_$ac_func=yes"
5610 echo "configure: failed program was:" >&5
5611 cat conftest.$ac_ext >&5
5613 eval "ac_cv_func_$ac_func=no"
5618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5619 echo "$ac_t""yes" 1>&6
5620 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5621 cat >> confdefs.h <<EOF
5622 #define $ac_tr_func 1
5626 echo "$ac_t""no" 1>&6
5627 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5633 if test -n "$LIBMATHOBJS"; then
5639 if test "$need_libmath" = yes; then
5640 GLIBCPP_BUILD_LIBMATH_TRUE=
5641 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5643 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5644 GLIBCPP_BUILD_LIBMATH_FALSE=
5650 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5651 echo "configure:5652: checking for mbstate_t" >&5
5652 cat > conftest.$ac_ext <<EOF
5653 #line 5654 "configure"
5654 #include "confdefs.h"
5657 mbstate_t teststate;
5660 if { (eval echo configure:5661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5664 echo "configure: failed program was:" >&5
5665 cat conftest.$ac_ext >&5
5670 echo "$ac_t""$have_mbstate_t" 1>&6
5671 if test x"$have_mbstate_t" = xyes; then
5672 cat >> confdefs.h <<\EOF
5673 #define HAVE_MBSTATE_T 1
5678 for ac_hdr in wchar.h
5680 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5681 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5682 echo "configure:5683: checking for $ac_hdr" >&5
5683 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5684 echo $ac_n "(cached) $ac_c" 1>&6
5686 cat > conftest.$ac_ext <<EOF
5687 #line 5688 "configure"
5688 #include "confdefs.h"
5691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5692 { (eval echo configure:5693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5694 if test -z "$ac_err"; then
5696 eval "ac_cv_header_$ac_safe=yes"
5699 echo "configure: failed program was:" >&5
5700 cat conftest.$ac_ext >&5
5702 eval "ac_cv_header_$ac_safe=no"
5706 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5707 echo "$ac_t""yes" 1>&6
5708 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5709 cat >> confdefs.h <<EOF
5710 #define $ac_tr_hdr 1
5714 echo "$ac_t""no" 1>&6
5719 for ac_hdr in wctype.h
5721 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5722 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5723 echo "configure:5724: checking for $ac_hdr" >&5
5724 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5725 echo $ac_n "(cached) $ac_c" 1>&6
5727 cat > conftest.$ac_ext <<EOF
5728 #line 5729 "configure"
5729 #include "confdefs.h"
5732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5733 { (eval echo configure:5734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5734 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5735 if test -z "$ac_err"; then
5737 eval "ac_cv_header_$ac_safe=yes"
5740 echo "configure: failed program was:" >&5
5741 cat conftest.$ac_ext >&5
5743 eval "ac_cv_header_$ac_safe=no"
5747 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5748 echo "$ac_t""yes" 1>&6
5749 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5750 cat >> confdefs.h <<EOF
5751 #define $ac_tr_hdr 1
5755 echo "$ac_t""no" 1>&6
5761 if test x"$ac_has_wchar_h" = xyes &&
5762 test x"$ac_has_wctype_h" = xyes &&
5763 test x"$enable_c_mbchar" != xno; then
5765 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5766 echo "configure:5767: checking for WCHAR_MIN and WCHAR_MAX" >&5
5767 cat > conftest.$ac_ext <<EOF
5768 #line 5769 "configure"
5769 #include "confdefs.h"
5772 int i = WCHAR_MIN; int j = WCHAR_MAX;
5775 if { (eval echo configure:5776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5777 has_wchar_minmax=yes
5779 echo "configure: failed program was:" >&5
5780 cat conftest.$ac_ext >&5
5785 echo "$ac_t""$has_wchar_minmax" 1>&6
5787 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5788 echo "configure:5789: checking for WEOF" >&5
5789 cat > conftest.$ac_ext <<EOF
5790 #line 5791 "configure"
5791 #include "confdefs.h"
5799 if { (eval echo configure:5800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5803 echo "configure: failed program was:" >&5
5804 cat conftest.$ac_ext >&5
5809 echo "$ac_t""$has_weof" 1>&6
5812 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5815 echo "configure:5816: checking for $ac_func" >&5
5816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5817 echo $ac_n "(cached) $ac_c" 1>&6
5819 cat > conftest.$ac_ext <<EOF
5820 #line 5821 "configure"
5821 #include "confdefs.h"
5822 /* System header to define __stub macros and hopefully few prototypes,
5823 which can conflict with char $ac_func(); below. */
5825 /* Override any gcc2 internal prototype to avoid an error. */
5826 /* We use char because int might match the return type of a gcc2
5827 builtin and then its argument prototype would still apply. */
5832 /* The GNU C library defines this for functions which it implements
5833 to always fail with ENOSYS. Some functions are actually named
5834 something starting with __ and the normal name is an alias. */
5835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5843 if { (eval echo configure:5844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5845 eval "ac_cv_func_$ac_func=yes"
5847 echo "configure: failed program was:" >&5
5848 cat conftest.$ac_ext >&5
5850 eval "ac_cv_func_$ac_func=no"
5855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5856 echo "$ac_t""yes" 1>&6
5857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5858 cat >> confdefs.h <<EOF
5859 #define $ac_tr_func 1
5863 echo "$ac_t""no" 1>&6
5870 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5871 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5872 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5873 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5874 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5875 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5878 echo "configure:5879: checking for $ac_func" >&5
5879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5880 echo $ac_n "(cached) $ac_c" 1>&6
5882 cat > conftest.$ac_ext <<EOF
5883 #line 5884 "configure"
5884 #include "confdefs.h"
5885 /* System header to define __stub macros and hopefully few prototypes,
5886 which can conflict with char $ac_func(); below. */
5888 /* Override any gcc2 internal prototype to avoid an error. */
5889 /* We use char because int might match the return type of a gcc2
5890 builtin and then its argument prototype would still apply. */
5895 /* The GNU C library defines this for functions which it implements
5896 to always fail with ENOSYS. Some functions are actually named
5897 something starting with __ and the normal name is an alias. */
5898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5906 if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5908 eval "ac_cv_func_$ac_func=yes"
5910 echo "configure: failed program was:" >&5
5911 cat conftest.$ac_ext >&5
5913 eval "ac_cv_func_$ac_func=no"
5918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5919 echo "$ac_t""yes" 1>&6
5920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5921 cat >> confdefs.h <<EOF
5922 #define $ac_tr_func 1
5926 echo "$ac_t""no" 1>&6
5933 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5934 echo "configure:5935: checking for ISO C99 wchar_t support" >&5
5935 if test x"$has_weof" = xyes &&
5936 test x"$has_wchar_minmax" = xyes &&
5937 test x"$ac_wfuncs" = xyes; then
5938 ac_isoC99_wchar_t=yes
5940 ac_isoC99_wchar_t=no
5942 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5944 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5945 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5946 echo "configure:5947: checking for iconv.h" >&5
5947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5948 echo $ac_n "(cached) $ac_c" 1>&6
5950 cat > conftest.$ac_ext <<EOF
5951 #line 5952 "configure"
5952 #include "confdefs.h"
5955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5956 { (eval echo configure:5957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5958 if test -z "$ac_err"; then
5960 eval "ac_cv_header_$ac_safe=yes"
5963 echo "configure: failed program was:" >&5
5964 cat conftest.$ac_ext >&5
5966 eval "ac_cv_header_$ac_safe=no"
5970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5971 echo "$ac_t""yes" 1>&6
5974 echo "$ac_t""no" 1>&6
5978 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5979 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5980 echo "configure:5981: checking for langinfo.h" >&5
5981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5982 echo $ac_n "(cached) $ac_c" 1>&6
5984 cat > conftest.$ac_ext <<EOF
5985 #line 5986 "configure"
5986 #include "confdefs.h"
5987 #include <langinfo.h>
5989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5990 { (eval echo configure:5991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5992 if test -z "$ac_err"; then
5994 eval "ac_cv_header_$ac_safe=yes"
5997 echo "configure: failed program was:" >&5
5998 cat conftest.$ac_ext >&5
6000 eval "ac_cv_header_$ac_safe=no"
6004 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6005 echo "$ac_t""yes" 1>&6
6006 ac_has_langinfo_h=yes
6008 echo "$ac_t""no" 1>&6
6009 ac_has_langinfo_h=no
6013 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6014 echo "configure:6015: checking for iconv in -liconv" >&5
6015 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6017 echo $ac_n "(cached) $ac_c" 1>&6
6019 ac_save_LIBS="$LIBS"
6020 LIBS="-liconv $LIBS"
6021 cat > conftest.$ac_ext <<EOF
6022 #line 6023 "configure"
6023 #include "confdefs.h"
6024 /* Override any gcc2 internal prototype to avoid an error. */
6025 /* We use char because int might match the return type of a gcc2
6026 builtin and then its argument prototype would still apply. */
6033 if { (eval echo configure:6034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6035 eval "ac_cv_lib_$ac_lib_var=yes"
6037 echo "configure: failed program was:" >&5
6038 cat conftest.$ac_ext >&5
6040 eval "ac_cv_lib_$ac_lib_var=no"
6043 LIBS="$ac_save_LIBS"
6046 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6047 echo "$ac_t""yes" 1>&6
6050 echo "$ac_t""no" 1>&6
6053 ac_save_LIBS="$LIBS"
6054 LIBS="$LIBS $libiconv"
6056 for ac_func in iconv_open iconv_close iconv nl_langinfo
6058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6059 echo "configure:6060: checking for $ac_func" >&5
6060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6061 echo $ac_n "(cached) $ac_c" 1>&6
6063 cat > conftest.$ac_ext <<EOF
6064 #line 6065 "configure"
6065 #include "confdefs.h"
6066 /* System header to define __stub macros and hopefully few prototypes,
6067 which can conflict with char $ac_func(); below. */
6069 /* Override any gcc2 internal prototype to avoid an error. */
6070 /* We use char because int might match the return type of a gcc2
6071 builtin and then its argument prototype would still apply. */
6076 /* The GNU C library defines this for functions which it implements
6077 to always fail with ENOSYS. Some functions are actually named
6078 something starting with __ and the normal name is an alias. */
6079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6087 if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6089 eval "ac_cv_func_$ac_func=yes"
6091 echo "configure: failed program was:" >&5
6092 cat conftest.$ac_ext >&5
6094 eval "ac_cv_func_$ac_func=no"
6099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6100 echo "$ac_t""yes" 1>&6
6101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6102 cat >> confdefs.h <<EOF
6103 #define $ac_tr_func 1
6108 echo "$ac_t""no" 1>&6
6114 LIBS="$ac_save_LIBS"
6116 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6117 echo "configure:6118: checking for XPG2 wchar_t support" >&5
6118 if test x"$ac_has_iconv_h" = xyes &&
6119 test x"$ac_has_langinfo_h" = xyes &&
6120 test x"$ac_XPG2funcs" = xyes; then
6125 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6127 if test x"$ac_isoC99_wchar_t" = xyes &&
6128 test x"$ac_XPG2_wchar_t" = xyes; then
6129 cat >> confdefs.h <<\EOF
6130 #define _GLIBCPP_USE_WCHAR_T 1
6136 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6137 echo "configure:6138: checking for enabled wchar_t specializations" >&5
6138 echo "$ac_t""$enable_wchar_t" 1>&6
6141 if test "$enable_wchar_t" = yes; then
6142 GLIBCPP_TEST_WCHAR_T_TRUE=
6143 GLIBCPP_TEST_WCHAR_T_FALSE='#'
6145 GLIBCPP_TEST_WCHAR_T_TRUE='#'
6146 GLIBCPP_TEST_WCHAR_T_FALSE=
6149 os_include_dir="os/hpux"
6150 cat >> confdefs.h <<\EOF
6151 #define HAVE_COPYSIGN 1
6154 cat >> confdefs.h <<\EOF
6155 #define HAVE_COPYSIGNF 1
6158 cat >> confdefs.h <<\EOF
6159 #define HAVE_FREXPF 1
6162 cat >> confdefs.h <<\EOF
6163 #define HAVE_HYPOT 1
6168 cat >> confdefs.h <<\EOF
6169 #define HAVE_FINITE 1
6172 cat >> confdefs.h <<\EOF
6173 #define HAVE_FINITEF 1
6176 cat >> confdefs.h <<\EOF
6177 #define HAVE_ISINF 1
6180 cat >> confdefs.h <<\EOF
6181 #define HAVE_ISINFF 1
6184 cat >> confdefs.h <<\EOF
6185 #define HAVE_ISNAN 1
6188 cat >> confdefs.h <<\EOF
6189 #define HAVE_ISNANF 1
6197 # Check for available headers.
6198 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6199 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6200 fp.h locale.h float.h inttypes.h
6202 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6203 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6204 echo "configure:6205: checking for $ac_hdr" >&5
6205 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6206 echo $ac_n "(cached) $ac_c" 1>&6
6208 cat > conftest.$ac_ext <<EOF
6209 #line 6210 "configure"
6210 #include "confdefs.h"
6213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6214 { (eval echo configure:6215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6216 if test -z "$ac_err"; then
6218 eval "ac_cv_header_$ac_safe=yes"
6221 echo "configure: failed program was:" >&5
6222 cat conftest.$ac_ext >&5
6224 eval "ac_cv_header_$ac_safe=no"
6228 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6229 echo "$ac_t""yes" 1>&6
6230 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6231 cat >> confdefs.h <<EOF
6232 #define $ac_tr_hdr 1
6236 echo "$ac_t""no" 1>&6
6240 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6243 # If we're not using GNU ld, then there's no point in even trying these
6244 # tests. Check for that first. We should have already tested for gld
6245 # by now (in libtool), but require it now just to be safe...
6246 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6247 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6250 # The name set by libtool depends on the version of libtool. Shame on us
6251 # for depending on an impl detail, but c'est la vie. Older versions used
6252 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6253 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6254 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6255 # set (hence we're using an older libtool), then set it.
6256 if test x${with_gnu_ld+set} != xset; then
6257 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6258 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6261 with_gnu_ld=$ac_cv_prog_gnu_ld
6265 # Start by getting the version number. I think the libtool test already
6266 # does some of this, but throws away the result.
6268 ldver=`$LD --version 2>/dev/null | head -1 | \
6269 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6271 glibcpp_gnu_ld_version=`echo $ldver | \
6272 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6274 # Set --gc-sections.
6275 if test "$with_gnu_ld" = "notbroken"; then
6276 # GNU ld it is! Joy and bunny rabbits!
6278 # All these tests are for C++; save the language and the compiler flags.
6279 # Need to do this so that g++ won't try to link in libstdc++
6280 ac_test_CFLAGS="${CFLAGS+set}"
6281 ac_save_CFLAGS="$CFLAGS"
6282 CFLAGS='-x c++ -Wl,--gc-sections'
6284 # Check for -Wl,--gc-sections
6285 # XXX This test is broken at the moment, as symbols required for
6286 # linking are now in libsupc++ (not built yet.....). In addition,
6287 # this test has cored on solaris in the past. In addition,
6288 # --gc-sections doesn't really work at the moment (keeps on discarding
6289 # used sections, first .eh_frame and now some of the glibc sections for
6290 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6291 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6292 echo "configure:6293: checking for ld that supports -Wl,--gc-sections" >&5
6293 if test "$cross_compiling" = yes; then
6294 ac_sectionLDflags=yes
6296 cat > conftest.$ac_ext <<EOF
6297 #line 6298 "configure"
6298 #include "confdefs.h"
6308 if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6310 ac_sectionLDflags=yes
6312 echo "configure: failed program was:" >&5
6313 cat conftest.$ac_ext >&5
6315 ac_sectionLDflags=no
6320 if test "$ac_test_CFLAGS" = set; then
6321 CFLAGS="$ac_save_CFLAGS"
6323 # this is the suspicious part
6326 if test "$ac_sectionLDflags" = "yes"; then
6327 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6329 echo "$ac_t""$ac_sectionLDflags" 1>&6
6332 # Set linker optimization flags.
6333 if test x"$with_gnu_ld" = x"yes"; then
6334 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6341 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6342 echo "configure:6343: checking for main in -lm" >&5
6343 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6344 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6345 echo $ac_n "(cached) $ac_c" 1>&6
6347 ac_save_LIBS="$LIBS"
6349 cat > conftest.$ac_ext <<EOF
6350 #line 6351 "configure"
6351 #include "confdefs.h"
6357 if { (eval echo configure:6358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6359 eval "ac_cv_lib_$ac_lib_var=yes"
6361 echo "configure: failed program was:" >&5
6362 cat conftest.$ac_ext >&5
6364 eval "ac_cv_lib_$ac_lib_var=no"
6367 LIBS="$ac_save_LIBS"
6370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6371 echo "$ac_t""yes" 1>&6
6372 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6373 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6374 cat >> confdefs.h <<EOF
6375 #define $ac_tr_lib 1
6381 echo "$ac_t""no" 1>&6
6384 for ac_func in nan copysignf
6386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6387 echo "configure:6388: checking for $ac_func" >&5
6388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6389 echo $ac_n "(cached) $ac_c" 1>&6
6391 cat > conftest.$ac_ext <<EOF
6392 #line 6393 "configure"
6393 #include "confdefs.h"
6394 /* System header to define __stub macros and hopefully few prototypes,
6395 which can conflict with char $ac_func(); below. */
6397 /* Override any gcc2 internal prototype to avoid an error. */
6398 /* We use char because int might match the return type of a gcc2
6399 builtin and then its argument prototype would still apply. */
6404 /* The GNU C library defines this for functions which it implements
6405 to always fail with ENOSYS. Some functions are actually named
6406 something starting with __ and the normal name is an alias. */
6407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6415 if { (eval echo configure:6416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6417 eval "ac_cv_func_$ac_func=yes"
6419 echo "configure: failed program was:" >&5
6420 cat conftest.$ac_ext >&5
6422 eval "ac_cv_func_$ac_func=no"
6427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6428 echo "$ac_t""yes" 1>&6
6429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6430 cat >> confdefs.h <<EOF
6431 #define $ac_tr_func 1
6435 echo "$ac_t""no" 1>&6
6436 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6441 for ac_func in __signbit
6443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6444 echo "configure:6445: checking for $ac_func" >&5
6445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6446 echo $ac_n "(cached) $ac_c" 1>&6
6448 cat > conftest.$ac_ext <<EOF
6449 #line 6450 "configure"
6450 #include "confdefs.h"
6451 /* System header to define __stub macros and hopefully few prototypes,
6452 which can conflict with char $ac_func(); below. */
6454 /* Override any gcc2 internal prototype to avoid an error. */
6455 /* We use char because int might match the return type of a gcc2
6456 builtin and then its argument prototype would still apply. */
6461 /* The GNU C library defines this for functions which it implements
6462 to always fail with ENOSYS. Some functions are actually named
6463 something starting with __ and the normal name is an alias. */
6464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6472 if { (eval echo configure:6473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6474 eval "ac_cv_func_$ac_func=yes"
6476 echo "configure: failed program was:" >&5
6477 cat conftest.$ac_ext >&5
6479 eval "ac_cv_func_$ac_func=no"
6484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6485 echo "$ac_t""yes" 1>&6
6486 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6487 cat >> confdefs.h <<EOF
6488 #define $ac_tr_func 1
6492 echo "$ac_t""no" 1>&6
6493 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6497 for ac_func in __signbitf
6499 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6500 echo "configure:6501: checking for $ac_func" >&5
6501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6502 echo $ac_n "(cached) $ac_c" 1>&6
6504 cat > conftest.$ac_ext <<EOF
6505 #line 6506 "configure"
6506 #include "confdefs.h"
6507 /* System header to define __stub macros and hopefully few prototypes,
6508 which can conflict with char $ac_func(); below. */
6510 /* Override any gcc2 internal prototype to avoid an error. */
6511 /* We use char because int might match the return type of a gcc2
6512 builtin and then its argument prototype would still apply. */
6517 /* The GNU C library defines this for functions which it implements
6518 to always fail with ENOSYS. Some functions are actually named
6519 something starting with __ and the normal name is an alias. */
6520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6528 if { (eval echo configure:6529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6530 eval "ac_cv_func_$ac_func=yes"
6532 echo "configure: failed program was:" >&5
6533 cat conftest.$ac_ext >&5
6535 eval "ac_cv_func_$ac_func=no"
6540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6541 echo "$ac_t""yes" 1>&6
6542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6543 cat >> confdefs.h <<EOF
6544 #define $ac_tr_func 1
6548 echo "$ac_t""no" 1>&6
6549 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6554 if test x$ac_cv_func_copysignl = x"yes"; then
6555 for ac_func in __signbitl
6557 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6558 echo "configure:6559: checking for $ac_func" >&5
6559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6560 echo $ac_n "(cached) $ac_c" 1>&6
6562 cat > conftest.$ac_ext <<EOF
6563 #line 6564 "configure"
6564 #include "confdefs.h"
6565 /* System header to define __stub macros and hopefully few prototypes,
6566 which can conflict with char $ac_func(); below. */
6568 /* Override any gcc2 internal prototype to avoid an error. */
6569 /* We use char because int might match the return type of a gcc2
6570 builtin and then its argument prototype would still apply. */
6575 /* The GNU C library defines this for functions which it implements
6576 to always fail with ENOSYS. Some functions are actually named
6577 something starting with __ and the normal name is an alias. */
6578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6586 if { (eval echo configure:6587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6588 eval "ac_cv_func_$ac_func=yes"
6590 echo "configure: failed program was:" >&5
6591 cat conftest.$ac_ext >&5
6593 eval "ac_cv_func_$ac_func=no"
6598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6599 echo "$ac_t""yes" 1>&6
6600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6601 cat >> confdefs.h <<EOF
6602 #define $ac_tr_func 1
6606 echo "$ac_t""no" 1>&6
6607 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6613 if test -n "$LIBMATHOBJS"; then
6619 if test "$need_libmath" = yes; then
6620 GLIBCPP_BUILD_LIBMATH_TRUE=
6621 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6623 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6624 GLIBCPP_BUILD_LIBMATH_FALSE=
6630 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6631 echo "configure:6632: checking for mbstate_t" >&5
6632 cat > conftest.$ac_ext <<EOF
6633 #line 6634 "configure"
6634 #include "confdefs.h"
6637 mbstate_t teststate;
6640 if { (eval echo configure:6641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6644 echo "configure: failed program was:" >&5
6645 cat conftest.$ac_ext >&5
6650 echo "$ac_t""$have_mbstate_t" 1>&6
6651 if test x"$have_mbstate_t" = xyes; then
6652 cat >> confdefs.h <<\EOF
6653 #define HAVE_MBSTATE_T 1
6658 for ac_hdr in wchar.h
6660 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6661 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6662 echo "configure:6663: checking for $ac_hdr" >&5
6663 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6664 echo $ac_n "(cached) $ac_c" 1>&6
6666 cat > conftest.$ac_ext <<EOF
6667 #line 6668 "configure"
6668 #include "confdefs.h"
6671 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6672 { (eval echo configure:6673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6673 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6674 if test -z "$ac_err"; then
6676 eval "ac_cv_header_$ac_safe=yes"
6679 echo "configure: failed program was:" >&5
6680 cat conftest.$ac_ext >&5
6682 eval "ac_cv_header_$ac_safe=no"
6686 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6687 echo "$ac_t""yes" 1>&6
6688 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6689 cat >> confdefs.h <<EOF
6690 #define $ac_tr_hdr 1
6694 echo "$ac_t""no" 1>&6
6699 for ac_hdr in wctype.h
6701 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6702 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6703 echo "configure:6704: checking for $ac_hdr" >&5
6704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6705 echo $ac_n "(cached) $ac_c" 1>&6
6707 cat > conftest.$ac_ext <<EOF
6708 #line 6709 "configure"
6709 #include "confdefs.h"
6712 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6713 { (eval echo configure:6714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6715 if test -z "$ac_err"; then
6717 eval "ac_cv_header_$ac_safe=yes"
6720 echo "configure: failed program was:" >&5
6721 cat conftest.$ac_ext >&5
6723 eval "ac_cv_header_$ac_safe=no"
6727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6728 echo "$ac_t""yes" 1>&6
6729 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6730 cat >> confdefs.h <<EOF
6731 #define $ac_tr_hdr 1
6735 echo "$ac_t""no" 1>&6
6741 if test x"$ac_has_wchar_h" = xyes &&
6742 test x"$ac_has_wctype_h" = xyes &&
6743 test x"$enable_c_mbchar" != xno; then
6745 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6746 echo "configure:6747: checking for WCHAR_MIN and WCHAR_MAX" >&5
6747 cat > conftest.$ac_ext <<EOF
6748 #line 6749 "configure"
6749 #include "confdefs.h"
6752 int i = WCHAR_MIN; int j = WCHAR_MAX;
6755 if { (eval echo configure:6756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6757 has_wchar_minmax=yes
6759 echo "configure: failed program was:" >&5
6760 cat conftest.$ac_ext >&5
6765 echo "$ac_t""$has_wchar_minmax" 1>&6
6767 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6768 echo "configure:6769: checking for WEOF" >&5
6769 cat > conftest.$ac_ext <<EOF
6770 #line 6771 "configure"
6771 #include "confdefs.h"
6779 if { (eval echo configure:6780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6783 echo "configure: failed program was:" >&5
6784 cat conftest.$ac_ext >&5
6789 echo "$ac_t""$has_weof" 1>&6
6792 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6795 echo "configure:6796: checking for $ac_func" >&5
6796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6797 echo $ac_n "(cached) $ac_c" 1>&6
6799 cat > conftest.$ac_ext <<EOF
6800 #line 6801 "configure"
6801 #include "confdefs.h"
6802 /* System header to define __stub macros and hopefully few prototypes,
6803 which can conflict with char $ac_func(); below. */
6805 /* Override any gcc2 internal prototype to avoid an error. */
6806 /* We use char because int might match the return type of a gcc2
6807 builtin and then its argument prototype would still apply. */
6812 /* The GNU C library defines this for functions which it implements
6813 to always fail with ENOSYS. Some functions are actually named
6814 something starting with __ and the normal name is an alias. */
6815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6823 if { (eval echo configure:6824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6825 eval "ac_cv_func_$ac_func=yes"
6827 echo "configure: failed program was:" >&5
6828 cat conftest.$ac_ext >&5
6830 eval "ac_cv_func_$ac_func=no"
6835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6836 echo "$ac_t""yes" 1>&6
6837 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6838 cat >> confdefs.h <<EOF
6839 #define $ac_tr_func 1
6843 echo "$ac_t""no" 1>&6
6850 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6851 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6852 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6853 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6854 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6855 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6858 echo "configure:6859: checking for $ac_func" >&5
6859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6860 echo $ac_n "(cached) $ac_c" 1>&6
6862 cat > conftest.$ac_ext <<EOF
6863 #line 6864 "configure"
6864 #include "confdefs.h"
6865 /* System header to define __stub macros and hopefully few prototypes,
6866 which can conflict with char $ac_func(); below. */
6868 /* Override any gcc2 internal prototype to avoid an error. */
6869 /* We use char because int might match the return type of a gcc2
6870 builtin and then its argument prototype would still apply. */
6875 /* The GNU C library defines this for functions which it implements
6876 to always fail with ENOSYS. Some functions are actually named
6877 something starting with __ and the normal name is an alias. */
6878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6886 if { (eval echo configure:6887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6888 eval "ac_cv_func_$ac_func=yes"
6890 echo "configure: failed program was:" >&5
6891 cat conftest.$ac_ext >&5
6893 eval "ac_cv_func_$ac_func=no"
6898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6899 echo "$ac_t""yes" 1>&6
6900 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6901 cat >> confdefs.h <<EOF
6902 #define $ac_tr_func 1
6906 echo "$ac_t""no" 1>&6
6913 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6914 echo "configure:6915: checking for ISO C99 wchar_t support" >&5
6915 if test x"$has_weof" = xyes &&
6916 test x"$has_wchar_minmax" = xyes &&
6917 test x"$ac_wfuncs" = xyes; then
6918 ac_isoC99_wchar_t=yes
6920 ac_isoC99_wchar_t=no
6922 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6924 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6925 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6926 echo "configure:6927: checking for iconv.h" >&5
6927 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6928 echo $ac_n "(cached) $ac_c" 1>&6
6930 cat > conftest.$ac_ext <<EOF
6931 #line 6932 "configure"
6932 #include "confdefs.h"
6935 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6936 { (eval echo configure:6937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6937 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6938 if test -z "$ac_err"; then
6940 eval "ac_cv_header_$ac_safe=yes"
6943 echo "configure: failed program was:" >&5
6944 cat conftest.$ac_ext >&5
6946 eval "ac_cv_header_$ac_safe=no"
6950 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6951 echo "$ac_t""yes" 1>&6
6954 echo "$ac_t""no" 1>&6
6958 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6959 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6960 echo "configure:6961: checking for langinfo.h" >&5
6961 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6962 echo $ac_n "(cached) $ac_c" 1>&6
6964 cat > conftest.$ac_ext <<EOF
6965 #line 6966 "configure"
6966 #include "confdefs.h"
6967 #include <langinfo.h>
6969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6970 { (eval echo configure:6971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6971 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6972 if test -z "$ac_err"; then
6974 eval "ac_cv_header_$ac_safe=yes"
6977 echo "configure: failed program was:" >&5
6978 cat conftest.$ac_ext >&5
6980 eval "ac_cv_header_$ac_safe=no"
6984 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6985 echo "$ac_t""yes" 1>&6
6986 ac_has_langinfo_h=yes
6988 echo "$ac_t""no" 1>&6
6989 ac_has_langinfo_h=no
6993 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6994 echo "configure:6995: checking for iconv in -liconv" >&5
6995 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6996 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6997 echo $ac_n "(cached) $ac_c" 1>&6
6999 ac_save_LIBS="$LIBS"
7000 LIBS="-liconv $LIBS"
7001 cat > conftest.$ac_ext <<EOF
7002 #line 7003 "configure"
7003 #include "confdefs.h"
7004 /* Override any gcc2 internal prototype to avoid an error. */
7005 /* We use char because int might match the return type of a gcc2
7006 builtin and then its argument prototype would still apply. */
7013 if { (eval echo configure:7014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7015 eval "ac_cv_lib_$ac_lib_var=yes"
7017 echo "configure: failed program was:" >&5
7018 cat conftest.$ac_ext >&5
7020 eval "ac_cv_lib_$ac_lib_var=no"
7023 LIBS="$ac_save_LIBS"
7026 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7027 echo "$ac_t""yes" 1>&6
7030 echo "$ac_t""no" 1>&6
7033 ac_save_LIBS="$LIBS"
7034 LIBS="$LIBS $libiconv"
7036 for ac_func in iconv_open iconv_close iconv nl_langinfo
7038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7039 echo "configure:7040: checking for $ac_func" >&5
7040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7041 echo $ac_n "(cached) $ac_c" 1>&6
7043 cat > conftest.$ac_ext <<EOF
7044 #line 7045 "configure"
7045 #include "confdefs.h"
7046 /* System header to define __stub macros and hopefully few prototypes,
7047 which can conflict with char $ac_func(); below. */
7049 /* Override any gcc2 internal prototype to avoid an error. */
7050 /* We use char because int might match the return type of a gcc2
7051 builtin and then its argument prototype would still apply. */
7056 /* The GNU C library defines this for functions which it implements
7057 to always fail with ENOSYS. Some functions are actually named
7058 something starting with __ and the normal name is an alias. */
7059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7067 if { (eval echo configure:7068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7069 eval "ac_cv_func_$ac_func=yes"
7071 echo "configure: failed program was:" >&5
7072 cat conftest.$ac_ext >&5
7074 eval "ac_cv_func_$ac_func=no"
7079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7080 echo "$ac_t""yes" 1>&6
7081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7082 cat >> confdefs.h <<EOF
7083 #define $ac_tr_func 1
7088 echo "$ac_t""no" 1>&6
7094 LIBS="$ac_save_LIBS"
7096 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7097 echo "configure:7098: checking for XPG2 wchar_t support" >&5
7098 if test x"$ac_has_iconv_h" = xyes &&
7099 test x"$ac_has_langinfo_h" = xyes &&
7100 test x"$ac_XPG2funcs" = xyes; then
7105 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7107 if test x"$ac_isoC99_wchar_t" = xyes &&
7108 test x"$ac_XPG2_wchar_t" = xyes; then
7109 cat >> confdefs.h <<\EOF
7110 #define _GLIBCPP_USE_WCHAR_T 1
7116 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7117 echo "configure:7118: checking for enabled wchar_t specializations" >&5
7118 echo "$ac_t""$enable_wchar_t" 1>&6
7121 if test "$enable_wchar_t" = yes; then
7122 GLIBCPP_TEST_WCHAR_T_TRUE=
7123 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7125 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7126 GLIBCPP_TEST_WCHAR_T_FALSE=
7129 os_include_dir="os/bsd/netbsd"
7130 cat >> confdefs.h <<\EOF
7131 #define HAVE_COPYSIGN 1
7134 cat >> confdefs.h <<\EOF
7135 #define HAVE_COPYSIGNF 1
7138 cat >> confdefs.h <<\EOF
7139 #define HAVE_FINITEF 1
7142 cat >> confdefs.h <<\EOF
7143 #define HAVE_FINITE 1
7146 cat >> confdefs.h <<\EOF
7147 #define HAVE_FREXPF 1
7150 cat >> confdefs.h <<\EOF
7151 #define HAVE_HYPOTF 1
7154 cat >> confdefs.h <<\EOF
7155 #define HAVE_ISINF 1
7158 cat >> confdefs.h <<\EOF
7159 #define HAVE_ISINFF 1
7162 cat >> confdefs.h <<\EOF
7163 #define HAVE_ISNAN 1
7166 cat >> confdefs.h <<\EOF
7167 #define HAVE_ISNANF 1
7170 if test x"long_double_math_on_this_cpu" = x"yes"; then
7171 cat >> confdefs.h <<\EOF
7172 #define HAVE_FINITEL 1
7175 cat >> confdefs.h <<\EOF
7176 #define HAVE_ISINFL 1
7179 cat >> confdefs.h <<\EOF
7180 #define HAVE_ISNANL 1
7186 # Check for available headers.
7187 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7188 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7189 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7192 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7193 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7194 echo "configure:7195: checking for $ac_hdr" >&5
7195 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7196 echo $ac_n "(cached) $ac_c" 1>&6
7198 cat > conftest.$ac_ext <<EOF
7199 #line 7200 "configure"
7200 #include "confdefs.h"
7203 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7204 { (eval echo configure:7205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7205 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7206 if test -z "$ac_err"; then
7208 eval "ac_cv_header_$ac_safe=yes"
7211 echo "configure: failed program was:" >&5
7212 cat conftest.$ac_ext >&5
7214 eval "ac_cv_header_$ac_safe=no"
7218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7219 echo "$ac_t""yes" 1>&6
7220 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7221 cat >> confdefs.h <<EOF
7222 #define $ac_tr_hdr 1
7226 echo "$ac_t""no" 1>&6
7230 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7233 # If we're not using GNU ld, then there's no point in even trying these
7234 # tests. Check for that first. We should have already tested for gld
7235 # by now (in libtool), but require it now just to be safe...
7236 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7237 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7240 # The name set by libtool depends on the version of libtool. Shame on us
7241 # for depending on an impl detail, but c'est la vie. Older versions used
7242 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7243 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7244 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7245 # set (hence we're using an older libtool), then set it.
7246 if test x${with_gnu_ld+set} != xset; then
7247 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7248 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7251 with_gnu_ld=$ac_cv_prog_gnu_ld
7255 # Start by getting the version number. I think the libtool test already
7256 # does some of this, but throws away the result.
7258 ldver=`$LD --version 2>/dev/null | head -1 | \
7259 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7261 glibcpp_gnu_ld_version=`echo $ldver | \
7262 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7264 # Set --gc-sections.
7265 if test "$with_gnu_ld" = "notbroken"; then
7266 # GNU ld it is! Joy and bunny rabbits!
7268 # All these tests are for C++; save the language and the compiler flags.
7269 # Need to do this so that g++ won't try to link in libstdc++
7270 ac_test_CFLAGS="${CFLAGS+set}"
7271 ac_save_CFLAGS="$CFLAGS"
7272 CFLAGS='-x c++ -Wl,--gc-sections'
7274 # Check for -Wl,--gc-sections
7275 # XXX This test is broken at the moment, as symbols required for
7276 # linking are now in libsupc++ (not built yet.....). In addition,
7277 # this test has cored on solaris in the past. In addition,
7278 # --gc-sections doesn't really work at the moment (keeps on discarding
7279 # used sections, first .eh_frame and now some of the glibc sections for
7280 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7281 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7282 echo "configure:7283: checking for ld that supports -Wl,--gc-sections" >&5
7283 if test "$cross_compiling" = yes; then
7284 ac_sectionLDflags=yes
7286 cat > conftest.$ac_ext <<EOF
7287 #line 7288 "configure"
7288 #include "confdefs.h"
7298 if { (eval echo configure:7299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7300 ac_sectionLDflags=yes
7302 echo "configure: failed program was:" >&5
7303 cat conftest.$ac_ext >&5
7305 ac_sectionLDflags=no
7310 if test "$ac_test_CFLAGS" = set; then
7311 CFLAGS="$ac_save_CFLAGS"
7313 # this is the suspicious part
7316 if test "$ac_sectionLDflags" = "yes"; then
7317 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7319 echo "$ac_t""$ac_sectionLDflags" 1>&6
7322 # Set linker optimization flags.
7323 if test x"$with_gnu_ld" = x"yes"; then
7324 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7331 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7332 echo "configure:7333: checking for main in -lm" >&5
7333 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7334 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7335 echo $ac_n "(cached) $ac_c" 1>&6
7337 ac_save_LIBS="$LIBS"
7339 cat > conftest.$ac_ext <<EOF
7340 #line 7341 "configure"
7341 #include "confdefs.h"
7347 if { (eval echo configure:7348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7349 eval "ac_cv_lib_$ac_lib_var=yes"
7351 echo "configure: failed program was:" >&5
7352 cat conftest.$ac_ext >&5
7354 eval "ac_cv_lib_$ac_lib_var=no"
7357 LIBS="$ac_save_LIBS"
7360 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7361 echo "$ac_t""yes" 1>&6
7362 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7363 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7364 cat >> confdefs.h <<EOF
7365 #define $ac_tr_lib 1
7371 echo "$ac_t""no" 1>&6
7374 for ac_func in nan copysignf
7376 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7377 echo "configure:7378: checking for $ac_func" >&5
7378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7379 echo $ac_n "(cached) $ac_c" 1>&6
7381 cat > conftest.$ac_ext <<EOF
7382 #line 7383 "configure"
7383 #include "confdefs.h"
7384 /* System header to define __stub macros and hopefully few prototypes,
7385 which can conflict with char $ac_func(); below. */
7387 /* Override any gcc2 internal prototype to avoid an error. */
7388 /* We use char because int might match the return type of a gcc2
7389 builtin and then its argument prototype would still apply. */
7394 /* The GNU C library defines this for functions which it implements
7395 to always fail with ENOSYS. Some functions are actually named
7396 something starting with __ and the normal name is an alias. */
7397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7405 if { (eval echo configure:7406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7407 eval "ac_cv_func_$ac_func=yes"
7409 echo "configure: failed program was:" >&5
7410 cat conftest.$ac_ext >&5
7412 eval "ac_cv_func_$ac_func=no"
7417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7418 echo "$ac_t""yes" 1>&6
7419 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7420 cat >> confdefs.h <<EOF
7421 #define $ac_tr_func 1
7425 echo "$ac_t""no" 1>&6
7426 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7431 for ac_func in __signbit
7433 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7434 echo "configure:7435: checking for $ac_func" >&5
7435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7436 echo $ac_n "(cached) $ac_c" 1>&6
7438 cat > conftest.$ac_ext <<EOF
7439 #line 7440 "configure"
7440 #include "confdefs.h"
7441 /* System header to define __stub macros and hopefully few prototypes,
7442 which can conflict with char $ac_func(); below. */
7444 /* Override any gcc2 internal prototype to avoid an error. */
7445 /* We use char because int might match the return type of a gcc2
7446 builtin and then its argument prototype would still apply. */
7451 /* The GNU C library defines this for functions which it implements
7452 to always fail with ENOSYS. Some functions are actually named
7453 something starting with __ and the normal name is an alias. */
7454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7462 if { (eval echo configure:7463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7464 eval "ac_cv_func_$ac_func=yes"
7466 echo "configure: failed program was:" >&5
7467 cat conftest.$ac_ext >&5
7469 eval "ac_cv_func_$ac_func=no"
7474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7475 echo "$ac_t""yes" 1>&6
7476 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7477 cat >> confdefs.h <<EOF
7478 #define $ac_tr_func 1
7482 echo "$ac_t""no" 1>&6
7483 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7487 for ac_func in __signbitf
7489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7490 echo "configure:7491: checking for $ac_func" >&5
7491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7492 echo $ac_n "(cached) $ac_c" 1>&6
7494 cat > conftest.$ac_ext <<EOF
7495 #line 7496 "configure"
7496 #include "confdefs.h"
7497 /* System header to define __stub macros and hopefully few prototypes,
7498 which can conflict with char $ac_func(); below. */
7500 /* Override any gcc2 internal prototype to avoid an error. */
7501 /* We use char because int might match the return type of a gcc2
7502 builtin and then its argument prototype would still apply. */
7507 /* The GNU C library defines this for functions which it implements
7508 to always fail with ENOSYS. Some functions are actually named
7509 something starting with __ and the normal name is an alias. */
7510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7518 if { (eval echo configure:7519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7520 eval "ac_cv_func_$ac_func=yes"
7522 echo "configure: failed program was:" >&5
7523 cat conftest.$ac_ext >&5
7525 eval "ac_cv_func_$ac_func=no"
7530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7531 echo "$ac_t""yes" 1>&6
7532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7533 cat >> confdefs.h <<EOF
7534 #define $ac_tr_func 1
7538 echo "$ac_t""no" 1>&6
7539 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7544 if test x$ac_cv_func_copysignl = x"yes"; then
7545 for ac_func in __signbitl
7547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7548 echo "configure:7549: checking for $ac_func" >&5
7549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7550 echo $ac_n "(cached) $ac_c" 1>&6
7552 cat > conftest.$ac_ext <<EOF
7553 #line 7554 "configure"
7554 #include "confdefs.h"
7555 /* System header to define __stub macros and hopefully few prototypes,
7556 which can conflict with char $ac_func(); below. */
7558 /* Override any gcc2 internal prototype to avoid an error. */
7559 /* We use char because int might match the return type of a gcc2
7560 builtin and then its argument prototype would still apply. */
7565 /* The GNU C library defines this for functions which it implements
7566 to always fail with ENOSYS. Some functions are actually named
7567 something starting with __ and the normal name is an alias. */
7568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7576 if { (eval echo configure:7577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7578 eval "ac_cv_func_$ac_func=yes"
7580 echo "configure: failed program was:" >&5
7581 cat conftest.$ac_ext >&5
7583 eval "ac_cv_func_$ac_func=no"
7588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7589 echo "$ac_t""yes" 1>&6
7590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7591 cat >> confdefs.h <<EOF
7592 #define $ac_tr_func 1
7596 echo "$ac_t""no" 1>&6
7597 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7603 if test -n "$LIBMATHOBJS"; then
7609 if test "$need_libmath" = yes; then
7610 GLIBCPP_BUILD_LIBMATH_TRUE=
7611 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7613 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7614 GLIBCPP_BUILD_LIBMATH_FALSE=
7620 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7621 echo "configure:7622: checking for mbstate_t" >&5
7622 cat > conftest.$ac_ext <<EOF
7623 #line 7624 "configure"
7624 #include "confdefs.h"
7627 mbstate_t teststate;
7630 if { (eval echo configure:7631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7634 echo "configure: failed program was:" >&5
7635 cat conftest.$ac_ext >&5
7640 echo "$ac_t""$have_mbstate_t" 1>&6
7641 if test x"$have_mbstate_t" = xyes; then
7642 cat >> confdefs.h <<\EOF
7643 #define HAVE_MBSTATE_T 1
7648 for ac_hdr in wchar.h
7650 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7651 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7652 echo "configure:7653: checking for $ac_hdr" >&5
7653 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7654 echo $ac_n "(cached) $ac_c" 1>&6
7656 cat > conftest.$ac_ext <<EOF
7657 #line 7658 "configure"
7658 #include "confdefs.h"
7661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7662 { (eval echo configure:7663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7664 if test -z "$ac_err"; then
7666 eval "ac_cv_header_$ac_safe=yes"
7669 echo "configure: failed program was:" >&5
7670 cat conftest.$ac_ext >&5
7672 eval "ac_cv_header_$ac_safe=no"
7676 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7677 echo "$ac_t""yes" 1>&6
7678 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7679 cat >> confdefs.h <<EOF
7680 #define $ac_tr_hdr 1
7684 echo "$ac_t""no" 1>&6
7689 for ac_hdr in wctype.h
7691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7692 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7693 echo "configure:7694: checking for $ac_hdr" >&5
7694 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7695 echo $ac_n "(cached) $ac_c" 1>&6
7697 cat > conftest.$ac_ext <<EOF
7698 #line 7699 "configure"
7699 #include "confdefs.h"
7702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7703 { (eval echo configure:7704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7705 if test -z "$ac_err"; then
7707 eval "ac_cv_header_$ac_safe=yes"
7710 echo "configure: failed program was:" >&5
7711 cat conftest.$ac_ext >&5
7713 eval "ac_cv_header_$ac_safe=no"
7717 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7718 echo "$ac_t""yes" 1>&6
7719 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7720 cat >> confdefs.h <<EOF
7721 #define $ac_tr_hdr 1
7725 echo "$ac_t""no" 1>&6
7731 if test x"$ac_has_wchar_h" = xyes &&
7732 test x"$ac_has_wctype_h" = xyes &&
7733 test x"$enable_c_mbchar" != xno; then
7735 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7736 echo "configure:7737: checking for WCHAR_MIN and WCHAR_MAX" >&5
7737 cat > conftest.$ac_ext <<EOF
7738 #line 7739 "configure"
7739 #include "confdefs.h"
7742 int i = WCHAR_MIN; int j = WCHAR_MAX;
7745 if { (eval echo configure:7746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7747 has_wchar_minmax=yes
7749 echo "configure: failed program was:" >&5
7750 cat conftest.$ac_ext >&5
7755 echo "$ac_t""$has_wchar_minmax" 1>&6
7757 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7758 echo "configure:7759: checking for WEOF" >&5
7759 cat > conftest.$ac_ext <<EOF
7760 #line 7761 "configure"
7761 #include "confdefs.h"
7769 if { (eval echo configure:7770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7773 echo "configure: failed program was:" >&5
7774 cat conftest.$ac_ext >&5
7779 echo "$ac_t""$has_weof" 1>&6
7782 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7785 echo "configure:7786: checking for $ac_func" >&5
7786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7787 echo $ac_n "(cached) $ac_c" 1>&6
7789 cat > conftest.$ac_ext <<EOF
7790 #line 7791 "configure"
7791 #include "confdefs.h"
7792 /* System header to define __stub macros and hopefully few prototypes,
7793 which can conflict with char $ac_func(); below. */
7795 /* Override any gcc2 internal prototype to avoid an error. */
7796 /* We use char because int might match the return type of a gcc2
7797 builtin and then its argument prototype would still apply. */
7802 /* The GNU C library defines this for functions which it implements
7803 to always fail with ENOSYS. Some functions are actually named
7804 something starting with __ and the normal name is an alias. */
7805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7813 if { (eval echo configure:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7815 eval "ac_cv_func_$ac_func=yes"
7817 echo "configure: failed program was:" >&5
7818 cat conftest.$ac_ext >&5
7820 eval "ac_cv_func_$ac_func=no"
7825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7826 echo "$ac_t""yes" 1>&6
7827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7828 cat >> confdefs.h <<EOF
7829 #define $ac_tr_func 1
7833 echo "$ac_t""no" 1>&6
7840 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7841 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7842 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7843 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7844 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7845 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7848 echo "configure:7849: checking for $ac_func" >&5
7849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7850 echo $ac_n "(cached) $ac_c" 1>&6
7852 cat > conftest.$ac_ext <<EOF
7853 #line 7854 "configure"
7854 #include "confdefs.h"
7855 /* System header to define __stub macros and hopefully few prototypes,
7856 which can conflict with char $ac_func(); below. */
7858 /* Override any gcc2 internal prototype to avoid an error. */
7859 /* We use char because int might match the return type of a gcc2
7860 builtin and then its argument prototype would still apply. */
7865 /* The GNU C library defines this for functions which it implements
7866 to always fail with ENOSYS. Some functions are actually named
7867 something starting with __ and the normal name is an alias. */
7868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7876 if { (eval echo configure:7877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7878 eval "ac_cv_func_$ac_func=yes"
7880 echo "configure: failed program was:" >&5
7881 cat conftest.$ac_ext >&5
7883 eval "ac_cv_func_$ac_func=no"
7888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7889 echo "$ac_t""yes" 1>&6
7890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7891 cat >> confdefs.h <<EOF
7892 #define $ac_tr_func 1
7896 echo "$ac_t""no" 1>&6
7903 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7904 echo "configure:7905: checking for ISO C99 wchar_t support" >&5
7905 if test x"$has_weof" = xyes &&
7906 test x"$has_wchar_minmax" = xyes &&
7907 test x"$ac_wfuncs" = xyes; then
7908 ac_isoC99_wchar_t=yes
7910 ac_isoC99_wchar_t=no
7912 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7914 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7915 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7916 echo "configure:7917: checking for iconv.h" >&5
7917 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7918 echo $ac_n "(cached) $ac_c" 1>&6
7920 cat > conftest.$ac_ext <<EOF
7921 #line 7922 "configure"
7922 #include "confdefs.h"
7925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7926 { (eval echo configure:7927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7928 if test -z "$ac_err"; then
7930 eval "ac_cv_header_$ac_safe=yes"
7933 echo "configure: failed program was:" >&5
7934 cat conftest.$ac_ext >&5
7936 eval "ac_cv_header_$ac_safe=no"
7940 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7941 echo "$ac_t""yes" 1>&6
7944 echo "$ac_t""no" 1>&6
7948 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7949 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7950 echo "configure:7951: checking for langinfo.h" >&5
7951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7952 echo $ac_n "(cached) $ac_c" 1>&6
7954 cat > conftest.$ac_ext <<EOF
7955 #line 7956 "configure"
7956 #include "confdefs.h"
7957 #include <langinfo.h>
7959 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7960 { (eval echo configure:7961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7961 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7962 if test -z "$ac_err"; then
7964 eval "ac_cv_header_$ac_safe=yes"
7967 echo "configure: failed program was:" >&5
7968 cat conftest.$ac_ext >&5
7970 eval "ac_cv_header_$ac_safe=no"
7974 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7975 echo "$ac_t""yes" 1>&6
7976 ac_has_langinfo_h=yes
7978 echo "$ac_t""no" 1>&6
7979 ac_has_langinfo_h=no
7983 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7984 echo "configure:7985: checking for iconv in -liconv" >&5
7985 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7987 echo $ac_n "(cached) $ac_c" 1>&6
7989 ac_save_LIBS="$LIBS"
7990 LIBS="-liconv $LIBS"
7991 cat > conftest.$ac_ext <<EOF
7992 #line 7993 "configure"
7993 #include "confdefs.h"
7994 /* Override any gcc2 internal prototype to avoid an error. */
7995 /* We use char because int might match the return type of a gcc2
7996 builtin and then its argument prototype would still apply. */
8003 if { (eval echo configure:8004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8005 eval "ac_cv_lib_$ac_lib_var=yes"
8007 echo "configure: failed program was:" >&5
8008 cat conftest.$ac_ext >&5
8010 eval "ac_cv_lib_$ac_lib_var=no"
8013 LIBS="$ac_save_LIBS"
8016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8017 echo "$ac_t""yes" 1>&6
8020 echo "$ac_t""no" 1>&6
8023 ac_save_LIBS="$LIBS"
8024 LIBS="$LIBS $libiconv"
8026 for ac_func in iconv_open iconv_close iconv nl_langinfo
8028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8029 echo "configure:8030: checking for $ac_func" >&5
8030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8031 echo $ac_n "(cached) $ac_c" 1>&6
8033 cat > conftest.$ac_ext <<EOF
8034 #line 8035 "configure"
8035 #include "confdefs.h"
8036 /* System header to define __stub macros and hopefully few prototypes,
8037 which can conflict with char $ac_func(); below. */
8039 /* Override any gcc2 internal prototype to avoid an error. */
8040 /* We use char because int might match the return type of a gcc2
8041 builtin and then its argument prototype would still apply. */
8046 /* The GNU C library defines this for functions which it implements
8047 to always fail with ENOSYS. Some functions are actually named
8048 something starting with __ and the normal name is an alias. */
8049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8057 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8059 eval "ac_cv_func_$ac_func=yes"
8061 echo "configure: failed program was:" >&5
8062 cat conftest.$ac_ext >&5
8064 eval "ac_cv_func_$ac_func=no"
8069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8070 echo "$ac_t""yes" 1>&6
8071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8072 cat >> confdefs.h <<EOF
8073 #define $ac_tr_func 1
8078 echo "$ac_t""no" 1>&6
8084 LIBS="$ac_save_LIBS"
8086 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8087 echo "configure:8088: checking for XPG2 wchar_t support" >&5
8088 if test x"$ac_has_iconv_h" = xyes &&
8089 test x"$ac_has_langinfo_h" = xyes &&
8090 test x"$ac_XPG2funcs" = xyes; then
8095 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8097 if test x"$ac_isoC99_wchar_t" = xyes &&
8098 test x"$ac_XPG2_wchar_t" = xyes; then
8099 cat >> confdefs.h <<\EOF
8100 #define _GLIBCPP_USE_WCHAR_T 1
8106 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8107 echo "configure:8108: checking for enabled wchar_t specializations" >&5
8108 echo "$ac_t""$enable_wchar_t" 1>&6
8111 if test "$enable_wchar_t" = yes; then
8112 GLIBCPP_TEST_WCHAR_T_TRUE=
8113 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8115 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8116 GLIBCPP_TEST_WCHAR_T_FALSE=
8119 os_include_dir="os/bsd/freebsd"
8120 cat >> confdefs.h <<\EOF
8121 #define HAVE_LC_MESSAGES 1
8124 cat >> confdefs.h <<\EOF
8125 #define HAVE_DRAND48 1
8128 cat >> confdefs.h <<\EOF
8129 #define HAVE_GETPAGESIZE 1
8132 cat >> confdefs.h <<\EOF
8133 #define HAVE_SETENV 1
8136 cat >> confdefs.h <<\EOF
8137 #define HAVE_SIGSETJMP 1
8140 cat >> confdefs.h <<\EOF
8141 #define HAVE_COPYSIGN 1
8144 cat >> confdefs.h <<\EOF
8145 #define HAVE_COPYSIGNF 1
8148 cat >> confdefs.h <<\EOF
8149 #define HAVE_FINITEF 1
8152 cat >> confdefs.h <<\EOF
8153 #define HAVE_FINITE 1
8156 cat >> confdefs.h <<\EOF
8157 #define HAVE_FREXPF 1
8160 cat >> confdefs.h <<\EOF
8161 #define HAVE_HYPOT 1
8164 cat >> confdefs.h <<\EOF
8165 #define HAVE_HYPOTF 1
8168 cat >> confdefs.h <<\EOF
8169 #define HAVE_ISINF 1
8172 cat >> confdefs.h <<\EOF
8173 #define HAVE_ISNAN 1
8176 cat >> confdefs.h <<\EOF
8177 #define HAVE_ISNANF 1
8180 if test x"long_double_math_on_this_cpu" = x"yes"; then
8181 cat >> confdefs.h <<\EOF
8182 #define HAVE_FINITEL 1
8185 cat >> confdefs.h <<\EOF
8186 #define HAVE_ISINFL 1
8189 cat >> confdefs.h <<\EOF
8190 #define HAVE_ISNANL 1
8196 for ac_hdr in sys/types.h locale.h float.h
8198 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8199 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8200 echo "configure:8201: checking for $ac_hdr" >&5
8201 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8202 echo $ac_n "(cached) $ac_c" 1>&6
8204 cat > conftest.$ac_ext <<EOF
8205 #line 8206 "configure"
8206 #include "confdefs.h"
8209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8210 { (eval echo configure:8211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8211 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8212 if test -z "$ac_err"; then
8214 eval "ac_cv_header_$ac_safe=yes"
8217 echo "configure: failed program was:" >&5
8218 cat conftest.$ac_ext >&5
8220 eval "ac_cv_header_$ac_safe=no"
8224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8225 echo "$ac_t""yes" 1>&6
8226 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8227 cat >> confdefs.h <<EOF
8228 #define $ac_tr_hdr 1
8232 echo "$ac_t""no" 1>&6
8237 # If we're not using GNU ld, then there's no point in even trying these
8238 # tests. Check for that first. We should have already tested for gld
8239 # by now (in libtool), but require it now just to be safe...
8240 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8241 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8244 # The name set by libtool depends on the version of libtool. Shame on us
8245 # for depending on an impl detail, but c'est la vie. Older versions used
8246 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8247 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8248 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8249 # set (hence we're using an older libtool), then set it.
8250 if test x${with_gnu_ld+set} != xset; then
8251 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8252 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8255 with_gnu_ld=$ac_cv_prog_gnu_ld
8259 # Start by getting the version number. I think the libtool test already
8260 # does some of this, but throws away the result.
8262 ldver=`$LD --version 2>/dev/null | head -1 | \
8263 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8265 glibcpp_gnu_ld_version=`echo $ldver | \
8266 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8268 # Set --gc-sections.
8269 if test "$with_gnu_ld" = "notbroken"; then
8270 # GNU ld it is! Joy and bunny rabbits!
8272 # All these tests are for C++; save the language and the compiler flags.
8273 # Need to do this so that g++ won't try to link in libstdc++
8274 ac_test_CFLAGS="${CFLAGS+set}"
8275 ac_save_CFLAGS="$CFLAGS"
8276 CFLAGS='-x c++ -Wl,--gc-sections'
8278 # Check for -Wl,--gc-sections
8279 # XXX This test is broken at the moment, as symbols required for
8280 # linking are now in libsupc++ (not built yet.....). In addition,
8281 # this test has cored on solaris in the past. In addition,
8282 # --gc-sections doesn't really work at the moment (keeps on discarding
8283 # used sections, first .eh_frame and now some of the glibc sections for
8284 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8285 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8286 echo "configure:8287: checking for ld that supports -Wl,--gc-sections" >&5
8287 if test "$cross_compiling" = yes; then
8288 ac_sectionLDflags=yes
8290 cat > conftest.$ac_ext <<EOF
8291 #line 8292 "configure"
8292 #include "confdefs.h"
8302 if { (eval echo configure:8303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8304 ac_sectionLDflags=yes
8306 echo "configure: failed program was:" >&5
8307 cat conftest.$ac_ext >&5
8309 ac_sectionLDflags=no
8314 if test "$ac_test_CFLAGS" = set; then
8315 CFLAGS="$ac_save_CFLAGS"
8317 # this is the suspicious part
8320 if test "$ac_sectionLDflags" = "yes"; then
8321 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8323 echo "$ac_t""$ac_sectionLDflags" 1>&6
8326 # Set linker optimization flags.
8327 if test x"$with_gnu_ld" = x"yes"; then
8328 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8335 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8336 echo "configure:8337: checking for main in -lm" >&5
8337 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8338 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8339 echo $ac_n "(cached) $ac_c" 1>&6
8341 ac_save_LIBS="$LIBS"
8343 cat > conftest.$ac_ext <<EOF
8344 #line 8345 "configure"
8345 #include "confdefs.h"
8351 if { (eval echo configure:8352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8353 eval "ac_cv_lib_$ac_lib_var=yes"
8355 echo "configure: failed program was:" >&5
8356 cat conftest.$ac_ext >&5
8358 eval "ac_cv_lib_$ac_lib_var=no"
8361 LIBS="$ac_save_LIBS"
8364 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8365 echo "$ac_t""yes" 1>&6
8366 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8367 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8368 cat >> confdefs.h <<EOF
8369 #define $ac_tr_lib 1
8375 echo "$ac_t""no" 1>&6
8378 for ac_func in nan copysignf
8380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8381 echo "configure:8382: checking for $ac_func" >&5
8382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8383 echo $ac_n "(cached) $ac_c" 1>&6
8385 cat > conftest.$ac_ext <<EOF
8386 #line 8387 "configure"
8387 #include "confdefs.h"
8388 /* System header to define __stub macros and hopefully few prototypes,
8389 which can conflict with char $ac_func(); below. */
8391 /* Override any gcc2 internal prototype to avoid an error. */
8392 /* We use char because int might match the return type of a gcc2
8393 builtin and then its argument prototype would still apply. */
8398 /* The GNU C library defines this for functions which it implements
8399 to always fail with ENOSYS. Some functions are actually named
8400 something starting with __ and the normal name is an alias. */
8401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8409 if { (eval echo configure:8410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8411 eval "ac_cv_func_$ac_func=yes"
8413 echo "configure: failed program was:" >&5
8414 cat conftest.$ac_ext >&5
8416 eval "ac_cv_func_$ac_func=no"
8421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8422 echo "$ac_t""yes" 1>&6
8423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8424 cat >> confdefs.h <<EOF
8425 #define $ac_tr_func 1
8429 echo "$ac_t""no" 1>&6
8430 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8435 for ac_func in __signbit
8437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8438 echo "configure:8439: checking for $ac_func" >&5
8439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8440 echo $ac_n "(cached) $ac_c" 1>&6
8442 cat > conftest.$ac_ext <<EOF
8443 #line 8444 "configure"
8444 #include "confdefs.h"
8445 /* System header to define __stub macros and hopefully few prototypes,
8446 which can conflict with char $ac_func(); below. */
8448 /* Override any gcc2 internal prototype to avoid an error. */
8449 /* We use char because int might match the return type of a gcc2
8450 builtin and then its argument prototype would still apply. */
8455 /* The GNU C library defines this for functions which it implements
8456 to always fail with ENOSYS. Some functions are actually named
8457 something starting with __ and the normal name is an alias. */
8458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8466 if { (eval echo configure:8467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8468 eval "ac_cv_func_$ac_func=yes"
8470 echo "configure: failed program was:" >&5
8471 cat conftest.$ac_ext >&5
8473 eval "ac_cv_func_$ac_func=no"
8478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8479 echo "$ac_t""yes" 1>&6
8480 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8481 cat >> confdefs.h <<EOF
8482 #define $ac_tr_func 1
8486 echo "$ac_t""no" 1>&6
8487 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8491 for ac_func in __signbitf
8493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8494 echo "configure:8495: checking for $ac_func" >&5
8495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8496 echo $ac_n "(cached) $ac_c" 1>&6
8498 cat > conftest.$ac_ext <<EOF
8499 #line 8500 "configure"
8500 #include "confdefs.h"
8501 /* System header to define __stub macros and hopefully few prototypes,
8502 which can conflict with char $ac_func(); below. */
8504 /* Override any gcc2 internal prototype to avoid an error. */
8505 /* We use char because int might match the return type of a gcc2
8506 builtin and then its argument prototype would still apply. */
8511 /* The GNU C library defines this for functions which it implements
8512 to always fail with ENOSYS. Some functions are actually named
8513 something starting with __ and the normal name is an alias. */
8514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8522 if { (eval echo configure:8523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8524 eval "ac_cv_func_$ac_func=yes"
8526 echo "configure: failed program was:" >&5
8527 cat conftest.$ac_ext >&5
8529 eval "ac_cv_func_$ac_func=no"
8534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8535 echo "$ac_t""yes" 1>&6
8536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8537 cat >> confdefs.h <<EOF
8538 #define $ac_tr_func 1
8542 echo "$ac_t""no" 1>&6
8543 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8548 if test x$ac_cv_func_copysignl = x"yes"; then
8549 for ac_func in __signbitl
8551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8552 echo "configure:8553: checking for $ac_func" >&5
8553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8554 echo $ac_n "(cached) $ac_c" 1>&6
8556 cat > conftest.$ac_ext <<EOF
8557 #line 8558 "configure"
8558 #include "confdefs.h"
8559 /* System header to define __stub macros and hopefully few prototypes,
8560 which can conflict with char $ac_func(); below. */
8562 /* Override any gcc2 internal prototype to avoid an error. */
8563 /* We use char because int might match the return type of a gcc2
8564 builtin and then its argument prototype would still apply. */
8569 /* The GNU C library defines this for functions which it implements
8570 to always fail with ENOSYS. Some functions are actually named
8571 something starting with __ and the normal name is an alias. */
8572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8580 if { (eval echo configure:8581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8582 eval "ac_cv_func_$ac_func=yes"
8584 echo "configure: failed program was:" >&5
8585 cat conftest.$ac_ext >&5
8587 eval "ac_cv_func_$ac_func=no"
8592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8593 echo "$ac_t""yes" 1>&6
8594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8595 cat >> confdefs.h <<EOF
8596 #define $ac_tr_func 1
8600 echo "$ac_t""no" 1>&6
8601 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8607 if test -n "$LIBMATHOBJS"; then
8613 if test "$need_libmath" = yes; then
8614 GLIBCPP_BUILD_LIBMATH_TRUE=
8615 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8617 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8618 GLIBCPP_BUILD_LIBMATH_FALSE=
8624 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8625 echo "configure:8626: checking for mbstate_t" >&5
8626 cat > conftest.$ac_ext <<EOF
8627 #line 8628 "configure"
8628 #include "confdefs.h"
8631 mbstate_t teststate;
8634 if { (eval echo configure:8635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8638 echo "configure: failed program was:" >&5
8639 cat conftest.$ac_ext >&5
8644 echo "$ac_t""$have_mbstate_t" 1>&6
8645 if test x"$have_mbstate_t" = xyes; then
8646 cat >> confdefs.h <<\EOF
8647 #define HAVE_MBSTATE_T 1
8652 for ac_hdr in wchar.h
8654 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8655 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8656 echo "configure:8657: checking for $ac_hdr" >&5
8657 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8658 echo $ac_n "(cached) $ac_c" 1>&6
8660 cat > conftest.$ac_ext <<EOF
8661 #line 8662 "configure"
8662 #include "confdefs.h"
8665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8666 { (eval echo configure:8667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8668 if test -z "$ac_err"; then
8670 eval "ac_cv_header_$ac_safe=yes"
8673 echo "configure: failed program was:" >&5
8674 cat conftest.$ac_ext >&5
8676 eval "ac_cv_header_$ac_safe=no"
8680 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8681 echo "$ac_t""yes" 1>&6
8682 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8683 cat >> confdefs.h <<EOF
8684 #define $ac_tr_hdr 1
8688 echo "$ac_t""no" 1>&6
8693 for ac_hdr in wctype.h
8695 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8696 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8697 echo "configure:8698: checking for $ac_hdr" >&5
8698 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8699 echo $ac_n "(cached) $ac_c" 1>&6
8701 cat > conftest.$ac_ext <<EOF
8702 #line 8703 "configure"
8703 #include "confdefs.h"
8706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8707 { (eval echo configure:8708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8709 if test -z "$ac_err"; then
8711 eval "ac_cv_header_$ac_safe=yes"
8714 echo "configure: failed program was:" >&5
8715 cat conftest.$ac_ext >&5
8717 eval "ac_cv_header_$ac_safe=no"
8721 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8722 echo "$ac_t""yes" 1>&6
8723 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8724 cat >> confdefs.h <<EOF
8725 #define $ac_tr_hdr 1
8729 echo "$ac_t""no" 1>&6
8735 if test x"$ac_has_wchar_h" = xyes &&
8736 test x"$ac_has_wctype_h" = xyes &&
8737 test x"$enable_c_mbchar" != xno; then
8739 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8740 echo "configure:8741: checking for WCHAR_MIN and WCHAR_MAX" >&5
8741 cat > conftest.$ac_ext <<EOF
8742 #line 8743 "configure"
8743 #include "confdefs.h"
8746 int i = WCHAR_MIN; int j = WCHAR_MAX;
8749 if { (eval echo configure:8750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8751 has_wchar_minmax=yes
8753 echo "configure: failed program was:" >&5
8754 cat conftest.$ac_ext >&5
8759 echo "$ac_t""$has_wchar_minmax" 1>&6
8761 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8762 echo "configure:8763: checking for WEOF" >&5
8763 cat > conftest.$ac_ext <<EOF
8764 #line 8765 "configure"
8765 #include "confdefs.h"
8773 if { (eval echo configure:8774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8777 echo "configure: failed program was:" >&5
8778 cat conftest.$ac_ext >&5
8783 echo "$ac_t""$has_weof" 1>&6
8786 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8789 echo "configure:8790: checking for $ac_func" >&5
8790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8791 echo $ac_n "(cached) $ac_c" 1>&6
8793 cat > conftest.$ac_ext <<EOF
8794 #line 8795 "configure"
8795 #include "confdefs.h"
8796 /* System header to define __stub macros and hopefully few prototypes,
8797 which can conflict with char $ac_func(); below. */
8799 /* Override any gcc2 internal prototype to avoid an error. */
8800 /* We use char because int might match the return type of a gcc2
8801 builtin and then its argument prototype would still apply. */
8806 /* The GNU C library defines this for functions which it implements
8807 to always fail with ENOSYS. Some functions are actually named
8808 something starting with __ and the normal name is an alias. */
8809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8817 if { (eval echo configure:8818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8819 eval "ac_cv_func_$ac_func=yes"
8821 echo "configure: failed program was:" >&5
8822 cat conftest.$ac_ext >&5
8824 eval "ac_cv_func_$ac_func=no"
8829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8830 echo "$ac_t""yes" 1>&6
8831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8832 cat >> confdefs.h <<EOF
8833 #define $ac_tr_func 1
8837 echo "$ac_t""no" 1>&6
8844 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8845 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8846 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8847 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8848 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8849 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8852 echo "configure:8853: checking for $ac_func" >&5
8853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8854 echo $ac_n "(cached) $ac_c" 1>&6
8856 cat > conftest.$ac_ext <<EOF
8857 #line 8858 "configure"
8858 #include "confdefs.h"
8859 /* System header to define __stub macros and hopefully few prototypes,
8860 which can conflict with char $ac_func(); below. */
8862 /* Override any gcc2 internal prototype to avoid an error. */
8863 /* We use char because int might match the return type of a gcc2
8864 builtin and then its argument prototype would still apply. */
8869 /* The GNU C library defines this for functions which it implements
8870 to always fail with ENOSYS. Some functions are actually named
8871 something starting with __ and the normal name is an alias. */
8872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8880 if { (eval echo configure:8881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8882 eval "ac_cv_func_$ac_func=yes"
8884 echo "configure: failed program was:" >&5
8885 cat conftest.$ac_ext >&5
8887 eval "ac_cv_func_$ac_func=no"
8892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8893 echo "$ac_t""yes" 1>&6
8894 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8895 cat >> confdefs.h <<EOF
8896 #define $ac_tr_func 1
8900 echo "$ac_t""no" 1>&6
8907 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8908 echo "configure:8909: checking for ISO C99 wchar_t support" >&5
8909 if test x"$has_weof" = xyes &&
8910 test x"$has_wchar_minmax" = xyes &&
8911 test x"$ac_wfuncs" = xyes; then
8912 ac_isoC99_wchar_t=yes
8914 ac_isoC99_wchar_t=no
8916 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8918 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8919 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8920 echo "configure:8921: checking for iconv.h" >&5
8921 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8922 echo $ac_n "(cached) $ac_c" 1>&6
8924 cat > conftest.$ac_ext <<EOF
8925 #line 8926 "configure"
8926 #include "confdefs.h"
8929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8930 { (eval echo configure:8931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8932 if test -z "$ac_err"; then
8934 eval "ac_cv_header_$ac_safe=yes"
8937 echo "configure: failed program was:" >&5
8938 cat conftest.$ac_ext >&5
8940 eval "ac_cv_header_$ac_safe=no"
8944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8945 echo "$ac_t""yes" 1>&6
8948 echo "$ac_t""no" 1>&6
8952 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8953 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8954 echo "configure:8955: checking for langinfo.h" >&5
8955 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8956 echo $ac_n "(cached) $ac_c" 1>&6
8958 cat > conftest.$ac_ext <<EOF
8959 #line 8960 "configure"
8960 #include "confdefs.h"
8961 #include <langinfo.h>
8963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8964 { (eval echo configure:8965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8966 if test -z "$ac_err"; then
8968 eval "ac_cv_header_$ac_safe=yes"
8971 echo "configure: failed program was:" >&5
8972 cat conftest.$ac_ext >&5
8974 eval "ac_cv_header_$ac_safe=no"
8978 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8979 echo "$ac_t""yes" 1>&6
8980 ac_has_langinfo_h=yes
8982 echo "$ac_t""no" 1>&6
8983 ac_has_langinfo_h=no
8987 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8988 echo "configure:8989: checking for iconv in -liconv" >&5
8989 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8990 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8991 echo $ac_n "(cached) $ac_c" 1>&6
8993 ac_save_LIBS="$LIBS"
8994 LIBS="-liconv $LIBS"
8995 cat > conftest.$ac_ext <<EOF
8996 #line 8997 "configure"
8997 #include "confdefs.h"
8998 /* Override any gcc2 internal prototype to avoid an error. */
8999 /* We use char because int might match the return type of a gcc2
9000 builtin and then its argument prototype would still apply. */
9007 if { (eval echo configure:9008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9009 eval "ac_cv_lib_$ac_lib_var=yes"
9011 echo "configure: failed program was:" >&5
9012 cat conftest.$ac_ext >&5
9014 eval "ac_cv_lib_$ac_lib_var=no"
9017 LIBS="$ac_save_LIBS"
9020 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9021 echo "$ac_t""yes" 1>&6
9024 echo "$ac_t""no" 1>&6
9027 ac_save_LIBS="$LIBS"
9028 LIBS="$LIBS $libiconv"
9030 for ac_func in iconv_open iconv_close iconv nl_langinfo
9032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9033 echo "configure:9034: checking for $ac_func" >&5
9034 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9035 echo $ac_n "(cached) $ac_c" 1>&6
9037 cat > conftest.$ac_ext <<EOF
9038 #line 9039 "configure"
9039 #include "confdefs.h"
9040 /* System header to define __stub macros and hopefully few prototypes,
9041 which can conflict with char $ac_func(); below. */
9043 /* Override any gcc2 internal prototype to avoid an error. */
9044 /* We use char because int might match the return type of a gcc2
9045 builtin and then its argument prototype would still apply. */
9050 /* The GNU C library defines this for functions which it implements
9051 to always fail with ENOSYS. Some functions are actually named
9052 something starting with __ and the normal name is an alias. */
9053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9061 if { (eval echo configure:9062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9063 eval "ac_cv_func_$ac_func=yes"
9065 echo "configure: failed program was:" >&5
9066 cat conftest.$ac_ext >&5
9068 eval "ac_cv_func_$ac_func=no"
9073 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9074 echo "$ac_t""yes" 1>&6
9075 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9076 cat >> confdefs.h <<EOF
9077 #define $ac_tr_func 1
9082 echo "$ac_t""no" 1>&6
9088 LIBS="$ac_save_LIBS"
9090 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9091 echo "configure:9092: checking for XPG2 wchar_t support" >&5
9092 if test x"$ac_has_iconv_h" = xyes &&
9093 test x"$ac_has_langinfo_h" = xyes &&
9094 test x"$ac_XPG2funcs" = xyes; then
9099 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9101 if test x"$ac_isoC99_wchar_t" = xyes &&
9102 test x"$ac_XPG2_wchar_t" = xyes; then
9103 cat >> confdefs.h <<\EOF
9104 #define _GLIBCPP_USE_WCHAR_T 1
9110 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9111 echo "configure:9112: checking for enabled wchar_t specializations" >&5
9112 echo "$ac_t""$enable_wchar_t" 1>&6
9115 if test "$enable_wchar_t" = yes; then
9116 GLIBCPP_TEST_WCHAR_T_TRUE=
9117 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9119 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9120 GLIBCPP_TEST_WCHAR_T_FALSE=
9123 os_include_dir="os/mingw32"
9126 os_include_dir="os/windiss"
9129 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9132 # If we're not using GNU ld, then there's no point in even trying these
9133 # tests. Check for that first. We should have already tested for gld
9134 # by now (in libtool), but require it now just to be safe...
9135 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9136 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9139 # The name set by libtool depends on the version of libtool. Shame on us
9140 # for depending on an impl detail, but c'est la vie. Older versions used
9141 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9142 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9143 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9144 # set (hence we're using an older libtool), then set it.
9145 if test x${with_gnu_ld+set} != xset; then
9146 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9147 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9150 with_gnu_ld=$ac_cv_prog_gnu_ld
9154 # Start by getting the version number. I think the libtool test already
9155 # does some of this, but throws away the result.
9157 ldver=`$LD --version 2>/dev/null | head -1 | \
9158 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9160 glibcpp_gnu_ld_version=`echo $ldver | \
9161 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9163 # Set --gc-sections.
9164 if test "$with_gnu_ld" = "notbroken"; then
9165 # GNU ld it is! Joy and bunny rabbits!
9167 # All these tests are for C++; save the language and the compiler flags.
9168 # Need to do this so that g++ won't try to link in libstdc++
9169 ac_test_CFLAGS="${CFLAGS+set}"
9170 ac_save_CFLAGS="$CFLAGS"
9171 CFLAGS='-x c++ -Wl,--gc-sections'
9173 # Check for -Wl,--gc-sections
9174 # XXX This test is broken at the moment, as symbols required for
9175 # linking are now in libsupc++ (not built yet.....). In addition,
9176 # this test has cored on solaris in the past. In addition,
9177 # --gc-sections doesn't really work at the moment (keeps on discarding
9178 # used sections, first .eh_frame and now some of the glibc sections for
9179 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9180 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9181 echo "configure:9182: checking for ld that supports -Wl,--gc-sections" >&5
9182 if test "$cross_compiling" = yes; then
9183 ac_sectionLDflags=yes
9185 cat > conftest.$ac_ext <<EOF
9186 #line 9187 "configure"
9187 #include "confdefs.h"
9197 if { (eval echo configure:9198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9199 ac_sectionLDflags=yes
9201 echo "configure: failed program was:" >&5
9202 cat conftest.$ac_ext >&5
9204 ac_sectionLDflags=no
9209 if test "$ac_test_CFLAGS" = set; then
9210 CFLAGS="$ac_save_CFLAGS"
9212 # this is the suspicious part
9215 if test "$ac_sectionLDflags" = "yes"; then
9216 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9218 echo "$ac_t""$ac_sectionLDflags" 1>&6
9221 # Set linker optimization flags.
9222 if test x"$with_gnu_ld" = x"yes"; then
9223 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9230 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9231 echo "configure:9232: checking for main in -lm" >&5
9232 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9233 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9234 echo $ac_n "(cached) $ac_c" 1>&6
9236 ac_save_LIBS="$LIBS"
9238 cat > conftest.$ac_ext <<EOF
9239 #line 9240 "configure"
9240 #include "confdefs.h"
9246 if { (eval echo configure:9247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9248 eval "ac_cv_lib_$ac_lib_var=yes"
9250 echo "configure: failed program was:" >&5
9251 cat conftest.$ac_ext >&5
9253 eval "ac_cv_lib_$ac_lib_var=no"
9256 LIBS="$ac_save_LIBS"
9259 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9260 echo "$ac_t""yes" 1>&6
9261 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9262 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9263 cat >> confdefs.h <<EOF
9264 #define $ac_tr_lib 1
9270 echo "$ac_t""no" 1>&6
9273 for ac_func in nan copysignf
9275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9276 echo "configure:9277: checking for $ac_func" >&5
9277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9278 echo $ac_n "(cached) $ac_c" 1>&6
9280 cat > conftest.$ac_ext <<EOF
9281 #line 9282 "configure"
9282 #include "confdefs.h"
9283 /* System header to define __stub macros and hopefully few prototypes,
9284 which can conflict with char $ac_func(); below. */
9286 /* Override any gcc2 internal prototype to avoid an error. */
9287 /* We use char because int might match the return type of a gcc2
9288 builtin and then its argument prototype would still apply. */
9293 /* The GNU C library defines this for functions which it implements
9294 to always fail with ENOSYS. Some functions are actually named
9295 something starting with __ and the normal name is an alias. */
9296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9304 if { (eval echo configure:9305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9306 eval "ac_cv_func_$ac_func=yes"
9308 echo "configure: failed program was:" >&5
9309 cat conftest.$ac_ext >&5
9311 eval "ac_cv_func_$ac_func=no"
9316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9317 echo "$ac_t""yes" 1>&6
9318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9319 cat >> confdefs.h <<EOF
9320 #define $ac_tr_func 1
9324 echo "$ac_t""no" 1>&6
9325 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9330 for ac_func in __signbit
9332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9333 echo "configure:9334: checking for $ac_func" >&5
9334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9335 echo $ac_n "(cached) $ac_c" 1>&6
9337 cat > conftest.$ac_ext <<EOF
9338 #line 9339 "configure"
9339 #include "confdefs.h"
9340 /* System header to define __stub macros and hopefully few prototypes,
9341 which can conflict with char $ac_func(); below. */
9343 /* Override any gcc2 internal prototype to avoid an error. */
9344 /* We use char because int might match the return type of a gcc2
9345 builtin and then its argument prototype would still apply. */
9350 /* The GNU C library defines this for functions which it implements
9351 to always fail with ENOSYS. Some functions are actually named
9352 something starting with __ and the normal name is an alias. */
9353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9361 if { (eval echo configure:9362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9363 eval "ac_cv_func_$ac_func=yes"
9365 echo "configure: failed program was:" >&5
9366 cat conftest.$ac_ext >&5
9368 eval "ac_cv_func_$ac_func=no"
9373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9374 echo "$ac_t""yes" 1>&6
9375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9376 cat >> confdefs.h <<EOF
9377 #define $ac_tr_func 1
9381 echo "$ac_t""no" 1>&6
9382 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9386 for ac_func in __signbitf
9388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9389 echo "configure:9390: checking for $ac_func" >&5
9390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9391 echo $ac_n "(cached) $ac_c" 1>&6
9393 cat > conftest.$ac_ext <<EOF
9394 #line 9395 "configure"
9395 #include "confdefs.h"
9396 /* System header to define __stub macros and hopefully few prototypes,
9397 which can conflict with char $ac_func(); below. */
9399 /* Override any gcc2 internal prototype to avoid an error. */
9400 /* We use char because int might match the return type of a gcc2
9401 builtin and then its argument prototype would still apply. */
9406 /* The GNU C library defines this for functions which it implements
9407 to always fail with ENOSYS. Some functions are actually named
9408 something starting with __ and the normal name is an alias. */
9409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9417 if { (eval echo configure:9418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9419 eval "ac_cv_func_$ac_func=yes"
9421 echo "configure: failed program was:" >&5
9422 cat conftest.$ac_ext >&5
9424 eval "ac_cv_func_$ac_func=no"
9429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9430 echo "$ac_t""yes" 1>&6
9431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9432 cat >> confdefs.h <<EOF
9433 #define $ac_tr_func 1
9437 echo "$ac_t""no" 1>&6
9438 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9443 if test x$ac_cv_func_copysignl = x"yes"; then
9444 for ac_func in __signbitl
9446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9447 echo "configure:9448: checking for $ac_func" >&5
9448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9449 echo $ac_n "(cached) $ac_c" 1>&6
9451 cat > conftest.$ac_ext <<EOF
9452 #line 9453 "configure"
9453 #include "confdefs.h"
9454 /* System header to define __stub macros and hopefully few prototypes,
9455 which can conflict with char $ac_func(); below. */
9457 /* Override any gcc2 internal prototype to avoid an error. */
9458 /* We use char because int might match the return type of a gcc2
9459 builtin and then its argument prototype would still apply. */
9464 /* The GNU C library defines this for functions which it implements
9465 to always fail with ENOSYS. Some functions are actually named
9466 something starting with __ and the normal name is an alias. */
9467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9475 if { (eval echo configure:9476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9477 eval "ac_cv_func_$ac_func=yes"
9479 echo "configure: failed program was:" >&5
9480 cat conftest.$ac_ext >&5
9482 eval "ac_cv_func_$ac_func=no"
9487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9488 echo "$ac_t""yes" 1>&6
9489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9490 cat >> confdefs.h <<EOF
9491 #define $ac_tr_func 1
9495 echo "$ac_t""no" 1>&6
9496 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9502 if test -n "$LIBMATHOBJS"; then
9508 if test "$need_libmath" = yes; then
9509 GLIBCPP_BUILD_LIBMATH_TRUE=
9510 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9512 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9513 GLIBCPP_BUILD_LIBMATH_FALSE=
9519 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9520 echo "configure:9521: checking for mbstate_t" >&5
9521 cat > conftest.$ac_ext <<EOF
9522 #line 9523 "configure"
9523 #include "confdefs.h"
9526 mbstate_t teststate;
9529 if { (eval echo configure:9530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9533 echo "configure: failed program was:" >&5
9534 cat conftest.$ac_ext >&5
9539 echo "$ac_t""$have_mbstate_t" 1>&6
9540 if test x"$have_mbstate_t" = xyes; then
9541 cat >> confdefs.h <<\EOF
9542 #define HAVE_MBSTATE_T 1
9547 for ac_hdr in wchar.h
9549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9551 echo "configure:9552: checking for $ac_hdr" >&5
9552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9553 echo $ac_n "(cached) $ac_c" 1>&6
9555 cat > conftest.$ac_ext <<EOF
9556 #line 9557 "configure"
9557 #include "confdefs.h"
9560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9561 { (eval echo configure:9562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9563 if test -z "$ac_err"; then
9565 eval "ac_cv_header_$ac_safe=yes"
9568 echo "configure: failed program was:" >&5
9569 cat conftest.$ac_ext >&5
9571 eval "ac_cv_header_$ac_safe=no"
9575 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9576 echo "$ac_t""yes" 1>&6
9577 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9578 cat >> confdefs.h <<EOF
9579 #define $ac_tr_hdr 1
9583 echo "$ac_t""no" 1>&6
9588 for ac_hdr in wctype.h
9590 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9592 echo "configure:9593: checking for $ac_hdr" >&5
9593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9594 echo $ac_n "(cached) $ac_c" 1>&6
9596 cat > conftest.$ac_ext <<EOF
9597 #line 9598 "configure"
9598 #include "confdefs.h"
9601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9602 { (eval echo configure:9603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9604 if test -z "$ac_err"; then
9606 eval "ac_cv_header_$ac_safe=yes"
9609 echo "configure: failed program was:" >&5
9610 cat conftest.$ac_ext >&5
9612 eval "ac_cv_header_$ac_safe=no"
9616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9617 echo "$ac_t""yes" 1>&6
9618 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9619 cat >> confdefs.h <<EOF
9620 #define $ac_tr_hdr 1
9624 echo "$ac_t""no" 1>&6
9630 if test x"$ac_has_wchar_h" = xyes &&
9631 test x"$ac_has_wctype_h" = xyes &&
9632 test x"$enable_c_mbchar" != xno; then
9634 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9635 echo "configure:9636: checking for WCHAR_MIN and WCHAR_MAX" >&5
9636 cat > conftest.$ac_ext <<EOF
9637 #line 9638 "configure"
9638 #include "confdefs.h"
9641 int i = WCHAR_MIN; int j = WCHAR_MAX;
9644 if { (eval echo configure:9645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9646 has_wchar_minmax=yes
9648 echo "configure: failed program was:" >&5
9649 cat conftest.$ac_ext >&5
9654 echo "$ac_t""$has_wchar_minmax" 1>&6
9656 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9657 echo "configure:9658: checking for WEOF" >&5
9658 cat > conftest.$ac_ext <<EOF
9659 #line 9660 "configure"
9660 #include "confdefs.h"
9668 if { (eval echo configure:9669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9672 echo "configure: failed program was:" >&5
9673 cat conftest.$ac_ext >&5
9678 echo "$ac_t""$has_weof" 1>&6
9681 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9684 echo "configure:9685: checking for $ac_func" >&5
9685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9686 echo $ac_n "(cached) $ac_c" 1>&6
9688 cat > conftest.$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9691 /* System header to define __stub macros and hopefully few prototypes,
9692 which can conflict with char $ac_func(); below. */
9694 /* Override any gcc2 internal prototype to avoid an error. */
9695 /* We use char because int might match the return type of a gcc2
9696 builtin and then its argument prototype would still apply. */
9701 /* The GNU C library defines this for functions which it implements
9702 to always fail with ENOSYS. Some functions are actually named
9703 something starting with __ and the normal name is an alias. */
9704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9712 if { (eval echo configure:9713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9714 eval "ac_cv_func_$ac_func=yes"
9716 echo "configure: failed program was:" >&5
9717 cat conftest.$ac_ext >&5
9719 eval "ac_cv_func_$ac_func=no"
9724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9725 echo "$ac_t""yes" 1>&6
9726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9727 cat >> confdefs.h <<EOF
9728 #define $ac_tr_func 1
9732 echo "$ac_t""no" 1>&6
9739 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9740 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9741 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9742 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9743 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9744 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9747 echo "configure:9748: checking for $ac_func" >&5
9748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9749 echo $ac_n "(cached) $ac_c" 1>&6
9751 cat > conftest.$ac_ext <<EOF
9752 #line 9753 "configure"
9753 #include "confdefs.h"
9754 /* System header to define __stub macros and hopefully few prototypes,
9755 which can conflict with char $ac_func(); below. */
9757 /* Override any gcc2 internal prototype to avoid an error. */
9758 /* We use char because int might match the return type of a gcc2
9759 builtin and then its argument prototype would still apply. */
9764 /* The GNU C library defines this for functions which it implements
9765 to always fail with ENOSYS. Some functions are actually named
9766 something starting with __ and the normal name is an alias. */
9767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9775 if { (eval echo configure:9776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9777 eval "ac_cv_func_$ac_func=yes"
9779 echo "configure: failed program was:" >&5
9780 cat conftest.$ac_ext >&5
9782 eval "ac_cv_func_$ac_func=no"
9787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9788 echo "$ac_t""yes" 1>&6
9789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9790 cat >> confdefs.h <<EOF
9791 #define $ac_tr_func 1
9795 echo "$ac_t""no" 1>&6
9802 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9803 echo "configure:9804: checking for ISO C99 wchar_t support" >&5
9804 if test x"$has_weof" = xyes &&
9805 test x"$has_wchar_minmax" = xyes &&
9806 test x"$ac_wfuncs" = xyes; then
9807 ac_isoC99_wchar_t=yes
9809 ac_isoC99_wchar_t=no
9811 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9813 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9814 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9815 echo "configure:9816: checking for iconv.h" >&5
9816 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9817 echo $ac_n "(cached) $ac_c" 1>&6
9819 cat > conftest.$ac_ext <<EOF
9820 #line 9821 "configure"
9821 #include "confdefs.h"
9824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9825 { (eval echo configure:9826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9827 if test -z "$ac_err"; then
9829 eval "ac_cv_header_$ac_safe=yes"
9832 echo "configure: failed program was:" >&5
9833 cat conftest.$ac_ext >&5
9835 eval "ac_cv_header_$ac_safe=no"
9839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9840 echo "$ac_t""yes" 1>&6
9843 echo "$ac_t""no" 1>&6
9847 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9848 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9849 echo "configure:9850: checking for langinfo.h" >&5
9850 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9851 echo $ac_n "(cached) $ac_c" 1>&6
9853 cat > conftest.$ac_ext <<EOF
9854 #line 9855 "configure"
9855 #include "confdefs.h"
9856 #include <langinfo.h>
9858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9859 { (eval echo configure:9860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9861 if test -z "$ac_err"; then
9863 eval "ac_cv_header_$ac_safe=yes"
9866 echo "configure: failed program was:" >&5
9867 cat conftest.$ac_ext >&5
9869 eval "ac_cv_header_$ac_safe=no"
9873 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9874 echo "$ac_t""yes" 1>&6
9875 ac_has_langinfo_h=yes
9877 echo "$ac_t""no" 1>&6
9878 ac_has_langinfo_h=no
9882 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9883 echo "configure:9884: checking for iconv in -liconv" >&5
9884 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9886 echo $ac_n "(cached) $ac_c" 1>&6
9888 ac_save_LIBS="$LIBS"
9889 LIBS="-liconv $LIBS"
9890 cat > conftest.$ac_ext <<EOF
9891 #line 9892 "configure"
9892 #include "confdefs.h"
9893 /* Override any gcc2 internal prototype to avoid an error. */
9894 /* We use char because int might match the return type of a gcc2
9895 builtin and then its argument prototype would still apply. */
9902 if { (eval echo configure:9903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9904 eval "ac_cv_lib_$ac_lib_var=yes"
9906 echo "configure: failed program was:" >&5
9907 cat conftest.$ac_ext >&5
9909 eval "ac_cv_lib_$ac_lib_var=no"
9912 LIBS="$ac_save_LIBS"
9915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9916 echo "$ac_t""yes" 1>&6
9919 echo "$ac_t""no" 1>&6
9922 ac_save_LIBS="$LIBS"
9923 LIBS="$LIBS $libiconv"
9925 for ac_func in iconv_open iconv_close iconv nl_langinfo
9927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9928 echo "configure:9929: checking for $ac_func" >&5
9929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9930 echo $ac_n "(cached) $ac_c" 1>&6
9932 cat > conftest.$ac_ext <<EOF
9933 #line 9934 "configure"
9934 #include "confdefs.h"
9935 /* System header to define __stub macros and hopefully few prototypes,
9936 which can conflict with char $ac_func(); below. */
9938 /* Override any gcc2 internal prototype to avoid an error. */
9939 /* We use char because int might match the return type of a gcc2
9940 builtin and then its argument prototype would still apply. */
9945 /* The GNU C library defines this for functions which it implements
9946 to always fail with ENOSYS. Some functions are actually named
9947 something starting with __ and the normal name is an alias. */
9948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9956 if { (eval echo configure:9957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9958 eval "ac_cv_func_$ac_func=yes"
9960 echo "configure: failed program was:" >&5
9961 cat conftest.$ac_ext >&5
9963 eval "ac_cv_func_$ac_func=no"
9968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9969 echo "$ac_t""yes" 1>&6
9970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9971 cat >> confdefs.h <<EOF
9972 #define $ac_tr_func 1
9977 echo "$ac_t""no" 1>&6
9983 LIBS="$ac_save_LIBS"
9985 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9986 echo "configure:9987: checking for XPG2 wchar_t support" >&5
9987 if test x"$ac_has_iconv_h" = xyes &&
9988 test x"$ac_has_langinfo_h" = xyes &&
9989 test x"$ac_XPG2funcs" = xyes; then
9994 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9996 if test x"$ac_isoC99_wchar_t" = xyes &&
9997 test x"$ac_XPG2_wchar_t" = xyes; then
9998 cat >> confdefs.h <<\EOF
9999 #define _GLIBCPP_USE_WCHAR_T 1
10005 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
10006 echo "configure:10007: checking for enabled wchar_t specializations" >&5
10007 echo "$ac_t""$enable_wchar_t" 1>&6
10010 if test "$enable_wchar_t" = yes; then
10011 GLIBCPP_TEST_WCHAR_T_TRUE=
10012 GLIBCPP_TEST_WCHAR_T_FALSE='#'
10014 GLIBCPP_TEST_WCHAR_T_TRUE='#'
10015 GLIBCPP_TEST_WCHAR_T_FALSE=
10018 os_include_dir="os/qnx/qnx6.1"
10019 cat >> confdefs.h <<\EOF
10020 #define HAVE_COSF 1
10023 cat >> confdefs.h <<\EOF
10024 #define HAVE_COSL 1
10027 cat >> confdefs.h <<\EOF
10028 #define HAVE_COSHF 1
10031 cat >> confdefs.h <<\EOF
10032 #define HAVE_COSHL 1
10035 cat >> confdefs.h <<\EOF
10036 #define HAVE_LOGF 1
10039 cat >> confdefs.h <<\EOF
10040 #define HAVE_LOGL 1
10043 cat >> confdefs.h <<\EOF
10044 #define HAVE_LOG10F 1
10047 cat >> confdefs.h <<\EOF
10048 #define HAVE_LOG10L 1
10051 cat >> confdefs.h <<\EOF
10052 #define HAVE_SINF 1
10055 cat >> confdefs.h <<\EOF
10056 #define HAVE_SINL 1
10059 cat >> confdefs.h <<\EOF
10060 #define HAVE_SINHF 1
10063 cat >> confdefs.h <<\EOF
10064 #define HAVE_SINHL 1
10069 os_include_dir="os/newlib"
10070 cat >> confdefs.h <<\EOF
10071 #define HAVE_HYPOT 1
10081 cat >> confdefs.h <<\EOF
10082 #define HAVE_ACOSF 1
10085 cat >> confdefs.h <<\EOF
10086 #define HAVE_ASINF 1
10089 cat >> confdefs.h <<\EOF
10090 #define HAVE_ATAN2F 1
10093 cat >> confdefs.h <<\EOF
10094 #define HAVE_ATANF 1
10097 cat >> confdefs.h <<\EOF
10098 #define HAVE_CEILF 1
10101 cat >> confdefs.h <<\EOF
10102 #define HAVE_COPYSIGN 1
10105 cat >> confdefs.h <<\EOF
10106 #define HAVE_COPYSIGNF 1
10109 cat >> confdefs.h <<\EOF
10110 #define HAVE_COSF 1
10113 cat >> confdefs.h <<\EOF
10114 #define HAVE_COSHF 1
10117 cat >> confdefs.h <<\EOF
10118 #define HAVE_EXPF 1
10121 cat >> confdefs.h <<\EOF
10122 #define HAVE_FABSF 1
10125 cat >> confdefs.h <<\EOF
10126 #define HAVE_FLOORF 1
10129 cat >> confdefs.h <<\EOF
10130 #define HAVE_FMODF 1
10133 cat >> confdefs.h <<\EOF
10134 #define HAVE_FREXPF 1
10137 cat >> confdefs.h <<\EOF
10138 #define HAVE_LDEXPF 1
10141 cat >> confdefs.h <<\EOF
10142 #define HAVE_LOG10F 1
10145 cat >> confdefs.h <<\EOF
10146 #define HAVE_LOGF 1
10149 cat >> confdefs.h <<\EOF
10150 #define HAVE_MODFF 1
10153 cat >> confdefs.h <<\EOF
10154 #define HAVE_POWF 1
10157 cat >> confdefs.h <<\EOF
10158 #define HAVE_SINF 1
10161 cat >> confdefs.h <<\EOF
10162 #define HAVE_SINHF 1
10165 cat >> confdefs.h <<\EOF
10166 #define HAVE_SQRTF 1
10169 cat >> confdefs.h <<\EOF
10170 #define HAVE_TANF 1
10173 cat >> confdefs.h <<\EOF
10174 #define HAVE_TANHF 1
10179 # Must replicate generic section since we don't have strtof or strtold.
10180 cat >> confdefs.h <<\EOF
10181 #define HAVE_MMAP 1
10184 cat >> confdefs.h <<\EOF
10185 #define HAVE_ACOSF 1
10188 cat >> confdefs.h <<\EOF
10189 #define HAVE_ASINF 1
10192 cat >> confdefs.h <<\EOF
10193 #define HAVE_ATAN2F 1
10196 cat >> confdefs.h <<\EOF
10197 #define HAVE_ATANF 1
10200 cat >> confdefs.h <<\EOF
10201 #define HAVE_CEILF 1
10204 cat >> confdefs.h <<\EOF
10205 #define HAVE_COPYSIGN 1
10208 cat >> confdefs.h <<\EOF
10209 #define HAVE_COPYSIGNF 1
10212 cat >> confdefs.h <<\EOF
10213 #define HAVE_COSF 1
10216 cat >> confdefs.h <<\EOF
10217 #define HAVE_COSHF 1
10220 cat >> confdefs.h <<\EOF
10221 #define HAVE_EXPF 1
10224 cat >> confdefs.h <<\EOF
10225 #define HAVE_FABSF 1
10228 cat >> confdefs.h <<\EOF
10229 #define HAVE_FLOORF 1
10232 cat >> confdefs.h <<\EOF
10233 #define HAVE_FMODF 1
10236 cat >> confdefs.h <<\EOF
10237 #define HAVE_FREXPF 1
10240 cat >> confdefs.h <<\EOF
10241 #define HAVE_LDEXPF 1
10244 cat >> confdefs.h <<\EOF
10245 #define HAVE_LOG10F 1
10248 cat >> confdefs.h <<\EOF
10249 #define HAVE_LOGF 1
10252 cat >> confdefs.h <<\EOF
10253 #define HAVE_MODFF 1
10256 cat >> confdefs.h <<\EOF
10257 #define HAVE_POWF 1
10260 cat >> confdefs.h <<\EOF
10261 #define HAVE_SINF 1
10264 cat >> confdefs.h <<\EOF
10265 #define HAVE_SINHF 1
10268 cat >> confdefs.h <<\EOF
10269 #define HAVE_SQRTF 1
10272 cat >> confdefs.h <<\EOF
10273 #define HAVE_TANF 1
10276 cat >> confdefs.h <<\EOF
10277 #define HAVE_TANHF 1
10282 # GLIBCPP_CHECK_STDLIB_SUPPORT
10283 cat >> confdefs.h <<\EOF
10284 #define HAVE_STRTOF 1
10287 cat >> confdefs.h <<\EOF
10288 #define HAVE_STRTOLD 1
10292 cat >> confdefs.h <<\EOF
10293 #define HAVE_MMAP 1
10297 cat >> confdefs.h <<\EOF
10298 #define HAVE_ACOSF 1
10301 cat >> confdefs.h <<\EOF
10302 #define HAVE_ASINF 1
10305 cat >> confdefs.h <<\EOF
10306 #define HAVE_ATAN2F 1
10309 cat >> confdefs.h <<\EOF
10310 #define HAVE_ATANF 1
10313 cat >> confdefs.h <<\EOF
10314 #define HAVE_CEILF 1
10317 cat >> confdefs.h <<\EOF
10318 #define HAVE_COPYSIGN 1
10321 cat >> confdefs.h <<\EOF
10322 #define HAVE_COPYSIGNF 1
10325 cat >> confdefs.h <<\EOF
10326 #define HAVE_COSF 1
10329 cat >> confdefs.h <<\EOF
10330 #define HAVE_COSHF 1
10333 cat >> confdefs.h <<\EOF
10334 #define HAVE_EXPF 1
10337 cat >> confdefs.h <<\EOF
10338 #define HAVE_FABSF 1
10341 cat >> confdefs.h <<\EOF
10342 #define HAVE_FLOORF 1
10345 cat >> confdefs.h <<\EOF
10346 #define HAVE_FMODF 1
10349 cat >> confdefs.h <<\EOF
10350 #define HAVE_FREXPF 1
10353 cat >> confdefs.h <<\EOF
10354 #define HAVE_LDEXPF 1
10357 cat >> confdefs.h <<\EOF
10358 #define HAVE_LOG10F 1
10361 cat >> confdefs.h <<\EOF
10362 #define HAVE_LOGF 1
10365 cat >> confdefs.h <<\EOF
10366 #define HAVE_MODFF 1
10369 cat >> confdefs.h <<\EOF
10370 #define HAVE_POWF 1
10373 cat >> confdefs.h <<\EOF
10374 #define HAVE_SINF 1
10377 cat >> confdefs.h <<\EOF
10378 #define HAVE_SINHF 1
10381 cat >> confdefs.h <<\EOF
10382 #define HAVE_SQRTF 1
10385 cat >> confdefs.h <<\EOF
10386 #define HAVE_TANF 1
10389 cat >> confdefs.h <<\EOF
10390 #define HAVE_TANHF 1
10396 # At some point, we should differentiate between architectures
10397 # like x86, which have long double versions, and alpha/powerpc/etc.,
10398 # which don't. For the time being, punt.
10399 if test x"long_double_math_on_this_cpu" = x"yes"; then
10400 cat >> confdefs.h <<\EOF
10401 #define HAVE_ACOSL 1
10404 cat >> confdefs.h <<\EOF
10405 #define HAVE_ASINL 1
10408 cat >> confdefs.h <<\EOF
10409 #define HAVE_ATAN2L 1
10412 cat >> confdefs.h <<\EOF
10413 #define HAVE_ATANL 1
10416 cat >> confdefs.h <<\EOF
10417 #define HAVE_CEILL 1
10420 cat >> confdefs.h <<\EOF
10421 #define HAVE_COPYSIGNL 1
10424 cat >> confdefs.h <<\EOF
10425 #define HAVE_COSL 1
10428 cat >> confdefs.h <<\EOF
10429 #define HAVE_COSHL 1
10432 cat >> confdefs.h <<\EOF
10433 #define HAVE_EXPL 1
10436 cat >> confdefs.h <<\EOF
10437 #define HAVE_FABSL 1
10440 cat >> confdefs.h <<\EOF
10441 #define HAVE_FLOORL 1
10444 cat >> confdefs.h <<\EOF
10445 #define HAVE_FMODL 1
10448 cat >> confdefs.h <<\EOF
10449 #define HAVE_FREXPL 1
10452 cat >> confdefs.h <<\EOF
10453 #define HAVE_LDEXPL 1
10456 cat >> confdefs.h <<\EOF
10457 #define HAVE_LOG10L 1
10460 cat >> confdefs.h <<\EOF
10461 #define HAVE_LOGL 1
10464 cat >> confdefs.h <<\EOF
10465 #define HAVE_MODFL 1
10468 cat >> confdefs.h <<\EOF
10469 #define HAVE_POWL 1
10472 cat >> confdefs.h <<\EOF
10473 #define HAVE_SINCOSL 1
10476 cat >> confdefs.h <<\EOF
10477 #define HAVE_SINL 1
10480 cat >> confdefs.h <<\EOF
10481 #define HAVE_SINHL 1
10484 cat >> confdefs.h <<\EOF
10485 #define HAVE_SQRTL 1
10488 cat >> confdefs.h <<\EOF
10489 #define HAVE_TANL 1
10492 cat >> confdefs.h <<\EOF
10493 #define HAVE_TANHL 1
10500 # We are being configured natively. We can do more elaborate tests
10501 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10503 GLIBCPP_IS_CROSS_COMPILING=false
10506 # Check for available headers.
10507 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10508 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10511 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10512 echo "configure:10513: checking for $ac_hdr" >&5
10513 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10514 echo $ac_n "(cached) $ac_c" 1>&6
10516 cat > conftest.$ac_ext <<EOF
10517 #line 10518 "configure"
10518 #include "confdefs.h"
10521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10522 { (eval echo configure:10523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10524 if test -z "$ac_err"; then
10526 eval "ac_cv_header_$ac_safe=yes"
10529 echo "configure: failed program was:" >&5
10530 cat conftest.$ac_ext >&5
10532 eval "ac_cv_header_$ac_safe=no"
10536 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10537 echo "$ac_t""yes" 1>&6
10538 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10539 cat >> confdefs.h <<EOF
10540 #define $ac_tr_hdr 1
10544 echo "$ac_t""no" 1>&6
10550 # All these tests are for C++; save the language and the compiler flags.
10551 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10552 # found in GLIBCPP_CONFIGURE.
10555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10556 ac_cpp='$CXXCPP $CPPFLAGS'
10557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10559 cross_compiling=$ac_cv_prog_cxx_cross
10561 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10562 ac_save_CXXFLAGS="$CXXFLAGS"
10564 # Check for maintainer-mode bits.
10565 if test x"$USE_MAINTAINER_MODE" = xno; then
10571 # Check for -ffunction-sections -fdata-sections
10572 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10573 echo "configure:10574: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10574 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10575 cat > conftest.$ac_ext <<EOF
10576 #line 10577 "configure"
10577 #include "confdefs.h"
10584 if { (eval echo configure:10585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10588 echo "configure: failed program was:" >&5
10589 cat conftest.$ac_ext >&5
10594 if test "$ac_test_CXXFLAGS" = set; then
10595 CXXFLAGS="$ac_save_CXXFLAGS"
10597 # this is the suspicious part
10600 if test x"$ac_fdsections" = x"yes"; then
10601 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10603 echo "$ac_t""$ac_fdsections" 1>&6
10606 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10607 ac_cpp='$CPP $CPPFLAGS'
10608 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10609 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10610 cross_compiling=$ac_cv_prog_cc_cross
10616 # If we're not using GNU ld, then there's no point in even trying these
10617 # tests. Check for that first. We should have already tested for gld
10618 # by now (in libtool), but require it now just to be safe...
10619 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10620 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10623 # The name set by libtool depends on the version of libtool. Shame on us
10624 # for depending on an impl detail, but c'est la vie. Older versions used
10625 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10626 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10627 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10628 # set (hence we're using an older libtool), then set it.
10629 if test x${with_gnu_ld+set} != xset; then
10630 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10631 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10634 with_gnu_ld=$ac_cv_prog_gnu_ld
10638 # Start by getting the version number. I think the libtool test already
10639 # does some of this, but throws away the result.
10641 ldver=`$LD --version 2>/dev/null | head -1 | \
10642 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10644 glibcpp_gnu_ld_version=`echo $ldver | \
10645 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10647 # Set --gc-sections.
10648 if test "$with_gnu_ld" = "notbroken"; then
10649 # GNU ld it is! Joy and bunny rabbits!
10651 # All these tests are for C++; save the language and the compiler flags.
10652 # Need to do this so that g++ won't try to link in libstdc++
10653 ac_test_CFLAGS="${CFLAGS+set}"
10654 ac_save_CFLAGS="$CFLAGS"
10655 CFLAGS='-x c++ -Wl,--gc-sections'
10657 # Check for -Wl,--gc-sections
10658 # XXX This test is broken at the moment, as symbols required for
10659 # linking are now in libsupc++ (not built yet.....). In addition,
10660 # this test has cored on solaris in the past. In addition,
10661 # --gc-sections doesn't really work at the moment (keeps on discarding
10662 # used sections, first .eh_frame and now some of the glibc sections for
10663 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10664 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10665 echo "configure:10666: checking for ld that supports -Wl,--gc-sections" >&5
10666 if test "$cross_compiling" = yes; then
10667 ac_sectionLDflags=yes
10669 cat > conftest.$ac_ext <<EOF
10670 #line 10671 "configure"
10671 #include "confdefs.h"
10681 if { (eval echo configure:10682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10683 ac_sectionLDflags=yes
10685 echo "configure: failed program was:" >&5
10686 cat conftest.$ac_ext >&5
10688 ac_sectionLDflags=no
10693 if test "$ac_test_CFLAGS" = set; then
10694 CFLAGS="$ac_save_CFLAGS"
10696 # this is the suspicious part
10699 if test "$ac_sectionLDflags" = "yes"; then
10700 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10702 echo "$ac_t""$ac_sectionLDflags" 1>&6
10705 # Set linker optimization flags.
10706 if test x"$with_gnu_ld" = x"yes"; then
10707 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10715 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
10716 echo "configure:10717: checking for __builtin_abs declaration" >&5
10717 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10718 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10719 echo $ac_n "(cached) $ac_c" 1>&6
10724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10725 ac_cpp='$CXXCPP $CPPFLAGS'
10726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10728 cross_compiling=$ac_cv_prog_cxx_cross
10730 cat > conftest.$ac_ext <<EOF
10731 #line 10732 "configure"
10732 #include "confdefs.h"
10738 if { (eval echo configure:10739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10740 glibcpp_cv_func___builtin_abs_use=yes
10742 echo "configure: failed program was:" >&5
10743 cat conftest.$ac_ext >&5
10745 glibcpp_cv_func___builtin_abs_use=no
10749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10750 ac_cpp='$CPP $CPPFLAGS'
10751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10753 cross_compiling=$ac_cv_prog_cc_cross
10759 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10760 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10761 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
10762 echo "configure:10763: checking for __builtin_abs linkage" >&5
10763 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10764 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10765 echo $ac_n "(cached) $ac_c" 1>&6
10768 cat > conftest.$ac_ext <<EOF
10769 #line 10770 "configure"
10770 #include "confdefs.h"
10776 if { (eval echo configure:10777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10778 glibcpp_cv_func___builtin_abs_link=yes
10780 echo "configure: failed program was:" >&5
10781 cat conftest.$ac_ext >&5
10783 glibcpp_cv_func___builtin_abs_link=no
10790 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10791 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10792 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10793 cat >> confdefs.h <<EOF
10794 #define ${ac_tr_func} 1
10801 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
10802 echo "configure:10803: checking for __builtin_fabsf declaration" >&5
10803 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10804 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10805 echo $ac_n "(cached) $ac_c" 1>&6
10810 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10811 ac_cpp='$CXXCPP $CPPFLAGS'
10812 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10813 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10814 cross_compiling=$ac_cv_prog_cxx_cross
10816 cat > conftest.$ac_ext <<EOF
10817 #line 10818 "configure"
10818 #include "confdefs.h"
10821 __builtin_fabsf(0);
10824 if { (eval echo configure:10825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10826 glibcpp_cv_func___builtin_fabsf_use=yes
10828 echo "configure: failed program was:" >&5
10829 cat conftest.$ac_ext >&5
10831 glibcpp_cv_func___builtin_fabsf_use=no
10835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10836 ac_cpp='$CPP $CPPFLAGS'
10837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10839 cross_compiling=$ac_cv_prog_cc_cross
10845 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10846 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10847 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
10848 echo "configure:10849: checking for __builtin_fabsf linkage" >&5
10849 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10850 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10851 echo $ac_n "(cached) $ac_c" 1>&6
10854 cat > conftest.$ac_ext <<EOF
10855 #line 10856 "configure"
10856 #include "confdefs.h"
10859 __builtin_fabsf(0);
10862 if { (eval echo configure:10863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10864 glibcpp_cv_func___builtin_fabsf_link=yes
10866 echo "configure: failed program was:" >&5
10867 cat conftest.$ac_ext >&5
10869 glibcpp_cv_func___builtin_fabsf_link=no
10876 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10877 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10878 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10879 cat >> confdefs.h <<EOF
10880 #define ${ac_tr_func} 1
10887 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
10888 echo "configure:10889: checking for __builtin_fabs declaration" >&5
10889 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10890 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10891 echo $ac_n "(cached) $ac_c" 1>&6
10896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10897 ac_cpp='$CXXCPP $CPPFLAGS'
10898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10900 cross_compiling=$ac_cv_prog_cxx_cross
10902 cat > conftest.$ac_ext <<EOF
10903 #line 10904 "configure"
10904 #include "confdefs.h"
10910 if { (eval echo configure:10911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10912 glibcpp_cv_func___builtin_fabs_use=yes
10914 echo "configure: failed program was:" >&5
10915 cat conftest.$ac_ext >&5
10917 glibcpp_cv_func___builtin_fabs_use=no
10921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10922 ac_cpp='$CPP $CPPFLAGS'
10923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10925 cross_compiling=$ac_cv_prog_cc_cross
10931 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10932 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10933 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
10934 echo "configure:10935: checking for __builtin_fabs linkage" >&5
10935 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10936 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10937 echo $ac_n "(cached) $ac_c" 1>&6
10940 cat > conftest.$ac_ext <<EOF
10941 #line 10942 "configure"
10942 #include "confdefs.h"
10948 if { (eval echo configure:10949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10950 glibcpp_cv_func___builtin_fabs_link=yes
10952 echo "configure: failed program was:" >&5
10953 cat conftest.$ac_ext >&5
10955 glibcpp_cv_func___builtin_fabs_link=no
10962 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10963 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10964 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10965 cat >> confdefs.h <<EOF
10966 #define ${ac_tr_func} 1
10973 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
10974 echo "configure:10975: checking for __builtin_fabsl declaration" >&5
10975 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10976 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10977 echo $ac_n "(cached) $ac_c" 1>&6
10982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10983 ac_cpp='$CXXCPP $CPPFLAGS'
10984 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10985 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10986 cross_compiling=$ac_cv_prog_cxx_cross
10988 cat > conftest.$ac_ext <<EOF
10989 #line 10990 "configure"
10990 #include "confdefs.h"
10993 __builtin_fabsl(0);
10996 if { (eval echo configure:10997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10998 glibcpp_cv_func___builtin_fabsl_use=yes
11000 echo "configure: failed program was:" >&5
11001 cat conftest.$ac_ext >&5
11003 glibcpp_cv_func___builtin_fabsl_use=no
11007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11008 ac_cpp='$CPP $CPPFLAGS'
11009 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11010 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11011 cross_compiling=$ac_cv_prog_cc_cross
11017 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
11018 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
11019 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
11020 echo "configure:11021: checking for __builtin_fabsl linkage" >&5
11021 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
11022 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
11023 echo $ac_n "(cached) $ac_c" 1>&6
11026 cat > conftest.$ac_ext <<EOF
11027 #line 11028 "configure"
11028 #include "confdefs.h"
11031 __builtin_fabsl(0);
11034 if { (eval echo configure:11035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11036 glibcpp_cv_func___builtin_fabsl_link=yes
11038 echo "configure: failed program was:" >&5
11039 cat conftest.$ac_ext >&5
11041 glibcpp_cv_func___builtin_fabsl_link=no
11048 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
11049 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
11050 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11051 cat >> confdefs.h <<EOF
11052 #define ${ac_tr_func} 1
11059 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
11060 echo "configure:11061: checking for __builtin_labs declaration" >&5
11061 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
11062 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
11063 echo $ac_n "(cached) $ac_c" 1>&6
11068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11069 ac_cpp='$CXXCPP $CPPFLAGS'
11070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11072 cross_compiling=$ac_cv_prog_cxx_cross
11074 cat > conftest.$ac_ext <<EOF
11075 #line 11076 "configure"
11076 #include "confdefs.h"
11082 if { (eval echo configure:11083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11084 glibcpp_cv_func___builtin_labs_use=yes
11086 echo "configure: failed program was:" >&5
11087 cat conftest.$ac_ext >&5
11089 glibcpp_cv_func___builtin_labs_use=no
11093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11094 ac_cpp='$CPP $CPPFLAGS'
11095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11097 cross_compiling=$ac_cv_prog_cc_cross
11103 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
11104 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
11105 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
11106 echo "configure:11107: checking for __builtin_labs linkage" >&5
11107 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
11108 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
11109 echo $ac_n "(cached) $ac_c" 1>&6
11112 cat > conftest.$ac_ext <<EOF
11113 #line 11114 "configure"
11114 #include "confdefs.h"
11120 if { (eval echo configure:11121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11122 glibcpp_cv_func___builtin_labs_link=yes
11124 echo "configure: failed program was:" >&5
11125 cat conftest.$ac_ext >&5
11127 glibcpp_cv_func___builtin_labs_link=no
11134 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
11135 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
11136 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11137 cat >> confdefs.h <<EOF
11138 #define ${ac_tr_func} 1
11146 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
11147 echo "configure:11148: checking for __builtin_sqrtf declaration" >&5
11148 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
11149 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
11150 echo $ac_n "(cached) $ac_c" 1>&6
11155 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11156 ac_cpp='$CXXCPP $CPPFLAGS'
11157 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11158 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11159 cross_compiling=$ac_cv_prog_cxx_cross
11161 cat > conftest.$ac_ext <<EOF
11162 #line 11163 "configure"
11163 #include "confdefs.h"
11166 __builtin_sqrtf(0);
11169 if { (eval echo configure:11170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11171 glibcpp_cv_func___builtin_sqrtf_use=yes
11173 echo "configure: failed program was:" >&5
11174 cat conftest.$ac_ext >&5
11176 glibcpp_cv_func___builtin_sqrtf_use=no
11180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11181 ac_cpp='$CPP $CPPFLAGS'
11182 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11183 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11184 cross_compiling=$ac_cv_prog_cc_cross
11190 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
11191 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
11192 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
11193 echo "configure:11194: checking for __builtin_sqrtf linkage" >&5
11194 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
11195 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
11196 echo $ac_n "(cached) $ac_c" 1>&6
11199 cat > conftest.$ac_ext <<EOF
11200 #line 11201 "configure"
11201 #include "confdefs.h"
11204 __builtin_sqrtf(0);
11207 if { (eval echo configure:11208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11209 glibcpp_cv_func___builtin_sqrtf_link=yes
11211 echo "configure: failed program was:" >&5
11212 cat conftest.$ac_ext >&5
11214 glibcpp_cv_func___builtin_sqrtf_link=no
11221 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11222 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11223 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11224 cat >> confdefs.h <<EOF
11225 #define ${ac_tr_func} 1
11232 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
11233 echo "configure:11234: checking for __builtin_sqrt declaration" >&5
11234 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11235 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11236 echo $ac_n "(cached) $ac_c" 1>&6
11241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11242 ac_cpp='$CXXCPP $CPPFLAGS'
11243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11245 cross_compiling=$ac_cv_prog_cxx_cross
11247 cat > conftest.$ac_ext <<EOF
11248 #line 11249 "configure"
11249 #include "confdefs.h"
11255 if { (eval echo configure:11256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11257 glibcpp_cv_func___builtin_sqrt_use=yes
11259 echo "configure: failed program was:" >&5
11260 cat conftest.$ac_ext >&5
11262 glibcpp_cv_func___builtin_sqrt_use=no
11266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11267 ac_cpp='$CPP $CPPFLAGS'
11268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11270 cross_compiling=$ac_cv_prog_cc_cross
11276 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11277 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11278 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
11279 echo "configure:11280: checking for __builtin_sqrt linkage" >&5
11280 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11281 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11282 echo $ac_n "(cached) $ac_c" 1>&6
11285 cat > conftest.$ac_ext <<EOF
11286 #line 11287 "configure"
11287 #include "confdefs.h"
11293 if { (eval echo configure:11294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11295 glibcpp_cv_func___builtin_sqrt_link=yes
11297 echo "configure: failed program was:" >&5
11298 cat conftest.$ac_ext >&5
11300 glibcpp_cv_func___builtin_sqrt_link=no
11307 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11308 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11309 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11310 cat >> confdefs.h <<EOF
11311 #define ${ac_tr_func} 1
11318 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
11319 echo "configure:11320: checking for __builtin_sqrtl declaration" >&5
11320 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11321 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11322 echo $ac_n "(cached) $ac_c" 1>&6
11327 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11328 ac_cpp='$CXXCPP $CPPFLAGS'
11329 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11330 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11331 cross_compiling=$ac_cv_prog_cxx_cross
11333 cat > conftest.$ac_ext <<EOF
11334 #line 11335 "configure"
11335 #include "confdefs.h"
11338 __builtin_sqrtl(0);
11341 if { (eval echo configure:11342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11343 glibcpp_cv_func___builtin_sqrtl_use=yes
11345 echo "configure: failed program was:" >&5
11346 cat conftest.$ac_ext >&5
11348 glibcpp_cv_func___builtin_sqrtl_use=no
11352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11353 ac_cpp='$CPP $CPPFLAGS'
11354 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11355 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11356 cross_compiling=$ac_cv_prog_cc_cross
11362 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11363 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11364 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
11365 echo "configure:11366: checking for __builtin_sqrtl linkage" >&5
11366 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11367 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11368 echo $ac_n "(cached) $ac_c" 1>&6
11371 cat > conftest.$ac_ext <<EOF
11372 #line 11373 "configure"
11373 #include "confdefs.h"
11376 __builtin_sqrtl(0);
11379 if { (eval echo configure:11380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11381 glibcpp_cv_func___builtin_sqrtl_link=yes
11383 echo "configure: failed program was:" >&5
11384 cat conftest.$ac_ext >&5
11386 glibcpp_cv_func___builtin_sqrtl_link=no
11393 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11394 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11395 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11396 cat >> confdefs.h <<EOF
11397 #define ${ac_tr_func} 1
11405 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
11406 echo "configure:11407: checking for __builtin_sinf declaration" >&5
11407 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11408 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11409 echo $ac_n "(cached) $ac_c" 1>&6
11414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11415 ac_cpp='$CXXCPP $CPPFLAGS'
11416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11418 cross_compiling=$ac_cv_prog_cxx_cross
11420 cat > conftest.$ac_ext <<EOF
11421 #line 11422 "configure"
11422 #include "confdefs.h"
11428 if { (eval echo configure:11429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11430 glibcpp_cv_func___builtin_sinf_use=yes
11432 echo "configure: failed program was:" >&5
11433 cat conftest.$ac_ext >&5
11435 glibcpp_cv_func___builtin_sinf_use=no
11439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11440 ac_cpp='$CPP $CPPFLAGS'
11441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11443 cross_compiling=$ac_cv_prog_cc_cross
11449 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11450 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11451 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
11452 echo "configure:11453: checking for __builtin_sinf linkage" >&5
11453 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11454 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11455 echo $ac_n "(cached) $ac_c" 1>&6
11458 cat > conftest.$ac_ext <<EOF
11459 #line 11460 "configure"
11460 #include "confdefs.h"
11466 if { (eval echo configure:11467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11468 glibcpp_cv_func___builtin_sinf_link=yes
11470 echo "configure: failed program was:" >&5
11471 cat conftest.$ac_ext >&5
11473 glibcpp_cv_func___builtin_sinf_link=no
11480 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11481 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11482 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11483 cat >> confdefs.h <<EOF
11484 #define ${ac_tr_func} 1
11491 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
11492 echo "configure:11493: checking for __builtin_sin declaration" >&5
11493 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11494 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11495 echo $ac_n "(cached) $ac_c" 1>&6
11500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11501 ac_cpp='$CXXCPP $CPPFLAGS'
11502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11504 cross_compiling=$ac_cv_prog_cxx_cross
11506 cat > conftest.$ac_ext <<EOF
11507 #line 11508 "configure"
11508 #include "confdefs.h"
11514 if { (eval echo configure:11515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11516 glibcpp_cv_func___builtin_sin_use=yes
11518 echo "configure: failed program was:" >&5
11519 cat conftest.$ac_ext >&5
11521 glibcpp_cv_func___builtin_sin_use=no
11525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11526 ac_cpp='$CPP $CPPFLAGS'
11527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11529 cross_compiling=$ac_cv_prog_cc_cross
11535 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11536 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11537 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
11538 echo "configure:11539: checking for __builtin_sin linkage" >&5
11539 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11540 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11541 echo $ac_n "(cached) $ac_c" 1>&6
11544 cat > conftest.$ac_ext <<EOF
11545 #line 11546 "configure"
11546 #include "confdefs.h"
11552 if { (eval echo configure:11553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11554 glibcpp_cv_func___builtin_sin_link=yes
11556 echo "configure: failed program was:" >&5
11557 cat conftest.$ac_ext >&5
11559 glibcpp_cv_func___builtin_sin_link=no
11566 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11567 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11568 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11569 cat >> confdefs.h <<EOF
11570 #define ${ac_tr_func} 1
11577 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
11578 echo "configure:11579: checking for __builtin_sinl declaration" >&5
11579 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11580 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
11581 echo $ac_n "(cached) $ac_c" 1>&6
11586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11587 ac_cpp='$CXXCPP $CPPFLAGS'
11588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11590 cross_compiling=$ac_cv_prog_cxx_cross
11592 cat > conftest.$ac_ext <<EOF
11593 #line 11594 "configure"
11594 #include "confdefs.h"
11600 if { (eval echo configure:11601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11602 glibcpp_cv_func___builtin_sinl_use=yes
11604 echo "configure: failed program was:" >&5
11605 cat conftest.$ac_ext >&5
11607 glibcpp_cv_func___builtin_sinl_use=no
11611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11612 ac_cpp='$CPP $CPPFLAGS'
11613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11615 cross_compiling=$ac_cv_prog_cc_cross
11621 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
11622 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11623 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
11624 echo "configure:11625: checking for __builtin_sinl linkage" >&5
11625 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11626 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11627 echo $ac_n "(cached) $ac_c" 1>&6
11630 cat > conftest.$ac_ext <<EOF
11631 #line 11632 "configure"
11632 #include "confdefs.h"
11638 if { (eval echo configure:11639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11640 glibcpp_cv_func___builtin_sinl_link=yes
11642 echo "configure: failed program was:" >&5
11643 cat conftest.$ac_ext >&5
11645 glibcpp_cv_func___builtin_sinl_link=no
11652 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11653 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11654 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11655 cat >> confdefs.h <<EOF
11656 #define ${ac_tr_func} 1
11664 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
11665 echo "configure:11666: checking for __builtin_cosf declaration" >&5
11666 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11667 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11668 echo $ac_n "(cached) $ac_c" 1>&6
11673 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11674 ac_cpp='$CXXCPP $CPPFLAGS'
11675 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11676 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11677 cross_compiling=$ac_cv_prog_cxx_cross
11679 cat > conftest.$ac_ext <<EOF
11680 #line 11681 "configure"
11681 #include "confdefs.h"
11687 if { (eval echo configure:11688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11689 glibcpp_cv_func___builtin_cosf_use=yes
11691 echo "configure: failed program was:" >&5
11692 cat conftest.$ac_ext >&5
11694 glibcpp_cv_func___builtin_cosf_use=no
11698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11699 ac_cpp='$CPP $CPPFLAGS'
11700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11702 cross_compiling=$ac_cv_prog_cc_cross
11708 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11709 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11710 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
11711 echo "configure:11712: checking for __builtin_cosf linkage" >&5
11712 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11713 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11714 echo $ac_n "(cached) $ac_c" 1>&6
11717 cat > conftest.$ac_ext <<EOF
11718 #line 11719 "configure"
11719 #include "confdefs.h"
11725 if { (eval echo configure:11726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11727 glibcpp_cv_func___builtin_cosf_link=yes
11729 echo "configure: failed program was:" >&5
11730 cat conftest.$ac_ext >&5
11732 glibcpp_cv_func___builtin_cosf_link=no
11739 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11740 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11741 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11742 cat >> confdefs.h <<EOF
11743 #define ${ac_tr_func} 1
11750 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
11751 echo "configure:11752: checking for __builtin_cos declaration" >&5
11752 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11753 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11754 echo $ac_n "(cached) $ac_c" 1>&6
11759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11760 ac_cpp='$CXXCPP $CPPFLAGS'
11761 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11762 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11763 cross_compiling=$ac_cv_prog_cxx_cross
11765 cat > conftest.$ac_ext <<EOF
11766 #line 11767 "configure"
11767 #include "confdefs.h"
11773 if { (eval echo configure:11774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11775 glibcpp_cv_func___builtin_cos_use=yes
11777 echo "configure: failed program was:" >&5
11778 cat conftest.$ac_ext >&5
11780 glibcpp_cv_func___builtin_cos_use=no
11784 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11785 ac_cpp='$CPP $CPPFLAGS'
11786 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11787 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11788 cross_compiling=$ac_cv_prog_cc_cross
11794 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11795 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11796 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
11797 echo "configure:11798: checking for __builtin_cos linkage" >&5
11798 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11799 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11800 echo $ac_n "(cached) $ac_c" 1>&6
11803 cat > conftest.$ac_ext <<EOF
11804 #line 11805 "configure"
11805 #include "confdefs.h"
11811 if { (eval echo configure:11812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11813 glibcpp_cv_func___builtin_cos_link=yes
11815 echo "configure: failed program was:" >&5
11816 cat conftest.$ac_ext >&5
11818 glibcpp_cv_func___builtin_cos_link=no
11825 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11826 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11827 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11828 cat >> confdefs.h <<EOF
11829 #define ${ac_tr_func} 1
11836 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
11837 echo "configure:11838: checking for __builtin_cosl declaration" >&5
11838 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11839 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11840 echo $ac_n "(cached) $ac_c" 1>&6
11845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11846 ac_cpp='$CXXCPP $CPPFLAGS'
11847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11849 cross_compiling=$ac_cv_prog_cxx_cross
11851 cat > conftest.$ac_ext <<EOF
11852 #line 11853 "configure"
11853 #include "confdefs.h"
11859 if { (eval echo configure:11860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11861 glibcpp_cv_func___builtin_cosl_use=yes
11863 echo "configure: failed program was:" >&5
11864 cat conftest.$ac_ext >&5
11866 glibcpp_cv_func___builtin_cosl_use=no
11870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11871 ac_cpp='$CPP $CPPFLAGS'
11872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11874 cross_compiling=$ac_cv_prog_cc_cross
11880 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11881 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11882 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
11883 echo "configure:11884: checking for __builtin_cosl linkage" >&5
11884 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11885 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11886 echo $ac_n "(cached) $ac_c" 1>&6
11889 cat > conftest.$ac_ext <<EOF
11890 #line 11891 "configure"
11891 #include "confdefs.h"
11897 if { (eval echo configure:11898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11899 glibcpp_cv_func___builtin_cosl_link=yes
11901 echo "configure: failed program was:" >&5
11902 cat conftest.$ac_ext >&5
11904 glibcpp_cv_func___builtin_cosl_link=no
11911 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11912 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11913 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11914 cat >> confdefs.h <<EOF
11915 #define ${ac_tr_func} 1
11923 if test x$dummyvar = x"yes"; then
11924 cat >> confdefs.h <<\EOF
11925 #define HAVE___BUILTIN_ABS 1
11928 cat >> confdefs.h <<\EOF
11929 #define HAVE___BUILTIN_LABS 1
11932 cat >> confdefs.h <<\EOF
11933 #define HAVE___BUILTIN_COS 1
11936 cat >> confdefs.h <<\EOF
11937 #define HAVE___BUILTIN_COSF 1
11940 cat >> confdefs.h <<\EOF
11941 #define HAVE___BUILTIN_COSL 1
11944 cat >> confdefs.h <<\EOF
11945 #define HAVE___BUILTIN_FABS 1
11948 cat >> confdefs.h <<\EOF
11949 #define HAVE___BUILTIN_FABSF 1
11952 cat >> confdefs.h <<\EOF
11953 #define HAVE___BUILTIN_FABSL 1
11956 cat >> confdefs.h <<\EOF
11957 #define HAVE___BUILTIN_SIN 1
11960 cat >> confdefs.h <<\EOF
11961 #define HAVE___BUILTIN_SINF 1
11964 cat >> confdefs.h <<\EOF
11965 #define HAVE___BUILTIN_SINL 1
11968 cat >> confdefs.h <<\EOF
11969 #define HAVE___BUILTIN_SQRT 1
11972 cat >> confdefs.h <<\EOF
11973 #define HAVE___BUILTIN_SQRTF 1
11976 cat >> confdefs.h <<\EOF
11977 #define HAVE___BUILTIN_SQRTL 1
11983 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11984 ac_save_CXXFLAGS="$CXXFLAGS"
11985 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
11987 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
11988 echo "configure:11989: checking for sin in -lm" >&5
11989 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11990 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11991 echo $ac_n "(cached) $ac_c" 1>&6
11993 ac_save_LIBS="$LIBS"
11995 cat > conftest.$ac_ext <<EOF
11996 #line 11997 "configure"
11997 #include "confdefs.h"
11998 /* Override any gcc2 internal prototype to avoid an error. */
11999 /* We use char because int might match the return type of a gcc2
12000 builtin and then its argument prototype would still apply. */
12007 if { (eval echo configure:12008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12009 eval "ac_cv_lib_$ac_lib_var=yes"
12011 echo "configure: failed program was:" >&5
12012 cat conftest.$ac_ext >&5
12014 eval "ac_cv_lib_$ac_lib_var=no"
12017 LIBS="$ac_save_LIBS"
12020 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12021 echo "$ac_t""yes" 1>&6
12024 echo "$ac_t""no" 1>&6
12027 ac_save_LIBS="$LIBS"
12032 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
12033 echo "configure:12034: checking for isinf declaration" >&5
12034 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
12035 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
12036 echo $ac_n "(cached) $ac_c" 1>&6
12041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12042 ac_cpp='$CXXCPP $CPPFLAGS'
12043 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12044 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12045 cross_compiling=$ac_cv_prog_cxx_cross
12047 cat > conftest.$ac_ext <<EOF
12048 #line 12049 "configure"
12049 #include "confdefs.h"
12051 #ifdef HAVE_IEEEFP_H
12052 #include <ieeefp.h>
12059 if { (eval echo configure:12060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12061 glibcpp_cv_func_isinf_use=yes
12063 echo "configure: failed program was:" >&5
12064 cat conftest.$ac_ext >&5
12066 glibcpp_cv_func_isinf_use=no
12070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12071 ac_cpp='$CPP $CPPFLAGS'
12072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12074 cross_compiling=$ac_cv_prog_cc_cross
12080 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
12082 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
12083 for ac_func in isinf
12085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12086 echo "configure:12087: checking for $ac_func" >&5
12087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12088 echo $ac_n "(cached) $ac_c" 1>&6
12090 cat > conftest.$ac_ext <<EOF
12091 #line 12092 "configure"
12092 #include "confdefs.h"
12093 /* System header to define __stub macros and hopefully few prototypes,
12094 which can conflict with char $ac_func(); below. */
12095 #include <assert.h>
12096 /* Override any gcc2 internal prototype to avoid an error. */
12097 /* We use char because int might match the return type of a gcc2
12098 builtin and then its argument prototype would still apply. */
12103 /* The GNU C library defines this for functions which it implements
12104 to always fail with ENOSYS. Some functions are actually named
12105 something starting with __ and the normal name is an alias. */
12106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12114 if { (eval echo configure:12115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12116 eval "ac_cv_func_$ac_func=yes"
12118 echo "configure: failed program was:" >&5
12119 cat conftest.$ac_ext >&5
12121 eval "ac_cv_func_$ac_func=no"
12126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12127 echo "$ac_t""yes" 1>&6
12128 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12129 cat >> confdefs.h <<EOF
12130 #define $ac_tr_func 1
12134 echo "$ac_t""no" 1>&6
12140 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
12141 echo "configure:12142: checking for _isinf declaration" >&5
12142 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
12143 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
12144 echo $ac_n "(cached) $ac_c" 1>&6
12149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12150 ac_cpp='$CXXCPP $CPPFLAGS'
12151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12153 cross_compiling=$ac_cv_prog_cxx_cross
12155 cat > conftest.$ac_ext <<EOF
12156 #line 12157 "configure"
12157 #include "confdefs.h"
12159 #ifdef HAVE_IEEEFP_H
12160 #include <ieeefp.h>
12167 if { (eval echo configure:12168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12169 glibcpp_cv_func__isinf_use=yes
12171 echo "configure: failed program was:" >&5
12172 cat conftest.$ac_ext >&5
12174 glibcpp_cv_func__isinf_use=no
12178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12179 ac_cpp='$CPP $CPPFLAGS'
12180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12182 cross_compiling=$ac_cv_prog_cc_cross
12188 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
12190 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
12191 for ac_func in _isinf
12193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12194 echo "configure:12195: checking for $ac_func" >&5
12195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12196 echo $ac_n "(cached) $ac_c" 1>&6
12198 cat > conftest.$ac_ext <<EOF
12199 #line 12200 "configure"
12200 #include "confdefs.h"
12201 /* System header to define __stub macros and hopefully few prototypes,
12202 which can conflict with char $ac_func(); below. */
12203 #include <assert.h>
12204 /* Override any gcc2 internal prototype to avoid an error. */
12205 /* We use char because int might match the return type of a gcc2
12206 builtin and then its argument prototype would still apply. */
12211 /* The GNU C library defines this for functions which it implements
12212 to always fail with ENOSYS. Some functions are actually named
12213 something starting with __ and the normal name is an alias. */
12214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12222 if { (eval echo configure:12223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12224 eval "ac_cv_func_$ac_func=yes"
12226 echo "configure: failed program was:" >&5
12227 cat conftest.$ac_ext >&5
12229 eval "ac_cv_func_$ac_func=no"
12234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12235 echo "$ac_t""yes" 1>&6
12236 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12237 cat >> confdefs.h <<EOF
12238 #define $ac_tr_func 1
12242 echo "$ac_t""no" 1>&6
12251 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
12252 echo "configure:12253: checking for isnan declaration" >&5
12253 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12254 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12255 echo $ac_n "(cached) $ac_c" 1>&6
12260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12261 ac_cpp='$CXXCPP $CPPFLAGS'
12262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12264 cross_compiling=$ac_cv_prog_cxx_cross
12266 cat > conftest.$ac_ext <<EOF
12267 #line 12268 "configure"
12268 #include "confdefs.h"
12270 #ifdef HAVE_IEEEFP_H
12271 #include <ieeefp.h>
12278 if { (eval echo configure:12279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12280 glibcpp_cv_func_isnan_use=yes
12282 echo "configure: failed program was:" >&5
12283 cat conftest.$ac_ext >&5
12285 glibcpp_cv_func_isnan_use=no
12289 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12290 ac_cpp='$CPP $CPPFLAGS'
12291 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12292 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12293 cross_compiling=$ac_cv_prog_cc_cross
12299 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12301 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12302 for ac_func in isnan
12304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12305 echo "configure:12306: checking for $ac_func" >&5
12306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12307 echo $ac_n "(cached) $ac_c" 1>&6
12309 cat > conftest.$ac_ext <<EOF
12310 #line 12311 "configure"
12311 #include "confdefs.h"
12312 /* System header to define __stub macros and hopefully few prototypes,
12313 which can conflict with char $ac_func(); below. */
12314 #include <assert.h>
12315 /* Override any gcc2 internal prototype to avoid an error. */
12316 /* We use char because int might match the return type of a gcc2
12317 builtin and then its argument prototype would still apply. */
12322 /* The GNU C library defines this for functions which it implements
12323 to always fail with ENOSYS. Some functions are actually named
12324 something starting with __ and the normal name is an alias. */
12325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12333 if { (eval echo configure:12334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12335 eval "ac_cv_func_$ac_func=yes"
12337 echo "configure: failed program was:" >&5
12338 cat conftest.$ac_ext >&5
12340 eval "ac_cv_func_$ac_func=no"
12345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12346 echo "$ac_t""yes" 1>&6
12347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12348 cat >> confdefs.h <<EOF
12349 #define $ac_tr_func 1
12353 echo "$ac_t""no" 1>&6
12359 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
12360 echo "configure:12361: checking for _isnan declaration" >&5
12361 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12362 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12363 echo $ac_n "(cached) $ac_c" 1>&6
12368 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12369 ac_cpp='$CXXCPP $CPPFLAGS'
12370 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12371 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12372 cross_compiling=$ac_cv_prog_cxx_cross
12374 cat > conftest.$ac_ext <<EOF
12375 #line 12376 "configure"
12376 #include "confdefs.h"
12378 #ifdef HAVE_IEEEFP_H
12379 #include <ieeefp.h>
12386 if { (eval echo configure:12387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12388 glibcpp_cv_func__isnan_use=yes
12390 echo "configure: failed program was:" >&5
12391 cat conftest.$ac_ext >&5
12393 glibcpp_cv_func__isnan_use=no
12397 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12398 ac_cpp='$CPP $CPPFLAGS'
12399 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12400 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12401 cross_compiling=$ac_cv_prog_cc_cross
12407 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12409 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12410 for ac_func in _isnan
12412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12413 echo "configure:12414: checking for $ac_func" >&5
12414 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12415 echo $ac_n "(cached) $ac_c" 1>&6
12417 cat > conftest.$ac_ext <<EOF
12418 #line 12419 "configure"
12419 #include "confdefs.h"
12420 /* System header to define __stub macros and hopefully few prototypes,
12421 which can conflict with char $ac_func(); below. */
12422 #include <assert.h>
12423 /* Override any gcc2 internal prototype to avoid an error. */
12424 /* We use char because int might match the return type of a gcc2
12425 builtin and then its argument prototype would still apply. */
12430 /* The GNU C library defines this for functions which it implements
12431 to always fail with ENOSYS. Some functions are actually named
12432 something starting with __ and the normal name is an alias. */
12433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12441 if { (eval echo configure:12442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12443 eval "ac_cv_func_$ac_func=yes"
12445 echo "configure: failed program was:" >&5
12446 cat conftest.$ac_ext >&5
12448 eval "ac_cv_func_$ac_func=no"
12453 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12454 echo "$ac_t""yes" 1>&6
12455 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12456 cat >> confdefs.h <<EOF
12457 #define $ac_tr_func 1
12461 echo "$ac_t""no" 1>&6
12470 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
12471 echo "configure:12472: checking for finite declaration" >&5
12472 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12473 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12474 echo $ac_n "(cached) $ac_c" 1>&6
12479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12480 ac_cpp='$CXXCPP $CPPFLAGS'
12481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12483 cross_compiling=$ac_cv_prog_cxx_cross
12485 cat > conftest.$ac_ext <<EOF
12486 #line 12487 "configure"
12487 #include "confdefs.h"
12489 #ifdef HAVE_IEEEFP_H
12490 #include <ieeefp.h>
12497 if { (eval echo configure:12498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12499 glibcpp_cv_func_finite_use=yes
12501 echo "configure: failed program was:" >&5
12502 cat conftest.$ac_ext >&5
12504 glibcpp_cv_func_finite_use=no
12508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12509 ac_cpp='$CPP $CPPFLAGS'
12510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12512 cross_compiling=$ac_cv_prog_cc_cross
12518 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12520 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12521 for ac_func in finite
12523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12524 echo "configure:12525: checking for $ac_func" >&5
12525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12526 echo $ac_n "(cached) $ac_c" 1>&6
12528 cat > conftest.$ac_ext <<EOF
12529 #line 12530 "configure"
12530 #include "confdefs.h"
12531 /* System header to define __stub macros and hopefully few prototypes,
12532 which can conflict with char $ac_func(); below. */
12533 #include <assert.h>
12534 /* Override any gcc2 internal prototype to avoid an error. */
12535 /* We use char because int might match the return type of a gcc2
12536 builtin and then its argument prototype would still apply. */
12541 /* The GNU C library defines this for functions which it implements
12542 to always fail with ENOSYS. Some functions are actually named
12543 something starting with __ and the normal name is an alias. */
12544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12552 if { (eval echo configure:12553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12554 eval "ac_cv_func_$ac_func=yes"
12556 echo "configure: failed program was:" >&5
12557 cat conftest.$ac_ext >&5
12559 eval "ac_cv_func_$ac_func=no"
12564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12565 echo "$ac_t""yes" 1>&6
12566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12567 cat >> confdefs.h <<EOF
12568 #define $ac_tr_func 1
12572 echo "$ac_t""no" 1>&6
12578 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
12579 echo "configure:12580: checking for _finite declaration" >&5
12580 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12581 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12582 echo $ac_n "(cached) $ac_c" 1>&6
12587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12588 ac_cpp='$CXXCPP $CPPFLAGS'
12589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12591 cross_compiling=$ac_cv_prog_cxx_cross
12593 cat > conftest.$ac_ext <<EOF
12594 #line 12595 "configure"
12595 #include "confdefs.h"
12597 #ifdef HAVE_IEEEFP_H
12598 #include <ieeefp.h>
12605 if { (eval echo configure:12606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12607 glibcpp_cv_func__finite_use=yes
12609 echo "configure: failed program was:" >&5
12610 cat conftest.$ac_ext >&5
12612 glibcpp_cv_func__finite_use=no
12616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12617 ac_cpp='$CPP $CPPFLAGS'
12618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12620 cross_compiling=$ac_cv_prog_cc_cross
12626 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12628 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12629 for ac_func in _finite
12631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12632 echo "configure:12633: checking for $ac_func" >&5
12633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12634 echo $ac_n "(cached) $ac_c" 1>&6
12636 cat > conftest.$ac_ext <<EOF
12637 #line 12638 "configure"
12638 #include "confdefs.h"
12639 /* System header to define __stub macros and hopefully few prototypes,
12640 which can conflict with char $ac_func(); below. */
12641 #include <assert.h>
12642 /* Override any gcc2 internal prototype to avoid an error. */
12643 /* We use char because int might match the return type of a gcc2
12644 builtin and then its argument prototype would still apply. */
12649 /* The GNU C library defines this for functions which it implements
12650 to always fail with ENOSYS. Some functions are actually named
12651 something starting with __ and the normal name is an alias. */
12652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12660 if { (eval echo configure:12661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12662 eval "ac_cv_func_$ac_func=yes"
12664 echo "configure: failed program was:" >&5
12665 cat conftest.$ac_ext >&5
12667 eval "ac_cv_func_$ac_func=no"
12672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12673 echo "$ac_t""yes" 1>&6
12674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12675 cat >> confdefs.h <<EOF
12676 #define $ac_tr_func 1
12680 echo "$ac_t""no" 1>&6
12689 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
12690 echo "configure:12691: checking for copysign declaration" >&5
12691 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12692 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12693 echo $ac_n "(cached) $ac_c" 1>&6
12698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12699 ac_cpp='$CXXCPP $CPPFLAGS'
12700 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12701 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12702 cross_compiling=$ac_cv_prog_cxx_cross
12704 cat > conftest.$ac_ext <<EOF
12705 #line 12706 "configure"
12706 #include "confdefs.h"
12712 if { (eval echo configure:12713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12714 glibcpp_cv_func_copysign_use=yes
12716 echo "configure: failed program was:" >&5
12717 cat conftest.$ac_ext >&5
12719 glibcpp_cv_func_copysign_use=no
12723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12724 ac_cpp='$CPP $CPPFLAGS'
12725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12727 cross_compiling=$ac_cv_prog_cc_cross
12733 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12735 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12736 for ac_func in copysign
12738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12739 echo "configure:12740: checking for $ac_func" >&5
12740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12741 echo $ac_n "(cached) $ac_c" 1>&6
12743 cat > conftest.$ac_ext <<EOF
12744 #line 12745 "configure"
12745 #include "confdefs.h"
12746 /* System header to define __stub macros and hopefully few prototypes,
12747 which can conflict with char $ac_func(); below. */
12748 #include <assert.h>
12749 /* Override any gcc2 internal prototype to avoid an error. */
12750 /* We use char because int might match the return type of a gcc2
12751 builtin and then its argument prototype would still apply. */
12756 /* The GNU C library defines this for functions which it implements
12757 to always fail with ENOSYS. Some functions are actually named
12758 something starting with __ and the normal name is an alias. */
12759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12767 if { (eval echo configure:12768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12769 eval "ac_cv_func_$ac_func=yes"
12771 echo "configure: failed program was:" >&5
12772 cat conftest.$ac_ext >&5
12774 eval "ac_cv_func_$ac_func=no"
12779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12780 echo "$ac_t""yes" 1>&6
12781 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12782 cat >> confdefs.h <<EOF
12783 #define $ac_tr_func 1
12787 echo "$ac_t""no" 1>&6
12793 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
12794 echo "configure:12795: checking for _copysign declaration" >&5
12795 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12796 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12797 echo $ac_n "(cached) $ac_c" 1>&6
12802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12803 ac_cpp='$CXXCPP $CPPFLAGS'
12804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12806 cross_compiling=$ac_cv_prog_cxx_cross
12808 cat > conftest.$ac_ext <<EOF
12809 #line 12810 "configure"
12810 #include "confdefs.h"
12816 if { (eval echo configure:12817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12818 glibcpp_cv_func__copysign_use=yes
12820 echo "configure: failed program was:" >&5
12821 cat conftest.$ac_ext >&5
12823 glibcpp_cv_func__copysign_use=no
12827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12828 ac_cpp='$CPP $CPPFLAGS'
12829 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12830 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12831 cross_compiling=$ac_cv_prog_cc_cross
12837 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12839 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12840 for ac_func in _copysign
12842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12843 echo "configure:12844: checking for $ac_func" >&5
12844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12845 echo $ac_n "(cached) $ac_c" 1>&6
12847 cat > conftest.$ac_ext <<EOF
12848 #line 12849 "configure"
12849 #include "confdefs.h"
12850 /* System header to define __stub macros and hopefully few prototypes,
12851 which can conflict with char $ac_func(); below. */
12852 #include <assert.h>
12853 /* Override any gcc2 internal prototype to avoid an error. */
12854 /* We use char because int might match the return type of a gcc2
12855 builtin and then its argument prototype would still apply. */
12860 /* The GNU C library defines this for functions which it implements
12861 to always fail with ENOSYS. Some functions are actually named
12862 something starting with __ and the normal name is an alias. */
12863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12871 if { (eval echo configure:12872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12873 eval "ac_cv_func_$ac_func=yes"
12875 echo "configure: failed program was:" >&5
12876 cat conftest.$ac_ext >&5
12878 eval "ac_cv_func_$ac_func=no"
12883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12884 echo "$ac_t""yes" 1>&6
12885 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12886 cat >> confdefs.h <<EOF
12887 #define $ac_tr_func 1
12891 echo "$ac_t""no" 1>&6
12900 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
12901 echo "configure:12902: checking for sincos declaration" >&5
12902 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12903 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12904 echo $ac_n "(cached) $ac_c" 1>&6
12909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12910 ac_cpp='$CXXCPP $CPPFLAGS'
12911 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12912 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12913 cross_compiling=$ac_cv_prog_cxx_cross
12915 cat > conftest.$ac_ext <<EOF
12916 #line 12917 "configure"
12917 #include "confdefs.h"
12923 if { (eval echo configure:12924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12925 glibcpp_cv_func_sincos_use=yes
12927 echo "configure: failed program was:" >&5
12928 cat conftest.$ac_ext >&5
12930 glibcpp_cv_func_sincos_use=no
12934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12935 ac_cpp='$CPP $CPPFLAGS'
12936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12938 cross_compiling=$ac_cv_prog_cc_cross
12944 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12946 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12947 for ac_func in sincos
12949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12950 echo "configure:12951: checking for $ac_func" >&5
12951 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12952 echo $ac_n "(cached) $ac_c" 1>&6
12954 cat > conftest.$ac_ext <<EOF
12955 #line 12956 "configure"
12956 #include "confdefs.h"
12957 /* System header to define __stub macros and hopefully few prototypes,
12958 which can conflict with char $ac_func(); below. */
12959 #include <assert.h>
12960 /* Override any gcc2 internal prototype to avoid an error. */
12961 /* We use char because int might match the return type of a gcc2
12962 builtin and then its argument prototype would still apply. */
12967 /* The GNU C library defines this for functions which it implements
12968 to always fail with ENOSYS. Some functions are actually named
12969 something starting with __ and the normal name is an alias. */
12970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12978 if { (eval echo configure:12979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12980 eval "ac_cv_func_$ac_func=yes"
12982 echo "configure: failed program was:" >&5
12983 cat conftest.$ac_ext >&5
12985 eval "ac_cv_func_$ac_func=no"
12990 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12991 echo "$ac_t""yes" 1>&6
12992 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12993 cat >> confdefs.h <<EOF
12994 #define $ac_tr_func 1
12998 echo "$ac_t""no" 1>&6
13004 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
13005 echo "configure:13006: checking for _sincos declaration" >&5
13006 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
13007 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
13008 echo $ac_n "(cached) $ac_c" 1>&6
13013 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13014 ac_cpp='$CXXCPP $CPPFLAGS'
13015 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13016 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13017 cross_compiling=$ac_cv_prog_cxx_cross
13019 cat > conftest.$ac_ext <<EOF
13020 #line 13021 "configure"
13021 #include "confdefs.h"
13027 if { (eval echo configure:13028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13029 glibcpp_cv_func__sincos_use=yes
13031 echo "configure: failed program was:" >&5
13032 cat conftest.$ac_ext >&5
13034 glibcpp_cv_func__sincos_use=no
13038 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13039 ac_cpp='$CPP $CPPFLAGS'
13040 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13041 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13042 cross_compiling=$ac_cv_prog_cc_cross
13048 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
13050 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
13051 for ac_func in _sincos
13053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13054 echo "configure:13055: checking for $ac_func" >&5
13055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13056 echo $ac_n "(cached) $ac_c" 1>&6
13058 cat > conftest.$ac_ext <<EOF
13059 #line 13060 "configure"
13060 #include "confdefs.h"
13061 /* System header to define __stub macros and hopefully few prototypes,
13062 which can conflict with char $ac_func(); below. */
13063 #include <assert.h>
13064 /* Override any gcc2 internal prototype to avoid an error. */
13065 /* We use char because int might match the return type of a gcc2
13066 builtin and then its argument prototype would still apply. */
13071 /* The GNU C library defines this for functions which it implements
13072 to always fail with ENOSYS. Some functions are actually named
13073 something starting with __ and the normal name is an alias. */
13074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13082 if { (eval echo configure:13083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13084 eval "ac_cv_func_$ac_func=yes"
13086 echo "configure: failed program was:" >&5
13087 cat conftest.$ac_ext >&5
13089 eval "ac_cv_func_$ac_func=no"
13094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13095 echo "$ac_t""yes" 1>&6
13096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13097 cat >> confdefs.h <<EOF
13098 #define $ac_tr_func 1
13102 echo "$ac_t""no" 1>&6
13111 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
13112 echo "configure:13113: checking for fpclass declaration" >&5
13113 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
13114 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
13115 echo $ac_n "(cached) $ac_c" 1>&6
13120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13121 ac_cpp='$CXXCPP $CPPFLAGS'
13122 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13123 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13124 cross_compiling=$ac_cv_prog_cxx_cross
13126 cat > conftest.$ac_ext <<EOF
13127 #line 13128 "configure"
13128 #include "confdefs.h"
13130 #ifdef HAVE_IEEEFP_H
13131 #include <ieeefp.h>
13138 if { (eval echo configure:13139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13140 glibcpp_cv_func_fpclass_use=yes
13142 echo "configure: failed program was:" >&5
13143 cat conftest.$ac_ext >&5
13145 glibcpp_cv_func_fpclass_use=no
13149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13150 ac_cpp='$CPP $CPPFLAGS'
13151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13153 cross_compiling=$ac_cv_prog_cc_cross
13159 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
13161 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
13162 for ac_func in fpclass
13164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13165 echo "configure:13166: checking for $ac_func" >&5
13166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13167 echo $ac_n "(cached) $ac_c" 1>&6
13169 cat > conftest.$ac_ext <<EOF
13170 #line 13171 "configure"
13171 #include "confdefs.h"
13172 /* System header to define __stub macros and hopefully few prototypes,
13173 which can conflict with char $ac_func(); below. */
13174 #include <assert.h>
13175 /* Override any gcc2 internal prototype to avoid an error. */
13176 /* We use char because int might match the return type of a gcc2
13177 builtin and then its argument prototype would still apply. */
13182 /* The GNU C library defines this for functions which it implements
13183 to always fail with ENOSYS. Some functions are actually named
13184 something starting with __ and the normal name is an alias. */
13185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13193 if { (eval echo configure:13194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13195 eval "ac_cv_func_$ac_func=yes"
13197 echo "configure: failed program was:" >&5
13198 cat conftest.$ac_ext >&5
13200 eval "ac_cv_func_$ac_func=no"
13205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13206 echo "$ac_t""yes" 1>&6
13207 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13208 cat >> confdefs.h <<EOF
13209 #define $ac_tr_func 1
13213 echo "$ac_t""no" 1>&6
13219 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
13220 echo "configure:13221: checking for _fpclass declaration" >&5
13221 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13222 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13223 echo $ac_n "(cached) $ac_c" 1>&6
13228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13229 ac_cpp='$CXXCPP $CPPFLAGS'
13230 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13231 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13232 cross_compiling=$ac_cv_prog_cxx_cross
13234 cat > conftest.$ac_ext <<EOF
13235 #line 13236 "configure"
13236 #include "confdefs.h"
13238 #ifdef HAVE_IEEEFP_H
13239 #include <ieeefp.h>
13246 if { (eval echo configure:13247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13248 glibcpp_cv_func__fpclass_use=yes
13250 echo "configure: failed program was:" >&5
13251 cat conftest.$ac_ext >&5
13253 glibcpp_cv_func__fpclass_use=no
13257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13258 ac_cpp='$CPP $CPPFLAGS'
13259 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13260 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13261 cross_compiling=$ac_cv_prog_cc_cross
13267 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13269 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13270 for ac_func in _fpclass
13272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13273 echo "configure:13274: checking for $ac_func" >&5
13274 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13275 echo $ac_n "(cached) $ac_c" 1>&6
13277 cat > conftest.$ac_ext <<EOF
13278 #line 13279 "configure"
13279 #include "confdefs.h"
13280 /* System header to define __stub macros and hopefully few prototypes,
13281 which can conflict with char $ac_func(); below. */
13282 #include <assert.h>
13283 /* Override any gcc2 internal prototype to avoid an error. */
13284 /* We use char because int might match the return type of a gcc2
13285 builtin and then its argument prototype would still apply. */
13290 /* The GNU C library defines this for functions which it implements
13291 to always fail with ENOSYS. Some functions are actually named
13292 something starting with __ and the normal name is an alias. */
13293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13301 if { (eval echo configure:13302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13303 eval "ac_cv_func_$ac_func=yes"
13305 echo "configure: failed program was:" >&5
13306 cat conftest.$ac_ext >&5
13308 eval "ac_cv_func_$ac_func=no"
13313 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13314 echo "$ac_t""yes" 1>&6
13315 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13316 cat >> confdefs.h <<EOF
13317 #define $ac_tr_func 1
13321 echo "$ac_t""no" 1>&6
13330 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
13331 echo "configure:13332: checking for qfpclass declaration" >&5
13332 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13333 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13334 echo $ac_n "(cached) $ac_c" 1>&6
13339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13340 ac_cpp='$CXXCPP $CPPFLAGS'
13341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13343 cross_compiling=$ac_cv_prog_cxx_cross
13345 cat > conftest.$ac_ext <<EOF
13346 #line 13347 "configure"
13347 #include "confdefs.h"
13349 #ifdef HAVE_IEEEFP_H
13350 #include <ieeefp.h>
13357 if { (eval echo configure:13358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13359 glibcpp_cv_func_qfpclass_use=yes
13361 echo "configure: failed program was:" >&5
13362 cat conftest.$ac_ext >&5
13364 glibcpp_cv_func_qfpclass_use=no
13368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13369 ac_cpp='$CPP $CPPFLAGS'
13370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13372 cross_compiling=$ac_cv_prog_cc_cross
13378 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13380 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13381 for ac_func in qfpclass
13383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13384 echo "configure:13385: checking for $ac_func" >&5
13385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13386 echo $ac_n "(cached) $ac_c" 1>&6
13388 cat > conftest.$ac_ext <<EOF
13389 #line 13390 "configure"
13390 #include "confdefs.h"
13391 /* System header to define __stub macros and hopefully few prototypes,
13392 which can conflict with char $ac_func(); below. */
13393 #include <assert.h>
13394 /* Override any gcc2 internal prototype to avoid an error. */
13395 /* We use char because int might match the return type of a gcc2
13396 builtin and then its argument prototype would still apply. */
13401 /* The GNU C library defines this for functions which it implements
13402 to always fail with ENOSYS. Some functions are actually named
13403 something starting with __ and the normal name is an alias. */
13404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13412 if { (eval echo configure:13413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13414 eval "ac_cv_func_$ac_func=yes"
13416 echo "configure: failed program was:" >&5
13417 cat conftest.$ac_ext >&5
13419 eval "ac_cv_func_$ac_func=no"
13424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13425 echo "$ac_t""yes" 1>&6
13426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13427 cat >> confdefs.h <<EOF
13428 #define $ac_tr_func 1
13432 echo "$ac_t""no" 1>&6
13438 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
13439 echo "configure:13440: checking for _qfpclass declaration" >&5
13440 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13441 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13442 echo $ac_n "(cached) $ac_c" 1>&6
13447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13448 ac_cpp='$CXXCPP $CPPFLAGS'
13449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13451 cross_compiling=$ac_cv_prog_cxx_cross
13453 cat > conftest.$ac_ext <<EOF
13454 #line 13455 "configure"
13455 #include "confdefs.h"
13457 #ifdef HAVE_IEEEFP_H
13458 #include <ieeefp.h>
13465 if { (eval echo configure:13466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13467 glibcpp_cv_func__qfpclass_use=yes
13469 echo "configure: failed program was:" >&5
13470 cat conftest.$ac_ext >&5
13472 glibcpp_cv_func__qfpclass_use=no
13476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13477 ac_cpp='$CPP $CPPFLAGS'
13478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13480 cross_compiling=$ac_cv_prog_cc_cross
13486 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13488 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13489 for ac_func in _qfpclass
13491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13492 echo "configure:13493: checking for $ac_func" >&5
13493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13494 echo $ac_n "(cached) $ac_c" 1>&6
13496 cat > conftest.$ac_ext <<EOF
13497 #line 13498 "configure"
13498 #include "confdefs.h"
13499 /* System header to define __stub macros and hopefully few prototypes,
13500 which can conflict with char $ac_func(); below. */
13501 #include <assert.h>
13502 /* Override any gcc2 internal prototype to avoid an error. */
13503 /* We use char because int might match the return type of a gcc2
13504 builtin and then its argument prototype would still apply. */
13509 /* The GNU C library defines this for functions which it implements
13510 to always fail with ENOSYS. Some functions are actually named
13511 something starting with __ and the normal name is an alias. */
13512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13520 if { (eval echo configure:13521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13522 eval "ac_cv_func_$ac_func=yes"
13524 echo "configure: failed program was:" >&5
13525 cat conftest.$ac_ext >&5
13527 eval "ac_cv_func_$ac_func=no"
13532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13533 echo "$ac_t""yes" 1>&6
13534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13535 cat >> confdefs.h <<EOF
13536 #define $ac_tr_func 1
13540 echo "$ac_t""no" 1>&6
13549 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
13550 echo "configure:13551: checking for hypot declaration" >&5
13551 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13552 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13553 echo $ac_n "(cached) $ac_c" 1>&6
13558 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13559 ac_cpp='$CXXCPP $CPPFLAGS'
13560 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13561 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13562 cross_compiling=$ac_cv_prog_cxx_cross
13564 cat > conftest.$ac_ext <<EOF
13565 #line 13566 "configure"
13566 #include "confdefs.h"
13572 if { (eval echo configure:13573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13574 glibcpp_cv_func_hypot_use=yes
13576 echo "configure: failed program was:" >&5
13577 cat conftest.$ac_ext >&5
13579 glibcpp_cv_func_hypot_use=no
13583 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13584 ac_cpp='$CPP $CPPFLAGS'
13585 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13586 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13587 cross_compiling=$ac_cv_prog_cc_cross
13593 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13595 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13596 for ac_func in hypot
13598 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13599 echo "configure:13600: checking for $ac_func" >&5
13600 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13601 echo $ac_n "(cached) $ac_c" 1>&6
13603 cat > conftest.$ac_ext <<EOF
13604 #line 13605 "configure"
13605 #include "confdefs.h"
13606 /* System header to define __stub macros and hopefully few prototypes,
13607 which can conflict with char $ac_func(); below. */
13608 #include <assert.h>
13609 /* Override any gcc2 internal prototype to avoid an error. */
13610 /* We use char because int might match the return type of a gcc2
13611 builtin and then its argument prototype would still apply. */
13616 /* The GNU C library defines this for functions which it implements
13617 to always fail with ENOSYS. Some functions are actually named
13618 something starting with __ and the normal name is an alias. */
13619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13627 if { (eval echo configure:13628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13629 eval "ac_cv_func_$ac_func=yes"
13631 echo "configure: failed program was:" >&5
13632 cat conftest.$ac_ext >&5
13634 eval "ac_cv_func_$ac_func=no"
13639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13640 echo "$ac_t""yes" 1>&6
13641 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13642 cat >> confdefs.h <<EOF
13643 #define $ac_tr_func 1
13647 echo "$ac_t""no" 1>&6
13653 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
13654 echo "configure:13655: checking for _hypot declaration" >&5
13655 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13656 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13657 echo $ac_n "(cached) $ac_c" 1>&6
13662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13663 ac_cpp='$CXXCPP $CPPFLAGS'
13664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13666 cross_compiling=$ac_cv_prog_cxx_cross
13668 cat > conftest.$ac_ext <<EOF
13669 #line 13670 "configure"
13670 #include "confdefs.h"
13676 if { (eval echo configure:13677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13678 glibcpp_cv_func__hypot_use=yes
13680 echo "configure: failed program was:" >&5
13681 cat conftest.$ac_ext >&5
13683 glibcpp_cv_func__hypot_use=no
13687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13688 ac_cpp='$CPP $CPPFLAGS'
13689 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13690 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13691 cross_compiling=$ac_cv_prog_cc_cross
13697 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13699 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13700 for ac_func in _hypot
13702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13703 echo "configure:13704: checking for $ac_func" >&5
13704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13705 echo $ac_n "(cached) $ac_c" 1>&6
13707 cat > conftest.$ac_ext <<EOF
13708 #line 13709 "configure"
13709 #include "confdefs.h"
13710 /* System header to define __stub macros and hopefully few prototypes,
13711 which can conflict with char $ac_func(); below. */
13712 #include <assert.h>
13713 /* Override any gcc2 internal prototype to avoid an error. */
13714 /* We use char because int might match the return type of a gcc2
13715 builtin and then its argument prototype would still apply. */
13720 /* The GNU C library defines this for functions which it implements
13721 to always fail with ENOSYS. Some functions are actually named
13722 something starting with __ and the normal name is an alias. */
13723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13731 if { (eval echo configure:13732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13733 eval "ac_cv_func_$ac_func=yes"
13735 echo "configure: failed program was:" >&5
13736 cat conftest.$ac_ext >&5
13738 eval "ac_cv_func_$ac_func=no"
13743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13744 echo "$ac_t""yes" 1>&6
13745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13746 cat >> confdefs.h <<EOF
13747 #define $ac_tr_func 1
13751 echo "$ac_t""no" 1>&6
13760 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
13761 echo "configure:13762: checking for float trig functions" >&5
13762 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13763 echo $ac_n "(cached) $ac_c" 1>&6
13768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13769 ac_cpp='$CXXCPP $CPPFLAGS'
13770 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13771 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13772 cross_compiling=$ac_cv_prog_cxx_cross
13774 cat > conftest.$ac_ext <<EOF
13775 #line 13776 "configure"
13776 #include "confdefs.h"
13779 `for x in acosf asinf atanf \
13781 coshf sinhf tanhf; do echo "$x (0);"; done`
13784 if { (eval echo configure:13785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13786 glibcpp_cv_func_float_trig_use=yes
13788 echo "configure: failed program was:" >&5
13789 cat conftest.$ac_ext >&5
13791 glibcpp_cv_func_float_trig_use=no
13795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13796 ac_cpp='$CPP $CPPFLAGS'
13797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13799 cross_compiling=$ac_cv_prog_cc_cross
13803 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13804 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13805 for ac_func in acosf asinf atanf \
13809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13810 echo "configure:13811: checking for $ac_func" >&5
13811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13812 echo $ac_n "(cached) $ac_c" 1>&6
13814 cat > conftest.$ac_ext <<EOF
13815 #line 13816 "configure"
13816 #include "confdefs.h"
13817 /* System header to define __stub macros and hopefully few prototypes,
13818 which can conflict with char $ac_func(); below. */
13819 #include <assert.h>
13820 /* Override any gcc2 internal prototype to avoid an error. */
13821 /* We use char because int might match the return type of a gcc2
13822 builtin and then its argument prototype would still apply. */
13827 /* The GNU C library defines this for functions which it implements
13828 to always fail with ENOSYS. Some functions are actually named
13829 something starting with __ and the normal name is an alias. */
13830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13838 if { (eval echo configure:13839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13840 eval "ac_cv_func_$ac_func=yes"
13842 echo "configure: failed program was:" >&5
13843 cat conftest.$ac_ext >&5
13845 eval "ac_cv_func_$ac_func=no"
13850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13851 echo "$ac_t""yes" 1>&6
13852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13853 cat >> confdefs.h <<EOF
13854 #define $ac_tr_func 1
13858 echo "$ac_t""no" 1>&6
13865 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
13866 echo "configure:13867: checking for float round functions" >&5
13867 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13868 echo $ac_n "(cached) $ac_c" 1>&6
13873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13874 ac_cpp='$CXXCPP $CPPFLAGS'
13875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13877 cross_compiling=$ac_cv_prog_cxx_cross
13879 cat > conftest.$ac_ext <<EOF
13880 #line 13881 "configure"
13881 #include "confdefs.h"
13884 `for x in ceilf floorf; do echo "$x (0);"; done`
13887 if { (eval echo configure:13888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13889 glibcpp_cv_func_float_round_use=yes
13891 echo "configure: failed program was:" >&5
13892 cat conftest.$ac_ext >&5
13894 glibcpp_cv_func_float_round_use=no
13898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13899 ac_cpp='$CPP $CPPFLAGS'
13900 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13901 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13902 cross_compiling=$ac_cv_prog_cc_cross
13906 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13907 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13908 for ac_func in ceilf floorf
13910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13911 echo "configure:13912: checking for $ac_func" >&5
13912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13913 echo $ac_n "(cached) $ac_c" 1>&6
13915 cat > conftest.$ac_ext <<EOF
13916 #line 13917 "configure"
13917 #include "confdefs.h"
13918 /* System header to define __stub macros and hopefully few prototypes,
13919 which can conflict with char $ac_func(); below. */
13920 #include <assert.h>
13921 /* Override any gcc2 internal prototype to avoid an error. */
13922 /* We use char because int might match the return type of a gcc2
13923 builtin and then its argument prototype would still apply. */
13928 /* The GNU C library defines this for functions which it implements
13929 to always fail with ENOSYS. Some functions are actually named
13930 something starting with __ and the normal name is an alias. */
13931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13939 if { (eval echo configure:13940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13941 eval "ac_cv_func_$ac_func=yes"
13943 echo "configure: failed program was:" >&5
13944 cat conftest.$ac_ext >&5
13946 eval "ac_cv_func_$ac_func=no"
13951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13952 echo "$ac_t""yes" 1>&6
13953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13954 cat >> confdefs.h <<EOF
13955 #define $ac_tr_func 1
13959 echo "$ac_t""no" 1>&6
13967 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
13968 echo "configure:13969: checking for expf declaration" >&5
13969 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13970 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13971 echo $ac_n "(cached) $ac_c" 1>&6
13976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13977 ac_cpp='$CXXCPP $CPPFLAGS'
13978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13980 cross_compiling=$ac_cv_prog_cxx_cross
13982 cat > conftest.$ac_ext <<EOF
13983 #line 13984 "configure"
13984 #include "confdefs.h"
13986 #ifdef HAVE_IEEEFP_H
13987 #include <ieeefp.h>
13994 if { (eval echo configure:13995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13996 glibcpp_cv_func_expf_use=yes
13998 echo "configure: failed program was:" >&5
13999 cat conftest.$ac_ext >&5
14001 glibcpp_cv_func_expf_use=no
14005 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14006 ac_cpp='$CPP $CPPFLAGS'
14007 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14008 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14009 cross_compiling=$ac_cv_prog_cc_cross
14015 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
14017 if test x$glibcpp_cv_func_expf_use = x"yes"; then
14018 for ac_func in expf
14020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14021 echo "configure:14022: checking for $ac_func" >&5
14022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14023 echo $ac_n "(cached) $ac_c" 1>&6
14025 cat > conftest.$ac_ext <<EOF
14026 #line 14027 "configure"
14027 #include "confdefs.h"
14028 /* System header to define __stub macros and hopefully few prototypes,
14029 which can conflict with char $ac_func(); below. */
14030 #include <assert.h>
14031 /* Override any gcc2 internal prototype to avoid an error. */
14032 /* We use char because int might match the return type of a gcc2
14033 builtin and then its argument prototype would still apply. */
14038 /* The GNU C library defines this for functions which it implements
14039 to always fail with ENOSYS. Some functions are actually named
14040 something starting with __ and the normal name is an alias. */
14041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14049 if { (eval echo configure:14050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14051 eval "ac_cv_func_$ac_func=yes"
14053 echo "configure: failed program was:" >&5
14054 cat conftest.$ac_ext >&5
14056 eval "ac_cv_func_$ac_func=no"
14061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14062 echo "$ac_t""yes" 1>&6
14063 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14064 cat >> confdefs.h <<EOF
14065 #define $ac_tr_func 1
14069 echo "$ac_t""no" 1>&6
14075 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
14076 echo "configure:14077: checking for _expf declaration" >&5
14077 if test x${glibcpp_cv_func__expf_use+set} != xset; then
14078 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
14079 echo $ac_n "(cached) $ac_c" 1>&6
14084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14085 ac_cpp='$CXXCPP $CPPFLAGS'
14086 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14087 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14088 cross_compiling=$ac_cv_prog_cxx_cross
14090 cat > conftest.$ac_ext <<EOF
14091 #line 14092 "configure"
14092 #include "confdefs.h"
14094 #ifdef HAVE_IEEEFP_H
14095 #include <ieeefp.h>
14102 if { (eval echo configure:14103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14104 glibcpp_cv_func__expf_use=yes
14106 echo "configure: failed program was:" >&5
14107 cat conftest.$ac_ext >&5
14109 glibcpp_cv_func__expf_use=no
14113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14114 ac_cpp='$CPP $CPPFLAGS'
14115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14117 cross_compiling=$ac_cv_prog_cc_cross
14123 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
14125 if test x$glibcpp_cv_func__expf_use = x"yes"; then
14126 for ac_func in _expf
14128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14129 echo "configure:14130: checking for $ac_func" >&5
14130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14131 echo $ac_n "(cached) $ac_c" 1>&6
14133 cat > conftest.$ac_ext <<EOF
14134 #line 14135 "configure"
14135 #include "confdefs.h"
14136 /* System header to define __stub macros and hopefully few prototypes,
14137 which can conflict with char $ac_func(); below. */
14138 #include <assert.h>
14139 /* Override any gcc2 internal prototype to avoid an error. */
14140 /* We use char because int might match the return type of a gcc2
14141 builtin and then its argument prototype would still apply. */
14146 /* The GNU C library defines this for functions which it implements
14147 to always fail with ENOSYS. Some functions are actually named
14148 something starting with __ and the normal name is an alias. */
14149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14157 if { (eval echo configure:14158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14159 eval "ac_cv_func_$ac_func=yes"
14161 echo "configure: failed program was:" >&5
14162 cat conftest.$ac_ext >&5
14164 eval "ac_cv_func_$ac_func=no"
14169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14170 echo "$ac_t""yes" 1>&6
14171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14172 cat >> confdefs.h <<EOF
14173 #define $ac_tr_func 1
14177 echo "$ac_t""no" 1>&6
14186 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
14187 echo "configure:14188: checking for isnanf declaration" >&5
14188 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
14189 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
14190 echo $ac_n "(cached) $ac_c" 1>&6
14195 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14196 ac_cpp='$CXXCPP $CPPFLAGS'
14197 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14198 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14199 cross_compiling=$ac_cv_prog_cxx_cross
14201 cat > conftest.$ac_ext <<EOF
14202 #line 14203 "configure"
14203 #include "confdefs.h"
14205 #ifdef HAVE_IEEEFP_H
14206 #include <ieeefp.h>
14213 if { (eval echo configure:14214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14215 glibcpp_cv_func_isnanf_use=yes
14217 echo "configure: failed program was:" >&5
14218 cat conftest.$ac_ext >&5
14220 glibcpp_cv_func_isnanf_use=no
14224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14225 ac_cpp='$CPP $CPPFLAGS'
14226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14228 cross_compiling=$ac_cv_prog_cc_cross
14234 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14236 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14237 for ac_func in isnanf
14239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14240 echo "configure:14241: checking for $ac_func" >&5
14241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14242 echo $ac_n "(cached) $ac_c" 1>&6
14244 cat > conftest.$ac_ext <<EOF
14245 #line 14246 "configure"
14246 #include "confdefs.h"
14247 /* System header to define __stub macros and hopefully few prototypes,
14248 which can conflict with char $ac_func(); below. */
14249 #include <assert.h>
14250 /* Override any gcc2 internal prototype to avoid an error. */
14251 /* We use char because int might match the return type of a gcc2
14252 builtin and then its argument prototype would still apply. */
14257 /* The GNU C library defines this for functions which it implements
14258 to always fail with ENOSYS. Some functions are actually named
14259 something starting with __ and the normal name is an alias. */
14260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14268 if { (eval echo configure:14269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14270 eval "ac_cv_func_$ac_func=yes"
14272 echo "configure: failed program was:" >&5
14273 cat conftest.$ac_ext >&5
14275 eval "ac_cv_func_$ac_func=no"
14280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14281 echo "$ac_t""yes" 1>&6
14282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14283 cat >> confdefs.h <<EOF
14284 #define $ac_tr_func 1
14288 echo "$ac_t""no" 1>&6
14294 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
14295 echo "configure:14296: checking for _isnanf declaration" >&5
14296 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14297 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14298 echo $ac_n "(cached) $ac_c" 1>&6
14303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14304 ac_cpp='$CXXCPP $CPPFLAGS'
14305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14307 cross_compiling=$ac_cv_prog_cxx_cross
14309 cat > conftest.$ac_ext <<EOF
14310 #line 14311 "configure"
14311 #include "confdefs.h"
14313 #ifdef HAVE_IEEEFP_H
14314 #include <ieeefp.h>
14321 if { (eval echo configure:14322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14323 glibcpp_cv_func__isnanf_use=yes
14325 echo "configure: failed program was:" >&5
14326 cat conftest.$ac_ext >&5
14328 glibcpp_cv_func__isnanf_use=no
14332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14333 ac_cpp='$CPP $CPPFLAGS'
14334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14336 cross_compiling=$ac_cv_prog_cc_cross
14342 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14344 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14345 for ac_func in _isnanf
14347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14348 echo "configure:14349: checking for $ac_func" >&5
14349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14350 echo $ac_n "(cached) $ac_c" 1>&6
14352 cat > conftest.$ac_ext <<EOF
14353 #line 14354 "configure"
14354 #include "confdefs.h"
14355 /* System header to define __stub macros and hopefully few prototypes,
14356 which can conflict with char $ac_func(); below. */
14357 #include <assert.h>
14358 /* Override any gcc2 internal prototype to avoid an error. */
14359 /* We use char because int might match the return type of a gcc2
14360 builtin and then its argument prototype would still apply. */
14365 /* The GNU C library defines this for functions which it implements
14366 to always fail with ENOSYS. Some functions are actually named
14367 something starting with __ and the normal name is an alias. */
14368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14376 if { (eval echo configure:14377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14378 eval "ac_cv_func_$ac_func=yes"
14380 echo "configure: failed program was:" >&5
14381 cat conftest.$ac_ext >&5
14383 eval "ac_cv_func_$ac_func=no"
14388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14389 echo "$ac_t""yes" 1>&6
14390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14391 cat >> confdefs.h <<EOF
14392 #define $ac_tr_func 1
14396 echo "$ac_t""no" 1>&6
14405 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
14406 echo "configure:14407: checking for isinff declaration" >&5
14407 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14408 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14409 echo $ac_n "(cached) $ac_c" 1>&6
14414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14415 ac_cpp='$CXXCPP $CPPFLAGS'
14416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14418 cross_compiling=$ac_cv_prog_cxx_cross
14420 cat > conftest.$ac_ext <<EOF
14421 #line 14422 "configure"
14422 #include "confdefs.h"
14424 #ifdef HAVE_IEEEFP_H
14425 #include <ieeefp.h>
14432 if { (eval echo configure:14433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14434 glibcpp_cv_func_isinff_use=yes
14436 echo "configure: failed program was:" >&5
14437 cat conftest.$ac_ext >&5
14439 glibcpp_cv_func_isinff_use=no
14443 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14444 ac_cpp='$CPP $CPPFLAGS'
14445 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14446 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14447 cross_compiling=$ac_cv_prog_cc_cross
14453 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14455 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14456 for ac_func in isinff
14458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14459 echo "configure:14460: checking for $ac_func" >&5
14460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14461 echo $ac_n "(cached) $ac_c" 1>&6
14463 cat > conftest.$ac_ext <<EOF
14464 #line 14465 "configure"
14465 #include "confdefs.h"
14466 /* System header to define __stub macros and hopefully few prototypes,
14467 which can conflict with char $ac_func(); below. */
14468 #include <assert.h>
14469 /* Override any gcc2 internal prototype to avoid an error. */
14470 /* We use char because int might match the return type of a gcc2
14471 builtin and then its argument prototype would still apply. */
14476 /* The GNU C library defines this for functions which it implements
14477 to always fail with ENOSYS. Some functions are actually named
14478 something starting with __ and the normal name is an alias. */
14479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14487 if { (eval echo configure:14488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14489 eval "ac_cv_func_$ac_func=yes"
14491 echo "configure: failed program was:" >&5
14492 cat conftest.$ac_ext >&5
14494 eval "ac_cv_func_$ac_func=no"
14499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14500 echo "$ac_t""yes" 1>&6
14501 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14502 cat >> confdefs.h <<EOF
14503 #define $ac_tr_func 1
14507 echo "$ac_t""no" 1>&6
14513 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
14514 echo "configure:14515: checking for _isinff declaration" >&5
14515 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14516 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14517 echo $ac_n "(cached) $ac_c" 1>&6
14522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14523 ac_cpp='$CXXCPP $CPPFLAGS'
14524 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14525 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14526 cross_compiling=$ac_cv_prog_cxx_cross
14528 cat > conftest.$ac_ext <<EOF
14529 #line 14530 "configure"
14530 #include "confdefs.h"
14532 #ifdef HAVE_IEEEFP_H
14533 #include <ieeefp.h>
14540 if { (eval echo configure:14541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14542 glibcpp_cv_func__isinff_use=yes
14544 echo "configure: failed program was:" >&5
14545 cat conftest.$ac_ext >&5
14547 glibcpp_cv_func__isinff_use=no
14551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14552 ac_cpp='$CPP $CPPFLAGS'
14553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14555 cross_compiling=$ac_cv_prog_cc_cross
14561 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14563 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14564 for ac_func in _isinff
14566 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14567 echo "configure:14568: checking for $ac_func" >&5
14568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14569 echo $ac_n "(cached) $ac_c" 1>&6
14571 cat > conftest.$ac_ext <<EOF
14572 #line 14573 "configure"
14573 #include "confdefs.h"
14574 /* System header to define __stub macros and hopefully few prototypes,
14575 which can conflict with char $ac_func(); below. */
14576 #include <assert.h>
14577 /* Override any gcc2 internal prototype to avoid an error. */
14578 /* We use char because int might match the return type of a gcc2
14579 builtin and then its argument prototype would still apply. */
14584 /* The GNU C library defines this for functions which it implements
14585 to always fail with ENOSYS. Some functions are actually named
14586 something starting with __ and the normal name is an alias. */
14587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14595 if { (eval echo configure:14596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14597 eval "ac_cv_func_$ac_func=yes"
14599 echo "configure: failed program was:" >&5
14600 cat conftest.$ac_ext >&5
14602 eval "ac_cv_func_$ac_func=no"
14607 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14608 echo "$ac_t""yes" 1>&6
14609 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14610 cat >> confdefs.h <<EOF
14611 #define $ac_tr_func 1
14615 echo "$ac_t""no" 1>&6
14624 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
14625 echo "configure:14626: checking for atan2f declaration" >&5
14626 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14627 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14628 echo $ac_n "(cached) $ac_c" 1>&6
14633 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14634 ac_cpp='$CXXCPP $CPPFLAGS'
14635 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14636 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14637 cross_compiling=$ac_cv_prog_cxx_cross
14639 cat > conftest.$ac_ext <<EOF
14640 #line 14641 "configure"
14641 #include "confdefs.h"
14647 if { (eval echo configure:14648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14649 glibcpp_cv_func_atan2f_use=yes
14651 echo "configure: failed program was:" >&5
14652 cat conftest.$ac_ext >&5
14654 glibcpp_cv_func_atan2f_use=no
14658 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14659 ac_cpp='$CPP $CPPFLAGS'
14660 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14661 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14662 cross_compiling=$ac_cv_prog_cc_cross
14668 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14670 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14671 for ac_func in atan2f
14673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14674 echo "configure:14675: checking for $ac_func" >&5
14675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14676 echo $ac_n "(cached) $ac_c" 1>&6
14678 cat > conftest.$ac_ext <<EOF
14679 #line 14680 "configure"
14680 #include "confdefs.h"
14681 /* System header to define __stub macros and hopefully few prototypes,
14682 which can conflict with char $ac_func(); below. */
14683 #include <assert.h>
14684 /* Override any gcc2 internal prototype to avoid an error. */
14685 /* We use char because int might match the return type of a gcc2
14686 builtin and then its argument prototype would still apply. */
14691 /* The GNU C library defines this for functions which it implements
14692 to always fail with ENOSYS. Some functions are actually named
14693 something starting with __ and the normal name is an alias. */
14694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14702 if { (eval echo configure:14703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14704 eval "ac_cv_func_$ac_func=yes"
14706 echo "configure: failed program was:" >&5
14707 cat conftest.$ac_ext >&5
14709 eval "ac_cv_func_$ac_func=no"
14714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14715 echo "$ac_t""yes" 1>&6
14716 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14717 cat >> confdefs.h <<EOF
14718 #define $ac_tr_func 1
14722 echo "$ac_t""no" 1>&6
14728 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
14729 echo "configure:14730: checking for _atan2f declaration" >&5
14730 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14731 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14732 echo $ac_n "(cached) $ac_c" 1>&6
14737 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14738 ac_cpp='$CXXCPP $CPPFLAGS'
14739 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14740 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14741 cross_compiling=$ac_cv_prog_cxx_cross
14743 cat > conftest.$ac_ext <<EOF
14744 #line 14745 "configure"
14745 #include "confdefs.h"
14751 if { (eval echo configure:14752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14753 glibcpp_cv_func__atan2f_use=yes
14755 echo "configure: failed program was:" >&5
14756 cat conftest.$ac_ext >&5
14758 glibcpp_cv_func__atan2f_use=no
14762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14763 ac_cpp='$CPP $CPPFLAGS'
14764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14766 cross_compiling=$ac_cv_prog_cc_cross
14772 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14774 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14775 for ac_func in _atan2f
14777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14778 echo "configure:14779: checking for $ac_func" >&5
14779 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14780 echo $ac_n "(cached) $ac_c" 1>&6
14782 cat > conftest.$ac_ext <<EOF
14783 #line 14784 "configure"
14784 #include "confdefs.h"
14785 /* System header to define __stub macros and hopefully few prototypes,
14786 which can conflict with char $ac_func(); below. */
14787 #include <assert.h>
14788 /* Override any gcc2 internal prototype to avoid an error. */
14789 /* We use char because int might match the return type of a gcc2
14790 builtin and then its argument prototype would still apply. */
14795 /* The GNU C library defines this for functions which it implements
14796 to always fail with ENOSYS. Some functions are actually named
14797 something starting with __ and the normal name is an alias. */
14798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14806 if { (eval echo configure:14807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14808 eval "ac_cv_func_$ac_func=yes"
14810 echo "configure: failed program was:" >&5
14811 cat conftest.$ac_ext >&5
14813 eval "ac_cv_func_$ac_func=no"
14818 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14819 echo "$ac_t""yes" 1>&6
14820 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14821 cat >> confdefs.h <<EOF
14822 #define $ac_tr_func 1
14826 echo "$ac_t""no" 1>&6
14835 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
14836 echo "configure:14837: checking for fabsf declaration" >&5
14837 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14838 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14839 echo $ac_n "(cached) $ac_c" 1>&6
14844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14845 ac_cpp='$CXXCPP $CPPFLAGS'
14846 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14847 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14848 cross_compiling=$ac_cv_prog_cxx_cross
14850 cat > conftest.$ac_ext <<EOF
14851 #line 14852 "configure"
14852 #include "confdefs.h"
14854 #ifdef HAVE_IEEEFP_H
14855 #include <ieeefp.h>
14862 if { (eval echo configure:14863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14864 glibcpp_cv_func_fabsf_use=yes
14866 echo "configure: failed program was:" >&5
14867 cat conftest.$ac_ext >&5
14869 glibcpp_cv_func_fabsf_use=no
14873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14874 ac_cpp='$CPP $CPPFLAGS'
14875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14877 cross_compiling=$ac_cv_prog_cc_cross
14883 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14885 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14886 for ac_func in fabsf
14888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14889 echo "configure:14890: checking for $ac_func" >&5
14890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14891 echo $ac_n "(cached) $ac_c" 1>&6
14893 cat > conftest.$ac_ext <<EOF
14894 #line 14895 "configure"
14895 #include "confdefs.h"
14896 /* System header to define __stub macros and hopefully few prototypes,
14897 which can conflict with char $ac_func(); below. */
14898 #include <assert.h>
14899 /* Override any gcc2 internal prototype to avoid an error. */
14900 /* We use char because int might match the return type of a gcc2
14901 builtin and then its argument prototype would still apply. */
14906 /* The GNU C library defines this for functions which it implements
14907 to always fail with ENOSYS. Some functions are actually named
14908 something starting with __ and the normal name is an alias. */
14909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14917 if { (eval echo configure:14918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14919 eval "ac_cv_func_$ac_func=yes"
14921 echo "configure: failed program was:" >&5
14922 cat conftest.$ac_ext >&5
14924 eval "ac_cv_func_$ac_func=no"
14929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14930 echo "$ac_t""yes" 1>&6
14931 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14932 cat >> confdefs.h <<EOF
14933 #define $ac_tr_func 1
14937 echo "$ac_t""no" 1>&6
14943 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
14944 echo "configure:14945: checking for _fabsf declaration" >&5
14945 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14946 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14947 echo $ac_n "(cached) $ac_c" 1>&6
14952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14953 ac_cpp='$CXXCPP $CPPFLAGS'
14954 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14955 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14956 cross_compiling=$ac_cv_prog_cxx_cross
14958 cat > conftest.$ac_ext <<EOF
14959 #line 14960 "configure"
14960 #include "confdefs.h"
14962 #ifdef HAVE_IEEEFP_H
14963 #include <ieeefp.h>
14970 if { (eval echo configure:14971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14972 glibcpp_cv_func__fabsf_use=yes
14974 echo "configure: failed program was:" >&5
14975 cat conftest.$ac_ext >&5
14977 glibcpp_cv_func__fabsf_use=no
14981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14982 ac_cpp='$CPP $CPPFLAGS'
14983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14985 cross_compiling=$ac_cv_prog_cc_cross
14991 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14993 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14994 for ac_func in _fabsf
14996 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14997 echo "configure:14998: checking for $ac_func" >&5
14998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14999 echo $ac_n "(cached) $ac_c" 1>&6
15001 cat > conftest.$ac_ext <<EOF
15002 #line 15003 "configure"
15003 #include "confdefs.h"
15004 /* System header to define __stub macros and hopefully few prototypes,
15005 which can conflict with char $ac_func(); below. */
15006 #include <assert.h>
15007 /* Override any gcc2 internal prototype to avoid an error. */
15008 /* We use char because int might match the return type of a gcc2
15009 builtin and then its argument prototype would still apply. */
15014 /* The GNU C library defines this for functions which it implements
15015 to always fail with ENOSYS. Some functions are actually named
15016 something starting with __ and the normal name is an alias. */
15017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15025 if { (eval echo configure:15026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15027 eval "ac_cv_func_$ac_func=yes"
15029 echo "configure: failed program was:" >&5
15030 cat conftest.$ac_ext >&5
15032 eval "ac_cv_func_$ac_func=no"
15037 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15038 echo "$ac_t""yes" 1>&6
15039 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15040 cat >> confdefs.h <<EOF
15041 #define $ac_tr_func 1
15045 echo "$ac_t""no" 1>&6
15054 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
15055 echo "configure:15056: checking for fmodf declaration" >&5
15056 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
15057 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
15058 echo $ac_n "(cached) $ac_c" 1>&6
15063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15064 ac_cpp='$CXXCPP $CPPFLAGS'
15065 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15066 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15067 cross_compiling=$ac_cv_prog_cxx_cross
15069 cat > conftest.$ac_ext <<EOF
15070 #line 15071 "configure"
15071 #include "confdefs.h"
15077 if { (eval echo configure:15078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15079 glibcpp_cv_func_fmodf_use=yes
15081 echo "configure: failed program was:" >&5
15082 cat conftest.$ac_ext >&5
15084 glibcpp_cv_func_fmodf_use=no
15088 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15089 ac_cpp='$CPP $CPPFLAGS'
15090 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15091 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15092 cross_compiling=$ac_cv_prog_cc_cross
15098 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
15100 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
15101 for ac_func in fmodf
15103 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15104 echo "configure:15105: checking for $ac_func" >&5
15105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15106 echo $ac_n "(cached) $ac_c" 1>&6
15108 cat > conftest.$ac_ext <<EOF
15109 #line 15110 "configure"
15110 #include "confdefs.h"
15111 /* System header to define __stub macros and hopefully few prototypes,
15112 which can conflict with char $ac_func(); below. */
15113 #include <assert.h>
15114 /* Override any gcc2 internal prototype to avoid an error. */
15115 /* We use char because int might match the return type of a gcc2
15116 builtin and then its argument prototype would still apply. */
15121 /* The GNU C library defines this for functions which it implements
15122 to always fail with ENOSYS. Some functions are actually named
15123 something starting with __ and the normal name is an alias. */
15124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15132 if { (eval echo configure:15133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15134 eval "ac_cv_func_$ac_func=yes"
15136 echo "configure: failed program was:" >&5
15137 cat conftest.$ac_ext >&5
15139 eval "ac_cv_func_$ac_func=no"
15144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15145 echo "$ac_t""yes" 1>&6
15146 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15147 cat >> confdefs.h <<EOF
15148 #define $ac_tr_func 1
15152 echo "$ac_t""no" 1>&6
15158 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
15159 echo "configure:15160: checking for _fmodf declaration" >&5
15160 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
15161 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
15162 echo $ac_n "(cached) $ac_c" 1>&6
15167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15168 ac_cpp='$CXXCPP $CPPFLAGS'
15169 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15170 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15171 cross_compiling=$ac_cv_prog_cxx_cross
15173 cat > conftest.$ac_ext <<EOF
15174 #line 15175 "configure"
15175 #include "confdefs.h"
15181 if { (eval echo configure:15182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15183 glibcpp_cv_func__fmodf_use=yes
15185 echo "configure: failed program was:" >&5
15186 cat conftest.$ac_ext >&5
15188 glibcpp_cv_func__fmodf_use=no
15192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15193 ac_cpp='$CPP $CPPFLAGS'
15194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15196 cross_compiling=$ac_cv_prog_cc_cross
15202 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
15204 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
15205 for ac_func in _fmodf
15207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15208 echo "configure:15209: checking for $ac_func" >&5
15209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15210 echo $ac_n "(cached) $ac_c" 1>&6
15212 cat > conftest.$ac_ext <<EOF
15213 #line 15214 "configure"
15214 #include "confdefs.h"
15215 /* System header to define __stub macros and hopefully few prototypes,
15216 which can conflict with char $ac_func(); below. */
15217 #include <assert.h>
15218 /* Override any gcc2 internal prototype to avoid an error. */
15219 /* We use char because int might match the return type of a gcc2
15220 builtin and then its argument prototype would still apply. */
15225 /* The GNU C library defines this for functions which it implements
15226 to always fail with ENOSYS. Some functions are actually named
15227 something starting with __ and the normal name is an alias. */
15228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15236 if { (eval echo configure:15237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15238 eval "ac_cv_func_$ac_func=yes"
15240 echo "configure: failed program was:" >&5
15241 cat conftest.$ac_ext >&5
15243 eval "ac_cv_func_$ac_func=no"
15248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15249 echo "$ac_t""yes" 1>&6
15250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15251 cat >> confdefs.h <<EOF
15252 #define $ac_tr_func 1
15256 echo "$ac_t""no" 1>&6
15265 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
15266 echo "configure:15267: checking for frexpf declaration" >&5
15267 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15268 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15269 echo $ac_n "(cached) $ac_c" 1>&6
15274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15275 ac_cpp='$CXXCPP $CPPFLAGS'
15276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15278 cross_compiling=$ac_cv_prog_cxx_cross
15280 cat > conftest.$ac_ext <<EOF
15281 #line 15282 "configure"
15282 #include "confdefs.h"
15288 if { (eval echo configure:15289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15290 glibcpp_cv_func_frexpf_use=yes
15292 echo "configure: failed program was:" >&5
15293 cat conftest.$ac_ext >&5
15295 glibcpp_cv_func_frexpf_use=no
15299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15300 ac_cpp='$CPP $CPPFLAGS'
15301 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15302 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15303 cross_compiling=$ac_cv_prog_cc_cross
15309 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15311 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15312 for ac_func in frexpf
15314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15315 echo "configure:15316: checking for $ac_func" >&5
15316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15317 echo $ac_n "(cached) $ac_c" 1>&6
15319 cat > conftest.$ac_ext <<EOF
15320 #line 15321 "configure"
15321 #include "confdefs.h"
15322 /* System header to define __stub macros and hopefully few prototypes,
15323 which can conflict with char $ac_func(); below. */
15324 #include <assert.h>
15325 /* Override any gcc2 internal prototype to avoid an error. */
15326 /* We use char because int might match the return type of a gcc2
15327 builtin and then its argument prototype would still apply. */
15332 /* The GNU C library defines this for functions which it implements
15333 to always fail with ENOSYS. Some functions are actually named
15334 something starting with __ and the normal name is an alias. */
15335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15343 if { (eval echo configure:15344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15345 eval "ac_cv_func_$ac_func=yes"
15347 echo "configure: failed program was:" >&5
15348 cat conftest.$ac_ext >&5
15350 eval "ac_cv_func_$ac_func=no"
15355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15356 echo "$ac_t""yes" 1>&6
15357 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15358 cat >> confdefs.h <<EOF
15359 #define $ac_tr_func 1
15363 echo "$ac_t""no" 1>&6
15369 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
15370 echo "configure:15371: checking for _frexpf declaration" >&5
15371 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15372 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15373 echo $ac_n "(cached) $ac_c" 1>&6
15378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15379 ac_cpp='$CXXCPP $CPPFLAGS'
15380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15382 cross_compiling=$ac_cv_prog_cxx_cross
15384 cat > conftest.$ac_ext <<EOF
15385 #line 15386 "configure"
15386 #include "confdefs.h"
15392 if { (eval echo configure:15393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15394 glibcpp_cv_func__frexpf_use=yes
15396 echo "configure: failed program was:" >&5
15397 cat conftest.$ac_ext >&5
15399 glibcpp_cv_func__frexpf_use=no
15403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15404 ac_cpp='$CPP $CPPFLAGS'
15405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15407 cross_compiling=$ac_cv_prog_cc_cross
15413 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15415 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15416 for ac_func in _frexpf
15418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15419 echo "configure:15420: checking for $ac_func" >&5
15420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15421 echo $ac_n "(cached) $ac_c" 1>&6
15423 cat > conftest.$ac_ext <<EOF
15424 #line 15425 "configure"
15425 #include "confdefs.h"
15426 /* System header to define __stub macros and hopefully few prototypes,
15427 which can conflict with char $ac_func(); below. */
15428 #include <assert.h>
15429 /* Override any gcc2 internal prototype to avoid an error. */
15430 /* We use char because int might match the return type of a gcc2
15431 builtin and then its argument prototype would still apply. */
15436 /* The GNU C library defines this for functions which it implements
15437 to always fail with ENOSYS. Some functions are actually named
15438 something starting with __ and the normal name is an alias. */
15439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15447 if { (eval echo configure:15448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15449 eval "ac_cv_func_$ac_func=yes"
15451 echo "configure: failed program was:" >&5
15452 cat conftest.$ac_ext >&5
15454 eval "ac_cv_func_$ac_func=no"
15459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15460 echo "$ac_t""yes" 1>&6
15461 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15462 cat >> confdefs.h <<EOF
15463 #define $ac_tr_func 1
15467 echo "$ac_t""no" 1>&6
15476 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
15477 echo "configure:15478: checking for hypotf declaration" >&5
15478 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15479 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15480 echo $ac_n "(cached) $ac_c" 1>&6
15485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15486 ac_cpp='$CXXCPP $CPPFLAGS'
15487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15489 cross_compiling=$ac_cv_prog_cxx_cross
15491 cat > conftest.$ac_ext <<EOF
15492 #line 15493 "configure"
15493 #include "confdefs.h"
15499 if { (eval echo configure:15500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15501 glibcpp_cv_func_hypotf_use=yes
15503 echo "configure: failed program was:" >&5
15504 cat conftest.$ac_ext >&5
15506 glibcpp_cv_func_hypotf_use=no
15510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15511 ac_cpp='$CPP $CPPFLAGS'
15512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15514 cross_compiling=$ac_cv_prog_cc_cross
15520 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15522 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15523 for ac_func in hypotf
15525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15526 echo "configure:15527: checking for $ac_func" >&5
15527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15528 echo $ac_n "(cached) $ac_c" 1>&6
15530 cat > conftest.$ac_ext <<EOF
15531 #line 15532 "configure"
15532 #include "confdefs.h"
15533 /* System header to define __stub macros and hopefully few prototypes,
15534 which can conflict with char $ac_func(); below. */
15535 #include <assert.h>
15536 /* Override any gcc2 internal prototype to avoid an error. */
15537 /* We use char because int might match the return type of a gcc2
15538 builtin and then its argument prototype would still apply. */
15543 /* The GNU C library defines this for functions which it implements
15544 to always fail with ENOSYS. Some functions are actually named
15545 something starting with __ and the normal name is an alias. */
15546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15554 if { (eval echo configure:15555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15556 eval "ac_cv_func_$ac_func=yes"
15558 echo "configure: failed program was:" >&5
15559 cat conftest.$ac_ext >&5
15561 eval "ac_cv_func_$ac_func=no"
15566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15567 echo "$ac_t""yes" 1>&6
15568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15569 cat >> confdefs.h <<EOF
15570 #define $ac_tr_func 1
15574 echo "$ac_t""no" 1>&6
15580 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
15581 echo "configure:15582: checking for _hypotf declaration" >&5
15582 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15583 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15584 echo $ac_n "(cached) $ac_c" 1>&6
15589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15590 ac_cpp='$CXXCPP $CPPFLAGS'
15591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15593 cross_compiling=$ac_cv_prog_cxx_cross
15595 cat > conftest.$ac_ext <<EOF
15596 #line 15597 "configure"
15597 #include "confdefs.h"
15603 if { (eval echo configure:15604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15605 glibcpp_cv_func__hypotf_use=yes
15607 echo "configure: failed program was:" >&5
15608 cat conftest.$ac_ext >&5
15610 glibcpp_cv_func__hypotf_use=no
15614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15615 ac_cpp='$CPP $CPPFLAGS'
15616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15618 cross_compiling=$ac_cv_prog_cc_cross
15624 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15626 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15627 for ac_func in _hypotf
15629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15630 echo "configure:15631: checking for $ac_func" >&5
15631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15632 echo $ac_n "(cached) $ac_c" 1>&6
15634 cat > conftest.$ac_ext <<EOF
15635 #line 15636 "configure"
15636 #include "confdefs.h"
15637 /* System header to define __stub macros and hopefully few prototypes,
15638 which can conflict with char $ac_func(); below. */
15639 #include <assert.h>
15640 /* Override any gcc2 internal prototype to avoid an error. */
15641 /* We use char because int might match the return type of a gcc2
15642 builtin and then its argument prototype would still apply. */
15647 /* The GNU C library defines this for functions which it implements
15648 to always fail with ENOSYS. Some functions are actually named
15649 something starting with __ and the normal name is an alias. */
15650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15658 if { (eval echo configure:15659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15660 eval "ac_cv_func_$ac_func=yes"
15662 echo "configure: failed program was:" >&5
15663 cat conftest.$ac_ext >&5
15665 eval "ac_cv_func_$ac_func=no"
15670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15671 echo "$ac_t""yes" 1>&6
15672 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15673 cat >> confdefs.h <<EOF
15674 #define $ac_tr_func 1
15678 echo "$ac_t""no" 1>&6
15687 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
15688 echo "configure:15689: checking for ldexpf declaration" >&5
15689 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15690 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15691 echo $ac_n "(cached) $ac_c" 1>&6
15696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15697 ac_cpp='$CXXCPP $CPPFLAGS'
15698 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15699 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15700 cross_compiling=$ac_cv_prog_cxx_cross
15702 cat > conftest.$ac_ext <<EOF
15703 #line 15704 "configure"
15704 #include "confdefs.h"
15710 if { (eval echo configure:15711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15712 glibcpp_cv_func_ldexpf_use=yes
15714 echo "configure: failed program was:" >&5
15715 cat conftest.$ac_ext >&5
15717 glibcpp_cv_func_ldexpf_use=no
15721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15722 ac_cpp='$CPP $CPPFLAGS'
15723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15725 cross_compiling=$ac_cv_prog_cc_cross
15731 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15733 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15734 for ac_func in ldexpf
15736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15737 echo "configure:15738: checking for $ac_func" >&5
15738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15739 echo $ac_n "(cached) $ac_c" 1>&6
15741 cat > conftest.$ac_ext <<EOF
15742 #line 15743 "configure"
15743 #include "confdefs.h"
15744 /* System header to define __stub macros and hopefully few prototypes,
15745 which can conflict with char $ac_func(); below. */
15746 #include <assert.h>
15747 /* Override any gcc2 internal prototype to avoid an error. */
15748 /* We use char because int might match the return type of a gcc2
15749 builtin and then its argument prototype would still apply. */
15754 /* The GNU C library defines this for functions which it implements
15755 to always fail with ENOSYS. Some functions are actually named
15756 something starting with __ and the normal name is an alias. */
15757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15765 if { (eval echo configure:15766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15767 eval "ac_cv_func_$ac_func=yes"
15769 echo "configure: failed program was:" >&5
15770 cat conftest.$ac_ext >&5
15772 eval "ac_cv_func_$ac_func=no"
15777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15778 echo "$ac_t""yes" 1>&6
15779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15780 cat >> confdefs.h <<EOF
15781 #define $ac_tr_func 1
15785 echo "$ac_t""no" 1>&6
15791 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
15792 echo "configure:15793: checking for _ldexpf declaration" >&5
15793 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15794 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15795 echo $ac_n "(cached) $ac_c" 1>&6
15800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15801 ac_cpp='$CXXCPP $CPPFLAGS'
15802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15804 cross_compiling=$ac_cv_prog_cxx_cross
15806 cat > conftest.$ac_ext <<EOF
15807 #line 15808 "configure"
15808 #include "confdefs.h"
15814 if { (eval echo configure:15815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15816 glibcpp_cv_func__ldexpf_use=yes
15818 echo "configure: failed program was:" >&5
15819 cat conftest.$ac_ext >&5
15821 glibcpp_cv_func__ldexpf_use=no
15825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15826 ac_cpp='$CPP $CPPFLAGS'
15827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15829 cross_compiling=$ac_cv_prog_cc_cross
15835 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15837 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15838 for ac_func in _ldexpf
15840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15841 echo "configure:15842: checking for $ac_func" >&5
15842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15843 echo $ac_n "(cached) $ac_c" 1>&6
15845 cat > conftest.$ac_ext <<EOF
15846 #line 15847 "configure"
15847 #include "confdefs.h"
15848 /* System header to define __stub macros and hopefully few prototypes,
15849 which can conflict with char $ac_func(); below. */
15850 #include <assert.h>
15851 /* Override any gcc2 internal prototype to avoid an error. */
15852 /* We use char because int might match the return type of a gcc2
15853 builtin and then its argument prototype would still apply. */
15858 /* The GNU C library defines this for functions which it implements
15859 to always fail with ENOSYS. Some functions are actually named
15860 something starting with __ and the normal name is an alias. */
15861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15869 if { (eval echo configure:15870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15871 eval "ac_cv_func_$ac_func=yes"
15873 echo "configure: failed program was:" >&5
15874 cat conftest.$ac_ext >&5
15876 eval "ac_cv_func_$ac_func=no"
15881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15882 echo "$ac_t""yes" 1>&6
15883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15884 cat >> confdefs.h <<EOF
15885 #define $ac_tr_func 1
15889 echo "$ac_t""no" 1>&6
15898 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
15899 echo "configure:15900: checking for logf declaration" >&5
15900 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15901 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15902 echo $ac_n "(cached) $ac_c" 1>&6
15907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15908 ac_cpp='$CXXCPP $CPPFLAGS'
15909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15911 cross_compiling=$ac_cv_prog_cxx_cross
15913 cat > conftest.$ac_ext <<EOF
15914 #line 15915 "configure"
15915 #include "confdefs.h"
15917 #ifdef HAVE_IEEEFP_H
15918 #include <ieeefp.h>
15925 if { (eval echo configure:15926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15927 glibcpp_cv_func_logf_use=yes
15929 echo "configure: failed program was:" >&5
15930 cat conftest.$ac_ext >&5
15932 glibcpp_cv_func_logf_use=no
15936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15937 ac_cpp='$CPP $CPPFLAGS'
15938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15940 cross_compiling=$ac_cv_prog_cc_cross
15946 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15948 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15949 for ac_func in logf
15951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15952 echo "configure:15953: checking for $ac_func" >&5
15953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15954 echo $ac_n "(cached) $ac_c" 1>&6
15956 cat > conftest.$ac_ext <<EOF
15957 #line 15958 "configure"
15958 #include "confdefs.h"
15959 /* System header to define __stub macros and hopefully few prototypes,
15960 which can conflict with char $ac_func(); below. */
15961 #include <assert.h>
15962 /* Override any gcc2 internal prototype to avoid an error. */
15963 /* We use char because int might match the return type of a gcc2
15964 builtin and then its argument prototype would still apply. */
15969 /* The GNU C library defines this for functions which it implements
15970 to always fail with ENOSYS. Some functions are actually named
15971 something starting with __ and the normal name is an alias. */
15972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15980 if { (eval echo configure:15981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15982 eval "ac_cv_func_$ac_func=yes"
15984 echo "configure: failed program was:" >&5
15985 cat conftest.$ac_ext >&5
15987 eval "ac_cv_func_$ac_func=no"
15992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15993 echo "$ac_t""yes" 1>&6
15994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15995 cat >> confdefs.h <<EOF
15996 #define $ac_tr_func 1
16000 echo "$ac_t""no" 1>&6
16006 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
16007 echo "configure:16008: checking for _logf declaration" >&5
16008 if test x${glibcpp_cv_func__logf_use+set} != xset; then
16009 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
16010 echo $ac_n "(cached) $ac_c" 1>&6
16015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16016 ac_cpp='$CXXCPP $CPPFLAGS'
16017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16019 cross_compiling=$ac_cv_prog_cxx_cross
16021 cat > conftest.$ac_ext <<EOF
16022 #line 16023 "configure"
16023 #include "confdefs.h"
16025 #ifdef HAVE_IEEEFP_H
16026 #include <ieeefp.h>
16033 if { (eval echo configure:16034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16035 glibcpp_cv_func__logf_use=yes
16037 echo "configure: failed program was:" >&5
16038 cat conftest.$ac_ext >&5
16040 glibcpp_cv_func__logf_use=no
16044 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16045 ac_cpp='$CPP $CPPFLAGS'
16046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16048 cross_compiling=$ac_cv_prog_cc_cross
16054 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
16056 if test x$glibcpp_cv_func__logf_use = x"yes"; then
16057 for ac_func in _logf
16059 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16060 echo "configure:16061: checking for $ac_func" >&5
16061 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16062 echo $ac_n "(cached) $ac_c" 1>&6
16064 cat > conftest.$ac_ext <<EOF
16065 #line 16066 "configure"
16066 #include "confdefs.h"
16067 /* System header to define __stub macros and hopefully few prototypes,
16068 which can conflict with char $ac_func(); below. */
16069 #include <assert.h>
16070 /* Override any gcc2 internal prototype to avoid an error. */
16071 /* We use char because int might match the return type of a gcc2
16072 builtin and then its argument prototype would still apply. */
16077 /* The GNU C library defines this for functions which it implements
16078 to always fail with ENOSYS. Some functions are actually named
16079 something starting with __ and the normal name is an alias. */
16080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16088 if { (eval echo configure:16089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16090 eval "ac_cv_func_$ac_func=yes"
16092 echo "configure: failed program was:" >&5
16093 cat conftest.$ac_ext >&5
16095 eval "ac_cv_func_$ac_func=no"
16100 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16101 echo "$ac_t""yes" 1>&6
16102 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16103 cat >> confdefs.h <<EOF
16104 #define $ac_tr_func 1
16108 echo "$ac_t""no" 1>&6
16117 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
16118 echo "configure:16119: checking for log10f declaration" >&5
16119 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
16120 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
16121 echo $ac_n "(cached) $ac_c" 1>&6
16126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16127 ac_cpp='$CXXCPP $CPPFLAGS'
16128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16130 cross_compiling=$ac_cv_prog_cxx_cross
16132 cat > conftest.$ac_ext <<EOF
16133 #line 16134 "configure"
16134 #include "confdefs.h"
16136 #ifdef HAVE_IEEEFP_H
16137 #include <ieeefp.h>
16144 if { (eval echo configure:16145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16146 glibcpp_cv_func_log10f_use=yes
16148 echo "configure: failed program was:" >&5
16149 cat conftest.$ac_ext >&5
16151 glibcpp_cv_func_log10f_use=no
16155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16156 ac_cpp='$CPP $CPPFLAGS'
16157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16159 cross_compiling=$ac_cv_prog_cc_cross
16165 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
16167 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
16168 for ac_func in log10f
16170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16171 echo "configure:16172: checking for $ac_func" >&5
16172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16173 echo $ac_n "(cached) $ac_c" 1>&6
16175 cat > conftest.$ac_ext <<EOF
16176 #line 16177 "configure"
16177 #include "confdefs.h"
16178 /* System header to define __stub macros and hopefully few prototypes,
16179 which can conflict with char $ac_func(); below. */
16180 #include <assert.h>
16181 /* Override any gcc2 internal prototype to avoid an error. */
16182 /* We use char because int might match the return type of a gcc2
16183 builtin and then its argument prototype would still apply. */
16188 /* The GNU C library defines this for functions which it implements
16189 to always fail with ENOSYS. Some functions are actually named
16190 something starting with __ and the normal name is an alias. */
16191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16199 if { (eval echo configure:16200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16201 eval "ac_cv_func_$ac_func=yes"
16203 echo "configure: failed program was:" >&5
16204 cat conftest.$ac_ext >&5
16206 eval "ac_cv_func_$ac_func=no"
16211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16212 echo "$ac_t""yes" 1>&6
16213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16214 cat >> confdefs.h <<EOF
16215 #define $ac_tr_func 1
16219 echo "$ac_t""no" 1>&6
16225 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
16226 echo "configure:16227: checking for _log10f declaration" >&5
16227 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16228 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16229 echo $ac_n "(cached) $ac_c" 1>&6
16234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16235 ac_cpp='$CXXCPP $CPPFLAGS'
16236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16238 cross_compiling=$ac_cv_prog_cxx_cross
16240 cat > conftest.$ac_ext <<EOF
16241 #line 16242 "configure"
16242 #include "confdefs.h"
16244 #ifdef HAVE_IEEEFP_H
16245 #include <ieeefp.h>
16252 if { (eval echo configure:16253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16254 glibcpp_cv_func__log10f_use=yes
16256 echo "configure: failed program was:" >&5
16257 cat conftest.$ac_ext >&5
16259 glibcpp_cv_func__log10f_use=no
16263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16264 ac_cpp='$CPP $CPPFLAGS'
16265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16267 cross_compiling=$ac_cv_prog_cc_cross
16273 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16275 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16276 for ac_func in _log10f
16278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16279 echo "configure:16280: checking for $ac_func" >&5
16280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16281 echo $ac_n "(cached) $ac_c" 1>&6
16283 cat > conftest.$ac_ext <<EOF
16284 #line 16285 "configure"
16285 #include "confdefs.h"
16286 /* System header to define __stub macros and hopefully few prototypes,
16287 which can conflict with char $ac_func(); below. */
16288 #include <assert.h>
16289 /* Override any gcc2 internal prototype to avoid an error. */
16290 /* We use char because int might match the return type of a gcc2
16291 builtin and then its argument prototype would still apply. */
16296 /* The GNU C library defines this for functions which it implements
16297 to always fail with ENOSYS. Some functions are actually named
16298 something starting with __ and the normal name is an alias. */
16299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16307 if { (eval echo configure:16308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16309 eval "ac_cv_func_$ac_func=yes"
16311 echo "configure: failed program was:" >&5
16312 cat conftest.$ac_ext >&5
16314 eval "ac_cv_func_$ac_func=no"
16319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16320 echo "$ac_t""yes" 1>&6
16321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16322 cat >> confdefs.h <<EOF
16323 #define $ac_tr_func 1
16327 echo "$ac_t""no" 1>&6
16336 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
16337 echo "configure:16338: checking for modff declaration" >&5
16338 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16339 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16340 echo $ac_n "(cached) $ac_c" 1>&6
16345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16346 ac_cpp='$CXXCPP $CPPFLAGS'
16347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16349 cross_compiling=$ac_cv_prog_cxx_cross
16351 cat > conftest.$ac_ext <<EOF
16352 #line 16353 "configure"
16353 #include "confdefs.h"
16359 if { (eval echo configure:16360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16361 glibcpp_cv_func_modff_use=yes
16363 echo "configure: failed program was:" >&5
16364 cat conftest.$ac_ext >&5
16366 glibcpp_cv_func_modff_use=no
16370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16371 ac_cpp='$CPP $CPPFLAGS'
16372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16374 cross_compiling=$ac_cv_prog_cc_cross
16380 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16382 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16383 for ac_func in modff
16385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16386 echo "configure:16387: checking for $ac_func" >&5
16387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16388 echo $ac_n "(cached) $ac_c" 1>&6
16390 cat > conftest.$ac_ext <<EOF
16391 #line 16392 "configure"
16392 #include "confdefs.h"
16393 /* System header to define __stub macros and hopefully few prototypes,
16394 which can conflict with char $ac_func(); below. */
16395 #include <assert.h>
16396 /* Override any gcc2 internal prototype to avoid an error. */
16397 /* We use char because int might match the return type of a gcc2
16398 builtin and then its argument prototype would still apply. */
16403 /* The GNU C library defines this for functions which it implements
16404 to always fail with ENOSYS. Some functions are actually named
16405 something starting with __ and the normal name is an alias. */
16406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16414 if { (eval echo configure:16415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16416 eval "ac_cv_func_$ac_func=yes"
16418 echo "configure: failed program was:" >&5
16419 cat conftest.$ac_ext >&5
16421 eval "ac_cv_func_$ac_func=no"
16426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16427 echo "$ac_t""yes" 1>&6
16428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16429 cat >> confdefs.h <<EOF
16430 #define $ac_tr_func 1
16434 echo "$ac_t""no" 1>&6
16440 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
16441 echo "configure:16442: checking for _modff declaration" >&5
16442 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16443 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16444 echo $ac_n "(cached) $ac_c" 1>&6
16449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16450 ac_cpp='$CXXCPP $CPPFLAGS'
16451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16453 cross_compiling=$ac_cv_prog_cxx_cross
16455 cat > conftest.$ac_ext <<EOF
16456 #line 16457 "configure"
16457 #include "confdefs.h"
16463 if { (eval echo configure:16464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16465 glibcpp_cv_func__modff_use=yes
16467 echo "configure: failed program was:" >&5
16468 cat conftest.$ac_ext >&5
16470 glibcpp_cv_func__modff_use=no
16474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16475 ac_cpp='$CPP $CPPFLAGS'
16476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16478 cross_compiling=$ac_cv_prog_cc_cross
16484 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16486 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16487 for ac_func in _modff
16489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16490 echo "configure:16491: checking for $ac_func" >&5
16491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16492 echo $ac_n "(cached) $ac_c" 1>&6
16494 cat > conftest.$ac_ext <<EOF
16495 #line 16496 "configure"
16496 #include "confdefs.h"
16497 /* System header to define __stub macros and hopefully few prototypes,
16498 which can conflict with char $ac_func(); below. */
16499 #include <assert.h>
16500 /* Override any gcc2 internal prototype to avoid an error. */
16501 /* We use char because int might match the return type of a gcc2
16502 builtin and then its argument prototype would still apply. */
16507 /* The GNU C library defines this for functions which it implements
16508 to always fail with ENOSYS. Some functions are actually named
16509 something starting with __ and the normal name is an alias. */
16510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16518 if { (eval echo configure:16519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16520 eval "ac_cv_func_$ac_func=yes"
16522 echo "configure: failed program was:" >&5
16523 cat conftest.$ac_ext >&5
16525 eval "ac_cv_func_$ac_func=no"
16530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16531 echo "$ac_t""yes" 1>&6
16532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16533 cat >> confdefs.h <<EOF
16534 #define $ac_tr_func 1
16538 echo "$ac_t""no" 1>&6
16547 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
16548 echo "configure:16549: checking for powf declaration" >&5
16549 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16550 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16551 echo $ac_n "(cached) $ac_c" 1>&6
16556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16557 ac_cpp='$CXXCPP $CPPFLAGS'
16558 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16559 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16560 cross_compiling=$ac_cv_prog_cxx_cross
16562 cat > conftest.$ac_ext <<EOF
16563 #line 16564 "configure"
16564 #include "confdefs.h"
16570 if { (eval echo configure:16571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16572 glibcpp_cv_func_powf_use=yes
16574 echo "configure: failed program was:" >&5
16575 cat conftest.$ac_ext >&5
16577 glibcpp_cv_func_powf_use=no
16581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16582 ac_cpp='$CPP $CPPFLAGS'
16583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16585 cross_compiling=$ac_cv_prog_cc_cross
16591 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16593 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16594 for ac_func in powf
16596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16597 echo "configure:16598: checking for $ac_func" >&5
16598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16599 echo $ac_n "(cached) $ac_c" 1>&6
16601 cat > conftest.$ac_ext <<EOF
16602 #line 16603 "configure"
16603 #include "confdefs.h"
16604 /* System header to define __stub macros and hopefully few prototypes,
16605 which can conflict with char $ac_func(); below. */
16606 #include <assert.h>
16607 /* Override any gcc2 internal prototype to avoid an error. */
16608 /* We use char because int might match the return type of a gcc2
16609 builtin and then its argument prototype would still apply. */
16614 /* The GNU C library defines this for functions which it implements
16615 to always fail with ENOSYS. Some functions are actually named
16616 something starting with __ and the normal name is an alias. */
16617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16625 if { (eval echo configure:16626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16627 eval "ac_cv_func_$ac_func=yes"
16629 echo "configure: failed program was:" >&5
16630 cat conftest.$ac_ext >&5
16632 eval "ac_cv_func_$ac_func=no"
16637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16638 echo "$ac_t""yes" 1>&6
16639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16640 cat >> confdefs.h <<EOF
16641 #define $ac_tr_func 1
16645 echo "$ac_t""no" 1>&6
16651 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
16652 echo "configure:16653: checking for _powf declaration" >&5
16653 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16654 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16655 echo $ac_n "(cached) $ac_c" 1>&6
16660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16661 ac_cpp='$CXXCPP $CPPFLAGS'
16662 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16663 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16664 cross_compiling=$ac_cv_prog_cxx_cross
16666 cat > conftest.$ac_ext <<EOF
16667 #line 16668 "configure"
16668 #include "confdefs.h"
16674 if { (eval echo configure:16675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16676 glibcpp_cv_func__powf_use=yes
16678 echo "configure: failed program was:" >&5
16679 cat conftest.$ac_ext >&5
16681 glibcpp_cv_func__powf_use=no
16685 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16686 ac_cpp='$CPP $CPPFLAGS'
16687 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16688 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16689 cross_compiling=$ac_cv_prog_cc_cross
16695 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16697 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16698 for ac_func in _powf
16700 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16701 echo "configure:16702: checking for $ac_func" >&5
16702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16703 echo $ac_n "(cached) $ac_c" 1>&6
16705 cat > conftest.$ac_ext <<EOF
16706 #line 16707 "configure"
16707 #include "confdefs.h"
16708 /* System header to define __stub macros and hopefully few prototypes,
16709 which can conflict with char $ac_func(); below. */
16710 #include <assert.h>
16711 /* Override any gcc2 internal prototype to avoid an error. */
16712 /* We use char because int might match the return type of a gcc2
16713 builtin and then its argument prototype would still apply. */
16718 /* The GNU C library defines this for functions which it implements
16719 to always fail with ENOSYS. Some functions are actually named
16720 something starting with __ and the normal name is an alias. */
16721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16729 if { (eval echo configure:16730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16731 eval "ac_cv_func_$ac_func=yes"
16733 echo "configure: failed program was:" >&5
16734 cat conftest.$ac_ext >&5
16736 eval "ac_cv_func_$ac_func=no"
16741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16742 echo "$ac_t""yes" 1>&6
16743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16744 cat >> confdefs.h <<EOF
16745 #define $ac_tr_func 1
16749 echo "$ac_t""no" 1>&6
16758 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
16759 echo "configure:16760: checking for sqrtf declaration" >&5
16760 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16761 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16762 echo $ac_n "(cached) $ac_c" 1>&6
16767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16768 ac_cpp='$CXXCPP $CPPFLAGS'
16769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16771 cross_compiling=$ac_cv_prog_cxx_cross
16773 cat > conftest.$ac_ext <<EOF
16774 #line 16775 "configure"
16775 #include "confdefs.h"
16777 #ifdef HAVE_IEEEFP_H
16778 #include <ieeefp.h>
16785 if { (eval echo configure:16786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16787 glibcpp_cv_func_sqrtf_use=yes
16789 echo "configure: failed program was:" >&5
16790 cat conftest.$ac_ext >&5
16792 glibcpp_cv_func_sqrtf_use=no
16796 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16797 ac_cpp='$CPP $CPPFLAGS'
16798 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16799 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16800 cross_compiling=$ac_cv_prog_cc_cross
16806 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16808 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16809 for ac_func in sqrtf
16811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16812 echo "configure:16813: checking for $ac_func" >&5
16813 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16814 echo $ac_n "(cached) $ac_c" 1>&6
16816 cat > conftest.$ac_ext <<EOF
16817 #line 16818 "configure"
16818 #include "confdefs.h"
16819 /* System header to define __stub macros and hopefully few prototypes,
16820 which can conflict with char $ac_func(); below. */
16821 #include <assert.h>
16822 /* Override any gcc2 internal prototype to avoid an error. */
16823 /* We use char because int might match the return type of a gcc2
16824 builtin and then its argument prototype would still apply. */
16829 /* The GNU C library defines this for functions which it implements
16830 to always fail with ENOSYS. Some functions are actually named
16831 something starting with __ and the normal name is an alias. */
16832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16840 if { (eval echo configure:16841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16842 eval "ac_cv_func_$ac_func=yes"
16844 echo "configure: failed program was:" >&5
16845 cat conftest.$ac_ext >&5
16847 eval "ac_cv_func_$ac_func=no"
16852 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16853 echo "$ac_t""yes" 1>&6
16854 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16855 cat >> confdefs.h <<EOF
16856 #define $ac_tr_func 1
16860 echo "$ac_t""no" 1>&6
16866 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
16867 echo "configure:16868: checking for _sqrtf declaration" >&5
16868 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16869 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16870 echo $ac_n "(cached) $ac_c" 1>&6
16875 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16876 ac_cpp='$CXXCPP $CPPFLAGS'
16877 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16878 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16879 cross_compiling=$ac_cv_prog_cxx_cross
16881 cat > conftest.$ac_ext <<EOF
16882 #line 16883 "configure"
16883 #include "confdefs.h"
16885 #ifdef HAVE_IEEEFP_H
16886 #include <ieeefp.h>
16893 if { (eval echo configure:16894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16895 glibcpp_cv_func__sqrtf_use=yes
16897 echo "configure: failed program was:" >&5
16898 cat conftest.$ac_ext >&5
16900 glibcpp_cv_func__sqrtf_use=no
16904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16905 ac_cpp='$CPP $CPPFLAGS'
16906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16908 cross_compiling=$ac_cv_prog_cc_cross
16914 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16916 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16917 for ac_func in _sqrtf
16919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16920 echo "configure:16921: checking for $ac_func" >&5
16921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16922 echo $ac_n "(cached) $ac_c" 1>&6
16924 cat > conftest.$ac_ext <<EOF
16925 #line 16926 "configure"
16926 #include "confdefs.h"
16927 /* System header to define __stub macros and hopefully few prototypes,
16928 which can conflict with char $ac_func(); below. */
16929 #include <assert.h>
16930 /* Override any gcc2 internal prototype to avoid an error. */
16931 /* We use char because int might match the return type of a gcc2
16932 builtin and then its argument prototype would still apply. */
16937 /* The GNU C library defines this for functions which it implements
16938 to always fail with ENOSYS. Some functions are actually named
16939 something starting with __ and the normal name is an alias. */
16940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16948 if { (eval echo configure:16949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16950 eval "ac_cv_func_$ac_func=yes"
16952 echo "configure: failed program was:" >&5
16953 cat conftest.$ac_ext >&5
16955 eval "ac_cv_func_$ac_func=no"
16960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16961 echo "$ac_t""yes" 1>&6
16962 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16963 cat >> confdefs.h <<EOF
16964 #define $ac_tr_func 1
16968 echo "$ac_t""no" 1>&6
16977 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
16978 echo "configure:16979: checking for sincosf declaration" >&5
16979 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16980 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16981 echo $ac_n "(cached) $ac_c" 1>&6
16986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16987 ac_cpp='$CXXCPP $CPPFLAGS'
16988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16990 cross_compiling=$ac_cv_prog_cxx_cross
16992 cat > conftest.$ac_ext <<EOF
16993 #line 16994 "configure"
16994 #include "confdefs.h"
17000 if { (eval echo configure:17001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17002 glibcpp_cv_func_sincosf_use=yes
17004 echo "configure: failed program was:" >&5
17005 cat conftest.$ac_ext >&5
17007 glibcpp_cv_func_sincosf_use=no
17011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17012 ac_cpp='$CPP $CPPFLAGS'
17013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17015 cross_compiling=$ac_cv_prog_cc_cross
17021 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
17023 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
17024 for ac_func in sincosf
17026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17027 echo "configure:17028: checking for $ac_func" >&5
17028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17029 echo $ac_n "(cached) $ac_c" 1>&6
17031 cat > conftest.$ac_ext <<EOF
17032 #line 17033 "configure"
17033 #include "confdefs.h"
17034 /* System header to define __stub macros and hopefully few prototypes,
17035 which can conflict with char $ac_func(); below. */
17036 #include <assert.h>
17037 /* Override any gcc2 internal prototype to avoid an error. */
17038 /* We use char because int might match the return type of a gcc2
17039 builtin and then its argument prototype would still apply. */
17044 /* The GNU C library defines this for functions which it implements
17045 to always fail with ENOSYS. Some functions are actually named
17046 something starting with __ and the normal name is an alias. */
17047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17055 if { (eval echo configure:17056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17057 eval "ac_cv_func_$ac_func=yes"
17059 echo "configure: failed program was:" >&5
17060 cat conftest.$ac_ext >&5
17062 eval "ac_cv_func_$ac_func=no"
17067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17068 echo "$ac_t""yes" 1>&6
17069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17070 cat >> confdefs.h <<EOF
17071 #define $ac_tr_func 1
17075 echo "$ac_t""no" 1>&6
17081 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
17082 echo "configure:17083: checking for _sincosf declaration" >&5
17083 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
17084 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
17085 echo $ac_n "(cached) $ac_c" 1>&6
17090 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17091 ac_cpp='$CXXCPP $CPPFLAGS'
17092 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17093 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17094 cross_compiling=$ac_cv_prog_cxx_cross
17096 cat > conftest.$ac_ext <<EOF
17097 #line 17098 "configure"
17098 #include "confdefs.h"
17104 if { (eval echo configure:17105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17106 glibcpp_cv_func__sincosf_use=yes
17108 echo "configure: failed program was:" >&5
17109 cat conftest.$ac_ext >&5
17111 glibcpp_cv_func__sincosf_use=no
17115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17116 ac_cpp='$CPP $CPPFLAGS'
17117 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17118 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17119 cross_compiling=$ac_cv_prog_cc_cross
17125 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
17127 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
17128 for ac_func in _sincosf
17130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17131 echo "configure:17132: checking for $ac_func" >&5
17132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17133 echo $ac_n "(cached) $ac_c" 1>&6
17135 cat > conftest.$ac_ext <<EOF
17136 #line 17137 "configure"
17137 #include "confdefs.h"
17138 /* System header to define __stub macros and hopefully few prototypes,
17139 which can conflict with char $ac_func(); below. */
17140 #include <assert.h>
17141 /* Override any gcc2 internal prototype to avoid an error. */
17142 /* We use char because int might match the return type of a gcc2
17143 builtin and then its argument prototype would still apply. */
17148 /* The GNU C library defines this for functions which it implements
17149 to always fail with ENOSYS. Some functions are actually named
17150 something starting with __ and the normal name is an alias. */
17151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17159 if { (eval echo configure:17160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17161 eval "ac_cv_func_$ac_func=yes"
17163 echo "configure: failed program was:" >&5
17164 cat conftest.$ac_ext >&5
17166 eval "ac_cv_func_$ac_func=no"
17171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17172 echo "$ac_t""yes" 1>&6
17173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17174 cat >> confdefs.h <<EOF
17175 #define $ac_tr_func 1
17179 echo "$ac_t""no" 1>&6
17188 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
17189 echo "configure:17190: checking for finitef declaration" >&5
17190 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
17191 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
17192 echo $ac_n "(cached) $ac_c" 1>&6
17197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17198 ac_cpp='$CXXCPP $CPPFLAGS'
17199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17201 cross_compiling=$ac_cv_prog_cxx_cross
17203 cat > conftest.$ac_ext <<EOF
17204 #line 17205 "configure"
17205 #include "confdefs.h"
17207 #ifdef HAVE_IEEEFP_H
17208 #include <ieeefp.h>
17215 if { (eval echo configure:17216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17217 glibcpp_cv_func_finitef_use=yes
17219 echo "configure: failed program was:" >&5
17220 cat conftest.$ac_ext >&5
17222 glibcpp_cv_func_finitef_use=no
17226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17227 ac_cpp='$CPP $CPPFLAGS'
17228 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17229 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17230 cross_compiling=$ac_cv_prog_cc_cross
17236 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17238 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17239 for ac_func in finitef
17241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17242 echo "configure:17243: checking for $ac_func" >&5
17243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17244 echo $ac_n "(cached) $ac_c" 1>&6
17246 cat > conftest.$ac_ext <<EOF
17247 #line 17248 "configure"
17248 #include "confdefs.h"
17249 /* System header to define __stub macros and hopefully few prototypes,
17250 which can conflict with char $ac_func(); below. */
17251 #include <assert.h>
17252 /* Override any gcc2 internal prototype to avoid an error. */
17253 /* We use char because int might match the return type of a gcc2
17254 builtin and then its argument prototype would still apply. */
17259 /* The GNU C library defines this for functions which it implements
17260 to always fail with ENOSYS. Some functions are actually named
17261 something starting with __ and the normal name is an alias. */
17262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17270 if { (eval echo configure:17271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17272 eval "ac_cv_func_$ac_func=yes"
17274 echo "configure: failed program was:" >&5
17275 cat conftest.$ac_ext >&5
17277 eval "ac_cv_func_$ac_func=no"
17282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17283 echo "$ac_t""yes" 1>&6
17284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17285 cat >> confdefs.h <<EOF
17286 #define $ac_tr_func 1
17290 echo "$ac_t""no" 1>&6
17296 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
17297 echo "configure:17298: checking for _finitef declaration" >&5
17298 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17299 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17300 echo $ac_n "(cached) $ac_c" 1>&6
17305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17306 ac_cpp='$CXXCPP $CPPFLAGS'
17307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17309 cross_compiling=$ac_cv_prog_cxx_cross
17311 cat > conftest.$ac_ext <<EOF
17312 #line 17313 "configure"
17313 #include "confdefs.h"
17315 #ifdef HAVE_IEEEFP_H
17316 #include <ieeefp.h>
17323 if { (eval echo configure:17324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17325 glibcpp_cv_func__finitef_use=yes
17327 echo "configure: failed program was:" >&5
17328 cat conftest.$ac_ext >&5
17330 glibcpp_cv_func__finitef_use=no
17334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17335 ac_cpp='$CPP $CPPFLAGS'
17336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17338 cross_compiling=$ac_cv_prog_cc_cross
17344 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17346 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17347 for ac_func in _finitef
17349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17350 echo "configure:17351: checking for $ac_func" >&5
17351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17352 echo $ac_n "(cached) $ac_c" 1>&6
17354 cat > conftest.$ac_ext <<EOF
17355 #line 17356 "configure"
17356 #include "confdefs.h"
17357 /* System header to define __stub macros and hopefully few prototypes,
17358 which can conflict with char $ac_func(); below. */
17359 #include <assert.h>
17360 /* Override any gcc2 internal prototype to avoid an error. */
17361 /* We use char because int might match the return type of a gcc2
17362 builtin and then its argument prototype would still apply. */
17367 /* The GNU C library defines this for functions which it implements
17368 to always fail with ENOSYS. Some functions are actually named
17369 something starting with __ and the normal name is an alias. */
17370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17378 if { (eval echo configure:17379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17380 eval "ac_cv_func_$ac_func=yes"
17382 echo "configure: failed program was:" >&5
17383 cat conftest.$ac_ext >&5
17385 eval "ac_cv_func_$ac_func=no"
17390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17391 echo "$ac_t""yes" 1>&6
17392 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17393 cat >> confdefs.h <<EOF
17394 #define $ac_tr_func 1
17398 echo "$ac_t""no" 1>&6
17407 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
17408 echo "configure:17409: checking for long double trig functions" >&5
17409 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17410 echo $ac_n "(cached) $ac_c" 1>&6
17415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17416 ac_cpp='$CXXCPP $CPPFLAGS'
17417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17419 cross_compiling=$ac_cv_prog_cxx_cross
17421 cat > conftest.$ac_ext <<EOF
17422 #line 17423 "configure"
17423 #include "confdefs.h"
17426 `for x in acosl asinl atanl \
17428 coshl sinhl tanhl; do echo "$x (0);"; done`
17431 if { (eval echo configure:17432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17433 glibcpp_cv_func_long_double_trig_use=yes
17435 echo "configure: failed program was:" >&5
17436 cat conftest.$ac_ext >&5
17438 glibcpp_cv_func_long_double_trig_use=no
17442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17443 ac_cpp='$CPP $CPPFLAGS'
17444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17446 cross_compiling=$ac_cv_prog_cc_cross
17450 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17451 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17452 for ac_func in acosl asinl atanl \
17456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17457 echo "configure:17458: checking for $ac_func" >&5
17458 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17459 echo $ac_n "(cached) $ac_c" 1>&6
17461 cat > conftest.$ac_ext <<EOF
17462 #line 17463 "configure"
17463 #include "confdefs.h"
17464 /* System header to define __stub macros and hopefully few prototypes,
17465 which can conflict with char $ac_func(); below. */
17466 #include <assert.h>
17467 /* Override any gcc2 internal prototype to avoid an error. */
17468 /* We use char because int might match the return type of a gcc2
17469 builtin and then its argument prototype would still apply. */
17474 /* The GNU C library defines this for functions which it implements
17475 to always fail with ENOSYS. Some functions are actually named
17476 something starting with __ and the normal name is an alias. */
17477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17485 if { (eval echo configure:17486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17487 eval "ac_cv_func_$ac_func=yes"
17489 echo "configure: failed program was:" >&5
17490 cat conftest.$ac_ext >&5
17492 eval "ac_cv_func_$ac_func=no"
17497 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17498 echo "$ac_t""yes" 1>&6
17499 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17500 cat >> confdefs.h <<EOF
17501 #define $ac_tr_func 1
17505 echo "$ac_t""no" 1>&6
17512 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
17513 echo "configure:17514: checking for long double round functions" >&5
17514 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17515 echo $ac_n "(cached) $ac_c" 1>&6
17520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17521 ac_cpp='$CXXCPP $CPPFLAGS'
17522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17524 cross_compiling=$ac_cv_prog_cxx_cross
17526 cat > conftest.$ac_ext <<EOF
17527 #line 17528 "configure"
17528 #include "confdefs.h"
17531 `for x in ceill floorl; do echo "$x (0);"; done`
17534 if { (eval echo configure:17535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17536 glibcpp_cv_func_long_double_round_use=yes
17538 echo "configure: failed program was:" >&5
17539 cat conftest.$ac_ext >&5
17541 glibcpp_cv_func_long_double_round_use=no
17545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17546 ac_cpp='$CPP $CPPFLAGS'
17547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17549 cross_compiling=$ac_cv_prog_cc_cross
17553 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17554 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17555 for ac_func in ceill floorl
17557 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17558 echo "configure:17559: checking for $ac_func" >&5
17559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17560 echo $ac_n "(cached) $ac_c" 1>&6
17562 cat > conftest.$ac_ext <<EOF
17563 #line 17564 "configure"
17564 #include "confdefs.h"
17565 /* System header to define __stub macros and hopefully few prototypes,
17566 which can conflict with char $ac_func(); below. */
17567 #include <assert.h>
17568 /* Override any gcc2 internal prototype to avoid an error. */
17569 /* We use char because int might match the return type of a gcc2
17570 builtin and then its argument prototype would still apply. */
17575 /* The GNU C library defines this for functions which it implements
17576 to always fail with ENOSYS. Some functions are actually named
17577 something starting with __ and the normal name is an alias. */
17578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17586 if { (eval echo configure:17587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17588 eval "ac_cv_func_$ac_func=yes"
17590 echo "configure: failed program was:" >&5
17591 cat conftest.$ac_ext >&5
17593 eval "ac_cv_func_$ac_func=no"
17598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17599 echo "$ac_t""yes" 1>&6
17600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17601 cat >> confdefs.h <<EOF
17602 #define $ac_tr_func 1
17606 echo "$ac_t""no" 1>&6
17614 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
17615 echo "configure:17616: checking for isnanl declaration" >&5
17616 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17617 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17618 echo $ac_n "(cached) $ac_c" 1>&6
17623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17624 ac_cpp='$CXXCPP $CPPFLAGS'
17625 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17626 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17627 cross_compiling=$ac_cv_prog_cxx_cross
17629 cat > conftest.$ac_ext <<EOF
17630 #line 17631 "configure"
17631 #include "confdefs.h"
17633 #ifdef HAVE_IEEEFP_H
17634 #include <ieeefp.h>
17641 if { (eval echo configure:17642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17643 glibcpp_cv_func_isnanl_use=yes
17645 echo "configure: failed program was:" >&5
17646 cat conftest.$ac_ext >&5
17648 glibcpp_cv_func_isnanl_use=no
17652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17653 ac_cpp='$CPP $CPPFLAGS'
17654 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17655 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17656 cross_compiling=$ac_cv_prog_cc_cross
17662 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17664 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17665 for ac_func in isnanl
17667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17668 echo "configure:17669: checking for $ac_func" >&5
17669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17670 echo $ac_n "(cached) $ac_c" 1>&6
17672 cat > conftest.$ac_ext <<EOF
17673 #line 17674 "configure"
17674 #include "confdefs.h"
17675 /* System header to define __stub macros and hopefully few prototypes,
17676 which can conflict with char $ac_func(); below. */
17677 #include <assert.h>
17678 /* Override any gcc2 internal prototype to avoid an error. */
17679 /* We use char because int might match the return type of a gcc2
17680 builtin and then its argument prototype would still apply. */
17685 /* The GNU C library defines this for functions which it implements
17686 to always fail with ENOSYS. Some functions are actually named
17687 something starting with __ and the normal name is an alias. */
17688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17696 if { (eval echo configure:17697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17698 eval "ac_cv_func_$ac_func=yes"
17700 echo "configure: failed program was:" >&5
17701 cat conftest.$ac_ext >&5
17703 eval "ac_cv_func_$ac_func=no"
17708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17709 echo "$ac_t""yes" 1>&6
17710 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17711 cat >> confdefs.h <<EOF
17712 #define $ac_tr_func 1
17716 echo "$ac_t""no" 1>&6
17722 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
17723 echo "configure:17724: checking for _isnanl declaration" >&5
17724 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17725 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17726 echo $ac_n "(cached) $ac_c" 1>&6
17731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17732 ac_cpp='$CXXCPP $CPPFLAGS'
17733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17735 cross_compiling=$ac_cv_prog_cxx_cross
17737 cat > conftest.$ac_ext <<EOF
17738 #line 17739 "configure"
17739 #include "confdefs.h"
17741 #ifdef HAVE_IEEEFP_H
17742 #include <ieeefp.h>
17749 if { (eval echo configure:17750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17751 glibcpp_cv_func__isnanl_use=yes
17753 echo "configure: failed program was:" >&5
17754 cat conftest.$ac_ext >&5
17756 glibcpp_cv_func__isnanl_use=no
17760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17761 ac_cpp='$CPP $CPPFLAGS'
17762 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17763 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17764 cross_compiling=$ac_cv_prog_cc_cross
17770 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17772 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17773 for ac_func in _isnanl
17775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17776 echo "configure:17777: checking for $ac_func" >&5
17777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17778 echo $ac_n "(cached) $ac_c" 1>&6
17780 cat > conftest.$ac_ext <<EOF
17781 #line 17782 "configure"
17782 #include "confdefs.h"
17783 /* System header to define __stub macros and hopefully few prototypes,
17784 which can conflict with char $ac_func(); below. */
17785 #include <assert.h>
17786 /* Override any gcc2 internal prototype to avoid an error. */
17787 /* We use char because int might match the return type of a gcc2
17788 builtin and then its argument prototype would still apply. */
17793 /* The GNU C library defines this for functions which it implements
17794 to always fail with ENOSYS. Some functions are actually named
17795 something starting with __ and the normal name is an alias. */
17796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17804 if { (eval echo configure:17805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17806 eval "ac_cv_func_$ac_func=yes"
17808 echo "configure: failed program was:" >&5
17809 cat conftest.$ac_ext >&5
17811 eval "ac_cv_func_$ac_func=no"
17816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17817 echo "$ac_t""yes" 1>&6
17818 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17819 cat >> confdefs.h <<EOF
17820 #define $ac_tr_func 1
17824 echo "$ac_t""no" 1>&6
17833 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
17834 echo "configure:17835: checking for isinfl declaration" >&5
17835 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17836 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17837 echo $ac_n "(cached) $ac_c" 1>&6
17842 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17843 ac_cpp='$CXXCPP $CPPFLAGS'
17844 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17845 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17846 cross_compiling=$ac_cv_prog_cxx_cross
17848 cat > conftest.$ac_ext <<EOF
17849 #line 17850 "configure"
17850 #include "confdefs.h"
17852 #ifdef HAVE_IEEEFP_H
17853 #include <ieeefp.h>
17860 if { (eval echo configure:17861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17862 glibcpp_cv_func_isinfl_use=yes
17864 echo "configure: failed program was:" >&5
17865 cat conftest.$ac_ext >&5
17867 glibcpp_cv_func_isinfl_use=no
17871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17872 ac_cpp='$CPP $CPPFLAGS'
17873 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17874 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17875 cross_compiling=$ac_cv_prog_cc_cross
17881 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17883 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17884 for ac_func in isinfl
17886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17887 echo "configure:17888: checking for $ac_func" >&5
17888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17889 echo $ac_n "(cached) $ac_c" 1>&6
17891 cat > conftest.$ac_ext <<EOF
17892 #line 17893 "configure"
17893 #include "confdefs.h"
17894 /* System header to define __stub macros and hopefully few prototypes,
17895 which can conflict with char $ac_func(); below. */
17896 #include <assert.h>
17897 /* Override any gcc2 internal prototype to avoid an error. */
17898 /* We use char because int might match the return type of a gcc2
17899 builtin and then its argument prototype would still apply. */
17904 /* The GNU C library defines this for functions which it implements
17905 to always fail with ENOSYS. Some functions are actually named
17906 something starting with __ and the normal name is an alias. */
17907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17915 if { (eval echo configure:17916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17917 eval "ac_cv_func_$ac_func=yes"
17919 echo "configure: failed program was:" >&5
17920 cat conftest.$ac_ext >&5
17922 eval "ac_cv_func_$ac_func=no"
17927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17928 echo "$ac_t""yes" 1>&6
17929 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17930 cat >> confdefs.h <<EOF
17931 #define $ac_tr_func 1
17935 echo "$ac_t""no" 1>&6
17941 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
17942 echo "configure:17943: checking for _isinfl declaration" >&5
17943 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17944 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17945 echo $ac_n "(cached) $ac_c" 1>&6
17950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17951 ac_cpp='$CXXCPP $CPPFLAGS'
17952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17954 cross_compiling=$ac_cv_prog_cxx_cross
17956 cat > conftest.$ac_ext <<EOF
17957 #line 17958 "configure"
17958 #include "confdefs.h"
17960 #ifdef HAVE_IEEEFP_H
17961 #include <ieeefp.h>
17968 if { (eval echo configure:17969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17970 glibcpp_cv_func__isinfl_use=yes
17972 echo "configure: failed program was:" >&5
17973 cat conftest.$ac_ext >&5
17975 glibcpp_cv_func__isinfl_use=no
17979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17980 ac_cpp='$CPP $CPPFLAGS'
17981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17983 cross_compiling=$ac_cv_prog_cc_cross
17989 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17991 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17992 for ac_func in _isinfl
17994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17995 echo "configure:17996: checking for $ac_func" >&5
17996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17997 echo $ac_n "(cached) $ac_c" 1>&6
17999 cat > conftest.$ac_ext <<EOF
18000 #line 18001 "configure"
18001 #include "confdefs.h"
18002 /* System header to define __stub macros and hopefully few prototypes,
18003 which can conflict with char $ac_func(); below. */
18004 #include <assert.h>
18005 /* Override any gcc2 internal prototype to avoid an error. */
18006 /* We use char because int might match the return type of a gcc2
18007 builtin and then its argument prototype would still apply. */
18012 /* The GNU C library defines this for functions which it implements
18013 to always fail with ENOSYS. Some functions are actually named
18014 something starting with __ and the normal name is an alias. */
18015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18023 if { (eval echo configure:18024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18025 eval "ac_cv_func_$ac_func=yes"
18027 echo "configure: failed program was:" >&5
18028 cat conftest.$ac_ext >&5
18030 eval "ac_cv_func_$ac_func=no"
18035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18036 echo "$ac_t""yes" 1>&6
18037 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18038 cat >> confdefs.h <<EOF
18039 #define $ac_tr_func 1
18043 echo "$ac_t""no" 1>&6
18052 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
18053 echo "configure:18054: checking for copysignl declaration" >&5
18054 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
18055 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
18056 echo $ac_n "(cached) $ac_c" 1>&6
18061 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18062 ac_cpp='$CXXCPP $CPPFLAGS'
18063 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18064 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18065 cross_compiling=$ac_cv_prog_cxx_cross
18067 cat > conftest.$ac_ext <<EOF
18068 #line 18069 "configure"
18069 #include "confdefs.h"
18075 if { (eval echo configure:18076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18077 glibcpp_cv_func_copysignl_use=yes
18079 echo "configure: failed program was:" >&5
18080 cat conftest.$ac_ext >&5
18082 glibcpp_cv_func_copysignl_use=no
18086 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18087 ac_cpp='$CPP $CPPFLAGS'
18088 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18089 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18090 cross_compiling=$ac_cv_prog_cc_cross
18096 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
18098 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
18099 for ac_func in copysignl
18101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18102 echo "configure:18103: checking for $ac_func" >&5
18103 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18104 echo $ac_n "(cached) $ac_c" 1>&6
18106 cat > conftest.$ac_ext <<EOF
18107 #line 18108 "configure"
18108 #include "confdefs.h"
18109 /* System header to define __stub macros and hopefully few prototypes,
18110 which can conflict with char $ac_func(); below. */
18111 #include <assert.h>
18112 /* Override any gcc2 internal prototype to avoid an error. */
18113 /* We use char because int might match the return type of a gcc2
18114 builtin and then its argument prototype would still apply. */
18119 /* The GNU C library defines this for functions which it implements
18120 to always fail with ENOSYS. Some functions are actually named
18121 something starting with __ and the normal name is an alias. */
18122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18130 if { (eval echo configure:18131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18132 eval "ac_cv_func_$ac_func=yes"
18134 echo "configure: failed program was:" >&5
18135 cat conftest.$ac_ext >&5
18137 eval "ac_cv_func_$ac_func=no"
18142 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18143 echo "$ac_t""yes" 1>&6
18144 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18145 cat >> confdefs.h <<EOF
18146 #define $ac_tr_func 1
18150 echo "$ac_t""no" 1>&6
18156 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
18157 echo "configure:18158: checking for _copysignl declaration" >&5
18158 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
18159 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
18160 echo $ac_n "(cached) $ac_c" 1>&6
18165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18166 ac_cpp='$CXXCPP $CPPFLAGS'
18167 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18168 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18169 cross_compiling=$ac_cv_prog_cxx_cross
18171 cat > conftest.$ac_ext <<EOF
18172 #line 18173 "configure"
18173 #include "confdefs.h"
18179 if { (eval echo configure:18180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18181 glibcpp_cv_func__copysignl_use=yes
18183 echo "configure: failed program was:" >&5
18184 cat conftest.$ac_ext >&5
18186 glibcpp_cv_func__copysignl_use=no
18190 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18191 ac_cpp='$CPP $CPPFLAGS'
18192 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18193 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18194 cross_compiling=$ac_cv_prog_cc_cross
18200 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
18202 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
18203 for ac_func in _copysignl
18205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18206 echo "configure:18207: checking for $ac_func" >&5
18207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18208 echo $ac_n "(cached) $ac_c" 1>&6
18210 cat > conftest.$ac_ext <<EOF
18211 #line 18212 "configure"
18212 #include "confdefs.h"
18213 /* System header to define __stub macros and hopefully few prototypes,
18214 which can conflict with char $ac_func(); below. */
18215 #include <assert.h>
18216 /* Override any gcc2 internal prototype to avoid an error. */
18217 /* We use char because int might match the return type of a gcc2
18218 builtin and then its argument prototype would still apply. */
18223 /* The GNU C library defines this for functions which it implements
18224 to always fail with ENOSYS. Some functions are actually named
18225 something starting with __ and the normal name is an alias. */
18226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18234 if { (eval echo configure:18235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18236 eval "ac_cv_func_$ac_func=yes"
18238 echo "configure: failed program was:" >&5
18239 cat conftest.$ac_ext >&5
18241 eval "ac_cv_func_$ac_func=no"
18246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18247 echo "$ac_t""yes" 1>&6
18248 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18249 cat >> confdefs.h <<EOF
18250 #define $ac_tr_func 1
18254 echo "$ac_t""no" 1>&6
18263 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
18264 echo "configure:18265: checking for atan2l declaration" >&5
18265 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18266 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18267 echo $ac_n "(cached) $ac_c" 1>&6
18272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18273 ac_cpp='$CXXCPP $CPPFLAGS'
18274 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18275 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18276 cross_compiling=$ac_cv_prog_cxx_cross
18278 cat > conftest.$ac_ext <<EOF
18279 #line 18280 "configure"
18280 #include "confdefs.h"
18286 if { (eval echo configure:18287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18288 glibcpp_cv_func_atan2l_use=yes
18290 echo "configure: failed program was:" >&5
18291 cat conftest.$ac_ext >&5
18293 glibcpp_cv_func_atan2l_use=no
18297 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18298 ac_cpp='$CPP $CPPFLAGS'
18299 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18300 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18301 cross_compiling=$ac_cv_prog_cc_cross
18307 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18309 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18310 for ac_func in atan2l
18312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18313 echo "configure:18314: checking for $ac_func" >&5
18314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18315 echo $ac_n "(cached) $ac_c" 1>&6
18317 cat > conftest.$ac_ext <<EOF
18318 #line 18319 "configure"
18319 #include "confdefs.h"
18320 /* System header to define __stub macros and hopefully few prototypes,
18321 which can conflict with char $ac_func(); below. */
18322 #include <assert.h>
18323 /* Override any gcc2 internal prototype to avoid an error. */
18324 /* We use char because int might match the return type of a gcc2
18325 builtin and then its argument prototype would still apply. */
18330 /* The GNU C library defines this for functions which it implements
18331 to always fail with ENOSYS. Some functions are actually named
18332 something starting with __ and the normal name is an alias. */
18333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18341 if { (eval echo configure:18342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18343 eval "ac_cv_func_$ac_func=yes"
18345 echo "configure: failed program was:" >&5
18346 cat conftest.$ac_ext >&5
18348 eval "ac_cv_func_$ac_func=no"
18353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18354 echo "$ac_t""yes" 1>&6
18355 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18356 cat >> confdefs.h <<EOF
18357 #define $ac_tr_func 1
18361 echo "$ac_t""no" 1>&6
18367 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
18368 echo "configure:18369: checking for _atan2l declaration" >&5
18369 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18370 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18371 echo $ac_n "(cached) $ac_c" 1>&6
18376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18377 ac_cpp='$CXXCPP $CPPFLAGS'
18378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18380 cross_compiling=$ac_cv_prog_cxx_cross
18382 cat > conftest.$ac_ext <<EOF
18383 #line 18384 "configure"
18384 #include "confdefs.h"
18390 if { (eval echo configure:18391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18392 glibcpp_cv_func__atan2l_use=yes
18394 echo "configure: failed program was:" >&5
18395 cat conftest.$ac_ext >&5
18397 glibcpp_cv_func__atan2l_use=no
18401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18402 ac_cpp='$CPP $CPPFLAGS'
18403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18405 cross_compiling=$ac_cv_prog_cc_cross
18411 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18413 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18414 for ac_func in _atan2l
18416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18417 echo "configure:18418: checking for $ac_func" >&5
18418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18419 echo $ac_n "(cached) $ac_c" 1>&6
18421 cat > conftest.$ac_ext <<EOF
18422 #line 18423 "configure"
18423 #include "confdefs.h"
18424 /* System header to define __stub macros and hopefully few prototypes,
18425 which can conflict with char $ac_func(); below. */
18426 #include <assert.h>
18427 /* Override any gcc2 internal prototype to avoid an error. */
18428 /* We use char because int might match the return type of a gcc2
18429 builtin and then its argument prototype would still apply. */
18434 /* The GNU C library defines this for functions which it implements
18435 to always fail with ENOSYS. Some functions are actually named
18436 something starting with __ and the normal name is an alias. */
18437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18445 if { (eval echo configure:18446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18447 eval "ac_cv_func_$ac_func=yes"
18449 echo "configure: failed program was:" >&5
18450 cat conftest.$ac_ext >&5
18452 eval "ac_cv_func_$ac_func=no"
18457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18458 echo "$ac_t""yes" 1>&6
18459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18460 cat >> confdefs.h <<EOF
18461 #define $ac_tr_func 1
18465 echo "$ac_t""no" 1>&6
18474 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
18475 echo "configure:18476: checking for expl declaration" >&5
18476 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18477 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18478 echo $ac_n "(cached) $ac_c" 1>&6
18483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18484 ac_cpp='$CXXCPP $CPPFLAGS'
18485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18487 cross_compiling=$ac_cv_prog_cxx_cross
18489 cat > conftest.$ac_ext <<EOF
18490 #line 18491 "configure"
18491 #include "confdefs.h"
18493 #ifdef HAVE_IEEEFP_H
18494 #include <ieeefp.h>
18501 if { (eval echo configure:18502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18503 glibcpp_cv_func_expl_use=yes
18505 echo "configure: failed program was:" >&5
18506 cat conftest.$ac_ext >&5
18508 glibcpp_cv_func_expl_use=no
18512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18513 ac_cpp='$CPP $CPPFLAGS'
18514 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18515 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18516 cross_compiling=$ac_cv_prog_cc_cross
18522 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18524 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18525 for ac_func in expl
18527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18528 echo "configure:18529: checking for $ac_func" >&5
18529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18530 echo $ac_n "(cached) $ac_c" 1>&6
18532 cat > conftest.$ac_ext <<EOF
18533 #line 18534 "configure"
18534 #include "confdefs.h"
18535 /* System header to define __stub macros and hopefully few prototypes,
18536 which can conflict with char $ac_func(); below. */
18537 #include <assert.h>
18538 /* Override any gcc2 internal prototype to avoid an error. */
18539 /* We use char because int might match the return type of a gcc2
18540 builtin and then its argument prototype would still apply. */
18545 /* The GNU C library defines this for functions which it implements
18546 to always fail with ENOSYS. Some functions are actually named
18547 something starting with __ and the normal name is an alias. */
18548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18556 if { (eval echo configure:18557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18558 eval "ac_cv_func_$ac_func=yes"
18560 echo "configure: failed program was:" >&5
18561 cat conftest.$ac_ext >&5
18563 eval "ac_cv_func_$ac_func=no"
18568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18569 echo "$ac_t""yes" 1>&6
18570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18571 cat >> confdefs.h <<EOF
18572 #define $ac_tr_func 1
18576 echo "$ac_t""no" 1>&6
18582 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
18583 echo "configure:18584: checking for _expl declaration" >&5
18584 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18585 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18586 echo $ac_n "(cached) $ac_c" 1>&6
18591 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18592 ac_cpp='$CXXCPP $CPPFLAGS'
18593 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18594 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18595 cross_compiling=$ac_cv_prog_cxx_cross
18597 cat > conftest.$ac_ext <<EOF
18598 #line 18599 "configure"
18599 #include "confdefs.h"
18601 #ifdef HAVE_IEEEFP_H
18602 #include <ieeefp.h>
18609 if { (eval echo configure:18610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18611 glibcpp_cv_func__expl_use=yes
18613 echo "configure: failed program was:" >&5
18614 cat conftest.$ac_ext >&5
18616 glibcpp_cv_func__expl_use=no
18620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18621 ac_cpp='$CPP $CPPFLAGS'
18622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18624 cross_compiling=$ac_cv_prog_cc_cross
18630 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18632 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18633 for ac_func in _expl
18635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18636 echo "configure:18637: checking for $ac_func" >&5
18637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18638 echo $ac_n "(cached) $ac_c" 1>&6
18640 cat > conftest.$ac_ext <<EOF
18641 #line 18642 "configure"
18642 #include "confdefs.h"
18643 /* System header to define __stub macros and hopefully few prototypes,
18644 which can conflict with char $ac_func(); below. */
18645 #include <assert.h>
18646 /* Override any gcc2 internal prototype to avoid an error. */
18647 /* We use char because int might match the return type of a gcc2
18648 builtin and then its argument prototype would still apply. */
18653 /* The GNU C library defines this for functions which it implements
18654 to always fail with ENOSYS. Some functions are actually named
18655 something starting with __ and the normal name is an alias. */
18656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18664 if { (eval echo configure:18665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18666 eval "ac_cv_func_$ac_func=yes"
18668 echo "configure: failed program was:" >&5
18669 cat conftest.$ac_ext >&5
18671 eval "ac_cv_func_$ac_func=no"
18676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18677 echo "$ac_t""yes" 1>&6
18678 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18679 cat >> confdefs.h <<EOF
18680 #define $ac_tr_func 1
18684 echo "$ac_t""no" 1>&6
18693 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
18694 echo "configure:18695: checking for fabsl declaration" >&5
18695 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18696 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18697 echo $ac_n "(cached) $ac_c" 1>&6
18702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18703 ac_cpp='$CXXCPP $CPPFLAGS'
18704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18706 cross_compiling=$ac_cv_prog_cxx_cross
18708 cat > conftest.$ac_ext <<EOF
18709 #line 18710 "configure"
18710 #include "confdefs.h"
18712 #ifdef HAVE_IEEEFP_H
18713 #include <ieeefp.h>
18720 if { (eval echo configure:18721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18722 glibcpp_cv_func_fabsl_use=yes
18724 echo "configure: failed program was:" >&5
18725 cat conftest.$ac_ext >&5
18727 glibcpp_cv_func_fabsl_use=no
18731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18732 ac_cpp='$CPP $CPPFLAGS'
18733 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18734 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18735 cross_compiling=$ac_cv_prog_cc_cross
18741 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18743 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18744 for ac_func in fabsl
18746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18747 echo "configure:18748: checking for $ac_func" >&5
18748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18749 echo $ac_n "(cached) $ac_c" 1>&6
18751 cat > conftest.$ac_ext <<EOF
18752 #line 18753 "configure"
18753 #include "confdefs.h"
18754 /* System header to define __stub macros and hopefully few prototypes,
18755 which can conflict with char $ac_func(); below. */
18756 #include <assert.h>
18757 /* Override any gcc2 internal prototype to avoid an error. */
18758 /* We use char because int might match the return type of a gcc2
18759 builtin and then its argument prototype would still apply. */
18764 /* The GNU C library defines this for functions which it implements
18765 to always fail with ENOSYS. Some functions are actually named
18766 something starting with __ and the normal name is an alias. */
18767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18775 if { (eval echo configure:18776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18777 eval "ac_cv_func_$ac_func=yes"
18779 echo "configure: failed program was:" >&5
18780 cat conftest.$ac_ext >&5
18782 eval "ac_cv_func_$ac_func=no"
18787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18788 echo "$ac_t""yes" 1>&6
18789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18790 cat >> confdefs.h <<EOF
18791 #define $ac_tr_func 1
18795 echo "$ac_t""no" 1>&6
18801 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
18802 echo "configure:18803: checking for _fabsl declaration" >&5
18803 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18804 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18805 echo $ac_n "(cached) $ac_c" 1>&6
18810 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18811 ac_cpp='$CXXCPP $CPPFLAGS'
18812 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18813 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18814 cross_compiling=$ac_cv_prog_cxx_cross
18816 cat > conftest.$ac_ext <<EOF
18817 #line 18818 "configure"
18818 #include "confdefs.h"
18820 #ifdef HAVE_IEEEFP_H
18821 #include <ieeefp.h>
18828 if { (eval echo configure:18829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18830 glibcpp_cv_func__fabsl_use=yes
18832 echo "configure: failed program was:" >&5
18833 cat conftest.$ac_ext >&5
18835 glibcpp_cv_func__fabsl_use=no
18839 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18840 ac_cpp='$CPP $CPPFLAGS'
18841 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18842 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18843 cross_compiling=$ac_cv_prog_cc_cross
18849 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18851 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18852 for ac_func in _fabsl
18854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18855 echo "configure:18856: checking for $ac_func" >&5
18856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18857 echo $ac_n "(cached) $ac_c" 1>&6
18859 cat > conftest.$ac_ext <<EOF
18860 #line 18861 "configure"
18861 #include "confdefs.h"
18862 /* System header to define __stub macros and hopefully few prototypes,
18863 which can conflict with char $ac_func(); below. */
18864 #include <assert.h>
18865 /* Override any gcc2 internal prototype to avoid an error. */
18866 /* We use char because int might match the return type of a gcc2
18867 builtin and then its argument prototype would still apply. */
18872 /* The GNU C library defines this for functions which it implements
18873 to always fail with ENOSYS. Some functions are actually named
18874 something starting with __ and the normal name is an alias. */
18875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18883 if { (eval echo configure:18884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18885 eval "ac_cv_func_$ac_func=yes"
18887 echo "configure: failed program was:" >&5
18888 cat conftest.$ac_ext >&5
18890 eval "ac_cv_func_$ac_func=no"
18895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18896 echo "$ac_t""yes" 1>&6
18897 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18898 cat >> confdefs.h <<EOF
18899 #define $ac_tr_func 1
18903 echo "$ac_t""no" 1>&6
18912 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
18913 echo "configure:18914: checking for fmodl declaration" >&5
18914 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18915 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18916 echo $ac_n "(cached) $ac_c" 1>&6
18921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18922 ac_cpp='$CXXCPP $CPPFLAGS'
18923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18925 cross_compiling=$ac_cv_prog_cxx_cross
18927 cat > conftest.$ac_ext <<EOF
18928 #line 18929 "configure"
18929 #include "confdefs.h"
18935 if { (eval echo configure:18936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18937 glibcpp_cv_func_fmodl_use=yes
18939 echo "configure: failed program was:" >&5
18940 cat conftest.$ac_ext >&5
18942 glibcpp_cv_func_fmodl_use=no
18946 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18947 ac_cpp='$CPP $CPPFLAGS'
18948 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18949 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18950 cross_compiling=$ac_cv_prog_cc_cross
18956 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18958 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18959 for ac_func in fmodl
18961 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18962 echo "configure:18963: checking for $ac_func" >&5
18963 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18964 echo $ac_n "(cached) $ac_c" 1>&6
18966 cat > conftest.$ac_ext <<EOF
18967 #line 18968 "configure"
18968 #include "confdefs.h"
18969 /* System header to define __stub macros and hopefully few prototypes,
18970 which can conflict with char $ac_func(); below. */
18971 #include <assert.h>
18972 /* Override any gcc2 internal prototype to avoid an error. */
18973 /* We use char because int might match the return type of a gcc2
18974 builtin and then its argument prototype would still apply. */
18979 /* The GNU C library defines this for functions which it implements
18980 to always fail with ENOSYS. Some functions are actually named
18981 something starting with __ and the normal name is an alias. */
18982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18990 if { (eval echo configure:18991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18992 eval "ac_cv_func_$ac_func=yes"
18994 echo "configure: failed program was:" >&5
18995 cat conftest.$ac_ext >&5
18997 eval "ac_cv_func_$ac_func=no"
19002 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19003 echo "$ac_t""yes" 1>&6
19004 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19005 cat >> confdefs.h <<EOF
19006 #define $ac_tr_func 1
19010 echo "$ac_t""no" 1>&6
19016 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
19017 echo "configure:19018: checking for _fmodl declaration" >&5
19018 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
19019 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
19020 echo $ac_n "(cached) $ac_c" 1>&6
19025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19026 ac_cpp='$CXXCPP $CPPFLAGS'
19027 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19028 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19029 cross_compiling=$ac_cv_prog_cxx_cross
19031 cat > conftest.$ac_ext <<EOF
19032 #line 19033 "configure"
19033 #include "confdefs.h"
19039 if { (eval echo configure:19040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19041 glibcpp_cv_func__fmodl_use=yes
19043 echo "configure: failed program was:" >&5
19044 cat conftest.$ac_ext >&5
19046 glibcpp_cv_func__fmodl_use=no
19050 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19051 ac_cpp='$CPP $CPPFLAGS'
19052 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19053 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19054 cross_compiling=$ac_cv_prog_cc_cross
19060 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
19062 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
19063 for ac_func in _fmodl
19065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19066 echo "configure:19067: checking for $ac_func" >&5
19067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19068 echo $ac_n "(cached) $ac_c" 1>&6
19070 cat > conftest.$ac_ext <<EOF
19071 #line 19072 "configure"
19072 #include "confdefs.h"
19073 /* System header to define __stub macros and hopefully few prototypes,
19074 which can conflict with char $ac_func(); below. */
19075 #include <assert.h>
19076 /* Override any gcc2 internal prototype to avoid an error. */
19077 /* We use char because int might match the return type of a gcc2
19078 builtin and then its argument prototype would still apply. */
19083 /* The GNU C library defines this for functions which it implements
19084 to always fail with ENOSYS. Some functions are actually named
19085 something starting with __ and the normal name is an alias. */
19086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19094 if { (eval echo configure:19095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19096 eval "ac_cv_func_$ac_func=yes"
19098 echo "configure: failed program was:" >&5
19099 cat conftest.$ac_ext >&5
19101 eval "ac_cv_func_$ac_func=no"
19106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19107 echo "$ac_t""yes" 1>&6
19108 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19109 cat >> confdefs.h <<EOF
19110 #define $ac_tr_func 1
19114 echo "$ac_t""no" 1>&6
19123 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
19124 echo "configure:19125: checking for frexpl declaration" >&5
19125 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
19126 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
19127 echo $ac_n "(cached) $ac_c" 1>&6
19132 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19133 ac_cpp='$CXXCPP $CPPFLAGS'
19134 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19135 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19136 cross_compiling=$ac_cv_prog_cxx_cross
19138 cat > conftest.$ac_ext <<EOF
19139 #line 19140 "configure"
19140 #include "confdefs.h"
19146 if { (eval echo configure:19147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19148 glibcpp_cv_func_frexpl_use=yes
19150 echo "configure: failed program was:" >&5
19151 cat conftest.$ac_ext >&5
19153 glibcpp_cv_func_frexpl_use=no
19157 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19158 ac_cpp='$CPP $CPPFLAGS'
19159 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19160 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19161 cross_compiling=$ac_cv_prog_cc_cross
19167 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
19169 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
19170 for ac_func in frexpl
19172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19173 echo "configure:19174: checking for $ac_func" >&5
19174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19175 echo $ac_n "(cached) $ac_c" 1>&6
19177 cat > conftest.$ac_ext <<EOF
19178 #line 19179 "configure"
19179 #include "confdefs.h"
19180 /* System header to define __stub macros and hopefully few prototypes,
19181 which can conflict with char $ac_func(); below. */
19182 #include <assert.h>
19183 /* Override any gcc2 internal prototype to avoid an error. */
19184 /* We use char because int might match the return type of a gcc2
19185 builtin and then its argument prototype would still apply. */
19190 /* The GNU C library defines this for functions which it implements
19191 to always fail with ENOSYS. Some functions are actually named
19192 something starting with __ and the normal name is an alias. */
19193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19201 if { (eval echo configure:19202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19203 eval "ac_cv_func_$ac_func=yes"
19205 echo "configure: failed program was:" >&5
19206 cat conftest.$ac_ext >&5
19208 eval "ac_cv_func_$ac_func=no"
19213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19214 echo "$ac_t""yes" 1>&6
19215 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19216 cat >> confdefs.h <<EOF
19217 #define $ac_tr_func 1
19221 echo "$ac_t""no" 1>&6
19227 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
19228 echo "configure:19229: checking for _frexpl declaration" >&5
19229 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19230 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19231 echo $ac_n "(cached) $ac_c" 1>&6
19236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19237 ac_cpp='$CXXCPP $CPPFLAGS'
19238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19240 cross_compiling=$ac_cv_prog_cxx_cross
19242 cat > conftest.$ac_ext <<EOF
19243 #line 19244 "configure"
19244 #include "confdefs.h"
19250 if { (eval echo configure:19251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19252 glibcpp_cv_func__frexpl_use=yes
19254 echo "configure: failed program was:" >&5
19255 cat conftest.$ac_ext >&5
19257 glibcpp_cv_func__frexpl_use=no
19261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19262 ac_cpp='$CPP $CPPFLAGS'
19263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19265 cross_compiling=$ac_cv_prog_cc_cross
19271 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19273 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19274 for ac_func in _frexpl
19276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19277 echo "configure:19278: checking for $ac_func" >&5
19278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19279 echo $ac_n "(cached) $ac_c" 1>&6
19281 cat > conftest.$ac_ext <<EOF
19282 #line 19283 "configure"
19283 #include "confdefs.h"
19284 /* System header to define __stub macros and hopefully few prototypes,
19285 which can conflict with char $ac_func(); below. */
19286 #include <assert.h>
19287 /* Override any gcc2 internal prototype to avoid an error. */
19288 /* We use char because int might match the return type of a gcc2
19289 builtin and then its argument prototype would still apply. */
19294 /* The GNU C library defines this for functions which it implements
19295 to always fail with ENOSYS. Some functions are actually named
19296 something starting with __ and the normal name is an alias. */
19297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19305 if { (eval echo configure:19306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19307 eval "ac_cv_func_$ac_func=yes"
19309 echo "configure: failed program was:" >&5
19310 cat conftest.$ac_ext >&5
19312 eval "ac_cv_func_$ac_func=no"
19317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19318 echo "$ac_t""yes" 1>&6
19319 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19320 cat >> confdefs.h <<EOF
19321 #define $ac_tr_func 1
19325 echo "$ac_t""no" 1>&6
19334 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
19335 echo "configure:19336: checking for hypotl declaration" >&5
19336 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19337 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19338 echo $ac_n "(cached) $ac_c" 1>&6
19343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19344 ac_cpp='$CXXCPP $CPPFLAGS'
19345 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19346 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19347 cross_compiling=$ac_cv_prog_cxx_cross
19349 cat > conftest.$ac_ext <<EOF
19350 #line 19351 "configure"
19351 #include "confdefs.h"
19357 if { (eval echo configure:19358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19359 glibcpp_cv_func_hypotl_use=yes
19361 echo "configure: failed program was:" >&5
19362 cat conftest.$ac_ext >&5
19364 glibcpp_cv_func_hypotl_use=no
19368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19369 ac_cpp='$CPP $CPPFLAGS'
19370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19372 cross_compiling=$ac_cv_prog_cc_cross
19378 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19380 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19381 for ac_func in hypotl
19383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19384 echo "configure:19385: checking for $ac_func" >&5
19385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19386 echo $ac_n "(cached) $ac_c" 1>&6
19388 cat > conftest.$ac_ext <<EOF
19389 #line 19390 "configure"
19390 #include "confdefs.h"
19391 /* System header to define __stub macros and hopefully few prototypes,
19392 which can conflict with char $ac_func(); below. */
19393 #include <assert.h>
19394 /* Override any gcc2 internal prototype to avoid an error. */
19395 /* We use char because int might match the return type of a gcc2
19396 builtin and then its argument prototype would still apply. */
19401 /* The GNU C library defines this for functions which it implements
19402 to always fail with ENOSYS. Some functions are actually named
19403 something starting with __ and the normal name is an alias. */
19404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19412 if { (eval echo configure:19413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19414 eval "ac_cv_func_$ac_func=yes"
19416 echo "configure: failed program was:" >&5
19417 cat conftest.$ac_ext >&5
19419 eval "ac_cv_func_$ac_func=no"
19424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19425 echo "$ac_t""yes" 1>&6
19426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19427 cat >> confdefs.h <<EOF
19428 #define $ac_tr_func 1
19432 echo "$ac_t""no" 1>&6
19438 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
19439 echo "configure:19440: checking for _hypotl declaration" >&5
19440 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19441 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19442 echo $ac_n "(cached) $ac_c" 1>&6
19447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19448 ac_cpp='$CXXCPP $CPPFLAGS'
19449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19451 cross_compiling=$ac_cv_prog_cxx_cross
19453 cat > conftest.$ac_ext <<EOF
19454 #line 19455 "configure"
19455 #include "confdefs.h"
19461 if { (eval echo configure:19462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19463 glibcpp_cv_func__hypotl_use=yes
19465 echo "configure: failed program was:" >&5
19466 cat conftest.$ac_ext >&5
19468 glibcpp_cv_func__hypotl_use=no
19472 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19473 ac_cpp='$CPP $CPPFLAGS'
19474 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19475 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19476 cross_compiling=$ac_cv_prog_cc_cross
19482 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19484 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19485 for ac_func in _hypotl
19487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19488 echo "configure:19489: checking for $ac_func" >&5
19489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19490 echo $ac_n "(cached) $ac_c" 1>&6
19492 cat > conftest.$ac_ext <<EOF
19493 #line 19494 "configure"
19494 #include "confdefs.h"
19495 /* System header to define __stub macros and hopefully few prototypes,
19496 which can conflict with char $ac_func(); below. */
19497 #include <assert.h>
19498 /* Override any gcc2 internal prototype to avoid an error. */
19499 /* We use char because int might match the return type of a gcc2
19500 builtin and then its argument prototype would still apply. */
19505 /* The GNU C library defines this for functions which it implements
19506 to always fail with ENOSYS. Some functions are actually named
19507 something starting with __ and the normal name is an alias. */
19508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19516 if { (eval echo configure:19517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19518 eval "ac_cv_func_$ac_func=yes"
19520 echo "configure: failed program was:" >&5
19521 cat conftest.$ac_ext >&5
19523 eval "ac_cv_func_$ac_func=no"
19528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19529 echo "$ac_t""yes" 1>&6
19530 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19531 cat >> confdefs.h <<EOF
19532 #define $ac_tr_func 1
19536 echo "$ac_t""no" 1>&6
19545 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
19546 echo "configure:19547: checking for ldexpl declaration" >&5
19547 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19548 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19549 echo $ac_n "(cached) $ac_c" 1>&6
19554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19555 ac_cpp='$CXXCPP $CPPFLAGS'
19556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19558 cross_compiling=$ac_cv_prog_cxx_cross
19560 cat > conftest.$ac_ext <<EOF
19561 #line 19562 "configure"
19562 #include "confdefs.h"
19568 if { (eval echo configure:19569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19570 glibcpp_cv_func_ldexpl_use=yes
19572 echo "configure: failed program was:" >&5
19573 cat conftest.$ac_ext >&5
19575 glibcpp_cv_func_ldexpl_use=no
19579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19580 ac_cpp='$CPP $CPPFLAGS'
19581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19583 cross_compiling=$ac_cv_prog_cc_cross
19589 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19591 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19592 for ac_func in ldexpl
19594 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19595 echo "configure:19596: checking for $ac_func" >&5
19596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19597 echo $ac_n "(cached) $ac_c" 1>&6
19599 cat > conftest.$ac_ext <<EOF
19600 #line 19601 "configure"
19601 #include "confdefs.h"
19602 /* System header to define __stub macros and hopefully few prototypes,
19603 which can conflict with char $ac_func(); below. */
19604 #include <assert.h>
19605 /* Override any gcc2 internal prototype to avoid an error. */
19606 /* We use char because int might match the return type of a gcc2
19607 builtin and then its argument prototype would still apply. */
19612 /* The GNU C library defines this for functions which it implements
19613 to always fail with ENOSYS. Some functions are actually named
19614 something starting with __ and the normal name is an alias. */
19615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19623 if { (eval echo configure:19624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19625 eval "ac_cv_func_$ac_func=yes"
19627 echo "configure: failed program was:" >&5
19628 cat conftest.$ac_ext >&5
19630 eval "ac_cv_func_$ac_func=no"
19635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19636 echo "$ac_t""yes" 1>&6
19637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19638 cat >> confdefs.h <<EOF
19639 #define $ac_tr_func 1
19643 echo "$ac_t""no" 1>&6
19649 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
19650 echo "configure:19651: checking for _ldexpl declaration" >&5
19651 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19652 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19653 echo $ac_n "(cached) $ac_c" 1>&6
19658 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19659 ac_cpp='$CXXCPP $CPPFLAGS'
19660 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19661 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19662 cross_compiling=$ac_cv_prog_cxx_cross
19664 cat > conftest.$ac_ext <<EOF
19665 #line 19666 "configure"
19666 #include "confdefs.h"
19672 if { (eval echo configure:19673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19674 glibcpp_cv_func__ldexpl_use=yes
19676 echo "configure: failed program was:" >&5
19677 cat conftest.$ac_ext >&5
19679 glibcpp_cv_func__ldexpl_use=no
19683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19684 ac_cpp='$CPP $CPPFLAGS'
19685 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19686 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19687 cross_compiling=$ac_cv_prog_cc_cross
19693 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19695 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19696 for ac_func in _ldexpl
19698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19699 echo "configure:19700: checking for $ac_func" >&5
19700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19701 echo $ac_n "(cached) $ac_c" 1>&6
19703 cat > conftest.$ac_ext <<EOF
19704 #line 19705 "configure"
19705 #include "confdefs.h"
19706 /* System header to define __stub macros and hopefully few prototypes,
19707 which can conflict with char $ac_func(); below. */
19708 #include <assert.h>
19709 /* Override any gcc2 internal prototype to avoid an error. */
19710 /* We use char because int might match the return type of a gcc2
19711 builtin and then its argument prototype would still apply. */
19716 /* The GNU C library defines this for functions which it implements
19717 to always fail with ENOSYS. Some functions are actually named
19718 something starting with __ and the normal name is an alias. */
19719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19727 if { (eval echo configure:19728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19729 eval "ac_cv_func_$ac_func=yes"
19731 echo "configure: failed program was:" >&5
19732 cat conftest.$ac_ext >&5
19734 eval "ac_cv_func_$ac_func=no"
19739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19740 echo "$ac_t""yes" 1>&6
19741 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19742 cat >> confdefs.h <<EOF
19743 #define $ac_tr_func 1
19747 echo "$ac_t""no" 1>&6
19756 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
19757 echo "configure:19758: checking for logl declaration" >&5
19758 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19759 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19760 echo $ac_n "(cached) $ac_c" 1>&6
19765 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19766 ac_cpp='$CXXCPP $CPPFLAGS'
19767 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19768 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19769 cross_compiling=$ac_cv_prog_cxx_cross
19771 cat > conftest.$ac_ext <<EOF
19772 #line 19773 "configure"
19773 #include "confdefs.h"
19775 #ifdef HAVE_IEEEFP_H
19776 #include <ieeefp.h>
19783 if { (eval echo configure:19784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19785 glibcpp_cv_func_logl_use=yes
19787 echo "configure: failed program was:" >&5
19788 cat conftest.$ac_ext >&5
19790 glibcpp_cv_func_logl_use=no
19794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19795 ac_cpp='$CPP $CPPFLAGS'
19796 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19797 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19798 cross_compiling=$ac_cv_prog_cc_cross
19804 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19806 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19807 for ac_func in logl
19809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19810 echo "configure:19811: checking for $ac_func" >&5
19811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19812 echo $ac_n "(cached) $ac_c" 1>&6
19814 cat > conftest.$ac_ext <<EOF
19815 #line 19816 "configure"
19816 #include "confdefs.h"
19817 /* System header to define __stub macros and hopefully few prototypes,
19818 which can conflict with char $ac_func(); below. */
19819 #include <assert.h>
19820 /* Override any gcc2 internal prototype to avoid an error. */
19821 /* We use char because int might match the return type of a gcc2
19822 builtin and then its argument prototype would still apply. */
19827 /* The GNU C library defines this for functions which it implements
19828 to always fail with ENOSYS. Some functions are actually named
19829 something starting with __ and the normal name is an alias. */
19830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19838 if { (eval echo configure:19839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19840 eval "ac_cv_func_$ac_func=yes"
19842 echo "configure: failed program was:" >&5
19843 cat conftest.$ac_ext >&5
19845 eval "ac_cv_func_$ac_func=no"
19850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19851 echo "$ac_t""yes" 1>&6
19852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19853 cat >> confdefs.h <<EOF
19854 #define $ac_tr_func 1
19858 echo "$ac_t""no" 1>&6
19864 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
19865 echo "configure:19866: checking for _logl declaration" >&5
19866 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19867 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19868 echo $ac_n "(cached) $ac_c" 1>&6
19873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19874 ac_cpp='$CXXCPP $CPPFLAGS'
19875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19877 cross_compiling=$ac_cv_prog_cxx_cross
19879 cat > conftest.$ac_ext <<EOF
19880 #line 19881 "configure"
19881 #include "confdefs.h"
19883 #ifdef HAVE_IEEEFP_H
19884 #include <ieeefp.h>
19891 if { (eval echo configure:19892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19893 glibcpp_cv_func__logl_use=yes
19895 echo "configure: failed program was:" >&5
19896 cat conftest.$ac_ext >&5
19898 glibcpp_cv_func__logl_use=no
19902 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19903 ac_cpp='$CPP $CPPFLAGS'
19904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19906 cross_compiling=$ac_cv_prog_cc_cross
19912 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19914 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19915 for ac_func in _logl
19917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19918 echo "configure:19919: checking for $ac_func" >&5
19919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19920 echo $ac_n "(cached) $ac_c" 1>&6
19922 cat > conftest.$ac_ext <<EOF
19923 #line 19924 "configure"
19924 #include "confdefs.h"
19925 /* System header to define __stub macros and hopefully few prototypes,
19926 which can conflict with char $ac_func(); below. */
19927 #include <assert.h>
19928 /* Override any gcc2 internal prototype to avoid an error. */
19929 /* We use char because int might match the return type of a gcc2
19930 builtin and then its argument prototype would still apply. */
19935 /* The GNU C library defines this for functions which it implements
19936 to always fail with ENOSYS. Some functions are actually named
19937 something starting with __ and the normal name is an alias. */
19938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19946 if { (eval echo configure:19947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19948 eval "ac_cv_func_$ac_func=yes"
19950 echo "configure: failed program was:" >&5
19951 cat conftest.$ac_ext >&5
19953 eval "ac_cv_func_$ac_func=no"
19958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19959 echo "$ac_t""yes" 1>&6
19960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19961 cat >> confdefs.h <<EOF
19962 #define $ac_tr_func 1
19966 echo "$ac_t""no" 1>&6
19975 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
19976 echo "configure:19977: checking for log10l declaration" >&5
19977 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19978 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19979 echo $ac_n "(cached) $ac_c" 1>&6
19984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19985 ac_cpp='$CXXCPP $CPPFLAGS'
19986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19988 cross_compiling=$ac_cv_prog_cxx_cross
19990 cat > conftest.$ac_ext <<EOF
19991 #line 19992 "configure"
19992 #include "confdefs.h"
19994 #ifdef HAVE_IEEEFP_H
19995 #include <ieeefp.h>
20002 if { (eval echo configure:20003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20004 glibcpp_cv_func_log10l_use=yes
20006 echo "configure: failed program was:" >&5
20007 cat conftest.$ac_ext >&5
20009 glibcpp_cv_func_log10l_use=no
20013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20014 ac_cpp='$CPP $CPPFLAGS'
20015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20017 cross_compiling=$ac_cv_prog_cc_cross
20023 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
20025 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
20026 for ac_func in log10l
20028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20029 echo "configure:20030: checking for $ac_func" >&5
20030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20031 echo $ac_n "(cached) $ac_c" 1>&6
20033 cat > conftest.$ac_ext <<EOF
20034 #line 20035 "configure"
20035 #include "confdefs.h"
20036 /* System header to define __stub macros and hopefully few prototypes,
20037 which can conflict with char $ac_func(); below. */
20038 #include <assert.h>
20039 /* Override any gcc2 internal prototype to avoid an error. */
20040 /* We use char because int might match the return type of a gcc2
20041 builtin and then its argument prototype would still apply. */
20046 /* The GNU C library defines this for functions which it implements
20047 to always fail with ENOSYS. Some functions are actually named
20048 something starting with __ and the normal name is an alias. */
20049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20057 if { (eval echo configure:20058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20059 eval "ac_cv_func_$ac_func=yes"
20061 echo "configure: failed program was:" >&5
20062 cat conftest.$ac_ext >&5
20064 eval "ac_cv_func_$ac_func=no"
20069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20070 echo "$ac_t""yes" 1>&6
20071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20072 cat >> confdefs.h <<EOF
20073 #define $ac_tr_func 1
20077 echo "$ac_t""no" 1>&6
20083 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
20084 echo "configure:20085: checking for _log10l declaration" >&5
20085 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
20086 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
20087 echo $ac_n "(cached) $ac_c" 1>&6
20092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20093 ac_cpp='$CXXCPP $CPPFLAGS'
20094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20096 cross_compiling=$ac_cv_prog_cxx_cross
20098 cat > conftest.$ac_ext <<EOF
20099 #line 20100 "configure"
20100 #include "confdefs.h"
20102 #ifdef HAVE_IEEEFP_H
20103 #include <ieeefp.h>
20110 if { (eval echo configure:20111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20112 glibcpp_cv_func__log10l_use=yes
20114 echo "configure: failed program was:" >&5
20115 cat conftest.$ac_ext >&5
20117 glibcpp_cv_func__log10l_use=no
20121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20122 ac_cpp='$CPP $CPPFLAGS'
20123 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20124 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20125 cross_compiling=$ac_cv_prog_cc_cross
20131 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
20133 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
20134 for ac_func in _log10l
20136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20137 echo "configure:20138: checking for $ac_func" >&5
20138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20139 echo $ac_n "(cached) $ac_c" 1>&6
20141 cat > conftest.$ac_ext <<EOF
20142 #line 20143 "configure"
20143 #include "confdefs.h"
20144 /* System header to define __stub macros and hopefully few prototypes,
20145 which can conflict with char $ac_func(); below. */
20146 #include <assert.h>
20147 /* Override any gcc2 internal prototype to avoid an error. */
20148 /* We use char because int might match the return type of a gcc2
20149 builtin and then its argument prototype would still apply. */
20154 /* The GNU C library defines this for functions which it implements
20155 to always fail with ENOSYS. Some functions are actually named
20156 something starting with __ and the normal name is an alias. */
20157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20165 if { (eval echo configure:20166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20167 eval "ac_cv_func_$ac_func=yes"
20169 echo "configure: failed program was:" >&5
20170 cat conftest.$ac_ext >&5
20172 eval "ac_cv_func_$ac_func=no"
20177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20178 echo "$ac_t""yes" 1>&6
20179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20180 cat >> confdefs.h <<EOF
20181 #define $ac_tr_func 1
20185 echo "$ac_t""no" 1>&6
20194 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
20195 echo "configure:20196: checking for modfl declaration" >&5
20196 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
20197 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
20198 echo $ac_n "(cached) $ac_c" 1>&6
20203 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20204 ac_cpp='$CXXCPP $CPPFLAGS'
20205 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20206 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20207 cross_compiling=$ac_cv_prog_cxx_cross
20209 cat > conftest.$ac_ext <<EOF
20210 #line 20211 "configure"
20211 #include "confdefs.h"
20217 if { (eval echo configure:20218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20219 glibcpp_cv_func_modfl_use=yes
20221 echo "configure: failed program was:" >&5
20222 cat conftest.$ac_ext >&5
20224 glibcpp_cv_func_modfl_use=no
20228 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20229 ac_cpp='$CPP $CPPFLAGS'
20230 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20231 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20232 cross_compiling=$ac_cv_prog_cc_cross
20238 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20240 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20241 for ac_func in modfl
20243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20244 echo "configure:20245: checking for $ac_func" >&5
20245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20246 echo $ac_n "(cached) $ac_c" 1>&6
20248 cat > conftest.$ac_ext <<EOF
20249 #line 20250 "configure"
20250 #include "confdefs.h"
20251 /* System header to define __stub macros and hopefully few prototypes,
20252 which can conflict with char $ac_func(); below. */
20253 #include <assert.h>
20254 /* Override any gcc2 internal prototype to avoid an error. */
20255 /* We use char because int might match the return type of a gcc2
20256 builtin and then its argument prototype would still apply. */
20261 /* The GNU C library defines this for functions which it implements
20262 to always fail with ENOSYS. Some functions are actually named
20263 something starting with __ and the normal name is an alias. */
20264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20272 if { (eval echo configure:20273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20274 eval "ac_cv_func_$ac_func=yes"
20276 echo "configure: failed program was:" >&5
20277 cat conftest.$ac_ext >&5
20279 eval "ac_cv_func_$ac_func=no"
20284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20285 echo "$ac_t""yes" 1>&6
20286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20287 cat >> confdefs.h <<EOF
20288 #define $ac_tr_func 1
20292 echo "$ac_t""no" 1>&6
20298 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
20299 echo "configure:20300: checking for _modfl declaration" >&5
20300 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20301 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20302 echo $ac_n "(cached) $ac_c" 1>&6
20307 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20308 ac_cpp='$CXXCPP $CPPFLAGS'
20309 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20310 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20311 cross_compiling=$ac_cv_prog_cxx_cross
20313 cat > conftest.$ac_ext <<EOF
20314 #line 20315 "configure"
20315 #include "confdefs.h"
20321 if { (eval echo configure:20322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20323 glibcpp_cv_func__modfl_use=yes
20325 echo "configure: failed program was:" >&5
20326 cat conftest.$ac_ext >&5
20328 glibcpp_cv_func__modfl_use=no
20332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20333 ac_cpp='$CPP $CPPFLAGS'
20334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20336 cross_compiling=$ac_cv_prog_cc_cross
20342 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20344 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20345 for ac_func in _modfl
20347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20348 echo "configure:20349: checking for $ac_func" >&5
20349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20350 echo $ac_n "(cached) $ac_c" 1>&6
20352 cat > conftest.$ac_ext <<EOF
20353 #line 20354 "configure"
20354 #include "confdefs.h"
20355 /* System header to define __stub macros and hopefully few prototypes,
20356 which can conflict with char $ac_func(); below. */
20357 #include <assert.h>
20358 /* Override any gcc2 internal prototype to avoid an error. */
20359 /* We use char because int might match the return type of a gcc2
20360 builtin and then its argument prototype would still apply. */
20365 /* The GNU C library defines this for functions which it implements
20366 to always fail with ENOSYS. Some functions are actually named
20367 something starting with __ and the normal name is an alias. */
20368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20376 if { (eval echo configure:20377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20378 eval "ac_cv_func_$ac_func=yes"
20380 echo "configure: failed program was:" >&5
20381 cat conftest.$ac_ext >&5
20383 eval "ac_cv_func_$ac_func=no"
20388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20389 echo "$ac_t""yes" 1>&6
20390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20391 cat >> confdefs.h <<EOF
20392 #define $ac_tr_func 1
20396 echo "$ac_t""no" 1>&6
20405 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
20406 echo "configure:20407: checking for powl declaration" >&5
20407 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20408 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20409 echo $ac_n "(cached) $ac_c" 1>&6
20414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20415 ac_cpp='$CXXCPP $CPPFLAGS'
20416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20418 cross_compiling=$ac_cv_prog_cxx_cross
20420 cat > conftest.$ac_ext <<EOF
20421 #line 20422 "configure"
20422 #include "confdefs.h"
20428 if { (eval echo configure:20429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20430 glibcpp_cv_func_powl_use=yes
20432 echo "configure: failed program was:" >&5
20433 cat conftest.$ac_ext >&5
20435 glibcpp_cv_func_powl_use=no
20439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20440 ac_cpp='$CPP $CPPFLAGS'
20441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20443 cross_compiling=$ac_cv_prog_cc_cross
20449 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20451 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20452 for ac_func in powl
20454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20455 echo "configure:20456: checking for $ac_func" >&5
20456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20457 echo $ac_n "(cached) $ac_c" 1>&6
20459 cat > conftest.$ac_ext <<EOF
20460 #line 20461 "configure"
20461 #include "confdefs.h"
20462 /* System header to define __stub macros and hopefully few prototypes,
20463 which can conflict with char $ac_func(); below. */
20464 #include <assert.h>
20465 /* Override any gcc2 internal prototype to avoid an error. */
20466 /* We use char because int might match the return type of a gcc2
20467 builtin and then its argument prototype would still apply. */
20472 /* The GNU C library defines this for functions which it implements
20473 to always fail with ENOSYS. Some functions are actually named
20474 something starting with __ and the normal name is an alias. */
20475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20483 if { (eval echo configure:20484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20485 eval "ac_cv_func_$ac_func=yes"
20487 echo "configure: failed program was:" >&5
20488 cat conftest.$ac_ext >&5
20490 eval "ac_cv_func_$ac_func=no"
20495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20496 echo "$ac_t""yes" 1>&6
20497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20498 cat >> confdefs.h <<EOF
20499 #define $ac_tr_func 1
20503 echo "$ac_t""no" 1>&6
20509 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
20510 echo "configure:20511: checking for _powl declaration" >&5
20511 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20512 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20513 echo $ac_n "(cached) $ac_c" 1>&6
20518 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20519 ac_cpp='$CXXCPP $CPPFLAGS'
20520 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20521 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20522 cross_compiling=$ac_cv_prog_cxx_cross
20524 cat > conftest.$ac_ext <<EOF
20525 #line 20526 "configure"
20526 #include "confdefs.h"
20532 if { (eval echo configure:20533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20534 glibcpp_cv_func__powl_use=yes
20536 echo "configure: failed program was:" >&5
20537 cat conftest.$ac_ext >&5
20539 glibcpp_cv_func__powl_use=no
20543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20544 ac_cpp='$CPP $CPPFLAGS'
20545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20547 cross_compiling=$ac_cv_prog_cc_cross
20553 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20555 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20556 for ac_func in _powl
20558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20559 echo "configure:20560: checking for $ac_func" >&5
20560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20561 echo $ac_n "(cached) $ac_c" 1>&6
20563 cat > conftest.$ac_ext <<EOF
20564 #line 20565 "configure"
20565 #include "confdefs.h"
20566 /* System header to define __stub macros and hopefully few prototypes,
20567 which can conflict with char $ac_func(); below. */
20568 #include <assert.h>
20569 /* Override any gcc2 internal prototype to avoid an error. */
20570 /* We use char because int might match the return type of a gcc2
20571 builtin and then its argument prototype would still apply. */
20576 /* The GNU C library defines this for functions which it implements
20577 to always fail with ENOSYS. Some functions are actually named
20578 something starting with __ and the normal name is an alias. */
20579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20587 if { (eval echo configure:20588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20589 eval "ac_cv_func_$ac_func=yes"
20591 echo "configure: failed program was:" >&5
20592 cat conftest.$ac_ext >&5
20594 eval "ac_cv_func_$ac_func=no"
20599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20600 echo "$ac_t""yes" 1>&6
20601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20602 cat >> confdefs.h <<EOF
20603 #define $ac_tr_func 1
20607 echo "$ac_t""no" 1>&6
20616 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
20617 echo "configure:20618: checking for sqrtl declaration" >&5
20618 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20619 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20620 echo $ac_n "(cached) $ac_c" 1>&6
20625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20626 ac_cpp='$CXXCPP $CPPFLAGS'
20627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20629 cross_compiling=$ac_cv_prog_cxx_cross
20631 cat > conftest.$ac_ext <<EOF
20632 #line 20633 "configure"
20633 #include "confdefs.h"
20635 #ifdef HAVE_IEEEFP_H
20636 #include <ieeefp.h>
20643 if { (eval echo configure:20644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20645 glibcpp_cv_func_sqrtl_use=yes
20647 echo "configure: failed program was:" >&5
20648 cat conftest.$ac_ext >&5
20650 glibcpp_cv_func_sqrtl_use=no
20654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20655 ac_cpp='$CPP $CPPFLAGS'
20656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20658 cross_compiling=$ac_cv_prog_cc_cross
20664 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20666 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20667 for ac_func in sqrtl
20669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20670 echo "configure:20671: checking for $ac_func" >&5
20671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20672 echo $ac_n "(cached) $ac_c" 1>&6
20674 cat > conftest.$ac_ext <<EOF
20675 #line 20676 "configure"
20676 #include "confdefs.h"
20677 /* System header to define __stub macros and hopefully few prototypes,
20678 which can conflict with char $ac_func(); below. */
20679 #include <assert.h>
20680 /* Override any gcc2 internal prototype to avoid an error. */
20681 /* We use char because int might match the return type of a gcc2
20682 builtin and then its argument prototype would still apply. */
20687 /* The GNU C library defines this for functions which it implements
20688 to always fail with ENOSYS. Some functions are actually named
20689 something starting with __ and the normal name is an alias. */
20690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20698 if { (eval echo configure:20699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20700 eval "ac_cv_func_$ac_func=yes"
20702 echo "configure: failed program was:" >&5
20703 cat conftest.$ac_ext >&5
20705 eval "ac_cv_func_$ac_func=no"
20710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20711 echo "$ac_t""yes" 1>&6
20712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20713 cat >> confdefs.h <<EOF
20714 #define $ac_tr_func 1
20718 echo "$ac_t""no" 1>&6
20724 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
20725 echo "configure:20726: checking for _sqrtl declaration" >&5
20726 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20727 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20728 echo $ac_n "(cached) $ac_c" 1>&6
20733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20734 ac_cpp='$CXXCPP $CPPFLAGS'
20735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20737 cross_compiling=$ac_cv_prog_cxx_cross
20739 cat > conftest.$ac_ext <<EOF
20740 #line 20741 "configure"
20741 #include "confdefs.h"
20743 #ifdef HAVE_IEEEFP_H
20744 #include <ieeefp.h>
20751 if { (eval echo configure:20752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20753 glibcpp_cv_func__sqrtl_use=yes
20755 echo "configure: failed program was:" >&5
20756 cat conftest.$ac_ext >&5
20758 glibcpp_cv_func__sqrtl_use=no
20762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20763 ac_cpp='$CPP $CPPFLAGS'
20764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20766 cross_compiling=$ac_cv_prog_cc_cross
20772 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20774 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20775 for ac_func in _sqrtl
20777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20778 echo "configure:20779: checking for $ac_func" >&5
20779 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20780 echo $ac_n "(cached) $ac_c" 1>&6
20782 cat > conftest.$ac_ext <<EOF
20783 #line 20784 "configure"
20784 #include "confdefs.h"
20785 /* System header to define __stub macros and hopefully few prototypes,
20786 which can conflict with char $ac_func(); below. */
20787 #include <assert.h>
20788 /* Override any gcc2 internal prototype to avoid an error. */
20789 /* We use char because int might match the return type of a gcc2
20790 builtin and then its argument prototype would still apply. */
20795 /* The GNU C library defines this for functions which it implements
20796 to always fail with ENOSYS. Some functions are actually named
20797 something starting with __ and the normal name is an alias. */
20798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20806 if { (eval echo configure:20807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20808 eval "ac_cv_func_$ac_func=yes"
20810 echo "configure: failed program was:" >&5
20811 cat conftest.$ac_ext >&5
20813 eval "ac_cv_func_$ac_func=no"
20818 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20819 echo "$ac_t""yes" 1>&6
20820 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20821 cat >> confdefs.h <<EOF
20822 #define $ac_tr_func 1
20826 echo "$ac_t""no" 1>&6
20835 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
20836 echo "configure:20837: checking for sincosl declaration" >&5
20837 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20838 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20839 echo $ac_n "(cached) $ac_c" 1>&6
20844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20845 ac_cpp='$CXXCPP $CPPFLAGS'
20846 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20847 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20848 cross_compiling=$ac_cv_prog_cxx_cross
20850 cat > conftest.$ac_ext <<EOF
20851 #line 20852 "configure"
20852 #include "confdefs.h"
20858 if { (eval echo configure:20859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20860 glibcpp_cv_func_sincosl_use=yes
20862 echo "configure: failed program was:" >&5
20863 cat conftest.$ac_ext >&5
20865 glibcpp_cv_func_sincosl_use=no
20869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20870 ac_cpp='$CPP $CPPFLAGS'
20871 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20872 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20873 cross_compiling=$ac_cv_prog_cc_cross
20879 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20881 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20882 for ac_func in sincosl
20884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20885 echo "configure:20886: checking for $ac_func" >&5
20886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20887 echo $ac_n "(cached) $ac_c" 1>&6
20889 cat > conftest.$ac_ext <<EOF
20890 #line 20891 "configure"
20891 #include "confdefs.h"
20892 /* System header to define __stub macros and hopefully few prototypes,
20893 which can conflict with char $ac_func(); below. */
20894 #include <assert.h>
20895 /* Override any gcc2 internal prototype to avoid an error. */
20896 /* We use char because int might match the return type of a gcc2
20897 builtin and then its argument prototype would still apply. */
20902 /* The GNU C library defines this for functions which it implements
20903 to always fail with ENOSYS. Some functions are actually named
20904 something starting with __ and the normal name is an alias. */
20905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20913 if { (eval echo configure:20914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20915 eval "ac_cv_func_$ac_func=yes"
20917 echo "configure: failed program was:" >&5
20918 cat conftest.$ac_ext >&5
20920 eval "ac_cv_func_$ac_func=no"
20925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20926 echo "$ac_t""yes" 1>&6
20927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20928 cat >> confdefs.h <<EOF
20929 #define $ac_tr_func 1
20933 echo "$ac_t""no" 1>&6
20939 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
20940 echo "configure:20941: checking for _sincosl declaration" >&5
20941 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20942 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20943 echo $ac_n "(cached) $ac_c" 1>&6
20948 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20949 ac_cpp='$CXXCPP $CPPFLAGS'
20950 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20951 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20952 cross_compiling=$ac_cv_prog_cxx_cross
20954 cat > conftest.$ac_ext <<EOF
20955 #line 20956 "configure"
20956 #include "confdefs.h"
20962 if { (eval echo configure:20963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20964 glibcpp_cv_func__sincosl_use=yes
20966 echo "configure: failed program was:" >&5
20967 cat conftest.$ac_ext >&5
20969 glibcpp_cv_func__sincosl_use=no
20973 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20974 ac_cpp='$CPP $CPPFLAGS'
20975 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20976 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20977 cross_compiling=$ac_cv_prog_cc_cross
20983 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20985 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20986 for ac_func in _sincosl
20988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20989 echo "configure:20990: checking for $ac_func" >&5
20990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20991 echo $ac_n "(cached) $ac_c" 1>&6
20993 cat > conftest.$ac_ext <<EOF
20994 #line 20995 "configure"
20995 #include "confdefs.h"
20996 /* System header to define __stub macros and hopefully few prototypes,
20997 which can conflict with char $ac_func(); below. */
20998 #include <assert.h>
20999 /* Override any gcc2 internal prototype to avoid an error. */
21000 /* We use char because int might match the return type of a gcc2
21001 builtin and then its argument prototype would still apply. */
21006 /* The GNU C library defines this for functions which it implements
21007 to always fail with ENOSYS. Some functions are actually named
21008 something starting with __ and the normal name is an alias. */
21009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21017 if { (eval echo configure:21018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21019 eval "ac_cv_func_$ac_func=yes"
21021 echo "configure: failed program was:" >&5
21022 cat conftest.$ac_ext >&5
21024 eval "ac_cv_func_$ac_func=no"
21029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21030 echo "$ac_t""yes" 1>&6
21031 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21032 cat >> confdefs.h <<EOF
21033 #define $ac_tr_func 1
21037 echo "$ac_t""no" 1>&6
21046 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
21047 echo "configure:21048: checking for finitel declaration" >&5
21048 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
21049 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
21050 echo $ac_n "(cached) $ac_c" 1>&6
21055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21056 ac_cpp='$CXXCPP $CPPFLAGS'
21057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21059 cross_compiling=$ac_cv_prog_cxx_cross
21061 cat > conftest.$ac_ext <<EOF
21062 #line 21063 "configure"
21063 #include "confdefs.h"
21065 #ifdef HAVE_IEEEFP_H
21066 #include <ieeefp.h>
21073 if { (eval echo configure:21074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21075 glibcpp_cv_func_finitel_use=yes
21077 echo "configure: failed program was:" >&5
21078 cat conftest.$ac_ext >&5
21080 glibcpp_cv_func_finitel_use=no
21084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21085 ac_cpp='$CPP $CPPFLAGS'
21086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21088 cross_compiling=$ac_cv_prog_cc_cross
21094 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
21096 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
21097 for ac_func in finitel
21099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21100 echo "configure:21101: checking for $ac_func" >&5
21101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21102 echo $ac_n "(cached) $ac_c" 1>&6
21104 cat > conftest.$ac_ext <<EOF
21105 #line 21106 "configure"
21106 #include "confdefs.h"
21107 /* System header to define __stub macros and hopefully few prototypes,
21108 which can conflict with char $ac_func(); below. */
21109 #include <assert.h>
21110 /* Override any gcc2 internal prototype to avoid an error. */
21111 /* We use char because int might match the return type of a gcc2
21112 builtin and then its argument prototype would still apply. */
21117 /* The GNU C library defines this for functions which it implements
21118 to always fail with ENOSYS. Some functions are actually named
21119 something starting with __ and the normal name is an alias. */
21120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21128 if { (eval echo configure:21129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21130 eval "ac_cv_func_$ac_func=yes"
21132 echo "configure: failed program was:" >&5
21133 cat conftest.$ac_ext >&5
21135 eval "ac_cv_func_$ac_func=no"
21140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21141 echo "$ac_t""yes" 1>&6
21142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21143 cat >> confdefs.h <<EOF
21144 #define $ac_tr_func 1
21148 echo "$ac_t""no" 1>&6
21154 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
21155 echo "configure:21156: checking for _finitel declaration" >&5
21156 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
21157 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
21158 echo $ac_n "(cached) $ac_c" 1>&6
21163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21164 ac_cpp='$CXXCPP $CPPFLAGS'
21165 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21166 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21167 cross_compiling=$ac_cv_prog_cxx_cross
21169 cat > conftest.$ac_ext <<EOF
21170 #line 21171 "configure"
21171 #include "confdefs.h"
21173 #ifdef HAVE_IEEEFP_H
21174 #include <ieeefp.h>
21181 if { (eval echo configure:21182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21183 glibcpp_cv_func__finitel_use=yes
21185 echo "configure: failed program was:" >&5
21186 cat conftest.$ac_ext >&5
21188 glibcpp_cv_func__finitel_use=no
21192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21193 ac_cpp='$CPP $CPPFLAGS'
21194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21196 cross_compiling=$ac_cv_prog_cc_cross
21202 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
21204 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
21205 for ac_func in _finitel
21207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21208 echo "configure:21209: checking for $ac_func" >&5
21209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21210 echo $ac_n "(cached) $ac_c" 1>&6
21212 cat > conftest.$ac_ext <<EOF
21213 #line 21214 "configure"
21214 #include "confdefs.h"
21215 /* System header to define __stub macros and hopefully few prototypes,
21216 which can conflict with char $ac_func(); below. */
21217 #include <assert.h>
21218 /* Override any gcc2 internal prototype to avoid an error. */
21219 /* We use char because int might match the return type of a gcc2
21220 builtin and then its argument prototype would still apply. */
21225 /* The GNU C library defines this for functions which it implements
21226 to always fail with ENOSYS. Some functions are actually named
21227 something starting with __ and the normal name is an alias. */
21228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21236 if { (eval echo configure:21237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21238 eval "ac_cv_func_$ac_func=yes"
21240 echo "configure: failed program was:" >&5
21241 cat conftest.$ac_ext >&5
21243 eval "ac_cv_func_$ac_func=no"
21248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21249 echo "$ac_t""yes" 1>&6
21250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21251 cat >> confdefs.h <<EOF
21252 #define $ac_tr_func 1
21256 echo "$ac_t""no" 1>&6
21266 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
21267 echo "configure:21268: checking for _float trig functions" >&5
21268 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21269 echo $ac_n "(cached) $ac_c" 1>&6
21274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21275 ac_cpp='$CXXCPP $CPPFLAGS'
21276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21278 cross_compiling=$ac_cv_prog_cxx_cross
21280 cat > conftest.$ac_ext <<EOF
21281 #line 21282 "configure"
21282 #include "confdefs.h"
21285 `for x in _acosf _asinf _atanf \
21286 _cosf _sinf _tanf \
21287 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21290 if { (eval echo configure:21291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21292 glibcpp_cv_func__float_trig_use=yes
21294 echo "configure: failed program was:" >&5
21295 cat conftest.$ac_ext >&5
21297 glibcpp_cv_func__float_trig_use=no
21301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21302 ac_cpp='$CPP $CPPFLAGS'
21303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21305 cross_compiling=$ac_cv_prog_cc_cross
21309 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21310 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21311 for ac_func in _acosf _asinf _atanf \
21312 _cosf _sinf _tanf \
21313 _coshf _sinhf _tanhf
21315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21316 echo "configure:21317: checking for $ac_func" >&5
21317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21318 echo $ac_n "(cached) $ac_c" 1>&6
21320 cat > conftest.$ac_ext <<EOF
21321 #line 21322 "configure"
21322 #include "confdefs.h"
21323 /* System header to define __stub macros and hopefully few prototypes,
21324 which can conflict with char $ac_func(); below. */
21325 #include <assert.h>
21326 /* Override any gcc2 internal prototype to avoid an error. */
21327 /* We use char because int might match the return type of a gcc2
21328 builtin and then its argument prototype would still apply. */
21333 /* The GNU C library defines this for functions which it implements
21334 to always fail with ENOSYS. Some functions are actually named
21335 something starting with __ and the normal name is an alias. */
21336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21344 if { (eval echo configure:21345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21346 eval "ac_cv_func_$ac_func=yes"
21348 echo "configure: failed program was:" >&5
21349 cat conftest.$ac_ext >&5
21351 eval "ac_cv_func_$ac_func=no"
21356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21357 echo "$ac_t""yes" 1>&6
21358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21359 cat >> confdefs.h <<EOF
21360 #define $ac_tr_func 1
21364 echo "$ac_t""no" 1>&6
21371 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
21372 echo "configure:21373: checking for _float round functions" >&5
21373 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
21374 echo $ac_n "(cached) $ac_c" 1>&6
21379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21380 ac_cpp='$CXXCPP $CPPFLAGS'
21381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21383 cross_compiling=$ac_cv_prog_cxx_cross
21385 cat > conftest.$ac_ext <<EOF
21386 #line 21387 "configure"
21387 #include "confdefs.h"
21390 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21393 if { (eval echo configure:21394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21395 glibcpp_cv_func__float_round_use=yes
21397 echo "configure: failed program was:" >&5
21398 cat conftest.$ac_ext >&5
21400 glibcpp_cv_func__float_round_use=no
21404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21405 ac_cpp='$CPP $CPPFLAGS'
21406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21408 cross_compiling=$ac_cv_prog_cc_cross
21412 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21413 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21414 for ac_func in _ceilf _floorf
21416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21417 echo "configure:21418: checking for $ac_func" >&5
21418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21419 echo $ac_n "(cached) $ac_c" 1>&6
21421 cat > conftest.$ac_ext <<EOF
21422 #line 21423 "configure"
21423 #include "confdefs.h"
21424 /* System header to define __stub macros and hopefully few prototypes,
21425 which can conflict with char $ac_func(); below. */
21426 #include <assert.h>
21427 /* Override any gcc2 internal prototype to avoid an error. */
21428 /* We use char because int might match the return type of a gcc2
21429 builtin and then its argument prototype would still apply. */
21434 /* The GNU C library defines this for functions which it implements
21435 to always fail with ENOSYS. Some functions are actually named
21436 something starting with __ and the normal name is an alias. */
21437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21445 if { (eval echo configure:21446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21447 eval "ac_cv_func_$ac_func=yes"
21449 echo "configure: failed program was:" >&5
21450 cat conftest.$ac_ext >&5
21452 eval "ac_cv_func_$ac_func=no"
21457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21458 echo "$ac_t""yes" 1>&6
21459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21460 cat >> confdefs.h <<EOF
21461 #define $ac_tr_func 1
21465 echo "$ac_t""no" 1>&6
21473 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
21474 echo "configure:21475: checking for _long double trig functions" >&5
21475 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21476 echo $ac_n "(cached) $ac_c" 1>&6
21481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21482 ac_cpp='$CXXCPP $CPPFLAGS'
21483 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21484 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21485 cross_compiling=$ac_cv_prog_cxx_cross
21487 cat > conftest.$ac_ext <<EOF
21488 #line 21489 "configure"
21489 #include "confdefs.h"
21492 `for x in _acosl _asinl _atanl \
21493 _cosl _sinl _tanl \
21494 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21497 if { (eval echo configure:21498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21499 glibcpp_cv_func__long_double_trig_use=yes
21501 echo "configure: failed program was:" >&5
21502 cat conftest.$ac_ext >&5
21504 glibcpp_cv_func__long_double_trig_use=no
21508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21509 ac_cpp='$CPP $CPPFLAGS'
21510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21512 cross_compiling=$ac_cv_prog_cc_cross
21516 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21517 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21518 for ac_func in _acosl _asinl _atanl \
21519 _cosl _sinl _tanl \
21520 _coshl _sinhl _tanhl
21522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21523 echo "configure:21524: checking for $ac_func" >&5
21524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21525 echo $ac_n "(cached) $ac_c" 1>&6
21527 cat > conftest.$ac_ext <<EOF
21528 #line 21529 "configure"
21529 #include "confdefs.h"
21530 /* System header to define __stub macros and hopefully few prototypes,
21531 which can conflict with char $ac_func(); below. */
21532 #include <assert.h>
21533 /* Override any gcc2 internal prototype to avoid an error. */
21534 /* We use char because int might match the return type of a gcc2
21535 builtin and then its argument prototype would still apply. */
21540 /* The GNU C library defines this for functions which it implements
21541 to always fail with ENOSYS. Some functions are actually named
21542 something starting with __ and the normal name is an alias. */
21543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21551 if { (eval echo configure:21552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21553 eval "ac_cv_func_$ac_func=yes"
21555 echo "configure: failed program was:" >&5
21556 cat conftest.$ac_ext >&5
21558 eval "ac_cv_func_$ac_func=no"
21563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21564 echo "$ac_t""yes" 1>&6
21565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21566 cat >> confdefs.h <<EOF
21567 #define $ac_tr_func 1
21571 echo "$ac_t""no" 1>&6
21578 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
21579 echo "configure:21580: checking for _long double round functions" >&5
21580 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21581 echo $ac_n "(cached) $ac_c" 1>&6
21586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21587 ac_cpp='$CXXCPP $CPPFLAGS'
21588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21590 cross_compiling=$ac_cv_prog_cxx_cross
21592 cat > conftest.$ac_ext <<EOF
21593 #line 21594 "configure"
21594 #include "confdefs.h"
21597 `for x in _ceill _floorl; do echo "$x (0);"; done`
21600 if { (eval echo configure:21601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21602 glibcpp_cv_func__long_double_round_use=yes
21604 echo "configure: failed program was:" >&5
21605 cat conftest.$ac_ext >&5
21607 glibcpp_cv_func__long_double_round_use=no
21611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21612 ac_cpp='$CPP $CPPFLAGS'
21613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21615 cross_compiling=$ac_cv_prog_cc_cross
21619 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21620 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21621 for ac_func in _ceill _floorl
21623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21624 echo "configure:21625: checking for $ac_func" >&5
21625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21626 echo $ac_n "(cached) $ac_c" 1>&6
21628 cat > conftest.$ac_ext <<EOF
21629 #line 21630 "configure"
21630 #include "confdefs.h"
21631 /* System header to define __stub macros and hopefully few prototypes,
21632 which can conflict with char $ac_func(); below. */
21633 #include <assert.h>
21634 /* Override any gcc2 internal prototype to avoid an error. */
21635 /* We use char because int might match the return type of a gcc2
21636 builtin and then its argument prototype would still apply. */
21641 /* The GNU C library defines this for functions which it implements
21642 to always fail with ENOSYS. Some functions are actually named
21643 something starting with __ and the normal name is an alias. */
21644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21652 if { (eval echo configure:21653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21654 eval "ac_cv_func_$ac_func=yes"
21656 echo "configure: failed program was:" >&5
21657 cat conftest.$ac_ext >&5
21659 eval "ac_cv_func_$ac_func=no"
21664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21665 echo "$ac_t""yes" 1>&6
21666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21667 cat >> confdefs.h <<EOF
21668 #define $ac_tr_func 1
21672 echo "$ac_t""no" 1>&6
21679 LIBS="$ac_save_LIBS"
21680 CXXFLAGS="$ac_save_CXXFLAGS"
21683 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21684 echo "configure:21685: checking for main in -lm" >&5
21685 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21686 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21687 echo $ac_n "(cached) $ac_c" 1>&6
21689 ac_save_LIBS="$LIBS"
21691 cat > conftest.$ac_ext <<EOF
21692 #line 21693 "configure"
21693 #include "confdefs.h"
21699 if { (eval echo configure:21700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21701 eval "ac_cv_lib_$ac_lib_var=yes"
21703 echo "configure: failed program was:" >&5
21704 cat conftest.$ac_ext >&5
21706 eval "ac_cv_lib_$ac_lib_var=no"
21709 LIBS="$ac_save_LIBS"
21712 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21713 echo "$ac_t""yes" 1>&6
21714 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21715 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21716 cat >> confdefs.h <<EOF
21717 #define $ac_tr_lib 1
21723 echo "$ac_t""no" 1>&6
21726 for ac_func in nan copysignf
21728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21729 echo "configure:21730: checking for $ac_func" >&5
21730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21731 echo $ac_n "(cached) $ac_c" 1>&6
21733 cat > conftest.$ac_ext <<EOF
21734 #line 21735 "configure"
21735 #include "confdefs.h"
21736 /* System header to define __stub macros and hopefully few prototypes,
21737 which can conflict with char $ac_func(); below. */
21738 #include <assert.h>
21739 /* Override any gcc2 internal prototype to avoid an error. */
21740 /* We use char because int might match the return type of a gcc2
21741 builtin and then its argument prototype would still apply. */
21746 /* The GNU C library defines this for functions which it implements
21747 to always fail with ENOSYS. Some functions are actually named
21748 something starting with __ and the normal name is an alias. */
21749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21757 if { (eval echo configure:21758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21759 eval "ac_cv_func_$ac_func=yes"
21761 echo "configure: failed program was:" >&5
21762 cat conftest.$ac_ext >&5
21764 eval "ac_cv_func_$ac_func=no"
21769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21770 echo "$ac_t""yes" 1>&6
21771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21772 cat >> confdefs.h <<EOF
21773 #define $ac_tr_func 1
21777 echo "$ac_t""no" 1>&6
21778 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21783 for ac_func in __signbit
21785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21786 echo "configure:21787: checking for $ac_func" >&5
21787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21788 echo $ac_n "(cached) $ac_c" 1>&6
21790 cat > conftest.$ac_ext <<EOF
21791 #line 21792 "configure"
21792 #include "confdefs.h"
21793 /* System header to define __stub macros and hopefully few prototypes,
21794 which can conflict with char $ac_func(); below. */
21795 #include <assert.h>
21796 /* Override any gcc2 internal prototype to avoid an error. */
21797 /* We use char because int might match the return type of a gcc2
21798 builtin and then its argument prototype would still apply. */
21803 /* The GNU C library defines this for functions which it implements
21804 to always fail with ENOSYS. Some functions are actually named
21805 something starting with __ and the normal name is an alias. */
21806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21814 if { (eval echo configure:21815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21816 eval "ac_cv_func_$ac_func=yes"
21818 echo "configure: failed program was:" >&5
21819 cat conftest.$ac_ext >&5
21821 eval "ac_cv_func_$ac_func=no"
21826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21827 echo "$ac_t""yes" 1>&6
21828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21829 cat >> confdefs.h <<EOF
21830 #define $ac_tr_func 1
21834 echo "$ac_t""no" 1>&6
21835 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21839 for ac_func in __signbitf
21841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21842 echo "configure:21843: checking for $ac_func" >&5
21843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21844 echo $ac_n "(cached) $ac_c" 1>&6
21846 cat > conftest.$ac_ext <<EOF
21847 #line 21848 "configure"
21848 #include "confdefs.h"
21849 /* System header to define __stub macros and hopefully few prototypes,
21850 which can conflict with char $ac_func(); below. */
21851 #include <assert.h>
21852 /* Override any gcc2 internal prototype to avoid an error. */
21853 /* We use char because int might match the return type of a gcc2
21854 builtin and then its argument prototype would still apply. */
21859 /* The GNU C library defines this for functions which it implements
21860 to always fail with ENOSYS. Some functions are actually named
21861 something starting with __ and the normal name is an alias. */
21862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21870 if { (eval echo configure:21871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21872 eval "ac_cv_func_$ac_func=yes"
21874 echo "configure: failed program was:" >&5
21875 cat conftest.$ac_ext >&5
21877 eval "ac_cv_func_$ac_func=no"
21882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21883 echo "$ac_t""yes" 1>&6
21884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21885 cat >> confdefs.h <<EOF
21886 #define $ac_tr_func 1
21890 echo "$ac_t""no" 1>&6
21891 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21896 if test x$ac_cv_func_copysignl = x"yes"; then
21897 for ac_func in __signbitl
21899 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21900 echo "configure:21901: checking for $ac_func" >&5
21901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21902 echo $ac_n "(cached) $ac_c" 1>&6
21904 cat > conftest.$ac_ext <<EOF
21905 #line 21906 "configure"
21906 #include "confdefs.h"
21907 /* System header to define __stub macros and hopefully few prototypes,
21908 which can conflict with char $ac_func(); below. */
21909 #include <assert.h>
21910 /* Override any gcc2 internal prototype to avoid an error. */
21911 /* We use char because int might match the return type of a gcc2
21912 builtin and then its argument prototype would still apply. */
21917 /* The GNU C library defines this for functions which it implements
21918 to always fail with ENOSYS. Some functions are actually named
21919 something starting with __ and the normal name is an alias. */
21920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21928 if { (eval echo configure:21929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21930 eval "ac_cv_func_$ac_func=yes"
21932 echo "configure: failed program was:" >&5
21933 cat conftest.$ac_ext >&5
21935 eval "ac_cv_func_$ac_func=no"
21940 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21941 echo "$ac_t""yes" 1>&6
21942 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21943 cat >> confdefs.h <<EOF
21944 #define $ac_tr_func 1
21948 echo "$ac_t""no" 1>&6
21949 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21955 if test -n "$LIBMATHOBJS"; then
21961 if test "$need_libmath" = yes; then
21962 GLIBCPP_BUILD_LIBMATH_TRUE=
21963 GLIBCPP_BUILD_LIBMATH_FALSE='#'
21965 GLIBCPP_BUILD_LIBMATH_TRUE='#'
21966 GLIBCPP_BUILD_LIBMATH_FALSE=
21972 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21973 echo "configure:21974: checking for mbstate_t" >&5
21974 cat > conftest.$ac_ext <<EOF
21975 #line 21976 "configure"
21976 #include "confdefs.h"
21979 mbstate_t teststate;
21982 if { (eval echo configure:21983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21986 echo "configure: failed program was:" >&5
21987 cat conftest.$ac_ext >&5
21992 echo "$ac_t""$have_mbstate_t" 1>&6
21993 if test x"$have_mbstate_t" = xyes; then
21994 cat >> confdefs.h <<\EOF
21995 #define HAVE_MBSTATE_T 1
22000 for ac_hdr in wchar.h
22002 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22003 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22004 echo "configure:22005: checking for $ac_hdr" >&5
22005 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22006 echo $ac_n "(cached) $ac_c" 1>&6
22008 cat > conftest.$ac_ext <<EOF
22009 #line 22010 "configure"
22010 #include "confdefs.h"
22013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22014 { (eval echo configure:22015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22016 if test -z "$ac_err"; then
22018 eval "ac_cv_header_$ac_safe=yes"
22021 echo "configure: failed program was:" >&5
22022 cat conftest.$ac_ext >&5
22024 eval "ac_cv_header_$ac_safe=no"
22028 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22029 echo "$ac_t""yes" 1>&6
22030 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22031 cat >> confdefs.h <<EOF
22032 #define $ac_tr_hdr 1
22036 echo "$ac_t""no" 1>&6
22041 for ac_hdr in wctype.h
22043 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22044 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22045 echo "configure:22046: checking for $ac_hdr" >&5
22046 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22047 echo $ac_n "(cached) $ac_c" 1>&6
22049 cat > conftest.$ac_ext <<EOF
22050 #line 22051 "configure"
22051 #include "confdefs.h"
22054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22055 { (eval echo configure:22056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22057 if test -z "$ac_err"; then
22059 eval "ac_cv_header_$ac_safe=yes"
22062 echo "configure: failed program was:" >&5
22063 cat conftest.$ac_ext >&5
22065 eval "ac_cv_header_$ac_safe=no"
22069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22070 echo "$ac_t""yes" 1>&6
22071 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22072 cat >> confdefs.h <<EOF
22073 #define $ac_tr_hdr 1
22075 ac_has_wctype_h=yes
22077 echo "$ac_t""no" 1>&6
22083 if test x"$ac_has_wchar_h" = xyes &&
22084 test x"$ac_has_wctype_h" = xyes &&
22085 test x"$enable_c_mbchar" != xno; then
22087 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22088 echo "configure:22089: checking for WCHAR_MIN and WCHAR_MAX" >&5
22089 cat > conftest.$ac_ext <<EOF
22090 #line 22091 "configure"
22091 #include "confdefs.h"
22094 int i = WCHAR_MIN; int j = WCHAR_MAX;
22097 if { (eval echo configure:22098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22099 has_wchar_minmax=yes
22101 echo "configure: failed program was:" >&5
22102 cat conftest.$ac_ext >&5
22104 has_wchar_minmax=no
22107 echo "$ac_t""$has_wchar_minmax" 1>&6
22109 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22110 echo "configure:22111: checking for WEOF" >&5
22111 cat > conftest.$ac_ext <<EOF
22112 #line 22113 "configure"
22113 #include "confdefs.h"
22116 #include <stddef.h>
22121 if { (eval echo configure:22122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22125 echo "configure: failed program was:" >&5
22126 cat conftest.$ac_ext >&5
22131 echo "$ac_t""$has_weof" 1>&6
22134 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22137 echo "configure:22138: checking for $ac_func" >&5
22138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22139 echo $ac_n "(cached) $ac_c" 1>&6
22141 cat > conftest.$ac_ext <<EOF
22142 #line 22143 "configure"
22143 #include "confdefs.h"
22144 /* System header to define __stub macros and hopefully few prototypes,
22145 which can conflict with char $ac_func(); below. */
22146 #include <assert.h>
22147 /* Override any gcc2 internal prototype to avoid an error. */
22148 /* We use char because int might match the return type of a gcc2
22149 builtin and then its argument prototype would still apply. */
22154 /* The GNU C library defines this for functions which it implements
22155 to always fail with ENOSYS. Some functions are actually named
22156 something starting with __ and the normal name is an alias. */
22157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22165 if { (eval echo configure:22166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22167 eval "ac_cv_func_$ac_func=yes"
22169 echo "configure: failed program was:" >&5
22170 cat conftest.$ac_ext >&5
22172 eval "ac_cv_func_$ac_func=no"
22177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22178 echo "$ac_t""yes" 1>&6
22179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22180 cat >> confdefs.h <<EOF
22181 #define $ac_tr_func 1
22185 echo "$ac_t""no" 1>&6
22192 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22193 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22194 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22195 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22196 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22197 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22200 echo "configure:22201: checking for $ac_func" >&5
22201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22202 echo $ac_n "(cached) $ac_c" 1>&6
22204 cat > conftest.$ac_ext <<EOF
22205 #line 22206 "configure"
22206 #include "confdefs.h"
22207 /* System header to define __stub macros and hopefully few prototypes,
22208 which can conflict with char $ac_func(); below. */
22209 #include <assert.h>
22210 /* Override any gcc2 internal prototype to avoid an error. */
22211 /* We use char because int might match the return type of a gcc2
22212 builtin and then its argument prototype would still apply. */
22217 /* The GNU C library defines this for functions which it implements
22218 to always fail with ENOSYS. Some functions are actually named
22219 something starting with __ and the normal name is an alias. */
22220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22228 if { (eval echo configure:22229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22230 eval "ac_cv_func_$ac_func=yes"
22232 echo "configure: failed program was:" >&5
22233 cat conftest.$ac_ext >&5
22235 eval "ac_cv_func_$ac_func=no"
22240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22241 echo "$ac_t""yes" 1>&6
22242 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22243 cat >> confdefs.h <<EOF
22244 #define $ac_tr_func 1
22248 echo "$ac_t""no" 1>&6
22255 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22256 echo "configure:22257: checking for ISO C99 wchar_t support" >&5
22257 if test x"$has_weof" = xyes &&
22258 test x"$has_wchar_minmax" = xyes &&
22259 test x"$ac_wfuncs" = xyes; then
22260 ac_isoC99_wchar_t=yes
22262 ac_isoC99_wchar_t=no
22264 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22266 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22267 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22268 echo "configure:22269: checking for iconv.h" >&5
22269 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22270 echo $ac_n "(cached) $ac_c" 1>&6
22272 cat > conftest.$ac_ext <<EOF
22273 #line 22274 "configure"
22274 #include "confdefs.h"
22277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22278 { (eval echo configure:22279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22279 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22280 if test -z "$ac_err"; then
22282 eval "ac_cv_header_$ac_safe=yes"
22285 echo "configure: failed program was:" >&5
22286 cat conftest.$ac_ext >&5
22288 eval "ac_cv_header_$ac_safe=no"
22292 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22293 echo "$ac_t""yes" 1>&6
22296 echo "$ac_t""no" 1>&6
22300 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22301 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22302 echo "configure:22303: checking for langinfo.h" >&5
22303 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22304 echo $ac_n "(cached) $ac_c" 1>&6
22306 cat > conftest.$ac_ext <<EOF
22307 #line 22308 "configure"
22308 #include "confdefs.h"
22309 #include <langinfo.h>
22311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22312 { (eval echo configure:22313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22314 if test -z "$ac_err"; then
22316 eval "ac_cv_header_$ac_safe=yes"
22319 echo "configure: failed program was:" >&5
22320 cat conftest.$ac_ext >&5
22322 eval "ac_cv_header_$ac_safe=no"
22326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22327 echo "$ac_t""yes" 1>&6
22328 ac_has_langinfo_h=yes
22330 echo "$ac_t""no" 1>&6
22331 ac_has_langinfo_h=no
22335 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22336 echo "configure:22337: checking for iconv in -liconv" >&5
22337 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22338 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22339 echo $ac_n "(cached) $ac_c" 1>&6
22341 ac_save_LIBS="$LIBS"
22342 LIBS="-liconv $LIBS"
22343 cat > conftest.$ac_ext <<EOF
22344 #line 22345 "configure"
22345 #include "confdefs.h"
22346 /* Override any gcc2 internal prototype to avoid an error. */
22347 /* We use char because int might match the return type of a gcc2
22348 builtin and then its argument prototype would still apply. */
22355 if { (eval echo configure:22356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22357 eval "ac_cv_lib_$ac_lib_var=yes"
22359 echo "configure: failed program was:" >&5
22360 cat conftest.$ac_ext >&5
22362 eval "ac_cv_lib_$ac_lib_var=no"
22365 LIBS="$ac_save_LIBS"
22368 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22369 echo "$ac_t""yes" 1>&6
22372 echo "$ac_t""no" 1>&6
22375 ac_save_LIBS="$LIBS"
22376 LIBS="$LIBS $libiconv"
22378 for ac_func in iconv_open iconv_close iconv nl_langinfo
22380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22381 echo "configure:22382: checking for $ac_func" >&5
22382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22383 echo $ac_n "(cached) $ac_c" 1>&6
22385 cat > conftest.$ac_ext <<EOF
22386 #line 22387 "configure"
22387 #include "confdefs.h"
22388 /* System header to define __stub macros and hopefully few prototypes,
22389 which can conflict with char $ac_func(); below. */
22390 #include <assert.h>
22391 /* Override any gcc2 internal prototype to avoid an error. */
22392 /* We use char because int might match the return type of a gcc2
22393 builtin and then its argument prototype would still apply. */
22398 /* The GNU C library defines this for functions which it implements
22399 to always fail with ENOSYS. Some functions are actually named
22400 something starting with __ and the normal name is an alias. */
22401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22409 if { (eval echo configure:22410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22411 eval "ac_cv_func_$ac_func=yes"
22413 echo "configure: failed program was:" >&5
22414 cat conftest.$ac_ext >&5
22416 eval "ac_cv_func_$ac_func=no"
22421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22422 echo "$ac_t""yes" 1>&6
22423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22424 cat >> confdefs.h <<EOF
22425 #define $ac_tr_func 1
22430 echo "$ac_t""no" 1>&6
22436 LIBS="$ac_save_LIBS"
22438 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22439 echo "configure:22440: checking for XPG2 wchar_t support" >&5
22440 if test x"$ac_has_iconv_h" = xyes &&
22441 test x"$ac_has_langinfo_h" = xyes &&
22442 test x"$ac_XPG2funcs" = xyes; then
22443 ac_XPG2_wchar_t=yes
22447 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22449 if test x"$ac_isoC99_wchar_t" = xyes &&
22450 test x"$ac_XPG2_wchar_t" = xyes; then
22451 cat >> confdefs.h <<\EOF
22452 #define _GLIBCPP_USE_WCHAR_T 1
22458 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22459 echo "configure:22460: checking for enabled wchar_t specializations" >&5
22460 echo "$ac_t""$enable_wchar_t" 1>&6
22463 if test "$enable_wchar_t" = yes; then
22464 GLIBCPP_TEST_WCHAR_T_TRUE=
22465 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22467 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22468 GLIBCPP_TEST_WCHAR_T_FALSE=
22472 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22473 ac_save_CXXFLAGS="$CXXFLAGS"
22474 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22477 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22478 echo "configure:22479: checking for strtold declaration" >&5
22479 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22480 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22481 echo $ac_n "(cached) $ac_c" 1>&6
22486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22487 ac_cpp='$CXXCPP $CPPFLAGS'
22488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22490 cross_compiling=$ac_cv_prog_cxx_cross
22492 cat > conftest.$ac_ext <<EOF
22493 #line 22494 "configure"
22494 #include "confdefs.h"
22495 #include <stdlib.h>
22500 if { (eval echo configure:22501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22502 glibcpp_cv_func_strtold_use=yes
22504 echo "configure: failed program was:" >&5
22505 cat conftest.$ac_ext >&5
22507 glibcpp_cv_func_strtold_use=no
22511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22512 ac_cpp='$CPP $CPPFLAGS'
22513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22515 cross_compiling=$ac_cv_prog_cc_cross
22521 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22522 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22523 for ac_func in strtold
22525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22526 echo "configure:22527: checking for $ac_func" >&5
22527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22528 echo $ac_n "(cached) $ac_c" 1>&6
22530 cat > conftest.$ac_ext <<EOF
22531 #line 22532 "configure"
22532 #include "confdefs.h"
22533 /* System header to define __stub macros and hopefully few prototypes,
22534 which can conflict with char $ac_func(); below. */
22535 #include <assert.h>
22536 /* Override any gcc2 internal prototype to avoid an error. */
22537 /* We use char because int might match the return type of a gcc2
22538 builtin and then its argument prototype would still apply. */
22543 /* The GNU C library defines this for functions which it implements
22544 to always fail with ENOSYS. Some functions are actually named
22545 something starting with __ and the normal name is an alias. */
22546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22554 if { (eval echo configure:22555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22556 eval "ac_cv_func_$ac_func=yes"
22558 echo "configure: failed program was:" >&5
22559 cat conftest.$ac_ext >&5
22561 eval "ac_cv_func_$ac_func=no"
22566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22567 echo "$ac_t""yes" 1>&6
22568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22569 cat >> confdefs.h <<EOF
22570 #define $ac_tr_func 1
22574 echo "$ac_t""no" 1>&6
22581 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22582 echo "configure:22583: checking for strtof declaration" >&5
22583 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22584 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22585 echo $ac_n "(cached) $ac_c" 1>&6
22590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22591 ac_cpp='$CXXCPP $CPPFLAGS'
22592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22594 cross_compiling=$ac_cv_prog_cxx_cross
22596 cat > conftest.$ac_ext <<EOF
22597 #line 22598 "configure"
22598 #include "confdefs.h"
22599 #include <stdlib.h>
22604 if { (eval echo configure:22605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22606 glibcpp_cv_func_strtof_use=yes
22608 echo "configure: failed program was:" >&5
22609 cat conftest.$ac_ext >&5
22611 glibcpp_cv_func_strtof_use=no
22615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22616 ac_cpp='$CPP $CPPFLAGS'
22617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22619 cross_compiling=$ac_cv_prog_cc_cross
22625 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22626 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22627 for ac_func in strtof
22629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22630 echo "configure:22631: checking for $ac_func" >&5
22631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22632 echo $ac_n "(cached) $ac_c" 1>&6
22634 cat > conftest.$ac_ext <<EOF
22635 #line 22636 "configure"
22636 #include "confdefs.h"
22637 /* System header to define __stub macros and hopefully few prototypes,
22638 which can conflict with char $ac_func(); below. */
22639 #include <assert.h>
22640 /* Override any gcc2 internal prototype to avoid an error. */
22641 /* We use char because int might match the return type of a gcc2
22642 builtin and then its argument prototype would still apply. */
22647 /* The GNU C library defines this for functions which it implements
22648 to always fail with ENOSYS. Some functions are actually named
22649 something starting with __ and the normal name is an alias. */
22650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22658 if { (eval echo configure:22659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22660 eval "ac_cv_func_$ac_func=yes"
22662 echo "configure: failed program was:" >&5
22663 cat conftest.$ac_ext >&5
22665 eval "ac_cv_func_$ac_func=no"
22670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22671 echo "$ac_t""yes" 1>&6
22672 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22673 cat >> confdefs.h <<EOF
22674 #define $ac_tr_func 1
22678 echo "$ac_t""no" 1>&6
22684 for ac_func in drand48
22686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22687 echo "configure:22688: checking for $ac_func" >&5
22688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22689 echo $ac_n "(cached) $ac_c" 1>&6
22691 cat > conftest.$ac_ext <<EOF
22692 #line 22693 "configure"
22693 #include "confdefs.h"
22694 /* System header to define __stub macros and hopefully few prototypes,
22695 which can conflict with char $ac_func(); below. */
22696 #include <assert.h>
22697 /* Override any gcc2 internal prototype to avoid an error. */
22698 /* We use char because int might match the return type of a gcc2
22699 builtin and then its argument prototype would still apply. */
22704 /* The GNU C library defines this for functions which it implements
22705 to always fail with ENOSYS. Some functions are actually named
22706 something starting with __ and the normal name is an alias. */
22707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22715 if { (eval echo configure:22716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22717 eval "ac_cv_func_$ac_func=yes"
22719 echo "configure: failed program was:" >&5
22720 cat conftest.$ac_ext >&5
22722 eval "ac_cv_func_$ac_func=no"
22727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22728 echo "$ac_t""yes" 1>&6
22729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22730 cat >> confdefs.h <<EOF
22731 #define $ac_tr_func 1
22735 echo "$ac_t""no" 1>&6
22740 CXXFLAGS="$ac_save_CXXFLAGS"
22743 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22744 ac_save_CXXFLAGS="$CXXFLAGS"
22745 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22748 echo $ac_n "checking for isatty declaration""... $ac_c" 1>&6
22749 echo "configure:22750: checking for isatty declaration" >&5
22750 if test x${glibcpp_cv_func_isatty_use+set} != xset; then
22751 if eval "test \"`echo '$''{'glibcpp_cv_func_isatty_use'+set}'`\" = set"; then
22752 echo $ac_n "(cached) $ac_c" 1>&6
22757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22758 ac_cpp='$CXXCPP $CPPFLAGS'
22759 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22760 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22761 cross_compiling=$ac_cv_prog_cxx_cross
22763 cat > conftest.$ac_ext <<EOF
22764 #line 22765 "configure"
22765 #include "confdefs.h"
22766 #include <unistd.h>
22771 if { (eval echo configure:22772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22773 glibcpp_cv_func_isatty_use=yes
22775 echo "configure: failed program was:" >&5
22776 cat conftest.$ac_ext >&5
22778 glibcpp_cv_func_isatty_use=no
22782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22786 cross_compiling=$ac_cv_prog_cc_cross
22792 echo "$ac_t""$glibcpp_cv_func_isatty_use" 1>&6
22793 if test x$glibcpp_cv_func_isatty_use = x"yes"; then
22794 for ac_func in isatty
22796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22797 echo "configure:22798: checking for $ac_func" >&5
22798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22799 echo $ac_n "(cached) $ac_c" 1>&6
22801 cat > conftest.$ac_ext <<EOF
22802 #line 22803 "configure"
22803 #include "confdefs.h"
22804 /* System header to define __stub macros and hopefully few prototypes,
22805 which can conflict with char $ac_func(); below. */
22806 #include <assert.h>
22807 /* Override any gcc2 internal prototype to avoid an error. */
22808 /* We use char because int might match the return type of a gcc2
22809 builtin and then its argument prototype would still apply. */
22814 /* The GNU C library defines this for functions which it implements
22815 to always fail with ENOSYS. Some functions are actually named
22816 something starting with __ and the normal name is an alias. */
22817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22825 if { (eval echo configure:22826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22827 eval "ac_cv_func_$ac_func=yes"
22829 echo "configure: failed program was:" >&5
22830 cat conftest.$ac_ext >&5
22832 eval "ac_cv_func_$ac_func=no"
22837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22838 echo "$ac_t""yes" 1>&6
22839 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22840 cat >> confdefs.h <<EOF
22841 #define $ac_tr_func 1
22845 echo "$ac_t""no" 1>&6
22852 CXXFLAGS="$ac_save_CXXFLAGS"
22855 # For showmanyc_helper().
22856 for ac_hdr in sys/ioctl.h sys/filio.h
22858 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22859 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22860 echo "configure:22861: checking for $ac_hdr" >&5
22861 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22862 echo $ac_n "(cached) $ac_c" 1>&6
22864 cat > conftest.$ac_ext <<EOF
22865 #line 22866 "configure"
22866 #include "confdefs.h"
22869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22870 { (eval echo configure:22871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22872 if test -z "$ac_err"; then
22874 eval "ac_cv_header_$ac_safe=yes"
22877 echo "configure: failed program was:" >&5
22878 cat conftest.$ac_ext >&5
22880 eval "ac_cv_header_$ac_safe=no"
22884 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22885 echo "$ac_t""yes" 1>&6
22886 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22887 cat >> confdefs.h <<EOF
22888 #define $ac_tr_hdr 1
22892 echo "$ac_t""no" 1>&6
22897 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22898 echo $ac_n "(cached) $ac_c" 1>&6
22901 cat > conftest.$ac_ext <<EOF
22902 #line 22903 "configure"
22903 #include "confdefs.h"
22906 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22909 if { (eval echo configure:22910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22911 glibcpp_cv_POLL=yes
22913 echo "configure: failed program was:" >&5
22914 cat conftest.$ac_ext >&5
22922 if test x$glibcpp_cv_POLL = xyes; then
22923 cat >> confdefs.h <<\EOF
22924 #define HAVE_POLL 1
22930 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22931 echo $ac_n "(cached) $ac_c" 1>&6
22934 cat > conftest.$ac_ext <<EOF
22935 #line 22936 "configure"
22936 #include "confdefs.h"
22937 #include <sys/stat.h>
22939 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22942 if { (eval echo configure:22943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22944 glibcpp_cv_S_ISREG=yes
22946 echo "configure: failed program was:" >&5
22947 cat conftest.$ac_ext >&5
22949 glibcpp_cv_S_ISREG=no
22955 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
22956 echo $ac_n "(cached) $ac_c" 1>&6
22959 cat > conftest.$ac_ext <<EOF
22960 #line 22961 "configure"
22961 #include "confdefs.h"
22962 #include <sys/stat.h>
22964 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22967 if { (eval echo configure:22968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22969 glibcpp_cv_S_IFREG=yes
22971 echo "configure: failed program was:" >&5
22972 cat conftest.$ac_ext >&5
22974 glibcpp_cv_S_IFREG=no
22980 if test x$glibcpp_cv_S_ISREG = xyes; then
22981 cat >> confdefs.h <<\EOF
22982 #define HAVE_S_ISREG 1
22985 elif test x$glibcpp_cv_S_IFREG = xyes; then
22986 cat >> confdefs.h <<\EOF
22987 #define HAVE_S_IFREG 1
22994 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22995 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22996 echo "configure:22997: checking for locale.h" >&5
22997 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22998 echo $ac_n "(cached) $ac_c" 1>&6
23000 cat > conftest.$ac_ext <<EOF
23001 #line 23002 "configure"
23002 #include "confdefs.h"
23003 #include <locale.h>
23005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23006 { (eval echo configure:23007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23007 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23008 if test -z "$ac_err"; then
23010 eval "ac_cv_header_$ac_safe=yes"
23013 echo "configure: failed program was:" >&5
23014 cat conftest.$ac_ext >&5
23016 eval "ac_cv_header_$ac_safe=no"
23020 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23021 echo "$ac_t""yes" 1>&6
23023 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
23024 echo "configure:23025: checking for LC_MESSAGES" >&5
23025 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
23026 echo $ac_n "(cached) $ac_c" 1>&6
23028 cat > conftest.$ac_ext <<EOF
23029 #line 23030 "configure"
23030 #include "confdefs.h"
23031 #include <locale.h>
23036 if { (eval echo configure:23037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23038 ac_cv_val_LC_MESSAGES=yes
23040 echo "configure: failed program was:" >&5
23041 cat conftest.$ac_ext >&5
23043 ac_cv_val_LC_MESSAGES=no
23048 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
23049 if test $ac_cv_val_LC_MESSAGES = yes; then
23050 cat >> confdefs.h <<\EOF
23051 #define HAVE_LC_MESSAGES 1
23057 echo "$ac_t""no" 1>&6
23062 cat > conftest.$ac_ext <<EOF
23063 #line 23064 "configure"
23064 #include "confdefs.h"
23066 #include <setjmp.h>
23069 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
23072 if { (eval echo configure:23073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23074 cat >> confdefs.h <<\EOF
23075 #define HAVE_SIGSETJMP 1
23080 echo "configure: failed program was:" >&5
23081 cat conftest.$ac_ext >&5
23085 for ac_hdr in unistd.h
23087 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23088 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23089 echo "configure:23090: checking for $ac_hdr" >&5
23090 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23091 echo $ac_n "(cached) $ac_c" 1>&6
23093 cat > conftest.$ac_ext <<EOF
23094 #line 23095 "configure"
23095 #include "confdefs.h"
23098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23099 { (eval echo configure:23100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23101 if test -z "$ac_err"; then
23103 eval "ac_cv_header_$ac_safe=yes"
23106 echo "configure: failed program was:" >&5
23107 cat conftest.$ac_ext >&5
23109 eval "ac_cv_header_$ac_safe=no"
23113 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23114 echo "$ac_t""yes" 1>&6
23115 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23116 cat >> confdefs.h <<EOF
23117 #define $ac_tr_hdr 1
23121 echo "$ac_t""no" 1>&6
23125 for ac_func in getpagesize
23127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23128 echo "configure:23129: checking for $ac_func" >&5
23129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23130 echo $ac_n "(cached) $ac_c" 1>&6
23132 cat > conftest.$ac_ext <<EOF
23133 #line 23134 "configure"
23134 #include "confdefs.h"
23135 /* System header to define __stub macros and hopefully few prototypes,
23136 which can conflict with char $ac_func(); below. */
23137 #include <assert.h>
23138 /* Override any gcc2 internal prototype to avoid an error. */
23139 /* We use char because int might match the return type of a gcc2
23140 builtin and then its argument prototype would still apply. */
23145 /* The GNU C library defines this for functions which it implements
23146 to always fail with ENOSYS. Some functions are actually named
23147 something starting with __ and the normal name is an alias. */
23148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23156 if { (eval echo configure:23157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23158 eval "ac_cv_func_$ac_func=yes"
23160 echo "configure: failed program was:" >&5
23161 cat conftest.$ac_ext >&5
23163 eval "ac_cv_func_$ac_func=no"
23168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23169 echo "$ac_t""yes" 1>&6
23170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23171 cat >> confdefs.h <<EOF
23172 #define $ac_tr_func 1
23176 echo "$ac_t""no" 1>&6
23180 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
23181 echo "configure:23182: checking for working mmap" >&5
23182 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23183 echo $ac_n "(cached) $ac_c" 1>&6
23185 if test "$cross_compiling" = yes; then
23186 ac_cv_func_mmap_fixed_mapped=no
23188 cat > conftest.$ac_ext <<EOF
23189 #line 23190 "configure"
23190 #include "confdefs.h"
23192 /* Thanks to Mike Haertel and Jim Avera for this test.
23193 Here is a matrix of mmap possibilities:
23194 mmap private not fixed
23195 mmap private fixed at somewhere currently unmapped
23196 mmap private fixed at somewhere already mapped
23197 mmap shared not fixed
23198 mmap shared fixed at somewhere currently unmapped
23199 mmap shared fixed at somewhere already mapped
23200 For private mappings, we should verify that changes cannot be read()
23201 back from the file, nor mmap's back from the file at a different
23202 address. (There have been systems where private was not correctly
23203 implemented like the infamous i386 svr4.0, and systems where the
23204 VM page cache was not coherent with the filesystem buffer cache
23205 like early versions of FreeBSD and possibly contemporary NetBSD.)
23206 For shared mappings, we should conversely verify that changes get
23207 propogated back to all the places they're supposed to be.
23209 Grep wants private fixed already mapped.
23210 The main things grep needs to know about mmap are:
23211 * does it exist and is it safe to write into the mmap'd area
23212 * how to use it (BSD variants) */
23213 #include <sys/types.h>
23215 #include <sys/mman.h>
23217 /* This mess was copied from the GNU getpagesize.h. */
23218 #ifndef HAVE_GETPAGESIZE
23219 # ifdef HAVE_UNISTD_H
23220 # include <unistd.h>
23223 /* Assume that all systems that can run configure have sys/param.h. */
23224 # ifndef HAVE_SYS_PARAM_H
23225 # define HAVE_SYS_PARAM_H 1
23228 # ifdef _SC_PAGESIZE
23229 # define getpagesize() sysconf(_SC_PAGESIZE)
23230 # else /* no _SC_PAGESIZE */
23231 # ifdef HAVE_SYS_PARAM_H
23232 # include <sys/param.h>
23233 # ifdef EXEC_PAGESIZE
23234 # define getpagesize() EXEC_PAGESIZE
23235 # else /* no EXEC_PAGESIZE */
23237 # define getpagesize() NBPG * CLSIZE
23240 # endif /* no CLSIZE */
23241 # else /* no NBPG */
23243 # define getpagesize() NBPC
23244 # else /* no NBPC */
23246 # define getpagesize() PAGESIZE
23247 # endif /* PAGESIZE */
23248 # endif /* no NBPC */
23249 # endif /* no NBPG */
23250 # endif /* no EXEC_PAGESIZE */
23251 # else /* no HAVE_SYS_PARAM_H */
23252 # define getpagesize() 8192 /* punt totally */
23253 # endif /* no HAVE_SYS_PARAM_H */
23254 # endif /* no _SC_PAGESIZE */
23256 #endif /* no HAVE_GETPAGESIZE */
23259 extern "C" { void *malloc(unsigned); }
23267 char *data, *data2, *data3;
23271 pagesize = getpagesize();
23274 * First, make a file with some known garbage in it.
23276 data = malloc(pagesize);
23279 for (i = 0; i < pagesize; ++i)
23280 *(data + i) = rand();
23282 fd = creat("conftestmmap", 0600);
23285 if (write(fd, data, pagesize) != pagesize)
23290 * Next, try to mmap the file at a fixed address which
23291 * already has something else allocated at it. If we can,
23292 * also make sure that we see the same garbage.
23294 fd = open("conftestmmap", O_RDWR);
23297 data2 = malloc(2 * pagesize);
23300 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23301 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23302 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23304 for (i = 0; i < pagesize; ++i)
23305 if (*(data + i) != *(data2 + i))
23309 * Finally, make sure that changes to the mapped area
23310 * do not percolate back to the file as seen by read().
23311 * (This is a bug on some variants of i386 svr4.0.)
23313 for (i = 0; i < pagesize; ++i)
23314 *(data2 + i) = *(data2 + i) + 1;
23315 data3 = malloc(pagesize);
23318 if (read(fd, data3, pagesize) != pagesize)
23320 for (i = 0; i < pagesize; ++i)
23321 if (*(data + i) != *(data3 + i))
23324 unlink("conftestmmap");
23329 if { (eval echo configure:23330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23331 ac_cv_func_mmap_fixed_mapped=yes
23333 echo "configure: failed program was:" >&5
23334 cat conftest.$ac_ext >&5
23336 ac_cv_func_mmap_fixed_mapped=no
23343 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23344 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23345 cat >> confdefs.h <<\EOF
23346 #define HAVE_MMAP 1
23354 # This depends on GLIBCPP_CHECK_LINKER_FEATURES, but without it assumes no.
23355 # Check whether --enable-symvers or --disable-symvers was given.
23356 if test "${enable_symvers+set}" = set; then
23357 enableval="$enable_symvers"
23358 case "$enableval" in
23359 yes) enable_symvers=yes ;;
23360 no) enable_symvers=no ;;
23361 # other names here, just as sanity checks
23362 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23363 gnu) enable_symvers=$enableval ;;
23364 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23370 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23371 # don't know enough about $LD to do tricks...
23372 if test x$enable_shared = xno ||
23374 test x$glibcpp_gnu_ld_version = x; then
23378 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23379 if test $enable_symvers != no; then
23380 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23381 echo "configure:23382: checking for shared libgcc" >&5
23382 ac_save_CFLAGS="$CFLAGS"
23384 cat > conftest.$ac_ext <<EOF
23385 #line 23386 "configure"
23386 #include "confdefs.h"
23392 if { (eval echo configure:23393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23394 glibcpp_shared_libgcc=yes
23396 echo "configure: failed program was:" >&5
23397 cat conftest.$ac_ext >&5
23399 glibcpp_shared_libgcc=no
23402 CFLAGS="$ac_save_CFLAGS"
23403 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23406 # For GNU ld, we need at least this version. It's 2.12 in the same format
23407 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23408 glibcpp_min_gnu_ld_version=21200
23410 # Check to see if unspecified "yes" value can win, given results
23412 if test $enable_symvers = yes ; then
23413 if test $with_gnu_ld = yes &&
23414 test $glibcpp_shared_libgcc = yes ;
23416 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23419 ac_test_CFLAGS="${CFLAGS+set}"
23420 ac_save_CFLAGS="$CFLAGS"
23421 CFLAGS='-shared -Wl,--version-script,conftest.map'
23424 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23426 cat > conftest.$ac_ext <<EOF
23427 #line 23428 "configure"
23428 #include "confdefs.h"
23434 if { (eval echo configure:23435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23438 echo "configure: failed program was:" >&5
23439 cat conftest.$ac_ext >&5
23442 if test "$ac_test_CFLAGS" = set; then
23443 CFLAGS="$ac_save_CFLAGS"
23445 # this is the suspicious part
23451 # just fail for now
23456 case $enable_symvers in
23458 SYMVER_MAP=config/linker-map.dummy
23461 SYMVER_MAP=config/linker-map.gnu
23462 cat >> confdefs.h <<\EOF
23463 #define _GLIBCPP_SYMVER 1
23472 if test $enable_symvers != no; then
23473 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23474 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23476 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23477 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23479 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23480 echo "configure:23481: checking versioning on shared library symbols" >&5
23481 echo "$ac_t""$enable_symvers" 1>&6
23484 # This depends on GLIBCPP_ENABLE_SYMVERS and GLIBCPP_IS_CROSS_COMPILING.
23486 if test x"$GLIBCPP_IS_CROSS_COMPILING" = xfalse; then
23487 # Do checks for memory limit functions.
23489 setrlimit_have_headers=yes
23490 for ac_hdr in unistd.h sys/time.h sys/resource.h
23492 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23493 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23494 echo "configure:23495: checking for $ac_hdr" >&5
23495 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23496 echo $ac_n "(cached) $ac_c" 1>&6
23498 cat > conftest.$ac_ext <<EOF
23499 #line 23500 "configure"
23500 #include "confdefs.h"
23503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23504 { (eval echo configure:23505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23506 if test -z "$ac_err"; then
23508 eval "ac_cv_header_$ac_safe=yes"
23511 echo "configure: failed program was:" >&5
23512 cat conftest.$ac_ext >&5
23514 eval "ac_cv_header_$ac_safe=no"
23518 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23519 echo "$ac_t""yes" 1>&6
23520 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23521 cat >> confdefs.h <<EOF
23522 #define $ac_tr_hdr 1
23526 echo "$ac_t""no" 1>&6
23527 setrlimit_have_headers=no
23531 # If don't have the headers, then we can't run the tests now, and we
23532 # won't be seeing any of these during testsuite compilation.
23533 if test $setrlimit_have_headers = yes; then
23534 # Can't do these in a loop, else the resulting syntax is wrong.
23536 cat > conftest.$ac_ext <<EOF
23537 #line 23538 "configure"
23538 #include "confdefs.h"
23539 #include <unistd.h>
23540 #include <sys/time.h>
23541 #include <sys/resource.h>
23544 int f = RLIMIT_DATA ;
23547 if { (eval echo configure:23548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23551 echo "configure: failed program was:" >&5
23552 cat conftest.$ac_ext >&5
23557 cat >> confdefs.h <<EOF
23558 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23563 cat > conftest.$ac_ext <<EOF
23564 #line 23565 "configure"
23565 #include "confdefs.h"
23566 #include <unistd.h>
23567 #include <sys/time.h>
23568 #include <sys/resource.h>
23571 int f = RLIMIT_RSS ;
23574 if { (eval echo configure:23575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23578 echo "configure: failed program was:" >&5
23579 cat conftest.$ac_ext >&5
23584 cat >> confdefs.h <<EOF
23585 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23590 cat > conftest.$ac_ext <<EOF
23591 #line 23592 "configure"
23592 #include "confdefs.h"
23593 #include <unistd.h>
23594 #include <sys/time.h>
23595 #include <sys/resource.h>
23598 int f = RLIMIT_VMEM ;
23601 if { (eval echo configure:23602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23605 echo "configure: failed program was:" >&5
23606 cat conftest.$ac_ext >&5
23611 cat >> confdefs.h <<EOF
23612 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23617 cat > conftest.$ac_ext <<EOF
23618 #line 23619 "configure"
23619 #include "confdefs.h"
23620 #include <unistd.h>
23621 #include <sys/time.h>
23622 #include <sys/resource.h>
23625 int f = RLIMIT_AS ;
23628 if { (eval echo configure:23629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23632 echo "configure: failed program was:" >&5
23633 cat conftest.$ac_ext >&5
23638 cat >> confdefs.h <<EOF
23639 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23644 # Check for rlimit, setrlimit.
23645 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23646 echo $ac_n "(cached) $ac_c" 1>&6
23649 cat > conftest.$ac_ext <<EOF
23650 #line 23651 "configure"
23651 #include "confdefs.h"
23652 #include <unistd.h>
23653 #include <sys/time.h>
23654 #include <sys/resource.h>
23657 struct rlimit r; setrlimit(0, &r);
23660 if { (eval echo configure:23661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23664 echo "configure: failed program was:" >&5
23665 cat conftest.$ac_ext >&5
23675 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23676 echo "configure:23677: checking for testsuite memory limit support" >&5
23677 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23679 cat >> confdefs.h <<\EOF
23680 #define _GLIBCPP_MEM_LIMITS 1
23686 echo "$ac_t""$ac_mem_limits" 1>&6
23689 # Look for setenv, so that extended locale tests can be performed.
23691 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23692 echo "configure:23693: checking for setenv declaration" >&5
23693 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23694 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23695 echo $ac_n "(cached) $ac_c" 1>&6
23700 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23701 ac_cpp='$CXXCPP $CPPFLAGS'
23702 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23703 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23704 cross_compiling=$ac_cv_prog_cxx_cross
23706 cat > conftest.$ac_ext <<EOF
23707 #line 23708 "configure"
23708 #include "confdefs.h"
23709 #include <stdlib.h>
23714 if { (eval echo configure:23715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23716 glibcpp_cv_func_setenv_use=yes
23718 echo "configure: failed program was:" >&5
23719 cat conftest.$ac_ext >&5
23721 glibcpp_cv_func_setenv_use=no
23725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23726 ac_cpp='$CPP $CPPFLAGS'
23727 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23728 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23729 cross_compiling=$ac_cv_prog_cc_cross
23735 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23736 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23737 for ac_func in setenv
23739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23740 echo "configure:23741: checking for $ac_func" >&5
23741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23742 echo $ac_n "(cached) $ac_c" 1>&6
23744 cat > conftest.$ac_ext <<EOF
23745 #line 23746 "configure"
23746 #include "confdefs.h"
23747 /* System header to define __stub macros and hopefully few prototypes,
23748 which can conflict with char $ac_func(); below. */
23749 #include <assert.h>
23750 /* Override any gcc2 internal prototype to avoid an error. */
23751 /* We use char because int might match the return type of a gcc2
23752 builtin and then its argument prototype would still apply. */
23757 /* The GNU C library defines this for functions which it implements
23758 to always fail with ENOSYS. Some functions are actually named
23759 something starting with __ and the normal name is an alias. */
23760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23768 if { (eval echo configure:23769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23770 eval "ac_cv_func_$ac_func=yes"
23772 echo "configure: failed program was:" >&5
23773 cat conftest.$ac_ext >&5
23775 eval "ac_cv_func_$ac_func=no"
23780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23781 echo "$ac_t""yes" 1>&6
23782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23783 cat >> confdefs.h <<EOF
23784 #define $ac_tr_func 1
23788 echo "$ac_t""no" 1>&6
23796 # Export file names for ABI checking.
23797 baseline_dir="${glibcpp_srcdir}/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
23800 # Determine if checking the ABI is desirable.
23801 # Only build this as native, since automake does not understand
23803 if test x"$GLIBCPP_IS_CROSS_COMPILING" = xtrue || test x$enable_symvers = xno; then
23804 enable_abi_check=no
23808 enable_abi_check=no ;;
23810 enable_abi_check=yes ;;
23815 if test "$enable_abi_check" = yes; then
23816 GLIBCPP_TEST_ABI_TRUE=
23817 GLIBCPP_TEST_ABI_FALSE='#'
23819 GLIBCPP_TEST_ABI_TRUE='#'
23820 GLIBCPP_TEST_ABI_FALSE=
23824 # Propagate the target-specific source directories through the build chain.
23825 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23826 # uses it, and it only gets used in this file.)
23827 OS_INC_SRCDIR=config/${os_include_dir}
23828 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23832 # Set up cross-compile flags
23835 if test "$CANADIAN" = yes; then
23843 cat > confcache <<\EOF
23844 # This file is a shell script that caches the results of configure
23845 # tests run on this system so they can be shared between configure
23846 # scripts and configure runs. It is not useful on other systems.
23847 # If it contains results you don't want to keep, you may remove or edit it.
23849 # By default, configure uses ./config.cache as the cache file,
23850 # creating it if it does not exist already. You can give configure
23851 # the --cache-file=FILE option to use a different cache file; that is
23852 # what configure does when it calls configure scripts in
23853 # subdirectories, so they share the cache.
23854 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23855 # config.status only pays attention to the cache file if you give it the
23856 # --recheck option to rerun configure.
23859 # The following way of writing the cache mishandles newlines in values,
23860 # but we know of no workaround that is simple, portable, and efficient.
23861 # So, don't put newlines in cache variables' values.
23862 # Ultrix sh set writes to stderr and can't be redirected directly,
23863 # and sets the high bit in the cache file unless we assign to the vars.
23865 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23867 # `set' does not quote correctly, so add quotes (double-quote substitution
23868 # turns \\\\ into \\, and sed turns \\ into \).
23870 -e "s/'/'\\\\''/g" \
23871 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23874 # `set' quotes correctly as required by POSIX, so do not add quotes.
23875 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23878 if cmp -s $cache_file confcache; then
23881 if test -w $cache_file; then
23882 echo "updating cache $cache_file"
23883 cat confcache > $cache_file
23885 echo "not updating unwritable cache $cache_file"
23891 if test "${multilib}" = "yes"; then
23892 multilib_arg="--enable-multilib"
23897 # Export all the install information
23899 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23900 # exported correctly in GLIBCPP_CONFIGURE.
23901 glibcpp_toolexecdir=no
23902 glibcpp_toolexeclibdir=no
23903 glibcpp_prefixdir=${prefix}
23905 # Process the option --with-gxx-include-dir=<path to include-files directory>
23906 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23907 echo "configure:23908: checking for --with-gxx-include-dir" >&5
23908 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23909 if test "${with_gxx_include_dir+set}" = set; then
23910 withval="$with_gxx_include_dir"
23911 case "${withval}" in
23913 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23920 gxx_include_dir=${withval}
23927 echo "$ac_t""$gxx_include_dir" 1>&6
23929 # Process the option "--enable-version-specific-runtime-libs"
23930 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23931 echo "configure:23932: checking for --enable-version-specific-runtime-libs" >&5
23932 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23933 if test "${enable_version_specific_runtime_libs+set}" = set; then
23934 enableval="$enable_version_specific_runtime_libs"
23935 case "$enableval" in
23936 yes) version_specific_libs=yes ;;
23937 no) version_specific_libs=no ;;
23938 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23941 version_specific_libs=no
23943 # Option set, now we can test it.
23944 echo "$ac_t""$version_specific_libs" 1>&6
23946 # Default case for install directory for include files.
23947 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23948 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23951 # Version-specific runtime libs processing.
23952 if test $version_specific_libs = yes; then
23953 # Need the gcc compiler version to know where to install libraries
23954 # and header files if --enable-version-specific-runtime-libs option
23956 if test x"$gxx_include_dir" = x"no"; then
23957 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23959 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23960 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23963 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23964 # Install a library built with a cross compiler in tooldir, not libdir.
23965 if test x"$glibcpp_toolexecdir" = x"no"; then
23966 if test -n "$with_cross_host" &&
23967 test x"$with_cross_host" != x"no"; then
23968 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23969 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23971 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23972 glibcpp_toolexeclibdir='$(libdir)'
23974 glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/`$CC -print-multi-os-directory`
23977 echo $ac_n "checking for install location""... $ac_c" 1>&6
23978 echo "configure:23979: checking for install location" >&5
23979 echo "$ac_t""$gxx_include_dir" 1>&6
23987 # Export all the include and flag information to makefiles.
23989 # Root level of the build directory include sources.
23990 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23992 # Passed down for canadian crosses.
23993 if test x"$CANADIAN" = xyes; then
23994 TOPLEVEL_INCLUDES='-I$(includedir)'
23997 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23999 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
24001 if test x"$need_libio" = xyes; then
24002 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
24006 # Now, export this to all the little Makefiles....
24013 # Optimization flags that are probably a good idea for thrill-seekers. Just
24014 # uncomment the lines below and make, everything else is ready to go...
24015 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
24019 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
24023 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
24024 grep "enable shared" > /dev/null; then
24025 LIBSUPCXX_PICFLAGS=-prefer-pic
24027 LIBSUPCXX_PICFLAGS=
24031 # Generate the various Makefiles, include files, and scripts.
24032 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
24033 # libsupc++/Makefile.am and testsuite/Makefile.am so that multilib installs
24034 # will end up installed in the correct place. To work around this not being
24035 # passed down from config-ml.in -> top_srcdir/Makefile.am ->
24036 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
24038 cat > confcache <<\EOF
24039 # This file is a shell script that caches the results of configure
24040 # tests run on this system so they can be shared between configure
24041 # scripts and configure runs. It is not useful on other systems.
24042 # If it contains results you don't want to keep, you may remove or edit it.
24044 # By default, configure uses ./config.cache as the cache file,
24045 # creating it if it does not exist already. You can give configure
24046 # the --cache-file=FILE option to use a different cache file; that is
24047 # what configure does when it calls configure scripts in
24048 # subdirectories, so they share the cache.
24049 # Giving --cache-file=/dev/null disables caching, for debugging configure.
24050 # config.status only pays attention to the cache file if you give it the
24051 # --recheck option to rerun configure.
24054 # The following way of writing the cache mishandles newlines in values,
24055 # but we know of no workaround that is simple, portable, and efficient.
24056 # So, don't put newlines in cache variables' values.
24057 # Ultrix sh set writes to stderr and can't be redirected directly,
24058 # and sets the high bit in the cache file unless we assign to the vars.
24060 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24062 # `set' does not quote correctly, so add quotes (double-quote substitution
24063 # turns \\\\ into \\, and sed turns \\ into \).
24065 -e "s/'/'\\\\''/g" \
24066 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
24069 # `set' quotes correctly as required by POSIX, so do not add quotes.
24070 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
24073 if cmp -s $cache_file confcache; then
24076 if test -w $cache_file; then
24077 echo "updating cache $cache_file"
24078 cat confcache > $cache_file
24080 echo "not updating unwritable cache $cache_file"
24085 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
24087 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24088 # Let make expand exec_prefix.
24089 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24091 # Any assignment to VPATH causes Sun make to only execute
24092 # the first set of double-colon rules, so remove it if not needed.
24093 # If there is a colon in the path, we need to keep it.
24094 if test "x$srcdir" = x.; then
24095 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24098 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24100 DEFS=-DHAVE_CONFIG_H
24102 # Without the "./", some shells look in PATH for config.status.
24103 : ${CONFIG_STATUS=./config.status}
24105 echo creating $CONFIG_STATUS
24106 rm -f $CONFIG_STATUS
24107 cat > $CONFIG_STATUS <<EOF
24109 # Generated automatically by configure.
24110 # Run this file to recreate the current configuration.
24111 # This directory was configured as follows,
24112 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24114 # $0 $ac_configure_args
24116 # Compiler output produced by configure, useful for debugging
24117 # configure, is in ./config.log if it exists.
24119 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
24122 case "\$ac_option" in
24123 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24124 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24125 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24126 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24127 echo "$CONFIG_STATUS generated by autoconf version 2.13"
24129 -help | --help | --hel | --he | --h)
24130 echo "\$ac_cs_usage"; exit 0 ;;
24131 *) echo "\$ac_cs_usage"; exit 1 ;;
24135 ac_given_srcdir=$srcdir
24136 ac_given_INSTALL="$INSTALL"
24138 trap 'rm -fr `echo "Makefile \
24139 include/Makefile src/Makefile \
24140 libmath/Makefile libio/Makefile libsupc++/Makefile \
24141 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
24143 cat >> $CONFIG_STATUS <<EOF
24145 # Protect against being on the right side of a sed subst in config.status.
24146 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24147 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24151 s%@CFLAGS@%$CFLAGS%g
24152 s%@CPPFLAGS@%$CPPFLAGS%g
24153 s%@CXXFLAGS@%$CXXFLAGS%g
24154 s%@FFLAGS@%$FFLAGS%g
24156 s%@LDFLAGS@%$LDFLAGS%g
24158 s%@exec_prefix@%$exec_prefix%g
24159 s%@prefix@%$prefix%g
24160 s%@program_transform_name@%$program_transform_name%g
24161 s%@bindir@%$bindir%g
24162 s%@sbindir@%$sbindir%g
24163 s%@libexecdir@%$libexecdir%g
24164 s%@datadir@%$datadir%g
24165 s%@sysconfdir@%$sysconfdir%g
24166 s%@sharedstatedir@%$sharedstatedir%g
24167 s%@localstatedir@%$localstatedir%g
24168 s%@libdir@%$libdir%g
24169 s%@includedir@%$includedir%g
24170 s%@oldincludedir@%$oldincludedir%g
24171 s%@infodir@%$infodir%g
24172 s%@mandir@%$mandir%g
24173 s%@PACKAGE@%$PACKAGE%g
24174 s%@libtool_VERSION@%$libtool_VERSION%g
24175 s%@toplevel_srcdir@%$toplevel_srcdir%g
24177 s%@host_alias@%$host_alias%g
24178 s%@host_cpu@%$host_cpu%g
24179 s%@host_vendor@%$host_vendor%g
24180 s%@host_os@%$host_os%g
24181 s%@target@%$target%g
24182 s%@target_alias@%$target_alias%g
24183 s%@target_cpu@%$target_cpu%g
24184 s%@target_vendor@%$target_vendor%g
24185 s%@target_os@%$target_os%g
24187 s%@build_alias@%$build_alias%g
24188 s%@build_cpu@%$build_cpu%g
24189 s%@build_vendor@%$build_vendor%g
24190 s%@build_os@%$build_os%g
24191 s%@glibcpp_builddir@%$glibcpp_builddir%g
24192 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24195 s%@glibcpp_basedir@%$glibcpp_basedir%g
24197 s%@glibcpp_CXX@%$glibcpp_CXX%g
24200 s%@RANLIB@%$RANLIB%g
24201 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24202 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24203 s%@INSTALL_DATA@%$INSTALL_DATA%g
24204 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24205 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24207 s%@EXEEXT@%$EXEEXT%g
24208 s%@VERSION@%$VERSION%g
24209 s%@ACLOCAL@%$ACLOCAL%g
24210 s%@AUTOCONF@%$AUTOCONF%g
24211 s%@AUTOMAKE@%$AUTOMAKE%g
24212 s%@AUTOHEADER@%$AUTOHEADER%g
24213 s%@MAKEINFO@%$MAKEINFO%g
24214 s%@SET_MAKE@%$SET_MAKE%g
24215 s%@OBJEXT@%$OBJEXT%g
24217 s%@LIBTOOL@%$LIBTOOL%g
24218 s%@CXXCPP@%$CXXCPP%g
24219 s%@enable_shared@%$enable_shared%g
24220 s%@enable_static@%$enable_static%g
24221 s%@ifGNUmake@%$ifGNUmake%g
24223 s%@CSTDIO_H@%$CSTDIO_H%g
24224 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24225 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24226 s%@CCODECVT_C@%$CCODECVT_C%g
24227 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24228 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24229 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24230 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24231 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24232 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24233 s%@libio_la@%$libio_la%g
24234 s%@check_msgfmt@%$check_msgfmt%g
24235 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24236 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24237 s%@glibcpp_localedir@%$glibcpp_localedir%g
24238 s%@USE_NLS@%$USE_NLS%g
24239 s%@CLOCALE_H@%$CLOCALE_H%g
24240 s%@CCODECVT_H@%$CCODECVT_H%g
24241 s%@CMESSAGES_H@%$CMESSAGES_H%g
24242 s%@CCODECVT_CC@%$CCODECVT_CC%g
24243 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24244 s%@CCTYPE_CC@%$CCTYPE_CC%g
24245 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24246 s%@CMONEY_CC@%$CMONEY_CC%g
24247 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24248 s%@CTIME_H@%$CTIME_H%g
24249 s%@CTIME_CC@%$CTIME_CC%g
24250 s%@CLOCALE_CC@%$CLOCALE_CC%g
24251 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24252 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24253 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24254 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24255 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24256 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24257 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24258 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24259 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24260 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24261 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24262 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24263 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24264 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24265 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24266 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24267 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24268 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24269 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24270 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24271 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24272 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24273 s%@WERROR@%$WERROR%g
24274 s%@SYMVER_MAP@%$SYMVER_MAP%g
24275 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24276 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24277 s%@baseline_dir@%$baseline_dir%g
24278 s%@GLIBCPP_TEST_ABI_TRUE@%$GLIBCPP_TEST_ABI_TRUE%g
24279 s%@GLIBCPP_TEST_ABI_FALSE@%$GLIBCPP_TEST_ABI_FALSE%g
24280 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24281 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24282 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24283 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24284 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24285 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24286 s%@gxx_include_dir@%$gxx_include_dir%g
24287 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24288 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24289 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24290 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24291 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24292 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24293 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24294 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24295 s%@WARN_FLAGS@%$WARN_FLAGS%g
24296 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24301 cat >> $CONFIG_STATUS <<\EOF
24303 # Split the substitutions into bite-sized pieces for seds with
24304 # small command number limits, like on Digital OSF/1 and HP-UX.
24305 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24306 ac_file=1 # Number of current file.
24307 ac_beg=1 # First line for current file.
24308 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24311 while $ac_more_lines; do
24312 if test $ac_beg -gt 1; then
24313 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24315 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24317 if test ! -s conftest.s$ac_file; then
24318 ac_more_lines=false
24319 rm -f conftest.s$ac_file
24321 if test -z "$ac_sed_cmds"; then
24322 ac_sed_cmds="sed -f conftest.s$ac_file"
24324 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24326 ac_file=`expr $ac_file + 1`
24328 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24331 if test -z "$ac_sed_cmds"; then
24336 cat >> $CONFIG_STATUS <<EOF
24338 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24339 include/Makefile src/Makefile \
24340 libmath/Makefile libio/Makefile libsupc++/Makefile \
24341 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
24343 cat >> $CONFIG_STATUS <<\EOF
24344 for ac_file in .. $CONFIG_FILES; 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 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24354 # Remove last slash and all that follows it. Not all systems have dirname.
24355 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24356 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24357 # The file is in a subdirectory.
24358 test ! -d "$ac_dir" && mkdir "$ac_dir"
24359 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24360 # A "../" for each directory in $ac_dir_suffix.
24361 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24363 ac_dir_suffix= ac_dots=
24366 case "$ac_given_srcdir" in
24368 if test -z "$ac_dots"; then top_srcdir=.
24369 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24370 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24371 *) # Relative path.
24372 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24373 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24376 case "$ac_given_INSTALL" in
24377 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24378 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24381 echo creating "$ac_file"
24383 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24385 *Makefile*) ac_comsub="1i\\
24386 # $configure_input" ;;
24390 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24392 s%@configure_input@%$configure_input%g
24393 s%@srcdir@%$srcdir%g
24394 s%@top_srcdir@%$top_srcdir%g
24395 s%@INSTALL@%$INSTALL%g
24396 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24400 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24401 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24403 # ac_d sets the value in "#define NAME VALUE" lines.
24404 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24405 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24408 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24409 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24410 ac_uB='\([ ]\)%\1#\2define\3'
24413 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24414 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24415 ac_eB='$%\1#\2define\3'
24419 if test "${CONFIG_HEADERS+set}" != set; then
24421 cat >> $CONFIG_STATUS <<EOF
24422 CONFIG_HEADERS="config.h"
24424 cat >> $CONFIG_STATUS <<\EOF
24426 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24427 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24429 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24430 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24431 *) ac_file_in="${ac_file}.in" ;;
24434 echo creating $ac_file
24436 rm -f conftest.frag conftest.in conftest.out
24437 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24438 cat $ac_file_inputs > conftest.in
24442 # Transform confdefs.h into a sed script conftest.vals that substitutes
24443 # the proper values into config.h.in to produce config.h. And first:
24444 # Protect against being on the right side of a sed subst in config.status.
24445 # Protect against being in an unquoted here document in config.status.
24446 rm -f conftest.vals
24447 cat > conftest.hdr <<\EOF
24450 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24454 sed -n -f conftest.hdr confdefs.h > conftest.vals
24457 # This sed command replaces #undef with comments. This is necessary, for
24458 # example, in the case of _POSIX_SOURCE, which is predefined and required
24459 # on some systems where configure will not decide to define it.
24460 cat >> conftest.vals <<\EOF
24461 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24464 # Break up conftest.vals because some shells have a limit on
24465 # the size of here documents, and old seds have small limits too.
24467 rm -f conftest.tail
24470 ac_lines=`grep -c . conftest.vals`
24471 # grep -c gives empty output for an empty file on some AIX systems.
24472 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24473 # Write a limited-size here document to conftest.frag.
24474 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24475 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24477 sed -f conftest.frag conftest.in > conftest.out
24479 mv conftest.out conftest.in
24480 ' >> $CONFIG_STATUS
24481 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24482 rm -f conftest.vals
24483 mv conftest.tail conftest.vals
24485 rm -f conftest.vals
24487 cat >> $CONFIG_STATUS <<\EOF
24488 rm -f conftest.frag conftest.h
24489 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24490 cat conftest.in >> conftest.h
24492 if cmp -s $ac_file conftest.h 2>/dev/null; then
24493 echo "$ac_file is unchanged"
24496 # Remove last slash and all that follows it. Not all systems have dirname.
24497 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24498 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24499 # The file is in a subdirectory.
24500 test ! -d "$ac_dir" && mkdir "$ac_dir"
24503 mv conftest.h $ac_file
24508 cat >> $CONFIG_STATUS <<EOF
24513 with_multisubdir=${with_multisubdir}
24514 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24515 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24516 glibcpp_basedir=${glibcpp_basedir}
24519 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24522 cat >> $CONFIG_STATUS <<\EOF
24523 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24524 if test -n "$CONFIG_FILES"; then
24525 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24526 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24527 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24528 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24529 grep '^MULTISUBDIR =' Makefile >> testsuite/Makefile
24532 chmod +x testsuite_flags
24536 chmod +x $CONFIG_STATUS
24537 rm -fr confdefs* $ac_clean_files
24538 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24542 # Sanity checking & User-visible messages.
24543 # Checks down here, otherwise they get scrolled off before
24544 # the user will notice.
24546 # Trying to get more people to read documentation. Possibly remove
24547 # check and warn all the time. There is no "informational" AC_MSG_
24548 # macro, so these are going to be printed even when --quiet/--silent
24550 if test ! -f stamp-sanity-warned; then
24551 touch stamp-sanity-warned
24553 echo "Please make certain that you read the installation information here:"
24554 echo " faster => ${srcdir}/docs/html/install.html"
24555 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24557 echo "and the configuration information here:"
24558 echo " faster => ${srcdir}/docs/html/configopts.html"
24559 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24561 echo "before proceeding with ${_cv_gnu_make_command}."