3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-cstdio enable stdio for target io package.
38 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
41 --enable-clocale enable model for target locale package.
42 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
45 --enable-nls use Native Language Support (default)"
47 --enable-cheaders=MODEL construct "C" header files for g++ [default=c_std]"
49 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
51 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
53 --enable-long-long turns on 'long long' [default=yes]"
55 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
57 --enable-libunwind-exceptions force use of libunwind for exceptions"
59 --enable-concept-checks use Boost-derived template checks [default=no]"
61 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
64 --enable-debug extra debugging, turn off optimization [default=no]"
66 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
67 library;[default=none]"
69 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
71 --with-gxx-include-dir the installation directory for include files"
73 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
75 # Initialize some variables set by options.
76 # The variables have the same names as the options, with
77 # dashes changed to underlines.
79 cache_file=./config.cache
88 program_transform_name=s,x,x,
96 bindir='${exec_prefix}/bin'
97 sbindir='${exec_prefix}/sbin'
98 libexecdir='${exec_prefix}/libexec'
99 datadir='${prefix}/share'
100 sysconfdir='${prefix}/etc'
101 sharedstatedir='${prefix}/com'
102 localstatedir='${prefix}/var'
103 libdir='${exec_prefix}/lib'
104 includedir='${prefix}/include'
105 oldincludedir='/usr/include'
106 infodir='${prefix}/info'
107 mandir='${prefix}/man'
109 # Initialize some other variables.
112 SHELL=${CONFIG_SHELL-/bin/sh}
113 # Maximum number of lines to put in a shell here document.
120 # If the previous option needs an argument, assign it.
121 if test -n "$ac_prev"; then
122 eval "$ac_prev=\$ac_option"
128 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
132 # Accept the important Cygnus configure options, so we can diagnose typos.
136 -bindir | --bindir | --bindi | --bind | --bin | --bi)
138 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
139 bindir="$ac_optarg" ;;
141 -build | --build | --buil | --bui | --bu)
143 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
144 build="$ac_optarg" ;;
146 -cache-file | --cache-file | --cache-fil | --cache-fi \
147 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
148 ac_prev=cache_file ;;
149 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
150 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
151 cache_file="$ac_optarg" ;;
153 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
155 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
157 datadir="$ac_optarg" ;;
159 -disable-* | --disable-*)
160 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
166 eval "enable_${ac_feature}=no" ;;
168 -enable-* | --enable-*)
169 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
170 # Reject names that are not valid shell variable names.
171 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
172 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
174 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
179 eval "enable_${ac_feature}='$ac_optarg'" ;;
181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
183 | --exec | --exe | --ex)
184 ac_prev=exec_prefix ;;
185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
187 | --exec=* | --exe=* | --ex=*)
188 exec_prefix="$ac_optarg" ;;
190 -gas | --gas | --ga | --g)
191 # Obsolete; use --with-gas.
194 -help | --help | --hel | --he)
195 # Omit some internal or obsolete options to make the list less imposing.
196 # This message is too long to be a string in the A/UX 3.1 sh.
198 Usage: configure [options] [host]
199 Options: [defaults in brackets after descriptions]
201 --cache-file=FILE cache test results in FILE
202 --help print this message
203 --no-create do not create output files
204 --quiet, --silent do not print \`checking...' messages
205 --version print the version of autoconf that created configure
206 Directory and file names:
207 --prefix=PREFIX install architecture-independent files in PREFIX
209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
211 --bindir=DIR user executables in DIR [EPREFIX/bin]
212 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
213 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
214 --datadir=DIR read-only architecture-independent data in DIR
216 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
217 --sharedstatedir=DIR modifiable architecture-independent data in DIR
219 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
220 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
221 --includedir=DIR C header files in DIR [PREFIX/include]
222 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
223 --infodir=DIR info documentation in DIR [PREFIX/info]
224 --mandir=DIR man documentation in DIR [PREFIX/man]
225 --srcdir=DIR find the sources in DIR [configure dir or ..]
226 --program-prefix=PREFIX prepend PREFIX to installed program names
227 --program-suffix=SUFFIX append SUFFIX to installed program names
228 --program-transform-name=PROGRAM
229 run sed PROGRAM on installed program names
233 --build=BUILD configure for building on BUILD [BUILD=HOST]
234 --host=HOST configure for HOST [guessed]
235 --target=TARGET configure for TARGET [TARGET=HOST]
236 Features and packages:
237 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
238 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
239 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
240 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
241 --x-includes=DIR X include files are in DIR
242 --x-libraries=DIR X library files are in DIR
244 if test -n "$ac_help"; then
245 echo "--enable and --with options recognized:$ac_help"
249 -host | --host | --hos | --ho)
251 -host=* | --host=* | --hos=* | --ho=*)
254 -includedir | --includedir | --includedi | --included | --include \
255 | --includ | --inclu | --incl | --inc)
256 ac_prev=includedir ;;
257 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
258 | --includ=* | --inclu=* | --incl=* | --inc=*)
259 includedir="$ac_optarg" ;;
261 -infodir | --infodir | --infodi | --infod | --info | --inf)
263 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
264 infodir="$ac_optarg" ;;
266 -libdir | --libdir | --libdi | --libd)
268 -libdir=* | --libdir=* | --libdi=* | --libd=*)
269 libdir="$ac_optarg" ;;
271 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
272 | --libexe | --libex | --libe)
273 ac_prev=libexecdir ;;
274 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
275 | --libexe=* | --libex=* | --libe=*)
276 libexecdir="$ac_optarg" ;;
278 -localstatedir | --localstatedir | --localstatedi | --localstated \
279 | --localstate | --localstat | --localsta | --localst \
280 | --locals | --local | --loca | --loc | --lo)
281 ac_prev=localstatedir ;;
282 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
283 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
284 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
285 localstatedir="$ac_optarg" ;;
287 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
289 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
290 mandir="$ac_optarg" ;;
293 # Obsolete; use --without-fp.
296 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
300 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
301 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
304 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
305 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
306 | --oldin | --oldi | --old | --ol | --o)
307 ac_prev=oldincludedir ;;
308 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
309 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
310 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
311 oldincludedir="$ac_optarg" ;;
313 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
315 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
316 prefix="$ac_optarg" ;;
318 -program-prefix | --program-prefix | --program-prefi | --program-pref \
319 | --program-pre | --program-pr | --program-p)
320 ac_prev=program_prefix ;;
321 -program-prefix=* | --program-prefix=* | --program-prefi=* \
322 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
323 program_prefix="$ac_optarg" ;;
325 -program-suffix | --program-suffix | --program-suffi | --program-suff \
326 | --program-suf | --program-su | --program-s)
327 ac_prev=program_suffix ;;
328 -program-suffix=* | --program-suffix=* | --program-suffi=* \
329 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
330 program_suffix="$ac_optarg" ;;
332 -program-transform-name | --program-transform-name \
333 | --program-transform-nam | --program-transform-na \
334 | --program-transform-n | --program-transform- \
335 | --program-transform | --program-transfor \
336 | --program-transfo | --program-transf \
337 | --program-trans | --program-tran \
338 | --progr-tra | --program-tr | --program-t)
339 ac_prev=program_transform_name ;;
340 -program-transform-name=* | --program-transform-name=* \
341 | --program-transform-nam=* | --program-transform-na=* \
342 | --program-transform-n=* | --program-transform-=* \
343 | --program-transform=* | --program-transfor=* \
344 | --program-transfo=* | --program-transf=* \
345 | --program-trans=* | --program-tran=* \
346 | --progr-tra=* | --program-tr=* | --program-t=*)
347 program_transform_name="$ac_optarg" ;;
349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
350 | -silent | --silent | --silen | --sile | --sil)
353 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
355 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
357 sbindir="$ac_optarg" ;;
359 -sharedstatedir | --sharedstatedir | --sharedstatedi \
360 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
361 | --sharedst | --shareds | --shared | --share | --shar \
363 ac_prev=sharedstatedir ;;
364 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
365 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
366 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
368 sharedstatedir="$ac_optarg" ;;
370 -site | --site | --sit)
372 -site=* | --site=* | --sit=*)
375 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
377 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
378 srcdir="$ac_optarg" ;;
380 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
381 | --syscon | --sysco | --sysc | --sys | --sy)
382 ac_prev=sysconfdir ;;
383 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
384 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
385 sysconfdir="$ac_optarg" ;;
387 -target | --target | --targe | --targ | --tar | --ta | --t)
389 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
390 target="$ac_optarg" ;;
392 -v | -verbose | --verbose | --verbos | --verbo | --verb)
395 -version | --version | --versio | --versi | --vers)
396 echo "configure generated by autoconf version 2.13"
400 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
403 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
405 ac_package=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}='$ac_optarg'" ;;
412 -without-* | --without-*)
413 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package=`echo $ac_package| sed 's/-/_/g'`
419 eval "with_${ac_package}=no" ;;
422 # Obsolete; use --with-x.
425 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
426 | --x-incl | --x-inc | --x-in | --x-i)
427 ac_prev=x_includes ;;
428 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
429 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
430 x_includes="$ac_optarg" ;;
432 -x-libraries | --x-libraries | --x-librarie | --x-librari \
433 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
434 ac_prev=x_libraries ;;
435 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
436 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
437 x_libraries="$ac_optarg" ;;
439 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
443 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
444 echo "configure: warning: $ac_option: invalid host type" 1>&2
446 if test "x$nonopt" != xNONE; then
447 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
455 if test -n "$ac_prev"; then
456 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
459 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
461 # File descriptor usage:
464 # 2 errors and warnings
465 # 3 some systems may open it to /dev/tty
466 # 4 used on the Kubota Titan
467 # 6 checking for... messages and results
468 # 5 compiler messages saved in config.log
469 if test "$silent" = yes; then
477 This file contains any messages produced by compilers while
478 running configure, to aid debugging if configure makes a mistake.
481 # Strip out --no-create and --no-recursion so they do not pile up.
482 # Also quote any args containing shell metacharacters.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c) ;;
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
492 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
493 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
498 # Only set these to C if already set. These must not be set unconditionally
499 # because not all systems understand e.g. LANG=C (notably SCO).
500 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
501 # Non-C LC_CTYPE values break the ctype check.
502 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
503 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
504 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
505 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
508 rm -rf conftest* confdefs.h
509 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
512 # A filename unique to this package, relative to the directory that
513 # configure is in, which we can look for to find out if srcdir is correct.
514 ac_unique_file=src/ios.cc
516 # Find the source files, if location was not specified.
517 if test -z "$srcdir"; then
518 ac_srcdir_defaulted=yes
519 # Try the directory containing this script, then its parent.
521 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
522 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
524 if test ! -r $srcdir/$ac_unique_file; then
528 ac_srcdir_defaulted=no
530 if test ! -r $srcdir/$ac_unique_file; then
531 if test "$ac_srcdir_defaulted" = yes; then
532 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
534 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
537 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
539 # Prefer explicitly selected file to automatically selected ones.
540 if test -z "$CONFIG_SITE"; then
541 if test "x$prefix" != xNONE; then
542 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
544 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
547 for ac_site_file in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp='$CPP $CPPFLAGS'
565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
580 ac_n= ac_c='\c' ac_t=
585 # This works around the fact that libtool configuration may change LD
586 # for this particular configuration, but some shells, instead of
587 # keeping the changes in LD private, export them just because LD is
588 # exported. Only used at the end of this file.
589 ORIGINAL_LD_FOR_MULTILIBS=$LD
593 # For libtool versioning info, format is CURRENT:REVISION:AGE
594 libtool_VERSION=5:2:0
598 # Check whether --enable-multilib or --disable-multilib was given.
599 if test "${enable_multilib+set}" = set; then
600 enableval="$enable_multilib"
601 case "${enableval}" in
604 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
610 # When building with srcdir == objdir, links to the source files will
611 # be created in directories within the target_subdir. We have to
612 # adjust toplevel_srcdir accordingly, so that configure finds
613 # install-sh and other auxiliary files that live in the top-level
615 if test "${srcdir}" = "."; then
616 if test -z "${with_target_subdir}"; then
619 if test "${with_target_subdir}" != "."; then
620 toprel="${with_multisrctop}../.."
622 toprel="${with_multisrctop}.."
629 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
630 if test -f $ac_dir/install-sh; then
632 ac_install_sh="$ac_aux_dir/install-sh -c"
634 elif test -f $ac_dir/install.sh; then
636 ac_install_sh="$ac_aux_dir/install.sh -c"
640 if test -z "$ac_aux_dir"; then
641 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
643 ac_config_guess=$ac_aux_dir/config.guess
644 ac_config_sub=$ac_aux_dir/config.sub
645 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
647 toplevel_srcdir=\${top_srcdir}/$toprel
651 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
653 # You will slowly go insane if you do not grok the following fact: when
654 # building v3 as part of the compiler, the top-level /target/ becomes the
655 # library's /host/. `configure' then causes --target to default to --host,
656 # exactly like any other package using autoconf. Therefore, 'target' and
657 # 'host' will always be the same. This makes sense both for native and
658 # cross compilers, just think about it for a little while. :-)
660 # Also, if v3 is being configured as part of a cross compiler, the top-level
661 # configure script will pass the "real" host as $with_cross_host.
663 # AC 2.5x sets target_alias iff the user specified --target, but we use it
664 # everywhere, so we set it here just to be sure. In AC 2.13
665 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
667 # Do some error checking and defaulting for the host and target type.
669 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
672 # 1. You are not allowed to specify --host, --target, and nonopt at the
674 # 2. Host defaults to nonopt.
675 # 3. If nonopt is not specified, then host defaults to the current host,
676 # as determined by config.guess.
677 # 4. Target and build default to nonopt.
678 # 5. If nonopt is not specified, then target and build default to host.
680 # The aliases save the names the user supplied, while $host etc.
681 # will get canonicalized.
682 case $host---$target---$nonopt in
683 NONE---*---* | *---NONE---* | *---*---NONE) ;;
684 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
688 # Make sure we can run config.sub.
689 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
690 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
693 echo $ac_n "checking host system type""... $ac_c" 1>&6
694 echo "configure:695: checking host system type" >&5
697 case "$host_alias" in
701 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
702 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
704 *) host_alias=$nonopt ;;
708 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
709 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$host" 1>&6
714 echo $ac_n "checking target system type""... $ac_c" 1>&6
715 echo "configure:716: checking target system type" >&5
718 case "$target_alias" in
721 NONE) target_alias=$host_alias ;;
722 *) target_alias=$nonopt ;;
726 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
727 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$target" 1>&6
732 echo $ac_n "checking build system type""... $ac_c" 1>&6
733 echo "configure:734: checking build system type" >&5
736 case "$build_alias" in
739 NONE) build_alias=$host_alias ;;
740 *) build_alias=$nonopt ;;
744 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
745 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
746 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
747 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
748 echo "$ac_t""$build" 1>&6
750 test "$host_alias" != "$target_alias" &&
751 test "$program_prefix$program_suffix$program_transform_name" = \
753 program_prefix=${target_alias}-
755 target_alias=${target_alias-$target}
758 # Runs configure.target, finds CC, CXX and assorted other critical bits.
759 # Must run this before the GLIBCPP_ENABLE_* macros below.
760 if test $host != $build; then
761 ac_tool_prefix=${host_alias}-
766 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
767 echo "configure:768: checking for Cygwin environment" >&5
768 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
769 echo $ac_n "(cached) $ac_c" 1>&6
771 cat > conftest.$ac_ext <<EOF
772 #line 773 "configure"
773 #include "confdefs.h"
778 #define __CYGWIN__ __CYGWIN32__
783 if { (eval echo configure:784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
787 echo "configure: failed program was:" >&5
788 cat conftest.$ac_ext >&5
796 echo "$ac_t""$ac_cv_cygwin" 1>&6
798 test "$ac_cv_cygwin" = yes && CYGWIN=yes
799 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
800 echo "configure:801: checking for mingw32 environment" >&5
801 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
802 echo $ac_n "(cached) $ac_c" 1>&6
804 cat > conftest.$ac_ext <<EOF
805 #line 806 "configure"
806 #include "confdefs.h"
812 if { (eval echo configure:813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
816 echo "configure: failed program was:" >&5
817 cat conftest.$ac_ext >&5
825 echo "$ac_t""$ac_cv_mingw32" 1>&6
827 test "$ac_cv_mingw32" = yes && MINGW32=yes
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in gawk mawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
848 echo "configure:849: checking for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
882 echo "configure:883: checking whether ln -s works" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
920 # Never versions of autoconf add an underscore to these functions.
921 # Prevent future problems ...
928 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
929 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
930 # are probably using a cross compiler, which will not be able to fully
931 # link an executable. This is addressed in later versions of autoconf.
936 # Extract the first word of "gcc", so it can be a program name with args.
937 set dummy gcc; ac_word=$2
938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
939 echo "configure:940: checking for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC="$CC" # Let the user override the test.
946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
948 for ac_dir in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no" 1>&6
965 if test -z "$CC"; then
966 # Extract the first word of "cc", so it can be a program name with args.
967 set dummy cc; ac_word=$2
968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
969 echo "configure:970: checking for $ac_word" >&5
970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
971 echo $ac_n "(cached) $ac_c" 1>&6
973 if test -n "$CC"; then
974 ac_cv_prog_CC="$CC" # Let the user override the test.
976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 for ac_dir in $ac_dummy; do
980 test -z "$ac_dir" && ac_dir=.
981 if test -f $ac_dir/$ac_word; then
982 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
991 if test $ac_prog_rejected = yes; then
992 # We found a bogon in the path, so make sure we never use it.
993 set dummy $ac_cv_prog_CC
995 if test $# -gt 0; then
996 # We chose a different compiler from the bogus one.
997 # However, it has the same basename, so the bogon will be chosen
998 # first if we set CC to just the basename; use the full file name.
1000 set dummy "$ac_dir/$ac_word" "$@"
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no" 1>&6
1014 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1017 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1018 echo "configure:1019: checking whether we are using GNU C" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached) $ac_c" 1>&6
1022 cat > conftest.c <<EOF
1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1038 ac_test_CFLAGS="${CFLAGS+set}"
1039 ac_save_CFLAGS="$CFLAGS"
1041 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1042 echo "configure:1043: checking whether ${CC-cc} accepts -g" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1044 echo $ac_n "(cached) $ac_c" 1>&6
1046 echo 'void f(){}' > conftest.c
1047 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1056 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1057 if test "$ac_test_CFLAGS" = set; then
1058 CFLAGS="$ac_save_CFLAGS"
1059 elif test $ac_cv_prog_cc_g = yes; then
1066 test "${CFLAGS+set}" = set || CFLAGS="-g"
1070 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1071 # will try to link in libstdc++.
1075 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1076 # flags that come in CXX while configuring libstdc++. They're different
1077 # from those used for all other target libraries. If CXX is set in
1078 # the environment, respect that here.
1080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1085 echo "configure:1086: checking for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1087 echo $ac_n "(cached) $ac_c" 1>&6
1089 if test -n "$glibcpp_CXX"; then
1090 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_glibcpp_CXX="$ac_prog"
1104 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1105 if test -n "$glibcpp_CXX"; then
1106 echo "$ac_t""$glibcpp_CXX" 1>&6
1108 echo "$ac_t""no" 1>&6
1111 test -n "$glibcpp_CXX" && break
1113 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1117 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1119 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1120 echo "configure:1121: checking whether we are using GNU C++" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1122 echo $ac_n "(cached) $ac_c" 1>&6
1124 cat > conftest.C <<EOF
1129 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1136 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1138 if test $ac_cv_prog_gxx = yes; then
1140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1141 ac_save_CXXFLAGS="$CXXFLAGS"
1143 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1144 echo "configure:1145: checking whether ${CXX-g++} accepts -g" >&5
1145 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1146 echo $ac_n "(cached) $ac_c" 1>&6
1148 echo 'void f(){}' > conftest.cc
1149 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1150 ac_cv_prog_cxx_g=yes
1158 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1159 if test "$ac_test_CXXFLAGS" = set; then
1160 CXXFLAGS="$ac_save_CXXFLAGS"
1161 elif test $ac_cv_prog_cxx_g = yes; then
1168 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1172 # For directory versioning (e.g., headers) and other variables.
1173 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1174 echo "configure:1175: checking for GCC version number" >&5
1175 gcc_version=`$glibcpp_CXX -dumpversion`
1176 echo "$ac_t""$gcc_version" 1>&6
1178 # For some reason, gettext needs this.
1180 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1181 echo "configure:1182: checking for strerror in -lcposix" >&5
1182 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 ac_save_LIBS="$LIBS"
1187 LIBS="-lcposix $LIBS"
1188 cat > conftest.$ac_ext <<EOF
1189 #line 1190 "configure"
1190 #include "confdefs.h"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202 eval "ac_cv_lib_$ac_lib_var=yes"
1204 echo "configure: failed program was:" >&5
1205 cat conftest.$ac_ext >&5
1207 eval "ac_cv_lib_$ac_lib_var=no"
1210 LIBS="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 LIBS="$LIBS -lcposix"
1217 echo "$ac_t""no" 1>&6
1223 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1224 set dummy ${ac_tool_prefix}as; ac_word=$2
1225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1226 echo "configure:1227: checking for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1228 echo $ac_n "(cached) $ac_c" 1>&6
1230 if test -n "$AS"; then
1231 ac_cv_prog_AS="$AS" # Let the user override the test.
1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 ac_cv_prog_AS="${ac_tool_prefix}as"
1243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1247 if test -n "$AS"; then
1248 echo "$ac_t""$AS" 1>&6
1250 echo "$ac_t""no" 1>&6
1255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1256 set dummy ${ac_tool_prefix}ar; ac_word=$2
1257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1258 echo "configure:1259: checking for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR="$AR" # Let the user override the test.
1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1267 for ac_dir in $ac_dummy; do
1268 test -z "$ac_dir" && ac_dir=.
1269 if test -f $ac_dir/$ac_word; then
1270 ac_cv_prog_AR="${ac_tool_prefix}ar"
1275 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1279 if test -n "$AR"; then
1280 echo "$ac_t""$AR" 1>&6
1282 echo "$ac_t""no" 1>&6
1287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1290 echo "configure:1291: checking for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1292 echo $ac_n "(cached) $ac_c" 1>&6
1294 if test -n "$RANLIB"; then
1295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1309 RANLIB="$ac_cv_prog_RANLIB"
1310 if test -n "$RANLIB"; then
1311 echo "$ac_t""$RANLIB" 1>&6
1313 echo "$ac_t""no" 1>&6
1317 if test -z "$ac_cv_prog_RANLIB"; then
1318 if test -n "$ac_tool_prefix"; then
1319 # Extract the first word of "ranlib", so it can be a program name with args.
1320 set dummy ranlib; ac_word=$2
1321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1322 echo "configure:1323: checking for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 if test -n "$RANLIB"; then
1327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_RANLIB="ranlib"
1339 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1342 RANLIB="$ac_cv_prog_RANLIB"
1343 if test -n "$RANLIB"; then
1344 echo "$ac_t""$RANLIB" 1>&6
1346 echo "$ac_t""no" 1>&6
1350 RANLIB="ranlib-not-found-in-path-error"
1354 # Find a good install program. We prefer a C program (faster),
1355 # so one script is as good as another. But avoid the broken or
1356 # incompatible versions:
1357 # SysV /etc/install, /usr/sbin/install
1358 # SunOS /usr/etc/install
1359 # IRIX /sbin/install
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1364 # ./install, which can be erroneously created by make from ./install.sh.
1365 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1366 echo "configure:1367: checking for a BSD compatible install" >&5
1367 if test -z "$INSTALL"; then
1368 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1369 echo $ac_n "(cached) $ac_c" 1>&6
1371 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1372 for ac_dir in $PATH; do
1373 # Account for people who put trailing slashes in PATH elements.
1375 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1380 for ac_prog in ginstall scoinst install; do
1381 if test -f $ac_dir/$ac_prog; then
1382 if test $ac_prog = install &&
1383 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1384 # AIX install. It has an incompatible calling convention.
1387 ac_cv_path_install="$ac_dir/$ac_prog -c"
1398 if test "${ac_cv_path_install+set}" = set; then
1399 INSTALL="$ac_cv_path_install"
1401 # As a last resort, use the slow shell script. We don't cache a
1402 # path for INSTALL within a source directory, because that will
1403 # break other packages using the cache if that directory is
1404 # removed, or if the path is relative.
1405 INSTALL="$ac_install_sh"
1408 echo "$ac_t""$INSTALL" 1>&6
1410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411 # It thinks the first close brace ends the variable substitution.
1412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1420 echo "configure:1421: checking whether to enable maintainer-specific portions of Makefiles" >&5
1421 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1422 if test "${enable_maintainer_mode+set}" = set; then
1423 enableval="$enable_maintainer_mode"
1424 USE_MAINTAINER_MODE=$enableval
1426 USE_MAINTAINER_MODE=no
1429 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1432 if test $USE_MAINTAINER_MODE = yes; then
1433 MAINTAINER_MODE_TRUE=
1434 MAINTAINER_MODE_FALSE='#'
1436 MAINTAINER_MODE_TRUE='#'
1437 MAINTAINER_MODE_FALSE=
1439 MAINT=$MAINTAINER_MODE_TRUE
1443 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1444 # at least currently, we never actually build a program, so we never
1445 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1446 # fails, because we are probably configuring with a cross compiler
1447 # which can't create executables. So we include AC_EXEEXT to keep
1448 # automake happy, but we don't execute it, since we don't care about
1451 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1452 # to nothing, so nothing would remain between `then' and `fi' if it
1453 # were not for the `:' below.
1457 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1458 echo "configure:1459: checking for executable suffix" >&5
1459 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1460 echo $ac_n "(cached) $ac_c" 1>&6
1462 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1466 echo 'int main () { return 0; }' > conftest.$ac_ext
1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1469 for file in conftest.*; do
1471 *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1504 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1505 echo "configure:1506: checking whether build environment is sane" >&5
1508 echo timestamp > conftestfile
1509 # Do `set' in a subshell so we don't clobber the current shell's
1510 # arguments. Must try -L first in case configure is actually a
1511 # symlink; some systems play weird games with the mod time of symlinks
1512 # (eg FreeBSD returns the mod time of the symlink's containing
1515 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1516 if test "$*" = "X"; then
1518 set X `ls -t $srcdir/configure conftestfile`
1520 if test "$*" != "X $srcdir/configure conftestfile" \
1521 && test "$*" != "X conftestfile $srcdir/configure"; then
1523 # If neither matched, then we have a broken ls. This can happen
1524 # if, for instance, CONFIG_SHELL is bash and it inherits a
1525 # broken ls alias from the environment. This has actually
1526 # happened. Such a system could not be considered "sane".
1527 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1528 alias in your environment" 1>&2; exit 1; }
1531 test "$2" = conftestfile
1537 { echo "configure: error: newly created file is older than distributed files!
1538 Check your system clock" 1>&2; exit 1; }
1541 echo "$ac_t""yes" 1>&6
1542 if test "$program_transform_name" = s,x,x,; then
1543 program_transform_name=
1545 # Double any \ or $. echo might interpret backslashes.
1546 cat <<\EOF_SED > conftestsed
1547 s,\\,\\\\,g; s,\$,$$,g
1549 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1552 test "$program_prefix" != NONE &&
1553 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1554 # Use a double $ so make ignores it.
1555 test "$program_suffix" != NONE &&
1556 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1558 # sed with no file args requires a program.
1559 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1561 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1562 echo "configure:1563: checking whether ${MAKE-make} sets \${MAKE}" >&5
1563 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1564 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1565 echo $ac_n "(cached) $ac_c" 1>&6
1567 cat > conftestmake <<\EOF
1569 @echo 'ac_maketemp="${MAKE}"'
1571 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1572 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1573 if test -n "$ac_maketemp"; then
1574 eval ac_cv_prog_make_${ac_make}_set=yes
1576 eval ac_cv_prog_make_${ac_make}_set=no
1580 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1581 echo "$ac_t""yes" 1>&6
1584 echo "$ac_t""no" 1>&6
1585 SET_MAKE="MAKE=${MAKE-make}"
1591 VERSION=$gcc_version
1593 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1594 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1596 cat >> confdefs.h <<EOF
1597 #define PACKAGE "$PACKAGE"
1600 cat >> confdefs.h <<EOF
1601 #define VERSION "$VERSION"
1606 missing_dir=`cd $ac_aux_dir && pwd`
1607 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1608 echo "configure:1609: checking for working aclocal" >&5
1609 # Run test in a subshell; some versions of sh will print an error if
1610 # an executable is not found, even if stderr is redirected.
1611 # Redirect stdin to placate older versions of autoconf. Sigh.
1612 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1614 echo "$ac_t""found" 1>&6
1616 ACLOCAL="$missing_dir/missing aclocal"
1617 echo "$ac_t""missing" 1>&6
1620 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1621 echo "configure:1622: checking for working autoconf" >&5
1622 # Run test in a subshell; some versions of sh will print an error if
1623 # an executable is not found, even if stderr is redirected.
1624 # Redirect stdin to placate older versions of autoconf. Sigh.
1625 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1627 echo "$ac_t""found" 1>&6
1629 AUTOCONF="$missing_dir/missing autoconf"
1630 echo "$ac_t""missing" 1>&6
1633 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1634 echo "configure:1635: checking for working automake" >&5
1635 # Run test in a subshell; some versions of sh will print an error if
1636 # an executable is not found, even if stderr is redirected.
1637 # Redirect stdin to placate older versions of autoconf. Sigh.
1638 if (automake --version) < /dev/null > /dev/null 2>&1; then
1640 echo "$ac_t""found" 1>&6
1642 AUTOMAKE="$missing_dir/missing automake"
1643 echo "$ac_t""missing" 1>&6
1646 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1647 echo "configure:1648: checking for working autoheader" >&5
1648 # Run test in a subshell; some versions of sh will print an error if
1649 # an executable is not found, even if stderr is redirected.
1650 # Redirect stdin to placate older versions of autoconf. Sigh.
1651 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1652 AUTOHEADER=autoheader
1653 echo "$ac_t""found" 1>&6
1655 AUTOHEADER="$missing_dir/missing autoheader"
1656 echo "$ac_t""missing" 1>&6
1659 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1660 echo "configure:1661: checking for working makeinfo" >&5
1661 # Run test in a subshell; some versions of sh will print an error if
1662 # an executable is not found, even if stderr is redirected.
1663 # Redirect stdin to placate older versions of autoconf. Sigh.
1664 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1666 echo "$ac_t""found" 1>&6
1668 MAKEINFO="$missing_dir/missing makeinfo"
1669 echo "$ac_t""missing" 1>&6
1678 # Check whether --enable-shared or --disable-shared was given.
1679 if test "${enable_shared+set}" = set; then
1680 enableval="$enable_shared"
1681 p=${PACKAGE-default}
1683 yes) enable_shared=yes ;;
1684 no) enable_shared=no ;;
1687 # Look at the argument we got. We use all the common list separators.
1688 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1689 for pkg in $enableval; do
1690 if test "X$pkg" = "X$p"; then
1701 # Check whether --enable-static or --disable-static was given.
1702 if test "${enable_static+set}" = set; then
1703 enableval="$enable_static"
1704 p=${PACKAGE-default}
1706 yes) enable_static=yes ;;
1707 no) enable_static=no ;;
1710 # Look at the argument we got. We use all the common list separators.
1711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1712 for pkg in $enableval; do
1713 if test "X$pkg" = "X$p"; then
1724 # Check whether --enable-fast-install or --disable-fast-install was given.
1725 if test "${enable_fast_install+set}" = set; then
1726 enableval="$enable_fast_install"
1727 p=${PACKAGE-default}
1729 yes) enable_fast_install=yes ;;
1730 no) enable_fast_install=no ;;
1732 enable_fast_install=no
1733 # Look at the argument we got. We use all the common list separators.
1734 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1735 for pkg in $enableval; do
1736 if test "X$pkg" = "X$p"; then
1737 enable_fast_install=yes
1744 enable_fast_install=yes
1747 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1748 if test "${with_gnu_ld+set}" = set; then
1749 withval="$with_gnu_ld"
1750 test "$withval" = no || with_gnu_ld=yes
1756 if test "$GCC" = yes; then
1757 # Check if gcc -print-prog-name=ld gives a path.
1758 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1759 echo "configure:1760: checking for ld used by GCC" >&5
1762 # gcc leaves a trailing carriage return which upsets mingw
1763 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1765 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1768 # Accept absolute paths.
1769 [\\/]* | [A-Za-z]:[\\/]*)
1770 re_direlt='/[^/][^/]*/\.\./'
1771 # Canonicalize the path of ld
1772 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1773 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1774 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1776 test -z "$LD" && LD="$ac_prog"
1779 # If it fails, then pretend we aren't using GCC.
1783 # If it is relative, then search for the first ld in PATH.
1787 elif test "$with_gnu_ld" = yes; then
1788 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1789 echo "configure:1790: checking for GNU ld" >&5
1791 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1792 echo "configure:1793: checking for non-GNU ld" >&5
1794 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1795 echo $ac_n "(cached) $ac_c" 1>&6
1797 if test -z "$LD"; then
1798 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1799 for ac_dir in $PATH; do
1800 test -z "$ac_dir" && ac_dir=.
1801 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1802 lt_cv_path_LD="$ac_dir/$ac_prog"
1803 # Check to see if the program is GNU ld. I'd rather use --version,
1804 # but apparently some GNU ld's only accept -v.
1805 # Break only if it was the GNU/non-GNU ld that we prefer.
1806 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1807 test "$with_gnu_ld" != no && break
1809 test "$with_gnu_ld" != yes && break
1815 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1820 if test -n "$LD"; then
1821 echo "$ac_t""$LD" 1>&6
1823 echo "$ac_t""no" 1>&6
1825 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1826 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1827 echo "configure:1828: checking if the linker ($LD) is GNU ld" >&5
1828 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1829 echo $ac_n "(cached) $ac_c" 1>&6
1831 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1832 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1833 lt_cv_prog_gnu_ld=yes
1835 lt_cv_prog_gnu_ld=no
1839 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1840 with_gnu_ld=$lt_cv_prog_gnu_ld
1843 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1844 echo "configure:1845: checking for $LD option to reload object files" >&5
1845 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1846 echo $ac_n "(cached) $ac_c" 1>&6
1848 lt_cv_ld_reload_flag='-r'
1851 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1852 reload_flag=$lt_cv_ld_reload_flag
1853 test -n "$reload_flag" && reload_flag=" $reload_flag"
1855 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1856 echo "configure:1857: checking for BSD-compatible nm" >&5
1857 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1858 echo $ac_n "(cached) $ac_c" 1>&6
1860 if test -n "$NM"; then
1861 # Let the user override the test.
1864 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1865 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1866 test -z "$ac_dir" && ac_dir=.
1867 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1868 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1869 # Check to see if the nm accepts a BSD-compat flag.
1870 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1871 # nm: unknown option "B" ignored
1872 # Tru64's nm complains that /dev/null is an invalid object file
1873 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1874 lt_cv_path_NM="$tmp_nm -B"
1876 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1877 lt_cv_path_NM="$tmp_nm -p"
1880 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1881 continue # so that we can try to find one that supports BSD flags
1886 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1891 echo "$ac_t""$NM" 1>&6
1893 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1894 echo "configure:1895: checking how to recognise dependant libraries" >&5
1895 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1896 echo $ac_n "(cached) $ac_c" 1>&6
1898 lt_cv_file_magic_cmd='$MAGIC_CMD'
1899 lt_cv_file_magic_test_file=
1900 lt_cv_deplibs_check_method='unknown'
1901 # Need to set the preceding variable on all platforms that support
1902 # interlibrary dependencies.
1903 # 'none' -- dependencies not supported.
1904 # `unknown' -- same as none, but documents that we really don't know.
1905 # 'pass_all' -- all dependencies passed with no checks.
1906 # 'test_compile' -- check by making test program.
1907 # 'file_magic [regex]' -- check by looking for files in library path
1908 # which responds to the $file_magic_cmd with a given egrep regex.
1909 # If you have `file' or equivalent on your system and you're not sure
1910 # whether `pass_all' will *always* work, you probably want this one.
1914 lt_cv_deplibs_check_method=pass_all
1918 lt_cv_deplibs_check_method=pass_all
1922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1923 lt_cv_file_magic_cmd='/usr/bin/file -L'
1924 lt_cv_file_magic_test_file=/shlib/libc.so
1927 cygwin* | mingw* |pw32*)
1928 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1929 lt_cv_file_magic_cmd='$OBJDUMP -f'
1932 darwin* | rhapsody*)
1933 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1934 lt_cv_file_magic_cmd='/usr/bin/file -L'
1936 rhapsody* | darwin1.012)
1937 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1940 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1946 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1949 # Not sure whether the presence of OpenBSD here was a mistake.
1950 # Let's accept both of them until this is cleared up.
1951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1952 lt_cv_file_magic_cmd=/usr/bin/file
1953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1957 lt_cv_deplibs_check_method=pass_all
1962 lt_cv_deplibs_check_method=pass_all
1968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1969 lt_cv_file_magic_cmd=/usr/bin/file
1970 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1974 lt_cv_file_magic_cmd=/usr/bin/file
1975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1983 # this will be overridden with pass_all, but let us keep it just in case
1984 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1988 *-32|*"-32 ") libmagic=32-bit;;
1989 *-n32|*"-n32 ") libmagic=N32;;
1990 *-64|*"-64 ") libmagic=64-bit;;
1991 *) libmagic=never-match;;
1993 # this will be overridden with pass_all, but let us keep it just in case
1994 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1997 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1998 lt_cv_deplibs_check_method=pass_all
2001 # This must be Linux ELF.
2004 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2005 lt_cv_deplibs_check_method=pass_all ;;
2007 # glibc up to 2.1.1 does not perform some relocations on ARM
2008 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2010 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2014 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2015 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2017 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2022 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2023 lt_cv_file_magic_cmd=/usr/bin/file
2024 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2027 osf3* | osf4* | osf5*)
2028 # this will be overridden with pass_all, but let us keep it just in case
2029 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2030 lt_cv_file_magic_test_file=/shlib/libc.so
2031 lt_cv_deplibs_check_method=pass_all
2035 lt_cv_deplibs_check_method=pass_all
2039 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_file_magic_test_file=/lib/libc.so
2043 sysv5uw[78]* | sysv4*uw2*)
2044 lt_cv_deplibs_check_method=pass_all
2047 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2048 case $host_vendor in
2050 lt_cv_deplibs_check_method=pass_all
2053 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
2054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2062 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2063 file_magic_cmd=$lt_cv_file_magic_cmd
2064 deplibs_check_method=$lt_cv_deplibs_check_method
2066 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2067 echo "configure:2068: checking for object suffix" >&5
2068 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2069 echo $ac_n "(cached) $ac_c" 1>&6
2072 echo 'int i = 1;' > conftest.$ac_ext
2073 if { (eval echo configure:2074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2074 for ac_file in conftest.*; do
2077 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2081 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2086 echo "$ac_t""$ac_cv_objext" 1>&6
2087 OBJEXT=$ac_cv_objext
2088 ac_objext=$ac_cv_objext
2090 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2092 # Only perform the check for file, if the check method requires it
2093 case $deplibs_check_method in
2095 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2096 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2097 echo "configure:2098: checking for ${ac_tool_prefix}file" >&5
2098 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2099 echo $ac_n "(cached) $ac_c" 1>&6
2103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2106 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2109 ac_save_MAGIC_CMD="$MAGIC_CMD"
2110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2111 ac_dummy="/usr/bin:$PATH"
2112 for ac_dir in $ac_dummy; do
2113 test -z "$ac_dir" && ac_dir=.
2114 if test -f $ac_dir/${ac_tool_prefix}file; then
2115 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2116 if test -n "$file_magic_test_file"; then
2117 case $deplibs_check_method in
2119 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2120 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2121 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2122 egrep "$file_magic_regex" > /dev/null; then
2127 *** Warning: the command libtool uses to detect shared libraries,
2128 *** $file_magic_cmd, produces output that libtool cannot recognize.
2129 *** The result is that libtool may fail to recognize shared libraries
2130 *** as such. This will affect the creation of libtool libraries that
2131 *** depend on shared libraries, but programs linked with such libtool
2132 *** libraries will work regardless of this problem. Nevertheless, you
2133 *** may want to report the problem to your system manager and/or to
2134 *** bug-libtool@gnu.org
2144 MAGIC_CMD="$ac_save_MAGIC_CMD"
2149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2150 if test -n "$MAGIC_CMD"; then
2151 echo "$ac_t""$MAGIC_CMD" 1>&6
2153 echo "$ac_t""no" 1>&6
2156 if test -z "$lt_cv_path_MAGIC_CMD"; then
2157 if test -n "$ac_tool_prefix"; then
2158 echo $ac_n "checking for file""... $ac_c" 1>&6
2159 echo "configure:2160: checking for file" >&5
2160 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2161 echo $ac_n "(cached) $ac_c" 1>&6
2165 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2168 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2171 ac_save_MAGIC_CMD="$MAGIC_CMD"
2172 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2173 ac_dummy="/usr/bin:$PATH"
2174 for ac_dir in $ac_dummy; do
2175 test -z "$ac_dir" && ac_dir=.
2176 if test -f $ac_dir/file; then
2177 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2178 if test -n "$file_magic_test_file"; then
2179 case $deplibs_check_method in
2181 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2183 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2184 egrep "$file_magic_regex" > /dev/null; then
2189 *** Warning: the command libtool uses to detect shared libraries,
2190 *** $file_magic_cmd, produces output that libtool cannot recognize.
2191 *** The result is that libtool may fail to recognize shared libraries
2192 *** as such. This will affect the creation of libtool libraries that
2193 *** depend on shared libraries, but programs linked with such libtool
2194 *** libraries will work regardless of this problem. Nevertheless, you
2195 *** may want to report the problem to your system manager and/or to
2196 *** bug-libtool@gnu.org
2206 MAGIC_CMD="$ac_save_MAGIC_CMD"
2211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2212 if test -n "$MAGIC_CMD"; then
2213 echo "$ac_t""$MAGIC_CMD" 1>&6
2215 echo "$ac_t""no" 1>&6
2227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2229 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2230 echo "configure:2231: checking for $ac_word" >&5
2231 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2232 echo $ac_n "(cached) $ac_c" 1>&6
2234 if test -n "$RANLIB"; then
2235 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2237 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2239 for ac_dir in $ac_dummy; do
2240 test -z "$ac_dir" && ac_dir=.
2241 if test -f $ac_dir/$ac_word; then
2242 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2249 RANLIB="$ac_cv_prog_RANLIB"
2250 if test -n "$RANLIB"; then
2251 echo "$ac_t""$RANLIB" 1>&6
2253 echo "$ac_t""no" 1>&6
2257 if test -z "$ac_cv_prog_RANLIB"; then
2258 if test -n "$ac_tool_prefix"; then
2259 # Extract the first word of "ranlib", so it can be a program name with args.
2260 set dummy ranlib; ac_word=$2
2261 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2262 echo "configure:2263: checking for $ac_word" >&5
2263 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2264 echo $ac_n "(cached) $ac_c" 1>&6
2266 if test -n "$RANLIB"; then
2267 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2269 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2271 for ac_dir in $ac_dummy; do
2272 test -z "$ac_dir" && ac_dir=.
2273 if test -f $ac_dir/$ac_word; then
2274 ac_cv_prog_RANLIB="ranlib"
2279 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2282 RANLIB="$ac_cv_prog_RANLIB"
2283 if test -n "$RANLIB"; then
2284 echo "$ac_t""$RANLIB" 1>&6
2286 echo "$ac_t""no" 1>&6
2294 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2295 set dummy ${ac_tool_prefix}strip; ac_word=$2
2296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2297 echo "configure:2298: checking for $ac_word" >&5
2298 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2299 echo $ac_n "(cached) $ac_c" 1>&6
2301 if test -n "$STRIP"; then
2302 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2306 for ac_dir in $ac_dummy; do
2307 test -z "$ac_dir" && ac_dir=.
2308 if test -f $ac_dir/$ac_word; then
2309 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2316 STRIP="$ac_cv_prog_STRIP"
2317 if test -n "$STRIP"; then
2318 echo "$ac_t""$STRIP" 1>&6
2320 echo "$ac_t""no" 1>&6
2324 if test -z "$ac_cv_prog_STRIP"; then
2325 if test -n "$ac_tool_prefix"; then
2326 # Extract the first word of "strip", so it can be a program name with args.
2327 set dummy strip; ac_word=$2
2328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2329 echo "configure:2330: checking for $ac_word" >&5
2330 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2331 echo $ac_n "(cached) $ac_c" 1>&6
2333 if test -n "$STRIP"; then
2334 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2338 for ac_dir in $ac_dummy; do
2339 test -z "$ac_dir" && ac_dir=.
2340 if test -f $ac_dir/$ac_word; then
2341 ac_cv_prog_STRIP="strip"
2346 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2349 STRIP="$ac_cv_prog_STRIP"
2350 if test -n "$STRIP"; then
2351 echo "$ac_t""$STRIP" 1>&6
2353 echo "$ac_t""no" 1>&6
2362 # Check for any special flags to pass to ltconfig.
2363 libtool_flags="--cache-file=$cache_file"
2364 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2365 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2366 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2367 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2368 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2369 libtool_flags="$libtool_flags --enable-dlopen"
2371 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2372 if test "${enable_libtool_lock+set}" = set; then
2373 enableval="$enable_libtool_lock"
2377 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2378 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2380 # Check whether --with-pic or --without-pic was given.
2381 if test "${with_pic+set}" = set; then
2388 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2389 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2391 # Some flags need to be propagated to the compiler or linker for good
2395 # Find out which ABI we are using.
2396 echo '#line 2397 "configure"' > conftest.$ac_ext
2397 if { (eval echo configure:2398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2398 case `/usr/bin/file conftest.$ac_objext` in
2414 # Find out which ABI we are using.
2415 echo 'int i;' > conftest.$ac_ext
2416 if { (eval echo configure:2417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2417 case "`/usr/bin/file conftest.o`" in
2429 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2430 # Find out which ABI we are using.
2431 echo 'int i;' > conftest.$ac_ext
2432 if { (eval echo configure:2433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2433 case "`/usr/bin/file conftest.o`" in
2437 LD="${LD-ld} -m elf_i386"
2440 LD="${LD-ld} -m elf32ppclinux"
2443 LD="${LD-ld} -m elf_s390"
2446 LD="${LD-ld} -m elf32_sparc"
2453 LD="${LD-ld} -m elf_x86_64"
2455 ppc*-*linux*|powerpc*-*linux*)
2456 LD="${LD-ld} -m elf64ppc"
2459 LD="${LD-ld} -m elf64_s390"
2462 LD="${LD-ld} -m elf64_sparc"
2472 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2473 SAVE_CFLAGS="$CFLAGS"
2474 CFLAGS="$CFLAGS -belf"
2475 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2476 echo "configure:2477: checking whether the C compiler needs -belf" >&5
2477 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2478 echo $ac_n "(cached) $ac_c" 1>&6
2482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2486 cross_compiling=$ac_cv_prog_cc_cross
2488 cat > conftest.$ac_ext <<EOF
2489 #line 2490 "configure"
2490 #include "confdefs.h"
2496 if { (eval echo configure:2497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2498 lt_cv_cc_needs_belf=yes
2500 echo "configure: failed program was:" >&5
2501 cat conftest.$ac_ext >&5
2503 lt_cv_cc_needs_belf=no
2507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2508 ac_cpp='$CPP $CPPFLAGS'
2509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2511 cross_compiling=$ac_cv_prog_cc_cross
2515 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2516 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2517 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2518 CFLAGS="$SAVE_CFLAGS"
2525 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2526 echo "configure:2527: checking how to run the C++ preprocessor" >&5
2527 if test -z "$CXXCPP"; then
2528 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2529 echo $ac_n "(cached) $ac_c" 1>&6
2532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2533 ac_cpp='$CXXCPP $CPPFLAGS'
2534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2536 cross_compiling=$ac_cv_prog_cxx_cross
2537 CXXCPP="${CXX-g++} -E"
2538 cat > conftest.$ac_ext <<EOF
2539 #line 2540 "configure"
2540 #include "confdefs.h"
2543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2544 { (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2546 if test -z "$ac_err"; then
2550 echo "configure: failed program was:" >&5
2551 cat conftest.$ac_ext >&5
2556 ac_cv_prog_CXXCPP="$CXXCPP"
2558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2559 ac_cpp='$CPP $CPPFLAGS'
2560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2562 cross_compiling=$ac_cv_prog_cc_cross
2565 CXXCPP="$ac_cv_prog_CXXCPP"
2566 echo "$ac_t""$CXXCPP" 1>&6
2569 # Save cache, so that ltconfig can load it
2570 cat > confcache <<\EOF
2571 # This file is a shell script that caches the results of configure
2572 # tests run on this system so they can be shared between configure
2573 # scripts and configure runs. It is not useful on other systems.
2574 # If it contains results you don't want to keep, you may remove or edit it.
2576 # By default, configure uses ./config.cache as the cache file,
2577 # creating it if it does not exist already. You can give configure
2578 # the --cache-file=FILE option to use a different cache file; that is
2579 # what configure does when it calls configure scripts in
2580 # subdirectories, so they share the cache.
2581 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2582 # config.status only pays attention to the cache file if you give it the
2583 # --recheck option to rerun configure.
2586 # The following way of writing the cache mishandles newlines in values,
2587 # but we know of no workaround that is simple, portable, and efficient.
2588 # So, don't put newlines in cache variables' values.
2589 # Ultrix sh set writes to stderr and can't be redirected directly,
2590 # and sets the high bit in the cache file unless we assign to the vars.
2592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2594 # `set' does not quote correctly, so add quotes (double-quote substitution
2595 # turns \\\\ into \\, and sed turns \\ into \).
2597 -e "s/'/'\\\\''/g" \
2598 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2601 # `set' quotes correctly as required by POSIX, so do not add quotes.
2602 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2605 if cmp -s $cache_file confcache; then
2608 if test -w $cache_file; then
2609 echo "updating cache $cache_file"
2610 cat confcache > $cache_file
2612 echo "not updating unwritable cache $cache_file"
2618 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2619 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2620 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2621 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2622 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2623 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2624 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2625 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2626 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2627 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2629 # Reload cache, that may have been modified by ltconfig
2630 if test -r "$cache_file"; then
2631 echo "loading cache $cache_file"
2634 echo "creating cache $cache_file"
2639 # This can be used to rebuild libtool when needed
2640 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2642 # Always use our own libtool.
2643 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2645 # Redirect the config.log output again, so that the ltconfig log is not
2646 # clobbered by the next message.
2647 exec 5>>./config.log
2651 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2653 lt_save_CFLAGS="$CFLAGS"
2654 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2655 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2656 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2657 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2658 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2659 deplibs_check_method="$deplibs_check_method" \
2660 file_magic_cmd="$file_magic_cmd" \
2661 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2662 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2663 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2665 CFLAGS="$lt_save_CFLAGS"
2667 # Redirect the config.log output again, so that the ltconfig log is not
2668 # clobbered by the next message.
2669 exec 5>>./config.log
2679 # Check for c++ or library specific bits that don't require linking.
2680 #GLIBCPP_CHECK_COMPILER_VERSION
2681 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2682 echo "configure:2683: checking for GNU make" >&5
2683 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2684 echo $ac_n "(cached) $ac_c" 1>&6
2686 _cv_gnu_make_command='' ;
2687 for a in "${MAKE-make}" make gmake gnumake ; do
2688 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2690 _cv_gnu_make_command=$a ;
2697 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2698 if test "x$_cv_gnu_make_command" != "x" ; then
2706 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2707 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2708 echo "configure:2709: checking how to run the C preprocessor" >&5
2709 # On Suns, sometimes $CPP names a directory.
2710 if test -n "$CPP" && test -d "$CPP"; then
2713 if test -z "$CPP"; then
2714 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2715 echo $ac_n "(cached) $ac_c" 1>&6
2717 # This must be in double quotes, not single quotes, because CPP may get
2718 # substituted into the Makefile and "${CC-cc}" will confuse make.
2720 # On the NeXT, cc -E runs the code through the compiler's parser,
2721 # not just through cpp.
2722 cat > conftest.$ac_ext <<EOF
2723 #line 2724 "configure"
2724 #include "confdefs.h"
2728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2729 { (eval echo configure:2730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2731 if test -z "$ac_err"; then
2735 echo "configure: failed program was:" >&5
2736 cat conftest.$ac_ext >&5
2738 CPP="${CC-cc} -E -traditional-cpp"
2739 cat > conftest.$ac_ext <<EOF
2740 #line 2741 "configure"
2741 #include "confdefs.h"
2745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2746 { (eval echo configure:2747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2748 if test -z "$ac_err"; then
2752 echo "configure: failed program was:" >&5
2753 cat conftest.$ac_ext >&5
2755 CPP="${CC-cc} -nologo -E"
2756 cat > conftest.$ac_ext <<EOF
2757 #line 2758 "configure"
2758 #include "confdefs.h"
2762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2763 { (eval echo configure:2764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2765 if test -z "$ac_err"; then
2769 echo "configure: failed program was:" >&5
2770 cat conftest.$ac_ext >&5
2779 ac_cv_prog_CPP="$CPP"
2781 CPP="$ac_cv_prog_CPP"
2783 ac_cv_prog_CPP="$CPP"
2785 echo "$ac_t""$CPP" 1>&6
2788 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2789 echo "configure:2790: checking for cstdio to use" >&5
2790 # Check whether --enable-cstdio or --disable-cstdio was given.
2791 if test "${enable_cstdio+set}" = set; then
2792 enableval="$enable_cstdio"
2793 if test x$enable_cstdio = xno; then
2801 enable_cstdio_flag=$enable_cstdio
2803 case x${enable_cstdio_flag} in
2805 CSTDIO_H=config/io/c_io_libio.h
2806 BASIC_FILE_H=config/io/basic_file_libio.h
2807 BASIC_FILE_CC=config/io/basic_file_libio.cc
2808 echo "$ac_t""libio" 1>&6
2810 # see if we are on a system with libio native (ie, linux)
2811 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2812 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2813 echo "configure:2814: checking for libio.h" >&5
2814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2815 echo $ac_n "(cached) $ac_c" 1>&6
2817 cat > conftest.$ac_ext <<EOF
2818 #line 2819 "configure"
2819 #include "confdefs.h"
2822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2823 { (eval echo configure:2824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2825 if test -z "$ac_err"; then
2827 eval "ac_cv_header_$ac_safe=yes"
2830 echo "configure: failed program was:" >&5
2831 cat conftest.$ac_ext >&5
2833 eval "ac_cv_header_$ac_safe=no"
2837 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2838 echo "$ac_t""yes" 1>&6
2841 echo "$ac_t""no" 1>&6
2846 # Need to check and see what version of glibc is being used. If
2847 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2848 # compile most of libio for linux systems.
2849 if test x$has_libio = x"yes"; then
2852 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2853 echo "configure:2854: checking for glibc version >= 2.2" >&5
2854 cat > conftest.$ac_ext <<EOF
2855 #line 2856 "configure"
2856 #include "confdefs.h"
2858 #include <features.h>
2859 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2865 egrep "ok" >/dev/null 2>&1; then
2867 glibc_satisfactory=yes
2870 glibc_satisfactory=no
2874 echo "$ac_t""$glibc_satisfactory" 1>&6
2878 # XXX at the moment, admit defeat and force the recompilation
2879 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2880 glibc_satisfactory=no
2882 if test x$glibc_satisfactory = x"yes"; then
2887 # bkoz XXX need to add checks to enable this
2888 # pme XXX here's a first pass at such a check
2889 if test x$enable_c_mbchar != xno; then
2897 # Using libio, but <libio.h> doesn't exist on the target system. . .
2899 # bkoz XXX need to add checks to enable this
2900 # pme XXX here's a first pass at such a check
2901 if test x$enable_c_mbchar != xno; then
2908 xstdio | x | xno | xnone | xyes)
2910 CSTDIO_H=config/io/c_io_stdio.h
2911 BASIC_FILE_H=config/io/basic_file_stdio.h
2912 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2913 echo "$ac_t""stdio" 1>&6
2915 # We're not using stdio.
2920 echo "$enable_cstdio is an unknown io package" 1>&2
2928 # 2000-08-04 bkoz hack
2929 CCODECVT_C=config/io/c_io_libio_codecvt.c
2931 # 2000-08-04 bkoz hack
2935 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2936 GLIBCPP_BUILD_LIBIO_TRUE=
2937 GLIBCPP_BUILD_LIBIO_FALSE='#'
2939 GLIBCPP_BUILD_LIBIO_TRUE='#'
2940 GLIBCPP_BUILD_LIBIO_FALSE=
2944 if test "$need_libio" = yes; then
2945 GLIBCPP_NEED_LIBIO_TRUE=
2946 GLIBCPP_NEED_LIBIO_FALSE='#'
2948 GLIBCPP_NEED_LIBIO_TRUE='#'
2949 GLIBCPP_NEED_LIBIO_FALSE=
2953 if test "$need_wlibio" = yes; then
2954 GLIBCPP_NEED_WLIBIO_TRUE=
2955 GLIBCPP_NEED_WLIBIO_FALSE='#'
2957 GLIBCPP_NEED_WLIBIO_TRUE='#'
2958 GLIBCPP_NEED_WLIBIO_FALSE=
2960 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2961 libio_la=../libio/libio.la
2968 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2969 echo "configure:2970: checking for clocale to use" >&5
2970 # Check whether --enable-clocale or --disable-clocale was given.
2971 if test "${enable_clocale+set}" = set; then
2972 enableval="$enable_clocale"
2973 if test x$enable_clocale = xno; then
2981 enable_clocale_flag=$enable_clocale
2983 if test x$enable_clocale_flag = xno; then
2984 case x${target_os} in
2986 cat > conftest.$ac_ext <<EOF
2987 #line 2988 "configure"
2988 #include "confdefs.h"
2990 #include <features.h>
2991 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2997 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2999 enable_clocale_flag=gnu
3002 enable_clocale_flag=generic
3007 # Test for bugs early in glibc-2.2.x series
3008 if test x$enable_clocale_flag = xgnu; then
3009 if test "$cross_compiling" = yes; then
3010 enable_clocale_flag=generic
3012 cat > conftest.$ac_ext <<EOF
3013 #line 3014 "configure"
3014 #include "confdefs.h"
3016 #define _GNU_SOURCE 1
3019 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3020 extern __typeof(newlocale) __newlocale;
3021 extern __typeof(duplocale) __duplocale;
3022 extern __typeof(strcoll_l) __strcoll_l;
3026 const char __one[] = "Äuglein Augmen";
3027 const char __two[] = "Äuglein";
3032 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3033 loc_dup = __duplocale(loc);
3034 i = __strcoll_l(__one, __two, loc);
3035 j = __strcoll_l(__one, __two, loc_dup);
3040 if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3042 enable_clocale_flag=gnu
3044 echo "configure: failed program was:" >&5
3045 cat conftest.$ac_ext >&5
3047 enable_clocale_flag=generic
3054 # ... at some point put __strxfrm_l tests in as well.
3057 enable_clocale_flag=generic
3062 # Check whether --enable-nls or --disable-nls was given.
3063 if test "${enable_nls+set}" = set; then
3064 enableval="$enable_nls"
3072 case x${enable_clocale_flag} in
3074 echo "$ac_t""generic" 1>&6
3076 CLOCALE_H=config/locale/generic/c_locale.h
3077 CLOCALE_CC=config/locale/generic/c_locale.cc
3078 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3079 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3080 CCOLLATE_CC=config/locale/generic/collate_members.cc
3081 CCTYPE_CC=config/locale/generic/ctype_members.cc
3082 CMESSAGES_H=config/locale/generic/messages_members.h
3083 CMESSAGES_CC=config/locale/generic/messages_members.cc
3084 CMONEY_CC=config/locale/generic/monetary_members.cc
3085 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3086 CTIME_CC=config/locale/generic/time_members.cc
3087 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3090 echo "$ac_t""gnu" 1>&6
3092 # Declare intention to use gettext, and add support for specific
3094 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3097 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3098 # Extract the first word of "msgfmt", so it can be a program name with args.
3099 set dummy msgfmt; ac_word=$2
3100 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3101 echo "configure:3102: checking for $ac_word" >&5
3102 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3103 echo $ac_n "(cached) $ac_c" 1>&6
3105 if test -n "$check_msgfmt"; then
3106 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3108 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3110 for ac_dir in $ac_dummy; do
3111 test -z "$ac_dir" && ac_dir=.
3112 if test -f $ac_dir/$ac_word; then
3113 ac_cv_prog_check_msgfmt="yes"
3118 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3121 check_msgfmt="$ac_cv_prog_check_msgfmt"
3122 if test -n "$check_msgfmt"; then
3123 echo "$ac_t""$check_msgfmt" 1>&6
3125 echo "$ac_t""no" 1>&6
3128 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3131 # Export the build objects.
3132 for ling in $ALL_LINGUAS; do \
3133 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3134 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3139 CLOCALE_H=config/locale/gnu/c_locale.h
3140 CLOCALE_CC=config/locale/gnu/c_locale.cc
3141 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3142 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3143 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3144 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3145 CMESSAGES_H=config/locale/gnu/messages_members.h
3146 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3147 CMONEY_CC=config/locale/gnu/monetary_members.cc
3148 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3149 CTIME_CC=config/locale/gnu/time_members.cc
3150 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3153 echo "$ac_t""generic" 1>&6
3155 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3156 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3157 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3158 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3159 CCOLLATE_CC=config/locale/generic/collate_members.cc
3160 CCTYPE_CC=config/locale/generic/ctype_members.cc
3161 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3162 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3163 CMONEY_CC=config/locale/generic/monetary_members.cc
3164 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3165 CTIME_CC=config/locale/generic/time_members.cc
3166 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3169 echo "$enable_clocale is an unknown locale package" 1>&2
3174 # This is where the testsuite looks for locale catalogs, using the
3175 # -DLOCALEDIR define during testsuite compilation.
3176 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3193 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3194 echo "configure:3195: checking for c header strategy to use" >&5
3195 # Check whether --enable-cheaders or --disable-cheaders was given.
3196 if test "${enable_cheaders+set}" = set; then
3197 enableval="$enable_cheaders"
3199 case "$enableval" in
3204 enable_cheaders=c_std
3206 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3210 enable_cheaders=c_std
3213 echo "$ac_t""$enable_cheaders" 1>&6
3215 case "$enable_cheaders" in
3217 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3220 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3227 if test "$enable_cheaders" = c; then
3228 GLIBCPP_C_HEADERS_C_TRUE=
3229 GLIBCPP_C_HEADERS_C_FALSE='#'
3231 GLIBCPP_C_HEADERS_C_TRUE='#'
3232 GLIBCPP_C_HEADERS_C_FALSE=
3236 if test "$enable_cheaders" = c_std; then
3237 GLIBCPP_C_HEADERS_C_STD_TRUE=
3238 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3240 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3241 GLIBCPP_C_HEADERS_C_STD_FALSE=
3245 if test "$c_compatibility" = yes; then
3246 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3247 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3249 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3250 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3253 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3254 if test "${enable_c_mbchar+set}" = set; then
3255 enableval="$enable_c_mbchar"
3256 case "$enableval" in
3257 yes) enable_c_mbchar=yes ;;
3258 no) enable_c_mbchar=no ;;
3259 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3266 # Check whether --enable-c99 or --disable-c99 was given.
3267 if test "${enable_c99+set}" = set; then
3268 enableval="$enable_c99"
3269 case "$enableval" in
3270 yes) enable_c99=yes ;;
3271 no) enable_c99=no ;;
3272 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3281 ac_cpp='$CXXCPP $CPPFLAGS'
3282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3284 cross_compiling=$ac_cv_prog_cxx_cross
3287 # Check for the existence of <math.h> functions used if C99 is enabled.
3289 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3290 echo "configure:3291: checking for ISO C99 support in <math.h>" >&5
3291 cat > conftest.$ac_ext <<EOF
3292 #line 3293 "configure"
3293 #include "confdefs.h"
3299 if { (eval echo configure:3300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3302 echo "configure: failed program was:" >&5
3303 cat conftest.$ac_ext >&5
3308 cat > conftest.$ac_ext <<EOF
3309 #line 3310 "configure"
3310 #include "confdefs.h"
3316 if { (eval echo configure:3317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3319 echo "configure: failed program was:" >&5
3320 cat conftest.$ac_ext >&5
3325 cat > conftest.$ac_ext <<EOF
3326 #line 3327 "configure"
3327 #include "confdefs.h"
3333 if { (eval echo configure:3334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3336 echo "configure: failed program was:" >&5
3337 cat conftest.$ac_ext >&5
3342 cat > conftest.$ac_ext <<EOF
3343 #line 3344 "configure"
3344 #include "confdefs.h"
3350 if { (eval echo configure:3351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3353 echo "configure: failed program was:" >&5
3354 cat conftest.$ac_ext >&5
3359 cat > conftest.$ac_ext <<EOF
3360 #line 3361 "configure"
3361 #include "confdefs.h"
3367 if { (eval echo configure:3368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3370 echo "configure: failed program was:" >&5
3371 cat conftest.$ac_ext >&5
3376 cat > conftest.$ac_ext <<EOF
3377 #line 3378 "configure"
3378 #include "confdefs.h"
3384 if { (eval echo configure:3385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3387 echo "configure: failed program was:" >&5
3388 cat conftest.$ac_ext >&5
3393 cat > conftest.$ac_ext <<EOF
3394 #line 3395 "configure"
3395 #include "confdefs.h"
3401 if { (eval echo configure:3402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3404 echo "configure: failed program was:" >&5
3405 cat conftest.$ac_ext >&5
3410 cat > conftest.$ac_ext <<EOF
3411 #line 3412 "configure"
3412 #include "confdefs.h"
3415 isgreaterequal(0.0,0.0);
3418 if { (eval echo configure:3419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3421 echo "configure: failed program was:" >&5
3422 cat conftest.$ac_ext >&5
3427 cat > conftest.$ac_ext <<EOF
3428 #line 3429 "configure"
3429 #include "confdefs.h"
3435 if { (eval echo configure:3436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3438 echo "configure: failed program was:" >&5
3439 cat conftest.$ac_ext >&5
3444 cat > conftest.$ac_ext <<EOF
3445 #line 3446 "configure"
3446 #include "confdefs.h"
3449 islessequal(0.0,0.0);
3452 if { (eval echo configure:3453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3455 echo "configure: failed program was:" >&5
3456 cat conftest.$ac_ext >&5
3461 cat > conftest.$ac_ext <<EOF
3462 #line 3463 "configure"
3463 #include "confdefs.h"
3466 islessgreater(0.0,0.0);
3469 if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3472 echo "configure: failed program was:" >&5
3473 cat conftest.$ac_ext >&5
3478 cat > conftest.$ac_ext <<EOF
3479 #line 3480 "configure"
3480 #include "confdefs.h"
3483 isunordered(0.0,0.0);
3486 if { (eval echo configure:3487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3489 echo "configure: failed program was:" >&5
3490 cat conftest.$ac_ext >&5
3495 echo "$ac_t""$ac_c99_math" 1>&6
3497 # Check for the existence in <stdio.h> of vscanf, et. al.
3499 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3500 echo "configure:3501: checking for ISO C99 support in <stdio.h>" >&5
3501 cat > conftest.$ac_ext <<EOF
3502 #line 3503 "configure"
3503 #include "confdefs.h"
3506 snprintf("12", 0, "%i");
3509 if { (eval echo configure:3510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3512 echo "configure: failed program was:" >&5
3513 cat conftest.$ac_ext >&5
3518 cat > conftest.$ac_ext <<EOF
3519 #line 3520 "configure"
3520 #include "confdefs.h"
3523 void foo(char* fmt, ...)
3524 {va_list args; va_start(args, fmt);
3525 vfscanf(stderr, "%i", args);}
3530 if { (eval echo configure:3531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3533 echo "configure: failed program was:" >&5
3534 cat conftest.$ac_ext >&5
3539 cat > conftest.$ac_ext <<EOF
3540 #line 3541 "configure"
3541 #include "confdefs.h"
3544 void foo(char* fmt, ...)
3545 {va_list args; va_start(args, fmt);
3546 vscanf("%i", args);}
3551 if { (eval echo configure:3552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3554 echo "configure: failed program was:" >&5
3555 cat conftest.$ac_ext >&5
3560 cat > conftest.$ac_ext <<EOF
3561 #line 3562 "configure"
3562 #include "confdefs.h"
3565 void foo(char* fmt, ...)
3566 {va_list args; va_start(args, fmt);
3567 vsnprintf(fmt, 0, "%i", args);}
3572 if { (eval echo configure:3573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3575 echo "configure: failed program was:" >&5
3576 cat conftest.$ac_ext >&5
3581 cat > conftest.$ac_ext <<EOF
3582 #line 3583 "configure"
3583 #include "confdefs.h"
3586 void foo(char* fmt, ...)
3587 {va_list args; va_start(args, fmt);
3588 vsscanf(fmt, "%i", args);}
3593 if { (eval echo configure:3594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3596 echo "configure: failed program was:" >&5
3597 cat conftest.$ac_ext >&5
3602 echo "$ac_t""$ac_c99_stdio" 1>&6
3604 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3606 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3607 echo "configure:3608: checking for lldiv_t declaration" >&5
3608 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3609 echo $ac_n "(cached) $ac_c" 1>&6
3612 cat > conftest.$ac_ext <<EOF
3613 #line 3614 "configure"
3614 #include "confdefs.h"
3620 if { (eval echo configure:3621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3624 echo "configure: failed program was:" >&5
3625 cat conftest.$ac_ext >&5
3633 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3635 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3636 echo "configure:3637: checking for ISO C99 support in <stdlib.h>" >&5
3637 cat > conftest.$ac_ext <<EOF
3638 #line 3639 "configure"
3639 #include "confdefs.h"
3642 char* tmp; strtof("gnu", &tmp);
3645 if { (eval echo configure:3646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3648 echo "configure: failed program was:" >&5
3649 cat conftest.$ac_ext >&5
3654 cat > conftest.$ac_ext <<EOF
3655 #line 3656 "configure"
3656 #include "confdefs.h"
3659 char* tmp; strtold("gnu", &tmp);
3662 if { (eval echo configure:3663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3665 echo "configure: failed program was:" >&5
3666 cat conftest.$ac_ext >&5
3671 cat > conftest.$ac_ext <<EOF
3672 #line 3673 "configure"
3673 #include "confdefs.h"
3679 if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3682 echo "configure: failed program was:" >&5
3683 cat conftest.$ac_ext >&5
3688 cat > conftest.$ac_ext <<EOF
3689 #line 3690 "configure"
3690 #include "confdefs.h"
3696 if { (eval echo configure:3697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3699 echo "configure: failed program was:" >&5
3700 cat conftest.$ac_ext >&5
3705 cat > conftest.$ac_ext <<EOF
3706 #line 3707 "configure"
3707 #include "confdefs.h"
3713 if { (eval echo configure:3714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3716 echo "configure: failed program was:" >&5
3717 cat conftest.$ac_ext >&5
3722 cat > conftest.$ac_ext <<EOF
3723 #line 3724 "configure"
3724 #include "confdefs.h"
3730 if { (eval echo configure:3731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3733 echo "configure: failed program was:" >&5
3734 cat conftest.$ac_ext >&5
3739 if test x"$ac_c99_lldiv_t" = x"no"; then
3742 echo "$ac_t""$ac_c99_stdlib" 1>&6
3744 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3745 # XXX the wchar.h checks should be rolled into the general C99 bits.
3747 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3748 echo "configure:3749: checking for additional ISO C99 support in <wchar.h>" >&5
3749 cat > conftest.$ac_ext <<EOF
3750 #line 3751 "configure"
3751 #include "confdefs.h"
3754 wcstold(L"10.0", NULL);
3757 if { (eval echo configure:3758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3760 echo "configure: failed program was:" >&5
3761 cat conftest.$ac_ext >&5
3766 cat > conftest.$ac_ext <<EOF
3767 #line 3768 "configure"
3768 #include "confdefs.h"
3771 wcstoll(L"10", NULL, 10);
3774 if { (eval echo configure:3775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3777 echo "configure: failed program was:" >&5
3778 cat conftest.$ac_ext >&5
3783 cat > conftest.$ac_ext <<EOF
3784 #line 3785 "configure"
3785 #include "confdefs.h"
3788 wcstoull(L"10", NULL, 10);
3791 if { (eval echo configure:3792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3794 echo "configure: failed program was:" >&5
3795 cat conftest.$ac_ext >&5
3800 echo "$ac_t""$ac_c99_wchar" 1>&6
3802 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3803 echo "configure:3804: checking for enabled ISO C99 support" >&5
3804 if test x"$ac_c99_math" = x"no" ||
3805 test x"$ac_c99_stdio" = x"no" ||
3806 test x"$ac_c99_stdlib" = x"no" ||
3807 test x"$ac_c99_wchar" = x"no"; then
3810 echo "$ac_t""$enable_c99" 1>&6
3812 # Option parsed, now set things appropriately
3813 if test x"$enable_c99" = x"yes"; then
3814 cat >> confdefs.h <<\EOF
3815 #define _GLIBCPP_USE_C99 1
3821 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3822 ac_cpp='$CPP $CPPFLAGS'
3823 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3824 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3825 cross_compiling=$ac_cv_prog_cc_cross
3829 # Check whether --enable-long-long or --disable-long-long was given.
3830 if test "${enable_long_long+set}" = set; then
3831 enableval="$enable_long_long"
3832 case "$enableval" in
3833 yes) enable_long_long=yes ;;
3834 no) enable_long_long=no ;;
3835 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3838 enable_long_long=yes
3843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3844 ac_cpp='$CXXCPP $CPPFLAGS'
3845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3847 cross_compiling=$ac_cv_prog_cxx_cross
3850 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3851 echo "configure:3852: checking for enabled long long I/O support" >&5
3852 # iostreams require strtoll, strtoull to compile
3853 cat > conftest.$ac_ext <<EOF
3854 #line 3855 "configure"
3855 #include "confdefs.h"
3858 char* tmp; strtoll("gnu", &tmp, 10);
3861 if { (eval echo configure:3862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3864 echo "configure: failed program was:" >&5
3865 cat conftest.$ac_ext >&5
3870 cat > conftest.$ac_ext <<EOF
3871 #line 3872 "configure"
3872 #include "confdefs.h"
3875 char* tmp; strtoull("gnu", &tmp, 10);
3878 if { (eval echo configure:3879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3881 echo "configure: failed program was:" >&5
3882 cat conftest.$ac_ext >&5
3888 # Option parsed, now set things appropriately
3889 if test x"$enable_long_long" = xyes; then
3890 cat >> confdefs.h <<\EOF
3891 #define _GLIBCPP_USE_LONG_LONG 1
3895 echo "$ac_t""$enable_long_long" 1>&6
3898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3899 ac_cpp='$CPP $CPPFLAGS'
3900 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3901 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3902 cross_compiling=$ac_cv_prog_cc_cross
3906 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3907 echo "configure:3908: checking for thread model used by GCC" >&5
3908 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3909 echo "$ac_t""$target_thread_file" 1>&6
3911 if test $target_thread_file != single; then
3912 cat >> confdefs.h <<\EOF
3913 #define HAVE_GTHR_DEFAULT 1
3916 cat >> confdefs.h <<\EOF
3917 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3922 glibcpp_thread_h=gthr-$target_thread_file.h
3926 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3927 echo "configure:3928: checking for exception model to use" >&5
3930 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3931 ac_cpp='$CXXCPP $CPPFLAGS'
3932 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3933 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3934 cross_compiling=$ac_cv_prog_cxx_cross
3936 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3937 if test "${enable_sjlj_exceptions+set}" = set; then
3938 enableval="$enable_sjlj_exceptions"
3941 cat > conftest.$ac_ext << EOF
3942 #line 3943 "configure"
3951 old_CXXFLAGS="$CXXFLAGS"
3953 if { (eval echo configure:3954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3954 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3955 enable_sjlj_exceptions=yes
3956 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3957 enable_sjlj_exceptions=no
3960 CXXFLAGS="$old_CXXFLAGS"
3964 if test x$enable_sjlj_exceptions = xyes; then
3965 cat >> confdefs.h <<\EOF
3966 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3969 ac_exception_model_name=sjlj
3970 elif test x$enable_sjlj_exceptions = xno; then
3971 ac_exception_model_name="call frame"
3973 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3977 ac_cpp='$CPP $CPPFLAGS'
3978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3980 cross_compiling=$ac_cv_prog_cc_cross
3982 echo "$ac_t""$ac_exception_model_name" 1>&6
3985 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
3986 echo "configure:3987: checking for use of libunwind" >&5
3987 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3988 if test "${enable_libunwind_exceptions+set}" = set; then
3989 enableval="$enable_libunwind_exceptions"
3990 use_libunwind_exceptions=$enableval
3992 use_libunwind_exceptions=no
3995 echo "$ac_t""$use_libunwind_exceptions" 1>&6
3996 if test x"$use_libunwind_exceptions" = xyes; then
3997 LIBUNWIND_FLAG="-lunwind"
4003 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4004 if test "${enable_concept_checks+set}" = set; then
4005 enableval="$enable_concept_checks"
4006 case "$enableval" in
4007 yes) enable_concept_checks=yes ;;
4008 no) enable_concept_checks=no ;;
4009 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4012 enable_concept_checks=no
4014 if test x"$enable_concept_checks" = xyes; then
4015 cat >> confdefs.h <<\EOF
4016 #define _GLIBCPP_CONCEPT_CHECKS 1
4021 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4022 if test "${enable_cxx_flags+set}" = set; then
4023 enableval="$enable_cxx_flags"
4024 enable_cxx_flags='none'
4028 case "x$enable_cxx_flags" in
4030 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
4032 enable_cxx_flags='' ;;
4034 enable_cxx_flags="$enableval" ;;
4037 if test -n "$enable_cxx_flags"; then
4038 for f in $enable_cxx_flags; do
4042 *) # and we're trying to pass /what/ exactly?
4043 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
4047 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4050 # Check whether --enable-debug or --disable-debug was given.
4051 if test "${enable_debug+set}" = set; then
4052 enableval="$enable_debug"
4053 case "${enableval}" in
4054 yes) enable_debug=yes ;;
4055 no) enable_debug=no ;;
4056 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
4061 echo $ac_n "checking for additional debug build""... $ac_c" 1>&6
4062 echo "configure:4063: checking for additional debug build" >&5
4063 echo "$ac_t""$enable_debug" 1>&6
4066 if test "$enable_debug" = yes; then
4067 GLIBCPP_BUILD_DEBUG_TRUE=
4068 GLIBCPP_BUILD_DEBUG_FALSE='#'
4070 GLIBCPP_BUILD_DEBUG_TRUE='#'
4071 GLIBCPP_BUILD_DEBUG_FALSE=
4074 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4075 if test "${enable_debug_flags+set}" = set; then
4076 enableval="$enable_debug_flags"
4077 case "${enableval}" in
4079 -*) enable_debug_flags="${enableval}" ;;
4080 *) { echo "configure: error: Unknown argument to extra debugging flags" 1>&2; exit 1; } ;;
4083 enable_debug_flags=none
4086 case x"$enable_debug" in
4088 case "$enable_debug_flags" in
4090 DEBUG_FLAGS="-g3 -O0";;
4092 DEBUG_FLAGS="${enableval}"
4101 echo $ac_n "checking for debug build flags""... $ac_c" 1>&6
4102 echo "configure:4103: checking for debug build flags" >&5
4103 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4106 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4107 for ac_hdr in string.h stdlib.h
4109 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4110 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4111 echo "configure:4112: checking for $ac_hdr" >&5
4112 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4113 echo $ac_n "(cached) $ac_c" 1>&6
4115 cat > conftest.$ac_ext <<EOF
4116 #line 4117 "configure"
4117 #include "confdefs.h"
4120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4121 { (eval echo configure:4122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4123 if test -z "$ac_err"; then
4125 eval "ac_cv_header_$ac_safe=yes"
4128 echo "configure: failed program was:" >&5
4129 cat conftest.$ac_ext >&5
4131 eval "ac_cv_header_$ac_safe=no"
4135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4136 echo "$ac_t""yes" 1>&6
4137 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4138 cat >> confdefs.h <<EOF
4139 #define $ac_tr_hdr 1
4143 echo "$ac_t""no" 1>&6
4148 # No surprises, no surprises...
4149 if test $ATOMICITYH = cpu/generic ; then
4150 echo "configure: warning: No native atomic operations are provided yet for this platform." 1>&2
4151 if test $target_thread_file = single; then
4152 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4153 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4155 echo "configure: warning: They will be faked using a mutex." 1>&2
4156 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4161 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4163 # We are being configured with some form of cross compiler.
4164 GLIBCPP_IS_CROSS_COMPILING=1
4166 # This lets us hard-code the functionality we know we'll have in the cross
4167 # target environment. "Let" is a sugar-coated word placed on an especially
4168 # dull and tedious hack, actually.
4170 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4171 # that involve linking, can't be used:
4172 # "cannot open sim-crt0.o"
4173 # "cannot open crt0.o"
4174 # etc. All this is because there currently exists no unified, consistent
4175 # way for top level CC information to be passed down to target directories:
4176 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4177 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4178 # crosses can be removed.
4180 # If Canadian cross, then don't pick up tools from the build directory.
4181 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4182 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4188 # Construct crosses by hand, eliminating bits that need ld...
4189 # GLIBCPP_CHECK_COMPILER_FEATURES
4190 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4191 # GLIBCPP_CHECK_MATH_SUPPORT
4195 os_include_dir="os/gnu-linux"
4196 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4197 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4198 fp.h locale.h float.h inttypes.h
4200 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4201 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4202 echo "configure:4203: checking for $ac_hdr" >&5
4203 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4204 echo $ac_n "(cached) $ac_c" 1>&6
4206 cat > conftest.$ac_ext <<EOF
4207 #line 4208 "configure"
4208 #include "confdefs.h"
4211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4212 { (eval echo configure:4213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4214 if test -z "$ac_err"; then
4216 eval "ac_cv_header_$ac_safe=yes"
4219 echo "configure: failed program was:" >&5
4220 cat conftest.$ac_ext >&5
4222 eval "ac_cv_header_$ac_safe=no"
4226 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4227 echo "$ac_t""yes" 1>&6
4228 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4229 cat >> confdefs.h <<EOF
4230 #define $ac_tr_hdr 1
4234 echo "$ac_t""no" 1>&6
4238 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4241 # If we're not using GNU ld, then there's no point in even trying these
4242 # tests. Check for that first. We should have already tested for gld
4243 # by now (in libtool), but require it now just to be safe...
4244 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4245 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4248 # The name set by libtool depends on the version of libtool. Shame on us
4249 # for depending on an impl detail, but c'est la vie. Older versions used
4250 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4251 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4252 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4253 # set (hence we're using an older libtool), then set it.
4254 if test x${with_gnu_ld+set} != xset; then
4255 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4256 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4259 with_gnu_ld=$ac_cv_prog_gnu_ld
4263 # Start by getting the version number. I think the libtool test already
4264 # does some of this, but throws away the result.
4266 ldver=`$LD --version 2>/dev/null | head -1 | \
4267 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4269 glibcpp_gnu_ld_version=`echo $ldver | \
4270 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4272 # Set --gc-sections.
4273 if test "$with_gnu_ld" = "notbroken"; then
4274 # GNU ld it is! Joy and bunny rabbits!
4276 # All these tests are for C++; save the language and the compiler flags.
4277 # Need to do this so that g++ won't try to link in libstdc++
4278 ac_test_CFLAGS="${CFLAGS+set}"
4279 ac_save_CFLAGS="$CFLAGS"
4280 CFLAGS='-x c++ -Wl,--gc-sections'
4282 # Check for -Wl,--gc-sections
4283 # XXX This test is broken at the moment, as symbols required for
4284 # linking are now in libsupc++ (not built yet.....). In addition,
4285 # this test has cored on solaris in the past. In addition,
4286 # --gc-sections doesn't really work at the moment (keeps on discarding
4287 # used sections, first .eh_frame and now some of the glibc sections for
4288 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4289 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4290 echo "configure:4291: checking for ld that supports -Wl,--gc-sections" >&5
4291 if test "$cross_compiling" = yes; then
4292 ac_sectionLDflags=yes
4294 cat > conftest.$ac_ext <<EOF
4295 #line 4296 "configure"
4296 #include "confdefs.h"
4306 if { (eval echo configure:4307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4308 ac_sectionLDflags=yes
4310 echo "configure: failed program was:" >&5
4311 cat conftest.$ac_ext >&5
4313 ac_sectionLDflags=no
4318 if test "$ac_test_CFLAGS" = set; then
4319 CFLAGS="$ac_save_CFLAGS"
4321 # this is the suspicious part
4324 if test "$ac_sectionLDflags" = "yes"; then
4325 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4327 echo "$ac_t""$ac_sectionLDflags" 1>&6
4330 # Set linker optimization flags.
4331 if test x"$with_gnu_ld" = x"yes"; then
4332 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4339 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4340 echo "configure:4341: checking for main in -lm" >&5
4341 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4342 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4343 echo $ac_n "(cached) $ac_c" 1>&6
4345 ac_save_LIBS="$LIBS"
4347 cat > conftest.$ac_ext <<EOF
4348 #line 4349 "configure"
4349 #include "confdefs.h"
4355 if { (eval echo configure:4356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4357 eval "ac_cv_lib_$ac_lib_var=yes"
4359 echo "configure: failed program was:" >&5
4360 cat conftest.$ac_ext >&5
4362 eval "ac_cv_lib_$ac_lib_var=no"
4365 LIBS="$ac_save_LIBS"
4368 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4369 echo "$ac_t""yes" 1>&6
4370 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4371 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4372 cat >> confdefs.h <<EOF
4373 #define $ac_tr_lib 1
4379 echo "$ac_t""no" 1>&6
4382 for ac_func in nan copysignf
4384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4385 echo "configure:4386: checking for $ac_func" >&5
4386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4387 echo $ac_n "(cached) $ac_c" 1>&6
4389 cat > conftest.$ac_ext <<EOF
4390 #line 4391 "configure"
4391 #include "confdefs.h"
4392 /* System header to define __stub macros and hopefully few prototypes,
4393 which can conflict with char $ac_func(); below. */
4395 /* Override any gcc2 internal prototype to avoid an error. */
4396 /* We use char because int might match the return type of a gcc2
4397 builtin and then its argument prototype would still apply. */
4402 /* The GNU C library defines this for functions which it implements
4403 to always fail with ENOSYS. Some functions are actually named
4404 something starting with __ and the normal name is an alias. */
4405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4413 if { (eval echo configure:4414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4415 eval "ac_cv_func_$ac_func=yes"
4417 echo "configure: failed program was:" >&5
4418 cat conftest.$ac_ext >&5
4420 eval "ac_cv_func_$ac_func=no"
4425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4426 echo "$ac_t""yes" 1>&6
4427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4428 cat >> confdefs.h <<EOF
4429 #define $ac_tr_func 1
4433 echo "$ac_t""no" 1>&6
4434 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4439 for ac_func in __signbit
4441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4442 echo "configure:4443: checking for $ac_func" >&5
4443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4444 echo $ac_n "(cached) $ac_c" 1>&6
4446 cat > conftest.$ac_ext <<EOF
4447 #line 4448 "configure"
4448 #include "confdefs.h"
4449 /* System header to define __stub macros and hopefully few prototypes,
4450 which can conflict with char $ac_func(); below. */
4452 /* Override any gcc2 internal prototype to avoid an error. */
4453 /* We use char because int might match the return type of a gcc2
4454 builtin and then its argument prototype would still apply. */
4459 /* The GNU C library defines this for functions which it implements
4460 to always fail with ENOSYS. Some functions are actually named
4461 something starting with __ and the normal name is an alias. */
4462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4470 if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4472 eval "ac_cv_func_$ac_func=yes"
4474 echo "configure: failed program was:" >&5
4475 cat conftest.$ac_ext >&5
4477 eval "ac_cv_func_$ac_func=no"
4482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4483 echo "$ac_t""yes" 1>&6
4484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4485 cat >> confdefs.h <<EOF
4486 #define $ac_tr_func 1
4490 echo "$ac_t""no" 1>&6
4491 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4495 for ac_func in __signbitf
4497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4498 echo "configure:4499: checking for $ac_func" >&5
4499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4500 echo $ac_n "(cached) $ac_c" 1>&6
4502 cat > conftest.$ac_ext <<EOF
4503 #line 4504 "configure"
4504 #include "confdefs.h"
4505 /* System header to define __stub macros and hopefully few prototypes,
4506 which can conflict with char $ac_func(); below. */
4508 /* Override any gcc2 internal prototype to avoid an error. */
4509 /* We use char because int might match the return type of a gcc2
4510 builtin and then its argument prototype would still apply. */
4515 /* The GNU C library defines this for functions which it implements
4516 to always fail with ENOSYS. Some functions are actually named
4517 something starting with __ and the normal name is an alias. */
4518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4526 if { (eval echo configure:4527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4528 eval "ac_cv_func_$ac_func=yes"
4530 echo "configure: failed program was:" >&5
4531 cat conftest.$ac_ext >&5
4533 eval "ac_cv_func_$ac_func=no"
4538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4539 echo "$ac_t""yes" 1>&6
4540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4541 cat >> confdefs.h <<EOF
4542 #define $ac_tr_func 1
4546 echo "$ac_t""no" 1>&6
4547 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4552 if test x$ac_cv_func_copysignl = x"yes"; then
4553 for ac_func in __signbitl
4555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4556 echo "configure:4557: checking for $ac_func" >&5
4557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4558 echo $ac_n "(cached) $ac_c" 1>&6
4560 cat > conftest.$ac_ext <<EOF
4561 #line 4562 "configure"
4562 #include "confdefs.h"
4563 /* System header to define __stub macros and hopefully few prototypes,
4564 which can conflict with char $ac_func(); below. */
4566 /* Override any gcc2 internal prototype to avoid an error. */
4567 /* We use char because int might match the return type of a gcc2
4568 builtin and then its argument prototype would still apply. */
4573 /* The GNU C library defines this for functions which it implements
4574 to always fail with ENOSYS. Some functions are actually named
4575 something starting with __ and the normal name is an alias. */
4576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4584 if { (eval echo configure:4585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4586 eval "ac_cv_func_$ac_func=yes"
4588 echo "configure: failed program was:" >&5
4589 cat conftest.$ac_ext >&5
4591 eval "ac_cv_func_$ac_func=no"
4596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4597 echo "$ac_t""yes" 1>&6
4598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4599 cat >> confdefs.h <<EOF
4600 #define $ac_tr_func 1
4604 echo "$ac_t""no" 1>&6
4605 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4611 if test -n "$LIBMATHOBJS"; then
4617 if test "$need_libmath" = yes; then
4618 GLIBCPP_BUILD_LIBMATH_TRUE=
4619 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4621 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4622 GLIBCPP_BUILD_LIBMATH_FALSE=
4627 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4628 echo "configure:4629: checking for mbstate_t" >&5
4629 cat > conftest.$ac_ext <<EOF
4630 #line 4631 "configure"
4631 #include "confdefs.h"
4634 mbstate_t teststate;
4637 if { (eval echo configure:4638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4641 echo "configure: failed program was:" >&5
4642 cat conftest.$ac_ext >&5
4647 echo "$ac_t""$have_mbstate_t" 1>&6
4648 if test x"$have_mbstate_t" = xyes; then
4649 cat >> confdefs.h <<\EOF
4650 #define HAVE_MBSTATE_T 1
4655 for ac_hdr in wchar.h
4657 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4658 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4659 echo "configure:4660: checking for $ac_hdr" >&5
4660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4661 echo $ac_n "(cached) $ac_c" 1>&6
4663 cat > conftest.$ac_ext <<EOF
4664 #line 4665 "configure"
4665 #include "confdefs.h"
4668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4669 { (eval echo configure:4670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4671 if test -z "$ac_err"; then
4673 eval "ac_cv_header_$ac_safe=yes"
4676 echo "configure: failed program was:" >&5
4677 cat conftest.$ac_ext >&5
4679 eval "ac_cv_header_$ac_safe=no"
4683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4684 echo "$ac_t""yes" 1>&6
4685 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4686 cat >> confdefs.h <<EOF
4687 #define $ac_tr_hdr 1
4691 echo "$ac_t""no" 1>&6
4696 for ac_hdr in wctype.h
4698 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4700 echo "configure:4701: checking for $ac_hdr" >&5
4701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4702 echo $ac_n "(cached) $ac_c" 1>&6
4704 cat > conftest.$ac_ext <<EOF
4705 #line 4706 "configure"
4706 #include "confdefs.h"
4709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4710 { (eval echo configure:4711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4712 if test -z "$ac_err"; then
4714 eval "ac_cv_header_$ac_safe=yes"
4717 echo "configure: failed program was:" >&5
4718 cat conftest.$ac_ext >&5
4720 eval "ac_cv_header_$ac_safe=no"
4724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4725 echo "$ac_t""yes" 1>&6
4726 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4727 cat >> confdefs.h <<EOF
4728 #define $ac_tr_hdr 1
4732 echo "$ac_t""no" 1>&6
4738 if test x"$ac_has_wchar_h" = xyes &&
4739 test x"$ac_has_wctype_h" = xyes &&
4740 test x"$enable_c_mbchar" != xno; then
4742 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4743 echo "configure:4744: checking for WCHAR_MIN and WCHAR_MAX" >&5
4744 cat > conftest.$ac_ext <<EOF
4745 #line 4746 "configure"
4746 #include "confdefs.h"
4749 int i = WCHAR_MIN; int j = WCHAR_MAX;
4752 if { (eval echo configure:4753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4754 has_wchar_minmax=yes
4756 echo "configure: failed program was:" >&5
4757 cat conftest.$ac_ext >&5
4762 echo "$ac_t""$has_wchar_minmax" 1>&6
4764 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4765 echo "configure:4766: checking for WEOF" >&5
4766 cat > conftest.$ac_ext <<EOF
4767 #line 4768 "configure"
4768 #include "confdefs.h"
4776 if { (eval echo configure:4777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4780 echo "configure: failed program was:" >&5
4781 cat conftest.$ac_ext >&5
4786 echo "$ac_t""$has_weof" 1>&6
4789 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4792 echo "configure:4793: checking for $ac_func" >&5
4793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4794 echo $ac_n "(cached) $ac_c" 1>&6
4796 cat > conftest.$ac_ext <<EOF
4797 #line 4798 "configure"
4798 #include "confdefs.h"
4799 /* System header to define __stub macros and hopefully few prototypes,
4800 which can conflict with char $ac_func(); below. */
4802 /* Override any gcc2 internal prototype to avoid an error. */
4803 /* We use char because int might match the return type of a gcc2
4804 builtin and then its argument prototype would still apply. */
4809 /* The GNU C library defines this for functions which it implements
4810 to always fail with ENOSYS. Some functions are actually named
4811 something starting with __ and the normal name is an alias. */
4812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4820 if { (eval echo configure:4821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4822 eval "ac_cv_func_$ac_func=yes"
4824 echo "configure: failed program was:" >&5
4825 cat conftest.$ac_ext >&5
4827 eval "ac_cv_func_$ac_func=no"
4832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4833 echo "$ac_t""yes" 1>&6
4834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4835 cat >> confdefs.h <<EOF
4836 #define $ac_tr_func 1
4840 echo "$ac_t""no" 1>&6
4847 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4848 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4849 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4850 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4851 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4852 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4855 echo "configure:4856: checking for $ac_func" >&5
4856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4857 echo $ac_n "(cached) $ac_c" 1>&6
4859 cat > conftest.$ac_ext <<EOF
4860 #line 4861 "configure"
4861 #include "confdefs.h"
4862 /* System header to define __stub macros and hopefully few prototypes,
4863 which can conflict with char $ac_func(); below. */
4865 /* Override any gcc2 internal prototype to avoid an error. */
4866 /* We use char because int might match the return type of a gcc2
4867 builtin and then its argument prototype would still apply. */
4872 /* The GNU C library defines this for functions which it implements
4873 to always fail with ENOSYS. Some functions are actually named
4874 something starting with __ and the normal name is an alias. */
4875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4883 if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4885 eval "ac_cv_func_$ac_func=yes"
4887 echo "configure: failed program was:" >&5
4888 cat conftest.$ac_ext >&5
4890 eval "ac_cv_func_$ac_func=no"
4895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4896 echo "$ac_t""yes" 1>&6
4897 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4898 cat >> confdefs.h <<EOF
4899 #define $ac_tr_func 1
4903 echo "$ac_t""no" 1>&6
4910 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4911 echo "configure:4912: checking for ISO C99 wchar_t support" >&5
4912 if test x"$has_weof" = xyes &&
4913 test x"$has_wchar_minmax" = xyes &&
4914 test x"$ac_wfuncs" = xyes; then
4915 ac_isoC99_wchar_t=yes
4917 ac_isoC99_wchar_t=no
4919 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4921 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4922 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4923 echo "configure:4924: checking for iconv.h" >&5
4924 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4925 echo $ac_n "(cached) $ac_c" 1>&6
4927 cat > conftest.$ac_ext <<EOF
4928 #line 4929 "configure"
4929 #include "confdefs.h"
4932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4933 { (eval echo configure:4934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4935 if test -z "$ac_err"; then
4937 eval "ac_cv_header_$ac_safe=yes"
4940 echo "configure: failed program was:" >&5
4941 cat conftest.$ac_ext >&5
4943 eval "ac_cv_header_$ac_safe=no"
4947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4948 echo "$ac_t""yes" 1>&6
4951 echo "$ac_t""no" 1>&6
4955 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4956 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4957 echo "configure:4958: checking for langinfo.h" >&5
4958 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4959 echo $ac_n "(cached) $ac_c" 1>&6
4961 cat > conftest.$ac_ext <<EOF
4962 #line 4963 "configure"
4963 #include "confdefs.h"
4964 #include <langinfo.h>
4966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4967 { (eval echo configure:4968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4969 if test -z "$ac_err"; then
4971 eval "ac_cv_header_$ac_safe=yes"
4974 echo "configure: failed program was:" >&5
4975 cat conftest.$ac_ext >&5
4977 eval "ac_cv_header_$ac_safe=no"
4981 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4982 echo "$ac_t""yes" 1>&6
4983 ac_has_langinfo_h=yes
4985 echo "$ac_t""no" 1>&6
4986 ac_has_langinfo_h=no
4990 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4991 echo "configure:4992: checking for iconv in -liconv" >&5
4992 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4993 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4994 echo $ac_n "(cached) $ac_c" 1>&6
4996 ac_save_LIBS="$LIBS"
4997 LIBS="-liconv $LIBS"
4998 cat > conftest.$ac_ext <<EOF
4999 #line 5000 "configure"
5000 #include "confdefs.h"
5001 /* Override any gcc2 internal prototype to avoid an error. */
5002 /* We use char because int might match the return type of a gcc2
5003 builtin and then its argument prototype would still apply. */
5010 if { (eval echo configure:5011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5012 eval "ac_cv_lib_$ac_lib_var=yes"
5014 echo "configure: failed program was:" >&5
5015 cat conftest.$ac_ext >&5
5017 eval "ac_cv_lib_$ac_lib_var=no"
5020 LIBS="$ac_save_LIBS"
5023 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5024 echo "$ac_t""yes" 1>&6
5027 echo "$ac_t""no" 1>&6
5030 ac_save_LIBS="$LIBS"
5031 LIBS="$LIBS $libiconv"
5033 for ac_func in iconv_open iconv_close iconv nl_langinfo
5035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5036 echo "configure:5037: checking for $ac_func" >&5
5037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5038 echo $ac_n "(cached) $ac_c" 1>&6
5040 cat > conftest.$ac_ext <<EOF
5041 #line 5042 "configure"
5042 #include "confdefs.h"
5043 /* System header to define __stub macros and hopefully few prototypes,
5044 which can conflict with char $ac_func(); below. */
5046 /* Override any gcc2 internal prototype to avoid an error. */
5047 /* We use char because int might match the return type of a gcc2
5048 builtin and then its argument prototype would still apply. */
5053 /* The GNU C library defines this for functions which it implements
5054 to always fail with ENOSYS. Some functions are actually named
5055 something starting with __ and the normal name is an alias. */
5056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5064 if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5066 eval "ac_cv_func_$ac_func=yes"
5068 echo "configure: failed program was:" >&5
5069 cat conftest.$ac_ext >&5
5071 eval "ac_cv_func_$ac_func=no"
5076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5077 echo "$ac_t""yes" 1>&6
5078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5079 cat >> confdefs.h <<EOF
5080 #define $ac_tr_func 1
5085 echo "$ac_t""no" 1>&6
5091 LIBS="$ac_save_LIBS"
5093 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5094 echo "configure:5095: checking for XPG2 wchar_t support" >&5
5095 if test x"$ac_has_iconv_h" = xyes &&
5096 test x"$ac_has_langinfo_h" = xyes &&
5097 test x"$ac_XPG2funcs" = xyes; then
5102 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5104 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5105 echo "configure:5106: checking for enabled wchar_t specializations" >&5
5106 if test x"$ac_isoC99_wchar_t" = xyes &&
5107 test x"$ac_XPG2_wchar_t" = xyes; then
5108 cat >> confdefs.h <<\EOF
5109 #define _GLIBCPP_USE_WCHAR_T 1
5112 echo "$ac_t"""yes"" 1>&6
5114 echo "$ac_t"""no"" 1>&6
5117 echo "configure: warning: wchar_t support disabled." 1>&2
5120 cat >> confdefs.h <<\EOF
5121 #define HAVE_COPYSIGN 1
5124 cat >> confdefs.h <<\EOF
5125 #define HAVE_COPYSIGNF 1
5128 cat >> confdefs.h <<\EOF
5129 #define HAVE_FINITE 1
5132 cat >> confdefs.h <<\EOF
5133 #define HAVE_FINITEF 1
5136 cat >> confdefs.h <<\EOF
5137 #define HAVE_FREXPF 1
5140 cat >> confdefs.h <<\EOF
5141 #define HAVE_HYPOTF 1
5144 cat >> confdefs.h <<\EOF
5145 #define HAVE_ISINF 1
5148 cat >> confdefs.h <<\EOF
5149 #define HAVE_ISINFF 1
5152 cat >> confdefs.h <<\EOF
5153 #define HAVE_ISNAN 1
5156 cat >> confdefs.h <<\EOF
5157 #define HAVE_ISNANF 1
5160 cat >> confdefs.h <<\EOF
5161 #define HAVE_SINCOS 1
5164 cat >> confdefs.h <<\EOF
5165 #define HAVE_SINCOSF 1
5168 if test x"long_double_math_on_this_cpu" = x"yes"; then
5169 cat >> confdefs.h <<\EOF
5170 #define HAVE_FINITEL 1
5173 cat >> confdefs.h <<\EOF
5174 #define HAVE_HYPOTL 1
5177 cat >> confdefs.h <<\EOF
5178 #define HAVE_ISINFL 1
5181 cat >> confdefs.h <<\EOF
5182 #define HAVE_ISNANL 1
5188 # Check for available headers.
5189 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5190 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5191 fp.h locale.h float.h inttypes.h
5193 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5194 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5195 echo "configure:5196: checking for $ac_hdr" >&5
5196 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5197 echo $ac_n "(cached) $ac_c" 1>&6
5199 cat > conftest.$ac_ext <<EOF
5200 #line 5201 "configure"
5201 #include "confdefs.h"
5204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5205 { (eval echo configure:5206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5207 if test -z "$ac_err"; then
5209 eval "ac_cv_header_$ac_safe=yes"
5212 echo "configure: failed program was:" >&5
5213 cat conftest.$ac_ext >&5
5215 eval "ac_cv_header_$ac_safe=no"
5219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5220 echo "$ac_t""yes" 1>&6
5221 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5222 cat >> confdefs.h <<EOF
5223 #define $ac_tr_hdr 1
5227 echo "$ac_t""no" 1>&6
5231 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5234 # If we're not using GNU ld, then there's no point in even trying these
5235 # tests. Check for that first. We should have already tested for gld
5236 # by now (in libtool), but require it now just to be safe...
5237 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5238 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5241 # The name set by libtool depends on the version of libtool. Shame on us
5242 # for depending on an impl detail, but c'est la vie. Older versions used
5243 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5244 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5245 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5246 # set (hence we're using an older libtool), then set it.
5247 if test x${with_gnu_ld+set} != xset; then
5248 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5249 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5252 with_gnu_ld=$ac_cv_prog_gnu_ld
5256 # Start by getting the version number. I think the libtool test already
5257 # does some of this, but throws away the result.
5259 ldver=`$LD --version 2>/dev/null | head -1 | \
5260 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5262 glibcpp_gnu_ld_version=`echo $ldver | \
5263 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5265 # Set --gc-sections.
5266 if test "$with_gnu_ld" = "notbroken"; then
5267 # GNU ld it is! Joy and bunny rabbits!
5269 # All these tests are for C++; save the language and the compiler flags.
5270 # Need to do this so that g++ won't try to link in libstdc++
5271 ac_test_CFLAGS="${CFLAGS+set}"
5272 ac_save_CFLAGS="$CFLAGS"
5273 CFLAGS='-x c++ -Wl,--gc-sections'
5275 # Check for -Wl,--gc-sections
5276 # XXX This test is broken at the moment, as symbols required for
5277 # linking are now in libsupc++ (not built yet.....). In addition,
5278 # this test has cored on solaris in the past. In addition,
5279 # --gc-sections doesn't really work at the moment (keeps on discarding
5280 # used sections, first .eh_frame and now some of the glibc sections for
5281 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5282 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5283 echo "configure:5284: checking for ld that supports -Wl,--gc-sections" >&5
5284 if test "$cross_compiling" = yes; then
5285 ac_sectionLDflags=yes
5287 cat > conftest.$ac_ext <<EOF
5288 #line 5289 "configure"
5289 #include "confdefs.h"
5299 if { (eval echo configure:5300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5301 ac_sectionLDflags=yes
5303 echo "configure: failed program was:" >&5
5304 cat conftest.$ac_ext >&5
5306 ac_sectionLDflags=no
5311 if test "$ac_test_CFLAGS" = set; then
5312 CFLAGS="$ac_save_CFLAGS"
5314 # this is the suspicious part
5317 if test "$ac_sectionLDflags" = "yes"; then
5318 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5320 echo "$ac_t""$ac_sectionLDflags" 1>&6
5323 # Set linker optimization flags.
5324 if test x"$with_gnu_ld" = x"yes"; then
5325 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5332 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5333 echo "configure:5334: checking for main in -lm" >&5
5334 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5335 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5336 echo $ac_n "(cached) $ac_c" 1>&6
5338 ac_save_LIBS="$LIBS"
5340 cat > conftest.$ac_ext <<EOF
5341 #line 5342 "configure"
5342 #include "confdefs.h"
5348 if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5350 eval "ac_cv_lib_$ac_lib_var=yes"
5352 echo "configure: failed program was:" >&5
5353 cat conftest.$ac_ext >&5
5355 eval "ac_cv_lib_$ac_lib_var=no"
5358 LIBS="$ac_save_LIBS"
5361 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5362 echo "$ac_t""yes" 1>&6
5363 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5364 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5365 cat >> confdefs.h <<EOF
5366 #define $ac_tr_lib 1
5372 echo "$ac_t""no" 1>&6
5375 for ac_func in nan copysignf
5377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5378 echo "configure:5379: checking for $ac_func" >&5
5379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5380 echo $ac_n "(cached) $ac_c" 1>&6
5382 cat > conftest.$ac_ext <<EOF
5383 #line 5384 "configure"
5384 #include "confdefs.h"
5385 /* System header to define __stub macros and hopefully few prototypes,
5386 which can conflict with char $ac_func(); below. */
5388 /* Override any gcc2 internal prototype to avoid an error. */
5389 /* We use char because int might match the return type of a gcc2
5390 builtin and then its argument prototype would still apply. */
5395 /* The GNU C library defines this for functions which it implements
5396 to always fail with ENOSYS. Some functions are actually named
5397 something starting with __ and the normal name is an alias. */
5398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5406 if { (eval echo configure:5407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5408 eval "ac_cv_func_$ac_func=yes"
5410 echo "configure: failed program was:" >&5
5411 cat conftest.$ac_ext >&5
5413 eval "ac_cv_func_$ac_func=no"
5418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5419 echo "$ac_t""yes" 1>&6
5420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5421 cat >> confdefs.h <<EOF
5422 #define $ac_tr_func 1
5426 echo "$ac_t""no" 1>&6
5427 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5432 for ac_func in __signbit
5434 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5435 echo "configure:5436: checking for $ac_func" >&5
5436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5437 echo $ac_n "(cached) $ac_c" 1>&6
5439 cat > conftest.$ac_ext <<EOF
5440 #line 5441 "configure"
5441 #include "confdefs.h"
5442 /* System header to define __stub macros and hopefully few prototypes,
5443 which can conflict with char $ac_func(); below. */
5445 /* Override any gcc2 internal prototype to avoid an error. */
5446 /* We use char because int might match the return type of a gcc2
5447 builtin and then its argument prototype would still apply. */
5452 /* The GNU C library defines this for functions which it implements
5453 to always fail with ENOSYS. Some functions are actually named
5454 something starting with __ and the normal name is an alias. */
5455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5463 if { (eval echo configure:5464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5465 eval "ac_cv_func_$ac_func=yes"
5467 echo "configure: failed program was:" >&5
5468 cat conftest.$ac_ext >&5
5470 eval "ac_cv_func_$ac_func=no"
5475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5476 echo "$ac_t""yes" 1>&6
5477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5478 cat >> confdefs.h <<EOF
5479 #define $ac_tr_func 1
5483 echo "$ac_t""no" 1>&6
5484 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5488 for ac_func in __signbitf
5490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5491 echo "configure:5492: checking for $ac_func" >&5
5492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5493 echo $ac_n "(cached) $ac_c" 1>&6
5495 cat > conftest.$ac_ext <<EOF
5496 #line 5497 "configure"
5497 #include "confdefs.h"
5498 /* System header to define __stub macros and hopefully few prototypes,
5499 which can conflict with char $ac_func(); below. */
5501 /* Override any gcc2 internal prototype to avoid an error. */
5502 /* We use char because int might match the return type of a gcc2
5503 builtin and then its argument prototype would still apply. */
5508 /* The GNU C library defines this for functions which it implements
5509 to always fail with ENOSYS. Some functions are actually named
5510 something starting with __ and the normal name is an alias. */
5511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5519 if { (eval echo configure:5520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5521 eval "ac_cv_func_$ac_func=yes"
5523 echo "configure: failed program was:" >&5
5524 cat conftest.$ac_ext >&5
5526 eval "ac_cv_func_$ac_func=no"
5531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5532 echo "$ac_t""yes" 1>&6
5533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5534 cat >> confdefs.h <<EOF
5535 #define $ac_tr_func 1
5539 echo "$ac_t""no" 1>&6
5540 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5545 if test x$ac_cv_func_copysignl = x"yes"; then
5546 for ac_func in __signbitl
5548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5549 echo "configure:5550: checking for $ac_func" >&5
5550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5551 echo $ac_n "(cached) $ac_c" 1>&6
5553 cat > conftest.$ac_ext <<EOF
5554 #line 5555 "configure"
5555 #include "confdefs.h"
5556 /* System header to define __stub macros and hopefully few prototypes,
5557 which can conflict with char $ac_func(); below. */
5559 /* Override any gcc2 internal prototype to avoid an error. */
5560 /* We use char because int might match the return type of a gcc2
5561 builtin and then its argument prototype would still apply. */
5566 /* The GNU C library defines this for functions which it implements
5567 to always fail with ENOSYS. Some functions are actually named
5568 something starting with __ and the normal name is an alias. */
5569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5577 if { (eval echo configure:5578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5579 eval "ac_cv_func_$ac_func=yes"
5581 echo "configure: failed program was:" >&5
5582 cat conftest.$ac_ext >&5
5584 eval "ac_cv_func_$ac_func=no"
5589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5590 echo "$ac_t""yes" 1>&6
5591 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5592 cat >> confdefs.h <<EOF
5593 #define $ac_tr_func 1
5597 echo "$ac_t""no" 1>&6
5598 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5604 if test -n "$LIBMATHOBJS"; then
5610 if test "$need_libmath" = yes; then
5611 GLIBCPP_BUILD_LIBMATH_TRUE=
5612 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5614 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5615 GLIBCPP_BUILD_LIBMATH_FALSE=
5620 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5621 echo "configure:5622: checking for mbstate_t" >&5
5622 cat > conftest.$ac_ext <<EOF
5623 #line 5624 "configure"
5624 #include "confdefs.h"
5627 mbstate_t teststate;
5630 if { (eval echo configure:5631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5634 echo "configure: failed program was:" >&5
5635 cat conftest.$ac_ext >&5
5640 echo "$ac_t""$have_mbstate_t" 1>&6
5641 if test x"$have_mbstate_t" = xyes; then
5642 cat >> confdefs.h <<\EOF
5643 #define HAVE_MBSTATE_T 1
5648 for ac_hdr in wchar.h
5650 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5651 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5652 echo "configure:5653: checking for $ac_hdr" >&5
5653 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5654 echo $ac_n "(cached) $ac_c" 1>&6
5656 cat > conftest.$ac_ext <<EOF
5657 #line 5658 "configure"
5658 #include "confdefs.h"
5661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5662 { (eval echo configure:5663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5664 if test -z "$ac_err"; then
5666 eval "ac_cv_header_$ac_safe=yes"
5669 echo "configure: failed program was:" >&5
5670 cat conftest.$ac_ext >&5
5672 eval "ac_cv_header_$ac_safe=no"
5676 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5677 echo "$ac_t""yes" 1>&6
5678 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5679 cat >> confdefs.h <<EOF
5680 #define $ac_tr_hdr 1
5684 echo "$ac_t""no" 1>&6
5689 for ac_hdr in wctype.h
5691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5692 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5693 echo "configure:5694: checking for $ac_hdr" >&5
5694 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5695 echo $ac_n "(cached) $ac_c" 1>&6
5697 cat > conftest.$ac_ext <<EOF
5698 #line 5699 "configure"
5699 #include "confdefs.h"
5702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5703 { (eval echo configure:5704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5705 if test -z "$ac_err"; then
5707 eval "ac_cv_header_$ac_safe=yes"
5710 echo "configure: failed program was:" >&5
5711 cat conftest.$ac_ext >&5
5713 eval "ac_cv_header_$ac_safe=no"
5717 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5718 echo "$ac_t""yes" 1>&6
5719 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5720 cat >> confdefs.h <<EOF
5721 #define $ac_tr_hdr 1
5725 echo "$ac_t""no" 1>&6
5731 if test x"$ac_has_wchar_h" = xyes &&
5732 test x"$ac_has_wctype_h" = xyes &&
5733 test x"$enable_c_mbchar" != xno; then
5735 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5736 echo "configure:5737: checking for WCHAR_MIN and WCHAR_MAX" >&5
5737 cat > conftest.$ac_ext <<EOF
5738 #line 5739 "configure"
5739 #include "confdefs.h"
5742 int i = WCHAR_MIN; int j = WCHAR_MAX;
5745 if { (eval echo configure:5746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5747 has_wchar_minmax=yes
5749 echo "configure: failed program was:" >&5
5750 cat conftest.$ac_ext >&5
5755 echo "$ac_t""$has_wchar_minmax" 1>&6
5757 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5758 echo "configure:5759: checking for WEOF" >&5
5759 cat > conftest.$ac_ext <<EOF
5760 #line 5761 "configure"
5761 #include "confdefs.h"
5769 if { (eval echo configure:5770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5773 echo "configure: failed program was:" >&5
5774 cat conftest.$ac_ext >&5
5779 echo "$ac_t""$has_weof" 1>&6
5782 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5785 echo "configure:5786: checking for $ac_func" >&5
5786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5787 echo $ac_n "(cached) $ac_c" 1>&6
5789 cat > conftest.$ac_ext <<EOF
5790 #line 5791 "configure"
5791 #include "confdefs.h"
5792 /* System header to define __stub macros and hopefully few prototypes,
5793 which can conflict with char $ac_func(); below. */
5795 /* Override any gcc2 internal prototype to avoid an error. */
5796 /* We use char because int might match the return type of a gcc2
5797 builtin and then its argument prototype would still apply. */
5802 /* The GNU C library defines this for functions which it implements
5803 to always fail with ENOSYS. Some functions are actually named
5804 something starting with __ and the normal name is an alias. */
5805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5813 if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5815 eval "ac_cv_func_$ac_func=yes"
5817 echo "configure: failed program was:" >&5
5818 cat conftest.$ac_ext >&5
5820 eval "ac_cv_func_$ac_func=no"
5825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5826 echo "$ac_t""yes" 1>&6
5827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5828 cat >> confdefs.h <<EOF
5829 #define $ac_tr_func 1
5833 echo "$ac_t""no" 1>&6
5840 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5841 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5842 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5843 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5844 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5845 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5848 echo "configure:5849: checking for $ac_func" >&5
5849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5850 echo $ac_n "(cached) $ac_c" 1>&6
5852 cat > conftest.$ac_ext <<EOF
5853 #line 5854 "configure"
5854 #include "confdefs.h"
5855 /* System header to define __stub macros and hopefully few prototypes,
5856 which can conflict with char $ac_func(); below. */
5858 /* Override any gcc2 internal prototype to avoid an error. */
5859 /* We use char because int might match the return type of a gcc2
5860 builtin and then its argument prototype would still apply. */
5865 /* The GNU C library defines this for functions which it implements
5866 to always fail with ENOSYS. Some functions are actually named
5867 something starting with __ and the normal name is an alias. */
5868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5876 if { (eval echo configure:5877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5878 eval "ac_cv_func_$ac_func=yes"
5880 echo "configure: failed program was:" >&5
5881 cat conftest.$ac_ext >&5
5883 eval "ac_cv_func_$ac_func=no"
5888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5889 echo "$ac_t""yes" 1>&6
5890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5891 cat >> confdefs.h <<EOF
5892 #define $ac_tr_func 1
5896 echo "$ac_t""no" 1>&6
5903 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5904 echo "configure:5905: checking for ISO C99 wchar_t support" >&5
5905 if test x"$has_weof" = xyes &&
5906 test x"$has_wchar_minmax" = xyes &&
5907 test x"$ac_wfuncs" = xyes; then
5908 ac_isoC99_wchar_t=yes
5910 ac_isoC99_wchar_t=no
5912 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5914 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5915 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5916 echo "configure:5917: checking for iconv.h" >&5
5917 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5918 echo $ac_n "(cached) $ac_c" 1>&6
5920 cat > conftest.$ac_ext <<EOF
5921 #line 5922 "configure"
5922 #include "confdefs.h"
5925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5926 { (eval echo configure:5927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5928 if test -z "$ac_err"; then
5930 eval "ac_cv_header_$ac_safe=yes"
5933 echo "configure: failed program was:" >&5
5934 cat conftest.$ac_ext >&5
5936 eval "ac_cv_header_$ac_safe=no"
5940 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5941 echo "$ac_t""yes" 1>&6
5944 echo "$ac_t""no" 1>&6
5948 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5949 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5950 echo "configure:5951: checking for langinfo.h" >&5
5951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5952 echo $ac_n "(cached) $ac_c" 1>&6
5954 cat > conftest.$ac_ext <<EOF
5955 #line 5956 "configure"
5956 #include "confdefs.h"
5957 #include <langinfo.h>
5959 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5960 { (eval echo configure:5961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5961 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5962 if test -z "$ac_err"; then
5964 eval "ac_cv_header_$ac_safe=yes"
5967 echo "configure: failed program was:" >&5
5968 cat conftest.$ac_ext >&5
5970 eval "ac_cv_header_$ac_safe=no"
5974 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5975 echo "$ac_t""yes" 1>&6
5976 ac_has_langinfo_h=yes
5978 echo "$ac_t""no" 1>&6
5979 ac_has_langinfo_h=no
5983 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5984 echo "configure:5985: checking for iconv in -liconv" >&5
5985 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5987 echo $ac_n "(cached) $ac_c" 1>&6
5989 ac_save_LIBS="$LIBS"
5990 LIBS="-liconv $LIBS"
5991 cat > conftest.$ac_ext <<EOF
5992 #line 5993 "configure"
5993 #include "confdefs.h"
5994 /* Override any gcc2 internal prototype to avoid an error. */
5995 /* We use char because int might match the return type of a gcc2
5996 builtin and then its argument prototype would still apply. */
6003 if { (eval echo configure:6004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6005 eval "ac_cv_lib_$ac_lib_var=yes"
6007 echo "configure: failed program was:" >&5
6008 cat conftest.$ac_ext >&5
6010 eval "ac_cv_lib_$ac_lib_var=no"
6013 LIBS="$ac_save_LIBS"
6016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6017 echo "$ac_t""yes" 1>&6
6020 echo "$ac_t""no" 1>&6
6023 ac_save_LIBS="$LIBS"
6024 LIBS="$LIBS $libiconv"
6026 for ac_func in iconv_open iconv_close iconv nl_langinfo
6028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6029 echo "configure:6030: checking for $ac_func" >&5
6030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6031 echo $ac_n "(cached) $ac_c" 1>&6
6033 cat > conftest.$ac_ext <<EOF
6034 #line 6035 "configure"
6035 #include "confdefs.h"
6036 /* System header to define __stub macros and hopefully few prototypes,
6037 which can conflict with char $ac_func(); below. */
6039 /* Override any gcc2 internal prototype to avoid an error. */
6040 /* We use char because int might match the return type of a gcc2
6041 builtin and then its argument prototype would still apply. */
6046 /* The GNU C library defines this for functions which it implements
6047 to always fail with ENOSYS. Some functions are actually named
6048 something starting with __ and the normal name is an alias. */
6049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6057 if { (eval echo configure:6058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6059 eval "ac_cv_func_$ac_func=yes"
6061 echo "configure: failed program was:" >&5
6062 cat conftest.$ac_ext >&5
6064 eval "ac_cv_func_$ac_func=no"
6069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6070 echo "$ac_t""yes" 1>&6
6071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6072 cat >> confdefs.h <<EOF
6073 #define $ac_tr_func 1
6078 echo "$ac_t""no" 1>&6
6084 LIBS="$ac_save_LIBS"
6086 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6087 echo "configure:6088: checking for XPG2 wchar_t support" >&5
6088 if test x"$ac_has_iconv_h" = xyes &&
6089 test x"$ac_has_langinfo_h" = xyes &&
6090 test x"$ac_XPG2funcs" = xyes; then
6095 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6097 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6098 echo "configure:6099: checking for enabled wchar_t specializations" >&5
6099 if test x"$ac_isoC99_wchar_t" = xyes &&
6100 test x"$ac_XPG2_wchar_t" = xyes; then
6101 cat >> confdefs.h <<\EOF
6102 #define _GLIBCPP_USE_WCHAR_T 1
6105 echo "$ac_t"""yes"" 1>&6
6107 echo "$ac_t"""no"" 1>&6
6110 echo "configure: warning: wchar_t support disabled." 1>&2
6113 os_include_dir="os/hpux"
6114 cat >> confdefs.h <<\EOF
6115 #define HAVE_COPYSIGN 1
6118 cat >> confdefs.h <<\EOF
6119 #define HAVE_COPYSIGNF 1
6122 cat >> confdefs.h <<\EOF
6123 #define HAVE_FREXPF 1
6126 cat >> confdefs.h <<\EOF
6127 #define HAVE_HYPOT 1
6132 cat >> confdefs.h <<\EOF
6133 #define HAVE_FINITE 1
6136 cat >> confdefs.h <<\EOF
6137 #define HAVE_FINITEF 1
6140 cat >> confdefs.h <<\EOF
6141 #define HAVE_ISINF 1
6144 cat >> confdefs.h <<\EOF
6145 #define HAVE_ISINFF 1
6148 cat >> confdefs.h <<\EOF
6149 #define HAVE_ISNAN 1
6152 cat >> confdefs.h <<\EOF
6153 #define HAVE_ISNANF 1
6161 # Check for available headers.
6162 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6163 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6164 fp.h locale.h float.h inttypes.h
6166 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6167 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6168 echo "configure:6169: checking for $ac_hdr" >&5
6169 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6170 echo $ac_n "(cached) $ac_c" 1>&6
6172 cat > conftest.$ac_ext <<EOF
6173 #line 6174 "configure"
6174 #include "confdefs.h"
6177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6178 { (eval echo configure:6179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6180 if test -z "$ac_err"; then
6182 eval "ac_cv_header_$ac_safe=yes"
6185 echo "configure: failed program was:" >&5
6186 cat conftest.$ac_ext >&5
6188 eval "ac_cv_header_$ac_safe=no"
6192 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6193 echo "$ac_t""yes" 1>&6
6194 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6195 cat >> confdefs.h <<EOF
6196 #define $ac_tr_hdr 1
6200 echo "$ac_t""no" 1>&6
6204 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6207 # If we're not using GNU ld, then there's no point in even trying these
6208 # tests. Check for that first. We should have already tested for gld
6209 # by now (in libtool), but require it now just to be safe...
6210 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6211 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6214 # The name set by libtool depends on the version of libtool. Shame on us
6215 # for depending on an impl detail, but c'est la vie. Older versions used
6216 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6217 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6218 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6219 # set (hence we're using an older libtool), then set it.
6220 if test x${with_gnu_ld+set} != xset; then
6221 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6222 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6225 with_gnu_ld=$ac_cv_prog_gnu_ld
6229 # Start by getting the version number. I think the libtool test already
6230 # does some of this, but throws away the result.
6232 ldver=`$LD --version 2>/dev/null | head -1 | \
6233 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6235 glibcpp_gnu_ld_version=`echo $ldver | \
6236 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6238 # Set --gc-sections.
6239 if test "$with_gnu_ld" = "notbroken"; then
6240 # GNU ld it is! Joy and bunny rabbits!
6242 # All these tests are for C++; save the language and the compiler flags.
6243 # Need to do this so that g++ won't try to link in libstdc++
6244 ac_test_CFLAGS="${CFLAGS+set}"
6245 ac_save_CFLAGS="$CFLAGS"
6246 CFLAGS='-x c++ -Wl,--gc-sections'
6248 # Check for -Wl,--gc-sections
6249 # XXX This test is broken at the moment, as symbols required for
6250 # linking are now in libsupc++ (not built yet.....). In addition,
6251 # this test has cored on solaris in the past. In addition,
6252 # --gc-sections doesn't really work at the moment (keeps on discarding
6253 # used sections, first .eh_frame and now some of the glibc sections for
6254 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6255 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6256 echo "configure:6257: checking for ld that supports -Wl,--gc-sections" >&5
6257 if test "$cross_compiling" = yes; then
6258 ac_sectionLDflags=yes
6260 cat > conftest.$ac_ext <<EOF
6261 #line 6262 "configure"
6262 #include "confdefs.h"
6272 if { (eval echo configure:6273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6274 ac_sectionLDflags=yes
6276 echo "configure: failed program was:" >&5
6277 cat conftest.$ac_ext >&5
6279 ac_sectionLDflags=no
6284 if test "$ac_test_CFLAGS" = set; then
6285 CFLAGS="$ac_save_CFLAGS"
6287 # this is the suspicious part
6290 if test "$ac_sectionLDflags" = "yes"; then
6291 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6293 echo "$ac_t""$ac_sectionLDflags" 1>&6
6296 # Set linker optimization flags.
6297 if test x"$with_gnu_ld" = x"yes"; then
6298 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6305 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6306 echo "configure:6307: checking for main in -lm" >&5
6307 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6309 echo $ac_n "(cached) $ac_c" 1>&6
6311 ac_save_LIBS="$LIBS"
6313 cat > conftest.$ac_ext <<EOF
6314 #line 6315 "configure"
6315 #include "confdefs.h"
6321 if { (eval echo configure:6322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6323 eval "ac_cv_lib_$ac_lib_var=yes"
6325 echo "configure: failed program was:" >&5
6326 cat conftest.$ac_ext >&5
6328 eval "ac_cv_lib_$ac_lib_var=no"
6331 LIBS="$ac_save_LIBS"
6334 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6335 echo "$ac_t""yes" 1>&6
6336 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6337 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6338 cat >> confdefs.h <<EOF
6339 #define $ac_tr_lib 1
6345 echo "$ac_t""no" 1>&6
6348 for ac_func in nan copysignf
6350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6351 echo "configure:6352: checking for $ac_func" >&5
6352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6353 echo $ac_n "(cached) $ac_c" 1>&6
6355 cat > conftest.$ac_ext <<EOF
6356 #line 6357 "configure"
6357 #include "confdefs.h"
6358 /* System header to define __stub macros and hopefully few prototypes,
6359 which can conflict with char $ac_func(); below. */
6361 /* Override any gcc2 internal prototype to avoid an error. */
6362 /* We use char because int might match the return type of a gcc2
6363 builtin and then its argument prototype would still apply. */
6368 /* The GNU C library defines this for functions which it implements
6369 to always fail with ENOSYS. Some functions are actually named
6370 something starting with __ and the normal name is an alias. */
6371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6379 if { (eval echo configure:6380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6381 eval "ac_cv_func_$ac_func=yes"
6383 echo "configure: failed program was:" >&5
6384 cat conftest.$ac_ext >&5
6386 eval "ac_cv_func_$ac_func=no"
6391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6392 echo "$ac_t""yes" 1>&6
6393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6394 cat >> confdefs.h <<EOF
6395 #define $ac_tr_func 1
6399 echo "$ac_t""no" 1>&6
6400 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6405 for ac_func in __signbit
6407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6408 echo "configure:6409: checking for $ac_func" >&5
6409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6410 echo $ac_n "(cached) $ac_c" 1>&6
6412 cat > conftest.$ac_ext <<EOF
6413 #line 6414 "configure"
6414 #include "confdefs.h"
6415 /* System header to define __stub macros and hopefully few prototypes,
6416 which can conflict with char $ac_func(); below. */
6418 /* Override any gcc2 internal prototype to avoid an error. */
6419 /* We use char because int might match the return type of a gcc2
6420 builtin and then its argument prototype would still apply. */
6425 /* The GNU C library defines this for functions which it implements
6426 to always fail with ENOSYS. Some functions are actually named
6427 something starting with __ and the normal name is an alias. */
6428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6436 if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6438 eval "ac_cv_func_$ac_func=yes"
6440 echo "configure: failed program was:" >&5
6441 cat conftest.$ac_ext >&5
6443 eval "ac_cv_func_$ac_func=no"
6448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6449 echo "$ac_t""yes" 1>&6
6450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6451 cat >> confdefs.h <<EOF
6452 #define $ac_tr_func 1
6456 echo "$ac_t""no" 1>&6
6457 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6461 for ac_func in __signbitf
6463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6464 echo "configure:6465: checking for $ac_func" >&5
6465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6466 echo $ac_n "(cached) $ac_c" 1>&6
6468 cat > conftest.$ac_ext <<EOF
6469 #line 6470 "configure"
6470 #include "confdefs.h"
6471 /* System header to define __stub macros and hopefully few prototypes,
6472 which can conflict with char $ac_func(); below. */
6474 /* Override any gcc2 internal prototype to avoid an error. */
6475 /* We use char because int might match the return type of a gcc2
6476 builtin and then its argument prototype would still apply. */
6481 /* The GNU C library defines this for functions which it implements
6482 to always fail with ENOSYS. Some functions are actually named
6483 something starting with __ and the normal name is an alias. */
6484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6492 if { (eval echo configure:6493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6494 eval "ac_cv_func_$ac_func=yes"
6496 echo "configure: failed program was:" >&5
6497 cat conftest.$ac_ext >&5
6499 eval "ac_cv_func_$ac_func=no"
6504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6505 echo "$ac_t""yes" 1>&6
6506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6507 cat >> confdefs.h <<EOF
6508 #define $ac_tr_func 1
6512 echo "$ac_t""no" 1>&6
6513 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6518 if test x$ac_cv_func_copysignl = x"yes"; then
6519 for ac_func in __signbitl
6521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6522 echo "configure:6523: checking for $ac_func" >&5
6523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6524 echo $ac_n "(cached) $ac_c" 1>&6
6526 cat > conftest.$ac_ext <<EOF
6527 #line 6528 "configure"
6528 #include "confdefs.h"
6529 /* System header to define __stub macros and hopefully few prototypes,
6530 which can conflict with char $ac_func(); below. */
6532 /* Override any gcc2 internal prototype to avoid an error. */
6533 /* We use char because int might match the return type of a gcc2
6534 builtin and then its argument prototype would still apply. */
6539 /* The GNU C library defines this for functions which it implements
6540 to always fail with ENOSYS. Some functions are actually named
6541 something starting with __ and the normal name is an alias. */
6542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6550 if { (eval echo configure:6551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6552 eval "ac_cv_func_$ac_func=yes"
6554 echo "configure: failed program was:" >&5
6555 cat conftest.$ac_ext >&5
6557 eval "ac_cv_func_$ac_func=no"
6562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6563 echo "$ac_t""yes" 1>&6
6564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6565 cat >> confdefs.h <<EOF
6566 #define $ac_tr_func 1
6570 echo "$ac_t""no" 1>&6
6571 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6577 if test -n "$LIBMATHOBJS"; then
6583 if test "$need_libmath" = yes; then
6584 GLIBCPP_BUILD_LIBMATH_TRUE=
6585 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6587 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6588 GLIBCPP_BUILD_LIBMATH_FALSE=
6593 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6594 echo "configure:6595: checking for mbstate_t" >&5
6595 cat > conftest.$ac_ext <<EOF
6596 #line 6597 "configure"
6597 #include "confdefs.h"
6600 mbstate_t teststate;
6603 if { (eval echo configure:6604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6607 echo "configure: failed program was:" >&5
6608 cat conftest.$ac_ext >&5
6613 echo "$ac_t""$have_mbstate_t" 1>&6
6614 if test x"$have_mbstate_t" = xyes; then
6615 cat >> confdefs.h <<\EOF
6616 #define HAVE_MBSTATE_T 1
6621 for ac_hdr in wchar.h
6623 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6624 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6625 echo "configure:6626: checking for $ac_hdr" >&5
6626 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6627 echo $ac_n "(cached) $ac_c" 1>&6
6629 cat > conftest.$ac_ext <<EOF
6630 #line 6631 "configure"
6631 #include "confdefs.h"
6634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6635 { (eval echo configure:6636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6637 if test -z "$ac_err"; then
6639 eval "ac_cv_header_$ac_safe=yes"
6642 echo "configure: failed program was:" >&5
6643 cat conftest.$ac_ext >&5
6645 eval "ac_cv_header_$ac_safe=no"
6649 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6650 echo "$ac_t""yes" 1>&6
6651 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6652 cat >> confdefs.h <<EOF
6653 #define $ac_tr_hdr 1
6657 echo "$ac_t""no" 1>&6
6662 for ac_hdr in wctype.h
6664 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6665 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6666 echo "configure:6667: checking for $ac_hdr" >&5
6667 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6668 echo $ac_n "(cached) $ac_c" 1>&6
6670 cat > conftest.$ac_ext <<EOF
6671 #line 6672 "configure"
6672 #include "confdefs.h"
6675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6676 { (eval echo configure:6677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6678 if test -z "$ac_err"; then
6680 eval "ac_cv_header_$ac_safe=yes"
6683 echo "configure: failed program was:" >&5
6684 cat conftest.$ac_ext >&5
6686 eval "ac_cv_header_$ac_safe=no"
6690 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6691 echo "$ac_t""yes" 1>&6
6692 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6693 cat >> confdefs.h <<EOF
6694 #define $ac_tr_hdr 1
6698 echo "$ac_t""no" 1>&6
6704 if test x"$ac_has_wchar_h" = xyes &&
6705 test x"$ac_has_wctype_h" = xyes &&
6706 test x"$enable_c_mbchar" != xno; then
6708 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6709 echo "configure:6710: checking for WCHAR_MIN and WCHAR_MAX" >&5
6710 cat > conftest.$ac_ext <<EOF
6711 #line 6712 "configure"
6712 #include "confdefs.h"
6715 int i = WCHAR_MIN; int j = WCHAR_MAX;
6718 if { (eval echo configure:6719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6720 has_wchar_minmax=yes
6722 echo "configure: failed program was:" >&5
6723 cat conftest.$ac_ext >&5
6728 echo "$ac_t""$has_wchar_minmax" 1>&6
6730 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6731 echo "configure:6732: checking for WEOF" >&5
6732 cat > conftest.$ac_ext <<EOF
6733 #line 6734 "configure"
6734 #include "confdefs.h"
6742 if { (eval echo configure:6743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6746 echo "configure: failed program was:" >&5
6747 cat conftest.$ac_ext >&5
6752 echo "$ac_t""$has_weof" 1>&6
6755 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6757 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6758 echo "configure:6759: checking for $ac_func" >&5
6759 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6760 echo $ac_n "(cached) $ac_c" 1>&6
6762 cat > conftest.$ac_ext <<EOF
6763 #line 6764 "configure"
6764 #include "confdefs.h"
6765 /* System header to define __stub macros and hopefully few prototypes,
6766 which can conflict with char $ac_func(); below. */
6768 /* Override any gcc2 internal prototype to avoid an error. */
6769 /* We use char because int might match the return type of a gcc2
6770 builtin and then its argument prototype would still apply. */
6775 /* The GNU C library defines this for functions which it implements
6776 to always fail with ENOSYS. Some functions are actually named
6777 something starting with __ and the normal name is an alias. */
6778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6786 if { (eval echo configure:6787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6788 eval "ac_cv_func_$ac_func=yes"
6790 echo "configure: failed program was:" >&5
6791 cat conftest.$ac_ext >&5
6793 eval "ac_cv_func_$ac_func=no"
6798 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6799 echo "$ac_t""yes" 1>&6
6800 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6801 cat >> confdefs.h <<EOF
6802 #define $ac_tr_func 1
6806 echo "$ac_t""no" 1>&6
6813 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6814 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6815 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6816 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6817 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6818 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6821 echo "configure:6822: checking for $ac_func" >&5
6822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6823 echo $ac_n "(cached) $ac_c" 1>&6
6825 cat > conftest.$ac_ext <<EOF
6826 #line 6827 "configure"
6827 #include "confdefs.h"
6828 /* System header to define __stub macros and hopefully few prototypes,
6829 which can conflict with char $ac_func(); below. */
6831 /* Override any gcc2 internal prototype to avoid an error. */
6832 /* We use char because int might match the return type of a gcc2
6833 builtin and then its argument prototype would still apply. */
6838 /* The GNU C library defines this for functions which it implements
6839 to always fail with ENOSYS. Some functions are actually named
6840 something starting with __ and the normal name is an alias. */
6841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6849 if { (eval echo configure:6850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6851 eval "ac_cv_func_$ac_func=yes"
6853 echo "configure: failed program was:" >&5
6854 cat conftest.$ac_ext >&5
6856 eval "ac_cv_func_$ac_func=no"
6861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6862 echo "$ac_t""yes" 1>&6
6863 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6864 cat >> confdefs.h <<EOF
6865 #define $ac_tr_func 1
6869 echo "$ac_t""no" 1>&6
6876 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6877 echo "configure:6878: checking for ISO C99 wchar_t support" >&5
6878 if test x"$has_weof" = xyes &&
6879 test x"$has_wchar_minmax" = xyes &&
6880 test x"$ac_wfuncs" = xyes; then
6881 ac_isoC99_wchar_t=yes
6883 ac_isoC99_wchar_t=no
6885 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6887 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6888 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6889 echo "configure:6890: checking for iconv.h" >&5
6890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6891 echo $ac_n "(cached) $ac_c" 1>&6
6893 cat > conftest.$ac_ext <<EOF
6894 #line 6895 "configure"
6895 #include "confdefs.h"
6898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6899 { (eval echo configure:6900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6901 if test -z "$ac_err"; then
6903 eval "ac_cv_header_$ac_safe=yes"
6906 echo "configure: failed program was:" >&5
6907 cat conftest.$ac_ext >&5
6909 eval "ac_cv_header_$ac_safe=no"
6913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6914 echo "$ac_t""yes" 1>&6
6917 echo "$ac_t""no" 1>&6
6921 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6922 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6923 echo "configure:6924: checking for langinfo.h" >&5
6924 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6925 echo $ac_n "(cached) $ac_c" 1>&6
6927 cat > conftest.$ac_ext <<EOF
6928 #line 6929 "configure"
6929 #include "confdefs.h"
6930 #include <langinfo.h>
6932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6933 { (eval echo configure:6934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6935 if test -z "$ac_err"; then
6937 eval "ac_cv_header_$ac_safe=yes"
6940 echo "configure: failed program was:" >&5
6941 cat conftest.$ac_ext >&5
6943 eval "ac_cv_header_$ac_safe=no"
6947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6948 echo "$ac_t""yes" 1>&6
6949 ac_has_langinfo_h=yes
6951 echo "$ac_t""no" 1>&6
6952 ac_has_langinfo_h=no
6956 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6957 echo "configure:6958: checking for iconv in -liconv" >&5
6958 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6959 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6960 echo $ac_n "(cached) $ac_c" 1>&6
6962 ac_save_LIBS="$LIBS"
6963 LIBS="-liconv $LIBS"
6964 cat > conftest.$ac_ext <<EOF
6965 #line 6966 "configure"
6966 #include "confdefs.h"
6967 /* Override any gcc2 internal prototype to avoid an error. */
6968 /* We use char because int might match the return type of a gcc2
6969 builtin and then its argument prototype would still apply. */
6976 if { (eval echo configure:6977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6978 eval "ac_cv_lib_$ac_lib_var=yes"
6980 echo "configure: failed program was:" >&5
6981 cat conftest.$ac_ext >&5
6983 eval "ac_cv_lib_$ac_lib_var=no"
6986 LIBS="$ac_save_LIBS"
6989 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6990 echo "$ac_t""yes" 1>&6
6993 echo "$ac_t""no" 1>&6
6996 ac_save_LIBS="$LIBS"
6997 LIBS="$LIBS $libiconv"
6999 for ac_func in iconv_open iconv_close iconv nl_langinfo
7001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7002 echo "configure:7003: checking for $ac_func" >&5
7003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7004 echo $ac_n "(cached) $ac_c" 1>&6
7006 cat > conftest.$ac_ext <<EOF
7007 #line 7008 "configure"
7008 #include "confdefs.h"
7009 /* System header to define __stub macros and hopefully few prototypes,
7010 which can conflict with char $ac_func(); below. */
7012 /* Override any gcc2 internal prototype to avoid an error. */
7013 /* We use char because int might match the return type of a gcc2
7014 builtin and then its argument prototype would still apply. */
7019 /* The GNU C library defines this for functions which it implements
7020 to always fail with ENOSYS. Some functions are actually named
7021 something starting with __ and the normal name is an alias. */
7022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7030 if { (eval echo configure:7031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7032 eval "ac_cv_func_$ac_func=yes"
7034 echo "configure: failed program was:" >&5
7035 cat conftest.$ac_ext >&5
7037 eval "ac_cv_func_$ac_func=no"
7042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7043 echo "$ac_t""yes" 1>&6
7044 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7045 cat >> confdefs.h <<EOF
7046 #define $ac_tr_func 1
7051 echo "$ac_t""no" 1>&6
7057 LIBS="$ac_save_LIBS"
7059 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7060 echo "configure:7061: checking for XPG2 wchar_t support" >&5
7061 if test x"$ac_has_iconv_h" = xyes &&
7062 test x"$ac_has_langinfo_h" = xyes &&
7063 test x"$ac_XPG2funcs" = xyes; then
7068 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7070 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7071 echo "configure:7072: checking for enabled wchar_t specializations" >&5
7072 if test x"$ac_isoC99_wchar_t" = xyes &&
7073 test x"$ac_XPG2_wchar_t" = xyes; then
7074 cat >> confdefs.h <<\EOF
7075 #define _GLIBCPP_USE_WCHAR_T 1
7078 echo "$ac_t"""yes"" 1>&6
7080 echo "$ac_t"""no"" 1>&6
7083 echo "configure: warning: wchar_t support disabled." 1>&2
7086 os_include_dir="os/bsd/netbsd"
7087 cat >> confdefs.h <<\EOF
7088 #define HAVE_COPYSIGN 1
7091 cat >> confdefs.h <<\EOF
7092 #define HAVE_COPYSIGNF 1
7095 cat >> confdefs.h <<\EOF
7096 #define HAVE_FINITEF 1
7099 cat >> confdefs.h <<\EOF
7100 #define HAVE_FINITE 1
7103 cat >> confdefs.h <<\EOF
7104 #define HAVE_FREXPF 1
7107 cat >> confdefs.h <<\EOF
7108 #define HAVE_HYPOTF 1
7111 cat >> confdefs.h <<\EOF
7112 #define HAVE_ISINF 1
7115 cat >> confdefs.h <<\EOF
7116 #define HAVE_ISINFF 1
7119 cat >> confdefs.h <<\EOF
7120 #define HAVE_ISNAN 1
7123 cat >> confdefs.h <<\EOF
7124 #define HAVE_ISNANF 1
7127 if test x"long_double_math_on_this_cpu" = x"yes"; then
7128 cat >> confdefs.h <<\EOF
7129 #define HAVE_FINITEL 1
7132 cat >> confdefs.h <<\EOF
7133 #define HAVE_ISINFL 1
7136 cat >> confdefs.h <<\EOF
7137 #define HAVE_ISNANL 1
7143 # Check for available headers.
7144 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7145 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7146 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7149 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7151 echo "configure:7152: checking for $ac_hdr" >&5
7152 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7153 echo $ac_n "(cached) $ac_c" 1>&6
7155 cat > conftest.$ac_ext <<EOF
7156 #line 7157 "configure"
7157 #include "confdefs.h"
7160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7161 { (eval echo configure:7162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7163 if test -z "$ac_err"; then
7165 eval "ac_cv_header_$ac_safe=yes"
7168 echo "configure: failed program was:" >&5
7169 cat conftest.$ac_ext >&5
7171 eval "ac_cv_header_$ac_safe=no"
7175 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7176 echo "$ac_t""yes" 1>&6
7177 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7178 cat >> confdefs.h <<EOF
7179 #define $ac_tr_hdr 1
7183 echo "$ac_t""no" 1>&6
7187 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7190 # If we're not using GNU ld, then there's no point in even trying these
7191 # tests. Check for that first. We should have already tested for gld
7192 # by now (in libtool), but require it now just to be safe...
7193 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7194 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7197 # The name set by libtool depends on the version of libtool. Shame on us
7198 # for depending on an impl detail, but c'est la vie. Older versions used
7199 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7200 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7201 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7202 # set (hence we're using an older libtool), then set it.
7203 if test x${with_gnu_ld+set} != xset; then
7204 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7205 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7208 with_gnu_ld=$ac_cv_prog_gnu_ld
7212 # Start by getting the version number. I think the libtool test already
7213 # does some of this, but throws away the result.
7215 ldver=`$LD --version 2>/dev/null | head -1 | \
7216 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7218 glibcpp_gnu_ld_version=`echo $ldver | \
7219 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7221 # Set --gc-sections.
7222 if test "$with_gnu_ld" = "notbroken"; then
7223 # GNU ld it is! Joy and bunny rabbits!
7225 # All these tests are for C++; save the language and the compiler flags.
7226 # Need to do this so that g++ won't try to link in libstdc++
7227 ac_test_CFLAGS="${CFLAGS+set}"
7228 ac_save_CFLAGS="$CFLAGS"
7229 CFLAGS='-x c++ -Wl,--gc-sections'
7231 # Check for -Wl,--gc-sections
7232 # XXX This test is broken at the moment, as symbols required for
7233 # linking are now in libsupc++ (not built yet.....). In addition,
7234 # this test has cored on solaris in the past. In addition,
7235 # --gc-sections doesn't really work at the moment (keeps on discarding
7236 # used sections, first .eh_frame and now some of the glibc sections for
7237 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7238 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7239 echo "configure:7240: checking for ld that supports -Wl,--gc-sections" >&5
7240 if test "$cross_compiling" = yes; then
7241 ac_sectionLDflags=yes
7243 cat > conftest.$ac_ext <<EOF
7244 #line 7245 "configure"
7245 #include "confdefs.h"
7255 if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7257 ac_sectionLDflags=yes
7259 echo "configure: failed program was:" >&5
7260 cat conftest.$ac_ext >&5
7262 ac_sectionLDflags=no
7267 if test "$ac_test_CFLAGS" = set; then
7268 CFLAGS="$ac_save_CFLAGS"
7270 # this is the suspicious part
7273 if test "$ac_sectionLDflags" = "yes"; then
7274 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7276 echo "$ac_t""$ac_sectionLDflags" 1>&6
7279 # Set linker optimization flags.
7280 if test x"$with_gnu_ld" = x"yes"; then
7281 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7288 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7289 echo "configure:7290: checking for main in -lm" >&5
7290 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7292 echo $ac_n "(cached) $ac_c" 1>&6
7294 ac_save_LIBS="$LIBS"
7296 cat > conftest.$ac_ext <<EOF
7297 #line 7298 "configure"
7298 #include "confdefs.h"
7304 if { (eval echo configure:7305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7306 eval "ac_cv_lib_$ac_lib_var=yes"
7308 echo "configure: failed program was:" >&5
7309 cat conftest.$ac_ext >&5
7311 eval "ac_cv_lib_$ac_lib_var=no"
7314 LIBS="$ac_save_LIBS"
7317 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7318 echo "$ac_t""yes" 1>&6
7319 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7320 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7321 cat >> confdefs.h <<EOF
7322 #define $ac_tr_lib 1
7328 echo "$ac_t""no" 1>&6
7331 for ac_func in nan copysignf
7333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7334 echo "configure:7335: checking for $ac_func" >&5
7335 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7336 echo $ac_n "(cached) $ac_c" 1>&6
7338 cat > conftest.$ac_ext <<EOF
7339 #line 7340 "configure"
7340 #include "confdefs.h"
7341 /* System header to define __stub macros and hopefully few prototypes,
7342 which can conflict with char $ac_func(); below. */
7344 /* Override any gcc2 internal prototype to avoid an error. */
7345 /* We use char because int might match the return type of a gcc2
7346 builtin and then its argument prototype would still apply. */
7351 /* The GNU C library defines this for functions which it implements
7352 to always fail with ENOSYS. Some functions are actually named
7353 something starting with __ and the normal name is an alias. */
7354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7362 if { (eval echo configure:7363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7364 eval "ac_cv_func_$ac_func=yes"
7366 echo "configure: failed program was:" >&5
7367 cat conftest.$ac_ext >&5
7369 eval "ac_cv_func_$ac_func=no"
7374 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7375 echo "$ac_t""yes" 1>&6
7376 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7377 cat >> confdefs.h <<EOF
7378 #define $ac_tr_func 1
7382 echo "$ac_t""no" 1>&6
7383 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7388 for ac_func in __signbit
7390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7391 echo "configure:7392: checking for $ac_func" >&5
7392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7393 echo $ac_n "(cached) $ac_c" 1>&6
7395 cat > conftest.$ac_ext <<EOF
7396 #line 7397 "configure"
7397 #include "confdefs.h"
7398 /* System header to define __stub macros and hopefully few prototypes,
7399 which can conflict with char $ac_func(); below. */
7401 /* Override any gcc2 internal prototype to avoid an error. */
7402 /* We use char because int might match the return type of a gcc2
7403 builtin and then its argument prototype would still apply. */
7408 /* The GNU C library defines this for functions which it implements
7409 to always fail with ENOSYS. Some functions are actually named
7410 something starting with __ and the normal name is an alias. */
7411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7419 if { (eval echo configure:7420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7421 eval "ac_cv_func_$ac_func=yes"
7423 echo "configure: failed program was:" >&5
7424 cat conftest.$ac_ext >&5
7426 eval "ac_cv_func_$ac_func=no"
7431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7432 echo "$ac_t""yes" 1>&6
7433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7434 cat >> confdefs.h <<EOF
7435 #define $ac_tr_func 1
7439 echo "$ac_t""no" 1>&6
7440 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7444 for ac_func in __signbitf
7446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7447 echo "configure:7448: checking for $ac_func" >&5
7448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7449 echo $ac_n "(cached) $ac_c" 1>&6
7451 cat > conftest.$ac_ext <<EOF
7452 #line 7453 "configure"
7453 #include "confdefs.h"
7454 /* System header to define __stub macros and hopefully few prototypes,
7455 which can conflict with char $ac_func(); below. */
7457 /* Override any gcc2 internal prototype to avoid an error. */
7458 /* We use char because int might match the return type of a gcc2
7459 builtin and then its argument prototype would still apply. */
7464 /* The GNU C library defines this for functions which it implements
7465 to always fail with ENOSYS. Some functions are actually named
7466 something starting with __ and the normal name is an alias. */
7467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7475 if { (eval echo configure:7476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7477 eval "ac_cv_func_$ac_func=yes"
7479 echo "configure: failed program was:" >&5
7480 cat conftest.$ac_ext >&5
7482 eval "ac_cv_func_$ac_func=no"
7487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7488 echo "$ac_t""yes" 1>&6
7489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7490 cat >> confdefs.h <<EOF
7491 #define $ac_tr_func 1
7495 echo "$ac_t""no" 1>&6
7496 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7501 if test x$ac_cv_func_copysignl = x"yes"; then
7502 for ac_func in __signbitl
7504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7505 echo "configure:7506: checking for $ac_func" >&5
7506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7507 echo $ac_n "(cached) $ac_c" 1>&6
7509 cat > conftest.$ac_ext <<EOF
7510 #line 7511 "configure"
7511 #include "confdefs.h"
7512 /* System header to define __stub macros and hopefully few prototypes,
7513 which can conflict with char $ac_func(); below. */
7515 /* Override any gcc2 internal prototype to avoid an error. */
7516 /* We use char because int might match the return type of a gcc2
7517 builtin and then its argument prototype would still apply. */
7522 /* The GNU C library defines this for functions which it implements
7523 to always fail with ENOSYS. Some functions are actually named
7524 something starting with __ and the normal name is an alias. */
7525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7533 if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7535 eval "ac_cv_func_$ac_func=yes"
7537 echo "configure: failed program was:" >&5
7538 cat conftest.$ac_ext >&5
7540 eval "ac_cv_func_$ac_func=no"
7545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7546 echo "$ac_t""yes" 1>&6
7547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7548 cat >> confdefs.h <<EOF
7549 #define $ac_tr_func 1
7553 echo "$ac_t""no" 1>&6
7554 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7560 if test -n "$LIBMATHOBJS"; then
7566 if test "$need_libmath" = yes; then
7567 GLIBCPP_BUILD_LIBMATH_TRUE=
7568 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7570 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7571 GLIBCPP_BUILD_LIBMATH_FALSE=
7576 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7577 echo "configure:7578: checking for mbstate_t" >&5
7578 cat > conftest.$ac_ext <<EOF
7579 #line 7580 "configure"
7580 #include "confdefs.h"
7583 mbstate_t teststate;
7586 if { (eval echo configure:7587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7590 echo "configure: failed program was:" >&5
7591 cat conftest.$ac_ext >&5
7596 echo "$ac_t""$have_mbstate_t" 1>&6
7597 if test x"$have_mbstate_t" = xyes; then
7598 cat >> confdefs.h <<\EOF
7599 #define HAVE_MBSTATE_T 1
7604 for ac_hdr in wchar.h
7606 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7607 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7608 echo "configure:7609: checking for $ac_hdr" >&5
7609 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7610 echo $ac_n "(cached) $ac_c" 1>&6
7612 cat > conftest.$ac_ext <<EOF
7613 #line 7614 "configure"
7614 #include "confdefs.h"
7617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7618 { (eval echo configure:7619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7620 if test -z "$ac_err"; then
7622 eval "ac_cv_header_$ac_safe=yes"
7625 echo "configure: failed program was:" >&5
7626 cat conftest.$ac_ext >&5
7628 eval "ac_cv_header_$ac_safe=no"
7632 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7633 echo "$ac_t""yes" 1>&6
7634 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7635 cat >> confdefs.h <<EOF
7636 #define $ac_tr_hdr 1
7640 echo "$ac_t""no" 1>&6
7645 for ac_hdr in wctype.h
7647 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7648 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7649 echo "configure:7650: checking for $ac_hdr" >&5
7650 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7651 echo $ac_n "(cached) $ac_c" 1>&6
7653 cat > conftest.$ac_ext <<EOF
7654 #line 7655 "configure"
7655 #include "confdefs.h"
7658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7659 { (eval echo configure:7660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7661 if test -z "$ac_err"; then
7663 eval "ac_cv_header_$ac_safe=yes"
7666 echo "configure: failed program was:" >&5
7667 cat conftest.$ac_ext >&5
7669 eval "ac_cv_header_$ac_safe=no"
7673 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7674 echo "$ac_t""yes" 1>&6
7675 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7676 cat >> confdefs.h <<EOF
7677 #define $ac_tr_hdr 1
7681 echo "$ac_t""no" 1>&6
7687 if test x"$ac_has_wchar_h" = xyes &&
7688 test x"$ac_has_wctype_h" = xyes &&
7689 test x"$enable_c_mbchar" != xno; then
7691 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7692 echo "configure:7693: checking for WCHAR_MIN and WCHAR_MAX" >&5
7693 cat > conftest.$ac_ext <<EOF
7694 #line 7695 "configure"
7695 #include "confdefs.h"
7698 int i = WCHAR_MIN; int j = WCHAR_MAX;
7701 if { (eval echo configure:7702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7703 has_wchar_minmax=yes
7705 echo "configure: failed program was:" >&5
7706 cat conftest.$ac_ext >&5
7711 echo "$ac_t""$has_wchar_minmax" 1>&6
7713 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7714 echo "configure:7715: checking for WEOF" >&5
7715 cat > conftest.$ac_ext <<EOF
7716 #line 7717 "configure"
7717 #include "confdefs.h"
7725 if { (eval echo configure:7726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7729 echo "configure: failed program was:" >&5
7730 cat conftest.$ac_ext >&5
7735 echo "$ac_t""$has_weof" 1>&6
7738 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7741 echo "configure:7742: checking for $ac_func" >&5
7742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7743 echo $ac_n "(cached) $ac_c" 1>&6
7745 cat > conftest.$ac_ext <<EOF
7746 #line 7747 "configure"
7747 #include "confdefs.h"
7748 /* System header to define __stub macros and hopefully few prototypes,
7749 which can conflict with char $ac_func(); below. */
7751 /* Override any gcc2 internal prototype to avoid an error. */
7752 /* We use char because int might match the return type of a gcc2
7753 builtin and then its argument prototype would still apply. */
7758 /* The GNU C library defines this for functions which it implements
7759 to always fail with ENOSYS. Some functions are actually named
7760 something starting with __ and the normal name is an alias. */
7761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7769 if { (eval echo configure:7770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7771 eval "ac_cv_func_$ac_func=yes"
7773 echo "configure: failed program was:" >&5
7774 cat conftest.$ac_ext >&5
7776 eval "ac_cv_func_$ac_func=no"
7781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7782 echo "$ac_t""yes" 1>&6
7783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7784 cat >> confdefs.h <<EOF
7785 #define $ac_tr_func 1
7789 echo "$ac_t""no" 1>&6
7796 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7797 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7798 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7799 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7800 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7801 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7804 echo "configure:7805: checking for $ac_func" >&5
7805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7806 echo $ac_n "(cached) $ac_c" 1>&6
7808 cat > conftest.$ac_ext <<EOF
7809 #line 7810 "configure"
7810 #include "confdefs.h"
7811 /* System header to define __stub macros and hopefully few prototypes,
7812 which can conflict with char $ac_func(); below. */
7814 /* Override any gcc2 internal prototype to avoid an error. */
7815 /* We use char because int might match the return type of a gcc2
7816 builtin and then its argument prototype would still apply. */
7821 /* The GNU C library defines this for functions which it implements
7822 to always fail with ENOSYS. Some functions are actually named
7823 something starting with __ and the normal name is an alias. */
7824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7832 if { (eval echo configure:7833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7834 eval "ac_cv_func_$ac_func=yes"
7836 echo "configure: failed program was:" >&5
7837 cat conftest.$ac_ext >&5
7839 eval "ac_cv_func_$ac_func=no"
7844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7845 echo "$ac_t""yes" 1>&6
7846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7847 cat >> confdefs.h <<EOF
7848 #define $ac_tr_func 1
7852 echo "$ac_t""no" 1>&6
7859 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7860 echo "configure:7861: checking for ISO C99 wchar_t support" >&5
7861 if test x"$has_weof" = xyes &&
7862 test x"$has_wchar_minmax" = xyes &&
7863 test x"$ac_wfuncs" = xyes; then
7864 ac_isoC99_wchar_t=yes
7866 ac_isoC99_wchar_t=no
7868 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7870 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7871 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7872 echo "configure:7873: checking for iconv.h" >&5
7873 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7874 echo $ac_n "(cached) $ac_c" 1>&6
7876 cat > conftest.$ac_ext <<EOF
7877 #line 7878 "configure"
7878 #include "confdefs.h"
7881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7882 { (eval echo configure:7883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7884 if test -z "$ac_err"; then
7886 eval "ac_cv_header_$ac_safe=yes"
7889 echo "configure: failed program was:" >&5
7890 cat conftest.$ac_ext >&5
7892 eval "ac_cv_header_$ac_safe=no"
7896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7897 echo "$ac_t""yes" 1>&6
7900 echo "$ac_t""no" 1>&6
7904 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7905 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7906 echo "configure:7907: checking for langinfo.h" >&5
7907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7908 echo $ac_n "(cached) $ac_c" 1>&6
7910 cat > conftest.$ac_ext <<EOF
7911 #line 7912 "configure"
7912 #include "confdefs.h"
7913 #include <langinfo.h>
7915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7916 { (eval echo configure:7917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7918 if test -z "$ac_err"; then
7920 eval "ac_cv_header_$ac_safe=yes"
7923 echo "configure: failed program was:" >&5
7924 cat conftest.$ac_ext >&5
7926 eval "ac_cv_header_$ac_safe=no"
7930 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7931 echo "$ac_t""yes" 1>&6
7932 ac_has_langinfo_h=yes
7934 echo "$ac_t""no" 1>&6
7935 ac_has_langinfo_h=no
7939 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7940 echo "configure:7941: checking for iconv in -liconv" >&5
7941 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7943 echo $ac_n "(cached) $ac_c" 1>&6
7945 ac_save_LIBS="$LIBS"
7946 LIBS="-liconv $LIBS"
7947 cat > conftest.$ac_ext <<EOF
7948 #line 7949 "configure"
7949 #include "confdefs.h"
7950 /* Override any gcc2 internal prototype to avoid an error. */
7951 /* We use char because int might match the return type of a gcc2
7952 builtin and then its argument prototype would still apply. */
7959 if { (eval echo configure:7960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7961 eval "ac_cv_lib_$ac_lib_var=yes"
7963 echo "configure: failed program was:" >&5
7964 cat conftest.$ac_ext >&5
7966 eval "ac_cv_lib_$ac_lib_var=no"
7969 LIBS="$ac_save_LIBS"
7972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7973 echo "$ac_t""yes" 1>&6
7976 echo "$ac_t""no" 1>&6
7979 ac_save_LIBS="$LIBS"
7980 LIBS="$LIBS $libiconv"
7982 for ac_func in iconv_open iconv_close iconv nl_langinfo
7984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7985 echo "configure:7986: checking for $ac_func" >&5
7986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7987 echo $ac_n "(cached) $ac_c" 1>&6
7989 cat > conftest.$ac_ext <<EOF
7990 #line 7991 "configure"
7991 #include "confdefs.h"
7992 /* System header to define __stub macros and hopefully few prototypes,
7993 which can conflict with char $ac_func(); below. */
7995 /* Override any gcc2 internal prototype to avoid an error. */
7996 /* We use char because int might match the return type of a gcc2
7997 builtin and then its argument prototype would still apply. */
8002 /* The GNU C library defines this for functions which it implements
8003 to always fail with ENOSYS. Some functions are actually named
8004 something starting with __ and the normal name is an alias. */
8005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8013 if { (eval echo configure:8014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8015 eval "ac_cv_func_$ac_func=yes"
8017 echo "configure: failed program was:" >&5
8018 cat conftest.$ac_ext >&5
8020 eval "ac_cv_func_$ac_func=no"
8025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8026 echo "$ac_t""yes" 1>&6
8027 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8028 cat >> confdefs.h <<EOF
8029 #define $ac_tr_func 1
8034 echo "$ac_t""no" 1>&6
8040 LIBS="$ac_save_LIBS"
8042 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8043 echo "configure:8044: checking for XPG2 wchar_t support" >&5
8044 if test x"$ac_has_iconv_h" = xyes &&
8045 test x"$ac_has_langinfo_h" = xyes &&
8046 test x"$ac_XPG2funcs" = xyes; then
8051 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8053 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8054 echo "configure:8055: checking for enabled wchar_t specializations" >&5
8055 if test x"$ac_isoC99_wchar_t" = xyes &&
8056 test x"$ac_XPG2_wchar_t" = xyes; then
8057 cat >> confdefs.h <<\EOF
8058 #define _GLIBCPP_USE_WCHAR_T 1
8061 echo "$ac_t"""yes"" 1>&6
8063 echo "$ac_t"""no"" 1>&6
8066 echo "configure: warning: wchar_t support disabled." 1>&2
8069 os_include_dir="os/bsd/freebsd"
8070 cat >> confdefs.h <<\EOF
8071 #define HAVE_LC_MESSAGES 1
8074 cat >> confdefs.h <<\EOF
8075 #define HAVE_DRAND48 1
8078 cat >> confdefs.h <<\EOF
8079 #define HAVE_GETPAGESIZE 1
8082 cat >> confdefs.h <<\EOF
8083 #define HAVE_SETENV 1
8086 cat >> confdefs.h <<\EOF
8087 #define HAVE_SIGSETJMP 1
8090 cat >> confdefs.h <<\EOF
8091 #define HAVE_COPYSIGN 1
8094 cat >> confdefs.h <<\EOF
8095 #define HAVE_COPYSIGNF 1
8098 cat >> confdefs.h <<\EOF
8099 #define HAVE_FINITEF 1
8102 cat >> confdefs.h <<\EOF
8103 #define HAVE_FINITE 1
8106 cat >> confdefs.h <<\EOF
8107 #define HAVE_FREXPF 1
8110 cat >> confdefs.h <<\EOF
8111 #define HAVE_HYPOT 1
8114 cat >> confdefs.h <<\EOF
8115 #define HAVE_HYPOTF 1
8118 cat >> confdefs.h <<\EOF
8119 #define HAVE_ISINF 1
8122 cat >> confdefs.h <<\EOF
8123 #define HAVE_ISNAN 1
8126 cat >> confdefs.h <<\EOF
8127 #define HAVE_ISNANF 1
8130 if test x"long_double_math_on_this_cpu" = x"yes"; then
8131 cat >> confdefs.h <<\EOF
8132 #define HAVE_FINITEL 1
8135 cat >> confdefs.h <<\EOF
8136 #define HAVE_ISINFL 1
8139 cat >> confdefs.h <<\EOF
8140 #define HAVE_ISNANL 1
8146 for ac_hdr in sys/types.h locale.h float.h
8148 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8149 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8150 echo "configure:8151: checking for $ac_hdr" >&5
8151 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8152 echo $ac_n "(cached) $ac_c" 1>&6
8154 cat > conftest.$ac_ext <<EOF
8155 #line 8156 "configure"
8156 #include "confdefs.h"
8159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8160 { (eval echo configure:8161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8162 if test -z "$ac_err"; then
8164 eval "ac_cv_header_$ac_safe=yes"
8167 echo "configure: failed program was:" >&5
8168 cat conftest.$ac_ext >&5
8170 eval "ac_cv_header_$ac_safe=no"
8174 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8175 echo "$ac_t""yes" 1>&6
8176 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8177 cat >> confdefs.h <<EOF
8178 #define $ac_tr_hdr 1
8182 echo "$ac_t""no" 1>&6
8187 # If we're not using GNU ld, then there's no point in even trying these
8188 # tests. Check for that first. We should have already tested for gld
8189 # by now (in libtool), but require it now just to be safe...
8190 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8191 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8194 # The name set by libtool depends on the version of libtool. Shame on us
8195 # for depending on an impl detail, but c'est la vie. Older versions used
8196 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8197 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8198 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8199 # set (hence we're using an older libtool), then set it.
8200 if test x${with_gnu_ld+set} != xset; then
8201 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8202 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8205 with_gnu_ld=$ac_cv_prog_gnu_ld
8209 # Start by getting the version number. I think the libtool test already
8210 # does some of this, but throws away the result.
8212 ldver=`$LD --version 2>/dev/null | head -1 | \
8213 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8215 glibcpp_gnu_ld_version=`echo $ldver | \
8216 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8218 # Set --gc-sections.
8219 if test "$with_gnu_ld" = "notbroken"; then
8220 # GNU ld it is! Joy and bunny rabbits!
8222 # All these tests are for C++; save the language and the compiler flags.
8223 # Need to do this so that g++ won't try to link in libstdc++
8224 ac_test_CFLAGS="${CFLAGS+set}"
8225 ac_save_CFLAGS="$CFLAGS"
8226 CFLAGS='-x c++ -Wl,--gc-sections'
8228 # Check for -Wl,--gc-sections
8229 # XXX This test is broken at the moment, as symbols required for
8230 # linking are now in libsupc++ (not built yet.....). In addition,
8231 # this test has cored on solaris in the past. In addition,
8232 # --gc-sections doesn't really work at the moment (keeps on discarding
8233 # used sections, first .eh_frame and now some of the glibc sections for
8234 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8235 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8236 echo "configure:8237: checking for ld that supports -Wl,--gc-sections" >&5
8237 if test "$cross_compiling" = yes; then
8238 ac_sectionLDflags=yes
8240 cat > conftest.$ac_ext <<EOF
8241 #line 8242 "configure"
8242 #include "confdefs.h"
8252 if { (eval echo configure:8253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8254 ac_sectionLDflags=yes
8256 echo "configure: failed program was:" >&5
8257 cat conftest.$ac_ext >&5
8259 ac_sectionLDflags=no
8264 if test "$ac_test_CFLAGS" = set; then
8265 CFLAGS="$ac_save_CFLAGS"
8267 # this is the suspicious part
8270 if test "$ac_sectionLDflags" = "yes"; then
8271 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8273 echo "$ac_t""$ac_sectionLDflags" 1>&6
8276 # Set linker optimization flags.
8277 if test x"$with_gnu_ld" = x"yes"; then
8278 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8285 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8286 echo "configure:8287: checking for main in -lm" >&5
8287 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8289 echo $ac_n "(cached) $ac_c" 1>&6
8291 ac_save_LIBS="$LIBS"
8293 cat > conftest.$ac_ext <<EOF
8294 #line 8295 "configure"
8295 #include "confdefs.h"
8301 if { (eval echo configure:8302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8303 eval "ac_cv_lib_$ac_lib_var=yes"
8305 echo "configure: failed program was:" >&5
8306 cat conftest.$ac_ext >&5
8308 eval "ac_cv_lib_$ac_lib_var=no"
8311 LIBS="$ac_save_LIBS"
8314 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8315 echo "$ac_t""yes" 1>&6
8316 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8317 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8318 cat >> confdefs.h <<EOF
8319 #define $ac_tr_lib 1
8325 echo "$ac_t""no" 1>&6
8328 for ac_func in nan copysignf
8330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8331 echo "configure:8332: checking for $ac_func" >&5
8332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8333 echo $ac_n "(cached) $ac_c" 1>&6
8335 cat > conftest.$ac_ext <<EOF
8336 #line 8337 "configure"
8337 #include "confdefs.h"
8338 /* System header to define __stub macros and hopefully few prototypes,
8339 which can conflict with char $ac_func(); below. */
8341 /* Override any gcc2 internal prototype to avoid an error. */
8342 /* We use char because int might match the return type of a gcc2
8343 builtin and then its argument prototype would still apply. */
8348 /* The GNU C library defines this for functions which it implements
8349 to always fail with ENOSYS. Some functions are actually named
8350 something starting with __ and the normal name is an alias. */
8351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8359 if { (eval echo configure:8360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8361 eval "ac_cv_func_$ac_func=yes"
8363 echo "configure: failed program was:" >&5
8364 cat conftest.$ac_ext >&5
8366 eval "ac_cv_func_$ac_func=no"
8371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8372 echo "$ac_t""yes" 1>&6
8373 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8374 cat >> confdefs.h <<EOF
8375 #define $ac_tr_func 1
8379 echo "$ac_t""no" 1>&6
8380 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8385 for ac_func in __signbit
8387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8388 echo "configure:8389: checking for $ac_func" >&5
8389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8390 echo $ac_n "(cached) $ac_c" 1>&6
8392 cat > conftest.$ac_ext <<EOF
8393 #line 8394 "configure"
8394 #include "confdefs.h"
8395 /* System header to define __stub macros and hopefully few prototypes,
8396 which can conflict with char $ac_func(); below. */
8398 /* Override any gcc2 internal prototype to avoid an error. */
8399 /* We use char because int might match the return type of a gcc2
8400 builtin and then its argument prototype would still apply. */
8405 /* The GNU C library defines this for functions which it implements
8406 to always fail with ENOSYS. Some functions are actually named
8407 something starting with __ and the normal name is an alias. */
8408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8416 if { (eval echo configure:8417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8418 eval "ac_cv_func_$ac_func=yes"
8420 echo "configure: failed program was:" >&5
8421 cat conftest.$ac_ext >&5
8423 eval "ac_cv_func_$ac_func=no"
8428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8429 echo "$ac_t""yes" 1>&6
8430 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8431 cat >> confdefs.h <<EOF
8432 #define $ac_tr_func 1
8436 echo "$ac_t""no" 1>&6
8437 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8441 for ac_func in __signbitf
8443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8444 echo "configure:8445: checking for $ac_func" >&5
8445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8446 echo $ac_n "(cached) $ac_c" 1>&6
8448 cat > conftest.$ac_ext <<EOF
8449 #line 8450 "configure"
8450 #include "confdefs.h"
8451 /* System header to define __stub macros and hopefully few prototypes,
8452 which can conflict with char $ac_func(); below. */
8454 /* Override any gcc2 internal prototype to avoid an error. */
8455 /* We use char because int might match the return type of a gcc2
8456 builtin and then its argument prototype would still apply. */
8461 /* The GNU C library defines this for functions which it implements
8462 to always fail with ENOSYS. Some functions are actually named
8463 something starting with __ and the normal name is an alias. */
8464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8472 if { (eval echo configure:8473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8474 eval "ac_cv_func_$ac_func=yes"
8476 echo "configure: failed program was:" >&5
8477 cat conftest.$ac_ext >&5
8479 eval "ac_cv_func_$ac_func=no"
8484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8485 echo "$ac_t""yes" 1>&6
8486 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8487 cat >> confdefs.h <<EOF
8488 #define $ac_tr_func 1
8492 echo "$ac_t""no" 1>&6
8493 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8498 if test x$ac_cv_func_copysignl = x"yes"; then
8499 for ac_func in __signbitl
8501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8502 echo "configure:8503: checking for $ac_func" >&5
8503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8504 echo $ac_n "(cached) $ac_c" 1>&6
8506 cat > conftest.$ac_ext <<EOF
8507 #line 8508 "configure"
8508 #include "confdefs.h"
8509 /* System header to define __stub macros and hopefully few prototypes,
8510 which can conflict with char $ac_func(); below. */
8512 /* Override any gcc2 internal prototype to avoid an error. */
8513 /* We use char because int might match the return type of a gcc2
8514 builtin and then its argument prototype would still apply. */
8519 /* The GNU C library defines this for functions which it implements
8520 to always fail with ENOSYS. Some functions are actually named
8521 something starting with __ and the normal name is an alias. */
8522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8530 if { (eval echo configure:8531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8532 eval "ac_cv_func_$ac_func=yes"
8534 echo "configure: failed program was:" >&5
8535 cat conftest.$ac_ext >&5
8537 eval "ac_cv_func_$ac_func=no"
8542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8543 echo "$ac_t""yes" 1>&6
8544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8545 cat >> confdefs.h <<EOF
8546 #define $ac_tr_func 1
8550 echo "$ac_t""no" 1>&6
8551 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8557 if test -n "$LIBMATHOBJS"; then
8563 if test "$need_libmath" = yes; then
8564 GLIBCPP_BUILD_LIBMATH_TRUE=
8565 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8567 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8568 GLIBCPP_BUILD_LIBMATH_FALSE=
8573 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8574 echo "configure:8575: checking for mbstate_t" >&5
8575 cat > conftest.$ac_ext <<EOF
8576 #line 8577 "configure"
8577 #include "confdefs.h"
8580 mbstate_t teststate;
8583 if { (eval echo configure:8584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8587 echo "configure: failed program was:" >&5
8588 cat conftest.$ac_ext >&5
8593 echo "$ac_t""$have_mbstate_t" 1>&6
8594 if test x"$have_mbstate_t" = xyes; then
8595 cat >> confdefs.h <<\EOF
8596 #define HAVE_MBSTATE_T 1
8601 for ac_hdr in wchar.h
8603 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8604 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8605 echo "configure:8606: checking for $ac_hdr" >&5
8606 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8607 echo $ac_n "(cached) $ac_c" 1>&6
8609 cat > conftest.$ac_ext <<EOF
8610 #line 8611 "configure"
8611 #include "confdefs.h"
8614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8615 { (eval echo configure:8616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8617 if test -z "$ac_err"; then
8619 eval "ac_cv_header_$ac_safe=yes"
8622 echo "configure: failed program was:" >&5
8623 cat conftest.$ac_ext >&5
8625 eval "ac_cv_header_$ac_safe=no"
8629 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8630 echo "$ac_t""yes" 1>&6
8631 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8632 cat >> confdefs.h <<EOF
8633 #define $ac_tr_hdr 1
8637 echo "$ac_t""no" 1>&6
8642 for ac_hdr in wctype.h
8644 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8645 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8646 echo "configure:8647: checking for $ac_hdr" >&5
8647 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8648 echo $ac_n "(cached) $ac_c" 1>&6
8650 cat > conftest.$ac_ext <<EOF
8651 #line 8652 "configure"
8652 #include "confdefs.h"
8655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8656 { (eval echo configure:8657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8658 if test -z "$ac_err"; then
8660 eval "ac_cv_header_$ac_safe=yes"
8663 echo "configure: failed program was:" >&5
8664 cat conftest.$ac_ext >&5
8666 eval "ac_cv_header_$ac_safe=no"
8670 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8671 echo "$ac_t""yes" 1>&6
8672 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8673 cat >> confdefs.h <<EOF
8674 #define $ac_tr_hdr 1
8678 echo "$ac_t""no" 1>&6
8684 if test x"$ac_has_wchar_h" = xyes &&
8685 test x"$ac_has_wctype_h" = xyes &&
8686 test x"$enable_c_mbchar" != xno; then
8688 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8689 echo "configure:8690: checking for WCHAR_MIN and WCHAR_MAX" >&5
8690 cat > conftest.$ac_ext <<EOF
8691 #line 8692 "configure"
8692 #include "confdefs.h"
8695 int i = WCHAR_MIN; int j = WCHAR_MAX;
8698 if { (eval echo configure:8699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8700 has_wchar_minmax=yes
8702 echo "configure: failed program was:" >&5
8703 cat conftest.$ac_ext >&5
8708 echo "$ac_t""$has_wchar_minmax" 1>&6
8710 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8711 echo "configure:8712: checking for WEOF" >&5
8712 cat > conftest.$ac_ext <<EOF
8713 #line 8714 "configure"
8714 #include "confdefs.h"
8722 if { (eval echo configure:8723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8726 echo "configure: failed program was:" >&5
8727 cat conftest.$ac_ext >&5
8732 echo "$ac_t""$has_weof" 1>&6
8735 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8738 echo "configure:8739: checking for $ac_func" >&5
8739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8740 echo $ac_n "(cached) $ac_c" 1>&6
8742 cat > conftest.$ac_ext <<EOF
8743 #line 8744 "configure"
8744 #include "confdefs.h"
8745 /* System header to define __stub macros and hopefully few prototypes,
8746 which can conflict with char $ac_func(); below. */
8748 /* Override any gcc2 internal prototype to avoid an error. */
8749 /* We use char because int might match the return type of a gcc2
8750 builtin and then its argument prototype would still apply. */
8755 /* The GNU C library defines this for functions which it implements
8756 to always fail with ENOSYS. Some functions are actually named
8757 something starting with __ and the normal name is an alias. */
8758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8766 if { (eval echo configure:8767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8768 eval "ac_cv_func_$ac_func=yes"
8770 echo "configure: failed program was:" >&5
8771 cat conftest.$ac_ext >&5
8773 eval "ac_cv_func_$ac_func=no"
8778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8779 echo "$ac_t""yes" 1>&6
8780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8781 cat >> confdefs.h <<EOF
8782 #define $ac_tr_func 1
8786 echo "$ac_t""no" 1>&6
8793 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8794 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8795 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8796 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8797 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8798 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8801 echo "configure:8802: checking for $ac_func" >&5
8802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8803 echo $ac_n "(cached) $ac_c" 1>&6
8805 cat > conftest.$ac_ext <<EOF
8806 #line 8807 "configure"
8807 #include "confdefs.h"
8808 /* System header to define __stub macros and hopefully few prototypes,
8809 which can conflict with char $ac_func(); below. */
8811 /* Override any gcc2 internal prototype to avoid an error. */
8812 /* We use char because int might match the return type of a gcc2
8813 builtin and then its argument prototype would still apply. */
8818 /* The GNU C library defines this for functions which it implements
8819 to always fail with ENOSYS. Some functions are actually named
8820 something starting with __ and the normal name is an alias. */
8821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8829 if { (eval echo configure:8830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8831 eval "ac_cv_func_$ac_func=yes"
8833 echo "configure: failed program was:" >&5
8834 cat conftest.$ac_ext >&5
8836 eval "ac_cv_func_$ac_func=no"
8841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8842 echo "$ac_t""yes" 1>&6
8843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8844 cat >> confdefs.h <<EOF
8845 #define $ac_tr_func 1
8849 echo "$ac_t""no" 1>&6
8856 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8857 echo "configure:8858: checking for ISO C99 wchar_t support" >&5
8858 if test x"$has_weof" = xyes &&
8859 test x"$has_wchar_minmax" = xyes &&
8860 test x"$ac_wfuncs" = xyes; then
8861 ac_isoC99_wchar_t=yes
8863 ac_isoC99_wchar_t=no
8865 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8867 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8868 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8869 echo "configure:8870: checking for iconv.h" >&5
8870 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8871 echo $ac_n "(cached) $ac_c" 1>&6
8873 cat > conftest.$ac_ext <<EOF
8874 #line 8875 "configure"
8875 #include "confdefs.h"
8878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8879 { (eval echo configure:8880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8881 if test -z "$ac_err"; then
8883 eval "ac_cv_header_$ac_safe=yes"
8886 echo "configure: failed program was:" >&5
8887 cat conftest.$ac_ext >&5
8889 eval "ac_cv_header_$ac_safe=no"
8893 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8894 echo "$ac_t""yes" 1>&6
8897 echo "$ac_t""no" 1>&6
8901 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8902 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8903 echo "configure:8904: checking for langinfo.h" >&5
8904 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8905 echo $ac_n "(cached) $ac_c" 1>&6
8907 cat > conftest.$ac_ext <<EOF
8908 #line 8909 "configure"
8909 #include "confdefs.h"
8910 #include <langinfo.h>
8912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8913 { (eval echo configure:8914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8915 if test -z "$ac_err"; then
8917 eval "ac_cv_header_$ac_safe=yes"
8920 echo "configure: failed program was:" >&5
8921 cat conftest.$ac_ext >&5
8923 eval "ac_cv_header_$ac_safe=no"
8927 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8928 echo "$ac_t""yes" 1>&6
8929 ac_has_langinfo_h=yes
8931 echo "$ac_t""no" 1>&6
8932 ac_has_langinfo_h=no
8936 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8937 echo "configure:8938: checking for iconv in -liconv" >&5
8938 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8939 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8940 echo $ac_n "(cached) $ac_c" 1>&6
8942 ac_save_LIBS="$LIBS"
8943 LIBS="-liconv $LIBS"
8944 cat > conftest.$ac_ext <<EOF
8945 #line 8946 "configure"
8946 #include "confdefs.h"
8947 /* Override any gcc2 internal prototype to avoid an error. */
8948 /* We use char because int might match the return type of a gcc2
8949 builtin and then its argument prototype would still apply. */
8956 if { (eval echo configure:8957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8958 eval "ac_cv_lib_$ac_lib_var=yes"
8960 echo "configure: failed program was:" >&5
8961 cat conftest.$ac_ext >&5
8963 eval "ac_cv_lib_$ac_lib_var=no"
8966 LIBS="$ac_save_LIBS"
8969 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8970 echo "$ac_t""yes" 1>&6
8973 echo "$ac_t""no" 1>&6
8976 ac_save_LIBS="$LIBS"
8977 LIBS="$LIBS $libiconv"
8979 for ac_func in iconv_open iconv_close iconv nl_langinfo
8981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8982 echo "configure:8983: checking for $ac_func" >&5
8983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8984 echo $ac_n "(cached) $ac_c" 1>&6
8986 cat > conftest.$ac_ext <<EOF
8987 #line 8988 "configure"
8988 #include "confdefs.h"
8989 /* System header to define __stub macros and hopefully few prototypes,
8990 which can conflict with char $ac_func(); below. */
8992 /* Override any gcc2 internal prototype to avoid an error. */
8993 /* We use char because int might match the return type of a gcc2
8994 builtin and then its argument prototype would still apply. */
8999 /* The GNU C library defines this for functions which it implements
9000 to always fail with ENOSYS. Some functions are actually named
9001 something starting with __ and the normal name is an alias. */
9002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9010 if { (eval echo configure:9011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9012 eval "ac_cv_func_$ac_func=yes"
9014 echo "configure: failed program was:" >&5
9015 cat conftest.$ac_ext >&5
9017 eval "ac_cv_func_$ac_func=no"
9022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9023 echo "$ac_t""yes" 1>&6
9024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9025 cat >> confdefs.h <<EOF
9026 #define $ac_tr_func 1
9031 echo "$ac_t""no" 1>&6
9037 LIBS="$ac_save_LIBS"
9039 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9040 echo "configure:9041: checking for XPG2 wchar_t support" >&5
9041 if test x"$ac_has_iconv_h" = xyes &&
9042 test x"$ac_has_langinfo_h" = xyes &&
9043 test x"$ac_XPG2funcs" = xyes; then
9048 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9050 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9051 echo "configure:9052: checking for enabled wchar_t specializations" >&5
9052 if test x"$ac_isoC99_wchar_t" = xyes &&
9053 test x"$ac_XPG2_wchar_t" = xyes; then
9054 cat >> confdefs.h <<\EOF
9055 #define _GLIBCPP_USE_WCHAR_T 1
9058 echo "$ac_t"""yes"" 1>&6
9060 echo "$ac_t"""no"" 1>&6
9063 echo "configure: warning: wchar_t support disabled." 1>&2
9066 os_include_dir="os/mingw32"
9069 os_include_dir="os/windiss"
9072 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9075 # If we're not using GNU ld, then there's no point in even trying these
9076 # tests. Check for that first. We should have already tested for gld
9077 # by now (in libtool), but require it now just to be safe...
9078 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9079 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9082 # The name set by libtool depends on the version of libtool. Shame on us
9083 # for depending on an impl detail, but c'est la vie. Older versions used
9084 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9085 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9086 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9087 # set (hence we're using an older libtool), then set it.
9088 if test x${with_gnu_ld+set} != xset; then
9089 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9090 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9093 with_gnu_ld=$ac_cv_prog_gnu_ld
9097 # Start by getting the version number. I think the libtool test already
9098 # does some of this, but throws away the result.
9100 ldver=`$LD --version 2>/dev/null | head -1 | \
9101 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9103 glibcpp_gnu_ld_version=`echo $ldver | \
9104 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9106 # Set --gc-sections.
9107 if test "$with_gnu_ld" = "notbroken"; then
9108 # GNU ld it is! Joy and bunny rabbits!
9110 # All these tests are for C++; save the language and the compiler flags.
9111 # Need to do this so that g++ won't try to link in libstdc++
9112 ac_test_CFLAGS="${CFLAGS+set}"
9113 ac_save_CFLAGS="$CFLAGS"
9114 CFLAGS='-x c++ -Wl,--gc-sections'
9116 # Check for -Wl,--gc-sections
9117 # XXX This test is broken at the moment, as symbols required for
9118 # linking are now in libsupc++ (not built yet.....). In addition,
9119 # this test has cored on solaris in the past. In addition,
9120 # --gc-sections doesn't really work at the moment (keeps on discarding
9121 # used sections, first .eh_frame and now some of the glibc sections for
9122 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9123 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9124 echo "configure:9125: checking for ld that supports -Wl,--gc-sections" >&5
9125 if test "$cross_compiling" = yes; then
9126 ac_sectionLDflags=yes
9128 cat > conftest.$ac_ext <<EOF
9129 #line 9130 "configure"
9130 #include "confdefs.h"
9140 if { (eval echo configure:9141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9142 ac_sectionLDflags=yes
9144 echo "configure: failed program was:" >&5
9145 cat conftest.$ac_ext >&5
9147 ac_sectionLDflags=no
9152 if test "$ac_test_CFLAGS" = set; then
9153 CFLAGS="$ac_save_CFLAGS"
9155 # this is the suspicious part
9158 if test "$ac_sectionLDflags" = "yes"; then
9159 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9161 echo "$ac_t""$ac_sectionLDflags" 1>&6
9164 # Set linker optimization flags.
9165 if test x"$with_gnu_ld" = x"yes"; then
9166 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9173 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9174 echo "configure:9175: checking for main in -lm" >&5
9175 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9176 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9177 echo $ac_n "(cached) $ac_c" 1>&6
9179 ac_save_LIBS="$LIBS"
9181 cat > conftest.$ac_ext <<EOF
9182 #line 9183 "configure"
9183 #include "confdefs.h"
9189 if { (eval echo configure:9190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9191 eval "ac_cv_lib_$ac_lib_var=yes"
9193 echo "configure: failed program was:" >&5
9194 cat conftest.$ac_ext >&5
9196 eval "ac_cv_lib_$ac_lib_var=no"
9199 LIBS="$ac_save_LIBS"
9202 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9203 echo "$ac_t""yes" 1>&6
9204 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9205 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9206 cat >> confdefs.h <<EOF
9207 #define $ac_tr_lib 1
9213 echo "$ac_t""no" 1>&6
9216 for ac_func in nan copysignf
9218 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9219 echo "configure:9220: checking for $ac_func" >&5
9220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9221 echo $ac_n "(cached) $ac_c" 1>&6
9223 cat > conftest.$ac_ext <<EOF
9224 #line 9225 "configure"
9225 #include "confdefs.h"
9226 /* System header to define __stub macros and hopefully few prototypes,
9227 which can conflict with char $ac_func(); below. */
9229 /* Override any gcc2 internal prototype to avoid an error. */
9230 /* We use char because int might match the return type of a gcc2
9231 builtin and then its argument prototype would still apply. */
9236 /* The GNU C library defines this for functions which it implements
9237 to always fail with ENOSYS. Some functions are actually named
9238 something starting with __ and the normal name is an alias. */
9239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9247 if { (eval echo configure:9248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9249 eval "ac_cv_func_$ac_func=yes"
9251 echo "configure: failed program was:" >&5
9252 cat conftest.$ac_ext >&5
9254 eval "ac_cv_func_$ac_func=no"
9259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9260 echo "$ac_t""yes" 1>&6
9261 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9262 cat >> confdefs.h <<EOF
9263 #define $ac_tr_func 1
9267 echo "$ac_t""no" 1>&6
9268 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9273 for ac_func in __signbit
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 signbit.lo"
9329 for ac_func in __signbitf
9331 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9332 echo "configure:9333: checking for $ac_func" >&5
9333 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9334 echo $ac_n "(cached) $ac_c" 1>&6
9336 cat > conftest.$ac_ext <<EOF
9337 #line 9338 "configure"
9338 #include "confdefs.h"
9339 /* System header to define __stub macros and hopefully few prototypes,
9340 which can conflict with char $ac_func(); below. */
9342 /* Override any gcc2 internal prototype to avoid an error. */
9343 /* We use char because int might match the return type of a gcc2
9344 builtin and then its argument prototype would still apply. */
9349 /* The GNU C library defines this for functions which it implements
9350 to always fail with ENOSYS. Some functions are actually named
9351 something starting with __ and the normal name is an alias. */
9352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9360 if { (eval echo configure:9361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9362 eval "ac_cv_func_$ac_func=yes"
9364 echo "configure: failed program was:" >&5
9365 cat conftest.$ac_ext >&5
9367 eval "ac_cv_func_$ac_func=no"
9372 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9373 echo "$ac_t""yes" 1>&6
9374 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9375 cat >> confdefs.h <<EOF
9376 #define $ac_tr_func 1
9380 echo "$ac_t""no" 1>&6
9381 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9386 if test x$ac_cv_func_copysignl = x"yes"; then
9387 for ac_func in __signbitl
9389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9390 echo "configure:9391: checking for $ac_func" >&5
9391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9392 echo $ac_n "(cached) $ac_c" 1>&6
9394 cat > conftest.$ac_ext <<EOF
9395 #line 9396 "configure"
9396 #include "confdefs.h"
9397 /* System header to define __stub macros and hopefully few prototypes,
9398 which can conflict with char $ac_func(); below. */
9400 /* Override any gcc2 internal prototype to avoid an error. */
9401 /* We use char because int might match the return type of a gcc2
9402 builtin and then its argument prototype would still apply. */
9407 /* The GNU C library defines this for functions which it implements
9408 to always fail with ENOSYS. Some functions are actually named
9409 something starting with __ and the normal name is an alias. */
9410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9418 if { (eval echo configure:9419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9420 eval "ac_cv_func_$ac_func=yes"
9422 echo "configure: failed program was:" >&5
9423 cat conftest.$ac_ext >&5
9425 eval "ac_cv_func_$ac_func=no"
9430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9431 echo "$ac_t""yes" 1>&6
9432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9433 cat >> confdefs.h <<EOF
9434 #define $ac_tr_func 1
9438 echo "$ac_t""no" 1>&6
9439 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9445 if test -n "$LIBMATHOBJS"; then
9451 if test "$need_libmath" = yes; then
9452 GLIBCPP_BUILD_LIBMATH_TRUE=
9453 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9455 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9456 GLIBCPP_BUILD_LIBMATH_FALSE=
9461 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9462 echo "configure:9463: checking for mbstate_t" >&5
9463 cat > conftest.$ac_ext <<EOF
9464 #line 9465 "configure"
9465 #include "confdefs.h"
9468 mbstate_t teststate;
9471 if { (eval echo configure:9472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9475 echo "configure: failed program was:" >&5
9476 cat conftest.$ac_ext >&5
9481 echo "$ac_t""$have_mbstate_t" 1>&6
9482 if test x"$have_mbstate_t" = xyes; then
9483 cat >> confdefs.h <<\EOF
9484 #define HAVE_MBSTATE_T 1
9489 for ac_hdr in wchar.h
9491 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9492 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9493 echo "configure:9494: checking for $ac_hdr" >&5
9494 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9495 echo $ac_n "(cached) $ac_c" 1>&6
9497 cat > conftest.$ac_ext <<EOF
9498 #line 9499 "configure"
9499 #include "confdefs.h"
9502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9503 { (eval echo configure:9504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9504 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9505 if test -z "$ac_err"; then
9507 eval "ac_cv_header_$ac_safe=yes"
9510 echo "configure: failed program was:" >&5
9511 cat conftest.$ac_ext >&5
9513 eval "ac_cv_header_$ac_safe=no"
9517 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9518 echo "$ac_t""yes" 1>&6
9519 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9520 cat >> confdefs.h <<EOF
9521 #define $ac_tr_hdr 1
9525 echo "$ac_t""no" 1>&6
9530 for ac_hdr in wctype.h
9532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9533 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9534 echo "configure:9535: checking for $ac_hdr" >&5
9535 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9536 echo $ac_n "(cached) $ac_c" 1>&6
9538 cat > conftest.$ac_ext <<EOF
9539 #line 9540 "configure"
9540 #include "confdefs.h"
9543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9544 { (eval echo configure:9545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9546 if test -z "$ac_err"; then
9548 eval "ac_cv_header_$ac_safe=yes"
9551 echo "configure: failed program was:" >&5
9552 cat conftest.$ac_ext >&5
9554 eval "ac_cv_header_$ac_safe=no"
9558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9559 echo "$ac_t""yes" 1>&6
9560 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9561 cat >> confdefs.h <<EOF
9562 #define $ac_tr_hdr 1
9566 echo "$ac_t""no" 1>&6
9572 if test x"$ac_has_wchar_h" = xyes &&
9573 test x"$ac_has_wctype_h" = xyes &&
9574 test x"$enable_c_mbchar" != xno; then
9576 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9577 echo "configure:9578: checking for WCHAR_MIN and WCHAR_MAX" >&5
9578 cat > conftest.$ac_ext <<EOF
9579 #line 9580 "configure"
9580 #include "confdefs.h"
9583 int i = WCHAR_MIN; int j = WCHAR_MAX;
9586 if { (eval echo configure:9587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9588 has_wchar_minmax=yes
9590 echo "configure: failed program was:" >&5
9591 cat conftest.$ac_ext >&5
9596 echo "$ac_t""$has_wchar_minmax" 1>&6
9598 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9599 echo "configure:9600: checking for WEOF" >&5
9600 cat > conftest.$ac_ext <<EOF
9601 #line 9602 "configure"
9602 #include "confdefs.h"
9610 if { (eval echo configure:9611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9614 echo "configure: failed program was:" >&5
9615 cat conftest.$ac_ext >&5
9620 echo "$ac_t""$has_weof" 1>&6
9623 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9626 echo "configure:9627: checking for $ac_func" >&5
9627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9628 echo $ac_n "(cached) $ac_c" 1>&6
9630 cat > conftest.$ac_ext <<EOF
9631 #line 9632 "configure"
9632 #include "confdefs.h"
9633 /* System header to define __stub macros and hopefully few prototypes,
9634 which can conflict with char $ac_func(); below. */
9636 /* Override any gcc2 internal prototype to avoid an error. */
9637 /* We use char because int might match the return type of a gcc2
9638 builtin and then its argument prototype would still apply. */
9643 /* The GNU C library defines this for functions which it implements
9644 to always fail with ENOSYS. Some functions are actually named
9645 something starting with __ and the normal name is an alias. */
9646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9654 if { (eval echo configure:9655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9656 eval "ac_cv_func_$ac_func=yes"
9658 echo "configure: failed program was:" >&5
9659 cat conftest.$ac_ext >&5
9661 eval "ac_cv_func_$ac_func=no"
9666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9667 echo "$ac_t""yes" 1>&6
9668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9669 cat >> confdefs.h <<EOF
9670 #define $ac_tr_func 1
9674 echo "$ac_t""no" 1>&6
9681 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
9682 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9683 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9684 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9685 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9686 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9689 echo "configure:9690: checking for $ac_func" >&5
9690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9691 echo $ac_n "(cached) $ac_c" 1>&6
9693 cat > conftest.$ac_ext <<EOF
9694 #line 9695 "configure"
9695 #include "confdefs.h"
9696 /* System header to define __stub macros and hopefully few prototypes,
9697 which can conflict with char $ac_func(); below. */
9699 /* Override any gcc2 internal prototype to avoid an error. */
9700 /* We use char because int might match the return type of a gcc2
9701 builtin and then its argument prototype would still apply. */
9706 /* The GNU C library defines this for functions which it implements
9707 to always fail with ENOSYS. Some functions are actually named
9708 something starting with __ and the normal name is an alias. */
9709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9717 if { (eval echo configure:9718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9719 eval "ac_cv_func_$ac_func=yes"
9721 echo "configure: failed program was:" >&5
9722 cat conftest.$ac_ext >&5
9724 eval "ac_cv_func_$ac_func=no"
9729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9730 echo "$ac_t""yes" 1>&6
9731 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9732 cat >> confdefs.h <<EOF
9733 #define $ac_tr_func 1
9737 echo "$ac_t""no" 1>&6
9744 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9745 echo "configure:9746: checking for ISO C99 wchar_t support" >&5
9746 if test x"$has_weof" = xyes &&
9747 test x"$has_wchar_minmax" = xyes &&
9748 test x"$ac_wfuncs" = xyes; then
9749 ac_isoC99_wchar_t=yes
9751 ac_isoC99_wchar_t=no
9753 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9755 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9756 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9757 echo "configure:9758: checking for iconv.h" >&5
9758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9759 echo $ac_n "(cached) $ac_c" 1>&6
9761 cat > conftest.$ac_ext <<EOF
9762 #line 9763 "configure"
9763 #include "confdefs.h"
9766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9767 { (eval echo configure:9768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9769 if test -z "$ac_err"; then
9771 eval "ac_cv_header_$ac_safe=yes"
9774 echo "configure: failed program was:" >&5
9775 cat conftest.$ac_ext >&5
9777 eval "ac_cv_header_$ac_safe=no"
9781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9782 echo "$ac_t""yes" 1>&6
9785 echo "$ac_t""no" 1>&6
9789 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9790 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9791 echo "configure:9792: checking for langinfo.h" >&5
9792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9793 echo $ac_n "(cached) $ac_c" 1>&6
9795 cat > conftest.$ac_ext <<EOF
9796 #line 9797 "configure"
9797 #include "confdefs.h"
9798 #include <langinfo.h>
9800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9801 { (eval echo configure:9802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9803 if test -z "$ac_err"; then
9805 eval "ac_cv_header_$ac_safe=yes"
9808 echo "configure: failed program was:" >&5
9809 cat conftest.$ac_ext >&5
9811 eval "ac_cv_header_$ac_safe=no"
9815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9816 echo "$ac_t""yes" 1>&6
9817 ac_has_langinfo_h=yes
9819 echo "$ac_t""no" 1>&6
9820 ac_has_langinfo_h=no
9824 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9825 echo "configure:9826: checking for iconv in -liconv" >&5
9826 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9828 echo $ac_n "(cached) $ac_c" 1>&6
9830 ac_save_LIBS="$LIBS"
9831 LIBS="-liconv $LIBS"
9832 cat > conftest.$ac_ext <<EOF
9833 #line 9834 "configure"
9834 #include "confdefs.h"
9835 /* Override any gcc2 internal prototype to avoid an error. */
9836 /* We use char because int might match the return type of a gcc2
9837 builtin and then its argument prototype would still apply. */
9844 if { (eval echo configure:9845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9846 eval "ac_cv_lib_$ac_lib_var=yes"
9848 echo "configure: failed program was:" >&5
9849 cat conftest.$ac_ext >&5
9851 eval "ac_cv_lib_$ac_lib_var=no"
9854 LIBS="$ac_save_LIBS"
9857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9858 echo "$ac_t""yes" 1>&6
9861 echo "$ac_t""no" 1>&6
9864 ac_save_LIBS="$LIBS"
9865 LIBS="$LIBS $libiconv"
9867 for ac_func in iconv_open iconv_close iconv nl_langinfo
9869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9870 echo "configure:9871: checking for $ac_func" >&5
9871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9872 echo $ac_n "(cached) $ac_c" 1>&6
9874 cat > conftest.$ac_ext <<EOF
9875 #line 9876 "configure"
9876 #include "confdefs.h"
9877 /* System header to define __stub macros and hopefully few prototypes,
9878 which can conflict with char $ac_func(); below. */
9880 /* Override any gcc2 internal prototype to avoid an error. */
9881 /* We use char because int might match the return type of a gcc2
9882 builtin and then its argument prototype would still apply. */
9887 /* The GNU C library defines this for functions which it implements
9888 to always fail with ENOSYS. Some functions are actually named
9889 something starting with __ and the normal name is an alias. */
9890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9898 if { (eval echo configure:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9900 eval "ac_cv_func_$ac_func=yes"
9902 echo "configure: failed program was:" >&5
9903 cat conftest.$ac_ext >&5
9905 eval "ac_cv_func_$ac_func=no"
9910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9911 echo "$ac_t""yes" 1>&6
9912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9913 cat >> confdefs.h <<EOF
9914 #define $ac_tr_func 1
9919 echo "$ac_t""no" 1>&6
9925 LIBS="$ac_save_LIBS"
9927 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9928 echo "configure:9929: checking for XPG2 wchar_t support" >&5
9929 if test x"$ac_has_iconv_h" = xyes &&
9930 test x"$ac_has_langinfo_h" = xyes &&
9931 test x"$ac_XPG2funcs" = xyes; then
9936 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9938 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9939 echo "configure:9940: checking for enabled wchar_t specializations" >&5
9940 if test x"$ac_isoC99_wchar_t" = xyes &&
9941 test x"$ac_XPG2_wchar_t" = xyes; then
9942 cat >> confdefs.h <<\EOF
9943 #define _GLIBCPP_USE_WCHAR_T 1
9946 echo "$ac_t"""yes"" 1>&6
9948 echo "$ac_t"""no"" 1>&6
9951 echo "configure: warning: wchar_t support disabled." 1>&2
9954 os_include_dir="os/qnx/qnx6.1"
9955 cat >> confdefs.h <<\EOF
9959 cat >> confdefs.h <<\EOF
9963 cat >> confdefs.h <<\EOF
9964 #define HAVE_COSHF 1
9967 cat >> confdefs.h <<\EOF
9968 #define HAVE_COSHL 1
9971 cat >> confdefs.h <<\EOF
9975 cat >> confdefs.h <<\EOF
9979 cat >> confdefs.h <<\EOF
9980 #define HAVE_LOG10F 1
9983 cat >> confdefs.h <<\EOF
9984 #define HAVE_LOG10L 1
9987 cat >> confdefs.h <<\EOF
9991 cat >> confdefs.h <<\EOF
9995 cat >> confdefs.h <<\EOF
9996 #define HAVE_SINHF 1
9999 cat >> confdefs.h <<\EOF
10000 #define HAVE_SINHL 1
10005 os_include_dir="os/newlib"
10006 cat >> confdefs.h <<\EOF
10007 #define HAVE_HYPOT 1
10017 cat >> confdefs.h <<\EOF
10018 #define HAVE_ACOSF 1
10021 cat >> confdefs.h <<\EOF
10022 #define HAVE_ASINF 1
10025 cat >> confdefs.h <<\EOF
10026 #define HAVE_ATAN2F 1
10029 cat >> confdefs.h <<\EOF
10030 #define HAVE_ATANF 1
10033 cat >> confdefs.h <<\EOF
10034 #define HAVE_CEILF 1
10037 cat >> confdefs.h <<\EOF
10038 #define HAVE_COPYSIGN 1
10041 cat >> confdefs.h <<\EOF
10042 #define HAVE_COPYSIGNF 1
10045 cat >> confdefs.h <<\EOF
10046 #define HAVE_COSF 1
10049 cat >> confdefs.h <<\EOF
10050 #define HAVE_COSHF 1
10053 cat >> confdefs.h <<\EOF
10054 #define HAVE_EXPF 1
10057 cat >> confdefs.h <<\EOF
10058 #define HAVE_FABSF 1
10061 cat >> confdefs.h <<\EOF
10062 #define HAVE_FLOORF 1
10065 cat >> confdefs.h <<\EOF
10066 #define HAVE_FMODF 1
10069 cat >> confdefs.h <<\EOF
10070 #define HAVE_FREXPF 1
10073 cat >> confdefs.h <<\EOF
10074 #define HAVE_LDEXPF 1
10077 cat >> confdefs.h <<\EOF
10078 #define HAVE_LOG10F 1
10081 cat >> confdefs.h <<\EOF
10082 #define HAVE_LOGF 1
10085 cat >> confdefs.h <<\EOF
10086 #define HAVE_MODFF 1
10089 cat >> confdefs.h <<\EOF
10090 #define HAVE_POWF 1
10093 cat >> confdefs.h <<\EOF
10094 #define HAVE_SINF 1
10097 cat >> confdefs.h <<\EOF
10098 #define HAVE_SINHF 1
10101 cat >> confdefs.h <<\EOF
10102 #define HAVE_SQRTF 1
10105 cat >> confdefs.h <<\EOF
10106 #define HAVE_TANF 1
10109 cat >> confdefs.h <<\EOF
10110 #define HAVE_TANHF 1
10115 # Must replicate generic section since we don't have strtof or strtold.
10116 cat >> confdefs.h <<\EOF
10117 #define HAVE_MMAP 1
10120 cat >> confdefs.h <<\EOF
10121 #define HAVE_ACOSF 1
10124 cat >> confdefs.h <<\EOF
10125 #define HAVE_ASINF 1
10128 cat >> confdefs.h <<\EOF
10129 #define HAVE_ATAN2F 1
10132 cat >> confdefs.h <<\EOF
10133 #define HAVE_ATANF 1
10136 cat >> confdefs.h <<\EOF
10137 #define HAVE_CEILF 1
10140 cat >> confdefs.h <<\EOF
10141 #define HAVE_COPYSIGN 1
10144 cat >> confdefs.h <<\EOF
10145 #define HAVE_COPYSIGNF 1
10148 cat >> confdefs.h <<\EOF
10149 #define HAVE_COSF 1
10152 cat >> confdefs.h <<\EOF
10153 #define HAVE_COSHF 1
10156 cat >> confdefs.h <<\EOF
10157 #define HAVE_EXPF 1
10160 cat >> confdefs.h <<\EOF
10161 #define HAVE_FABSF 1
10164 cat >> confdefs.h <<\EOF
10165 #define HAVE_FLOORF 1
10168 cat >> confdefs.h <<\EOF
10169 #define HAVE_FMODF 1
10172 cat >> confdefs.h <<\EOF
10173 #define HAVE_FREXPF 1
10176 cat >> confdefs.h <<\EOF
10177 #define HAVE_LDEXPF 1
10180 cat >> confdefs.h <<\EOF
10181 #define HAVE_LOG10F 1
10184 cat >> confdefs.h <<\EOF
10185 #define HAVE_LOGF 1
10188 cat >> confdefs.h <<\EOF
10189 #define HAVE_MODFF 1
10192 cat >> confdefs.h <<\EOF
10193 #define HAVE_POWF 1
10196 cat >> confdefs.h <<\EOF
10197 #define HAVE_SINF 1
10200 cat >> confdefs.h <<\EOF
10201 #define HAVE_SINHF 1
10204 cat >> confdefs.h <<\EOF
10205 #define HAVE_SQRTF 1
10208 cat >> confdefs.h <<\EOF
10209 #define HAVE_TANF 1
10212 cat >> confdefs.h <<\EOF
10213 #define HAVE_TANHF 1
10218 # GLIBCPP_CHECK_STDLIB_SUPPORT
10219 cat >> confdefs.h <<\EOF
10220 #define HAVE_STRTOF 1
10223 cat >> confdefs.h <<\EOF
10224 #define HAVE_STRTOLD 1
10228 cat >> confdefs.h <<\EOF
10229 #define HAVE_MMAP 1
10233 cat >> confdefs.h <<\EOF
10234 #define HAVE_ACOSF 1
10237 cat >> confdefs.h <<\EOF
10238 #define HAVE_ASINF 1
10241 cat >> confdefs.h <<\EOF
10242 #define HAVE_ATAN2F 1
10245 cat >> confdefs.h <<\EOF
10246 #define HAVE_ATANF 1
10249 cat >> confdefs.h <<\EOF
10250 #define HAVE_CEILF 1
10253 cat >> confdefs.h <<\EOF
10254 #define HAVE_COPYSIGN 1
10257 cat >> confdefs.h <<\EOF
10258 #define HAVE_COPYSIGNF 1
10261 cat >> confdefs.h <<\EOF
10262 #define HAVE_COSF 1
10265 cat >> confdefs.h <<\EOF
10266 #define HAVE_COSHF 1
10269 cat >> confdefs.h <<\EOF
10270 #define HAVE_EXPF 1
10273 cat >> confdefs.h <<\EOF
10274 #define HAVE_FABSF 1
10277 cat >> confdefs.h <<\EOF
10278 #define HAVE_FLOORF 1
10281 cat >> confdefs.h <<\EOF
10282 #define HAVE_FMODF 1
10285 cat >> confdefs.h <<\EOF
10286 #define HAVE_FREXPF 1
10289 cat >> confdefs.h <<\EOF
10290 #define HAVE_LDEXPF 1
10293 cat >> confdefs.h <<\EOF
10294 #define HAVE_LOG10F 1
10297 cat >> confdefs.h <<\EOF
10298 #define HAVE_LOGF 1
10301 cat >> confdefs.h <<\EOF
10302 #define HAVE_MODFF 1
10305 cat >> confdefs.h <<\EOF
10306 #define HAVE_POWF 1
10309 cat >> confdefs.h <<\EOF
10310 #define HAVE_SINF 1
10313 cat >> confdefs.h <<\EOF
10314 #define HAVE_SINHF 1
10317 cat >> confdefs.h <<\EOF
10318 #define HAVE_SQRTF 1
10321 cat >> confdefs.h <<\EOF
10322 #define HAVE_TANF 1
10325 cat >> confdefs.h <<\EOF
10326 #define HAVE_TANHF 1
10332 # At some point, we should differentiate between architectures
10333 # like x86, which have long double versions, and alpha/powerpc/etc.,
10334 # which don't. For the time being, punt.
10335 if test x"long_double_math_on_this_cpu" = x"yes"; then
10336 cat >> confdefs.h <<\EOF
10337 #define HAVE_ACOSL 1
10340 cat >> confdefs.h <<\EOF
10341 #define HAVE_ASINL 1
10344 cat >> confdefs.h <<\EOF
10345 #define HAVE_ATAN2L 1
10348 cat >> confdefs.h <<\EOF
10349 #define HAVE_ATANL 1
10352 cat >> confdefs.h <<\EOF
10353 #define HAVE_CEILL 1
10356 cat >> confdefs.h <<\EOF
10357 #define HAVE_COPYSIGNL 1
10360 cat >> confdefs.h <<\EOF
10361 #define HAVE_COSL 1
10364 cat >> confdefs.h <<\EOF
10365 #define HAVE_COSHL 1
10368 cat >> confdefs.h <<\EOF
10369 #define HAVE_EXPL 1
10372 cat >> confdefs.h <<\EOF
10373 #define HAVE_FABSL 1
10376 cat >> confdefs.h <<\EOF
10377 #define HAVE_FLOORL 1
10380 cat >> confdefs.h <<\EOF
10381 #define HAVE_FMODL 1
10384 cat >> confdefs.h <<\EOF
10385 #define HAVE_FREXPL 1
10388 cat >> confdefs.h <<\EOF
10389 #define HAVE_LDEXPL 1
10392 cat >> confdefs.h <<\EOF
10393 #define HAVE_LOG10L 1
10396 cat >> confdefs.h <<\EOF
10397 #define HAVE_LOGL 1
10400 cat >> confdefs.h <<\EOF
10401 #define HAVE_MODFL 1
10404 cat >> confdefs.h <<\EOF
10405 #define HAVE_POWL 1
10408 cat >> confdefs.h <<\EOF
10409 #define HAVE_SINCOSL 1
10412 cat >> confdefs.h <<\EOF
10413 #define HAVE_SINL 1
10416 cat >> confdefs.h <<\EOF
10417 #define HAVE_SINHL 1
10420 cat >> confdefs.h <<\EOF
10421 #define HAVE_SQRTL 1
10424 cat >> confdefs.h <<\EOF
10425 #define HAVE_TANL 1
10428 cat >> confdefs.h <<\EOF
10429 #define HAVE_TANHL 1
10436 # We are being configured natively. We can do more elaborate tests
10437 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10439 GLIBCPP_IS_CROSS_COMPILING=0
10442 # Check for available headers.
10443 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10444 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10446 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10447 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10448 echo "configure:10449: checking for $ac_hdr" >&5
10449 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10450 echo $ac_n "(cached) $ac_c" 1>&6
10452 cat > conftest.$ac_ext <<EOF
10453 #line 10454 "configure"
10454 #include "confdefs.h"
10457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10458 { (eval echo configure:10459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10460 if test -z "$ac_err"; then
10462 eval "ac_cv_header_$ac_safe=yes"
10465 echo "configure: failed program was:" >&5
10466 cat conftest.$ac_ext >&5
10468 eval "ac_cv_header_$ac_safe=no"
10472 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10473 echo "$ac_t""yes" 1>&6
10474 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10475 cat >> confdefs.h <<EOF
10476 #define $ac_tr_hdr 1
10480 echo "$ac_t""no" 1>&6
10486 # All these tests are for C++; save the language and the compiler flags.
10487 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10488 # found in GLIBCPP_CONFIGURE.
10491 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10492 ac_cpp='$CXXCPP $CPPFLAGS'
10493 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10494 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10495 cross_compiling=$ac_cv_prog_cxx_cross
10497 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10498 ac_save_CXXFLAGS="$CXXFLAGS"
10500 # Check for maintainer-mode bits.
10501 if test x"$USE_MAINTAINER_MODE" = xno; then
10507 # Check for -ffunction-sections -fdata-sections
10508 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10509 echo "configure:10510: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10510 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10511 cat > conftest.$ac_ext <<EOF
10512 #line 10513 "configure"
10513 #include "confdefs.h"
10520 if { (eval echo configure:10521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10524 echo "configure: failed program was:" >&5
10525 cat conftest.$ac_ext >&5
10530 if test "$ac_test_CXXFLAGS" = set; then
10531 CXXFLAGS="$ac_save_CXXFLAGS"
10533 # this is the suspicious part
10536 if test x"$ac_fdsections" = x"yes"; then
10537 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10539 echo "$ac_t""$ac_fdsections" 1>&6
10542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10543 ac_cpp='$CPP $CPPFLAGS'
10544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10546 cross_compiling=$ac_cv_prog_cc_cross
10552 # If we're not using GNU ld, then there's no point in even trying these
10553 # tests. Check for that first. We should have already tested for gld
10554 # by now (in libtool), but require it now just to be safe...
10555 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10556 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10559 # The name set by libtool depends on the version of libtool. Shame on us
10560 # for depending on an impl detail, but c'est la vie. Older versions used
10561 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10562 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10563 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10564 # set (hence we're using an older libtool), then set it.
10565 if test x${with_gnu_ld+set} != xset; then
10566 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10567 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10570 with_gnu_ld=$ac_cv_prog_gnu_ld
10574 # Start by getting the version number. I think the libtool test already
10575 # does some of this, but throws away the result.
10577 ldver=`$LD --version 2>/dev/null | head -1 | \
10578 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10580 glibcpp_gnu_ld_version=`echo $ldver | \
10581 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10583 # Set --gc-sections.
10584 if test "$with_gnu_ld" = "notbroken"; then
10585 # GNU ld it is! Joy and bunny rabbits!
10587 # All these tests are for C++; save the language and the compiler flags.
10588 # Need to do this so that g++ won't try to link in libstdc++
10589 ac_test_CFLAGS="${CFLAGS+set}"
10590 ac_save_CFLAGS="$CFLAGS"
10591 CFLAGS='-x c++ -Wl,--gc-sections'
10593 # Check for -Wl,--gc-sections
10594 # XXX This test is broken at the moment, as symbols required for
10595 # linking are now in libsupc++ (not built yet.....). In addition,
10596 # this test has cored on solaris in the past. In addition,
10597 # --gc-sections doesn't really work at the moment (keeps on discarding
10598 # used sections, first .eh_frame and now some of the glibc sections for
10599 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10600 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10601 echo "configure:10602: checking for ld that supports -Wl,--gc-sections" >&5
10602 if test "$cross_compiling" = yes; then
10603 ac_sectionLDflags=yes
10605 cat > conftest.$ac_ext <<EOF
10606 #line 10607 "configure"
10607 #include "confdefs.h"
10617 if { (eval echo configure:10618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10619 ac_sectionLDflags=yes
10621 echo "configure: failed program was:" >&5
10622 cat conftest.$ac_ext >&5
10624 ac_sectionLDflags=no
10629 if test "$ac_test_CFLAGS" = set; then
10630 CFLAGS="$ac_save_CFLAGS"
10632 # this is the suspicious part
10635 if test "$ac_sectionLDflags" = "yes"; then
10636 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10638 echo "$ac_t""$ac_sectionLDflags" 1>&6
10641 # Set linker optimization flags.
10642 if test x"$with_gnu_ld" = x"yes"; then
10643 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10651 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
10652 echo "configure:10653: checking for __builtin_abs declaration" >&5
10653 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10654 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10655 echo $ac_n "(cached) $ac_c" 1>&6
10660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10661 ac_cpp='$CXXCPP $CPPFLAGS'
10662 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10663 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10664 cross_compiling=$ac_cv_prog_cxx_cross
10666 cat > conftest.$ac_ext <<EOF
10667 #line 10668 "configure"
10668 #include "confdefs.h"
10674 if { (eval echo configure:10675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10676 glibcpp_cv_func___builtin_abs_use=yes
10678 echo "configure: failed program was:" >&5
10679 cat conftest.$ac_ext >&5
10681 glibcpp_cv_func___builtin_abs_use=no
10685 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10686 ac_cpp='$CPP $CPPFLAGS'
10687 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10688 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10689 cross_compiling=$ac_cv_prog_cc_cross
10695 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10696 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10697 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
10698 echo "configure:10699: checking for __builtin_abs linkage" >&5
10699 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10700 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10701 echo $ac_n "(cached) $ac_c" 1>&6
10704 cat > conftest.$ac_ext <<EOF
10705 #line 10706 "configure"
10706 #include "confdefs.h"
10712 if { (eval echo configure:10713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10714 glibcpp_cv_func___builtin_abs_link=yes
10716 echo "configure: failed program was:" >&5
10717 cat conftest.$ac_ext >&5
10719 glibcpp_cv_func___builtin_abs_link=no
10726 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10727 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10728 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10729 cat >> confdefs.h <<EOF
10730 #define ${ac_tr_func} 1
10737 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
10738 echo "configure:10739: checking for __builtin_fabsf declaration" >&5
10739 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10740 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10741 echo $ac_n "(cached) $ac_c" 1>&6
10746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10747 ac_cpp='$CXXCPP $CPPFLAGS'
10748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10750 cross_compiling=$ac_cv_prog_cxx_cross
10752 cat > conftest.$ac_ext <<EOF
10753 #line 10754 "configure"
10754 #include "confdefs.h"
10757 __builtin_fabsf(0);
10760 if { (eval echo configure:10761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10762 glibcpp_cv_func___builtin_fabsf_use=yes
10764 echo "configure: failed program was:" >&5
10765 cat conftest.$ac_ext >&5
10767 glibcpp_cv_func___builtin_fabsf_use=no
10771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10772 ac_cpp='$CPP $CPPFLAGS'
10773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10775 cross_compiling=$ac_cv_prog_cc_cross
10781 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10782 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10783 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
10784 echo "configure:10785: checking for __builtin_fabsf linkage" >&5
10785 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10786 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10787 echo $ac_n "(cached) $ac_c" 1>&6
10790 cat > conftest.$ac_ext <<EOF
10791 #line 10792 "configure"
10792 #include "confdefs.h"
10795 __builtin_fabsf(0);
10798 if { (eval echo configure:10799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10800 glibcpp_cv_func___builtin_fabsf_link=yes
10802 echo "configure: failed program was:" >&5
10803 cat conftest.$ac_ext >&5
10805 glibcpp_cv_func___builtin_fabsf_link=no
10812 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10813 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10814 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10815 cat >> confdefs.h <<EOF
10816 #define ${ac_tr_func} 1
10823 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
10824 echo "configure:10825: checking for __builtin_fabs declaration" >&5
10825 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10826 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10827 echo $ac_n "(cached) $ac_c" 1>&6
10832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10833 ac_cpp='$CXXCPP $CPPFLAGS'
10834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10836 cross_compiling=$ac_cv_prog_cxx_cross
10838 cat > conftest.$ac_ext <<EOF
10839 #line 10840 "configure"
10840 #include "confdefs.h"
10846 if { (eval echo configure:10847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10848 glibcpp_cv_func___builtin_fabs_use=yes
10850 echo "configure: failed program was:" >&5
10851 cat conftest.$ac_ext >&5
10853 glibcpp_cv_func___builtin_fabs_use=no
10857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10858 ac_cpp='$CPP $CPPFLAGS'
10859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10861 cross_compiling=$ac_cv_prog_cc_cross
10867 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10868 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10869 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
10870 echo "configure:10871: checking for __builtin_fabs linkage" >&5
10871 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10872 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10873 echo $ac_n "(cached) $ac_c" 1>&6
10876 cat > conftest.$ac_ext <<EOF
10877 #line 10878 "configure"
10878 #include "confdefs.h"
10884 if { (eval echo configure:10885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10886 glibcpp_cv_func___builtin_fabs_link=yes
10888 echo "configure: failed program was:" >&5
10889 cat conftest.$ac_ext >&5
10891 glibcpp_cv_func___builtin_fabs_link=no
10898 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10899 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10900 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10901 cat >> confdefs.h <<EOF
10902 #define ${ac_tr_func} 1
10909 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
10910 echo "configure:10911: checking for __builtin_fabsl declaration" >&5
10911 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10912 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10913 echo $ac_n "(cached) $ac_c" 1>&6
10918 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10919 ac_cpp='$CXXCPP $CPPFLAGS'
10920 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10921 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10922 cross_compiling=$ac_cv_prog_cxx_cross
10924 cat > conftest.$ac_ext <<EOF
10925 #line 10926 "configure"
10926 #include "confdefs.h"
10929 __builtin_fabsl(0);
10932 if { (eval echo configure:10933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10934 glibcpp_cv_func___builtin_fabsl_use=yes
10936 echo "configure: failed program was:" >&5
10937 cat conftest.$ac_ext >&5
10939 glibcpp_cv_func___builtin_fabsl_use=no
10943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10944 ac_cpp='$CPP $CPPFLAGS'
10945 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10946 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10947 cross_compiling=$ac_cv_prog_cc_cross
10953 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
10954 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
10955 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
10956 echo "configure:10957: checking for __builtin_fabsl linkage" >&5
10957 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
10958 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
10959 echo $ac_n "(cached) $ac_c" 1>&6
10962 cat > conftest.$ac_ext <<EOF
10963 #line 10964 "configure"
10964 #include "confdefs.h"
10967 __builtin_fabsl(0);
10970 if { (eval echo configure:10971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10972 glibcpp_cv_func___builtin_fabsl_link=yes
10974 echo "configure: failed program was:" >&5
10975 cat conftest.$ac_ext >&5
10977 glibcpp_cv_func___builtin_fabsl_link=no
10984 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
10985 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
10986 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10987 cat >> confdefs.h <<EOF
10988 #define ${ac_tr_func} 1
10995 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
10996 echo "configure:10997: checking for __builtin_labs declaration" >&5
10997 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
10998 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
10999 echo $ac_n "(cached) $ac_c" 1>&6
11004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11005 ac_cpp='$CXXCPP $CPPFLAGS'
11006 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11007 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11008 cross_compiling=$ac_cv_prog_cxx_cross
11010 cat > conftest.$ac_ext <<EOF
11011 #line 11012 "configure"
11012 #include "confdefs.h"
11018 if { (eval echo configure:11019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11020 glibcpp_cv_func___builtin_labs_use=yes
11022 echo "configure: failed program was:" >&5
11023 cat conftest.$ac_ext >&5
11025 glibcpp_cv_func___builtin_labs_use=no
11029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11030 ac_cpp='$CPP $CPPFLAGS'
11031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11033 cross_compiling=$ac_cv_prog_cc_cross
11039 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
11040 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
11041 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
11042 echo "configure:11043: checking for __builtin_labs linkage" >&5
11043 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
11044 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
11045 echo $ac_n "(cached) $ac_c" 1>&6
11048 cat > conftest.$ac_ext <<EOF
11049 #line 11050 "configure"
11050 #include "confdefs.h"
11056 if { (eval echo configure:11057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11058 glibcpp_cv_func___builtin_labs_link=yes
11060 echo "configure: failed program was:" >&5
11061 cat conftest.$ac_ext >&5
11063 glibcpp_cv_func___builtin_labs_link=no
11070 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
11071 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
11072 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11073 cat >> confdefs.h <<EOF
11074 #define ${ac_tr_func} 1
11082 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
11083 echo "configure:11084: checking for __builtin_sqrtf declaration" >&5
11084 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
11085 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
11086 echo $ac_n "(cached) $ac_c" 1>&6
11091 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11092 ac_cpp='$CXXCPP $CPPFLAGS'
11093 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11094 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11095 cross_compiling=$ac_cv_prog_cxx_cross
11097 cat > conftest.$ac_ext <<EOF
11098 #line 11099 "configure"
11099 #include "confdefs.h"
11102 __builtin_sqrtf(0);
11105 if { (eval echo configure:11106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11107 glibcpp_cv_func___builtin_sqrtf_use=yes
11109 echo "configure: failed program was:" >&5
11110 cat conftest.$ac_ext >&5
11112 glibcpp_cv_func___builtin_sqrtf_use=no
11116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11117 ac_cpp='$CPP $CPPFLAGS'
11118 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11119 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11120 cross_compiling=$ac_cv_prog_cc_cross
11126 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
11127 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
11128 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
11129 echo "configure:11130: checking for __builtin_sqrtf linkage" >&5
11130 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
11131 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
11132 echo $ac_n "(cached) $ac_c" 1>&6
11135 cat > conftest.$ac_ext <<EOF
11136 #line 11137 "configure"
11137 #include "confdefs.h"
11140 __builtin_sqrtf(0);
11143 if { (eval echo configure:11144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11145 glibcpp_cv_func___builtin_sqrtf_link=yes
11147 echo "configure: failed program was:" >&5
11148 cat conftest.$ac_ext >&5
11150 glibcpp_cv_func___builtin_sqrtf_link=no
11157 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11158 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11159 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11160 cat >> confdefs.h <<EOF
11161 #define ${ac_tr_func} 1
11168 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
11169 echo "configure:11170: checking for __builtin_sqrt declaration" >&5
11170 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11171 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11172 echo $ac_n "(cached) $ac_c" 1>&6
11177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11178 ac_cpp='$CXXCPP $CPPFLAGS'
11179 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11180 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11181 cross_compiling=$ac_cv_prog_cxx_cross
11183 cat > conftest.$ac_ext <<EOF
11184 #line 11185 "configure"
11185 #include "confdefs.h"
11191 if { (eval echo configure:11192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11193 glibcpp_cv_func___builtin_sqrt_use=yes
11195 echo "configure: failed program was:" >&5
11196 cat conftest.$ac_ext >&5
11198 glibcpp_cv_func___builtin_sqrt_use=no
11202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11203 ac_cpp='$CPP $CPPFLAGS'
11204 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11205 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11206 cross_compiling=$ac_cv_prog_cc_cross
11212 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11213 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11214 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
11215 echo "configure:11216: checking for __builtin_sqrt linkage" >&5
11216 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11217 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11218 echo $ac_n "(cached) $ac_c" 1>&6
11221 cat > conftest.$ac_ext <<EOF
11222 #line 11223 "configure"
11223 #include "confdefs.h"
11229 if { (eval echo configure:11230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11231 glibcpp_cv_func___builtin_sqrt_link=yes
11233 echo "configure: failed program was:" >&5
11234 cat conftest.$ac_ext >&5
11236 glibcpp_cv_func___builtin_sqrt_link=no
11243 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11244 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11245 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11246 cat >> confdefs.h <<EOF
11247 #define ${ac_tr_func} 1
11254 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
11255 echo "configure:11256: checking for __builtin_sqrtl declaration" >&5
11256 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11257 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11258 echo $ac_n "(cached) $ac_c" 1>&6
11263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11264 ac_cpp='$CXXCPP $CPPFLAGS'
11265 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11266 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11267 cross_compiling=$ac_cv_prog_cxx_cross
11269 cat > conftest.$ac_ext <<EOF
11270 #line 11271 "configure"
11271 #include "confdefs.h"
11274 __builtin_sqrtl(0);
11277 if { (eval echo configure:11278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11279 glibcpp_cv_func___builtin_sqrtl_use=yes
11281 echo "configure: failed program was:" >&5
11282 cat conftest.$ac_ext >&5
11284 glibcpp_cv_func___builtin_sqrtl_use=no
11288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11289 ac_cpp='$CPP $CPPFLAGS'
11290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11292 cross_compiling=$ac_cv_prog_cc_cross
11298 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11299 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11300 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
11301 echo "configure:11302: checking for __builtin_sqrtl linkage" >&5
11302 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11303 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11304 echo $ac_n "(cached) $ac_c" 1>&6
11307 cat > conftest.$ac_ext <<EOF
11308 #line 11309 "configure"
11309 #include "confdefs.h"
11312 __builtin_sqrtl(0);
11315 if { (eval echo configure:11316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11317 glibcpp_cv_func___builtin_sqrtl_link=yes
11319 echo "configure: failed program was:" >&5
11320 cat conftest.$ac_ext >&5
11322 glibcpp_cv_func___builtin_sqrtl_link=no
11329 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11330 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11331 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11332 cat >> confdefs.h <<EOF
11333 #define ${ac_tr_func} 1
11341 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
11342 echo "configure:11343: checking for __builtin_sinf declaration" >&5
11343 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11344 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11345 echo $ac_n "(cached) $ac_c" 1>&6
11350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11351 ac_cpp='$CXXCPP $CPPFLAGS'
11352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11354 cross_compiling=$ac_cv_prog_cxx_cross
11356 cat > conftest.$ac_ext <<EOF
11357 #line 11358 "configure"
11358 #include "confdefs.h"
11364 if { (eval echo configure:11365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11366 glibcpp_cv_func___builtin_sinf_use=yes
11368 echo "configure: failed program was:" >&5
11369 cat conftest.$ac_ext >&5
11371 glibcpp_cv_func___builtin_sinf_use=no
11375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11376 ac_cpp='$CPP $CPPFLAGS'
11377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11379 cross_compiling=$ac_cv_prog_cc_cross
11385 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11386 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11387 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
11388 echo "configure:11389: checking for __builtin_sinf linkage" >&5
11389 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11390 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11391 echo $ac_n "(cached) $ac_c" 1>&6
11394 cat > conftest.$ac_ext <<EOF
11395 #line 11396 "configure"
11396 #include "confdefs.h"
11402 if { (eval echo configure:11403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11404 glibcpp_cv_func___builtin_sinf_link=yes
11406 echo "configure: failed program was:" >&5
11407 cat conftest.$ac_ext >&5
11409 glibcpp_cv_func___builtin_sinf_link=no
11416 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11417 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11418 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11419 cat >> confdefs.h <<EOF
11420 #define ${ac_tr_func} 1
11427 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
11428 echo "configure:11429: checking for __builtin_sin declaration" >&5
11429 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11430 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11431 echo $ac_n "(cached) $ac_c" 1>&6
11436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11437 ac_cpp='$CXXCPP $CPPFLAGS'
11438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11440 cross_compiling=$ac_cv_prog_cxx_cross
11442 cat > conftest.$ac_ext <<EOF
11443 #line 11444 "configure"
11444 #include "confdefs.h"
11450 if { (eval echo configure:11451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11452 glibcpp_cv_func___builtin_sin_use=yes
11454 echo "configure: failed program was:" >&5
11455 cat conftest.$ac_ext >&5
11457 glibcpp_cv_func___builtin_sin_use=no
11461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11462 ac_cpp='$CPP $CPPFLAGS'
11463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11465 cross_compiling=$ac_cv_prog_cc_cross
11471 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11472 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11473 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
11474 echo "configure:11475: checking for __builtin_sin linkage" >&5
11475 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11476 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11477 echo $ac_n "(cached) $ac_c" 1>&6
11480 cat > conftest.$ac_ext <<EOF
11481 #line 11482 "configure"
11482 #include "confdefs.h"
11488 if { (eval echo configure:11489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11490 glibcpp_cv_func___builtin_sin_link=yes
11492 echo "configure: failed program was:" >&5
11493 cat conftest.$ac_ext >&5
11495 glibcpp_cv_func___builtin_sin_link=no
11502 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11503 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11504 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11505 cat >> confdefs.h <<EOF
11506 #define ${ac_tr_func} 1
11513 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
11514 echo "configure:11515: checking for __builtin_sinl declaration" >&5
11515 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11516 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
11517 echo $ac_n "(cached) $ac_c" 1>&6
11522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11523 ac_cpp='$CXXCPP $CPPFLAGS'
11524 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11525 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11526 cross_compiling=$ac_cv_prog_cxx_cross
11528 cat > conftest.$ac_ext <<EOF
11529 #line 11530 "configure"
11530 #include "confdefs.h"
11536 if { (eval echo configure:11537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11538 glibcpp_cv_func___builtin_sinl_use=yes
11540 echo "configure: failed program was:" >&5
11541 cat conftest.$ac_ext >&5
11543 glibcpp_cv_func___builtin_sinl_use=no
11547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11548 ac_cpp='$CPP $CPPFLAGS'
11549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11551 cross_compiling=$ac_cv_prog_cc_cross
11557 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
11558 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11559 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
11560 echo "configure:11561: checking for __builtin_sinl linkage" >&5
11561 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11562 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11563 echo $ac_n "(cached) $ac_c" 1>&6
11566 cat > conftest.$ac_ext <<EOF
11567 #line 11568 "configure"
11568 #include "confdefs.h"
11574 if { (eval echo configure:11575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11576 glibcpp_cv_func___builtin_sinl_link=yes
11578 echo "configure: failed program was:" >&5
11579 cat conftest.$ac_ext >&5
11581 glibcpp_cv_func___builtin_sinl_link=no
11588 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11589 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11590 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11591 cat >> confdefs.h <<EOF
11592 #define ${ac_tr_func} 1
11600 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
11601 echo "configure:11602: checking for __builtin_cosf declaration" >&5
11602 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11603 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11604 echo $ac_n "(cached) $ac_c" 1>&6
11609 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11610 ac_cpp='$CXXCPP $CPPFLAGS'
11611 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11612 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11613 cross_compiling=$ac_cv_prog_cxx_cross
11615 cat > conftest.$ac_ext <<EOF
11616 #line 11617 "configure"
11617 #include "confdefs.h"
11623 if { (eval echo configure:11624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11625 glibcpp_cv_func___builtin_cosf_use=yes
11627 echo "configure: failed program was:" >&5
11628 cat conftest.$ac_ext >&5
11630 glibcpp_cv_func___builtin_cosf_use=no
11634 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11635 ac_cpp='$CPP $CPPFLAGS'
11636 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11637 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11638 cross_compiling=$ac_cv_prog_cc_cross
11644 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11645 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11646 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
11647 echo "configure:11648: checking for __builtin_cosf linkage" >&5
11648 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11649 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11650 echo $ac_n "(cached) $ac_c" 1>&6
11653 cat > conftest.$ac_ext <<EOF
11654 #line 11655 "configure"
11655 #include "confdefs.h"
11661 if { (eval echo configure:11662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11663 glibcpp_cv_func___builtin_cosf_link=yes
11665 echo "configure: failed program was:" >&5
11666 cat conftest.$ac_ext >&5
11668 glibcpp_cv_func___builtin_cosf_link=no
11675 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11676 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11677 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11678 cat >> confdefs.h <<EOF
11679 #define ${ac_tr_func} 1
11686 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
11687 echo "configure:11688: checking for __builtin_cos declaration" >&5
11688 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11689 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11690 echo $ac_n "(cached) $ac_c" 1>&6
11695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11696 ac_cpp='$CXXCPP $CPPFLAGS'
11697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11699 cross_compiling=$ac_cv_prog_cxx_cross
11701 cat > conftest.$ac_ext <<EOF
11702 #line 11703 "configure"
11703 #include "confdefs.h"
11709 if { (eval echo configure:11710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11711 glibcpp_cv_func___builtin_cos_use=yes
11713 echo "configure: failed program was:" >&5
11714 cat conftest.$ac_ext >&5
11716 glibcpp_cv_func___builtin_cos_use=no
11720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11721 ac_cpp='$CPP $CPPFLAGS'
11722 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11723 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11724 cross_compiling=$ac_cv_prog_cc_cross
11730 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11731 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11732 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
11733 echo "configure:11734: checking for __builtin_cos linkage" >&5
11734 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11735 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11736 echo $ac_n "(cached) $ac_c" 1>&6
11739 cat > conftest.$ac_ext <<EOF
11740 #line 11741 "configure"
11741 #include "confdefs.h"
11747 if { (eval echo configure:11748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11749 glibcpp_cv_func___builtin_cos_link=yes
11751 echo "configure: failed program was:" >&5
11752 cat conftest.$ac_ext >&5
11754 glibcpp_cv_func___builtin_cos_link=no
11761 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11762 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11763 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11764 cat >> confdefs.h <<EOF
11765 #define ${ac_tr_func} 1
11772 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
11773 echo "configure:11774: checking for __builtin_cosl declaration" >&5
11774 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11775 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11776 echo $ac_n "(cached) $ac_c" 1>&6
11781 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11782 ac_cpp='$CXXCPP $CPPFLAGS'
11783 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11784 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11785 cross_compiling=$ac_cv_prog_cxx_cross
11787 cat > conftest.$ac_ext <<EOF
11788 #line 11789 "configure"
11789 #include "confdefs.h"
11795 if { (eval echo configure:11796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11797 glibcpp_cv_func___builtin_cosl_use=yes
11799 echo "configure: failed program was:" >&5
11800 cat conftest.$ac_ext >&5
11802 glibcpp_cv_func___builtin_cosl_use=no
11806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11809 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11810 cross_compiling=$ac_cv_prog_cc_cross
11816 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11817 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11818 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
11819 echo "configure:11820: checking for __builtin_cosl linkage" >&5
11820 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11821 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11822 echo $ac_n "(cached) $ac_c" 1>&6
11825 cat > conftest.$ac_ext <<EOF
11826 #line 11827 "configure"
11827 #include "confdefs.h"
11833 if { (eval echo configure:11834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11835 glibcpp_cv_func___builtin_cosl_link=yes
11837 echo "configure: failed program was:" >&5
11838 cat conftest.$ac_ext >&5
11840 glibcpp_cv_func___builtin_cosl_link=no
11847 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11848 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11849 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11850 cat >> confdefs.h <<EOF
11851 #define ${ac_tr_func} 1
11859 if test x$dummyvar = x"yes"; then
11860 cat >> confdefs.h <<\EOF
11861 #define HAVE___BUILTIN_ABS 1
11864 cat >> confdefs.h <<\EOF
11865 #define HAVE___BUILTIN_LABS 1
11868 cat >> confdefs.h <<\EOF
11869 #define HAVE___BUILTIN_COS 1
11872 cat >> confdefs.h <<\EOF
11873 #define HAVE___BUILTIN_COSF 1
11876 cat >> confdefs.h <<\EOF
11877 #define HAVE___BUILTIN_COSL 1
11880 cat >> confdefs.h <<\EOF
11881 #define HAVE___BUILTIN_FABS 1
11884 cat >> confdefs.h <<\EOF
11885 #define HAVE___BUILTIN_FABSF 1
11888 cat >> confdefs.h <<\EOF
11889 #define HAVE___BUILTIN_FABSL 1
11892 cat >> confdefs.h <<\EOF
11893 #define HAVE___BUILTIN_SIN 1
11896 cat >> confdefs.h <<\EOF
11897 #define HAVE___BUILTIN_SINF 1
11900 cat >> confdefs.h <<\EOF
11901 #define HAVE___BUILTIN_SINL 1
11904 cat >> confdefs.h <<\EOF
11905 #define HAVE___BUILTIN_SQRT 1
11908 cat >> confdefs.h <<\EOF
11909 #define HAVE___BUILTIN_SQRTF 1
11912 cat >> confdefs.h <<\EOF
11913 #define HAVE___BUILTIN_SQRTL 1
11919 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11920 ac_save_CXXFLAGS="$CXXFLAGS"
11921 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
11923 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
11924 echo "configure:11925: checking for sin in -lm" >&5
11925 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11926 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11927 echo $ac_n "(cached) $ac_c" 1>&6
11929 ac_save_LIBS="$LIBS"
11931 cat > conftest.$ac_ext <<EOF
11932 #line 11933 "configure"
11933 #include "confdefs.h"
11934 /* Override any gcc2 internal prototype to avoid an error. */
11935 /* We use char because int might match the return type of a gcc2
11936 builtin and then its argument prototype would still apply. */
11943 if { (eval echo configure:11944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11945 eval "ac_cv_lib_$ac_lib_var=yes"
11947 echo "configure: failed program was:" >&5
11948 cat conftest.$ac_ext >&5
11950 eval "ac_cv_lib_$ac_lib_var=no"
11953 LIBS="$ac_save_LIBS"
11956 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11957 echo "$ac_t""yes" 1>&6
11960 echo "$ac_t""no" 1>&6
11963 ac_save_LIBS="$LIBS"
11968 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
11969 echo "configure:11970: checking for isinf declaration" >&5
11970 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
11971 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
11972 echo $ac_n "(cached) $ac_c" 1>&6
11977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11978 ac_cpp='$CXXCPP $CPPFLAGS'
11979 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11980 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11981 cross_compiling=$ac_cv_prog_cxx_cross
11983 cat > conftest.$ac_ext <<EOF
11984 #line 11985 "configure"
11985 #include "confdefs.h"
11987 #ifdef HAVE_IEEEFP_H
11988 #include <ieeefp.h>
11995 if { (eval echo configure:11996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11997 glibcpp_cv_func_isinf_use=yes
11999 echo "configure: failed program was:" >&5
12000 cat conftest.$ac_ext >&5
12002 glibcpp_cv_func_isinf_use=no
12006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12007 ac_cpp='$CPP $CPPFLAGS'
12008 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12009 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12010 cross_compiling=$ac_cv_prog_cc_cross
12016 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
12018 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
12019 for ac_func in isinf
12021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12022 echo "configure:12023: checking for $ac_func" >&5
12023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12024 echo $ac_n "(cached) $ac_c" 1>&6
12026 cat > conftest.$ac_ext <<EOF
12027 #line 12028 "configure"
12028 #include "confdefs.h"
12029 /* System header to define __stub macros and hopefully few prototypes,
12030 which can conflict with char $ac_func(); below. */
12031 #include <assert.h>
12032 /* Override any gcc2 internal prototype to avoid an error. */
12033 /* We use char because int might match the return type of a gcc2
12034 builtin and then its argument prototype would still apply. */
12039 /* The GNU C library defines this for functions which it implements
12040 to always fail with ENOSYS. Some functions are actually named
12041 something starting with __ and the normal name is an alias. */
12042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12050 if { (eval echo configure:12051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12052 eval "ac_cv_func_$ac_func=yes"
12054 echo "configure: failed program was:" >&5
12055 cat conftest.$ac_ext >&5
12057 eval "ac_cv_func_$ac_func=no"
12062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12063 echo "$ac_t""yes" 1>&6
12064 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12065 cat >> confdefs.h <<EOF
12066 #define $ac_tr_func 1
12070 echo "$ac_t""no" 1>&6
12076 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
12077 echo "configure:12078: checking for _isinf declaration" >&5
12078 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
12079 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
12080 echo $ac_n "(cached) $ac_c" 1>&6
12085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12086 ac_cpp='$CXXCPP $CPPFLAGS'
12087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12089 cross_compiling=$ac_cv_prog_cxx_cross
12091 cat > conftest.$ac_ext <<EOF
12092 #line 12093 "configure"
12093 #include "confdefs.h"
12095 #ifdef HAVE_IEEEFP_H
12096 #include <ieeefp.h>
12103 if { (eval echo configure:12104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12105 glibcpp_cv_func__isinf_use=yes
12107 echo "configure: failed program was:" >&5
12108 cat conftest.$ac_ext >&5
12110 glibcpp_cv_func__isinf_use=no
12114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12115 ac_cpp='$CPP $CPPFLAGS'
12116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12118 cross_compiling=$ac_cv_prog_cc_cross
12124 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
12126 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
12127 for ac_func in _isinf
12129 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12130 echo "configure:12131: checking for $ac_func" >&5
12131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12132 echo $ac_n "(cached) $ac_c" 1>&6
12134 cat > conftest.$ac_ext <<EOF
12135 #line 12136 "configure"
12136 #include "confdefs.h"
12137 /* System header to define __stub macros and hopefully few prototypes,
12138 which can conflict with char $ac_func(); below. */
12139 #include <assert.h>
12140 /* Override any gcc2 internal prototype to avoid an error. */
12141 /* We use char because int might match the return type of a gcc2
12142 builtin and then its argument prototype would still apply. */
12147 /* The GNU C library defines this for functions which it implements
12148 to always fail with ENOSYS. Some functions are actually named
12149 something starting with __ and the normal name is an alias. */
12150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12158 if { (eval echo configure:12159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12160 eval "ac_cv_func_$ac_func=yes"
12162 echo "configure: failed program was:" >&5
12163 cat conftest.$ac_ext >&5
12165 eval "ac_cv_func_$ac_func=no"
12170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12171 echo "$ac_t""yes" 1>&6
12172 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12173 cat >> confdefs.h <<EOF
12174 #define $ac_tr_func 1
12178 echo "$ac_t""no" 1>&6
12187 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
12188 echo "configure:12189: checking for isnan declaration" >&5
12189 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12190 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12191 echo $ac_n "(cached) $ac_c" 1>&6
12196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12197 ac_cpp='$CXXCPP $CPPFLAGS'
12198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12200 cross_compiling=$ac_cv_prog_cxx_cross
12202 cat > conftest.$ac_ext <<EOF
12203 #line 12204 "configure"
12204 #include "confdefs.h"
12206 #ifdef HAVE_IEEEFP_H
12207 #include <ieeefp.h>
12214 if { (eval echo configure:12215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12216 glibcpp_cv_func_isnan_use=yes
12218 echo "configure: failed program was:" >&5
12219 cat conftest.$ac_ext >&5
12221 glibcpp_cv_func_isnan_use=no
12225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12226 ac_cpp='$CPP $CPPFLAGS'
12227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12229 cross_compiling=$ac_cv_prog_cc_cross
12235 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12237 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12238 for ac_func in isnan
12240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12241 echo "configure:12242: checking for $ac_func" >&5
12242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12243 echo $ac_n "(cached) $ac_c" 1>&6
12245 cat > conftest.$ac_ext <<EOF
12246 #line 12247 "configure"
12247 #include "confdefs.h"
12248 /* System header to define __stub macros and hopefully few prototypes,
12249 which can conflict with char $ac_func(); below. */
12250 #include <assert.h>
12251 /* Override any gcc2 internal prototype to avoid an error. */
12252 /* We use char because int might match the return type of a gcc2
12253 builtin and then its argument prototype would still apply. */
12258 /* The GNU C library defines this for functions which it implements
12259 to always fail with ENOSYS. Some functions are actually named
12260 something starting with __ and the normal name is an alias. */
12261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12269 if { (eval echo configure:12270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12271 eval "ac_cv_func_$ac_func=yes"
12273 echo "configure: failed program was:" >&5
12274 cat conftest.$ac_ext >&5
12276 eval "ac_cv_func_$ac_func=no"
12281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12282 echo "$ac_t""yes" 1>&6
12283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12284 cat >> confdefs.h <<EOF
12285 #define $ac_tr_func 1
12289 echo "$ac_t""no" 1>&6
12295 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
12296 echo "configure:12297: checking for _isnan declaration" >&5
12297 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12298 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12299 echo $ac_n "(cached) $ac_c" 1>&6
12304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12305 ac_cpp='$CXXCPP $CPPFLAGS'
12306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12308 cross_compiling=$ac_cv_prog_cxx_cross
12310 cat > conftest.$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12314 #ifdef HAVE_IEEEFP_H
12315 #include <ieeefp.h>
12322 if { (eval echo configure:12323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12324 glibcpp_cv_func__isnan_use=yes
12326 echo "configure: failed program was:" >&5
12327 cat conftest.$ac_ext >&5
12329 glibcpp_cv_func__isnan_use=no
12333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12334 ac_cpp='$CPP $CPPFLAGS'
12335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12337 cross_compiling=$ac_cv_prog_cc_cross
12343 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12345 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12346 for ac_func in _isnan
12348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12349 echo "configure:12350: checking for $ac_func" >&5
12350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12351 echo $ac_n "(cached) $ac_c" 1>&6
12353 cat > conftest.$ac_ext <<EOF
12354 #line 12355 "configure"
12355 #include "confdefs.h"
12356 /* System header to define __stub macros and hopefully few prototypes,
12357 which can conflict with char $ac_func(); below. */
12358 #include <assert.h>
12359 /* Override any gcc2 internal prototype to avoid an error. */
12360 /* We use char because int might match the return type of a gcc2
12361 builtin and then its argument prototype would still apply. */
12366 /* The GNU C library defines this for functions which it implements
12367 to always fail with ENOSYS. Some functions are actually named
12368 something starting with __ and the normal name is an alias. */
12369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12377 if { (eval echo configure:12378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12379 eval "ac_cv_func_$ac_func=yes"
12381 echo "configure: failed program was:" >&5
12382 cat conftest.$ac_ext >&5
12384 eval "ac_cv_func_$ac_func=no"
12389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12390 echo "$ac_t""yes" 1>&6
12391 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12392 cat >> confdefs.h <<EOF
12393 #define $ac_tr_func 1
12397 echo "$ac_t""no" 1>&6
12406 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
12407 echo "configure:12408: checking for finite declaration" >&5
12408 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12409 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12410 echo $ac_n "(cached) $ac_c" 1>&6
12415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12416 ac_cpp='$CXXCPP $CPPFLAGS'
12417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12419 cross_compiling=$ac_cv_prog_cxx_cross
12421 cat > conftest.$ac_ext <<EOF
12422 #line 12423 "configure"
12423 #include "confdefs.h"
12425 #ifdef HAVE_IEEEFP_H
12426 #include <ieeefp.h>
12433 if { (eval echo configure:12434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12435 glibcpp_cv_func_finite_use=yes
12437 echo "configure: failed program was:" >&5
12438 cat conftest.$ac_ext >&5
12440 glibcpp_cv_func_finite_use=no
12444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12445 ac_cpp='$CPP $CPPFLAGS'
12446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12448 cross_compiling=$ac_cv_prog_cc_cross
12454 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12456 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12457 for ac_func in finite
12459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12460 echo "configure:12461: checking for $ac_func" >&5
12461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12462 echo $ac_n "(cached) $ac_c" 1>&6
12464 cat > conftest.$ac_ext <<EOF
12465 #line 12466 "configure"
12466 #include "confdefs.h"
12467 /* System header to define __stub macros and hopefully few prototypes,
12468 which can conflict with char $ac_func(); below. */
12469 #include <assert.h>
12470 /* Override any gcc2 internal prototype to avoid an error. */
12471 /* We use char because int might match the return type of a gcc2
12472 builtin and then its argument prototype would still apply. */
12477 /* The GNU C library defines this for functions which it implements
12478 to always fail with ENOSYS. Some functions are actually named
12479 something starting with __ and the normal name is an alias. */
12480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12488 if { (eval echo configure:12489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12490 eval "ac_cv_func_$ac_func=yes"
12492 echo "configure: failed program was:" >&5
12493 cat conftest.$ac_ext >&5
12495 eval "ac_cv_func_$ac_func=no"
12500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12501 echo "$ac_t""yes" 1>&6
12502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12503 cat >> confdefs.h <<EOF
12504 #define $ac_tr_func 1
12508 echo "$ac_t""no" 1>&6
12514 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
12515 echo "configure:12516: checking for _finite declaration" >&5
12516 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12517 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12518 echo $ac_n "(cached) $ac_c" 1>&6
12523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12524 ac_cpp='$CXXCPP $CPPFLAGS'
12525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12527 cross_compiling=$ac_cv_prog_cxx_cross
12529 cat > conftest.$ac_ext <<EOF
12530 #line 12531 "configure"
12531 #include "confdefs.h"
12533 #ifdef HAVE_IEEEFP_H
12534 #include <ieeefp.h>
12541 if { (eval echo configure:12542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12543 glibcpp_cv_func__finite_use=yes
12545 echo "configure: failed program was:" >&5
12546 cat conftest.$ac_ext >&5
12548 glibcpp_cv_func__finite_use=no
12552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12553 ac_cpp='$CPP $CPPFLAGS'
12554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12556 cross_compiling=$ac_cv_prog_cc_cross
12562 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12564 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12565 for ac_func in _finite
12567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12568 echo "configure:12569: checking for $ac_func" >&5
12569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12570 echo $ac_n "(cached) $ac_c" 1>&6
12572 cat > conftest.$ac_ext <<EOF
12573 #line 12574 "configure"
12574 #include "confdefs.h"
12575 /* System header to define __stub macros and hopefully few prototypes,
12576 which can conflict with char $ac_func(); below. */
12577 #include <assert.h>
12578 /* Override any gcc2 internal prototype to avoid an error. */
12579 /* We use char because int might match the return type of a gcc2
12580 builtin and then its argument prototype would still apply. */
12585 /* The GNU C library defines this for functions which it implements
12586 to always fail with ENOSYS. Some functions are actually named
12587 something starting with __ and the normal name is an alias. */
12588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12596 if { (eval echo configure:12597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12598 eval "ac_cv_func_$ac_func=yes"
12600 echo "configure: failed program was:" >&5
12601 cat conftest.$ac_ext >&5
12603 eval "ac_cv_func_$ac_func=no"
12608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12609 echo "$ac_t""yes" 1>&6
12610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12611 cat >> confdefs.h <<EOF
12612 #define $ac_tr_func 1
12616 echo "$ac_t""no" 1>&6
12625 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
12626 echo "configure:12627: checking for copysign declaration" >&5
12627 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12628 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12629 echo $ac_n "(cached) $ac_c" 1>&6
12634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12635 ac_cpp='$CXXCPP $CPPFLAGS'
12636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12638 cross_compiling=$ac_cv_prog_cxx_cross
12640 cat > conftest.$ac_ext <<EOF
12641 #line 12642 "configure"
12642 #include "confdefs.h"
12648 if { (eval echo configure:12649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12650 glibcpp_cv_func_copysign_use=yes
12652 echo "configure: failed program was:" >&5
12653 cat conftest.$ac_ext >&5
12655 glibcpp_cv_func_copysign_use=no
12659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12660 ac_cpp='$CPP $CPPFLAGS'
12661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12663 cross_compiling=$ac_cv_prog_cc_cross
12669 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12671 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12672 for ac_func in copysign
12674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12675 echo "configure:12676: checking for $ac_func" >&5
12676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12677 echo $ac_n "(cached) $ac_c" 1>&6
12679 cat > conftest.$ac_ext <<EOF
12680 #line 12681 "configure"
12681 #include "confdefs.h"
12682 /* System header to define __stub macros and hopefully few prototypes,
12683 which can conflict with char $ac_func(); below. */
12684 #include <assert.h>
12685 /* Override any gcc2 internal prototype to avoid an error. */
12686 /* We use char because int might match the return type of a gcc2
12687 builtin and then its argument prototype would still apply. */
12692 /* The GNU C library defines this for functions which it implements
12693 to always fail with ENOSYS. Some functions are actually named
12694 something starting with __ and the normal name is an alias. */
12695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12703 if { (eval echo configure:12704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12705 eval "ac_cv_func_$ac_func=yes"
12707 echo "configure: failed program was:" >&5
12708 cat conftest.$ac_ext >&5
12710 eval "ac_cv_func_$ac_func=no"
12715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12716 echo "$ac_t""yes" 1>&6
12717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12718 cat >> confdefs.h <<EOF
12719 #define $ac_tr_func 1
12723 echo "$ac_t""no" 1>&6
12729 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
12730 echo "configure:12731: checking for _copysign declaration" >&5
12731 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12732 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12733 echo $ac_n "(cached) $ac_c" 1>&6
12738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12739 ac_cpp='$CXXCPP $CPPFLAGS'
12740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12742 cross_compiling=$ac_cv_prog_cxx_cross
12744 cat > conftest.$ac_ext <<EOF
12745 #line 12746 "configure"
12746 #include "confdefs.h"
12752 if { (eval echo configure:12753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12754 glibcpp_cv_func__copysign_use=yes
12756 echo "configure: failed program was:" >&5
12757 cat conftest.$ac_ext >&5
12759 glibcpp_cv_func__copysign_use=no
12763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12764 ac_cpp='$CPP $CPPFLAGS'
12765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12767 cross_compiling=$ac_cv_prog_cc_cross
12773 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12775 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12776 for ac_func in _copysign
12778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12779 echo "configure:12780: checking for $ac_func" >&5
12780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12781 echo $ac_n "(cached) $ac_c" 1>&6
12783 cat > conftest.$ac_ext <<EOF
12784 #line 12785 "configure"
12785 #include "confdefs.h"
12786 /* System header to define __stub macros and hopefully few prototypes,
12787 which can conflict with char $ac_func(); below. */
12788 #include <assert.h>
12789 /* Override any gcc2 internal prototype to avoid an error. */
12790 /* We use char because int might match the return type of a gcc2
12791 builtin and then its argument prototype would still apply. */
12796 /* The GNU C library defines this for functions which it implements
12797 to always fail with ENOSYS. Some functions are actually named
12798 something starting with __ and the normal name is an alias. */
12799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12807 if { (eval echo configure:12808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12809 eval "ac_cv_func_$ac_func=yes"
12811 echo "configure: failed program was:" >&5
12812 cat conftest.$ac_ext >&5
12814 eval "ac_cv_func_$ac_func=no"
12819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12820 echo "$ac_t""yes" 1>&6
12821 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12822 cat >> confdefs.h <<EOF
12823 #define $ac_tr_func 1
12827 echo "$ac_t""no" 1>&6
12836 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
12837 echo "configure:12838: checking for sincos declaration" >&5
12838 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12839 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12840 echo $ac_n "(cached) $ac_c" 1>&6
12845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12846 ac_cpp='$CXXCPP $CPPFLAGS'
12847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12849 cross_compiling=$ac_cv_prog_cxx_cross
12851 cat > conftest.$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12859 if { (eval echo configure:12860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12861 glibcpp_cv_func_sincos_use=yes
12863 echo "configure: failed program was:" >&5
12864 cat conftest.$ac_ext >&5
12866 glibcpp_cv_func_sincos_use=no
12870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12871 ac_cpp='$CPP $CPPFLAGS'
12872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12874 cross_compiling=$ac_cv_prog_cc_cross
12880 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12882 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12883 for ac_func in sincos
12885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12886 echo "configure:12887: checking for $ac_func" >&5
12887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12888 echo $ac_n "(cached) $ac_c" 1>&6
12890 cat > conftest.$ac_ext <<EOF
12891 #line 12892 "configure"
12892 #include "confdefs.h"
12893 /* System header to define __stub macros and hopefully few prototypes,
12894 which can conflict with char $ac_func(); below. */
12895 #include <assert.h>
12896 /* Override any gcc2 internal prototype to avoid an error. */
12897 /* We use char because int might match the return type of a gcc2
12898 builtin and then its argument prototype would still apply. */
12903 /* The GNU C library defines this for functions which it implements
12904 to always fail with ENOSYS. Some functions are actually named
12905 something starting with __ and the normal name is an alias. */
12906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12914 if { (eval echo configure:12915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12916 eval "ac_cv_func_$ac_func=yes"
12918 echo "configure: failed program was:" >&5
12919 cat conftest.$ac_ext >&5
12921 eval "ac_cv_func_$ac_func=no"
12926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12927 echo "$ac_t""yes" 1>&6
12928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12929 cat >> confdefs.h <<EOF
12930 #define $ac_tr_func 1
12934 echo "$ac_t""no" 1>&6
12940 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
12941 echo "configure:12942: checking for _sincos declaration" >&5
12942 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
12943 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
12944 echo $ac_n "(cached) $ac_c" 1>&6
12949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12950 ac_cpp='$CXXCPP $CPPFLAGS'
12951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12953 cross_compiling=$ac_cv_prog_cxx_cross
12955 cat > conftest.$ac_ext <<EOF
12956 #line 12957 "configure"
12957 #include "confdefs.h"
12963 if { (eval echo configure:12964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12965 glibcpp_cv_func__sincos_use=yes
12967 echo "configure: failed program was:" >&5
12968 cat conftest.$ac_ext >&5
12970 glibcpp_cv_func__sincos_use=no
12974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12975 ac_cpp='$CPP $CPPFLAGS'
12976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12978 cross_compiling=$ac_cv_prog_cc_cross
12984 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
12986 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
12987 for ac_func in _sincos
12989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12990 echo "configure:12991: checking for $ac_func" >&5
12991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12992 echo $ac_n "(cached) $ac_c" 1>&6
12994 cat > conftest.$ac_ext <<EOF
12995 #line 12996 "configure"
12996 #include "confdefs.h"
12997 /* System header to define __stub macros and hopefully few prototypes,
12998 which can conflict with char $ac_func(); below. */
12999 #include <assert.h>
13000 /* Override any gcc2 internal prototype to avoid an error. */
13001 /* We use char because int might match the return type of a gcc2
13002 builtin and then its argument prototype would still apply. */
13007 /* The GNU C library defines this for functions which it implements
13008 to always fail with ENOSYS. Some functions are actually named
13009 something starting with __ and the normal name is an alias. */
13010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13018 if { (eval echo configure:13019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13020 eval "ac_cv_func_$ac_func=yes"
13022 echo "configure: failed program was:" >&5
13023 cat conftest.$ac_ext >&5
13025 eval "ac_cv_func_$ac_func=no"
13030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13031 echo "$ac_t""yes" 1>&6
13032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13033 cat >> confdefs.h <<EOF
13034 #define $ac_tr_func 1
13038 echo "$ac_t""no" 1>&6
13047 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
13048 echo "configure:13049: checking for fpclass declaration" >&5
13049 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
13050 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
13051 echo $ac_n "(cached) $ac_c" 1>&6
13056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13057 ac_cpp='$CXXCPP $CPPFLAGS'
13058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13060 cross_compiling=$ac_cv_prog_cxx_cross
13062 cat > conftest.$ac_ext <<EOF
13063 #line 13064 "configure"
13064 #include "confdefs.h"
13066 #ifdef HAVE_IEEEFP_H
13067 #include <ieeefp.h>
13074 if { (eval echo configure:13075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13076 glibcpp_cv_func_fpclass_use=yes
13078 echo "configure: failed program was:" >&5
13079 cat conftest.$ac_ext >&5
13081 glibcpp_cv_func_fpclass_use=no
13085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13086 ac_cpp='$CPP $CPPFLAGS'
13087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13089 cross_compiling=$ac_cv_prog_cc_cross
13095 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
13097 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
13098 for ac_func in fpclass
13100 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13101 echo "configure:13102: checking for $ac_func" >&5
13102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13103 echo $ac_n "(cached) $ac_c" 1>&6
13105 cat > conftest.$ac_ext <<EOF
13106 #line 13107 "configure"
13107 #include "confdefs.h"
13108 /* System header to define __stub macros and hopefully few prototypes,
13109 which can conflict with char $ac_func(); below. */
13110 #include <assert.h>
13111 /* Override any gcc2 internal prototype to avoid an error. */
13112 /* We use char because int might match the return type of a gcc2
13113 builtin and then its argument prototype would still apply. */
13118 /* The GNU C library defines this for functions which it implements
13119 to always fail with ENOSYS. Some functions are actually named
13120 something starting with __ and the normal name is an alias. */
13121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13129 if { (eval echo configure:13130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13131 eval "ac_cv_func_$ac_func=yes"
13133 echo "configure: failed program was:" >&5
13134 cat conftest.$ac_ext >&5
13136 eval "ac_cv_func_$ac_func=no"
13141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13142 echo "$ac_t""yes" 1>&6
13143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13144 cat >> confdefs.h <<EOF
13145 #define $ac_tr_func 1
13149 echo "$ac_t""no" 1>&6
13155 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
13156 echo "configure:13157: checking for _fpclass declaration" >&5
13157 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13158 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13159 echo $ac_n "(cached) $ac_c" 1>&6
13164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13165 ac_cpp='$CXXCPP $CPPFLAGS'
13166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13168 cross_compiling=$ac_cv_prog_cxx_cross
13170 cat > conftest.$ac_ext <<EOF
13171 #line 13172 "configure"
13172 #include "confdefs.h"
13174 #ifdef HAVE_IEEEFP_H
13175 #include <ieeefp.h>
13182 if { (eval echo configure:13183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13184 glibcpp_cv_func__fpclass_use=yes
13186 echo "configure: failed program was:" >&5
13187 cat conftest.$ac_ext >&5
13189 glibcpp_cv_func__fpclass_use=no
13193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13194 ac_cpp='$CPP $CPPFLAGS'
13195 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13196 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13197 cross_compiling=$ac_cv_prog_cc_cross
13203 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13205 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13206 for ac_func in _fpclass
13208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13209 echo "configure:13210: checking for $ac_func" >&5
13210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13211 echo $ac_n "(cached) $ac_c" 1>&6
13213 cat > conftest.$ac_ext <<EOF
13214 #line 13215 "configure"
13215 #include "confdefs.h"
13216 /* System header to define __stub macros and hopefully few prototypes,
13217 which can conflict with char $ac_func(); below. */
13218 #include <assert.h>
13219 /* Override any gcc2 internal prototype to avoid an error. */
13220 /* We use char because int might match the return type of a gcc2
13221 builtin and then its argument prototype would still apply. */
13226 /* The GNU C library defines this for functions which it implements
13227 to always fail with ENOSYS. Some functions are actually named
13228 something starting with __ and the normal name is an alias. */
13229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13237 if { (eval echo configure:13238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13239 eval "ac_cv_func_$ac_func=yes"
13241 echo "configure: failed program was:" >&5
13242 cat conftest.$ac_ext >&5
13244 eval "ac_cv_func_$ac_func=no"
13249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13250 echo "$ac_t""yes" 1>&6
13251 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13252 cat >> confdefs.h <<EOF
13253 #define $ac_tr_func 1
13257 echo "$ac_t""no" 1>&6
13266 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
13267 echo "configure:13268: checking for qfpclass declaration" >&5
13268 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13269 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13270 echo $ac_n "(cached) $ac_c" 1>&6
13275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13276 ac_cpp='$CXXCPP $CPPFLAGS'
13277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13279 cross_compiling=$ac_cv_prog_cxx_cross
13281 cat > conftest.$ac_ext <<EOF
13282 #line 13283 "configure"
13283 #include "confdefs.h"
13285 #ifdef HAVE_IEEEFP_H
13286 #include <ieeefp.h>
13293 if { (eval echo configure:13294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13295 glibcpp_cv_func_qfpclass_use=yes
13297 echo "configure: failed program was:" >&5
13298 cat conftest.$ac_ext >&5
13300 glibcpp_cv_func_qfpclass_use=no
13304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13305 ac_cpp='$CPP $CPPFLAGS'
13306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13308 cross_compiling=$ac_cv_prog_cc_cross
13314 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13316 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13317 for ac_func in qfpclass
13319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13320 echo "configure:13321: checking for $ac_func" >&5
13321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13322 echo $ac_n "(cached) $ac_c" 1>&6
13324 cat > conftest.$ac_ext <<EOF
13325 #line 13326 "configure"
13326 #include "confdefs.h"
13327 /* System header to define __stub macros and hopefully few prototypes,
13328 which can conflict with char $ac_func(); below. */
13329 #include <assert.h>
13330 /* Override any gcc2 internal prototype to avoid an error. */
13331 /* We use char because int might match the return type of a gcc2
13332 builtin and then its argument prototype would still apply. */
13337 /* The GNU C library defines this for functions which it implements
13338 to always fail with ENOSYS. Some functions are actually named
13339 something starting with __ and the normal name is an alias. */
13340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13348 if { (eval echo configure:13349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13350 eval "ac_cv_func_$ac_func=yes"
13352 echo "configure: failed program was:" >&5
13353 cat conftest.$ac_ext >&5
13355 eval "ac_cv_func_$ac_func=no"
13360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13361 echo "$ac_t""yes" 1>&6
13362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13363 cat >> confdefs.h <<EOF
13364 #define $ac_tr_func 1
13368 echo "$ac_t""no" 1>&6
13374 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
13375 echo "configure:13376: checking for _qfpclass declaration" >&5
13376 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13377 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13378 echo $ac_n "(cached) $ac_c" 1>&6
13383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13384 ac_cpp='$CXXCPP $CPPFLAGS'
13385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13387 cross_compiling=$ac_cv_prog_cxx_cross
13389 cat > conftest.$ac_ext <<EOF
13390 #line 13391 "configure"
13391 #include "confdefs.h"
13393 #ifdef HAVE_IEEEFP_H
13394 #include <ieeefp.h>
13401 if { (eval echo configure:13402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13403 glibcpp_cv_func__qfpclass_use=yes
13405 echo "configure: failed program was:" >&5
13406 cat conftest.$ac_ext >&5
13408 glibcpp_cv_func__qfpclass_use=no
13412 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13413 ac_cpp='$CPP $CPPFLAGS'
13414 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13415 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13416 cross_compiling=$ac_cv_prog_cc_cross
13422 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13424 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13425 for ac_func in _qfpclass
13427 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13428 echo "configure:13429: checking for $ac_func" >&5
13429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13430 echo $ac_n "(cached) $ac_c" 1>&6
13432 cat > conftest.$ac_ext <<EOF
13433 #line 13434 "configure"
13434 #include "confdefs.h"
13435 /* System header to define __stub macros and hopefully few prototypes,
13436 which can conflict with char $ac_func(); below. */
13437 #include <assert.h>
13438 /* Override any gcc2 internal prototype to avoid an error. */
13439 /* We use char because int might match the return type of a gcc2
13440 builtin and then its argument prototype would still apply. */
13445 /* The GNU C library defines this for functions which it implements
13446 to always fail with ENOSYS. Some functions are actually named
13447 something starting with __ and the normal name is an alias. */
13448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13456 if { (eval echo configure:13457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13458 eval "ac_cv_func_$ac_func=yes"
13460 echo "configure: failed program was:" >&5
13461 cat conftest.$ac_ext >&5
13463 eval "ac_cv_func_$ac_func=no"
13468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13469 echo "$ac_t""yes" 1>&6
13470 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13471 cat >> confdefs.h <<EOF
13472 #define $ac_tr_func 1
13476 echo "$ac_t""no" 1>&6
13485 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
13486 echo "configure:13487: checking for hypot declaration" >&5
13487 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13488 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13489 echo $ac_n "(cached) $ac_c" 1>&6
13494 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13495 ac_cpp='$CXXCPP $CPPFLAGS'
13496 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13497 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13498 cross_compiling=$ac_cv_prog_cxx_cross
13500 cat > conftest.$ac_ext <<EOF
13501 #line 13502 "configure"
13502 #include "confdefs.h"
13508 if { (eval echo configure:13509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13510 glibcpp_cv_func_hypot_use=yes
13512 echo "configure: failed program was:" >&5
13513 cat conftest.$ac_ext >&5
13515 glibcpp_cv_func_hypot_use=no
13519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13520 ac_cpp='$CPP $CPPFLAGS'
13521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13523 cross_compiling=$ac_cv_prog_cc_cross
13529 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13531 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13532 for ac_func in hypot
13534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13535 echo "configure:13536: checking for $ac_func" >&5
13536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13537 echo $ac_n "(cached) $ac_c" 1>&6
13539 cat > conftest.$ac_ext <<EOF
13540 #line 13541 "configure"
13541 #include "confdefs.h"
13542 /* System header to define __stub macros and hopefully few prototypes,
13543 which can conflict with char $ac_func(); below. */
13544 #include <assert.h>
13545 /* Override any gcc2 internal prototype to avoid an error. */
13546 /* We use char because int might match the return type of a gcc2
13547 builtin and then its argument prototype would still apply. */
13552 /* The GNU C library defines this for functions which it implements
13553 to always fail with ENOSYS. Some functions are actually named
13554 something starting with __ and the normal name is an alias. */
13555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13563 if { (eval echo configure:13564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13565 eval "ac_cv_func_$ac_func=yes"
13567 echo "configure: failed program was:" >&5
13568 cat conftest.$ac_ext >&5
13570 eval "ac_cv_func_$ac_func=no"
13575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13576 echo "$ac_t""yes" 1>&6
13577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13578 cat >> confdefs.h <<EOF
13579 #define $ac_tr_func 1
13583 echo "$ac_t""no" 1>&6
13589 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
13590 echo "configure:13591: checking for _hypot declaration" >&5
13591 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13592 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13593 echo $ac_n "(cached) $ac_c" 1>&6
13598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13599 ac_cpp='$CXXCPP $CPPFLAGS'
13600 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13601 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13602 cross_compiling=$ac_cv_prog_cxx_cross
13604 cat > conftest.$ac_ext <<EOF
13605 #line 13606 "configure"
13606 #include "confdefs.h"
13612 if { (eval echo configure:13613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13614 glibcpp_cv_func__hypot_use=yes
13616 echo "configure: failed program was:" >&5
13617 cat conftest.$ac_ext >&5
13619 glibcpp_cv_func__hypot_use=no
13623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13624 ac_cpp='$CPP $CPPFLAGS'
13625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13627 cross_compiling=$ac_cv_prog_cc_cross
13633 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13635 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13636 for ac_func in _hypot
13638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13639 echo "configure:13640: checking for $ac_func" >&5
13640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13641 echo $ac_n "(cached) $ac_c" 1>&6
13643 cat > conftest.$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13646 /* System header to define __stub macros and hopefully few prototypes,
13647 which can conflict with char $ac_func(); below. */
13648 #include <assert.h>
13649 /* Override any gcc2 internal prototype to avoid an error. */
13650 /* We use char because int might match the return type of a gcc2
13651 builtin and then its argument prototype would still apply. */
13656 /* The GNU C library defines this for functions which it implements
13657 to always fail with ENOSYS. Some functions are actually named
13658 something starting with __ and the normal name is an alias. */
13659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13667 if { (eval echo configure:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13669 eval "ac_cv_func_$ac_func=yes"
13671 echo "configure: failed program was:" >&5
13672 cat conftest.$ac_ext >&5
13674 eval "ac_cv_func_$ac_func=no"
13679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13680 echo "$ac_t""yes" 1>&6
13681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13682 cat >> confdefs.h <<EOF
13683 #define $ac_tr_func 1
13687 echo "$ac_t""no" 1>&6
13696 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
13697 echo "configure:13698: checking for float trig functions" >&5
13698 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13699 echo $ac_n "(cached) $ac_c" 1>&6
13704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13705 ac_cpp='$CXXCPP $CPPFLAGS'
13706 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13707 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13708 cross_compiling=$ac_cv_prog_cxx_cross
13710 cat > conftest.$ac_ext <<EOF
13711 #line 13712 "configure"
13712 #include "confdefs.h"
13715 `for x in acosf asinf atanf \
13717 coshf sinhf tanhf; do echo "$x (0);"; done`
13720 if { (eval echo configure:13721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13722 glibcpp_cv_func_float_trig_use=yes
13724 echo "configure: failed program was:" >&5
13725 cat conftest.$ac_ext >&5
13727 glibcpp_cv_func_float_trig_use=no
13731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13732 ac_cpp='$CPP $CPPFLAGS'
13733 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13734 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13735 cross_compiling=$ac_cv_prog_cc_cross
13739 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13740 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13741 for ac_func in acosf asinf atanf \
13745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13746 echo "configure:13747: checking for $ac_func" >&5
13747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13748 echo $ac_n "(cached) $ac_c" 1>&6
13750 cat > conftest.$ac_ext <<EOF
13751 #line 13752 "configure"
13752 #include "confdefs.h"
13753 /* System header to define __stub macros and hopefully few prototypes,
13754 which can conflict with char $ac_func(); below. */
13755 #include <assert.h>
13756 /* Override any gcc2 internal prototype to avoid an error. */
13757 /* We use char because int might match the return type of a gcc2
13758 builtin and then its argument prototype would still apply. */
13763 /* The GNU C library defines this for functions which it implements
13764 to always fail with ENOSYS. Some functions are actually named
13765 something starting with __ and the normal name is an alias. */
13766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13774 if { (eval echo configure:13775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13776 eval "ac_cv_func_$ac_func=yes"
13778 echo "configure: failed program was:" >&5
13779 cat conftest.$ac_ext >&5
13781 eval "ac_cv_func_$ac_func=no"
13786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13787 echo "$ac_t""yes" 1>&6
13788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13789 cat >> confdefs.h <<EOF
13790 #define $ac_tr_func 1
13794 echo "$ac_t""no" 1>&6
13801 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
13802 echo "configure:13803: checking for float round functions" >&5
13803 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13804 echo $ac_n "(cached) $ac_c" 1>&6
13809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13810 ac_cpp='$CXXCPP $CPPFLAGS'
13811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13813 cross_compiling=$ac_cv_prog_cxx_cross
13815 cat > conftest.$ac_ext <<EOF
13816 #line 13817 "configure"
13817 #include "confdefs.h"
13820 `for x in ceilf floorf; do echo "$x (0);"; done`
13823 if { (eval echo configure:13824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13825 glibcpp_cv_func_float_round_use=yes
13827 echo "configure: failed program was:" >&5
13828 cat conftest.$ac_ext >&5
13830 glibcpp_cv_func_float_round_use=no
13834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13835 ac_cpp='$CPP $CPPFLAGS'
13836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13838 cross_compiling=$ac_cv_prog_cc_cross
13842 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13843 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13844 for ac_func in ceilf floorf
13846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13847 echo "configure:13848: checking for $ac_func" >&5
13848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13849 echo $ac_n "(cached) $ac_c" 1>&6
13851 cat > conftest.$ac_ext <<EOF
13852 #line 13853 "configure"
13853 #include "confdefs.h"
13854 /* System header to define __stub macros and hopefully few prototypes,
13855 which can conflict with char $ac_func(); below. */
13856 #include <assert.h>
13857 /* Override any gcc2 internal prototype to avoid an error. */
13858 /* We use char because int might match the return type of a gcc2
13859 builtin and then its argument prototype would still apply. */
13864 /* The GNU C library defines this for functions which it implements
13865 to always fail with ENOSYS. Some functions are actually named
13866 something starting with __ and the normal name is an alias. */
13867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13875 if { (eval echo configure:13876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13877 eval "ac_cv_func_$ac_func=yes"
13879 echo "configure: failed program was:" >&5
13880 cat conftest.$ac_ext >&5
13882 eval "ac_cv_func_$ac_func=no"
13887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13888 echo "$ac_t""yes" 1>&6
13889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13890 cat >> confdefs.h <<EOF
13891 #define $ac_tr_func 1
13895 echo "$ac_t""no" 1>&6
13903 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
13904 echo "configure:13905: checking for expf declaration" >&5
13905 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13906 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13907 echo $ac_n "(cached) $ac_c" 1>&6
13912 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13913 ac_cpp='$CXXCPP $CPPFLAGS'
13914 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13915 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13916 cross_compiling=$ac_cv_prog_cxx_cross
13918 cat > conftest.$ac_ext <<EOF
13919 #line 13920 "configure"
13920 #include "confdefs.h"
13922 #ifdef HAVE_IEEEFP_H
13923 #include <ieeefp.h>
13930 if { (eval echo configure:13931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13932 glibcpp_cv_func_expf_use=yes
13934 echo "configure: failed program was:" >&5
13935 cat conftest.$ac_ext >&5
13937 glibcpp_cv_func_expf_use=no
13941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13942 ac_cpp='$CPP $CPPFLAGS'
13943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13945 cross_compiling=$ac_cv_prog_cc_cross
13951 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
13953 if test x$glibcpp_cv_func_expf_use = x"yes"; then
13954 for ac_func in expf
13956 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13957 echo "configure:13958: checking for $ac_func" >&5
13958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13959 echo $ac_n "(cached) $ac_c" 1>&6
13961 cat > conftest.$ac_ext <<EOF
13962 #line 13963 "configure"
13963 #include "confdefs.h"
13964 /* System header to define __stub macros and hopefully few prototypes,
13965 which can conflict with char $ac_func(); below. */
13966 #include <assert.h>
13967 /* Override any gcc2 internal prototype to avoid an error. */
13968 /* We use char because int might match the return type of a gcc2
13969 builtin and then its argument prototype would still apply. */
13974 /* The GNU C library defines this for functions which it implements
13975 to always fail with ENOSYS. Some functions are actually named
13976 something starting with __ and the normal name is an alias. */
13977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13985 if { (eval echo configure:13986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13987 eval "ac_cv_func_$ac_func=yes"
13989 echo "configure: failed program was:" >&5
13990 cat conftest.$ac_ext >&5
13992 eval "ac_cv_func_$ac_func=no"
13997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13998 echo "$ac_t""yes" 1>&6
13999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14000 cat >> confdefs.h <<EOF
14001 #define $ac_tr_func 1
14005 echo "$ac_t""no" 1>&6
14011 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
14012 echo "configure:14013: checking for _expf declaration" >&5
14013 if test x${glibcpp_cv_func__expf_use+set} != xset; then
14014 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
14015 echo $ac_n "(cached) $ac_c" 1>&6
14020 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14021 ac_cpp='$CXXCPP $CPPFLAGS'
14022 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14023 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14024 cross_compiling=$ac_cv_prog_cxx_cross
14026 cat > conftest.$ac_ext <<EOF
14027 #line 14028 "configure"
14028 #include "confdefs.h"
14030 #ifdef HAVE_IEEEFP_H
14031 #include <ieeefp.h>
14038 if { (eval echo configure:14039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14040 glibcpp_cv_func__expf_use=yes
14042 echo "configure: failed program was:" >&5
14043 cat conftest.$ac_ext >&5
14045 glibcpp_cv_func__expf_use=no
14049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14050 ac_cpp='$CPP $CPPFLAGS'
14051 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14052 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14053 cross_compiling=$ac_cv_prog_cc_cross
14059 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
14061 if test x$glibcpp_cv_func__expf_use = x"yes"; then
14062 for ac_func in _expf
14064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14065 echo "configure:14066: checking for $ac_func" >&5
14066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14067 echo $ac_n "(cached) $ac_c" 1>&6
14069 cat > conftest.$ac_ext <<EOF
14070 #line 14071 "configure"
14071 #include "confdefs.h"
14072 /* System header to define __stub macros and hopefully few prototypes,
14073 which can conflict with char $ac_func(); below. */
14074 #include <assert.h>
14075 /* Override any gcc2 internal prototype to avoid an error. */
14076 /* We use char because int might match the return type of a gcc2
14077 builtin and then its argument prototype would still apply. */
14082 /* The GNU C library defines this for functions which it implements
14083 to always fail with ENOSYS. Some functions are actually named
14084 something starting with __ and the normal name is an alias. */
14085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14093 if { (eval echo configure:14094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14095 eval "ac_cv_func_$ac_func=yes"
14097 echo "configure: failed program was:" >&5
14098 cat conftest.$ac_ext >&5
14100 eval "ac_cv_func_$ac_func=no"
14105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14106 echo "$ac_t""yes" 1>&6
14107 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14108 cat >> confdefs.h <<EOF
14109 #define $ac_tr_func 1
14113 echo "$ac_t""no" 1>&6
14122 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
14123 echo "configure:14124: checking for isnanf declaration" >&5
14124 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
14125 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
14126 echo $ac_n "(cached) $ac_c" 1>&6
14131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14132 ac_cpp='$CXXCPP $CPPFLAGS'
14133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14135 cross_compiling=$ac_cv_prog_cxx_cross
14137 cat > conftest.$ac_ext <<EOF
14138 #line 14139 "configure"
14139 #include "confdefs.h"
14141 #ifdef HAVE_IEEEFP_H
14142 #include <ieeefp.h>
14149 if { (eval echo configure:14150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14151 glibcpp_cv_func_isnanf_use=yes
14153 echo "configure: failed program was:" >&5
14154 cat conftest.$ac_ext >&5
14156 glibcpp_cv_func_isnanf_use=no
14160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14161 ac_cpp='$CPP $CPPFLAGS'
14162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14164 cross_compiling=$ac_cv_prog_cc_cross
14170 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14172 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14173 for ac_func in isnanf
14175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14176 echo "configure:14177: checking for $ac_func" >&5
14177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14178 echo $ac_n "(cached) $ac_c" 1>&6
14180 cat > conftest.$ac_ext <<EOF
14181 #line 14182 "configure"
14182 #include "confdefs.h"
14183 /* System header to define __stub macros and hopefully few prototypes,
14184 which can conflict with char $ac_func(); below. */
14185 #include <assert.h>
14186 /* Override any gcc2 internal prototype to avoid an error. */
14187 /* We use char because int might match the return type of a gcc2
14188 builtin and then its argument prototype would still apply. */
14193 /* The GNU C library defines this for functions which it implements
14194 to always fail with ENOSYS. Some functions are actually named
14195 something starting with __ and the normal name is an alias. */
14196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14204 if { (eval echo configure:14205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14206 eval "ac_cv_func_$ac_func=yes"
14208 echo "configure: failed program was:" >&5
14209 cat conftest.$ac_ext >&5
14211 eval "ac_cv_func_$ac_func=no"
14216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14217 echo "$ac_t""yes" 1>&6
14218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14219 cat >> confdefs.h <<EOF
14220 #define $ac_tr_func 1
14224 echo "$ac_t""no" 1>&6
14230 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
14231 echo "configure:14232: checking for _isnanf declaration" >&5
14232 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14233 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14234 echo $ac_n "(cached) $ac_c" 1>&6
14239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14240 ac_cpp='$CXXCPP $CPPFLAGS'
14241 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14242 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14243 cross_compiling=$ac_cv_prog_cxx_cross
14245 cat > conftest.$ac_ext <<EOF
14246 #line 14247 "configure"
14247 #include "confdefs.h"
14249 #ifdef HAVE_IEEEFP_H
14250 #include <ieeefp.h>
14257 if { (eval echo configure:14258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14259 glibcpp_cv_func__isnanf_use=yes
14261 echo "configure: failed program was:" >&5
14262 cat conftest.$ac_ext >&5
14264 glibcpp_cv_func__isnanf_use=no
14268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14269 ac_cpp='$CPP $CPPFLAGS'
14270 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14271 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14272 cross_compiling=$ac_cv_prog_cc_cross
14278 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14280 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14281 for ac_func in _isnanf
14283 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14284 echo "configure:14285: checking for $ac_func" >&5
14285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14286 echo $ac_n "(cached) $ac_c" 1>&6
14288 cat > conftest.$ac_ext <<EOF
14289 #line 14290 "configure"
14290 #include "confdefs.h"
14291 /* System header to define __stub macros and hopefully few prototypes,
14292 which can conflict with char $ac_func(); below. */
14293 #include <assert.h>
14294 /* Override any gcc2 internal prototype to avoid an error. */
14295 /* We use char because int might match the return type of a gcc2
14296 builtin and then its argument prototype would still apply. */
14301 /* The GNU C library defines this for functions which it implements
14302 to always fail with ENOSYS. Some functions are actually named
14303 something starting with __ and the normal name is an alias. */
14304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14312 if { (eval echo configure:14313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14314 eval "ac_cv_func_$ac_func=yes"
14316 echo "configure: failed program was:" >&5
14317 cat conftest.$ac_ext >&5
14319 eval "ac_cv_func_$ac_func=no"
14324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14325 echo "$ac_t""yes" 1>&6
14326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14327 cat >> confdefs.h <<EOF
14328 #define $ac_tr_func 1
14332 echo "$ac_t""no" 1>&6
14341 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
14342 echo "configure:14343: checking for isinff declaration" >&5
14343 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14344 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14345 echo $ac_n "(cached) $ac_c" 1>&6
14350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14351 ac_cpp='$CXXCPP $CPPFLAGS'
14352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14354 cross_compiling=$ac_cv_prog_cxx_cross
14356 cat > conftest.$ac_ext <<EOF
14357 #line 14358 "configure"
14358 #include "confdefs.h"
14360 #ifdef HAVE_IEEEFP_H
14361 #include <ieeefp.h>
14368 if { (eval echo configure:14369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14370 glibcpp_cv_func_isinff_use=yes
14372 echo "configure: failed program was:" >&5
14373 cat conftest.$ac_ext >&5
14375 glibcpp_cv_func_isinff_use=no
14379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14380 ac_cpp='$CPP $CPPFLAGS'
14381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14383 cross_compiling=$ac_cv_prog_cc_cross
14389 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14391 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14392 for ac_func in isinff
14394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14395 echo "configure:14396: checking for $ac_func" >&5
14396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14397 echo $ac_n "(cached) $ac_c" 1>&6
14399 cat > conftest.$ac_ext <<EOF
14400 #line 14401 "configure"
14401 #include "confdefs.h"
14402 /* System header to define __stub macros and hopefully few prototypes,
14403 which can conflict with char $ac_func(); below. */
14404 #include <assert.h>
14405 /* Override any gcc2 internal prototype to avoid an error. */
14406 /* We use char because int might match the return type of a gcc2
14407 builtin and then its argument prototype would still apply. */
14412 /* The GNU C library defines this for functions which it implements
14413 to always fail with ENOSYS. Some functions are actually named
14414 something starting with __ and the normal name is an alias. */
14415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14423 if { (eval echo configure:14424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14425 eval "ac_cv_func_$ac_func=yes"
14427 echo "configure: failed program was:" >&5
14428 cat conftest.$ac_ext >&5
14430 eval "ac_cv_func_$ac_func=no"
14435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14436 echo "$ac_t""yes" 1>&6
14437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14438 cat >> confdefs.h <<EOF
14439 #define $ac_tr_func 1
14443 echo "$ac_t""no" 1>&6
14449 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
14450 echo "configure:14451: checking for _isinff declaration" >&5
14451 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14452 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14453 echo $ac_n "(cached) $ac_c" 1>&6
14458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14459 ac_cpp='$CXXCPP $CPPFLAGS'
14460 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14461 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14462 cross_compiling=$ac_cv_prog_cxx_cross
14464 cat > conftest.$ac_ext <<EOF
14465 #line 14466 "configure"
14466 #include "confdefs.h"
14468 #ifdef HAVE_IEEEFP_H
14469 #include <ieeefp.h>
14476 if { (eval echo configure:14477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14478 glibcpp_cv_func__isinff_use=yes
14480 echo "configure: failed program was:" >&5
14481 cat conftest.$ac_ext >&5
14483 glibcpp_cv_func__isinff_use=no
14487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14488 ac_cpp='$CPP $CPPFLAGS'
14489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14491 cross_compiling=$ac_cv_prog_cc_cross
14497 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14499 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14500 for ac_func in _isinff
14502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14503 echo "configure:14504: checking for $ac_func" >&5
14504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14505 echo $ac_n "(cached) $ac_c" 1>&6
14507 cat > conftest.$ac_ext <<EOF
14508 #line 14509 "configure"
14509 #include "confdefs.h"
14510 /* System header to define __stub macros and hopefully few prototypes,
14511 which can conflict with char $ac_func(); below. */
14512 #include <assert.h>
14513 /* Override any gcc2 internal prototype to avoid an error. */
14514 /* We use char because int might match the return type of a gcc2
14515 builtin and then its argument prototype would still apply. */
14520 /* The GNU C library defines this for functions which it implements
14521 to always fail with ENOSYS. Some functions are actually named
14522 something starting with __ and the normal name is an alias. */
14523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14531 if { (eval echo configure:14532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14533 eval "ac_cv_func_$ac_func=yes"
14535 echo "configure: failed program was:" >&5
14536 cat conftest.$ac_ext >&5
14538 eval "ac_cv_func_$ac_func=no"
14543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14544 echo "$ac_t""yes" 1>&6
14545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14546 cat >> confdefs.h <<EOF
14547 #define $ac_tr_func 1
14551 echo "$ac_t""no" 1>&6
14560 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
14561 echo "configure:14562: checking for atan2f declaration" >&5
14562 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14563 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14564 echo $ac_n "(cached) $ac_c" 1>&6
14569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14570 ac_cpp='$CXXCPP $CPPFLAGS'
14571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14573 cross_compiling=$ac_cv_prog_cxx_cross
14575 cat > conftest.$ac_ext <<EOF
14576 #line 14577 "configure"
14577 #include "confdefs.h"
14583 if { (eval echo configure:14584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14585 glibcpp_cv_func_atan2f_use=yes
14587 echo "configure: failed program was:" >&5
14588 cat conftest.$ac_ext >&5
14590 glibcpp_cv_func_atan2f_use=no
14594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14595 ac_cpp='$CPP $CPPFLAGS'
14596 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14597 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14598 cross_compiling=$ac_cv_prog_cc_cross
14604 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14606 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14607 for ac_func in atan2f
14609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14610 echo "configure:14611: checking for $ac_func" >&5
14611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14612 echo $ac_n "(cached) $ac_c" 1>&6
14614 cat > conftest.$ac_ext <<EOF
14615 #line 14616 "configure"
14616 #include "confdefs.h"
14617 /* System header to define __stub macros and hopefully few prototypes,
14618 which can conflict with char $ac_func(); below. */
14619 #include <assert.h>
14620 /* Override any gcc2 internal prototype to avoid an error. */
14621 /* We use char because int might match the return type of a gcc2
14622 builtin and then its argument prototype would still apply. */
14627 /* The GNU C library defines this for functions which it implements
14628 to always fail with ENOSYS. Some functions are actually named
14629 something starting with __ and the normal name is an alias. */
14630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14638 if { (eval echo configure:14639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14640 eval "ac_cv_func_$ac_func=yes"
14642 echo "configure: failed program was:" >&5
14643 cat conftest.$ac_ext >&5
14645 eval "ac_cv_func_$ac_func=no"
14650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14651 echo "$ac_t""yes" 1>&6
14652 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14653 cat >> confdefs.h <<EOF
14654 #define $ac_tr_func 1
14658 echo "$ac_t""no" 1>&6
14664 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
14665 echo "configure:14666: checking for _atan2f declaration" >&5
14666 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14667 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14668 echo $ac_n "(cached) $ac_c" 1>&6
14673 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14674 ac_cpp='$CXXCPP $CPPFLAGS'
14675 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14676 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14677 cross_compiling=$ac_cv_prog_cxx_cross
14679 cat > conftest.$ac_ext <<EOF
14680 #line 14681 "configure"
14681 #include "confdefs.h"
14687 if { (eval echo configure:14688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14689 glibcpp_cv_func__atan2f_use=yes
14691 echo "configure: failed program was:" >&5
14692 cat conftest.$ac_ext >&5
14694 glibcpp_cv_func__atan2f_use=no
14698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14699 ac_cpp='$CPP $CPPFLAGS'
14700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14702 cross_compiling=$ac_cv_prog_cc_cross
14708 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14710 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14711 for ac_func in _atan2f
14713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14714 echo "configure:14715: checking for $ac_func" >&5
14715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14716 echo $ac_n "(cached) $ac_c" 1>&6
14718 cat > conftest.$ac_ext <<EOF
14719 #line 14720 "configure"
14720 #include "confdefs.h"
14721 /* System header to define __stub macros and hopefully few prototypes,
14722 which can conflict with char $ac_func(); below. */
14723 #include <assert.h>
14724 /* Override any gcc2 internal prototype to avoid an error. */
14725 /* We use char because int might match the return type of a gcc2
14726 builtin and then its argument prototype would still apply. */
14731 /* The GNU C library defines this for functions which it implements
14732 to always fail with ENOSYS. Some functions are actually named
14733 something starting with __ and the normal name is an alias. */
14734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14742 if { (eval echo configure:14743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14744 eval "ac_cv_func_$ac_func=yes"
14746 echo "configure: failed program was:" >&5
14747 cat conftest.$ac_ext >&5
14749 eval "ac_cv_func_$ac_func=no"
14754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14755 echo "$ac_t""yes" 1>&6
14756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14757 cat >> confdefs.h <<EOF
14758 #define $ac_tr_func 1
14762 echo "$ac_t""no" 1>&6
14771 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
14772 echo "configure:14773: checking for fabsf declaration" >&5
14773 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14774 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14775 echo $ac_n "(cached) $ac_c" 1>&6
14780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14781 ac_cpp='$CXXCPP $CPPFLAGS'
14782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14784 cross_compiling=$ac_cv_prog_cxx_cross
14786 cat > conftest.$ac_ext <<EOF
14787 #line 14788 "configure"
14788 #include "confdefs.h"
14790 #ifdef HAVE_IEEEFP_H
14791 #include <ieeefp.h>
14798 if { (eval echo configure:14799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14800 glibcpp_cv_func_fabsf_use=yes
14802 echo "configure: failed program was:" >&5
14803 cat conftest.$ac_ext >&5
14805 glibcpp_cv_func_fabsf_use=no
14809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14810 ac_cpp='$CPP $CPPFLAGS'
14811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14813 cross_compiling=$ac_cv_prog_cc_cross
14819 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14821 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14822 for ac_func in fabsf
14824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14825 echo "configure:14826: checking for $ac_func" >&5
14826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14827 echo $ac_n "(cached) $ac_c" 1>&6
14829 cat > conftest.$ac_ext <<EOF
14830 #line 14831 "configure"
14831 #include "confdefs.h"
14832 /* System header to define __stub macros and hopefully few prototypes,
14833 which can conflict with char $ac_func(); below. */
14834 #include <assert.h>
14835 /* Override any gcc2 internal prototype to avoid an error. */
14836 /* We use char because int might match the return type of a gcc2
14837 builtin and then its argument prototype would still apply. */
14842 /* The GNU C library defines this for functions which it implements
14843 to always fail with ENOSYS. Some functions are actually named
14844 something starting with __ and the normal name is an alias. */
14845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14853 if { (eval echo configure:14854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14855 eval "ac_cv_func_$ac_func=yes"
14857 echo "configure: failed program was:" >&5
14858 cat conftest.$ac_ext >&5
14860 eval "ac_cv_func_$ac_func=no"
14865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14866 echo "$ac_t""yes" 1>&6
14867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14868 cat >> confdefs.h <<EOF
14869 #define $ac_tr_func 1
14873 echo "$ac_t""no" 1>&6
14879 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
14880 echo "configure:14881: checking for _fabsf declaration" >&5
14881 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14882 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14883 echo $ac_n "(cached) $ac_c" 1>&6
14888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14889 ac_cpp='$CXXCPP $CPPFLAGS'
14890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14892 cross_compiling=$ac_cv_prog_cxx_cross
14894 cat > conftest.$ac_ext <<EOF
14895 #line 14896 "configure"
14896 #include "confdefs.h"
14898 #ifdef HAVE_IEEEFP_H
14899 #include <ieeefp.h>
14906 if { (eval echo configure:14907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14908 glibcpp_cv_func__fabsf_use=yes
14910 echo "configure: failed program was:" >&5
14911 cat conftest.$ac_ext >&5
14913 glibcpp_cv_func__fabsf_use=no
14917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14918 ac_cpp='$CPP $CPPFLAGS'
14919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14921 cross_compiling=$ac_cv_prog_cc_cross
14927 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14929 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14930 for ac_func in _fabsf
14932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14933 echo "configure:14934: checking for $ac_func" >&5
14934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14935 echo $ac_n "(cached) $ac_c" 1>&6
14937 cat > conftest.$ac_ext <<EOF
14938 #line 14939 "configure"
14939 #include "confdefs.h"
14940 /* System header to define __stub macros and hopefully few prototypes,
14941 which can conflict with char $ac_func(); below. */
14942 #include <assert.h>
14943 /* Override any gcc2 internal prototype to avoid an error. */
14944 /* We use char because int might match the return type of a gcc2
14945 builtin and then its argument prototype would still apply. */
14950 /* The GNU C library defines this for functions which it implements
14951 to always fail with ENOSYS. Some functions are actually named
14952 something starting with __ and the normal name is an alias. */
14953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14961 if { (eval echo configure:14962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14963 eval "ac_cv_func_$ac_func=yes"
14965 echo "configure: failed program was:" >&5
14966 cat conftest.$ac_ext >&5
14968 eval "ac_cv_func_$ac_func=no"
14973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14974 echo "$ac_t""yes" 1>&6
14975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14976 cat >> confdefs.h <<EOF
14977 #define $ac_tr_func 1
14981 echo "$ac_t""no" 1>&6
14990 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
14991 echo "configure:14992: checking for fmodf declaration" >&5
14992 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
14993 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
14994 echo $ac_n "(cached) $ac_c" 1>&6
14999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15000 ac_cpp='$CXXCPP $CPPFLAGS'
15001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15003 cross_compiling=$ac_cv_prog_cxx_cross
15005 cat > conftest.$ac_ext <<EOF
15006 #line 15007 "configure"
15007 #include "confdefs.h"
15013 if { (eval echo configure:15014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15015 glibcpp_cv_func_fmodf_use=yes
15017 echo "configure: failed program was:" >&5
15018 cat conftest.$ac_ext >&5
15020 glibcpp_cv_func_fmodf_use=no
15024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15025 ac_cpp='$CPP $CPPFLAGS'
15026 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15027 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15028 cross_compiling=$ac_cv_prog_cc_cross
15034 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
15036 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
15037 for ac_func in fmodf
15039 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15040 echo "configure:15041: checking for $ac_func" >&5
15041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15042 echo $ac_n "(cached) $ac_c" 1>&6
15044 cat > conftest.$ac_ext <<EOF
15045 #line 15046 "configure"
15046 #include "confdefs.h"
15047 /* System header to define __stub macros and hopefully few prototypes,
15048 which can conflict with char $ac_func(); below. */
15049 #include <assert.h>
15050 /* Override any gcc2 internal prototype to avoid an error. */
15051 /* We use char because int might match the return type of a gcc2
15052 builtin and then its argument prototype would still apply. */
15057 /* The GNU C library defines this for functions which it implements
15058 to always fail with ENOSYS. Some functions are actually named
15059 something starting with __ and the normal name is an alias. */
15060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15068 if { (eval echo configure:15069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15070 eval "ac_cv_func_$ac_func=yes"
15072 echo "configure: failed program was:" >&5
15073 cat conftest.$ac_ext >&5
15075 eval "ac_cv_func_$ac_func=no"
15080 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15081 echo "$ac_t""yes" 1>&6
15082 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15083 cat >> confdefs.h <<EOF
15084 #define $ac_tr_func 1
15088 echo "$ac_t""no" 1>&6
15094 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
15095 echo "configure:15096: checking for _fmodf declaration" >&5
15096 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
15097 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
15098 echo $ac_n "(cached) $ac_c" 1>&6
15103 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15104 ac_cpp='$CXXCPP $CPPFLAGS'
15105 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15106 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15107 cross_compiling=$ac_cv_prog_cxx_cross
15109 cat > conftest.$ac_ext <<EOF
15110 #line 15111 "configure"
15111 #include "confdefs.h"
15117 if { (eval echo configure:15118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15119 glibcpp_cv_func__fmodf_use=yes
15121 echo "configure: failed program was:" >&5
15122 cat conftest.$ac_ext >&5
15124 glibcpp_cv_func__fmodf_use=no
15128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15129 ac_cpp='$CPP $CPPFLAGS'
15130 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15131 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15132 cross_compiling=$ac_cv_prog_cc_cross
15138 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
15140 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
15141 for ac_func in _fmodf
15143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15144 echo "configure:15145: checking for $ac_func" >&5
15145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15146 echo $ac_n "(cached) $ac_c" 1>&6
15148 cat > conftest.$ac_ext <<EOF
15149 #line 15150 "configure"
15150 #include "confdefs.h"
15151 /* System header to define __stub macros and hopefully few prototypes,
15152 which can conflict with char $ac_func(); below. */
15153 #include <assert.h>
15154 /* Override any gcc2 internal prototype to avoid an error. */
15155 /* We use char because int might match the return type of a gcc2
15156 builtin and then its argument prototype would still apply. */
15161 /* The GNU C library defines this for functions which it implements
15162 to always fail with ENOSYS. Some functions are actually named
15163 something starting with __ and the normal name is an alias. */
15164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15172 if { (eval echo configure:15173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15174 eval "ac_cv_func_$ac_func=yes"
15176 echo "configure: failed program was:" >&5
15177 cat conftest.$ac_ext >&5
15179 eval "ac_cv_func_$ac_func=no"
15184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15185 echo "$ac_t""yes" 1>&6
15186 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15187 cat >> confdefs.h <<EOF
15188 #define $ac_tr_func 1
15192 echo "$ac_t""no" 1>&6
15201 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
15202 echo "configure:15203: checking for frexpf declaration" >&5
15203 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15204 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15205 echo $ac_n "(cached) $ac_c" 1>&6
15210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15211 ac_cpp='$CXXCPP $CPPFLAGS'
15212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15214 cross_compiling=$ac_cv_prog_cxx_cross
15216 cat > conftest.$ac_ext <<EOF
15217 #line 15218 "configure"
15218 #include "confdefs.h"
15224 if { (eval echo configure:15225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15226 glibcpp_cv_func_frexpf_use=yes
15228 echo "configure: failed program was:" >&5
15229 cat conftest.$ac_ext >&5
15231 glibcpp_cv_func_frexpf_use=no
15235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15236 ac_cpp='$CPP $CPPFLAGS'
15237 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15238 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15239 cross_compiling=$ac_cv_prog_cc_cross
15245 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15247 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15248 for ac_func in frexpf
15250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15251 echo "configure:15252: checking for $ac_func" >&5
15252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15253 echo $ac_n "(cached) $ac_c" 1>&6
15255 cat > conftest.$ac_ext <<EOF
15256 #line 15257 "configure"
15257 #include "confdefs.h"
15258 /* System header to define __stub macros and hopefully few prototypes,
15259 which can conflict with char $ac_func(); below. */
15260 #include <assert.h>
15261 /* Override any gcc2 internal prototype to avoid an error. */
15262 /* We use char because int might match the return type of a gcc2
15263 builtin and then its argument prototype would still apply. */
15268 /* The GNU C library defines this for functions which it implements
15269 to always fail with ENOSYS. Some functions are actually named
15270 something starting with __ and the normal name is an alias. */
15271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15279 if { (eval echo configure:15280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15281 eval "ac_cv_func_$ac_func=yes"
15283 echo "configure: failed program was:" >&5
15284 cat conftest.$ac_ext >&5
15286 eval "ac_cv_func_$ac_func=no"
15291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15292 echo "$ac_t""yes" 1>&6
15293 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15294 cat >> confdefs.h <<EOF
15295 #define $ac_tr_func 1
15299 echo "$ac_t""no" 1>&6
15305 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
15306 echo "configure:15307: checking for _frexpf declaration" >&5
15307 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15308 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15309 echo $ac_n "(cached) $ac_c" 1>&6
15314 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15315 ac_cpp='$CXXCPP $CPPFLAGS'
15316 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15317 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15318 cross_compiling=$ac_cv_prog_cxx_cross
15320 cat > conftest.$ac_ext <<EOF
15321 #line 15322 "configure"
15322 #include "confdefs.h"
15328 if { (eval echo configure:15329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15330 glibcpp_cv_func__frexpf_use=yes
15332 echo "configure: failed program was:" >&5
15333 cat conftest.$ac_ext >&5
15335 glibcpp_cv_func__frexpf_use=no
15339 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15340 ac_cpp='$CPP $CPPFLAGS'
15341 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15342 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15343 cross_compiling=$ac_cv_prog_cc_cross
15349 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15351 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15352 for ac_func in _frexpf
15354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15355 echo "configure:15356: checking for $ac_func" >&5
15356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15357 echo $ac_n "(cached) $ac_c" 1>&6
15359 cat > conftest.$ac_ext <<EOF
15360 #line 15361 "configure"
15361 #include "confdefs.h"
15362 /* System header to define __stub macros and hopefully few prototypes,
15363 which can conflict with char $ac_func(); below. */
15364 #include <assert.h>
15365 /* Override any gcc2 internal prototype to avoid an error. */
15366 /* We use char because int might match the return type of a gcc2
15367 builtin and then its argument prototype would still apply. */
15372 /* The GNU C library defines this for functions which it implements
15373 to always fail with ENOSYS. Some functions are actually named
15374 something starting with __ and the normal name is an alias. */
15375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15383 if { (eval echo configure:15384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15385 eval "ac_cv_func_$ac_func=yes"
15387 echo "configure: failed program was:" >&5
15388 cat conftest.$ac_ext >&5
15390 eval "ac_cv_func_$ac_func=no"
15395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15396 echo "$ac_t""yes" 1>&6
15397 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15398 cat >> confdefs.h <<EOF
15399 #define $ac_tr_func 1
15403 echo "$ac_t""no" 1>&6
15412 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
15413 echo "configure:15414: checking for hypotf declaration" >&5
15414 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15415 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15416 echo $ac_n "(cached) $ac_c" 1>&6
15421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15422 ac_cpp='$CXXCPP $CPPFLAGS'
15423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15425 cross_compiling=$ac_cv_prog_cxx_cross
15427 cat > conftest.$ac_ext <<EOF
15428 #line 15429 "configure"
15429 #include "confdefs.h"
15435 if { (eval echo configure:15436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15437 glibcpp_cv_func_hypotf_use=yes
15439 echo "configure: failed program was:" >&5
15440 cat conftest.$ac_ext >&5
15442 glibcpp_cv_func_hypotf_use=no
15446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15447 ac_cpp='$CPP $CPPFLAGS'
15448 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15449 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15450 cross_compiling=$ac_cv_prog_cc_cross
15456 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15458 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15459 for ac_func in hypotf
15461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15462 echo "configure:15463: checking for $ac_func" >&5
15463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15464 echo $ac_n "(cached) $ac_c" 1>&6
15466 cat > conftest.$ac_ext <<EOF
15467 #line 15468 "configure"
15468 #include "confdefs.h"
15469 /* System header to define __stub macros and hopefully few prototypes,
15470 which can conflict with char $ac_func(); below. */
15471 #include <assert.h>
15472 /* Override any gcc2 internal prototype to avoid an error. */
15473 /* We use char because int might match the return type of a gcc2
15474 builtin and then its argument prototype would still apply. */
15479 /* The GNU C library defines this for functions which it implements
15480 to always fail with ENOSYS. Some functions are actually named
15481 something starting with __ and the normal name is an alias. */
15482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15490 if { (eval echo configure:15491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15492 eval "ac_cv_func_$ac_func=yes"
15494 echo "configure: failed program was:" >&5
15495 cat conftest.$ac_ext >&5
15497 eval "ac_cv_func_$ac_func=no"
15502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15503 echo "$ac_t""yes" 1>&6
15504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15505 cat >> confdefs.h <<EOF
15506 #define $ac_tr_func 1
15510 echo "$ac_t""no" 1>&6
15516 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
15517 echo "configure:15518: checking for _hypotf declaration" >&5
15518 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15519 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15520 echo $ac_n "(cached) $ac_c" 1>&6
15525 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15526 ac_cpp='$CXXCPP $CPPFLAGS'
15527 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15528 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15529 cross_compiling=$ac_cv_prog_cxx_cross
15531 cat > conftest.$ac_ext <<EOF
15532 #line 15533 "configure"
15533 #include "confdefs.h"
15539 if { (eval echo configure:15540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15541 glibcpp_cv_func__hypotf_use=yes
15543 echo "configure: failed program was:" >&5
15544 cat conftest.$ac_ext >&5
15546 glibcpp_cv_func__hypotf_use=no
15550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15551 ac_cpp='$CPP $CPPFLAGS'
15552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15554 cross_compiling=$ac_cv_prog_cc_cross
15560 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15562 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15563 for ac_func in _hypotf
15565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15566 echo "configure:15567: checking for $ac_func" >&5
15567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15568 echo $ac_n "(cached) $ac_c" 1>&6
15570 cat > conftest.$ac_ext <<EOF
15571 #line 15572 "configure"
15572 #include "confdefs.h"
15573 /* System header to define __stub macros and hopefully few prototypes,
15574 which can conflict with char $ac_func(); below. */
15575 #include <assert.h>
15576 /* Override any gcc2 internal prototype to avoid an error. */
15577 /* We use char because int might match the return type of a gcc2
15578 builtin and then its argument prototype would still apply. */
15583 /* The GNU C library defines this for functions which it implements
15584 to always fail with ENOSYS. Some functions are actually named
15585 something starting with __ and the normal name is an alias. */
15586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15594 if { (eval echo configure:15595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15596 eval "ac_cv_func_$ac_func=yes"
15598 echo "configure: failed program was:" >&5
15599 cat conftest.$ac_ext >&5
15601 eval "ac_cv_func_$ac_func=no"
15606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15607 echo "$ac_t""yes" 1>&6
15608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15609 cat >> confdefs.h <<EOF
15610 #define $ac_tr_func 1
15614 echo "$ac_t""no" 1>&6
15623 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
15624 echo "configure:15625: checking for ldexpf declaration" >&5
15625 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15626 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15627 echo $ac_n "(cached) $ac_c" 1>&6
15632 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15633 ac_cpp='$CXXCPP $CPPFLAGS'
15634 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15635 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15636 cross_compiling=$ac_cv_prog_cxx_cross
15638 cat > conftest.$ac_ext <<EOF
15639 #line 15640 "configure"
15640 #include "confdefs.h"
15646 if { (eval echo configure:15647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15648 glibcpp_cv_func_ldexpf_use=yes
15650 echo "configure: failed program was:" >&5
15651 cat conftest.$ac_ext >&5
15653 glibcpp_cv_func_ldexpf_use=no
15657 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15658 ac_cpp='$CPP $CPPFLAGS'
15659 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15660 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15661 cross_compiling=$ac_cv_prog_cc_cross
15667 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15669 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15670 for ac_func in ldexpf
15672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15673 echo "configure:15674: checking for $ac_func" >&5
15674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15675 echo $ac_n "(cached) $ac_c" 1>&6
15677 cat > conftest.$ac_ext <<EOF
15678 #line 15679 "configure"
15679 #include "confdefs.h"
15680 /* System header to define __stub macros and hopefully few prototypes,
15681 which can conflict with char $ac_func(); below. */
15682 #include <assert.h>
15683 /* Override any gcc2 internal prototype to avoid an error. */
15684 /* We use char because int might match the return type of a gcc2
15685 builtin and then its argument prototype would still apply. */
15690 /* The GNU C library defines this for functions which it implements
15691 to always fail with ENOSYS. Some functions are actually named
15692 something starting with __ and the normal name is an alias. */
15693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15701 if { (eval echo configure:15702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15703 eval "ac_cv_func_$ac_func=yes"
15705 echo "configure: failed program was:" >&5
15706 cat conftest.$ac_ext >&5
15708 eval "ac_cv_func_$ac_func=no"
15713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15714 echo "$ac_t""yes" 1>&6
15715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15716 cat >> confdefs.h <<EOF
15717 #define $ac_tr_func 1
15721 echo "$ac_t""no" 1>&6
15727 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
15728 echo "configure:15729: checking for _ldexpf declaration" >&5
15729 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15730 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15731 echo $ac_n "(cached) $ac_c" 1>&6
15736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15737 ac_cpp='$CXXCPP $CPPFLAGS'
15738 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15739 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15740 cross_compiling=$ac_cv_prog_cxx_cross
15742 cat > conftest.$ac_ext <<EOF
15743 #line 15744 "configure"
15744 #include "confdefs.h"
15750 if { (eval echo configure:15751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15752 glibcpp_cv_func__ldexpf_use=yes
15754 echo "configure: failed program was:" >&5
15755 cat conftest.$ac_ext >&5
15757 glibcpp_cv_func__ldexpf_use=no
15761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15762 ac_cpp='$CPP $CPPFLAGS'
15763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15765 cross_compiling=$ac_cv_prog_cc_cross
15771 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15773 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15774 for ac_func in _ldexpf
15776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15777 echo "configure:15778: checking for $ac_func" >&5
15778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15779 echo $ac_n "(cached) $ac_c" 1>&6
15781 cat > conftest.$ac_ext <<EOF
15782 #line 15783 "configure"
15783 #include "confdefs.h"
15784 /* System header to define __stub macros and hopefully few prototypes,
15785 which can conflict with char $ac_func(); below. */
15786 #include <assert.h>
15787 /* Override any gcc2 internal prototype to avoid an error. */
15788 /* We use char because int might match the return type of a gcc2
15789 builtin and then its argument prototype would still apply. */
15794 /* The GNU C library defines this for functions which it implements
15795 to always fail with ENOSYS. Some functions are actually named
15796 something starting with __ and the normal name is an alias. */
15797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15805 if { (eval echo configure:15806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15807 eval "ac_cv_func_$ac_func=yes"
15809 echo "configure: failed program was:" >&5
15810 cat conftest.$ac_ext >&5
15812 eval "ac_cv_func_$ac_func=no"
15817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15818 echo "$ac_t""yes" 1>&6
15819 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15820 cat >> confdefs.h <<EOF
15821 #define $ac_tr_func 1
15825 echo "$ac_t""no" 1>&6
15834 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
15835 echo "configure:15836: checking for logf declaration" >&5
15836 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15837 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15838 echo $ac_n "(cached) $ac_c" 1>&6
15843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15844 ac_cpp='$CXXCPP $CPPFLAGS'
15845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15847 cross_compiling=$ac_cv_prog_cxx_cross
15849 cat > conftest.$ac_ext <<EOF
15850 #line 15851 "configure"
15851 #include "confdefs.h"
15853 #ifdef HAVE_IEEEFP_H
15854 #include <ieeefp.h>
15861 if { (eval echo configure:15862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15863 glibcpp_cv_func_logf_use=yes
15865 echo "configure: failed program was:" >&5
15866 cat conftest.$ac_ext >&5
15868 glibcpp_cv_func_logf_use=no
15872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15873 ac_cpp='$CPP $CPPFLAGS'
15874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15876 cross_compiling=$ac_cv_prog_cc_cross
15882 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15884 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15885 for ac_func in logf
15887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15888 echo "configure:15889: checking for $ac_func" >&5
15889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15890 echo $ac_n "(cached) $ac_c" 1>&6
15892 cat > conftest.$ac_ext <<EOF
15893 #line 15894 "configure"
15894 #include "confdefs.h"
15895 /* System header to define __stub macros and hopefully few prototypes,
15896 which can conflict with char $ac_func(); below. */
15897 #include <assert.h>
15898 /* Override any gcc2 internal prototype to avoid an error. */
15899 /* We use char because int might match the return type of a gcc2
15900 builtin and then its argument prototype would still apply. */
15905 /* The GNU C library defines this for functions which it implements
15906 to always fail with ENOSYS. Some functions are actually named
15907 something starting with __ and the normal name is an alias. */
15908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15916 if { (eval echo configure:15917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15918 eval "ac_cv_func_$ac_func=yes"
15920 echo "configure: failed program was:" >&5
15921 cat conftest.$ac_ext >&5
15923 eval "ac_cv_func_$ac_func=no"
15928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15929 echo "$ac_t""yes" 1>&6
15930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15931 cat >> confdefs.h <<EOF
15932 #define $ac_tr_func 1
15936 echo "$ac_t""no" 1>&6
15942 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
15943 echo "configure:15944: checking for _logf declaration" >&5
15944 if test x${glibcpp_cv_func__logf_use+set} != xset; then
15945 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
15946 echo $ac_n "(cached) $ac_c" 1>&6
15951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15952 ac_cpp='$CXXCPP $CPPFLAGS'
15953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15955 cross_compiling=$ac_cv_prog_cxx_cross
15957 cat > conftest.$ac_ext <<EOF
15958 #line 15959 "configure"
15959 #include "confdefs.h"
15961 #ifdef HAVE_IEEEFP_H
15962 #include <ieeefp.h>
15969 if { (eval echo configure:15970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15971 glibcpp_cv_func__logf_use=yes
15973 echo "configure: failed program was:" >&5
15974 cat conftest.$ac_ext >&5
15976 glibcpp_cv_func__logf_use=no
15980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15981 ac_cpp='$CPP $CPPFLAGS'
15982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15984 cross_compiling=$ac_cv_prog_cc_cross
15990 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
15992 if test x$glibcpp_cv_func__logf_use = x"yes"; then
15993 for ac_func in _logf
15995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15996 echo "configure:15997: checking for $ac_func" >&5
15997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15998 echo $ac_n "(cached) $ac_c" 1>&6
16000 cat > conftest.$ac_ext <<EOF
16001 #line 16002 "configure"
16002 #include "confdefs.h"
16003 /* System header to define __stub macros and hopefully few prototypes,
16004 which can conflict with char $ac_func(); below. */
16005 #include <assert.h>
16006 /* Override any gcc2 internal prototype to avoid an error. */
16007 /* We use char because int might match the return type of a gcc2
16008 builtin and then its argument prototype would still apply. */
16013 /* The GNU C library defines this for functions which it implements
16014 to always fail with ENOSYS. Some functions are actually named
16015 something starting with __ and the normal name is an alias. */
16016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16024 if { (eval echo configure:16025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16026 eval "ac_cv_func_$ac_func=yes"
16028 echo "configure: failed program was:" >&5
16029 cat conftest.$ac_ext >&5
16031 eval "ac_cv_func_$ac_func=no"
16036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16037 echo "$ac_t""yes" 1>&6
16038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16039 cat >> confdefs.h <<EOF
16040 #define $ac_tr_func 1
16044 echo "$ac_t""no" 1>&6
16053 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
16054 echo "configure:16055: checking for log10f declaration" >&5
16055 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
16056 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
16057 echo $ac_n "(cached) $ac_c" 1>&6
16062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16063 ac_cpp='$CXXCPP $CPPFLAGS'
16064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16066 cross_compiling=$ac_cv_prog_cxx_cross
16068 cat > conftest.$ac_ext <<EOF
16069 #line 16070 "configure"
16070 #include "confdefs.h"
16072 #ifdef HAVE_IEEEFP_H
16073 #include <ieeefp.h>
16080 if { (eval echo configure:16081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16082 glibcpp_cv_func_log10f_use=yes
16084 echo "configure: failed program was:" >&5
16085 cat conftest.$ac_ext >&5
16087 glibcpp_cv_func_log10f_use=no
16091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16095 cross_compiling=$ac_cv_prog_cc_cross
16101 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
16103 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
16104 for ac_func in log10f
16106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16107 echo "configure:16108: checking for $ac_func" >&5
16108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16109 echo $ac_n "(cached) $ac_c" 1>&6
16111 cat > conftest.$ac_ext <<EOF
16112 #line 16113 "configure"
16113 #include "confdefs.h"
16114 /* System header to define __stub macros and hopefully few prototypes,
16115 which can conflict with char $ac_func(); below. */
16116 #include <assert.h>
16117 /* Override any gcc2 internal prototype to avoid an error. */
16118 /* We use char because int might match the return type of a gcc2
16119 builtin and then its argument prototype would still apply. */
16124 /* The GNU C library defines this for functions which it implements
16125 to always fail with ENOSYS. Some functions are actually named
16126 something starting with __ and the normal name is an alias. */
16127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16135 if { (eval echo configure:16136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16137 eval "ac_cv_func_$ac_func=yes"
16139 echo "configure: failed program was:" >&5
16140 cat conftest.$ac_ext >&5
16142 eval "ac_cv_func_$ac_func=no"
16147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16148 echo "$ac_t""yes" 1>&6
16149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16150 cat >> confdefs.h <<EOF
16151 #define $ac_tr_func 1
16155 echo "$ac_t""no" 1>&6
16161 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
16162 echo "configure:16163: checking for _log10f declaration" >&5
16163 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16164 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16165 echo $ac_n "(cached) $ac_c" 1>&6
16170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16171 ac_cpp='$CXXCPP $CPPFLAGS'
16172 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16173 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16174 cross_compiling=$ac_cv_prog_cxx_cross
16176 cat > conftest.$ac_ext <<EOF
16177 #line 16178 "configure"
16178 #include "confdefs.h"
16180 #ifdef HAVE_IEEEFP_H
16181 #include <ieeefp.h>
16188 if { (eval echo configure:16189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16190 glibcpp_cv_func__log10f_use=yes
16192 echo "configure: failed program was:" >&5
16193 cat conftest.$ac_ext >&5
16195 glibcpp_cv_func__log10f_use=no
16199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16200 ac_cpp='$CPP $CPPFLAGS'
16201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16203 cross_compiling=$ac_cv_prog_cc_cross
16209 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16211 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16212 for ac_func in _log10f
16214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16215 echo "configure:16216: checking for $ac_func" >&5
16216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16217 echo $ac_n "(cached) $ac_c" 1>&6
16219 cat > conftest.$ac_ext <<EOF
16220 #line 16221 "configure"
16221 #include "confdefs.h"
16222 /* System header to define __stub macros and hopefully few prototypes,
16223 which can conflict with char $ac_func(); below. */
16224 #include <assert.h>
16225 /* Override any gcc2 internal prototype to avoid an error. */
16226 /* We use char because int might match the return type of a gcc2
16227 builtin and then its argument prototype would still apply. */
16232 /* The GNU C library defines this for functions which it implements
16233 to always fail with ENOSYS. Some functions are actually named
16234 something starting with __ and the normal name is an alias. */
16235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16243 if { (eval echo configure:16244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16245 eval "ac_cv_func_$ac_func=yes"
16247 echo "configure: failed program was:" >&5
16248 cat conftest.$ac_ext >&5
16250 eval "ac_cv_func_$ac_func=no"
16255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16256 echo "$ac_t""yes" 1>&6
16257 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16258 cat >> confdefs.h <<EOF
16259 #define $ac_tr_func 1
16263 echo "$ac_t""no" 1>&6
16272 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
16273 echo "configure:16274: checking for modff declaration" >&5
16274 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16275 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16276 echo $ac_n "(cached) $ac_c" 1>&6
16281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16282 ac_cpp='$CXXCPP $CPPFLAGS'
16283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16285 cross_compiling=$ac_cv_prog_cxx_cross
16287 cat > conftest.$ac_ext <<EOF
16288 #line 16289 "configure"
16289 #include "confdefs.h"
16295 if { (eval echo configure:16296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16297 glibcpp_cv_func_modff_use=yes
16299 echo "configure: failed program was:" >&5
16300 cat conftest.$ac_ext >&5
16302 glibcpp_cv_func_modff_use=no
16306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16307 ac_cpp='$CPP $CPPFLAGS'
16308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16310 cross_compiling=$ac_cv_prog_cc_cross
16316 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16318 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16319 for ac_func in modff
16321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16322 echo "configure:16323: checking for $ac_func" >&5
16323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16324 echo $ac_n "(cached) $ac_c" 1>&6
16326 cat > conftest.$ac_ext <<EOF
16327 #line 16328 "configure"
16328 #include "confdefs.h"
16329 /* System header to define __stub macros and hopefully few prototypes,
16330 which can conflict with char $ac_func(); below. */
16331 #include <assert.h>
16332 /* Override any gcc2 internal prototype to avoid an error. */
16333 /* We use char because int might match the return type of a gcc2
16334 builtin and then its argument prototype would still apply. */
16339 /* The GNU C library defines this for functions which it implements
16340 to always fail with ENOSYS. Some functions are actually named
16341 something starting with __ and the normal name is an alias. */
16342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16350 if { (eval echo configure:16351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16352 eval "ac_cv_func_$ac_func=yes"
16354 echo "configure: failed program was:" >&5
16355 cat conftest.$ac_ext >&5
16357 eval "ac_cv_func_$ac_func=no"
16362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16363 echo "$ac_t""yes" 1>&6
16364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16365 cat >> confdefs.h <<EOF
16366 #define $ac_tr_func 1
16370 echo "$ac_t""no" 1>&6
16376 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
16377 echo "configure:16378: checking for _modff declaration" >&5
16378 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16379 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16380 echo $ac_n "(cached) $ac_c" 1>&6
16385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16386 ac_cpp='$CXXCPP $CPPFLAGS'
16387 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16388 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16389 cross_compiling=$ac_cv_prog_cxx_cross
16391 cat > conftest.$ac_ext <<EOF
16392 #line 16393 "configure"
16393 #include "confdefs.h"
16399 if { (eval echo configure:16400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16401 glibcpp_cv_func__modff_use=yes
16403 echo "configure: failed program was:" >&5
16404 cat conftest.$ac_ext >&5
16406 glibcpp_cv_func__modff_use=no
16410 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16411 ac_cpp='$CPP $CPPFLAGS'
16412 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16413 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16414 cross_compiling=$ac_cv_prog_cc_cross
16420 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16422 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16423 for ac_func in _modff
16425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16426 echo "configure:16427: checking for $ac_func" >&5
16427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16428 echo $ac_n "(cached) $ac_c" 1>&6
16430 cat > conftest.$ac_ext <<EOF
16431 #line 16432 "configure"
16432 #include "confdefs.h"
16433 /* System header to define __stub macros and hopefully few prototypes,
16434 which can conflict with char $ac_func(); below. */
16435 #include <assert.h>
16436 /* Override any gcc2 internal prototype to avoid an error. */
16437 /* We use char because int might match the return type of a gcc2
16438 builtin and then its argument prototype would still apply. */
16443 /* The GNU C library defines this for functions which it implements
16444 to always fail with ENOSYS. Some functions are actually named
16445 something starting with __ and the normal name is an alias. */
16446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16454 if { (eval echo configure:16455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16456 eval "ac_cv_func_$ac_func=yes"
16458 echo "configure: failed program was:" >&5
16459 cat conftest.$ac_ext >&5
16461 eval "ac_cv_func_$ac_func=no"
16466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16467 echo "$ac_t""yes" 1>&6
16468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16469 cat >> confdefs.h <<EOF
16470 #define $ac_tr_func 1
16474 echo "$ac_t""no" 1>&6
16483 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
16484 echo "configure:16485: checking for powf declaration" >&5
16485 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16486 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16487 echo $ac_n "(cached) $ac_c" 1>&6
16492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16493 ac_cpp='$CXXCPP $CPPFLAGS'
16494 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16495 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16496 cross_compiling=$ac_cv_prog_cxx_cross
16498 cat > conftest.$ac_ext <<EOF
16499 #line 16500 "configure"
16500 #include "confdefs.h"
16506 if { (eval echo configure:16507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16508 glibcpp_cv_func_powf_use=yes
16510 echo "configure: failed program was:" >&5
16511 cat conftest.$ac_ext >&5
16513 glibcpp_cv_func_powf_use=no
16517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16518 ac_cpp='$CPP $CPPFLAGS'
16519 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16520 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16521 cross_compiling=$ac_cv_prog_cc_cross
16527 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16529 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16530 for ac_func in powf
16532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16533 echo "configure:16534: checking for $ac_func" >&5
16534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16535 echo $ac_n "(cached) $ac_c" 1>&6
16537 cat > conftest.$ac_ext <<EOF
16538 #line 16539 "configure"
16539 #include "confdefs.h"
16540 /* System header to define __stub macros and hopefully few prototypes,
16541 which can conflict with char $ac_func(); below. */
16542 #include <assert.h>
16543 /* Override any gcc2 internal prototype to avoid an error. */
16544 /* We use char because int might match the return type of a gcc2
16545 builtin and then its argument prototype would still apply. */
16550 /* The GNU C library defines this for functions which it implements
16551 to always fail with ENOSYS. Some functions are actually named
16552 something starting with __ and the normal name is an alias. */
16553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16561 if { (eval echo configure:16562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16563 eval "ac_cv_func_$ac_func=yes"
16565 echo "configure: failed program was:" >&5
16566 cat conftest.$ac_ext >&5
16568 eval "ac_cv_func_$ac_func=no"
16573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16574 echo "$ac_t""yes" 1>&6
16575 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16576 cat >> confdefs.h <<EOF
16577 #define $ac_tr_func 1
16581 echo "$ac_t""no" 1>&6
16587 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
16588 echo "configure:16589: checking for _powf declaration" >&5
16589 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16590 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16591 echo $ac_n "(cached) $ac_c" 1>&6
16596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16597 ac_cpp='$CXXCPP $CPPFLAGS'
16598 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16599 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16600 cross_compiling=$ac_cv_prog_cxx_cross
16602 cat > conftest.$ac_ext <<EOF
16603 #line 16604 "configure"
16604 #include "confdefs.h"
16610 if { (eval echo configure:16611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16612 glibcpp_cv_func__powf_use=yes
16614 echo "configure: failed program was:" >&5
16615 cat conftest.$ac_ext >&5
16617 glibcpp_cv_func__powf_use=no
16621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16622 ac_cpp='$CPP $CPPFLAGS'
16623 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16624 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16625 cross_compiling=$ac_cv_prog_cc_cross
16631 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16633 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16634 for ac_func in _powf
16636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16637 echo "configure:16638: checking for $ac_func" >&5
16638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16639 echo $ac_n "(cached) $ac_c" 1>&6
16641 cat > conftest.$ac_ext <<EOF
16642 #line 16643 "configure"
16643 #include "confdefs.h"
16644 /* System header to define __stub macros and hopefully few prototypes,
16645 which can conflict with char $ac_func(); below. */
16646 #include <assert.h>
16647 /* Override any gcc2 internal prototype to avoid an error. */
16648 /* We use char because int might match the return type of a gcc2
16649 builtin and then its argument prototype would still apply. */
16654 /* The GNU C library defines this for functions which it implements
16655 to always fail with ENOSYS. Some functions are actually named
16656 something starting with __ and the normal name is an alias. */
16657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16665 if { (eval echo configure:16666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16667 eval "ac_cv_func_$ac_func=yes"
16669 echo "configure: failed program was:" >&5
16670 cat conftest.$ac_ext >&5
16672 eval "ac_cv_func_$ac_func=no"
16677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16678 echo "$ac_t""yes" 1>&6
16679 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16680 cat >> confdefs.h <<EOF
16681 #define $ac_tr_func 1
16685 echo "$ac_t""no" 1>&6
16694 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
16695 echo "configure:16696: checking for sqrtf declaration" >&5
16696 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16697 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16698 echo $ac_n "(cached) $ac_c" 1>&6
16703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16704 ac_cpp='$CXXCPP $CPPFLAGS'
16705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16707 cross_compiling=$ac_cv_prog_cxx_cross
16709 cat > conftest.$ac_ext <<EOF
16710 #line 16711 "configure"
16711 #include "confdefs.h"
16713 #ifdef HAVE_IEEEFP_H
16714 #include <ieeefp.h>
16721 if { (eval echo configure:16722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16723 glibcpp_cv_func_sqrtf_use=yes
16725 echo "configure: failed program was:" >&5
16726 cat conftest.$ac_ext >&5
16728 glibcpp_cv_func_sqrtf_use=no
16732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16733 ac_cpp='$CPP $CPPFLAGS'
16734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16736 cross_compiling=$ac_cv_prog_cc_cross
16742 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16744 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16745 for ac_func in sqrtf
16747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16748 echo "configure:16749: checking for $ac_func" >&5
16749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16750 echo $ac_n "(cached) $ac_c" 1>&6
16752 cat > conftest.$ac_ext <<EOF
16753 #line 16754 "configure"
16754 #include "confdefs.h"
16755 /* System header to define __stub macros and hopefully few prototypes,
16756 which can conflict with char $ac_func(); below. */
16757 #include <assert.h>
16758 /* Override any gcc2 internal prototype to avoid an error. */
16759 /* We use char because int might match the return type of a gcc2
16760 builtin and then its argument prototype would still apply. */
16765 /* The GNU C library defines this for functions which it implements
16766 to always fail with ENOSYS. Some functions are actually named
16767 something starting with __ and the normal name is an alias. */
16768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16776 if { (eval echo configure:16777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16778 eval "ac_cv_func_$ac_func=yes"
16780 echo "configure: failed program was:" >&5
16781 cat conftest.$ac_ext >&5
16783 eval "ac_cv_func_$ac_func=no"
16788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16789 echo "$ac_t""yes" 1>&6
16790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16791 cat >> confdefs.h <<EOF
16792 #define $ac_tr_func 1
16796 echo "$ac_t""no" 1>&6
16802 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
16803 echo "configure:16804: checking for _sqrtf declaration" >&5
16804 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16805 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16806 echo $ac_n "(cached) $ac_c" 1>&6
16811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16812 ac_cpp='$CXXCPP $CPPFLAGS'
16813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16815 cross_compiling=$ac_cv_prog_cxx_cross
16817 cat > conftest.$ac_ext <<EOF
16818 #line 16819 "configure"
16819 #include "confdefs.h"
16821 #ifdef HAVE_IEEEFP_H
16822 #include <ieeefp.h>
16829 if { (eval echo configure:16830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16831 glibcpp_cv_func__sqrtf_use=yes
16833 echo "configure: failed program was:" >&5
16834 cat conftest.$ac_ext >&5
16836 glibcpp_cv_func__sqrtf_use=no
16840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16841 ac_cpp='$CPP $CPPFLAGS'
16842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16844 cross_compiling=$ac_cv_prog_cc_cross
16850 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16852 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16853 for ac_func in _sqrtf
16855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16856 echo "configure:16857: checking for $ac_func" >&5
16857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16858 echo $ac_n "(cached) $ac_c" 1>&6
16860 cat > conftest.$ac_ext <<EOF
16861 #line 16862 "configure"
16862 #include "confdefs.h"
16863 /* System header to define __stub macros and hopefully few prototypes,
16864 which can conflict with char $ac_func(); below. */
16865 #include <assert.h>
16866 /* Override any gcc2 internal prototype to avoid an error. */
16867 /* We use char because int might match the return type of a gcc2
16868 builtin and then its argument prototype would still apply. */
16873 /* The GNU C library defines this for functions which it implements
16874 to always fail with ENOSYS. Some functions are actually named
16875 something starting with __ and the normal name is an alias. */
16876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16884 if { (eval echo configure:16885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16886 eval "ac_cv_func_$ac_func=yes"
16888 echo "configure: failed program was:" >&5
16889 cat conftest.$ac_ext >&5
16891 eval "ac_cv_func_$ac_func=no"
16896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16897 echo "$ac_t""yes" 1>&6
16898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16899 cat >> confdefs.h <<EOF
16900 #define $ac_tr_func 1
16904 echo "$ac_t""no" 1>&6
16913 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
16914 echo "configure:16915: checking for sincosf declaration" >&5
16915 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16916 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16917 echo $ac_n "(cached) $ac_c" 1>&6
16922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16923 ac_cpp='$CXXCPP $CPPFLAGS'
16924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16926 cross_compiling=$ac_cv_prog_cxx_cross
16928 cat > conftest.$ac_ext <<EOF
16929 #line 16930 "configure"
16930 #include "confdefs.h"
16936 if { (eval echo configure:16937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16938 glibcpp_cv_func_sincosf_use=yes
16940 echo "configure: failed program was:" >&5
16941 cat conftest.$ac_ext >&5
16943 glibcpp_cv_func_sincosf_use=no
16947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16948 ac_cpp='$CPP $CPPFLAGS'
16949 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16950 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16951 cross_compiling=$ac_cv_prog_cc_cross
16957 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
16959 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
16960 for ac_func in sincosf
16962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16963 echo "configure:16964: checking for $ac_func" >&5
16964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16965 echo $ac_n "(cached) $ac_c" 1>&6
16967 cat > conftest.$ac_ext <<EOF
16968 #line 16969 "configure"
16969 #include "confdefs.h"
16970 /* System header to define __stub macros and hopefully few prototypes,
16971 which can conflict with char $ac_func(); below. */
16972 #include <assert.h>
16973 /* Override any gcc2 internal prototype to avoid an error. */
16974 /* We use char because int might match the return type of a gcc2
16975 builtin and then its argument prototype would still apply. */
16980 /* The GNU C library defines this for functions which it implements
16981 to always fail with ENOSYS. Some functions are actually named
16982 something starting with __ and the normal name is an alias. */
16983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16991 if { (eval echo configure:16992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16993 eval "ac_cv_func_$ac_func=yes"
16995 echo "configure: failed program was:" >&5
16996 cat conftest.$ac_ext >&5
16998 eval "ac_cv_func_$ac_func=no"
17003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17004 echo "$ac_t""yes" 1>&6
17005 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17006 cat >> confdefs.h <<EOF
17007 #define $ac_tr_func 1
17011 echo "$ac_t""no" 1>&6
17017 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
17018 echo "configure:17019: checking for _sincosf declaration" >&5
17019 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
17020 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
17021 echo $ac_n "(cached) $ac_c" 1>&6
17026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17027 ac_cpp='$CXXCPP $CPPFLAGS'
17028 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17029 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17030 cross_compiling=$ac_cv_prog_cxx_cross
17032 cat > conftest.$ac_ext <<EOF
17033 #line 17034 "configure"
17034 #include "confdefs.h"
17040 if { (eval echo configure:17041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17042 glibcpp_cv_func__sincosf_use=yes
17044 echo "configure: failed program was:" >&5
17045 cat conftest.$ac_ext >&5
17047 glibcpp_cv_func__sincosf_use=no
17051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17052 ac_cpp='$CPP $CPPFLAGS'
17053 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17054 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17055 cross_compiling=$ac_cv_prog_cc_cross
17061 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
17063 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
17064 for ac_func in _sincosf
17066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17067 echo "configure:17068: checking for $ac_func" >&5
17068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17069 echo $ac_n "(cached) $ac_c" 1>&6
17071 cat > conftest.$ac_ext <<EOF
17072 #line 17073 "configure"
17073 #include "confdefs.h"
17074 /* System header to define __stub macros and hopefully few prototypes,
17075 which can conflict with char $ac_func(); below. */
17076 #include <assert.h>
17077 /* Override any gcc2 internal prototype to avoid an error. */
17078 /* We use char because int might match the return type of a gcc2
17079 builtin and then its argument prototype would still apply. */
17084 /* The GNU C library defines this for functions which it implements
17085 to always fail with ENOSYS. Some functions are actually named
17086 something starting with __ and the normal name is an alias. */
17087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17095 if { (eval echo configure:17096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17097 eval "ac_cv_func_$ac_func=yes"
17099 echo "configure: failed program was:" >&5
17100 cat conftest.$ac_ext >&5
17102 eval "ac_cv_func_$ac_func=no"
17107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17108 echo "$ac_t""yes" 1>&6
17109 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17110 cat >> confdefs.h <<EOF
17111 #define $ac_tr_func 1
17115 echo "$ac_t""no" 1>&6
17124 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
17125 echo "configure:17126: checking for finitef declaration" >&5
17126 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
17127 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
17128 echo $ac_n "(cached) $ac_c" 1>&6
17133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17134 ac_cpp='$CXXCPP $CPPFLAGS'
17135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17137 cross_compiling=$ac_cv_prog_cxx_cross
17139 cat > conftest.$ac_ext <<EOF
17140 #line 17141 "configure"
17141 #include "confdefs.h"
17143 #ifdef HAVE_IEEEFP_H
17144 #include <ieeefp.h>
17151 if { (eval echo configure:17152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17153 glibcpp_cv_func_finitef_use=yes
17155 echo "configure: failed program was:" >&5
17156 cat conftest.$ac_ext >&5
17158 glibcpp_cv_func_finitef_use=no
17162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17163 ac_cpp='$CPP $CPPFLAGS'
17164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17166 cross_compiling=$ac_cv_prog_cc_cross
17172 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17174 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17175 for ac_func in finitef
17177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17178 echo "configure:17179: checking for $ac_func" >&5
17179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17180 echo $ac_n "(cached) $ac_c" 1>&6
17182 cat > conftest.$ac_ext <<EOF
17183 #line 17184 "configure"
17184 #include "confdefs.h"
17185 /* System header to define __stub macros and hopefully few prototypes,
17186 which can conflict with char $ac_func(); below. */
17187 #include <assert.h>
17188 /* Override any gcc2 internal prototype to avoid an error. */
17189 /* We use char because int might match the return type of a gcc2
17190 builtin and then its argument prototype would still apply. */
17195 /* The GNU C library defines this for functions which it implements
17196 to always fail with ENOSYS. Some functions are actually named
17197 something starting with __ and the normal name is an alias. */
17198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17206 if { (eval echo configure:17207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17208 eval "ac_cv_func_$ac_func=yes"
17210 echo "configure: failed program was:" >&5
17211 cat conftest.$ac_ext >&5
17213 eval "ac_cv_func_$ac_func=no"
17218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17219 echo "$ac_t""yes" 1>&6
17220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17221 cat >> confdefs.h <<EOF
17222 #define $ac_tr_func 1
17226 echo "$ac_t""no" 1>&6
17232 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
17233 echo "configure:17234: checking for _finitef declaration" >&5
17234 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17235 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17236 echo $ac_n "(cached) $ac_c" 1>&6
17241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17242 ac_cpp='$CXXCPP $CPPFLAGS'
17243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17245 cross_compiling=$ac_cv_prog_cxx_cross
17247 cat > conftest.$ac_ext <<EOF
17248 #line 17249 "configure"
17249 #include "confdefs.h"
17251 #ifdef HAVE_IEEEFP_H
17252 #include <ieeefp.h>
17259 if { (eval echo configure:17260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17261 glibcpp_cv_func__finitef_use=yes
17263 echo "configure: failed program was:" >&5
17264 cat conftest.$ac_ext >&5
17266 glibcpp_cv_func__finitef_use=no
17270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17271 ac_cpp='$CPP $CPPFLAGS'
17272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17274 cross_compiling=$ac_cv_prog_cc_cross
17280 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17282 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17283 for ac_func in _finitef
17285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17286 echo "configure:17287: checking for $ac_func" >&5
17287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17288 echo $ac_n "(cached) $ac_c" 1>&6
17290 cat > conftest.$ac_ext <<EOF
17291 #line 17292 "configure"
17292 #include "confdefs.h"
17293 /* System header to define __stub macros and hopefully few prototypes,
17294 which can conflict with char $ac_func(); below. */
17295 #include <assert.h>
17296 /* Override any gcc2 internal prototype to avoid an error. */
17297 /* We use char because int might match the return type of a gcc2
17298 builtin and then its argument prototype would still apply. */
17303 /* The GNU C library defines this for functions which it implements
17304 to always fail with ENOSYS. Some functions are actually named
17305 something starting with __ and the normal name is an alias. */
17306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17314 if { (eval echo configure:17315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17316 eval "ac_cv_func_$ac_func=yes"
17318 echo "configure: failed program was:" >&5
17319 cat conftest.$ac_ext >&5
17321 eval "ac_cv_func_$ac_func=no"
17326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17327 echo "$ac_t""yes" 1>&6
17328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17329 cat >> confdefs.h <<EOF
17330 #define $ac_tr_func 1
17334 echo "$ac_t""no" 1>&6
17343 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
17344 echo "configure:17345: checking for long double trig functions" >&5
17345 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17346 echo $ac_n "(cached) $ac_c" 1>&6
17351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17352 ac_cpp='$CXXCPP $CPPFLAGS'
17353 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17354 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17355 cross_compiling=$ac_cv_prog_cxx_cross
17357 cat > conftest.$ac_ext <<EOF
17358 #line 17359 "configure"
17359 #include "confdefs.h"
17362 `for x in acosl asinl atanl \
17364 coshl sinhl tanhl; do echo "$x (0);"; done`
17367 if { (eval echo configure:17368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17369 glibcpp_cv_func_long_double_trig_use=yes
17371 echo "configure: failed program was:" >&5
17372 cat conftest.$ac_ext >&5
17374 glibcpp_cv_func_long_double_trig_use=no
17378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17382 cross_compiling=$ac_cv_prog_cc_cross
17386 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17387 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17388 for ac_func in acosl asinl atanl \
17392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17393 echo "configure:17394: checking for $ac_func" >&5
17394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17395 echo $ac_n "(cached) $ac_c" 1>&6
17397 cat > conftest.$ac_ext <<EOF
17398 #line 17399 "configure"
17399 #include "confdefs.h"
17400 /* System header to define __stub macros and hopefully few prototypes,
17401 which can conflict with char $ac_func(); below. */
17402 #include <assert.h>
17403 /* Override any gcc2 internal prototype to avoid an error. */
17404 /* We use char because int might match the return type of a gcc2
17405 builtin and then its argument prototype would still apply. */
17410 /* The GNU C library defines this for functions which it implements
17411 to always fail with ENOSYS. Some functions are actually named
17412 something starting with __ and the normal name is an alias. */
17413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17421 if { (eval echo configure:17422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17423 eval "ac_cv_func_$ac_func=yes"
17425 echo "configure: failed program was:" >&5
17426 cat conftest.$ac_ext >&5
17428 eval "ac_cv_func_$ac_func=no"
17433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17434 echo "$ac_t""yes" 1>&6
17435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17436 cat >> confdefs.h <<EOF
17437 #define $ac_tr_func 1
17441 echo "$ac_t""no" 1>&6
17448 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
17449 echo "configure:17450: checking for long double round functions" >&5
17450 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17451 echo $ac_n "(cached) $ac_c" 1>&6
17456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17457 ac_cpp='$CXXCPP $CPPFLAGS'
17458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17460 cross_compiling=$ac_cv_prog_cxx_cross
17462 cat > conftest.$ac_ext <<EOF
17463 #line 17464 "configure"
17464 #include "confdefs.h"
17467 `for x in ceill floorl; do echo "$x (0);"; done`
17470 if { (eval echo configure:17471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17472 glibcpp_cv_func_long_double_round_use=yes
17474 echo "configure: failed program was:" >&5
17475 cat conftest.$ac_ext >&5
17477 glibcpp_cv_func_long_double_round_use=no
17481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17482 ac_cpp='$CPP $CPPFLAGS'
17483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17485 cross_compiling=$ac_cv_prog_cc_cross
17489 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17490 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17491 for ac_func in ceill floorl
17493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17494 echo "configure:17495: checking for $ac_func" >&5
17495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17496 echo $ac_n "(cached) $ac_c" 1>&6
17498 cat > conftest.$ac_ext <<EOF
17499 #line 17500 "configure"
17500 #include "confdefs.h"
17501 /* System header to define __stub macros and hopefully few prototypes,
17502 which can conflict with char $ac_func(); below. */
17503 #include <assert.h>
17504 /* Override any gcc2 internal prototype to avoid an error. */
17505 /* We use char because int might match the return type of a gcc2
17506 builtin and then its argument prototype would still apply. */
17511 /* The GNU C library defines this for functions which it implements
17512 to always fail with ENOSYS. Some functions are actually named
17513 something starting with __ and the normal name is an alias. */
17514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17522 if { (eval echo configure:17523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17524 eval "ac_cv_func_$ac_func=yes"
17526 echo "configure: failed program was:" >&5
17527 cat conftest.$ac_ext >&5
17529 eval "ac_cv_func_$ac_func=no"
17534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17535 echo "$ac_t""yes" 1>&6
17536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17537 cat >> confdefs.h <<EOF
17538 #define $ac_tr_func 1
17542 echo "$ac_t""no" 1>&6
17550 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
17551 echo "configure:17552: checking for isnanl declaration" >&5
17552 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17553 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17554 echo $ac_n "(cached) $ac_c" 1>&6
17559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17560 ac_cpp='$CXXCPP $CPPFLAGS'
17561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17563 cross_compiling=$ac_cv_prog_cxx_cross
17565 cat > conftest.$ac_ext <<EOF
17566 #line 17567 "configure"
17567 #include "confdefs.h"
17569 #ifdef HAVE_IEEEFP_H
17570 #include <ieeefp.h>
17577 if { (eval echo configure:17578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17579 glibcpp_cv_func_isnanl_use=yes
17581 echo "configure: failed program was:" >&5
17582 cat conftest.$ac_ext >&5
17584 glibcpp_cv_func_isnanl_use=no
17588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17589 ac_cpp='$CPP $CPPFLAGS'
17590 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17591 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17592 cross_compiling=$ac_cv_prog_cc_cross
17598 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17600 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17601 for ac_func in isnanl
17603 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17604 echo "configure:17605: checking for $ac_func" >&5
17605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17606 echo $ac_n "(cached) $ac_c" 1>&6
17608 cat > conftest.$ac_ext <<EOF
17609 #line 17610 "configure"
17610 #include "confdefs.h"
17611 /* System header to define __stub macros and hopefully few prototypes,
17612 which can conflict with char $ac_func(); below. */
17613 #include <assert.h>
17614 /* Override any gcc2 internal prototype to avoid an error. */
17615 /* We use char because int might match the return type of a gcc2
17616 builtin and then its argument prototype would still apply. */
17621 /* The GNU C library defines this for functions which it implements
17622 to always fail with ENOSYS. Some functions are actually named
17623 something starting with __ and the normal name is an alias. */
17624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17632 if { (eval echo configure:17633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17634 eval "ac_cv_func_$ac_func=yes"
17636 echo "configure: failed program was:" >&5
17637 cat conftest.$ac_ext >&5
17639 eval "ac_cv_func_$ac_func=no"
17644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17645 echo "$ac_t""yes" 1>&6
17646 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17647 cat >> confdefs.h <<EOF
17648 #define $ac_tr_func 1
17652 echo "$ac_t""no" 1>&6
17658 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
17659 echo "configure:17660: checking for _isnanl declaration" >&5
17660 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17661 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17662 echo $ac_n "(cached) $ac_c" 1>&6
17667 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17668 ac_cpp='$CXXCPP $CPPFLAGS'
17669 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17670 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17671 cross_compiling=$ac_cv_prog_cxx_cross
17673 cat > conftest.$ac_ext <<EOF
17674 #line 17675 "configure"
17675 #include "confdefs.h"
17677 #ifdef HAVE_IEEEFP_H
17678 #include <ieeefp.h>
17685 if { (eval echo configure:17686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17687 glibcpp_cv_func__isnanl_use=yes
17689 echo "configure: failed program was:" >&5
17690 cat conftest.$ac_ext >&5
17692 glibcpp_cv_func__isnanl_use=no
17696 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17697 ac_cpp='$CPP $CPPFLAGS'
17698 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17699 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17700 cross_compiling=$ac_cv_prog_cc_cross
17706 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17708 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17709 for ac_func in _isnanl
17711 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17712 echo "configure:17713: checking for $ac_func" >&5
17713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17714 echo $ac_n "(cached) $ac_c" 1>&6
17716 cat > conftest.$ac_ext <<EOF
17717 #line 17718 "configure"
17718 #include "confdefs.h"
17719 /* System header to define __stub macros and hopefully few prototypes,
17720 which can conflict with char $ac_func(); below. */
17721 #include <assert.h>
17722 /* Override any gcc2 internal prototype to avoid an error. */
17723 /* We use char because int might match the return type of a gcc2
17724 builtin and then its argument prototype would still apply. */
17729 /* The GNU C library defines this for functions which it implements
17730 to always fail with ENOSYS. Some functions are actually named
17731 something starting with __ and the normal name is an alias. */
17732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17740 if { (eval echo configure:17741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17742 eval "ac_cv_func_$ac_func=yes"
17744 echo "configure: failed program was:" >&5
17745 cat conftest.$ac_ext >&5
17747 eval "ac_cv_func_$ac_func=no"
17752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17753 echo "$ac_t""yes" 1>&6
17754 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17755 cat >> confdefs.h <<EOF
17756 #define $ac_tr_func 1
17760 echo "$ac_t""no" 1>&6
17769 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
17770 echo "configure:17771: checking for isinfl declaration" >&5
17771 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17772 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17773 echo $ac_n "(cached) $ac_c" 1>&6
17778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17779 ac_cpp='$CXXCPP $CPPFLAGS'
17780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17782 cross_compiling=$ac_cv_prog_cxx_cross
17784 cat > conftest.$ac_ext <<EOF
17785 #line 17786 "configure"
17786 #include "confdefs.h"
17788 #ifdef HAVE_IEEEFP_H
17789 #include <ieeefp.h>
17796 if { (eval echo configure:17797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17798 glibcpp_cv_func_isinfl_use=yes
17800 echo "configure: failed program was:" >&5
17801 cat conftest.$ac_ext >&5
17803 glibcpp_cv_func_isinfl_use=no
17807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17808 ac_cpp='$CPP $CPPFLAGS'
17809 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17810 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17811 cross_compiling=$ac_cv_prog_cc_cross
17817 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17819 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17820 for ac_func in isinfl
17822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17823 echo "configure:17824: checking for $ac_func" >&5
17824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17825 echo $ac_n "(cached) $ac_c" 1>&6
17827 cat > conftest.$ac_ext <<EOF
17828 #line 17829 "configure"
17829 #include "confdefs.h"
17830 /* System header to define __stub macros and hopefully few prototypes,
17831 which can conflict with char $ac_func(); below. */
17832 #include <assert.h>
17833 /* Override any gcc2 internal prototype to avoid an error. */
17834 /* We use char because int might match the return type of a gcc2
17835 builtin and then its argument prototype would still apply. */
17840 /* The GNU C library defines this for functions which it implements
17841 to always fail with ENOSYS. Some functions are actually named
17842 something starting with __ and the normal name is an alias. */
17843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17851 if { (eval echo configure:17852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17853 eval "ac_cv_func_$ac_func=yes"
17855 echo "configure: failed program was:" >&5
17856 cat conftest.$ac_ext >&5
17858 eval "ac_cv_func_$ac_func=no"
17863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17864 echo "$ac_t""yes" 1>&6
17865 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17866 cat >> confdefs.h <<EOF
17867 #define $ac_tr_func 1
17871 echo "$ac_t""no" 1>&6
17877 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
17878 echo "configure:17879: checking for _isinfl declaration" >&5
17879 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17880 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17881 echo $ac_n "(cached) $ac_c" 1>&6
17886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17887 ac_cpp='$CXXCPP $CPPFLAGS'
17888 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17889 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17890 cross_compiling=$ac_cv_prog_cxx_cross
17892 cat > conftest.$ac_ext <<EOF
17893 #line 17894 "configure"
17894 #include "confdefs.h"
17896 #ifdef HAVE_IEEEFP_H
17897 #include <ieeefp.h>
17904 if { (eval echo configure:17905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17906 glibcpp_cv_func__isinfl_use=yes
17908 echo "configure: failed program was:" >&5
17909 cat conftest.$ac_ext >&5
17911 glibcpp_cv_func__isinfl_use=no
17915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17916 ac_cpp='$CPP $CPPFLAGS'
17917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17919 cross_compiling=$ac_cv_prog_cc_cross
17925 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17927 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17928 for ac_func in _isinfl
17930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17931 echo "configure:17932: checking for $ac_func" >&5
17932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17933 echo $ac_n "(cached) $ac_c" 1>&6
17935 cat > conftest.$ac_ext <<EOF
17936 #line 17937 "configure"
17937 #include "confdefs.h"
17938 /* System header to define __stub macros and hopefully few prototypes,
17939 which can conflict with char $ac_func(); below. */
17940 #include <assert.h>
17941 /* Override any gcc2 internal prototype to avoid an error. */
17942 /* We use char because int might match the return type of a gcc2
17943 builtin and then its argument prototype would still apply. */
17948 /* The GNU C library defines this for functions which it implements
17949 to always fail with ENOSYS. Some functions are actually named
17950 something starting with __ and the normal name is an alias. */
17951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17959 if { (eval echo configure:17960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17961 eval "ac_cv_func_$ac_func=yes"
17963 echo "configure: failed program was:" >&5
17964 cat conftest.$ac_ext >&5
17966 eval "ac_cv_func_$ac_func=no"
17971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17972 echo "$ac_t""yes" 1>&6
17973 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17974 cat >> confdefs.h <<EOF
17975 #define $ac_tr_func 1
17979 echo "$ac_t""no" 1>&6
17988 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
17989 echo "configure:17990: checking for copysignl declaration" >&5
17990 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
17991 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
17992 echo $ac_n "(cached) $ac_c" 1>&6
17997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17998 ac_cpp='$CXXCPP $CPPFLAGS'
17999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18001 cross_compiling=$ac_cv_prog_cxx_cross
18003 cat > conftest.$ac_ext <<EOF
18004 #line 18005 "configure"
18005 #include "confdefs.h"
18011 if { (eval echo configure:18012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18013 glibcpp_cv_func_copysignl_use=yes
18015 echo "configure: failed program was:" >&5
18016 cat conftest.$ac_ext >&5
18018 glibcpp_cv_func_copysignl_use=no
18022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18023 ac_cpp='$CPP $CPPFLAGS'
18024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18026 cross_compiling=$ac_cv_prog_cc_cross
18032 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
18034 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
18035 for ac_func in copysignl
18037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18038 echo "configure:18039: checking for $ac_func" >&5
18039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18040 echo $ac_n "(cached) $ac_c" 1>&6
18042 cat > conftest.$ac_ext <<EOF
18043 #line 18044 "configure"
18044 #include "confdefs.h"
18045 /* System header to define __stub macros and hopefully few prototypes,
18046 which can conflict with char $ac_func(); below. */
18047 #include <assert.h>
18048 /* Override any gcc2 internal prototype to avoid an error. */
18049 /* We use char because int might match the return type of a gcc2
18050 builtin and then its argument prototype would still apply. */
18055 /* The GNU C library defines this for functions which it implements
18056 to always fail with ENOSYS. Some functions are actually named
18057 something starting with __ and the normal name is an alias. */
18058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18066 if { (eval echo configure:18067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18068 eval "ac_cv_func_$ac_func=yes"
18070 echo "configure: failed program was:" >&5
18071 cat conftest.$ac_ext >&5
18073 eval "ac_cv_func_$ac_func=no"
18078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18079 echo "$ac_t""yes" 1>&6
18080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18081 cat >> confdefs.h <<EOF
18082 #define $ac_tr_func 1
18086 echo "$ac_t""no" 1>&6
18092 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
18093 echo "configure:18094: checking for _copysignl declaration" >&5
18094 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
18095 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
18096 echo $ac_n "(cached) $ac_c" 1>&6
18101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18102 ac_cpp='$CXXCPP $CPPFLAGS'
18103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18105 cross_compiling=$ac_cv_prog_cxx_cross
18107 cat > conftest.$ac_ext <<EOF
18108 #line 18109 "configure"
18109 #include "confdefs.h"
18115 if { (eval echo configure:18116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18117 glibcpp_cv_func__copysignl_use=yes
18119 echo "configure: failed program was:" >&5
18120 cat conftest.$ac_ext >&5
18122 glibcpp_cv_func__copysignl_use=no
18126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18127 ac_cpp='$CPP $CPPFLAGS'
18128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18130 cross_compiling=$ac_cv_prog_cc_cross
18136 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
18138 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
18139 for ac_func in _copysignl
18141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18142 echo "configure:18143: checking for $ac_func" >&5
18143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18144 echo $ac_n "(cached) $ac_c" 1>&6
18146 cat > conftest.$ac_ext <<EOF
18147 #line 18148 "configure"
18148 #include "confdefs.h"
18149 /* System header to define __stub macros and hopefully few prototypes,
18150 which can conflict with char $ac_func(); below. */
18151 #include <assert.h>
18152 /* Override any gcc2 internal prototype to avoid an error. */
18153 /* We use char because int might match the return type of a gcc2
18154 builtin and then its argument prototype would still apply. */
18159 /* The GNU C library defines this for functions which it implements
18160 to always fail with ENOSYS. Some functions are actually named
18161 something starting with __ and the normal name is an alias. */
18162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18170 if { (eval echo configure:18171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18172 eval "ac_cv_func_$ac_func=yes"
18174 echo "configure: failed program was:" >&5
18175 cat conftest.$ac_ext >&5
18177 eval "ac_cv_func_$ac_func=no"
18182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18183 echo "$ac_t""yes" 1>&6
18184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18185 cat >> confdefs.h <<EOF
18186 #define $ac_tr_func 1
18190 echo "$ac_t""no" 1>&6
18199 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
18200 echo "configure:18201: checking for atan2l declaration" >&5
18201 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18202 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18203 echo $ac_n "(cached) $ac_c" 1>&6
18208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18209 ac_cpp='$CXXCPP $CPPFLAGS'
18210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18212 cross_compiling=$ac_cv_prog_cxx_cross
18214 cat > conftest.$ac_ext <<EOF
18215 #line 18216 "configure"
18216 #include "confdefs.h"
18222 if { (eval echo configure:18223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18224 glibcpp_cv_func_atan2l_use=yes
18226 echo "configure: failed program was:" >&5
18227 cat conftest.$ac_ext >&5
18229 glibcpp_cv_func_atan2l_use=no
18233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18234 ac_cpp='$CPP $CPPFLAGS'
18235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18237 cross_compiling=$ac_cv_prog_cc_cross
18243 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18245 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18246 for ac_func in atan2l
18248 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18249 echo "configure:18250: checking for $ac_func" >&5
18250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18251 echo $ac_n "(cached) $ac_c" 1>&6
18253 cat > conftest.$ac_ext <<EOF
18254 #line 18255 "configure"
18255 #include "confdefs.h"
18256 /* System header to define __stub macros and hopefully few prototypes,
18257 which can conflict with char $ac_func(); below. */
18258 #include <assert.h>
18259 /* Override any gcc2 internal prototype to avoid an error. */
18260 /* We use char because int might match the return type of a gcc2
18261 builtin and then its argument prototype would still apply. */
18266 /* The GNU C library defines this for functions which it implements
18267 to always fail with ENOSYS. Some functions are actually named
18268 something starting with __ and the normal name is an alias. */
18269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18277 if { (eval echo configure:18278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18279 eval "ac_cv_func_$ac_func=yes"
18281 echo "configure: failed program was:" >&5
18282 cat conftest.$ac_ext >&5
18284 eval "ac_cv_func_$ac_func=no"
18289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18290 echo "$ac_t""yes" 1>&6
18291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18292 cat >> confdefs.h <<EOF
18293 #define $ac_tr_func 1
18297 echo "$ac_t""no" 1>&6
18303 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
18304 echo "configure:18305: checking for _atan2l declaration" >&5
18305 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18306 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18307 echo $ac_n "(cached) $ac_c" 1>&6
18312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18313 ac_cpp='$CXXCPP $CPPFLAGS'
18314 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18315 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18316 cross_compiling=$ac_cv_prog_cxx_cross
18318 cat > conftest.$ac_ext <<EOF
18319 #line 18320 "configure"
18320 #include "confdefs.h"
18326 if { (eval echo configure:18327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18328 glibcpp_cv_func__atan2l_use=yes
18330 echo "configure: failed program was:" >&5
18331 cat conftest.$ac_ext >&5
18333 glibcpp_cv_func__atan2l_use=no
18337 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18338 ac_cpp='$CPP $CPPFLAGS'
18339 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18340 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18341 cross_compiling=$ac_cv_prog_cc_cross
18347 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18349 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18350 for ac_func in _atan2l
18352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18353 echo "configure:18354: checking for $ac_func" >&5
18354 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18355 echo $ac_n "(cached) $ac_c" 1>&6
18357 cat > conftest.$ac_ext <<EOF
18358 #line 18359 "configure"
18359 #include "confdefs.h"
18360 /* System header to define __stub macros and hopefully few prototypes,
18361 which can conflict with char $ac_func(); below. */
18362 #include <assert.h>
18363 /* Override any gcc2 internal prototype to avoid an error. */
18364 /* We use char because int might match the return type of a gcc2
18365 builtin and then its argument prototype would still apply. */
18370 /* The GNU C library defines this for functions which it implements
18371 to always fail with ENOSYS. Some functions are actually named
18372 something starting with __ and the normal name is an alias. */
18373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18381 if { (eval echo configure:18382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18383 eval "ac_cv_func_$ac_func=yes"
18385 echo "configure: failed program was:" >&5
18386 cat conftest.$ac_ext >&5
18388 eval "ac_cv_func_$ac_func=no"
18393 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18394 echo "$ac_t""yes" 1>&6
18395 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18396 cat >> confdefs.h <<EOF
18397 #define $ac_tr_func 1
18401 echo "$ac_t""no" 1>&6
18410 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
18411 echo "configure:18412: checking for expl declaration" >&5
18412 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18413 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18414 echo $ac_n "(cached) $ac_c" 1>&6
18419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18420 ac_cpp='$CXXCPP $CPPFLAGS'
18421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18423 cross_compiling=$ac_cv_prog_cxx_cross
18425 cat > conftest.$ac_ext <<EOF
18426 #line 18427 "configure"
18427 #include "confdefs.h"
18429 #ifdef HAVE_IEEEFP_H
18430 #include <ieeefp.h>
18437 if { (eval echo configure:18438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18439 glibcpp_cv_func_expl_use=yes
18441 echo "configure: failed program was:" >&5
18442 cat conftest.$ac_ext >&5
18444 glibcpp_cv_func_expl_use=no
18448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18449 ac_cpp='$CPP $CPPFLAGS'
18450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18452 cross_compiling=$ac_cv_prog_cc_cross
18458 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18460 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18461 for ac_func in expl
18463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18464 echo "configure:18465: checking for $ac_func" >&5
18465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18466 echo $ac_n "(cached) $ac_c" 1>&6
18468 cat > conftest.$ac_ext <<EOF
18469 #line 18470 "configure"
18470 #include "confdefs.h"
18471 /* System header to define __stub macros and hopefully few prototypes,
18472 which can conflict with char $ac_func(); below. */
18473 #include <assert.h>
18474 /* Override any gcc2 internal prototype to avoid an error. */
18475 /* We use char because int might match the return type of a gcc2
18476 builtin and then its argument prototype would still apply. */
18481 /* The GNU C library defines this for functions which it implements
18482 to always fail with ENOSYS. Some functions are actually named
18483 something starting with __ and the normal name is an alias. */
18484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18492 if { (eval echo configure:18493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18494 eval "ac_cv_func_$ac_func=yes"
18496 echo "configure: failed program was:" >&5
18497 cat conftest.$ac_ext >&5
18499 eval "ac_cv_func_$ac_func=no"
18504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18505 echo "$ac_t""yes" 1>&6
18506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18507 cat >> confdefs.h <<EOF
18508 #define $ac_tr_func 1
18512 echo "$ac_t""no" 1>&6
18518 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
18519 echo "configure:18520: checking for _expl declaration" >&5
18520 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18521 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18522 echo $ac_n "(cached) $ac_c" 1>&6
18527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18528 ac_cpp='$CXXCPP $CPPFLAGS'
18529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18531 cross_compiling=$ac_cv_prog_cxx_cross
18533 cat > conftest.$ac_ext <<EOF
18534 #line 18535 "configure"
18535 #include "confdefs.h"
18537 #ifdef HAVE_IEEEFP_H
18538 #include <ieeefp.h>
18545 if { (eval echo configure:18546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18547 glibcpp_cv_func__expl_use=yes
18549 echo "configure: failed program was:" >&5
18550 cat conftest.$ac_ext >&5
18552 glibcpp_cv_func__expl_use=no
18556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18557 ac_cpp='$CPP $CPPFLAGS'
18558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18560 cross_compiling=$ac_cv_prog_cc_cross
18566 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18568 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18569 for ac_func in _expl
18571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18572 echo "configure:18573: checking for $ac_func" >&5
18573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18574 echo $ac_n "(cached) $ac_c" 1>&6
18576 cat > conftest.$ac_ext <<EOF
18577 #line 18578 "configure"
18578 #include "confdefs.h"
18579 /* System header to define __stub macros and hopefully few prototypes,
18580 which can conflict with char $ac_func(); below. */
18581 #include <assert.h>
18582 /* Override any gcc2 internal prototype to avoid an error. */
18583 /* We use char because int might match the return type of a gcc2
18584 builtin and then its argument prototype would still apply. */
18589 /* The GNU C library defines this for functions which it implements
18590 to always fail with ENOSYS. Some functions are actually named
18591 something starting with __ and the normal name is an alias. */
18592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18600 if { (eval echo configure:18601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18602 eval "ac_cv_func_$ac_func=yes"
18604 echo "configure: failed program was:" >&5
18605 cat conftest.$ac_ext >&5
18607 eval "ac_cv_func_$ac_func=no"
18612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18613 echo "$ac_t""yes" 1>&6
18614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18615 cat >> confdefs.h <<EOF
18616 #define $ac_tr_func 1
18620 echo "$ac_t""no" 1>&6
18629 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
18630 echo "configure:18631: checking for fabsl declaration" >&5
18631 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18632 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18633 echo $ac_n "(cached) $ac_c" 1>&6
18638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18639 ac_cpp='$CXXCPP $CPPFLAGS'
18640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18642 cross_compiling=$ac_cv_prog_cxx_cross
18644 cat > conftest.$ac_ext <<EOF
18645 #line 18646 "configure"
18646 #include "confdefs.h"
18648 #ifdef HAVE_IEEEFP_H
18649 #include <ieeefp.h>
18656 if { (eval echo configure:18657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18658 glibcpp_cv_func_fabsl_use=yes
18660 echo "configure: failed program was:" >&5
18661 cat conftest.$ac_ext >&5
18663 glibcpp_cv_func_fabsl_use=no
18667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18671 cross_compiling=$ac_cv_prog_cc_cross
18677 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18679 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18680 for ac_func in fabsl
18682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18683 echo "configure:18684: checking for $ac_func" >&5
18684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18685 echo $ac_n "(cached) $ac_c" 1>&6
18687 cat > conftest.$ac_ext <<EOF
18688 #line 18689 "configure"
18689 #include "confdefs.h"
18690 /* System header to define __stub macros and hopefully few prototypes,
18691 which can conflict with char $ac_func(); below. */
18692 #include <assert.h>
18693 /* Override any gcc2 internal prototype to avoid an error. */
18694 /* We use char because int might match the return type of a gcc2
18695 builtin and then its argument prototype would still apply. */
18700 /* The GNU C library defines this for functions which it implements
18701 to always fail with ENOSYS. Some functions are actually named
18702 something starting with __ and the normal name is an alias. */
18703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18711 if { (eval echo configure:18712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18713 eval "ac_cv_func_$ac_func=yes"
18715 echo "configure: failed program was:" >&5
18716 cat conftest.$ac_ext >&5
18718 eval "ac_cv_func_$ac_func=no"
18723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18724 echo "$ac_t""yes" 1>&6
18725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18726 cat >> confdefs.h <<EOF
18727 #define $ac_tr_func 1
18731 echo "$ac_t""no" 1>&6
18737 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
18738 echo "configure:18739: checking for _fabsl declaration" >&5
18739 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18740 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18741 echo $ac_n "(cached) $ac_c" 1>&6
18746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18747 ac_cpp='$CXXCPP $CPPFLAGS'
18748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18750 cross_compiling=$ac_cv_prog_cxx_cross
18752 cat > conftest.$ac_ext <<EOF
18753 #line 18754 "configure"
18754 #include "confdefs.h"
18756 #ifdef HAVE_IEEEFP_H
18757 #include <ieeefp.h>
18764 if { (eval echo configure:18765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18766 glibcpp_cv_func__fabsl_use=yes
18768 echo "configure: failed program was:" >&5
18769 cat conftest.$ac_ext >&5
18771 glibcpp_cv_func__fabsl_use=no
18775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18776 ac_cpp='$CPP $CPPFLAGS'
18777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18779 cross_compiling=$ac_cv_prog_cc_cross
18785 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18787 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18788 for ac_func in _fabsl
18790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18791 echo "configure:18792: checking for $ac_func" >&5
18792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18793 echo $ac_n "(cached) $ac_c" 1>&6
18795 cat > conftest.$ac_ext <<EOF
18796 #line 18797 "configure"
18797 #include "confdefs.h"
18798 /* System header to define __stub macros and hopefully few prototypes,
18799 which can conflict with char $ac_func(); below. */
18800 #include <assert.h>
18801 /* Override any gcc2 internal prototype to avoid an error. */
18802 /* We use char because int might match the return type of a gcc2
18803 builtin and then its argument prototype would still apply. */
18808 /* The GNU C library defines this for functions which it implements
18809 to always fail with ENOSYS. Some functions are actually named
18810 something starting with __ and the normal name is an alias. */
18811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18819 if { (eval echo configure:18820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18821 eval "ac_cv_func_$ac_func=yes"
18823 echo "configure: failed program was:" >&5
18824 cat conftest.$ac_ext >&5
18826 eval "ac_cv_func_$ac_func=no"
18831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18832 echo "$ac_t""yes" 1>&6
18833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18834 cat >> confdefs.h <<EOF
18835 #define $ac_tr_func 1
18839 echo "$ac_t""no" 1>&6
18848 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
18849 echo "configure:18850: checking for fmodl declaration" >&5
18850 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18851 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18852 echo $ac_n "(cached) $ac_c" 1>&6
18857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18858 ac_cpp='$CXXCPP $CPPFLAGS'
18859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18861 cross_compiling=$ac_cv_prog_cxx_cross
18863 cat > conftest.$ac_ext <<EOF
18864 #line 18865 "configure"
18865 #include "confdefs.h"
18871 if { (eval echo configure:18872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18873 glibcpp_cv_func_fmodl_use=yes
18875 echo "configure: failed program was:" >&5
18876 cat conftest.$ac_ext >&5
18878 glibcpp_cv_func_fmodl_use=no
18882 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18883 ac_cpp='$CPP $CPPFLAGS'
18884 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18885 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18886 cross_compiling=$ac_cv_prog_cc_cross
18892 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18894 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18895 for ac_func in fmodl
18897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18898 echo "configure:18899: checking for $ac_func" >&5
18899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18900 echo $ac_n "(cached) $ac_c" 1>&6
18902 cat > conftest.$ac_ext <<EOF
18903 #line 18904 "configure"
18904 #include "confdefs.h"
18905 /* System header to define __stub macros and hopefully few prototypes,
18906 which can conflict with char $ac_func(); below. */
18907 #include <assert.h>
18908 /* Override any gcc2 internal prototype to avoid an error. */
18909 /* We use char because int might match the return type of a gcc2
18910 builtin and then its argument prototype would still apply. */
18915 /* The GNU C library defines this for functions which it implements
18916 to always fail with ENOSYS. Some functions are actually named
18917 something starting with __ and the normal name is an alias. */
18918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18926 if { (eval echo configure:18927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18928 eval "ac_cv_func_$ac_func=yes"
18930 echo "configure: failed program was:" >&5
18931 cat conftest.$ac_ext >&5
18933 eval "ac_cv_func_$ac_func=no"
18938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18939 echo "$ac_t""yes" 1>&6
18940 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18941 cat >> confdefs.h <<EOF
18942 #define $ac_tr_func 1
18946 echo "$ac_t""no" 1>&6
18952 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
18953 echo "configure:18954: checking for _fmodl declaration" >&5
18954 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
18955 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
18956 echo $ac_n "(cached) $ac_c" 1>&6
18961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18962 ac_cpp='$CXXCPP $CPPFLAGS'
18963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18965 cross_compiling=$ac_cv_prog_cxx_cross
18967 cat > conftest.$ac_ext <<EOF
18968 #line 18969 "configure"
18969 #include "confdefs.h"
18975 if { (eval echo configure:18976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18977 glibcpp_cv_func__fmodl_use=yes
18979 echo "configure: failed program was:" >&5
18980 cat conftest.$ac_ext >&5
18982 glibcpp_cv_func__fmodl_use=no
18986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18987 ac_cpp='$CPP $CPPFLAGS'
18988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18990 cross_compiling=$ac_cv_prog_cc_cross
18996 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
18998 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
18999 for ac_func in _fmodl
19001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19002 echo "configure:19003: checking for $ac_func" >&5
19003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19004 echo $ac_n "(cached) $ac_c" 1>&6
19006 cat > conftest.$ac_ext <<EOF
19007 #line 19008 "configure"
19008 #include "confdefs.h"
19009 /* System header to define __stub macros and hopefully few prototypes,
19010 which can conflict with char $ac_func(); below. */
19011 #include <assert.h>
19012 /* Override any gcc2 internal prototype to avoid an error. */
19013 /* We use char because int might match the return type of a gcc2
19014 builtin and then its argument prototype would still apply. */
19019 /* The GNU C library defines this for functions which it implements
19020 to always fail with ENOSYS. Some functions are actually named
19021 something starting with __ and the normal name is an alias. */
19022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19030 if { (eval echo configure:19031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19032 eval "ac_cv_func_$ac_func=yes"
19034 echo "configure: failed program was:" >&5
19035 cat conftest.$ac_ext >&5
19037 eval "ac_cv_func_$ac_func=no"
19042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19043 echo "$ac_t""yes" 1>&6
19044 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19045 cat >> confdefs.h <<EOF
19046 #define $ac_tr_func 1
19050 echo "$ac_t""no" 1>&6
19059 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
19060 echo "configure:19061: checking for frexpl declaration" >&5
19061 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
19062 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
19063 echo $ac_n "(cached) $ac_c" 1>&6
19068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19069 ac_cpp='$CXXCPP $CPPFLAGS'
19070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19072 cross_compiling=$ac_cv_prog_cxx_cross
19074 cat > conftest.$ac_ext <<EOF
19075 #line 19076 "configure"
19076 #include "confdefs.h"
19082 if { (eval echo configure:19083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19084 glibcpp_cv_func_frexpl_use=yes
19086 echo "configure: failed program was:" >&5
19087 cat conftest.$ac_ext >&5
19089 glibcpp_cv_func_frexpl_use=no
19093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19094 ac_cpp='$CPP $CPPFLAGS'
19095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19097 cross_compiling=$ac_cv_prog_cc_cross
19103 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
19105 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
19106 for ac_func in frexpl
19108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19109 echo "configure:19110: checking for $ac_func" >&5
19110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19111 echo $ac_n "(cached) $ac_c" 1>&6
19113 cat > conftest.$ac_ext <<EOF
19114 #line 19115 "configure"
19115 #include "confdefs.h"
19116 /* System header to define __stub macros and hopefully few prototypes,
19117 which can conflict with char $ac_func(); below. */
19118 #include <assert.h>
19119 /* Override any gcc2 internal prototype to avoid an error. */
19120 /* We use char because int might match the return type of a gcc2
19121 builtin and then its argument prototype would still apply. */
19126 /* The GNU C library defines this for functions which it implements
19127 to always fail with ENOSYS. Some functions are actually named
19128 something starting with __ and the normal name is an alias. */
19129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19137 if { (eval echo configure:19138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19139 eval "ac_cv_func_$ac_func=yes"
19141 echo "configure: failed program was:" >&5
19142 cat conftest.$ac_ext >&5
19144 eval "ac_cv_func_$ac_func=no"
19149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19150 echo "$ac_t""yes" 1>&6
19151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19152 cat >> confdefs.h <<EOF
19153 #define $ac_tr_func 1
19157 echo "$ac_t""no" 1>&6
19163 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
19164 echo "configure:19165: checking for _frexpl declaration" >&5
19165 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19166 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19167 echo $ac_n "(cached) $ac_c" 1>&6
19172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19173 ac_cpp='$CXXCPP $CPPFLAGS'
19174 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19175 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19176 cross_compiling=$ac_cv_prog_cxx_cross
19178 cat > conftest.$ac_ext <<EOF
19179 #line 19180 "configure"
19180 #include "confdefs.h"
19186 if { (eval echo configure:19187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19188 glibcpp_cv_func__frexpl_use=yes
19190 echo "configure: failed program was:" >&5
19191 cat conftest.$ac_ext >&5
19193 glibcpp_cv_func__frexpl_use=no
19197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19201 cross_compiling=$ac_cv_prog_cc_cross
19207 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19209 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19210 for ac_func in _frexpl
19212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19213 echo "configure:19214: checking for $ac_func" >&5
19214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19215 echo $ac_n "(cached) $ac_c" 1>&6
19217 cat > conftest.$ac_ext <<EOF
19218 #line 19219 "configure"
19219 #include "confdefs.h"
19220 /* System header to define __stub macros and hopefully few prototypes,
19221 which can conflict with char $ac_func(); below. */
19222 #include <assert.h>
19223 /* Override any gcc2 internal prototype to avoid an error. */
19224 /* We use char because int might match the return type of a gcc2
19225 builtin and then its argument prototype would still apply. */
19230 /* The GNU C library defines this for functions which it implements
19231 to always fail with ENOSYS. Some functions are actually named
19232 something starting with __ and the normal name is an alias. */
19233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19241 if { (eval echo configure:19242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19243 eval "ac_cv_func_$ac_func=yes"
19245 echo "configure: failed program was:" >&5
19246 cat conftest.$ac_ext >&5
19248 eval "ac_cv_func_$ac_func=no"
19253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19254 echo "$ac_t""yes" 1>&6
19255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19256 cat >> confdefs.h <<EOF
19257 #define $ac_tr_func 1
19261 echo "$ac_t""no" 1>&6
19270 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
19271 echo "configure:19272: checking for hypotl declaration" >&5
19272 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19273 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19274 echo $ac_n "(cached) $ac_c" 1>&6
19279 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19280 ac_cpp='$CXXCPP $CPPFLAGS'
19281 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19282 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19283 cross_compiling=$ac_cv_prog_cxx_cross
19285 cat > conftest.$ac_ext <<EOF
19286 #line 19287 "configure"
19287 #include "confdefs.h"
19293 if { (eval echo configure:19294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19295 glibcpp_cv_func_hypotl_use=yes
19297 echo "configure: failed program was:" >&5
19298 cat conftest.$ac_ext >&5
19300 glibcpp_cv_func_hypotl_use=no
19304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19305 ac_cpp='$CPP $CPPFLAGS'
19306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19308 cross_compiling=$ac_cv_prog_cc_cross
19314 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19316 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19317 for ac_func in hypotl
19319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19320 echo "configure:19321: checking for $ac_func" >&5
19321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19322 echo $ac_n "(cached) $ac_c" 1>&6
19324 cat > conftest.$ac_ext <<EOF
19325 #line 19326 "configure"
19326 #include "confdefs.h"
19327 /* System header to define __stub macros and hopefully few prototypes,
19328 which can conflict with char $ac_func(); below. */
19329 #include <assert.h>
19330 /* Override any gcc2 internal prototype to avoid an error. */
19331 /* We use char because int might match the return type of a gcc2
19332 builtin and then its argument prototype would still apply. */
19337 /* The GNU C library defines this for functions which it implements
19338 to always fail with ENOSYS. Some functions are actually named
19339 something starting with __ and the normal name is an alias. */
19340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19348 if { (eval echo configure:19349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19350 eval "ac_cv_func_$ac_func=yes"
19352 echo "configure: failed program was:" >&5
19353 cat conftest.$ac_ext >&5
19355 eval "ac_cv_func_$ac_func=no"
19360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19361 echo "$ac_t""yes" 1>&6
19362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19363 cat >> confdefs.h <<EOF
19364 #define $ac_tr_func 1
19368 echo "$ac_t""no" 1>&6
19374 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
19375 echo "configure:19376: checking for _hypotl declaration" >&5
19376 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19377 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19378 echo $ac_n "(cached) $ac_c" 1>&6
19383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19384 ac_cpp='$CXXCPP $CPPFLAGS'
19385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19387 cross_compiling=$ac_cv_prog_cxx_cross
19389 cat > conftest.$ac_ext <<EOF
19390 #line 19391 "configure"
19391 #include "confdefs.h"
19397 if { (eval echo configure:19398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19399 glibcpp_cv_func__hypotl_use=yes
19401 echo "configure: failed program was:" >&5
19402 cat conftest.$ac_ext >&5
19404 glibcpp_cv_func__hypotl_use=no
19408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19409 ac_cpp='$CPP $CPPFLAGS'
19410 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19411 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19412 cross_compiling=$ac_cv_prog_cc_cross
19418 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19420 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19421 for ac_func in _hypotl
19423 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19424 echo "configure:19425: checking for $ac_func" >&5
19425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19426 echo $ac_n "(cached) $ac_c" 1>&6
19428 cat > conftest.$ac_ext <<EOF
19429 #line 19430 "configure"
19430 #include "confdefs.h"
19431 /* System header to define __stub macros and hopefully few prototypes,
19432 which can conflict with char $ac_func(); below. */
19433 #include <assert.h>
19434 /* Override any gcc2 internal prototype to avoid an error. */
19435 /* We use char because int might match the return type of a gcc2
19436 builtin and then its argument prototype would still apply. */
19441 /* The GNU C library defines this for functions which it implements
19442 to always fail with ENOSYS. Some functions are actually named
19443 something starting with __ and the normal name is an alias. */
19444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19452 if { (eval echo configure:19453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19454 eval "ac_cv_func_$ac_func=yes"
19456 echo "configure: failed program was:" >&5
19457 cat conftest.$ac_ext >&5
19459 eval "ac_cv_func_$ac_func=no"
19464 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19465 echo "$ac_t""yes" 1>&6
19466 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19467 cat >> confdefs.h <<EOF
19468 #define $ac_tr_func 1
19472 echo "$ac_t""no" 1>&6
19481 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
19482 echo "configure:19483: checking for ldexpl declaration" >&5
19483 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19484 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19485 echo $ac_n "(cached) $ac_c" 1>&6
19490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19491 ac_cpp='$CXXCPP $CPPFLAGS'
19492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19494 cross_compiling=$ac_cv_prog_cxx_cross
19496 cat > conftest.$ac_ext <<EOF
19497 #line 19498 "configure"
19498 #include "confdefs.h"
19504 if { (eval echo configure:19505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19506 glibcpp_cv_func_ldexpl_use=yes
19508 echo "configure: failed program was:" >&5
19509 cat conftest.$ac_ext >&5
19511 glibcpp_cv_func_ldexpl_use=no
19515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19516 ac_cpp='$CPP $CPPFLAGS'
19517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19519 cross_compiling=$ac_cv_prog_cc_cross
19525 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19527 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19528 for ac_func in ldexpl
19530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19531 echo "configure:19532: checking for $ac_func" >&5
19532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19533 echo $ac_n "(cached) $ac_c" 1>&6
19535 cat > conftest.$ac_ext <<EOF
19536 #line 19537 "configure"
19537 #include "confdefs.h"
19538 /* System header to define __stub macros and hopefully few prototypes,
19539 which can conflict with char $ac_func(); below. */
19540 #include <assert.h>
19541 /* Override any gcc2 internal prototype to avoid an error. */
19542 /* We use char because int might match the return type of a gcc2
19543 builtin and then its argument prototype would still apply. */
19548 /* The GNU C library defines this for functions which it implements
19549 to always fail with ENOSYS. Some functions are actually named
19550 something starting with __ and the normal name is an alias. */
19551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19559 if { (eval echo configure:19560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19561 eval "ac_cv_func_$ac_func=yes"
19563 echo "configure: failed program was:" >&5
19564 cat conftest.$ac_ext >&5
19566 eval "ac_cv_func_$ac_func=no"
19571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19572 echo "$ac_t""yes" 1>&6
19573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19574 cat >> confdefs.h <<EOF
19575 #define $ac_tr_func 1
19579 echo "$ac_t""no" 1>&6
19585 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
19586 echo "configure:19587: checking for _ldexpl declaration" >&5
19587 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19588 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19589 echo $ac_n "(cached) $ac_c" 1>&6
19594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19595 ac_cpp='$CXXCPP $CPPFLAGS'
19596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19598 cross_compiling=$ac_cv_prog_cxx_cross
19600 cat > conftest.$ac_ext <<EOF
19601 #line 19602 "configure"
19602 #include "confdefs.h"
19608 if { (eval echo configure:19609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19610 glibcpp_cv_func__ldexpl_use=yes
19612 echo "configure: failed program was:" >&5
19613 cat conftest.$ac_ext >&5
19615 glibcpp_cv_func__ldexpl_use=no
19619 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19620 ac_cpp='$CPP $CPPFLAGS'
19621 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19622 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19623 cross_compiling=$ac_cv_prog_cc_cross
19629 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19631 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19632 for ac_func in _ldexpl
19634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19635 echo "configure:19636: checking for $ac_func" >&5
19636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19637 echo $ac_n "(cached) $ac_c" 1>&6
19639 cat > conftest.$ac_ext <<EOF
19640 #line 19641 "configure"
19641 #include "confdefs.h"
19642 /* System header to define __stub macros and hopefully few prototypes,
19643 which can conflict with char $ac_func(); below. */
19644 #include <assert.h>
19645 /* Override any gcc2 internal prototype to avoid an error. */
19646 /* We use char because int might match the return type of a gcc2
19647 builtin and then its argument prototype would still apply. */
19652 /* The GNU C library defines this for functions which it implements
19653 to always fail with ENOSYS. Some functions are actually named
19654 something starting with __ and the normal name is an alias. */
19655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19663 if { (eval echo configure:19664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19665 eval "ac_cv_func_$ac_func=yes"
19667 echo "configure: failed program was:" >&5
19668 cat conftest.$ac_ext >&5
19670 eval "ac_cv_func_$ac_func=no"
19675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19676 echo "$ac_t""yes" 1>&6
19677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19678 cat >> confdefs.h <<EOF
19679 #define $ac_tr_func 1
19683 echo "$ac_t""no" 1>&6
19692 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
19693 echo "configure:19694: checking for logl declaration" >&5
19694 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19695 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19696 echo $ac_n "(cached) $ac_c" 1>&6
19701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19702 ac_cpp='$CXXCPP $CPPFLAGS'
19703 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19704 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19705 cross_compiling=$ac_cv_prog_cxx_cross
19707 cat > conftest.$ac_ext <<EOF
19708 #line 19709 "configure"
19709 #include "confdefs.h"
19711 #ifdef HAVE_IEEEFP_H
19712 #include <ieeefp.h>
19719 if { (eval echo configure:19720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19721 glibcpp_cv_func_logl_use=yes
19723 echo "configure: failed program was:" >&5
19724 cat conftest.$ac_ext >&5
19726 glibcpp_cv_func_logl_use=no
19730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19731 ac_cpp='$CPP $CPPFLAGS'
19732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19734 cross_compiling=$ac_cv_prog_cc_cross
19740 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19742 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19743 for ac_func in logl
19745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19746 echo "configure:19747: checking for $ac_func" >&5
19747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19748 echo $ac_n "(cached) $ac_c" 1>&6
19750 cat > conftest.$ac_ext <<EOF
19751 #line 19752 "configure"
19752 #include "confdefs.h"
19753 /* System header to define __stub macros and hopefully few prototypes,
19754 which can conflict with char $ac_func(); below. */
19755 #include <assert.h>
19756 /* Override any gcc2 internal prototype to avoid an error. */
19757 /* We use char because int might match the return type of a gcc2
19758 builtin and then its argument prototype would still apply. */
19763 /* The GNU C library defines this for functions which it implements
19764 to always fail with ENOSYS. Some functions are actually named
19765 something starting with __ and the normal name is an alias. */
19766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19774 if { (eval echo configure:19775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19776 eval "ac_cv_func_$ac_func=yes"
19778 echo "configure: failed program was:" >&5
19779 cat conftest.$ac_ext >&5
19781 eval "ac_cv_func_$ac_func=no"
19786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19787 echo "$ac_t""yes" 1>&6
19788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19789 cat >> confdefs.h <<EOF
19790 #define $ac_tr_func 1
19794 echo "$ac_t""no" 1>&6
19800 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
19801 echo "configure:19802: checking for _logl declaration" >&5
19802 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19803 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19804 echo $ac_n "(cached) $ac_c" 1>&6
19809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19810 ac_cpp='$CXXCPP $CPPFLAGS'
19811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19813 cross_compiling=$ac_cv_prog_cxx_cross
19815 cat > conftest.$ac_ext <<EOF
19816 #line 19817 "configure"
19817 #include "confdefs.h"
19819 #ifdef HAVE_IEEEFP_H
19820 #include <ieeefp.h>
19827 if { (eval echo configure:19828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19829 glibcpp_cv_func__logl_use=yes
19831 echo "configure: failed program was:" >&5
19832 cat conftest.$ac_ext >&5
19834 glibcpp_cv_func__logl_use=no
19838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19839 ac_cpp='$CPP $CPPFLAGS'
19840 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19841 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19842 cross_compiling=$ac_cv_prog_cc_cross
19848 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19850 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19851 for ac_func in _logl
19853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19854 echo "configure:19855: checking for $ac_func" >&5
19855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19856 echo $ac_n "(cached) $ac_c" 1>&6
19858 cat > conftest.$ac_ext <<EOF
19859 #line 19860 "configure"
19860 #include "confdefs.h"
19861 /* System header to define __stub macros and hopefully few prototypes,
19862 which can conflict with char $ac_func(); below. */
19863 #include <assert.h>
19864 /* Override any gcc2 internal prototype to avoid an error. */
19865 /* We use char because int might match the return type of a gcc2
19866 builtin and then its argument prototype would still apply. */
19871 /* The GNU C library defines this for functions which it implements
19872 to always fail with ENOSYS. Some functions are actually named
19873 something starting with __ and the normal name is an alias. */
19874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19882 if { (eval echo configure:19883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19884 eval "ac_cv_func_$ac_func=yes"
19886 echo "configure: failed program was:" >&5
19887 cat conftest.$ac_ext >&5
19889 eval "ac_cv_func_$ac_func=no"
19894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19895 echo "$ac_t""yes" 1>&6
19896 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19897 cat >> confdefs.h <<EOF
19898 #define $ac_tr_func 1
19902 echo "$ac_t""no" 1>&6
19911 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
19912 echo "configure:19913: checking for log10l declaration" >&5
19913 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19914 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19915 echo $ac_n "(cached) $ac_c" 1>&6
19920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19921 ac_cpp='$CXXCPP $CPPFLAGS'
19922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19924 cross_compiling=$ac_cv_prog_cxx_cross
19926 cat > conftest.$ac_ext <<EOF
19927 #line 19928 "configure"
19928 #include "confdefs.h"
19930 #ifdef HAVE_IEEEFP_H
19931 #include <ieeefp.h>
19938 if { (eval echo configure:19939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19940 glibcpp_cv_func_log10l_use=yes
19942 echo "configure: failed program was:" >&5
19943 cat conftest.$ac_ext >&5
19945 glibcpp_cv_func_log10l_use=no
19949 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19950 ac_cpp='$CPP $CPPFLAGS'
19951 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19952 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19953 cross_compiling=$ac_cv_prog_cc_cross
19959 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
19961 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
19962 for ac_func in log10l
19964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19965 echo "configure:19966: checking for $ac_func" >&5
19966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19967 echo $ac_n "(cached) $ac_c" 1>&6
19969 cat > conftest.$ac_ext <<EOF
19970 #line 19971 "configure"
19971 #include "confdefs.h"
19972 /* System header to define __stub macros and hopefully few prototypes,
19973 which can conflict with char $ac_func(); below. */
19974 #include <assert.h>
19975 /* Override any gcc2 internal prototype to avoid an error. */
19976 /* We use char because int might match the return type of a gcc2
19977 builtin and then its argument prototype would still apply. */
19982 /* The GNU C library defines this for functions which it implements
19983 to always fail with ENOSYS. Some functions are actually named
19984 something starting with __ and the normal name is an alias. */
19985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19993 if { (eval echo configure:19994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19995 eval "ac_cv_func_$ac_func=yes"
19997 echo "configure: failed program was:" >&5
19998 cat conftest.$ac_ext >&5
20000 eval "ac_cv_func_$ac_func=no"
20005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20006 echo "$ac_t""yes" 1>&6
20007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20008 cat >> confdefs.h <<EOF
20009 #define $ac_tr_func 1
20013 echo "$ac_t""no" 1>&6
20019 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
20020 echo "configure:20021: checking for _log10l declaration" >&5
20021 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
20022 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
20023 echo $ac_n "(cached) $ac_c" 1>&6
20028 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20029 ac_cpp='$CXXCPP $CPPFLAGS'
20030 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20031 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20032 cross_compiling=$ac_cv_prog_cxx_cross
20034 cat > conftest.$ac_ext <<EOF
20035 #line 20036 "configure"
20036 #include "confdefs.h"
20038 #ifdef HAVE_IEEEFP_H
20039 #include <ieeefp.h>
20046 if { (eval echo configure:20047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20048 glibcpp_cv_func__log10l_use=yes
20050 echo "configure: failed program was:" >&5
20051 cat conftest.$ac_ext >&5
20053 glibcpp_cv_func__log10l_use=no
20057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20058 ac_cpp='$CPP $CPPFLAGS'
20059 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20060 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20061 cross_compiling=$ac_cv_prog_cc_cross
20067 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
20069 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
20070 for ac_func in _log10l
20072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20073 echo "configure:20074: checking for $ac_func" >&5
20074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20075 echo $ac_n "(cached) $ac_c" 1>&6
20077 cat > conftest.$ac_ext <<EOF
20078 #line 20079 "configure"
20079 #include "confdefs.h"
20080 /* System header to define __stub macros and hopefully few prototypes,
20081 which can conflict with char $ac_func(); below. */
20082 #include <assert.h>
20083 /* Override any gcc2 internal prototype to avoid an error. */
20084 /* We use char because int might match the return type of a gcc2
20085 builtin and then its argument prototype would still apply. */
20090 /* The GNU C library defines this for functions which it implements
20091 to always fail with ENOSYS. Some functions are actually named
20092 something starting with __ and the normal name is an alias. */
20093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20101 if { (eval echo configure:20102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20103 eval "ac_cv_func_$ac_func=yes"
20105 echo "configure: failed program was:" >&5
20106 cat conftest.$ac_ext >&5
20108 eval "ac_cv_func_$ac_func=no"
20113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20114 echo "$ac_t""yes" 1>&6
20115 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20116 cat >> confdefs.h <<EOF
20117 #define $ac_tr_func 1
20121 echo "$ac_t""no" 1>&6
20130 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
20131 echo "configure:20132: checking for modfl declaration" >&5
20132 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
20133 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
20134 echo $ac_n "(cached) $ac_c" 1>&6
20139 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20140 ac_cpp='$CXXCPP $CPPFLAGS'
20141 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20142 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20143 cross_compiling=$ac_cv_prog_cxx_cross
20145 cat > conftest.$ac_ext <<EOF
20146 #line 20147 "configure"
20147 #include "confdefs.h"
20153 if { (eval echo configure:20154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20155 glibcpp_cv_func_modfl_use=yes
20157 echo "configure: failed program was:" >&5
20158 cat conftest.$ac_ext >&5
20160 glibcpp_cv_func_modfl_use=no
20164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20165 ac_cpp='$CPP $CPPFLAGS'
20166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20168 cross_compiling=$ac_cv_prog_cc_cross
20174 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20176 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20177 for ac_func in modfl
20179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20180 echo "configure:20181: checking for $ac_func" >&5
20181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20182 echo $ac_n "(cached) $ac_c" 1>&6
20184 cat > conftest.$ac_ext <<EOF
20185 #line 20186 "configure"
20186 #include "confdefs.h"
20187 /* System header to define __stub macros and hopefully few prototypes,
20188 which can conflict with char $ac_func(); below. */
20189 #include <assert.h>
20190 /* Override any gcc2 internal prototype to avoid an error. */
20191 /* We use char because int might match the return type of a gcc2
20192 builtin and then its argument prototype would still apply. */
20197 /* The GNU C library defines this for functions which it implements
20198 to always fail with ENOSYS. Some functions are actually named
20199 something starting with __ and the normal name is an alias. */
20200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20208 if { (eval echo configure:20209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20210 eval "ac_cv_func_$ac_func=yes"
20212 echo "configure: failed program was:" >&5
20213 cat conftest.$ac_ext >&5
20215 eval "ac_cv_func_$ac_func=no"
20220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20221 echo "$ac_t""yes" 1>&6
20222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20223 cat >> confdefs.h <<EOF
20224 #define $ac_tr_func 1
20228 echo "$ac_t""no" 1>&6
20234 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
20235 echo "configure:20236: checking for _modfl declaration" >&5
20236 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20237 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20238 echo $ac_n "(cached) $ac_c" 1>&6
20243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20244 ac_cpp='$CXXCPP $CPPFLAGS'
20245 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20246 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20247 cross_compiling=$ac_cv_prog_cxx_cross
20249 cat > conftest.$ac_ext <<EOF
20250 #line 20251 "configure"
20251 #include "confdefs.h"
20257 if { (eval echo configure:20258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20259 glibcpp_cv_func__modfl_use=yes
20261 echo "configure: failed program was:" >&5
20262 cat conftest.$ac_ext >&5
20264 glibcpp_cv_func__modfl_use=no
20268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20269 ac_cpp='$CPP $CPPFLAGS'
20270 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20271 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20272 cross_compiling=$ac_cv_prog_cc_cross
20278 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20280 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20281 for ac_func in _modfl
20283 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20284 echo "configure:20285: checking for $ac_func" >&5
20285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20286 echo $ac_n "(cached) $ac_c" 1>&6
20288 cat > conftest.$ac_ext <<EOF
20289 #line 20290 "configure"
20290 #include "confdefs.h"
20291 /* System header to define __stub macros and hopefully few prototypes,
20292 which can conflict with char $ac_func(); below. */
20293 #include <assert.h>
20294 /* Override any gcc2 internal prototype to avoid an error. */
20295 /* We use char because int might match the return type of a gcc2
20296 builtin and then its argument prototype would still apply. */
20301 /* The GNU C library defines this for functions which it implements
20302 to always fail with ENOSYS. Some functions are actually named
20303 something starting with __ and the normal name is an alias. */
20304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20312 if { (eval echo configure:20313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20314 eval "ac_cv_func_$ac_func=yes"
20316 echo "configure: failed program was:" >&5
20317 cat conftest.$ac_ext >&5
20319 eval "ac_cv_func_$ac_func=no"
20324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20325 echo "$ac_t""yes" 1>&6
20326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20327 cat >> confdefs.h <<EOF
20328 #define $ac_tr_func 1
20332 echo "$ac_t""no" 1>&6
20341 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
20342 echo "configure:20343: checking for powl declaration" >&5
20343 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20344 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20345 echo $ac_n "(cached) $ac_c" 1>&6
20350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20351 ac_cpp='$CXXCPP $CPPFLAGS'
20352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20354 cross_compiling=$ac_cv_prog_cxx_cross
20356 cat > conftest.$ac_ext <<EOF
20357 #line 20358 "configure"
20358 #include "confdefs.h"
20364 if { (eval echo configure:20365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20366 glibcpp_cv_func_powl_use=yes
20368 echo "configure: failed program was:" >&5
20369 cat conftest.$ac_ext >&5
20371 glibcpp_cv_func_powl_use=no
20375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20376 ac_cpp='$CPP $CPPFLAGS'
20377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20379 cross_compiling=$ac_cv_prog_cc_cross
20385 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20387 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20388 for ac_func in powl
20390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20391 echo "configure:20392: checking for $ac_func" >&5
20392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20393 echo $ac_n "(cached) $ac_c" 1>&6
20395 cat > conftest.$ac_ext <<EOF
20396 #line 20397 "configure"
20397 #include "confdefs.h"
20398 /* System header to define __stub macros and hopefully few prototypes,
20399 which can conflict with char $ac_func(); below. */
20400 #include <assert.h>
20401 /* Override any gcc2 internal prototype to avoid an error. */
20402 /* We use char because int might match the return type of a gcc2
20403 builtin and then its argument prototype would still apply. */
20408 /* The GNU C library defines this for functions which it implements
20409 to always fail with ENOSYS. Some functions are actually named
20410 something starting with __ and the normal name is an alias. */
20411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20419 if { (eval echo configure:20420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20421 eval "ac_cv_func_$ac_func=yes"
20423 echo "configure: failed program was:" >&5
20424 cat conftest.$ac_ext >&5
20426 eval "ac_cv_func_$ac_func=no"
20431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20432 echo "$ac_t""yes" 1>&6
20433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20434 cat >> confdefs.h <<EOF
20435 #define $ac_tr_func 1
20439 echo "$ac_t""no" 1>&6
20445 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
20446 echo "configure:20447: checking for _powl declaration" >&5
20447 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20448 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20449 echo $ac_n "(cached) $ac_c" 1>&6
20454 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20455 ac_cpp='$CXXCPP $CPPFLAGS'
20456 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20457 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20458 cross_compiling=$ac_cv_prog_cxx_cross
20460 cat > conftest.$ac_ext <<EOF
20461 #line 20462 "configure"
20462 #include "confdefs.h"
20468 if { (eval echo configure:20469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20470 glibcpp_cv_func__powl_use=yes
20472 echo "configure: failed program was:" >&5
20473 cat conftest.$ac_ext >&5
20475 glibcpp_cv_func__powl_use=no
20479 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20480 ac_cpp='$CPP $CPPFLAGS'
20481 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20482 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20483 cross_compiling=$ac_cv_prog_cc_cross
20489 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20491 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20492 for ac_func in _powl
20494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20495 echo "configure:20496: checking for $ac_func" >&5
20496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20497 echo $ac_n "(cached) $ac_c" 1>&6
20499 cat > conftest.$ac_ext <<EOF
20500 #line 20501 "configure"
20501 #include "confdefs.h"
20502 /* System header to define __stub macros and hopefully few prototypes,
20503 which can conflict with char $ac_func(); below. */
20504 #include <assert.h>
20505 /* Override any gcc2 internal prototype to avoid an error. */
20506 /* We use char because int might match the return type of a gcc2
20507 builtin and then its argument prototype would still apply. */
20512 /* The GNU C library defines this for functions which it implements
20513 to always fail with ENOSYS. Some functions are actually named
20514 something starting with __ and the normal name is an alias. */
20515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20523 if { (eval echo configure:20524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20525 eval "ac_cv_func_$ac_func=yes"
20527 echo "configure: failed program was:" >&5
20528 cat conftest.$ac_ext >&5
20530 eval "ac_cv_func_$ac_func=no"
20535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20536 echo "$ac_t""yes" 1>&6
20537 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20538 cat >> confdefs.h <<EOF
20539 #define $ac_tr_func 1
20543 echo "$ac_t""no" 1>&6
20552 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
20553 echo "configure:20554: checking for sqrtl declaration" >&5
20554 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20555 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20556 echo $ac_n "(cached) $ac_c" 1>&6
20561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20562 ac_cpp='$CXXCPP $CPPFLAGS'
20563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20565 cross_compiling=$ac_cv_prog_cxx_cross
20567 cat > conftest.$ac_ext <<EOF
20568 #line 20569 "configure"
20569 #include "confdefs.h"
20571 #ifdef HAVE_IEEEFP_H
20572 #include <ieeefp.h>
20579 if { (eval echo configure:20580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20581 glibcpp_cv_func_sqrtl_use=yes
20583 echo "configure: failed program was:" >&5
20584 cat conftest.$ac_ext >&5
20586 glibcpp_cv_func_sqrtl_use=no
20590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20591 ac_cpp='$CPP $CPPFLAGS'
20592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20594 cross_compiling=$ac_cv_prog_cc_cross
20600 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20602 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20603 for ac_func in sqrtl
20605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20606 echo "configure:20607: checking for $ac_func" >&5
20607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20608 echo $ac_n "(cached) $ac_c" 1>&6
20610 cat > conftest.$ac_ext <<EOF
20611 #line 20612 "configure"
20612 #include "confdefs.h"
20613 /* System header to define __stub macros and hopefully few prototypes,
20614 which can conflict with char $ac_func(); below. */
20615 #include <assert.h>
20616 /* Override any gcc2 internal prototype to avoid an error. */
20617 /* We use char because int might match the return type of a gcc2
20618 builtin and then its argument prototype would still apply. */
20623 /* The GNU C library defines this for functions which it implements
20624 to always fail with ENOSYS. Some functions are actually named
20625 something starting with __ and the normal name is an alias. */
20626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20634 if { (eval echo configure:20635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20636 eval "ac_cv_func_$ac_func=yes"
20638 echo "configure: failed program was:" >&5
20639 cat conftest.$ac_ext >&5
20641 eval "ac_cv_func_$ac_func=no"
20646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20647 echo "$ac_t""yes" 1>&6
20648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20649 cat >> confdefs.h <<EOF
20650 #define $ac_tr_func 1
20654 echo "$ac_t""no" 1>&6
20660 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
20661 echo "configure:20662: checking for _sqrtl declaration" >&5
20662 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20663 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20664 echo $ac_n "(cached) $ac_c" 1>&6
20669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20670 ac_cpp='$CXXCPP $CPPFLAGS'
20671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20673 cross_compiling=$ac_cv_prog_cxx_cross
20675 cat > conftest.$ac_ext <<EOF
20676 #line 20677 "configure"
20677 #include "confdefs.h"
20679 #ifdef HAVE_IEEEFP_H
20680 #include <ieeefp.h>
20687 if { (eval echo configure:20688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20689 glibcpp_cv_func__sqrtl_use=yes
20691 echo "configure: failed program was:" >&5
20692 cat conftest.$ac_ext >&5
20694 glibcpp_cv_func__sqrtl_use=no
20698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20699 ac_cpp='$CPP $CPPFLAGS'
20700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20702 cross_compiling=$ac_cv_prog_cc_cross
20708 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20710 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20711 for ac_func in _sqrtl
20713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20714 echo "configure:20715: checking for $ac_func" >&5
20715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20716 echo $ac_n "(cached) $ac_c" 1>&6
20718 cat > conftest.$ac_ext <<EOF
20719 #line 20720 "configure"
20720 #include "confdefs.h"
20721 /* System header to define __stub macros and hopefully few prototypes,
20722 which can conflict with char $ac_func(); below. */
20723 #include <assert.h>
20724 /* Override any gcc2 internal prototype to avoid an error. */
20725 /* We use char because int might match the return type of a gcc2
20726 builtin and then its argument prototype would still apply. */
20731 /* The GNU C library defines this for functions which it implements
20732 to always fail with ENOSYS. Some functions are actually named
20733 something starting with __ and the normal name is an alias. */
20734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20742 if { (eval echo configure:20743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20744 eval "ac_cv_func_$ac_func=yes"
20746 echo "configure: failed program was:" >&5
20747 cat conftest.$ac_ext >&5
20749 eval "ac_cv_func_$ac_func=no"
20754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20755 echo "$ac_t""yes" 1>&6
20756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20757 cat >> confdefs.h <<EOF
20758 #define $ac_tr_func 1
20762 echo "$ac_t""no" 1>&6
20771 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
20772 echo "configure:20773: checking for sincosl declaration" >&5
20773 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20774 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20775 echo $ac_n "(cached) $ac_c" 1>&6
20780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20781 ac_cpp='$CXXCPP $CPPFLAGS'
20782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20784 cross_compiling=$ac_cv_prog_cxx_cross
20786 cat > conftest.$ac_ext <<EOF
20787 #line 20788 "configure"
20788 #include "confdefs.h"
20794 if { (eval echo configure:20795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20796 glibcpp_cv_func_sincosl_use=yes
20798 echo "configure: failed program was:" >&5
20799 cat conftest.$ac_ext >&5
20801 glibcpp_cv_func_sincosl_use=no
20805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20806 ac_cpp='$CPP $CPPFLAGS'
20807 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20808 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20809 cross_compiling=$ac_cv_prog_cc_cross
20815 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20817 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20818 for ac_func in sincosl
20820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20821 echo "configure:20822: checking for $ac_func" >&5
20822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20823 echo $ac_n "(cached) $ac_c" 1>&6
20825 cat > conftest.$ac_ext <<EOF
20826 #line 20827 "configure"
20827 #include "confdefs.h"
20828 /* System header to define __stub macros and hopefully few prototypes,
20829 which can conflict with char $ac_func(); below. */
20830 #include <assert.h>
20831 /* Override any gcc2 internal prototype to avoid an error. */
20832 /* We use char because int might match the return type of a gcc2
20833 builtin and then its argument prototype would still apply. */
20838 /* The GNU C library defines this for functions which it implements
20839 to always fail with ENOSYS. Some functions are actually named
20840 something starting with __ and the normal name is an alias. */
20841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20849 if { (eval echo configure:20850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20851 eval "ac_cv_func_$ac_func=yes"
20853 echo "configure: failed program was:" >&5
20854 cat conftest.$ac_ext >&5
20856 eval "ac_cv_func_$ac_func=no"
20861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20862 echo "$ac_t""yes" 1>&6
20863 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20864 cat >> confdefs.h <<EOF
20865 #define $ac_tr_func 1
20869 echo "$ac_t""no" 1>&6
20875 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
20876 echo "configure:20877: checking for _sincosl declaration" >&5
20877 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20878 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20879 echo $ac_n "(cached) $ac_c" 1>&6
20884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20885 ac_cpp='$CXXCPP $CPPFLAGS'
20886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20888 cross_compiling=$ac_cv_prog_cxx_cross
20890 cat > conftest.$ac_ext <<EOF
20891 #line 20892 "configure"
20892 #include "confdefs.h"
20898 if { (eval echo configure:20899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20900 glibcpp_cv_func__sincosl_use=yes
20902 echo "configure: failed program was:" >&5
20903 cat conftest.$ac_ext >&5
20905 glibcpp_cv_func__sincosl_use=no
20909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20910 ac_cpp='$CPP $CPPFLAGS'
20911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20913 cross_compiling=$ac_cv_prog_cc_cross
20919 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20921 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20922 for ac_func in _sincosl
20924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20925 echo "configure:20926: checking for $ac_func" >&5
20926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20927 echo $ac_n "(cached) $ac_c" 1>&6
20929 cat > conftest.$ac_ext <<EOF
20930 #line 20931 "configure"
20931 #include "confdefs.h"
20932 /* System header to define __stub macros and hopefully few prototypes,
20933 which can conflict with char $ac_func(); below. */
20934 #include <assert.h>
20935 /* Override any gcc2 internal prototype to avoid an error. */
20936 /* We use char because int might match the return type of a gcc2
20937 builtin and then its argument prototype would still apply. */
20942 /* The GNU C library defines this for functions which it implements
20943 to always fail with ENOSYS. Some functions are actually named
20944 something starting with __ and the normal name is an alias. */
20945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20953 if { (eval echo configure:20954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20955 eval "ac_cv_func_$ac_func=yes"
20957 echo "configure: failed program was:" >&5
20958 cat conftest.$ac_ext >&5
20960 eval "ac_cv_func_$ac_func=no"
20965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20966 echo "$ac_t""yes" 1>&6
20967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20968 cat >> confdefs.h <<EOF
20969 #define $ac_tr_func 1
20973 echo "$ac_t""no" 1>&6
20982 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
20983 echo "configure:20984: checking for finitel declaration" >&5
20984 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
20985 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
20986 echo $ac_n "(cached) $ac_c" 1>&6
20991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20992 ac_cpp='$CXXCPP $CPPFLAGS'
20993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20995 cross_compiling=$ac_cv_prog_cxx_cross
20997 cat > conftest.$ac_ext <<EOF
20998 #line 20999 "configure"
20999 #include "confdefs.h"
21001 #ifdef HAVE_IEEEFP_H
21002 #include <ieeefp.h>
21009 if { (eval echo configure:21010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21011 glibcpp_cv_func_finitel_use=yes
21013 echo "configure: failed program was:" >&5
21014 cat conftest.$ac_ext >&5
21016 glibcpp_cv_func_finitel_use=no
21020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21021 ac_cpp='$CPP $CPPFLAGS'
21022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21024 cross_compiling=$ac_cv_prog_cc_cross
21030 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
21032 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
21033 for ac_func in finitel
21035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21036 echo "configure:21037: checking for $ac_func" >&5
21037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21038 echo $ac_n "(cached) $ac_c" 1>&6
21040 cat > conftest.$ac_ext <<EOF
21041 #line 21042 "configure"
21042 #include "confdefs.h"
21043 /* System header to define __stub macros and hopefully few prototypes,
21044 which can conflict with char $ac_func(); below. */
21045 #include <assert.h>
21046 /* Override any gcc2 internal prototype to avoid an error. */
21047 /* We use char because int might match the return type of a gcc2
21048 builtin and then its argument prototype would still apply. */
21053 /* The GNU C library defines this for functions which it implements
21054 to always fail with ENOSYS. Some functions are actually named
21055 something starting with __ and the normal name is an alias. */
21056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21064 if { (eval echo configure:21065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21066 eval "ac_cv_func_$ac_func=yes"
21068 echo "configure: failed program was:" >&5
21069 cat conftest.$ac_ext >&5
21071 eval "ac_cv_func_$ac_func=no"
21076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21077 echo "$ac_t""yes" 1>&6
21078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21079 cat >> confdefs.h <<EOF
21080 #define $ac_tr_func 1
21084 echo "$ac_t""no" 1>&6
21090 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
21091 echo "configure:21092: checking for _finitel declaration" >&5
21092 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
21093 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
21094 echo $ac_n "(cached) $ac_c" 1>&6
21099 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21100 ac_cpp='$CXXCPP $CPPFLAGS'
21101 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21102 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21103 cross_compiling=$ac_cv_prog_cxx_cross
21105 cat > conftest.$ac_ext <<EOF
21106 #line 21107 "configure"
21107 #include "confdefs.h"
21109 #ifdef HAVE_IEEEFP_H
21110 #include <ieeefp.h>
21117 if { (eval echo configure:21118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21119 glibcpp_cv_func__finitel_use=yes
21121 echo "configure: failed program was:" >&5
21122 cat conftest.$ac_ext >&5
21124 glibcpp_cv_func__finitel_use=no
21128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21129 ac_cpp='$CPP $CPPFLAGS'
21130 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21131 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21132 cross_compiling=$ac_cv_prog_cc_cross
21138 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
21140 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
21141 for ac_func in _finitel
21143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21144 echo "configure:21145: checking for $ac_func" >&5
21145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21146 echo $ac_n "(cached) $ac_c" 1>&6
21148 cat > conftest.$ac_ext <<EOF
21149 #line 21150 "configure"
21150 #include "confdefs.h"
21151 /* System header to define __stub macros and hopefully few prototypes,
21152 which can conflict with char $ac_func(); below. */
21153 #include <assert.h>
21154 /* Override any gcc2 internal prototype to avoid an error. */
21155 /* We use char because int might match the return type of a gcc2
21156 builtin and then its argument prototype would still apply. */
21161 /* The GNU C library defines this for functions which it implements
21162 to always fail with ENOSYS. Some functions are actually named
21163 something starting with __ and the normal name is an alias. */
21164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21172 if { (eval echo configure:21173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21174 eval "ac_cv_func_$ac_func=yes"
21176 echo "configure: failed program was:" >&5
21177 cat conftest.$ac_ext >&5
21179 eval "ac_cv_func_$ac_func=no"
21184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21185 echo "$ac_t""yes" 1>&6
21186 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21187 cat >> confdefs.h <<EOF
21188 #define $ac_tr_func 1
21192 echo "$ac_t""no" 1>&6
21202 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
21203 echo "configure:21204: checking for _float trig functions" >&5
21204 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21205 echo $ac_n "(cached) $ac_c" 1>&6
21210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21211 ac_cpp='$CXXCPP $CPPFLAGS'
21212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21214 cross_compiling=$ac_cv_prog_cxx_cross
21216 cat > conftest.$ac_ext <<EOF
21217 #line 21218 "configure"
21218 #include "confdefs.h"
21221 `for x in _acosf _asinf _atanf \
21222 _cosf _sinf _tanf \
21223 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21226 if { (eval echo configure:21227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21228 glibcpp_cv_func__float_trig_use=yes
21230 echo "configure: failed program was:" >&5
21231 cat conftest.$ac_ext >&5
21233 glibcpp_cv_func__float_trig_use=no
21237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21238 ac_cpp='$CPP $CPPFLAGS'
21239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21241 cross_compiling=$ac_cv_prog_cc_cross
21245 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21246 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21247 for ac_func in _acosf _asinf _atanf \
21248 _cosf _sinf _tanf \
21249 _coshf _sinhf _tanhf
21251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21252 echo "configure:21253: checking for $ac_func" >&5
21253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21254 echo $ac_n "(cached) $ac_c" 1>&6
21256 cat > conftest.$ac_ext <<EOF
21257 #line 21258 "configure"
21258 #include "confdefs.h"
21259 /* System header to define __stub macros and hopefully few prototypes,
21260 which can conflict with char $ac_func(); below. */
21261 #include <assert.h>
21262 /* Override any gcc2 internal prototype to avoid an error. */
21263 /* We use char because int might match the return type of a gcc2
21264 builtin and then its argument prototype would still apply. */
21269 /* The GNU C library defines this for functions which it implements
21270 to always fail with ENOSYS. Some functions are actually named
21271 something starting with __ and the normal name is an alias. */
21272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21280 if { (eval echo configure:21281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21282 eval "ac_cv_func_$ac_func=yes"
21284 echo "configure: failed program was:" >&5
21285 cat conftest.$ac_ext >&5
21287 eval "ac_cv_func_$ac_func=no"
21292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21293 echo "$ac_t""yes" 1>&6
21294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21295 cat >> confdefs.h <<EOF
21296 #define $ac_tr_func 1
21300 echo "$ac_t""no" 1>&6
21307 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
21308 echo "configure:21309: checking for _float round functions" >&5
21309 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
21310 echo $ac_n "(cached) $ac_c" 1>&6
21315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21316 ac_cpp='$CXXCPP $CPPFLAGS'
21317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21319 cross_compiling=$ac_cv_prog_cxx_cross
21321 cat > conftest.$ac_ext <<EOF
21322 #line 21323 "configure"
21323 #include "confdefs.h"
21326 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21329 if { (eval echo configure:21330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21331 glibcpp_cv_func__float_round_use=yes
21333 echo "configure: failed program was:" >&5
21334 cat conftest.$ac_ext >&5
21336 glibcpp_cv_func__float_round_use=no
21340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21341 ac_cpp='$CPP $CPPFLAGS'
21342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21344 cross_compiling=$ac_cv_prog_cc_cross
21348 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21349 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21350 for ac_func in _ceilf _floorf
21352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21353 echo "configure:21354: checking for $ac_func" >&5
21354 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21355 echo $ac_n "(cached) $ac_c" 1>&6
21357 cat > conftest.$ac_ext <<EOF
21358 #line 21359 "configure"
21359 #include "confdefs.h"
21360 /* System header to define __stub macros and hopefully few prototypes,
21361 which can conflict with char $ac_func(); below. */
21362 #include <assert.h>
21363 /* Override any gcc2 internal prototype to avoid an error. */
21364 /* We use char because int might match the return type of a gcc2
21365 builtin and then its argument prototype would still apply. */
21370 /* The GNU C library defines this for functions which it implements
21371 to always fail with ENOSYS. Some functions are actually named
21372 something starting with __ and the normal name is an alias. */
21373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21381 if { (eval echo configure:21382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21383 eval "ac_cv_func_$ac_func=yes"
21385 echo "configure: failed program was:" >&5
21386 cat conftest.$ac_ext >&5
21388 eval "ac_cv_func_$ac_func=no"
21393 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21394 echo "$ac_t""yes" 1>&6
21395 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21396 cat >> confdefs.h <<EOF
21397 #define $ac_tr_func 1
21401 echo "$ac_t""no" 1>&6
21409 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
21410 echo "configure:21411: checking for _long double trig functions" >&5
21411 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21412 echo $ac_n "(cached) $ac_c" 1>&6
21417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21421 cross_compiling=$ac_cv_prog_cxx_cross
21423 cat > conftest.$ac_ext <<EOF
21424 #line 21425 "configure"
21425 #include "confdefs.h"
21428 `for x in _acosl _asinl _atanl \
21429 _cosl _sinl _tanl \
21430 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21433 if { (eval echo configure:21434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21435 glibcpp_cv_func__long_double_trig_use=yes
21437 echo "configure: failed program was:" >&5
21438 cat conftest.$ac_ext >&5
21440 glibcpp_cv_func__long_double_trig_use=no
21444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21445 ac_cpp='$CPP $CPPFLAGS'
21446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21448 cross_compiling=$ac_cv_prog_cc_cross
21452 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21453 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21454 for ac_func in _acosl _asinl _atanl \
21455 _cosl _sinl _tanl \
21456 _coshl _sinhl _tanhl
21458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21459 echo "configure:21460: checking for $ac_func" >&5
21460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21461 echo $ac_n "(cached) $ac_c" 1>&6
21463 cat > conftest.$ac_ext <<EOF
21464 #line 21465 "configure"
21465 #include "confdefs.h"
21466 /* System header to define __stub macros and hopefully few prototypes,
21467 which can conflict with char $ac_func(); below. */
21468 #include <assert.h>
21469 /* Override any gcc2 internal prototype to avoid an error. */
21470 /* We use char because int might match the return type of a gcc2
21471 builtin and then its argument prototype would still apply. */
21476 /* The GNU C library defines this for functions which it implements
21477 to always fail with ENOSYS. Some functions are actually named
21478 something starting with __ and the normal name is an alias. */
21479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21487 if { (eval echo configure:21488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21489 eval "ac_cv_func_$ac_func=yes"
21491 echo "configure: failed program was:" >&5
21492 cat conftest.$ac_ext >&5
21494 eval "ac_cv_func_$ac_func=no"
21499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21500 echo "$ac_t""yes" 1>&6
21501 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21502 cat >> confdefs.h <<EOF
21503 #define $ac_tr_func 1
21507 echo "$ac_t""no" 1>&6
21514 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
21515 echo "configure:21516: checking for _long double round functions" >&5
21516 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21517 echo $ac_n "(cached) $ac_c" 1>&6
21522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21523 ac_cpp='$CXXCPP $CPPFLAGS'
21524 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21525 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21526 cross_compiling=$ac_cv_prog_cxx_cross
21528 cat > conftest.$ac_ext <<EOF
21529 #line 21530 "configure"
21530 #include "confdefs.h"
21533 `for x in _ceill _floorl; do echo "$x (0);"; done`
21536 if { (eval echo configure:21537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21538 glibcpp_cv_func__long_double_round_use=yes
21540 echo "configure: failed program was:" >&5
21541 cat conftest.$ac_ext >&5
21543 glibcpp_cv_func__long_double_round_use=no
21547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21548 ac_cpp='$CPP $CPPFLAGS'
21549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21551 cross_compiling=$ac_cv_prog_cc_cross
21555 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21556 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21557 for ac_func in _ceill _floorl
21559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21560 echo "configure:21561: checking for $ac_func" >&5
21561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21562 echo $ac_n "(cached) $ac_c" 1>&6
21564 cat > conftest.$ac_ext <<EOF
21565 #line 21566 "configure"
21566 #include "confdefs.h"
21567 /* System header to define __stub macros and hopefully few prototypes,
21568 which can conflict with char $ac_func(); below. */
21569 #include <assert.h>
21570 /* Override any gcc2 internal prototype to avoid an error. */
21571 /* We use char because int might match the return type of a gcc2
21572 builtin and then its argument prototype would still apply. */
21577 /* The GNU C library defines this for functions which it implements
21578 to always fail with ENOSYS. Some functions are actually named
21579 something starting with __ and the normal name is an alias. */
21580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21588 if { (eval echo configure:21589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21590 eval "ac_cv_func_$ac_func=yes"
21592 echo "configure: failed program was:" >&5
21593 cat conftest.$ac_ext >&5
21595 eval "ac_cv_func_$ac_func=no"
21600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21601 echo "$ac_t""yes" 1>&6
21602 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21603 cat >> confdefs.h <<EOF
21604 #define $ac_tr_func 1
21608 echo "$ac_t""no" 1>&6
21615 LIBS="$ac_save_LIBS"
21616 CXXFLAGS="$ac_save_CXXFLAGS"
21619 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21620 echo "configure:21621: checking for main in -lm" >&5
21621 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21622 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21623 echo $ac_n "(cached) $ac_c" 1>&6
21625 ac_save_LIBS="$LIBS"
21627 cat > conftest.$ac_ext <<EOF
21628 #line 21629 "configure"
21629 #include "confdefs.h"
21635 if { (eval echo configure:21636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21637 eval "ac_cv_lib_$ac_lib_var=yes"
21639 echo "configure: failed program was:" >&5
21640 cat conftest.$ac_ext >&5
21642 eval "ac_cv_lib_$ac_lib_var=no"
21645 LIBS="$ac_save_LIBS"
21648 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21649 echo "$ac_t""yes" 1>&6
21650 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21651 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21652 cat >> confdefs.h <<EOF
21653 #define $ac_tr_lib 1
21659 echo "$ac_t""no" 1>&6
21662 for ac_func in nan copysignf
21664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21665 echo "configure:21666: checking for $ac_func" >&5
21666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21667 echo $ac_n "(cached) $ac_c" 1>&6
21669 cat > conftest.$ac_ext <<EOF
21670 #line 21671 "configure"
21671 #include "confdefs.h"
21672 /* System header to define __stub macros and hopefully few prototypes,
21673 which can conflict with char $ac_func(); below. */
21674 #include <assert.h>
21675 /* Override any gcc2 internal prototype to avoid an error. */
21676 /* We use char because int might match the return type of a gcc2
21677 builtin and then its argument prototype would still apply. */
21682 /* The GNU C library defines this for functions which it implements
21683 to always fail with ENOSYS. Some functions are actually named
21684 something starting with __ and the normal name is an alias. */
21685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21693 if { (eval echo configure:21694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21695 eval "ac_cv_func_$ac_func=yes"
21697 echo "configure: failed program was:" >&5
21698 cat conftest.$ac_ext >&5
21700 eval "ac_cv_func_$ac_func=no"
21705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21706 echo "$ac_t""yes" 1>&6
21707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21708 cat >> confdefs.h <<EOF
21709 #define $ac_tr_func 1
21713 echo "$ac_t""no" 1>&6
21714 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21719 for ac_func in __signbit
21721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21722 echo "configure:21723: checking for $ac_func" >&5
21723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21724 echo $ac_n "(cached) $ac_c" 1>&6
21726 cat > conftest.$ac_ext <<EOF
21727 #line 21728 "configure"
21728 #include "confdefs.h"
21729 /* System header to define __stub macros and hopefully few prototypes,
21730 which can conflict with char $ac_func(); below. */
21731 #include <assert.h>
21732 /* Override any gcc2 internal prototype to avoid an error. */
21733 /* We use char because int might match the return type of a gcc2
21734 builtin and then its argument prototype would still apply. */
21739 /* The GNU C library defines this for functions which it implements
21740 to always fail with ENOSYS. Some functions are actually named
21741 something starting with __ and the normal name is an alias. */
21742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21750 if { (eval echo configure:21751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21752 eval "ac_cv_func_$ac_func=yes"
21754 echo "configure: failed program was:" >&5
21755 cat conftest.$ac_ext >&5
21757 eval "ac_cv_func_$ac_func=no"
21762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21763 echo "$ac_t""yes" 1>&6
21764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21765 cat >> confdefs.h <<EOF
21766 #define $ac_tr_func 1
21770 echo "$ac_t""no" 1>&6
21771 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21775 for ac_func in __signbitf
21777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21778 echo "configure:21779: checking for $ac_func" >&5
21779 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21780 echo $ac_n "(cached) $ac_c" 1>&6
21782 cat > conftest.$ac_ext <<EOF
21783 #line 21784 "configure"
21784 #include "confdefs.h"
21785 /* System header to define __stub macros and hopefully few prototypes,
21786 which can conflict with char $ac_func(); below. */
21787 #include <assert.h>
21788 /* Override any gcc2 internal prototype to avoid an error. */
21789 /* We use char because int might match the return type of a gcc2
21790 builtin and then its argument prototype would still apply. */
21795 /* The GNU C library defines this for functions which it implements
21796 to always fail with ENOSYS. Some functions are actually named
21797 something starting with __ and the normal name is an alias. */
21798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21806 if { (eval echo configure:21807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21808 eval "ac_cv_func_$ac_func=yes"
21810 echo "configure: failed program was:" >&5
21811 cat conftest.$ac_ext >&5
21813 eval "ac_cv_func_$ac_func=no"
21818 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21819 echo "$ac_t""yes" 1>&6
21820 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21821 cat >> confdefs.h <<EOF
21822 #define $ac_tr_func 1
21826 echo "$ac_t""no" 1>&6
21827 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21832 if test x$ac_cv_func_copysignl = x"yes"; then
21833 for ac_func in __signbitl
21835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21836 echo "configure:21837: checking for $ac_func" >&5
21837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21838 echo $ac_n "(cached) $ac_c" 1>&6
21840 cat > conftest.$ac_ext <<EOF
21841 #line 21842 "configure"
21842 #include "confdefs.h"
21843 /* System header to define __stub macros and hopefully few prototypes,
21844 which can conflict with char $ac_func(); below. */
21845 #include <assert.h>
21846 /* Override any gcc2 internal prototype to avoid an error. */
21847 /* We use char because int might match the return type of a gcc2
21848 builtin and then its argument prototype would still apply. */
21853 /* The GNU C library defines this for functions which it implements
21854 to always fail with ENOSYS. Some functions are actually named
21855 something starting with __ and the normal name is an alias. */
21856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21864 if { (eval echo configure:21865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21866 eval "ac_cv_func_$ac_func=yes"
21868 echo "configure: failed program was:" >&5
21869 cat conftest.$ac_ext >&5
21871 eval "ac_cv_func_$ac_func=no"
21876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21877 echo "$ac_t""yes" 1>&6
21878 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21879 cat >> confdefs.h <<EOF
21880 #define $ac_tr_func 1
21884 echo "$ac_t""no" 1>&6
21885 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21891 if test -n "$LIBMATHOBJS"; then
21897 if test "$need_libmath" = yes; then
21898 GLIBCPP_BUILD_LIBMATH_TRUE=
21899 GLIBCPP_BUILD_LIBMATH_FALSE='#'
21901 GLIBCPP_BUILD_LIBMATH_TRUE='#'
21902 GLIBCPP_BUILD_LIBMATH_FALSE=
21907 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21908 echo "configure:21909: checking for mbstate_t" >&5
21909 cat > conftest.$ac_ext <<EOF
21910 #line 21911 "configure"
21911 #include "confdefs.h"
21914 mbstate_t teststate;
21917 if { (eval echo configure:21918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21921 echo "configure: failed program was:" >&5
21922 cat conftest.$ac_ext >&5
21927 echo "$ac_t""$have_mbstate_t" 1>&6
21928 if test x"$have_mbstate_t" = xyes; then
21929 cat >> confdefs.h <<\EOF
21930 #define HAVE_MBSTATE_T 1
21935 for ac_hdr in wchar.h
21937 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21938 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21939 echo "configure:21940: checking for $ac_hdr" >&5
21940 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21941 echo $ac_n "(cached) $ac_c" 1>&6
21943 cat > conftest.$ac_ext <<EOF
21944 #line 21945 "configure"
21945 #include "confdefs.h"
21948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21949 { (eval echo configure:21950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21951 if test -z "$ac_err"; then
21953 eval "ac_cv_header_$ac_safe=yes"
21956 echo "configure: failed program was:" >&5
21957 cat conftest.$ac_ext >&5
21959 eval "ac_cv_header_$ac_safe=no"
21963 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21964 echo "$ac_t""yes" 1>&6
21965 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21966 cat >> confdefs.h <<EOF
21967 #define $ac_tr_hdr 1
21971 echo "$ac_t""no" 1>&6
21976 for ac_hdr in wctype.h
21978 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21979 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21980 echo "configure:21981: checking for $ac_hdr" >&5
21981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21982 echo $ac_n "(cached) $ac_c" 1>&6
21984 cat > conftest.$ac_ext <<EOF
21985 #line 21986 "configure"
21986 #include "confdefs.h"
21989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21990 { (eval echo configure:21991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21992 if test -z "$ac_err"; then
21994 eval "ac_cv_header_$ac_safe=yes"
21997 echo "configure: failed program was:" >&5
21998 cat conftest.$ac_ext >&5
22000 eval "ac_cv_header_$ac_safe=no"
22004 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22005 echo "$ac_t""yes" 1>&6
22006 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22007 cat >> confdefs.h <<EOF
22008 #define $ac_tr_hdr 1
22010 ac_has_wctype_h=yes
22012 echo "$ac_t""no" 1>&6
22018 if test x"$ac_has_wchar_h" = xyes &&
22019 test x"$ac_has_wctype_h" = xyes &&
22020 test x"$enable_c_mbchar" != xno; then
22022 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
22023 echo "configure:22024: checking for WCHAR_MIN and WCHAR_MAX" >&5
22024 cat > conftest.$ac_ext <<EOF
22025 #line 22026 "configure"
22026 #include "confdefs.h"
22029 int i = WCHAR_MIN; int j = WCHAR_MAX;
22032 if { (eval echo configure:22033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22034 has_wchar_minmax=yes
22036 echo "configure: failed program was:" >&5
22037 cat conftest.$ac_ext >&5
22039 has_wchar_minmax=no
22042 echo "$ac_t""$has_wchar_minmax" 1>&6
22044 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
22045 echo "configure:22046: checking for WEOF" >&5
22046 cat > conftest.$ac_ext <<EOF
22047 #line 22048 "configure"
22048 #include "confdefs.h"
22051 #include <stddef.h>
22056 if { (eval echo configure:22057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22060 echo "configure: failed program was:" >&5
22061 cat conftest.$ac_ext >&5
22066 echo "$ac_t""$has_weof" 1>&6
22069 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22072 echo "configure:22073: checking for $ac_func" >&5
22073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22074 echo $ac_n "(cached) $ac_c" 1>&6
22076 cat > conftest.$ac_ext <<EOF
22077 #line 22078 "configure"
22078 #include "confdefs.h"
22079 /* System header to define __stub macros and hopefully few prototypes,
22080 which can conflict with char $ac_func(); below. */
22081 #include <assert.h>
22082 /* Override any gcc2 internal prototype to avoid an error. */
22083 /* We use char because int might match the return type of a gcc2
22084 builtin and then its argument prototype would still apply. */
22089 /* The GNU C library defines this for functions which it implements
22090 to always fail with ENOSYS. Some functions are actually named
22091 something starting with __ and the normal name is an alias. */
22092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22100 if { (eval echo configure:22101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22102 eval "ac_cv_func_$ac_func=yes"
22104 echo "configure: failed program was:" >&5
22105 cat conftest.$ac_ext >&5
22107 eval "ac_cv_func_$ac_func=no"
22112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22113 echo "$ac_t""yes" 1>&6
22114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22115 cat >> confdefs.h <<EOF
22116 #define $ac_tr_func 1
22120 echo "$ac_t""no" 1>&6
22127 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
22128 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22129 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22130 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22131 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22132 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22134 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22135 echo "configure:22136: checking for $ac_func" >&5
22136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22137 echo $ac_n "(cached) $ac_c" 1>&6
22139 cat > conftest.$ac_ext <<EOF
22140 #line 22141 "configure"
22141 #include "confdefs.h"
22142 /* System header to define __stub macros and hopefully few prototypes,
22143 which can conflict with char $ac_func(); below. */
22144 #include <assert.h>
22145 /* Override any gcc2 internal prototype to avoid an error. */
22146 /* We use char because int might match the return type of a gcc2
22147 builtin and then its argument prototype would still apply. */
22152 /* The GNU C library defines this for functions which it implements
22153 to always fail with ENOSYS. Some functions are actually named
22154 something starting with __ and the normal name is an alias. */
22155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22163 if { (eval echo configure:22164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22165 eval "ac_cv_func_$ac_func=yes"
22167 echo "configure: failed program was:" >&5
22168 cat conftest.$ac_ext >&5
22170 eval "ac_cv_func_$ac_func=no"
22175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22176 echo "$ac_t""yes" 1>&6
22177 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22178 cat >> confdefs.h <<EOF
22179 #define $ac_tr_func 1
22183 echo "$ac_t""no" 1>&6
22190 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22191 echo "configure:22192: checking for ISO C99 wchar_t support" >&5
22192 if test x"$has_weof" = xyes &&
22193 test x"$has_wchar_minmax" = xyes &&
22194 test x"$ac_wfuncs" = xyes; then
22195 ac_isoC99_wchar_t=yes
22197 ac_isoC99_wchar_t=no
22199 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22201 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22202 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22203 echo "configure:22204: checking for iconv.h" >&5
22204 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22205 echo $ac_n "(cached) $ac_c" 1>&6
22207 cat > conftest.$ac_ext <<EOF
22208 #line 22209 "configure"
22209 #include "confdefs.h"
22212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22213 { (eval echo configure:22214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22215 if test -z "$ac_err"; then
22217 eval "ac_cv_header_$ac_safe=yes"
22220 echo "configure: failed program was:" >&5
22221 cat conftest.$ac_ext >&5
22223 eval "ac_cv_header_$ac_safe=no"
22227 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22228 echo "$ac_t""yes" 1>&6
22231 echo "$ac_t""no" 1>&6
22235 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22236 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22237 echo "configure:22238: checking for langinfo.h" >&5
22238 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22239 echo $ac_n "(cached) $ac_c" 1>&6
22241 cat > conftest.$ac_ext <<EOF
22242 #line 22243 "configure"
22243 #include "confdefs.h"
22244 #include <langinfo.h>
22246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22247 { (eval echo configure:22248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22249 if test -z "$ac_err"; then
22251 eval "ac_cv_header_$ac_safe=yes"
22254 echo "configure: failed program was:" >&5
22255 cat conftest.$ac_ext >&5
22257 eval "ac_cv_header_$ac_safe=no"
22261 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22262 echo "$ac_t""yes" 1>&6
22263 ac_has_langinfo_h=yes
22265 echo "$ac_t""no" 1>&6
22266 ac_has_langinfo_h=no
22270 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22271 echo "configure:22272: checking for iconv in -liconv" >&5
22272 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22273 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22274 echo $ac_n "(cached) $ac_c" 1>&6
22276 ac_save_LIBS="$LIBS"
22277 LIBS="-liconv $LIBS"
22278 cat > conftest.$ac_ext <<EOF
22279 #line 22280 "configure"
22280 #include "confdefs.h"
22281 /* Override any gcc2 internal prototype to avoid an error. */
22282 /* We use char because int might match the return type of a gcc2
22283 builtin and then its argument prototype would still apply. */
22290 if { (eval echo configure:22291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22292 eval "ac_cv_lib_$ac_lib_var=yes"
22294 echo "configure: failed program was:" >&5
22295 cat conftest.$ac_ext >&5
22297 eval "ac_cv_lib_$ac_lib_var=no"
22300 LIBS="$ac_save_LIBS"
22303 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22304 echo "$ac_t""yes" 1>&6
22307 echo "$ac_t""no" 1>&6
22310 ac_save_LIBS="$LIBS"
22311 LIBS="$LIBS $libiconv"
22313 for ac_func in iconv_open iconv_close iconv nl_langinfo
22315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22316 echo "configure:22317: checking for $ac_func" >&5
22317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22318 echo $ac_n "(cached) $ac_c" 1>&6
22320 cat > conftest.$ac_ext <<EOF
22321 #line 22322 "configure"
22322 #include "confdefs.h"
22323 /* System header to define __stub macros and hopefully few prototypes,
22324 which can conflict with char $ac_func(); below. */
22325 #include <assert.h>
22326 /* Override any gcc2 internal prototype to avoid an error. */
22327 /* We use char because int might match the return type of a gcc2
22328 builtin and then its argument prototype would still apply. */
22333 /* The GNU C library defines this for functions which it implements
22334 to always fail with ENOSYS. Some functions are actually named
22335 something starting with __ and the normal name is an alias. */
22336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22344 if { (eval echo configure:22345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22346 eval "ac_cv_func_$ac_func=yes"
22348 echo "configure: failed program was:" >&5
22349 cat conftest.$ac_ext >&5
22351 eval "ac_cv_func_$ac_func=no"
22356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22357 echo "$ac_t""yes" 1>&6
22358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22359 cat >> confdefs.h <<EOF
22360 #define $ac_tr_func 1
22365 echo "$ac_t""no" 1>&6
22371 LIBS="$ac_save_LIBS"
22373 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22374 echo "configure:22375: checking for XPG2 wchar_t support" >&5
22375 if test x"$ac_has_iconv_h" = xyes &&
22376 test x"$ac_has_langinfo_h" = xyes &&
22377 test x"$ac_XPG2funcs" = xyes; then
22378 ac_XPG2_wchar_t=yes
22382 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22384 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22385 echo "configure:22386: checking for enabled wchar_t specializations" >&5
22386 if test x"$ac_isoC99_wchar_t" = xyes &&
22387 test x"$ac_XPG2_wchar_t" = xyes; then
22388 cat >> confdefs.h <<\EOF
22389 #define _GLIBCPP_USE_WCHAR_T 1
22392 echo "$ac_t"""yes"" 1>&6
22394 echo "$ac_t"""no"" 1>&6
22397 echo "configure: warning: wchar_t support disabled." 1>&2
22401 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22402 ac_save_CXXFLAGS="$CXXFLAGS"
22403 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22406 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22407 echo "configure:22408: checking for strtold declaration" >&5
22408 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22409 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22410 echo $ac_n "(cached) $ac_c" 1>&6
22415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22416 ac_cpp='$CXXCPP $CPPFLAGS'
22417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22419 cross_compiling=$ac_cv_prog_cxx_cross
22421 cat > conftest.$ac_ext <<EOF
22422 #line 22423 "configure"
22423 #include "confdefs.h"
22424 #include <stdlib.h>
22429 if { (eval echo configure:22430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22431 glibcpp_cv_func_strtold_use=yes
22433 echo "configure: failed program was:" >&5
22434 cat conftest.$ac_ext >&5
22436 glibcpp_cv_func_strtold_use=no
22440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22444 cross_compiling=$ac_cv_prog_cc_cross
22450 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22451 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22452 for ac_func in strtold
22454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22455 echo "configure:22456: checking for $ac_func" >&5
22456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22457 echo $ac_n "(cached) $ac_c" 1>&6
22459 cat > conftest.$ac_ext <<EOF
22460 #line 22461 "configure"
22461 #include "confdefs.h"
22462 /* System header to define __stub macros and hopefully few prototypes,
22463 which can conflict with char $ac_func(); below. */
22464 #include <assert.h>
22465 /* Override any gcc2 internal prototype to avoid an error. */
22466 /* We use char because int might match the return type of a gcc2
22467 builtin and then its argument prototype would still apply. */
22472 /* The GNU C library defines this for functions which it implements
22473 to always fail with ENOSYS. Some functions are actually named
22474 something starting with __ and the normal name is an alias. */
22475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22483 if { (eval echo configure:22484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22485 eval "ac_cv_func_$ac_func=yes"
22487 echo "configure: failed program was:" >&5
22488 cat conftest.$ac_ext >&5
22490 eval "ac_cv_func_$ac_func=no"
22495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22496 echo "$ac_t""yes" 1>&6
22497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22498 cat >> confdefs.h <<EOF
22499 #define $ac_tr_func 1
22503 echo "$ac_t""no" 1>&6
22510 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22511 echo "configure:22512: checking for strtof declaration" >&5
22512 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22513 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22514 echo $ac_n "(cached) $ac_c" 1>&6
22519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22520 ac_cpp='$CXXCPP $CPPFLAGS'
22521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22523 cross_compiling=$ac_cv_prog_cxx_cross
22525 cat > conftest.$ac_ext <<EOF
22526 #line 22527 "configure"
22527 #include "confdefs.h"
22528 #include <stdlib.h>
22533 if { (eval echo configure:22534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22535 glibcpp_cv_func_strtof_use=yes
22537 echo "configure: failed program was:" >&5
22538 cat conftest.$ac_ext >&5
22540 glibcpp_cv_func_strtof_use=no
22544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22545 ac_cpp='$CPP $CPPFLAGS'
22546 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22547 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22548 cross_compiling=$ac_cv_prog_cc_cross
22554 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22555 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22556 for ac_func in strtof
22558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22559 echo "configure:22560: checking for $ac_func" >&5
22560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22561 echo $ac_n "(cached) $ac_c" 1>&6
22563 cat > conftest.$ac_ext <<EOF
22564 #line 22565 "configure"
22565 #include "confdefs.h"
22566 /* System header to define __stub macros and hopefully few prototypes,
22567 which can conflict with char $ac_func(); below. */
22568 #include <assert.h>
22569 /* Override any gcc2 internal prototype to avoid an error. */
22570 /* We use char because int might match the return type of a gcc2
22571 builtin and then its argument prototype would still apply. */
22576 /* The GNU C library defines this for functions which it implements
22577 to always fail with ENOSYS. Some functions are actually named
22578 something starting with __ and the normal name is an alias. */
22579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22587 if { (eval echo configure:22588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22589 eval "ac_cv_func_$ac_func=yes"
22591 echo "configure: failed program was:" >&5
22592 cat conftest.$ac_ext >&5
22594 eval "ac_cv_func_$ac_func=no"
22599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22600 echo "$ac_t""yes" 1>&6
22601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22602 cat >> confdefs.h <<EOF
22603 #define $ac_tr_func 1
22607 echo "$ac_t""no" 1>&6
22613 for ac_func in drand48
22615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22616 echo "configure:22617: checking for $ac_func" >&5
22617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22618 echo $ac_n "(cached) $ac_c" 1>&6
22620 cat > conftest.$ac_ext <<EOF
22621 #line 22622 "configure"
22622 #include "confdefs.h"
22623 /* System header to define __stub macros and hopefully few prototypes,
22624 which can conflict with char $ac_func(); below. */
22625 #include <assert.h>
22626 /* Override any gcc2 internal prototype to avoid an error. */
22627 /* We use char because int might match the return type of a gcc2
22628 builtin and then its argument prototype would still apply. */
22633 /* The GNU C library defines this for functions which it implements
22634 to always fail with ENOSYS. Some functions are actually named
22635 something starting with __ and the normal name is an alias. */
22636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22644 if { (eval echo configure:22645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22646 eval "ac_cv_func_$ac_func=yes"
22648 echo "configure: failed program was:" >&5
22649 cat conftest.$ac_ext >&5
22651 eval "ac_cv_func_$ac_func=no"
22656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22657 echo "$ac_t""yes" 1>&6
22658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22659 cat >> confdefs.h <<EOF
22660 #define $ac_tr_func 1
22664 echo "$ac_t""no" 1>&6
22669 CXXFLAGS="$ac_save_CXXFLAGS"
22672 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22673 ac_save_CXXFLAGS="$CXXFLAGS"
22674 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22677 echo $ac_n "checking for isatty declaration""... $ac_c" 1>&6
22678 echo "configure:22679: checking for isatty declaration" >&5
22679 if test x${glibcpp_cv_func_isatty_use+set} != xset; then
22680 if eval "test \"`echo '$''{'glibcpp_cv_func_isatty_use'+set}'`\" = set"; then
22681 echo $ac_n "(cached) $ac_c" 1>&6
22686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22687 ac_cpp='$CXXCPP $CPPFLAGS'
22688 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22689 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22690 cross_compiling=$ac_cv_prog_cxx_cross
22692 cat > conftest.$ac_ext <<EOF
22693 #line 22694 "configure"
22694 #include "confdefs.h"
22695 #include <unistd.h>
22700 if { (eval echo configure:22701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22702 glibcpp_cv_func_isatty_use=yes
22704 echo "configure: failed program was:" >&5
22705 cat conftest.$ac_ext >&5
22707 glibcpp_cv_func_isatty_use=no
22711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22712 ac_cpp='$CPP $CPPFLAGS'
22713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22715 cross_compiling=$ac_cv_prog_cc_cross
22721 echo "$ac_t""$glibcpp_cv_func_isatty_use" 1>&6
22722 if test x$glibcpp_cv_func_isatty_use = x"yes"; then
22723 for ac_func in isatty
22725 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22726 echo "configure:22727: checking for $ac_func" >&5
22727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22728 echo $ac_n "(cached) $ac_c" 1>&6
22730 cat > conftest.$ac_ext <<EOF
22731 #line 22732 "configure"
22732 #include "confdefs.h"
22733 /* System header to define __stub macros and hopefully few prototypes,
22734 which can conflict with char $ac_func(); below. */
22735 #include <assert.h>
22736 /* Override any gcc2 internal prototype to avoid an error. */
22737 /* We use char because int might match the return type of a gcc2
22738 builtin and then its argument prototype would still apply. */
22743 /* The GNU C library defines this for functions which it implements
22744 to always fail with ENOSYS. Some functions are actually named
22745 something starting with __ and the normal name is an alias. */
22746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22754 if { (eval echo configure:22755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22756 eval "ac_cv_func_$ac_func=yes"
22758 echo "configure: failed program was:" >&5
22759 cat conftest.$ac_ext >&5
22761 eval "ac_cv_func_$ac_func=no"
22766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22767 echo "$ac_t""yes" 1>&6
22768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22769 cat >> confdefs.h <<EOF
22770 #define $ac_tr_func 1
22774 echo "$ac_t""no" 1>&6
22781 CXXFLAGS="$ac_save_CXXFLAGS"
22784 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22785 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22786 echo "configure:22787: checking for locale.h" >&5
22787 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22788 echo $ac_n "(cached) $ac_c" 1>&6
22790 cat > conftest.$ac_ext <<EOF
22791 #line 22792 "configure"
22792 #include "confdefs.h"
22793 #include <locale.h>
22795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22796 { (eval echo configure:22797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22798 if test -z "$ac_err"; then
22800 eval "ac_cv_header_$ac_safe=yes"
22803 echo "configure: failed program was:" >&5
22804 cat conftest.$ac_ext >&5
22806 eval "ac_cv_header_$ac_safe=no"
22810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22811 echo "$ac_t""yes" 1>&6
22813 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22814 echo "configure:22815: checking for LC_MESSAGES" >&5
22815 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22816 echo $ac_n "(cached) $ac_c" 1>&6
22818 cat > conftest.$ac_ext <<EOF
22819 #line 22820 "configure"
22820 #include "confdefs.h"
22821 #include <locale.h>
22826 if { (eval echo configure:22827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22828 ac_cv_val_LC_MESSAGES=yes
22830 echo "configure: failed program was:" >&5
22831 cat conftest.$ac_ext >&5
22833 ac_cv_val_LC_MESSAGES=no
22838 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22839 if test $ac_cv_val_LC_MESSAGES = yes; then
22840 cat >> confdefs.h <<\EOF
22841 #define HAVE_LC_MESSAGES 1
22847 echo "$ac_t""no" 1>&6
22852 cat > conftest.$ac_ext <<EOF
22853 #line 22854 "configure"
22854 #include "confdefs.h"
22856 #include <setjmp.h>
22859 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22862 if { (eval echo configure:22863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22864 cat >> confdefs.h <<\EOF
22865 #define HAVE_SIGSETJMP 1
22870 echo "configure: failed program was:" >&5
22871 cat conftest.$ac_ext >&5
22875 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22877 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22878 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22879 echo "configure:22880: checking for $ac_hdr" >&5
22880 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22881 echo $ac_n "(cached) $ac_c" 1>&6
22883 cat > conftest.$ac_ext <<EOF
22884 #line 22885 "configure"
22885 #include "confdefs.h"
22888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22889 { (eval echo configure:22890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22891 if test -z "$ac_err"; then
22893 eval "ac_cv_header_$ac_safe=yes"
22896 echo "configure: failed program was:" >&5
22897 cat conftest.$ac_ext >&5
22899 eval "ac_cv_header_$ac_safe=no"
22903 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22904 echo "$ac_t""yes" 1>&6
22905 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22906 cat >> confdefs.h <<EOF
22907 #define $ac_tr_hdr 1
22911 echo "$ac_t""no" 1>&6
22915 for ac_func in getpagesize
22917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22918 echo "configure:22919: checking for $ac_func" >&5
22919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22920 echo $ac_n "(cached) $ac_c" 1>&6
22922 cat > conftest.$ac_ext <<EOF
22923 #line 22924 "configure"
22924 #include "confdefs.h"
22925 /* System header to define __stub macros and hopefully few prototypes,
22926 which can conflict with char $ac_func(); below. */
22927 #include <assert.h>
22928 /* Override any gcc2 internal prototype to avoid an error. */
22929 /* We use char because int might match the return type of a gcc2
22930 builtin and then its argument prototype would still apply. */
22935 /* The GNU C library defines this for functions which it implements
22936 to always fail with ENOSYS. Some functions are actually named
22937 something starting with __ and the normal name is an alias. */
22938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22946 if { (eval echo configure:22947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22948 eval "ac_cv_func_$ac_func=yes"
22950 echo "configure: failed program was:" >&5
22951 cat conftest.$ac_ext >&5
22953 eval "ac_cv_func_$ac_func=no"
22958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22959 echo "$ac_t""yes" 1>&6
22960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22961 cat >> confdefs.h <<EOF
22962 #define $ac_tr_func 1
22966 echo "$ac_t""no" 1>&6
22970 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
22971 echo "configure:22972: checking for working mmap" >&5
22972 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
22973 echo $ac_n "(cached) $ac_c" 1>&6
22975 if test "$cross_compiling" = yes; then
22976 ac_cv_func_mmap_fixed_mapped=no
22978 cat > conftest.$ac_ext <<EOF
22979 #line 22980 "configure"
22980 #include "confdefs.h"
22982 /* Thanks to Mike Haertel and Jim Avera for this test.
22983 Here is a matrix of mmap possibilities:
22984 mmap private not fixed
22985 mmap private fixed at somewhere currently unmapped
22986 mmap private fixed at somewhere already mapped
22987 mmap shared not fixed
22988 mmap shared fixed at somewhere currently unmapped
22989 mmap shared fixed at somewhere already mapped
22990 For private mappings, we should verify that changes cannot be read()
22991 back from the file, nor mmap's back from the file at a different
22992 address. (There have been systems where private was not correctly
22993 implemented like the infamous i386 svr4.0, and systems where the
22994 VM page cache was not coherent with the filesystem buffer cache
22995 like early versions of FreeBSD and possibly contemporary NetBSD.)
22996 For shared mappings, we should conversely verify that changes get
22997 propogated back to all the places they're supposed to be.
22999 Grep wants private fixed already mapped.
23000 The main things grep needs to know about mmap are:
23001 * does it exist and is it safe to write into the mmap'd area
23002 * how to use it (BSD variants) */
23003 #include <sys/types.h>
23005 #include <sys/mman.h>
23007 #if HAVE_SYS_TYPES_H
23008 # include <sys/types.h>
23012 # include <stdlib.h>
23015 #if HAVE_SYS_STAT_H
23016 # include <sys/stat.h>
23020 # include <unistd.h>
23023 /* This mess was copied from the GNU getpagesize.h. */
23024 #ifndef HAVE_GETPAGESIZE
23026 /* Assume that all systems that can run configure have sys/param.h. */
23027 # ifndef HAVE_SYS_PARAM_H
23028 # define HAVE_SYS_PARAM_H 1
23031 # ifdef _SC_PAGESIZE
23032 # define getpagesize() sysconf(_SC_PAGESIZE)
23033 # else /* no _SC_PAGESIZE */
23034 # ifdef HAVE_SYS_PARAM_H
23035 # include <sys/param.h>
23036 # ifdef EXEC_PAGESIZE
23037 # define getpagesize() EXEC_PAGESIZE
23038 # else /* no EXEC_PAGESIZE */
23040 # define getpagesize() NBPG * CLSIZE
23043 # endif /* no CLSIZE */
23044 # else /* no NBPG */
23046 # define getpagesize() NBPC
23047 # else /* no NBPC */
23049 # define getpagesize() PAGESIZE
23050 # endif /* PAGESIZE */
23051 # endif /* no NBPC */
23052 # endif /* no NBPG */
23053 # endif /* no EXEC_PAGESIZE */
23054 # else /* no HAVE_SYS_PARAM_H */
23055 # define getpagesize() 8192 /* punt totally */
23056 # endif /* no HAVE_SYS_PARAM_H */
23057 # endif /* no _SC_PAGESIZE */
23059 #endif /* no HAVE_GETPAGESIZE */
23062 extern "C" { void *malloc(unsigned); }
23070 char *data, *data2, *data3;
23074 pagesize = getpagesize();
23077 * First, make a file with some known garbage in it.
23079 data = malloc(pagesize);
23082 for (i = 0; i < pagesize; ++i)
23083 *(data + i) = rand();
23085 fd = creat("conftestmmap", 0600);
23088 if (write(fd, data, pagesize) != pagesize)
23093 * Next, try to mmap the file at a fixed address which
23094 * already has something else allocated at it. If we can,
23095 * also make sure that we see the same garbage.
23097 fd = open("conftestmmap", O_RDWR);
23100 data2 = malloc(2 * pagesize);
23103 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23104 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23105 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23107 for (i = 0; i < pagesize; ++i)
23108 if (*(data + i) != *(data2 + i))
23112 * Finally, make sure that changes to the mapped area
23113 * do not percolate back to the file as seen by read().
23114 * (This is a bug on some variants of i386 svr4.0.)
23116 for (i = 0; i < pagesize; ++i)
23117 *(data2 + i) = *(data2 + i) + 1;
23118 data3 = malloc(pagesize);
23121 if (read(fd, data3, pagesize) != pagesize)
23123 for (i = 0; i < pagesize; ++i)
23124 if (*(data + i) != *(data3 + i))
23127 unlink("conftestmmap");
23132 if { (eval echo configure:23133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23134 ac_cv_func_mmap_fixed_mapped=yes
23136 echo "configure: failed program was:" >&5
23137 cat conftest.$ac_ext >&5
23139 ac_cv_func_mmap_fixed_mapped=no
23146 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23147 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23148 cat >> confdefs.h <<\EOF
23149 #define HAVE_MMAP 1
23155 # Establish limits on memory usage during 'make check'
23158 setrlimit_have_headers=yes
23159 for ac_hdr in unistd.h sys/time.h sys/resource.h
23161 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23163 echo "configure:23164: checking for $ac_hdr" >&5
23164 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23165 echo $ac_n "(cached) $ac_c" 1>&6
23167 cat > conftest.$ac_ext <<EOF
23168 #line 23169 "configure"
23169 #include "confdefs.h"
23172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23173 { (eval echo configure:23174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23175 if test -z "$ac_err"; then
23177 eval "ac_cv_header_$ac_safe=yes"
23180 echo "configure: failed program was:" >&5
23181 cat conftest.$ac_ext >&5
23183 eval "ac_cv_header_$ac_safe=no"
23187 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23188 echo "$ac_t""yes" 1>&6
23189 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23190 cat >> confdefs.h <<EOF
23191 #define $ac_tr_hdr 1
23195 echo "$ac_t""no" 1>&6
23196 setrlimit_have_headers=no
23200 # If don't have the headers, then we can't run the tests now, and we
23201 # won't be seeing any of these during testsuite compilation.
23202 if test $setrlimit_have_headers = yes; then
23203 # Can't do these in a loop, else the resulting syntax is wrong.
23205 cat > conftest.$ac_ext <<EOF
23206 #line 23207 "configure"
23207 #include "confdefs.h"
23208 #include <unistd.h>
23209 #include <sys/time.h>
23210 #include <sys/resource.h>
23213 int f = RLIMIT_DATA ;
23216 if { (eval echo configure:23217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23220 echo "configure: failed program was:" >&5
23221 cat conftest.$ac_ext >&5
23226 cat >> confdefs.h <<EOF
23227 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23232 cat > conftest.$ac_ext <<EOF
23233 #line 23234 "configure"
23234 #include "confdefs.h"
23235 #include <unistd.h>
23236 #include <sys/time.h>
23237 #include <sys/resource.h>
23240 int f = RLIMIT_RSS ;
23243 if { (eval echo configure:23244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23247 echo "configure: failed program was:" >&5
23248 cat conftest.$ac_ext >&5
23253 cat >> confdefs.h <<EOF
23254 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23259 cat > conftest.$ac_ext <<EOF
23260 #line 23261 "configure"
23261 #include "confdefs.h"
23262 #include <unistd.h>
23263 #include <sys/time.h>
23264 #include <sys/resource.h>
23267 int f = RLIMIT_VMEM ;
23270 if { (eval echo configure:23271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23274 echo "configure: failed program was:" >&5
23275 cat conftest.$ac_ext >&5
23280 cat >> confdefs.h <<EOF
23281 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23286 cat > conftest.$ac_ext <<EOF
23287 #line 23288 "configure"
23288 #include "confdefs.h"
23289 #include <unistd.h>
23290 #include <sys/time.h>
23291 #include <sys/resource.h>
23294 int f = RLIMIT_AS ;
23297 if { (eval echo configure:23298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23301 echo "configure: failed program was:" >&5
23302 cat conftest.$ac_ext >&5
23307 cat >> confdefs.h <<EOF
23308 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23313 # Check for rlimit, setrlimit.
23314 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23315 echo $ac_n "(cached) $ac_c" 1>&6
23318 cat > conftest.$ac_ext <<EOF
23319 #line 23320 "configure"
23320 #include "confdefs.h"
23321 #include <unistd.h>
23322 #include <sys/time.h>
23323 #include <sys/resource.h>
23326 struct rlimit r; setrlimit(0, &r);
23329 if { (eval echo configure:23330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23333 echo "configure: failed program was:" >&5
23334 cat conftest.$ac_ext >&5
23344 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23345 echo "configure:23346: checking for testsuite memory limit support" >&5
23346 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23348 cat >> confdefs.h <<\EOF
23349 #define _GLIBCPP_MEM_LIMITS 1
23355 echo "$ac_t""$ac_mem_limits" 1>&6
23358 # Look for setenv, so that extended locale tests can be performed.
23360 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23361 echo "configure:23362: checking for setenv declaration" >&5
23362 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23363 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23364 echo $ac_n "(cached) $ac_c" 1>&6
23369 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23370 ac_cpp='$CXXCPP $CPPFLAGS'
23371 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23372 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23373 cross_compiling=$ac_cv_prog_cxx_cross
23375 cat > conftest.$ac_ext <<EOF
23376 #line 23377 "configure"
23377 #include "confdefs.h"
23378 #include <stdlib.h>
23383 if { (eval echo configure:23384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23385 glibcpp_cv_func_setenv_use=yes
23387 echo "configure: failed program was:" >&5
23388 cat conftest.$ac_ext >&5
23390 glibcpp_cv_func_setenv_use=no
23394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23395 ac_cpp='$CPP $CPPFLAGS'
23396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23398 cross_compiling=$ac_cv_prog_cc_cross
23404 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23405 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23406 for ac_func in setenv
23408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23409 echo "configure:23410: checking for $ac_func" >&5
23410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23411 echo $ac_n "(cached) $ac_c" 1>&6
23413 cat > conftest.$ac_ext <<EOF
23414 #line 23415 "configure"
23415 #include "confdefs.h"
23416 /* System header to define __stub macros and hopefully few prototypes,
23417 which can conflict with char $ac_func(); below. */
23418 #include <assert.h>
23419 /* Override any gcc2 internal prototype to avoid an error. */
23420 /* We use char because int might match the return type of a gcc2
23421 builtin and then its argument prototype would still apply. */
23426 /* The GNU C library defines this for functions which it implements
23427 to always fail with ENOSYS. Some functions are actually named
23428 something starting with __ and the normal name is an alias. */
23429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23437 if { (eval echo configure:23438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23439 eval "ac_cv_func_$ac_func=yes"
23441 echo "configure: failed program was:" >&5
23442 cat conftest.$ac_ext >&5
23444 eval "ac_cv_func_$ac_func=no"
23449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23450 echo "$ac_t""yes" 1>&6
23451 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23452 cat >> confdefs.h <<EOF
23453 #define $ac_tr_func 1
23457 echo "$ac_t""no" 1>&6
23464 # Export file names for ABI checking.
23465 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23468 # Don't do ABI checking unless native.
23471 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
23472 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23473 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23475 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23476 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23481 # This depends on the possibly-skipped linker test above.
23482 # Check whether --enable-symvers or --disable-symvers was given.
23483 if test "${enable_symvers+set}" = set; then
23484 enableval="$enable_symvers"
23485 case "$enableval" in
23486 yes) enable_symvers=yes ;;
23487 no) enable_symvers=no ;;
23488 # other names here, just as sanity checks
23489 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23490 gnu) enable_symvers=$enableval ;;
23491 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23497 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23498 # don't know enough about $LD to do tricks...
23499 if test x$enable_shared = xno ||
23501 test x$glibcpp_gnu_ld_version = x; then
23505 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23506 if test $enable_symvers != no; then
23507 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23508 echo "configure:23509: checking for shared libgcc" >&5
23509 ac_save_CFLAGS="$CFLAGS"
23511 cat > conftest.$ac_ext <<EOF
23512 #line 23513 "configure"
23513 #include "confdefs.h"
23519 if { (eval echo configure:23520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23521 glibcpp_shared_libgcc=yes
23523 echo "configure: failed program was:" >&5
23524 cat conftest.$ac_ext >&5
23526 glibcpp_shared_libgcc=no
23529 CFLAGS="$ac_save_CFLAGS"
23530 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23533 # For GNU ld, we need at least this version. It's 2.12 in the same format
23534 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23535 glibcpp_min_gnu_ld_version=21200
23537 # Check to see if unspecified "yes" value can win, given results
23539 if test $enable_symvers = yes ; then
23540 if test $with_gnu_ld = yes &&
23541 test $glibcpp_shared_libgcc = yes ;
23543 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23546 ac_test_CFLAGS="${CFLAGS+set}"
23547 ac_save_CFLAGS="$CFLAGS"
23548 CFLAGS='-shared -Wl,--version-script,conftest.map'
23551 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23553 cat > conftest.$ac_ext <<EOF
23554 #line 23555 "configure"
23555 #include "confdefs.h"
23561 if { (eval echo configure:23562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23565 echo "configure: failed program was:" >&5
23566 cat conftest.$ac_ext >&5
23569 if test "$ac_test_CFLAGS" = set; then
23570 CFLAGS="$ac_save_CFLAGS"
23572 # this is the suspicious part
23578 # just fail for now
23583 case $enable_symvers in
23585 SYMVER_MAP=config/linker-map.dummy
23588 SYMVER_MAP=config/linker-map.gnu
23589 cat >> confdefs.h <<\EOF
23590 #define _GLIBCPP_SYMVER 1
23599 if test $enable_symvers != no; then
23600 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23601 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23603 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23604 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23606 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23607 echo "configure:23608: checking versioning on shared library symbols" >&5
23608 echo "$ac_t""$enable_symvers" 1>&6
23611 # Propagate the target-specific source directories through the build chain.
23612 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23613 # uses it, and it only gets used in this file.)
23614 OS_INC_SRCDIR=config/${os_include_dir}
23615 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23619 # Set up cross-compile flags
23622 if test "$CANADIAN" = yes; then
23630 cat > confcache <<\EOF
23631 # This file is a shell script that caches the results of configure
23632 # tests run on this system so they can be shared between configure
23633 # scripts and configure runs. It is not useful on other systems.
23634 # If it contains results you don't want to keep, you may remove or edit it.
23636 # By default, configure uses ./config.cache as the cache file,
23637 # creating it if it does not exist already. You can give configure
23638 # the --cache-file=FILE option to use a different cache file; that is
23639 # what configure does when it calls configure scripts in
23640 # subdirectories, so they share the cache.
23641 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23642 # config.status only pays attention to the cache file if you give it the
23643 # --recheck option to rerun configure.
23646 # The following way of writing the cache mishandles newlines in values,
23647 # but we know of no workaround that is simple, portable, and efficient.
23648 # So, don't put newlines in cache variables' values.
23649 # Ultrix sh set writes to stderr and can't be redirected directly,
23650 # and sets the high bit in the cache file unless we assign to the vars.
23652 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23654 # `set' does not quote correctly, so add quotes (double-quote substitution
23655 # turns \\\\ into \\, and sed turns \\ into \).
23657 -e "s/'/'\\\\''/g" \
23658 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23661 # `set' quotes correctly as required by POSIX, so do not add quotes.
23662 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23665 if cmp -s $cache_file confcache; then
23668 if test -w $cache_file; then
23669 echo "updating cache $cache_file"
23670 cat confcache > $cache_file
23672 echo "not updating unwritable cache $cache_file"
23678 if test "${multilib}" = "yes"; then
23679 multilib_arg="--enable-multilib"
23684 # Export all the install information
23686 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23687 # exported correctly in GLIBCPP_CONFIGURE.
23688 glibcpp_toolexecdir=no
23689 glibcpp_toolexeclibdir=no
23690 glibcpp_prefixdir=${prefix}
23692 # Process the option --with-gxx-include-dir=<path to include-files directory>
23693 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23694 echo "configure:23695: checking for --with-gxx-include-dir" >&5
23695 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23696 if test "${with_gxx_include_dir+set}" = set; then
23697 withval="$with_gxx_include_dir"
23698 case "${withval}" in
23700 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23707 gxx_include_dir=${withval}
23714 echo "$ac_t""$gxx_include_dir" 1>&6
23716 # Process the option "--enable-version-specific-runtime-libs"
23717 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23718 echo "configure:23719: checking for --enable-version-specific-runtime-libs" >&5
23719 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23720 if test "${enable_version_specific_runtime_libs+set}" = set; then
23721 enableval="$enable_version_specific_runtime_libs"
23722 case "$enableval" in
23723 yes) version_specific_libs=yes ;;
23724 no) version_specific_libs=no ;;
23725 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23728 version_specific_libs=no
23730 # Option set, now we can test it.
23731 echo "$ac_t""$version_specific_libs" 1>&6
23733 # Default case for install directory for include files.
23734 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23735 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23738 # Version-specific runtime libs processing.
23739 if test $version_specific_libs = yes; then
23740 # Need the gcc compiler version to know where to install libraries
23741 # and header files if --enable-version-specific-runtime-libs option
23743 if test x"$gxx_include_dir" = x"no"; then
23744 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23746 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23747 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23750 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23751 # Install a library built with a cross compiler in tooldir, not libdir.
23752 if test x"$glibcpp_toolexecdir" = x"no"; then
23753 if test -n "$with_cross_host" &&
23754 test x"$with_cross_host" != x"no"; then
23755 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23756 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
23758 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23759 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
23763 echo $ac_n "checking for install location""... $ac_c" 1>&6
23764 echo "configure:23765: checking for install location" >&5
23765 echo "$ac_t""$gxx_include_dir" 1>&6
23773 # Export all the include and flag information to Makefiles.
23775 # Root level of the build directory include sources.
23776 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23778 # Passed down for canadian crosses.
23779 if test x"$CANADIAN" = xyes; then
23780 TOPLEVEL_INCLUDES='-I$(includedir)'
23783 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23785 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23787 if test x"$need_libio" = xyes; then
23788 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23792 # Now, export this to all the little Makefiles....
23799 # Optimization flags that are probably a good idea for thrill-seekers. Just
23800 # uncomment the lines below and make, everything else is ready to go...
23801 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23805 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23809 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23810 grep "enable shared" > /dev/null; then
23811 LIBSUPCXX_PICFLAGS=-prefer-pic
23813 LIBSUPCXX_PICFLAGS=
23817 # Generate the various Makefiles, include files, and scripts.
23818 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23819 # and libsupc++/Makefile.am so that multilib installs will end up
23820 # installed in the correct place. To work around this not being passed
23821 # down from config-ml.in -> top_srcdir/Makefile.am ->
23822 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23824 cat > confcache <<\EOF
23825 # This file is a shell script that caches the results of configure
23826 # tests run on this system so they can be shared between configure
23827 # scripts and configure runs. It is not useful on other systems.
23828 # If it contains results you don't want to keep, you may remove or edit it.
23830 # By default, configure uses ./config.cache as the cache file,
23831 # creating it if it does not exist already. You can give configure
23832 # the --cache-file=FILE option to use a different cache file; that is
23833 # what configure does when it calls configure scripts in
23834 # subdirectories, so they share the cache.
23835 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23836 # config.status only pays attention to the cache file if you give it the
23837 # --recheck option to rerun configure.
23840 # The following way of writing the cache mishandles newlines in values,
23841 # but we know of no workaround that is simple, portable, and efficient.
23842 # So, don't put newlines in cache variables' values.
23843 # Ultrix sh set writes to stderr and can't be redirected directly,
23844 # and sets the high bit in the cache file unless we assign to the vars.
23846 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23848 # `set' does not quote correctly, so add quotes (double-quote substitution
23849 # turns \\\\ into \\, and sed turns \\ into \).
23851 -e "s/'/'\\\\''/g" \
23852 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23855 # `set' quotes correctly as required by POSIX, so do not add quotes.
23856 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23859 if cmp -s $cache_file confcache; then
23862 if test -w $cache_file; then
23863 echo "updating cache $cache_file"
23864 cat confcache > $cache_file
23866 echo "not updating unwritable cache $cache_file"
23871 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23873 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23874 # Let make expand exec_prefix.
23875 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23877 # Any assignment to VPATH causes Sun make to only execute
23878 # the first set of double-colon rules, so remove it if not needed.
23879 # If there is a colon in the path, we need to keep it.
23880 if test "x$srcdir" = x.; then
23881 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23884 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23886 DEFS=-DHAVE_CONFIG_H
23888 # Without the "./", some shells look in PATH for config.status.
23889 : ${CONFIG_STATUS=./config.status}
23891 echo creating $CONFIG_STATUS
23892 rm -f $CONFIG_STATUS
23893 cat > $CONFIG_STATUS <<EOF
23895 # Generated automatically by configure.
23896 # Run this file to recreate the current configuration.
23897 # This directory was configured as follows,
23898 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23900 # $0 $ac_configure_args
23902 # Compiler output produced by configure, useful for debugging
23903 # configure, is in ./config.log if it exists.
23905 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23908 case "\$ac_option" in
23909 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23910 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23911 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23912 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23913 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23915 -help | --help | --hel | --he | --h)
23916 echo "\$ac_cs_usage"; exit 0 ;;
23917 *) echo "\$ac_cs_usage"; exit 1 ;;
23921 ac_given_srcdir=$srcdir
23922 ac_given_INSTALL="$INSTALL"
23924 trap 'rm -fr `echo "Makefile \
23925 include/Makefile src/Makefile \
23926 libmath/Makefile libio/Makefile libsupc++/Makefile \
23927 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23929 cat >> $CONFIG_STATUS <<EOF
23931 # Protect against being on the right side of a sed subst in config.status.
23932 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23933 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
23937 s%@CFLAGS@%$CFLAGS%g
23938 s%@CPPFLAGS@%$CPPFLAGS%g
23939 s%@CXXFLAGS@%$CXXFLAGS%g
23940 s%@FFLAGS@%$FFLAGS%g
23942 s%@LDFLAGS@%$LDFLAGS%g
23944 s%@exec_prefix@%$exec_prefix%g
23945 s%@prefix@%$prefix%g
23946 s%@program_transform_name@%$program_transform_name%g
23947 s%@bindir@%$bindir%g
23948 s%@sbindir@%$sbindir%g
23949 s%@libexecdir@%$libexecdir%g
23950 s%@datadir@%$datadir%g
23951 s%@sysconfdir@%$sysconfdir%g
23952 s%@sharedstatedir@%$sharedstatedir%g
23953 s%@localstatedir@%$localstatedir%g
23954 s%@libdir@%$libdir%g
23955 s%@includedir@%$includedir%g
23956 s%@oldincludedir@%$oldincludedir%g
23957 s%@infodir@%$infodir%g
23958 s%@mandir@%$mandir%g
23959 s%@PACKAGE@%$PACKAGE%g
23960 s%@libtool_VERSION@%$libtool_VERSION%g
23961 s%@toplevel_srcdir@%$toplevel_srcdir%g
23963 s%@host_alias@%$host_alias%g
23964 s%@host_cpu@%$host_cpu%g
23965 s%@host_vendor@%$host_vendor%g
23966 s%@host_os@%$host_os%g
23967 s%@target@%$target%g
23968 s%@target_alias@%$target_alias%g
23969 s%@target_cpu@%$target_cpu%g
23970 s%@target_vendor@%$target_vendor%g
23971 s%@target_os@%$target_os%g
23973 s%@build_alias@%$build_alias%g
23974 s%@build_cpu@%$build_cpu%g
23975 s%@build_vendor@%$build_vendor%g
23976 s%@build_os@%$build_os%g
23977 s%@glibcpp_builddir@%$glibcpp_builddir%g
23978 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
23981 s%@glibcpp_basedir@%$glibcpp_basedir%g
23983 s%@glibcpp_CXX@%$glibcpp_CXX%g
23986 s%@RANLIB@%$RANLIB%g
23987 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
23988 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
23989 s%@INSTALL_DATA@%$INSTALL_DATA%g
23990 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
23991 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
23993 s%@EXEEXT@%$EXEEXT%g
23994 s%@VERSION@%$VERSION%g
23995 s%@ACLOCAL@%$ACLOCAL%g
23996 s%@AUTOCONF@%$AUTOCONF%g
23997 s%@AUTOMAKE@%$AUTOMAKE%g
23998 s%@AUTOHEADER@%$AUTOHEADER%g
23999 s%@MAKEINFO@%$MAKEINFO%g
24000 s%@SET_MAKE@%$SET_MAKE%g
24001 s%@OBJEXT@%$OBJEXT%g
24003 s%@LIBTOOL@%$LIBTOOL%g
24004 s%@CXXCPP@%$CXXCPP%g
24005 s%@enable_shared@%$enable_shared%g
24006 s%@enable_static@%$enable_static%g
24007 s%@ifGNUmake@%$ifGNUmake%g
24009 s%@CSTDIO_H@%$CSTDIO_H%g
24010 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24011 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24012 s%@CCODECVT_C@%$CCODECVT_C%g
24013 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24014 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24015 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24016 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24017 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24018 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24019 s%@libio_la@%$libio_la%g
24020 s%@check_msgfmt@%$check_msgfmt%g
24021 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24022 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24023 s%@glibcpp_localedir@%$glibcpp_localedir%g
24024 s%@USE_NLS@%$USE_NLS%g
24025 s%@CLOCALE_H@%$CLOCALE_H%g
24026 s%@CCODECVT_H@%$CCODECVT_H%g
24027 s%@CMESSAGES_H@%$CMESSAGES_H%g
24028 s%@CCODECVT_CC@%$CCODECVT_CC%g
24029 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24030 s%@CCTYPE_CC@%$CCTYPE_CC%g
24031 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24032 s%@CMONEY_CC@%$CMONEY_CC%g
24033 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24034 s%@CTIME_CC@%$CTIME_CC%g
24035 s%@CLOCALE_CC@%$CLOCALE_CC%g
24036 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24037 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24038 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24039 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24040 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24041 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24042 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24043 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24044 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24045 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24046 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24047 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24048 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24049 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24050 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24051 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24052 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24053 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24054 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24055 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24056 s%@WERROR@%$WERROR%g
24057 s%@baseline_file@%$baseline_file%g
24058 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24059 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24060 s%@SYMVER_MAP@%$SYMVER_MAP%g
24061 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24062 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24063 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24064 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24065 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24066 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24067 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24068 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24069 s%@gxx_include_dir@%$gxx_include_dir%g
24070 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24071 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24072 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24073 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24074 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24075 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24076 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24077 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24078 s%@WARN_FLAGS@%$WARN_FLAGS%g
24079 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24084 cat >> $CONFIG_STATUS <<\EOF
24086 # Split the substitutions into bite-sized pieces for seds with
24087 # small command number limits, like on Digital OSF/1 and HP-UX.
24088 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24089 ac_file=1 # Number of current file.
24090 ac_beg=1 # First line for current file.
24091 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24094 while $ac_more_lines; do
24095 if test $ac_beg -gt 1; then
24096 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
24098 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
24100 if test ! -s conftest.s$ac_file; then
24101 ac_more_lines=false
24102 rm -f conftest.s$ac_file
24104 if test -z "$ac_sed_cmds"; then
24105 ac_sed_cmds="sed -f conftest.s$ac_file"
24107 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
24109 ac_file=`expr $ac_file + 1`
24111 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24114 if test -z "$ac_sed_cmds"; then
24119 cat >> $CONFIG_STATUS <<EOF
24121 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24122 include/Makefile src/Makefile \
24123 libmath/Makefile libio/Makefile libsupc++/Makefile \
24124 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
24126 cat >> $CONFIG_STATUS <<\EOF
24127 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24128 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24130 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24131 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24132 *) ac_file_in="${ac_file}.in" ;;
24135 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24137 # Remove last slash and all that follows it. Not all systems have dirname.
24138 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24139 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24140 # The file is in a subdirectory.
24141 test ! -d "$ac_dir" && mkdir "$ac_dir"
24142 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24143 # A "../" for each directory in $ac_dir_suffix.
24144 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24146 ac_dir_suffix= ac_dots=
24149 case "$ac_given_srcdir" in
24151 if test -z "$ac_dots"; then top_srcdir=.
24152 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24153 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24154 *) # Relative path.
24155 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24156 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24159 case "$ac_given_INSTALL" in
24160 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24161 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24164 echo creating "$ac_file"
24166 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24168 *Makefile*) ac_comsub="1i\\
24169 # $configure_input" ;;
24173 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24175 s%@configure_input@%$configure_input%g
24176 s%@srcdir@%$srcdir%g
24177 s%@top_srcdir@%$top_srcdir%g
24178 s%@INSTALL@%$INSTALL%g
24179 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24183 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24184 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24186 # ac_d sets the value in "#define NAME VALUE" lines.
24187 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24188 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24191 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24192 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24193 ac_uB='\([ ]\)%\1#\2define\3'
24196 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24197 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24198 ac_eB='$%\1#\2define\3'
24202 if test "${CONFIG_HEADERS+set}" != set; then
24204 cat >> $CONFIG_STATUS <<EOF
24205 CONFIG_HEADERS="config.h"
24207 cat >> $CONFIG_STATUS <<\EOF
24209 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24210 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24212 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24213 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24214 *) ac_file_in="${ac_file}.in" ;;
24217 echo creating $ac_file
24219 rm -f conftest.frag conftest.in conftest.out
24220 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24221 cat $ac_file_inputs > conftest.in
24225 # Transform confdefs.h into a sed script conftest.vals that substitutes
24226 # the proper values into config.h.in to produce config.h. And first:
24227 # Protect against being on the right side of a sed subst in config.status.
24228 # Protect against being in an unquoted here document in config.status.
24229 rm -f conftest.vals
24230 cat > conftest.hdr <<\EOF
24233 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24237 sed -n -f conftest.hdr confdefs.h > conftest.vals
24240 # This sed command replaces #undef with comments. This is necessary, for
24241 # example, in the case of _POSIX_SOURCE, which is predefined and required
24242 # on some systems where configure will not decide to define it.
24243 cat >> conftest.vals <<\EOF
24244 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24247 # Break up conftest.vals because some shells have a limit on
24248 # the size of here documents, and old seds have small limits too.
24250 rm -f conftest.tail
24253 ac_lines=`grep -c . conftest.vals`
24254 # grep -c gives empty output for an empty file on some AIX systems.
24255 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24256 # Write a limited-size here document to conftest.frag.
24257 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24258 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24260 sed -f conftest.frag conftest.in > conftest.out
24262 mv conftest.out conftest.in
24263 ' >> $CONFIG_STATUS
24264 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24265 rm -f conftest.vals
24266 mv conftest.tail conftest.vals
24268 rm -f conftest.vals
24270 cat >> $CONFIG_STATUS <<\EOF
24271 rm -f conftest.frag conftest.h
24272 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24273 cat conftest.in >> conftest.h
24275 if cmp -s $ac_file conftest.h 2>/dev/null; then
24276 echo "$ac_file is unchanged"
24279 # Remove last slash and all that follows it. Not all systems have dirname.
24280 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24281 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24282 # The file is in a subdirectory.
24283 test ! -d "$ac_dir" && mkdir "$ac_dir"
24286 mv conftest.h $ac_file
24291 cat >> $CONFIG_STATUS <<EOF
24296 with_target_subdir=${with_target_subdir}
24297 with_build_subdir=${with_build_subdir}
24298 with_multisubdir=${with_multisubdir}
24299 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24300 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24301 glibcpp_basedir=${glibcpp_basedir}
24306 cat >> $CONFIG_STATUS <<\EOF
24307 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24308 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24309 if test -n "$CONFIG_FILES"; then
24310 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24311 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24312 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24313 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24314 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24318 chmod +x testsuite_flags
24322 chmod +x $CONFIG_STATUS
24323 rm -fr confdefs* $ac_clean_files
24324 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24328 # Sanity checking & User-visible messages.
24329 # Checks down here, otherwise they get scrolled off before
24330 # the user will notice.
24332 # Trying to get more people to read documentation. Possibly remove
24333 # check and warn all the time. There is no "informational" AC_MSG_
24334 # macro, so these are going to be printed even when --quiet/--silent
24336 if test ! -f stamp-sanity-warned; then
24337 touch stamp-sanity-warned
24339 echo "Please make certain that you read the installation information here:"
24340 echo " faster => ${srcdir}/docs/html/install.html"
24341 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24343 echo "and the configuration information here:"
24344 echo " faster => ${srcdir}/docs/html/configopts.html"
24345 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24347 echo "before proceeding with ${_cv_gnu_make_command}."