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-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-nls use Native Language Support (default)"
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-cheaders construct "C" header files for g++ [default=c_std]"
57 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
60 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
62 --enable-libunwind-exceptions force use of libunwind for exceptions"
64 --enable-concept-checks use Boost-derived template checks [default=no]"
66 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
68 --with-gxx-include-dir the installation directory for include files"
70 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
72 # Initialize some variables set by options.
73 # The variables have the same names as the options, with
74 # dashes changed to underlines.
76 cache_file=./config.cache
85 program_transform_name=s,x,x,
93 bindir='${exec_prefix}/bin'
94 sbindir='${exec_prefix}/sbin'
95 libexecdir='${exec_prefix}/libexec'
96 datadir='${prefix}/share'
97 sysconfdir='${prefix}/etc'
98 sharedstatedir='${prefix}/com'
99 localstatedir='${prefix}/var'
100 libdir='${exec_prefix}/lib'
101 includedir='${prefix}/include'
102 oldincludedir='/usr/include'
103 infodir='${prefix}/info'
104 mandir='${prefix}/man'
106 # Initialize some other variables.
109 SHELL=${CONFIG_SHELL-/bin/sh}
110 # Maximum number of lines to put in a shell here document.
117 # If the previous option needs an argument, assign it.
118 if test -n "$ac_prev"; then
119 eval "$ac_prev=\$ac_option"
125 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
129 # Accept the important Cygnus configure options, so we can diagnose typos.
133 -bindir | --bindir | --bindi | --bind | --bin | --bi)
135 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
136 bindir="$ac_optarg" ;;
138 -build | --build | --buil | --bui | --bu)
140 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
141 build="$ac_optarg" ;;
143 -cache-file | --cache-file | --cache-fil | --cache-fi \
144 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
145 ac_prev=cache_file ;;
146 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
147 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
148 cache_file="$ac_optarg" ;;
150 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
152 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
154 datadir="$ac_optarg" ;;
156 -disable-* | --disable-*)
157 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
158 # Reject names that are not valid shell variable names.
159 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
160 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
162 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
163 eval "enable_${ac_feature}=no" ;;
165 -enable-* | --enable-*)
166 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
167 # Reject names that are not valid shell variable names.
168 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
169 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
171 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
176 eval "enable_${ac_feature}='$ac_optarg'" ;;
178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
180 | --exec | --exe | --ex)
181 ac_prev=exec_prefix ;;
182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
184 | --exec=* | --exe=* | --ex=*)
185 exec_prefix="$ac_optarg" ;;
187 -gas | --gas | --ga | --g)
188 # Obsolete; use --with-gas.
191 -help | --help | --hel | --he)
192 # Omit some internal or obsolete options to make the list less imposing.
193 # This message is too long to be a string in the A/UX 3.1 sh.
195 Usage: configure [options] [host]
196 Options: [defaults in brackets after descriptions]
198 --cache-file=FILE cache test results in FILE
199 --help print this message
200 --no-create do not create output files
201 --quiet, --silent do not print \`checking...' messages
202 --version print the version of autoconf that created configure
203 Directory and file names:
204 --prefix=PREFIX install architecture-independent files in PREFIX
206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
208 --bindir=DIR user executables in DIR [EPREFIX/bin]
209 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
210 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
211 --datadir=DIR read-only architecture-independent data in DIR
213 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
214 --sharedstatedir=DIR modifiable architecture-independent data in DIR
216 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
217 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
218 --includedir=DIR C header files in DIR [PREFIX/include]
219 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
220 --infodir=DIR info documentation in DIR [PREFIX/info]
221 --mandir=DIR man documentation in DIR [PREFIX/man]
222 --srcdir=DIR find the sources in DIR [configure dir or ..]
223 --program-prefix=PREFIX prepend PREFIX to installed program names
224 --program-suffix=SUFFIX append SUFFIX to installed program names
225 --program-transform-name=PROGRAM
226 run sed PROGRAM on installed program names
230 --build=BUILD configure for building on BUILD [BUILD=HOST]
231 --host=HOST configure for HOST [guessed]
232 --target=TARGET configure for TARGET [TARGET=HOST]
233 Features and packages:
234 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
235 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
236 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
237 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
238 --x-includes=DIR X include files are in DIR
239 --x-libraries=DIR X library files are in DIR
241 if test -n "$ac_help"; then
242 echo "--enable and --with options recognized:$ac_help"
246 -host | --host | --hos | --ho)
248 -host=* | --host=* | --hos=* | --ho=*)
251 -includedir | --includedir | --includedi | --included | --include \
252 | --includ | --inclu | --incl | --inc)
253 ac_prev=includedir ;;
254 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
255 | --includ=* | --inclu=* | --incl=* | --inc=*)
256 includedir="$ac_optarg" ;;
258 -infodir | --infodir | --infodi | --infod | --info | --inf)
260 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
261 infodir="$ac_optarg" ;;
263 -libdir | --libdir | --libdi | --libd)
265 -libdir=* | --libdir=* | --libdi=* | --libd=*)
266 libdir="$ac_optarg" ;;
268 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
269 | --libexe | --libex | --libe)
270 ac_prev=libexecdir ;;
271 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
272 | --libexe=* | --libex=* | --libe=*)
273 libexecdir="$ac_optarg" ;;
275 -localstatedir | --localstatedir | --localstatedi | --localstated \
276 | --localstate | --localstat | --localsta | --localst \
277 | --locals | --local | --loca | --loc | --lo)
278 ac_prev=localstatedir ;;
279 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
280 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
281 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
282 localstatedir="$ac_optarg" ;;
284 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
286 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
287 mandir="$ac_optarg" ;;
290 # Obsolete; use --without-fp.
293 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
297 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
298 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
301 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
302 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
303 | --oldin | --oldi | --old | --ol | --o)
304 ac_prev=oldincludedir ;;
305 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
306 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
307 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
308 oldincludedir="$ac_optarg" ;;
310 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
312 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
313 prefix="$ac_optarg" ;;
315 -program-prefix | --program-prefix | --program-prefi | --program-pref \
316 | --program-pre | --program-pr | --program-p)
317 ac_prev=program_prefix ;;
318 -program-prefix=* | --program-prefix=* | --program-prefi=* \
319 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
320 program_prefix="$ac_optarg" ;;
322 -program-suffix | --program-suffix | --program-suffi | --program-suff \
323 | --program-suf | --program-su | --program-s)
324 ac_prev=program_suffix ;;
325 -program-suffix=* | --program-suffix=* | --program-suffi=* \
326 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
327 program_suffix="$ac_optarg" ;;
329 -program-transform-name | --program-transform-name \
330 | --program-transform-nam | --program-transform-na \
331 | --program-transform-n | --program-transform- \
332 | --program-transform | --program-transfor \
333 | --program-transfo | --program-transf \
334 | --program-trans | --program-tran \
335 | --progr-tra | --program-tr | --program-t)
336 ac_prev=program_transform_name ;;
337 -program-transform-name=* | --program-transform-name=* \
338 | --program-transform-nam=* | --program-transform-na=* \
339 | --program-transform-n=* | --program-transform-=* \
340 | --program-transform=* | --program-transfor=* \
341 | --program-transfo=* | --program-transf=* \
342 | --program-trans=* | --program-tran=* \
343 | --progr-tra=* | --program-tr=* | --program-t=*)
344 program_transform_name="$ac_optarg" ;;
346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
347 | -silent | --silent | --silen | --sile | --sil)
350 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
352 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
354 sbindir="$ac_optarg" ;;
356 -sharedstatedir | --sharedstatedir | --sharedstatedi \
357 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
358 | --sharedst | --shareds | --shared | --share | --shar \
360 ac_prev=sharedstatedir ;;
361 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
362 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
363 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
365 sharedstatedir="$ac_optarg" ;;
367 -site | --site | --sit)
369 -site=* | --site=* | --sit=*)
372 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
374 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
375 srcdir="$ac_optarg" ;;
377 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
378 | --syscon | --sysco | --sysc | --sys | --sy)
379 ac_prev=sysconfdir ;;
380 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
381 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
382 sysconfdir="$ac_optarg" ;;
384 -target | --target | --targe | --targ | --tar | --ta | --t)
386 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
387 target="$ac_optarg" ;;
389 -v | -verbose | --verbose | --verbos | --verbo | --verb)
392 -version | --version | --versio | --versi | --vers)
393 echo "configure generated by autoconf version 2.13"
397 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
398 # Reject names that are not valid shell variable names.
399 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
400 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
402 ac_package=`echo $ac_package| sed 's/-/_/g'`
407 eval "with_${ac_package}='$ac_optarg'" ;;
409 -without-* | --without-*)
410 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
411 # Reject names that are not valid shell variable names.
412 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
413 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
415 ac_package=`echo $ac_package| sed 's/-/_/g'`
416 eval "with_${ac_package}=no" ;;
419 # Obsolete; use --with-x.
422 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
423 | --x-incl | --x-inc | --x-in | --x-i)
424 ac_prev=x_includes ;;
425 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
426 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
427 x_includes="$ac_optarg" ;;
429 -x-libraries | --x-libraries | --x-librarie | --x-librari \
430 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
431 ac_prev=x_libraries ;;
432 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
433 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
434 x_libraries="$ac_optarg" ;;
436 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
440 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
441 echo "configure: warning: $ac_option: invalid host type" 1>&2
443 if test "x$nonopt" != xNONE; then
444 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
452 if test -n "$ac_prev"; then
453 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
456 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
458 # File descriptor usage:
461 # 2 errors and warnings
462 # 3 some systems may open it to /dev/tty
463 # 4 used on the Kubota Titan
464 # 6 checking for... messages and results
465 # 5 compiler messages saved in config.log
466 if test "$silent" = yes; then
474 This file contains any messages produced by compilers while
475 running configure, to aid debugging if configure makes a mistake.
478 # Strip out --no-create and --no-recursion so they do not pile up.
479 # Also quote any args containing shell metacharacters.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c) ;;
486 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
487 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
488 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
489 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
490 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
495 # Only set these to C if already set. These must not be set unconditionally
496 # because not all systems understand e.g. LANG=C (notably SCO).
497 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
498 # Non-C LC_CTYPE values break the ctype check.
499 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
500 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
501 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
502 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
505 rm -rf conftest* confdefs.h
506 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
509 # A filename unique to this package, relative to the directory that
510 # configure is in, which we can look for to find out if srcdir is correct.
511 ac_unique_file=src/ios.cc
513 # Find the source files, if location was not specified.
514 if test -z "$srcdir"; then
515 ac_srcdir_defaulted=yes
516 # Try the directory containing this script, then its parent.
518 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
519 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
521 if test ! -r $srcdir/$ac_unique_file; then
525 ac_srcdir_defaulted=no
527 if test ! -r $srcdir/$ac_unique_file; then
528 if test "$ac_srcdir_defaulted" = yes; then
529 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
531 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
534 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
536 # Prefer explicitly selected file to automatically selected ones.
537 if test -z "$CONFIG_SITE"; then
538 if test "x$prefix" != xNONE; then
539 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
541 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
544 for ac_site_file in $CONFIG_SITE; do
545 if test -r "$ac_site_file"; then
546 echo "loading site script $ac_site_file"
551 if test -r "$cache_file"; then
552 echo "loading cache $cache_file"
555 echo "creating cache $cache_file"
560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
561 ac_cpp='$CPP $CPPFLAGS'
562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
564 cross_compiling=$ac_cv_prog_cc_cross
568 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
569 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
570 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
577 ac_n= ac_c='\c' ac_t=
582 # This works around the fact that libtool configuration may change LD
583 # for this particular configuration, but some shells, instead of
584 # keeping the changes in LD private, export them just because LD is
585 # exported. Only used at the end of this file.
586 ORIGINAL_LD_FOR_MULTILIBS=$LD
590 # For libtool versioning info, format is CURRENT:REVISION:AGE
591 libtool_VERSION=5:1:0
595 # Check whether --enable-multilib or --disable-multilib was given.
596 if test "${enable_multilib+set}" = set; then
597 enableval="$enable_multilib"
598 case "${enableval}" in
601 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
607 # When building with srcdir == objdir, links to the source files will
608 # be created in directories within the target_subdir. We have to
609 # adjust toplevel_srcdir accordingly, so that configure finds
610 # install-sh and other auxiliary files that live in the top-level
612 if test "${srcdir}" = "."; then
613 if test -z "${with_target_subdir}"; then
616 if test "${with_target_subdir}" != "."; then
617 toprel="${with_multisrctop}../.."
619 toprel="${with_multisrctop}.."
626 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
627 if test -f $ac_dir/install-sh; then
629 ac_install_sh="$ac_aux_dir/install-sh -c"
631 elif test -f $ac_dir/install.sh; then
633 ac_install_sh="$ac_aux_dir/install.sh -c"
637 if test -z "$ac_aux_dir"; then
638 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
640 ac_config_guess=$ac_aux_dir/config.guess
641 ac_config_sub=$ac_aux_dir/config.sub
642 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
644 toplevel_srcdir=\${top_srcdir}/$toprel
648 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
650 # You will slowly go insane if you do not grok the following fact: when
651 # building v3 as part of the compiler, the top-level /target/ becomes the
652 # library's /host/. `configure' then causes --target to default to --host,
653 # exactly like any other package using autoconf. Therefore, 'target' and
654 # 'host' will always be the same. This makes sense both for native and
655 # cross compilers, just think about it for a little while. :-)
657 # Also, if v3 is being configured as part of a cross compiler, the top-level
658 # configure script will pass the "real" host as $with_cross_host.
660 # AC 2.5x sets target_alias iff the user specified --target, but we use it
661 # everywhere, so we set it here just to be sure. In AC 2.13
662 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
664 # Do some error checking and defaulting for the host and target type.
666 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
669 # 1. You are not allowed to specify --host, --target, and nonopt at the
671 # 2. Host defaults to nonopt.
672 # 3. If nonopt is not specified, then host defaults to the current host,
673 # as determined by config.guess.
674 # 4. Target and build default to nonopt.
675 # 5. If nonopt is not specified, then target and build default to host.
677 # The aliases save the names the user supplied, while $host etc.
678 # will get canonicalized.
679 case $host---$target---$nonopt in
680 NONE---*---* | *---NONE---* | *---*---NONE) ;;
681 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
685 # Make sure we can run config.sub.
686 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
687 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
690 echo $ac_n "checking host system type""... $ac_c" 1>&6
691 echo "configure:692: checking host system type" >&5
694 case "$host_alias" in
698 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
699 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
701 *) host_alias=$nonopt ;;
705 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
706 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
707 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
708 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
709 echo "$ac_t""$host" 1>&6
711 echo $ac_n "checking target system type""... $ac_c" 1>&6
712 echo "configure:713: checking target system type" >&5
715 case "$target_alias" in
718 NONE) target_alias=$host_alias ;;
719 *) target_alias=$nonopt ;;
723 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
724 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
725 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
726 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
727 echo "$ac_t""$target" 1>&6
729 echo $ac_n "checking build system type""... $ac_c" 1>&6
730 echo "configure:731: checking build system type" >&5
733 case "$build_alias" in
736 NONE) build_alias=$host_alias ;;
737 *) build_alias=$nonopt ;;
741 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
742 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
743 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
744 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
745 echo "$ac_t""$build" 1>&6
747 test "$host_alias" != "$target_alias" &&
748 test "$program_prefix$program_suffix$program_transform_name" = \
750 program_prefix=${target_alias}-
752 target_alias=${target_alias-$target}
755 # Runs configure.target, finds CC, CXX and assorted other critical bits.
756 # Must run this before the GLIBCPP_ENABLE_* macros below.
757 if test $host != $build; then
758 ac_tool_prefix=${host_alias}-
763 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
764 echo "configure:765: checking for Cygwin environment" >&5
765 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
766 echo $ac_n "(cached) $ac_c" 1>&6
768 cat > conftest.$ac_ext <<EOF
769 #line 770 "configure"
770 #include "confdefs.h"
775 #define __CYGWIN__ __CYGWIN32__
780 if { (eval echo configure:781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
784 echo "configure: failed program was:" >&5
785 cat conftest.$ac_ext >&5
793 echo "$ac_t""$ac_cv_cygwin" 1>&6
795 test "$ac_cv_cygwin" = yes && CYGWIN=yes
796 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
797 echo "configure:798: checking for mingw32 environment" >&5
798 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
799 echo $ac_n "(cached) $ac_c" 1>&6
801 cat > conftest.$ac_ext <<EOF
802 #line 803 "configure"
803 #include "confdefs.h"
809 if { (eval echo configure:810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
813 echo "configure: failed program was:" >&5
814 cat conftest.$ac_ext >&5
822 echo "$ac_t""$ac_cv_mingw32" 1>&6
824 test "$ac_cv_mingw32" = yes && MINGW32=yes
827 #possibly test for the presence of the compiler sources here?
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in mawk gawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
848 echo "configure:849: checking for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
882 echo "configure:883: checking whether ln -s works" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
920 # Never versions of autoconf add an underscore to these functions.
921 # Prevent future problems ...
928 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
929 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
930 # are probably using a cross compiler, which will not be able to fully
931 # link an executable. This is addressed in later versions of autoconf.
936 # Extract the first word of "gcc", so it can be a program name with args.
937 set dummy gcc; ac_word=$2
938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
939 echo "configure:940: checking for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC="$CC" # Let the user override the test.
946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
948 for ac_dir in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no" 1>&6
965 if test -z "$CC"; then
966 # Extract the first word of "cc", so it can be a program name with args.
967 set dummy cc; ac_word=$2
968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
969 echo "configure:970: checking for $ac_word" >&5
970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
971 echo $ac_n "(cached) $ac_c" 1>&6
973 if test -n "$CC"; then
974 ac_cv_prog_CC="$CC" # Let the user override the test.
976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 for ac_dir in $ac_dummy; do
980 test -z "$ac_dir" && ac_dir=.
981 if test -f $ac_dir/$ac_word; then
982 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
991 if test $ac_prog_rejected = yes; then
992 # We found a bogon in the path, so make sure we never use it.
993 set dummy $ac_cv_prog_CC
995 if test $# -gt 0; then
996 # We chose a different compiler from the bogus one.
997 # However, it has the same basename, so the bogon will be chosen
998 # first if we set CC to just the basename; use the full file name.
1000 set dummy "$ac_dir/$ac_word" "$@"
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no" 1>&6
1014 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1017 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1018 echo "configure:1019: checking whether we are using GNU C" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached) $ac_c" 1>&6
1022 cat > conftest.c <<EOF
1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1038 ac_test_CFLAGS="${CFLAGS+set}"
1039 ac_save_CFLAGS="$CFLAGS"
1041 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1042 echo "configure:1043: checking whether ${CC-cc} accepts -g" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1044 echo $ac_n "(cached) $ac_c" 1>&6
1046 echo 'void f(){}' > conftest.c
1047 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1056 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1057 if test "$ac_test_CFLAGS" = set; then
1058 CFLAGS="$ac_save_CFLAGS"
1059 elif test $ac_cv_prog_cc_g = yes; then
1066 test "${CFLAGS+set}" = set || CFLAGS="-g"
1070 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1071 # will try to link in libstdc++.
1075 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1076 # flags that come in CXX while configuring libstdc++. They're different
1077 # from those used for all other target libraries. If CXX is set in
1078 # the environment, respect that here.
1080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1085 echo "configure:1086: checking for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1087 echo $ac_n "(cached) $ac_c" 1>&6
1089 if test -n "$glibcpp_CXX"; then
1090 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_glibcpp_CXX="$ac_prog"
1104 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1105 if test -n "$glibcpp_CXX"; then
1106 echo "$ac_t""$glibcpp_CXX" 1>&6
1108 echo "$ac_t""no" 1>&6
1111 test -n "$glibcpp_CXX" && break
1113 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1117 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1119 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1120 echo "configure:1121: checking whether we are using GNU C++" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1122 echo $ac_n "(cached) $ac_c" 1>&6
1124 cat > conftest.C <<EOF
1129 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1136 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1138 if test $ac_cv_prog_gxx = yes; then
1140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1141 ac_save_CXXFLAGS="$CXXFLAGS"
1143 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1144 echo "configure:1145: checking whether ${CXX-g++} accepts -g" >&5
1145 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1146 echo $ac_n "(cached) $ac_c" 1>&6
1148 echo 'void f(){}' > conftest.cc
1149 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1150 ac_cv_prog_cxx_g=yes
1158 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1159 if test "$ac_test_CXXFLAGS" = set; then
1160 CXXFLAGS="$ac_save_CXXFLAGS"
1161 elif test $ac_cv_prog_cxx_g = yes; then
1168 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1172 # For directory versioning (e.g., headers) and other variables.
1173 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1174 echo "configure:1175: checking for GCC version number" >&5
1175 gcc_version=`$glibcpp_CXX -dumpversion`
1176 echo "$ac_t""$gcc_version" 1>&6
1178 # For some reason, gettext needs this.
1180 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1181 echo "configure:1182: checking for strerror in -lcposix" >&5
1182 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 ac_save_LIBS="$LIBS"
1187 LIBS="-lcposix $LIBS"
1188 cat > conftest.$ac_ext <<EOF
1189 #line 1190 "configure"
1190 #include "confdefs.h"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202 eval "ac_cv_lib_$ac_lib_var=yes"
1204 echo "configure: failed program was:" >&5
1205 cat conftest.$ac_ext >&5
1207 eval "ac_cv_lib_$ac_lib_var=no"
1210 LIBS="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 LIBS="$LIBS -lcposix"
1217 echo "$ac_t""no" 1>&6
1223 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1224 set dummy ${ac_tool_prefix}as; ac_word=$2
1225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1226 echo "configure:1227: checking for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1228 echo $ac_n "(cached) $ac_c" 1>&6
1230 if test -n "$AS"; then
1231 ac_cv_prog_AS="$AS" # Let the user override the test.
1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 ac_cv_prog_AS="${ac_tool_prefix}as"
1243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1247 if test -n "$AS"; then
1248 echo "$ac_t""$AS" 1>&6
1250 echo "$ac_t""no" 1>&6
1255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1256 set dummy ${ac_tool_prefix}ar; ac_word=$2
1257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1258 echo "configure:1259: checking for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR="$AR" # Let the user override the test.
1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1267 for ac_dir in $ac_dummy; do
1268 test -z "$ac_dir" && ac_dir=.
1269 if test -f $ac_dir/$ac_word; then
1270 ac_cv_prog_AR="${ac_tool_prefix}ar"
1275 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1279 if test -n "$AR"; then
1280 echo "$ac_t""$AR" 1>&6
1282 echo "$ac_t""no" 1>&6
1287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1290 echo "configure:1291: checking for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1292 echo $ac_n "(cached) $ac_c" 1>&6
1294 if test -n "$RANLIB"; then
1295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1309 RANLIB="$ac_cv_prog_RANLIB"
1310 if test -n "$RANLIB"; then
1311 echo "$ac_t""$RANLIB" 1>&6
1313 echo "$ac_t""no" 1>&6
1317 if test -z "$ac_cv_prog_RANLIB"; then
1318 if test -n "$ac_tool_prefix"; then
1319 # Extract the first word of "ranlib", so it can be a program name with args.
1320 set dummy ranlib; ac_word=$2
1321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1322 echo "configure:1323: checking for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 if test -n "$RANLIB"; then
1327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_RANLIB="ranlib"
1339 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1342 RANLIB="$ac_cv_prog_RANLIB"
1343 if test -n "$RANLIB"; then
1344 echo "$ac_t""$RANLIB" 1>&6
1346 echo "$ac_t""no" 1>&6
1350 RANLIB="ranlib-not-found-in-path-error"
1354 # Find a good install program. We prefer a C program (faster),
1355 # so one script is as good as another. But avoid the broken or
1356 # incompatible versions:
1357 # SysV /etc/install, /usr/sbin/install
1358 # SunOS /usr/etc/install
1359 # IRIX /sbin/install
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1364 # ./install, which can be erroneously created by make from ./install.sh.
1365 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1366 echo "configure:1367: checking for a BSD compatible install" >&5
1367 if test -z "$INSTALL"; then
1368 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1369 echo $ac_n "(cached) $ac_c" 1>&6
1371 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1372 for ac_dir in $PATH; do
1373 # Account for people who put trailing slashes in PATH elements.
1375 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1380 for ac_prog in ginstall scoinst install; do
1381 if test -f $ac_dir/$ac_prog; then
1382 if test $ac_prog = install &&
1383 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1384 # AIX install. It has an incompatible calling convention.
1387 ac_cv_path_install="$ac_dir/$ac_prog -c"
1398 if test "${ac_cv_path_install+set}" = set; then
1399 INSTALL="$ac_cv_path_install"
1401 # As a last resort, use the slow shell script. We don't cache a
1402 # path for INSTALL within a source directory, because that will
1403 # break other packages using the cache if that directory is
1404 # removed, or if the path is relative.
1405 INSTALL="$ac_install_sh"
1408 echo "$ac_t""$INSTALL" 1>&6
1410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411 # It thinks the first close brace ends the variable substitution.
1412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1420 echo "configure:1421: checking whether to enable maintainer-specific portions of Makefiles" >&5
1421 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1422 if test "${enable_maintainer_mode+set}" = set; then
1423 enableval="$enable_maintainer_mode"
1424 USE_MAINTAINER_MODE=$enableval
1426 USE_MAINTAINER_MODE=no
1429 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1432 if test $USE_MAINTAINER_MODE = yes; then
1433 MAINTAINER_MODE_TRUE=
1434 MAINTAINER_MODE_FALSE='#'
1436 MAINTAINER_MODE_TRUE='#'
1437 MAINTAINER_MODE_FALSE=
1439 MAINT=$MAINTAINER_MODE_TRUE
1443 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1444 # at least currently, we never actually build a program, so we never
1445 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1446 # fails, because we are probably configuring with a cross compiler
1447 # which can't create executables. So we include AC_EXEEXT to keep
1448 # automake happy, but we don't execute it, since we don't care about
1451 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1452 # to nothing, so nothing would remain between `then' and `fi' if it
1453 # were not for the `:' below.
1457 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1458 echo "configure:1459: checking for executable suffix" >&5
1459 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1460 echo $ac_n "(cached) $ac_c" 1>&6
1462 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1466 echo 'int main () { return 0; }' > conftest.$ac_ext
1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1469 for file in conftest.*; do
1471 *.$ac_ext | *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1504 am__api_version="1.4"
1505 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1506 echo "configure:1507: checking whether build environment is sane" >&5
1509 echo timestamp > conftestfile
1510 # Do `set' in a subshell so we don't clobber the current shell's
1511 # arguments. Must try -L first in case configure is actually a
1512 # symlink; some systems play weird games with the mod time of symlinks
1513 # (eg FreeBSD returns the mod time of the symlink's containing
1516 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1517 if test "$*" = "X"; then
1519 set X `ls -t $srcdir/configure conftestfile`
1521 if test "$*" != "X $srcdir/configure conftestfile" \
1522 && test "$*" != "X conftestfile $srcdir/configure"; then
1524 # If neither matched, then we have a broken ls. This can happen
1525 # if, for instance, CONFIG_SHELL is bash and it inherits a
1526 # broken ls alias from the environment. This has actually
1527 # happened. Such a system could not be considered "sane".
1528 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1529 alias in your environment" 1>&2; exit 1; }
1532 test "$2" = conftestfile
1538 { echo "configure: error: newly created file is older than distributed files!
1539 Check your system clock" 1>&2; exit 1; }
1542 echo "$ac_t""yes" 1>&6
1543 if test "$program_transform_name" = s,x,x,; then
1544 program_transform_name=
1546 # Double any \ or $. echo might interpret backslashes.
1547 cat <<\EOF_SED > conftestsed
1548 s,\\,\\\\,g; s,\$,$$,g
1550 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1553 test "$program_prefix" != NONE &&
1554 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1555 # Use a double $ so make ignores it.
1556 test "$program_suffix" != NONE &&
1557 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1559 # sed with no file args requires a program.
1560 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1562 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1563 echo "configure:1564: checking whether ${MAKE-make} sets \${MAKE}" >&5
1564 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1565 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1566 echo $ac_n "(cached) $ac_c" 1>&6
1568 cat > conftestmake <<\EOF
1570 @echo 'ac_maketemp="${MAKE}"'
1572 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1573 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1574 if test -n "$ac_maketemp"; then
1575 eval ac_cv_prog_make_${ac_make}_set=yes
1577 eval ac_cv_prog_make_${ac_make}_set=no
1581 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1582 echo "$ac_t""yes" 1>&6
1585 echo "$ac_t""no" 1>&6
1586 SET_MAKE="MAKE=${MAKE-make}"
1592 VERSION=$gcc_version
1594 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1595 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1597 cat >> confdefs.h <<EOF
1598 #define PACKAGE "$PACKAGE"
1601 cat >> confdefs.h <<EOF
1602 #define VERSION "$VERSION"
1607 missing_dir=`cd $ac_aux_dir && pwd`
1608 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1609 echo "configure:1610: checking for working aclocal-${am__api_version}" >&5
1610 # Run test in a subshell; some versions of sh will print an error if
1611 # an executable is not found, even if stderr is redirected.
1612 # Redirect stdin to placate older versions of autoconf. Sigh.
1613 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1614 ACLOCAL=aclocal-${am__api_version}
1615 echo "$ac_t""found" 1>&6
1617 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1618 echo "$ac_t""missing" 1>&6
1621 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1622 echo "configure:1623: checking for working autoconf" >&5
1623 # Run test in a subshell; some versions of sh will print an error if
1624 # an executable is not found, even if stderr is redirected.
1625 # Redirect stdin to placate older versions of autoconf. Sigh.
1626 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1628 echo "$ac_t""found" 1>&6
1630 AUTOCONF="$missing_dir/missing autoconf"
1631 echo "$ac_t""missing" 1>&6
1634 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1635 echo "configure:1636: checking for working automake-${am__api_version}" >&5
1636 # Run test in a subshell; some versions of sh will print an error if
1637 # an executable is not found, even if stderr is redirected.
1638 # Redirect stdin to placate older versions of autoconf. Sigh.
1639 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1640 AUTOMAKE=automake-${am__api_version}
1641 echo "$ac_t""found" 1>&6
1643 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1644 echo "$ac_t""missing" 1>&6
1647 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1648 echo "configure:1649: checking for working autoheader" >&5
1649 # Run test in a subshell; some versions of sh will print an error if
1650 # an executable is not found, even if stderr is redirected.
1651 # Redirect stdin to placate older versions of autoconf. Sigh.
1652 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1653 AUTOHEADER=autoheader
1654 echo "$ac_t""found" 1>&6
1656 AUTOHEADER="$missing_dir/missing autoheader"
1657 echo "$ac_t""missing" 1>&6
1660 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1661 echo "configure:1662: checking for working makeinfo" >&5
1662 # Run test in a subshell; some versions of sh will print an error if
1663 # an executable is not found, even if stderr is redirected.
1664 # Redirect stdin to placate older versions of autoconf. Sigh.
1665 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1667 echo "$ac_t""found" 1>&6
1669 MAKEINFO="$missing_dir/missing makeinfo"
1670 echo "$ac_t""missing" 1>&6
1679 # Check whether --enable-shared or --disable-shared was given.
1680 if test "${enable_shared+set}" = set; then
1681 enableval="$enable_shared"
1682 p=${PACKAGE-default}
1684 yes) enable_shared=yes ;;
1685 no) enable_shared=no ;;
1688 # Look at the argument we got. We use all the common list separators.
1689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1690 for pkg in $enableval; do
1691 if test "X$pkg" = "X$p"; then
1702 # Check whether --enable-static or --disable-static was given.
1703 if test "${enable_static+set}" = set; then
1704 enableval="$enable_static"
1705 p=${PACKAGE-default}
1707 yes) enable_static=yes ;;
1708 no) enable_static=no ;;
1711 # Look at the argument we got. We use all the common list separators.
1712 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1713 for pkg in $enableval; do
1714 if test "X$pkg" = "X$p"; then
1725 # Check whether --enable-fast-install or --disable-fast-install was given.
1726 if test "${enable_fast_install+set}" = set; then
1727 enableval="$enable_fast_install"
1728 p=${PACKAGE-default}
1730 yes) enable_fast_install=yes ;;
1731 no) enable_fast_install=no ;;
1733 enable_fast_install=no
1734 # Look at the argument we got. We use all the common list separators.
1735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1736 for pkg in $enableval; do
1737 if test "X$pkg" = "X$p"; then
1738 enable_fast_install=yes
1745 enable_fast_install=yes
1748 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1749 if test "${with_gnu_ld+set}" = set; then
1750 withval="$with_gnu_ld"
1751 test "$withval" = no || with_gnu_ld=yes
1757 if test "$GCC" = yes; then
1758 # Check if gcc -print-prog-name=ld gives a path.
1759 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1760 echo "configure:1761: checking for ld used by GCC" >&5
1763 # gcc leaves a trailing carriage return which upsets mingw
1764 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1766 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1769 # Accept absolute paths.
1770 [\\/]* | [A-Za-z]:[\\/]*)
1771 re_direlt='/[^/][^/]*/\.\./'
1772 # Canonicalize the path of ld
1773 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1774 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1775 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1777 test -z "$LD" && LD="$ac_prog"
1780 # If it fails, then pretend we aren't using GCC.
1784 # If it is relative, then search for the first ld in PATH.
1788 elif test "$with_gnu_ld" = yes; then
1789 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1790 echo "configure:1791: checking for GNU ld" >&5
1792 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1793 echo "configure:1794: checking for non-GNU ld" >&5
1795 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1796 echo $ac_n "(cached) $ac_c" 1>&6
1798 if test -z "$LD"; then
1799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1800 for ac_dir in $PATH; do
1801 test -z "$ac_dir" && ac_dir=.
1802 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1803 lt_cv_path_LD="$ac_dir/$ac_prog"
1804 # Check to see if the program is GNU ld. I'd rather use --version,
1805 # but apparently some GNU ld's only accept -v.
1806 # Break only if it was the GNU/non-GNU ld that we prefer.
1807 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1808 test "$with_gnu_ld" != no && break
1810 test "$with_gnu_ld" != yes && break
1816 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1821 if test -n "$LD"; then
1822 echo "$ac_t""$LD" 1>&6
1824 echo "$ac_t""no" 1>&6
1826 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1827 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1828 echo "configure:1829: checking if the linker ($LD) is GNU ld" >&5
1829 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1830 echo $ac_n "(cached) $ac_c" 1>&6
1832 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1833 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1834 lt_cv_prog_gnu_ld=yes
1836 lt_cv_prog_gnu_ld=no
1840 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1841 with_gnu_ld=$lt_cv_prog_gnu_ld
1844 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1845 echo "configure:1846: checking for $LD option to reload object files" >&5
1846 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1847 echo $ac_n "(cached) $ac_c" 1>&6
1849 lt_cv_ld_reload_flag='-r'
1852 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1853 reload_flag=$lt_cv_ld_reload_flag
1854 test -n "$reload_flag" && reload_flag=" $reload_flag"
1856 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1857 echo "configure:1858: checking for BSD-compatible nm" >&5
1858 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1859 echo $ac_n "(cached) $ac_c" 1>&6
1861 if test -n "$NM"; then
1862 # Let the user override the test.
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1866 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1867 test -z "$ac_dir" && ac_dir=.
1868 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1869 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1870 # Check to see if the nm accepts a BSD-compat flag.
1871 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1872 # nm: unknown option "B" ignored
1873 # Tru64's nm complains that /dev/null is an invalid object file
1874 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1875 lt_cv_path_NM="$tmp_nm -B"
1877 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1878 lt_cv_path_NM="$tmp_nm -p"
1881 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1882 continue # so that we can try to find one that supports BSD flags
1887 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1892 echo "$ac_t""$NM" 1>&6
1894 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1895 echo "configure:1896: checking how to recognise dependant libraries" >&5
1896 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1897 echo $ac_n "(cached) $ac_c" 1>&6
1899 lt_cv_file_magic_cmd='$MAGIC_CMD'
1900 lt_cv_file_magic_test_file=
1901 lt_cv_deplibs_check_method='unknown'
1902 # Need to set the preceding variable on all platforms that support
1903 # interlibrary dependencies.
1904 # 'none' -- dependencies not supported.
1905 # `unknown' -- same as none, but documents that we really don't know.
1906 # 'pass_all' -- all dependencies passed with no checks.
1907 # 'test_compile' -- check by making test program.
1908 # 'file_magic [regex]' -- check by looking for files in library path
1909 # which responds to the $file_magic_cmd with a given egrep regex.
1910 # If you have `file' or equivalent on your system and you're not sure
1911 # whether `pass_all' will *always* work, you probably want this one.
1915 lt_cv_deplibs_check_method=pass_all
1919 lt_cv_deplibs_check_method=pass_all
1923 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1924 lt_cv_file_magic_cmd='/usr/bin/file -L'
1925 lt_cv_file_magic_test_file=/shlib/libc.so
1928 cygwin* | mingw* |pw32*)
1929 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1930 lt_cv_file_magic_cmd='$OBJDUMP -f'
1933 darwin* | rhapsody*)
1934 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1935 lt_cv_file_magic_cmd='/usr/bin/file -L'
1937 rhapsody* | darwin1.012)
1938 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1941 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1947 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1950 # Not sure whether the presence of OpenBSD here was a mistake.
1951 # Let's accept both of them until this is cleared up.
1952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1953 lt_cv_file_magic_cmd=/usr/bin/file
1954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1958 lt_cv_deplibs_check_method=pass_all
1963 lt_cv_deplibs_check_method=pass_all
1967 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1968 lt_cv_file_magic_cmd=/usr/bin/file
1969 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1975 # this will be overridden with pass_all, but let us keep it just in case
1976 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1980 *-32|*"-32 ") libmagic=32-bit;;
1981 *-n32|*"-n32 ") libmagic=N32;;
1982 *-64|*"-64 ") libmagic=64-bit;;
1983 *) libmagic=never-match;;
1985 # this will be overridden with pass_all, but let us keep it just in case
1986 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1989 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1990 lt_cv_deplibs_check_method=pass_all
1993 # This must be Linux ELF.
1996 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1997 lt_cv_deplibs_check_method=pass_all ;;
1999 # glibc up to 2.1.1 does not perform some relocations on ARM
2000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2002 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2006 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2007 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2009 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2014 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2015 lt_cv_file_magic_cmd=/usr/bin/file
2016 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2019 osf3* | osf4* | osf5*)
2020 # this will be overridden with pass_all, but let us keep it just in case
2021 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2022 lt_cv_file_magic_test_file=/shlib/libc.so
2023 lt_cv_deplibs_check_method=pass_all
2027 lt_cv_deplibs_check_method=pass_all
2031 lt_cv_deplibs_check_method=pass_all
2032 lt_cv_file_magic_test_file=/lib/libc.so
2035 sysv5uw[78]* | sysv4*uw2*)
2036 lt_cv_deplibs_check_method=pass_all
2039 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2040 case $host_vendor in
2042 lt_cv_deplibs_check_method=pass_all
2045 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]'
2046 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2054 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2055 file_magic_cmd=$lt_cv_file_magic_cmd
2056 deplibs_check_method=$lt_cv_deplibs_check_method
2058 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2059 echo "configure:2060: checking for object suffix" >&5
2060 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2061 echo $ac_n "(cached) $ac_c" 1>&6
2064 echo 'int i = 1;' > conftest.$ac_ext
2065 if { (eval echo configure:2066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2066 for ac_file in conftest.*; do
2069 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2073 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2078 echo "$ac_t""$ac_cv_objext" 1>&6
2079 OBJEXT=$ac_cv_objext
2080 ac_objext=$ac_cv_objext
2082 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2084 # Only perform the check for file, if the check method requires it
2085 case $deplibs_check_method in
2087 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2088 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2089 echo "configure:2090: checking for ${ac_tool_prefix}file" >&5
2090 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2091 echo $ac_n "(cached) $ac_c" 1>&6
2095 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2098 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2101 ac_save_MAGIC_CMD="$MAGIC_CMD"
2102 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2103 ac_dummy="/usr/bin:$PATH"
2104 for ac_dir in $ac_dummy; do
2105 test -z "$ac_dir" && ac_dir=.
2106 if test -f $ac_dir/${ac_tool_prefix}file; then
2107 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2108 if test -n "$file_magic_test_file"; then
2109 case $deplibs_check_method in
2111 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2112 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2113 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2114 egrep "$file_magic_regex" > /dev/null; then
2119 *** Warning: the command libtool uses to detect shared libraries,
2120 *** $file_magic_cmd, produces output that libtool cannot recognize.
2121 *** The result is that libtool may fail to recognize shared libraries
2122 *** as such. This will affect the creation of libtool libraries that
2123 *** depend on shared libraries, but programs linked with such libtool
2124 *** libraries will work regardless of this problem. Nevertheless, you
2125 *** may want to report the problem to your system manager and/or to
2126 *** bug-libtool@gnu.org
2136 MAGIC_CMD="$ac_save_MAGIC_CMD"
2141 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2142 if test -n "$MAGIC_CMD"; then
2143 echo "$ac_t""$MAGIC_CMD" 1>&6
2145 echo "$ac_t""no" 1>&6
2148 if test -z "$lt_cv_path_MAGIC_CMD"; then
2149 if test -n "$ac_tool_prefix"; then
2150 echo $ac_n "checking for file""... $ac_c" 1>&6
2151 echo "configure:2152: checking for file" >&5
2152 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2153 echo $ac_n "(cached) $ac_c" 1>&6
2157 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2160 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2163 ac_save_MAGIC_CMD="$MAGIC_CMD"
2164 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2165 ac_dummy="/usr/bin:$PATH"
2166 for ac_dir in $ac_dummy; do
2167 test -z "$ac_dir" && ac_dir=.
2168 if test -f $ac_dir/file; then
2169 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2170 if test -n "$file_magic_test_file"; then
2171 case $deplibs_check_method in
2173 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2174 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2175 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2176 egrep "$file_magic_regex" > /dev/null; then
2181 *** Warning: the command libtool uses to detect shared libraries,
2182 *** $file_magic_cmd, produces output that libtool cannot recognize.
2183 *** The result is that libtool may fail to recognize shared libraries
2184 *** as such. This will affect the creation of libtool libraries that
2185 *** depend on shared libraries, but programs linked with such libtool
2186 *** libraries will work regardless of this problem. Nevertheless, you
2187 *** may want to report the problem to your system manager and/or to
2188 *** bug-libtool@gnu.org
2198 MAGIC_CMD="$ac_save_MAGIC_CMD"
2203 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2204 if test -n "$MAGIC_CMD"; then
2205 echo "$ac_t""$MAGIC_CMD" 1>&6
2207 echo "$ac_t""no" 1>&6
2219 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2220 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2222 echo "configure:2223: checking for $ac_word" >&5
2223 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2224 echo $ac_n "(cached) $ac_c" 1>&6
2226 if test -n "$RANLIB"; then
2227 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2229 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2231 for ac_dir in $ac_dummy; do
2232 test -z "$ac_dir" && ac_dir=.
2233 if test -f $ac_dir/$ac_word; then
2234 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2241 RANLIB="$ac_cv_prog_RANLIB"
2242 if test -n "$RANLIB"; then
2243 echo "$ac_t""$RANLIB" 1>&6
2245 echo "$ac_t""no" 1>&6
2249 if test -z "$ac_cv_prog_RANLIB"; then
2250 if test -n "$ac_tool_prefix"; then
2251 # Extract the first word of "ranlib", so it can be a program name with args.
2252 set dummy ranlib; ac_word=$2
2253 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2254 echo "configure:2255: checking for $ac_word" >&5
2255 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2256 echo $ac_n "(cached) $ac_c" 1>&6
2258 if test -n "$RANLIB"; then
2259 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2261 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2263 for ac_dir in $ac_dummy; do
2264 test -z "$ac_dir" && ac_dir=.
2265 if test -f $ac_dir/$ac_word; then
2266 ac_cv_prog_RANLIB="ranlib"
2271 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2274 RANLIB="$ac_cv_prog_RANLIB"
2275 if test -n "$RANLIB"; then
2276 echo "$ac_t""$RANLIB" 1>&6
2278 echo "$ac_t""no" 1>&6
2286 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2287 set dummy ${ac_tool_prefix}strip; ac_word=$2
2288 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2289 echo "configure:2290: checking for $ac_word" >&5
2290 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2291 echo $ac_n "(cached) $ac_c" 1>&6
2293 if test -n "$STRIP"; then
2294 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2296 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2298 for ac_dir in $ac_dummy; do
2299 test -z "$ac_dir" && ac_dir=.
2300 if test -f $ac_dir/$ac_word; then
2301 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2308 STRIP="$ac_cv_prog_STRIP"
2309 if test -n "$STRIP"; then
2310 echo "$ac_t""$STRIP" 1>&6
2312 echo "$ac_t""no" 1>&6
2316 if test -z "$ac_cv_prog_STRIP"; then
2317 if test -n "$ac_tool_prefix"; then
2318 # Extract the first word of "strip", so it can be a program name with args.
2319 set dummy strip; ac_word=$2
2320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2321 echo "configure:2322: checking for $ac_word" >&5
2322 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2323 echo $ac_n "(cached) $ac_c" 1>&6
2325 if test -n "$STRIP"; then
2326 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2330 for ac_dir in $ac_dummy; do
2331 test -z "$ac_dir" && ac_dir=.
2332 if test -f $ac_dir/$ac_word; then
2333 ac_cv_prog_STRIP="strip"
2338 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2341 STRIP="$ac_cv_prog_STRIP"
2342 if test -n "$STRIP"; then
2343 echo "$ac_t""$STRIP" 1>&6
2345 echo "$ac_t""no" 1>&6
2354 # Check for any special flags to pass to ltconfig.
2355 libtool_flags="--cache-file=$cache_file"
2356 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2357 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2358 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2359 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2360 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2361 libtool_flags="$libtool_flags --enable-dlopen"
2363 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2364 if test "${enable_libtool_lock+set}" = set; then
2365 enableval="$enable_libtool_lock"
2369 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2370 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2372 # Check whether --with-pic or --without-pic was given.
2373 if test "${with_pic+set}" = set; then
2380 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2381 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2383 # Some flags need to be propagated to the compiler or linker for good
2387 # Find out which ABI we are using.
2388 echo '#line 2389 "configure"' > conftest.$ac_ext
2389 if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2390 case `/usr/bin/file conftest.$ac_objext` in
2406 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2407 SAVE_CFLAGS="$CFLAGS"
2408 CFLAGS="$CFLAGS -belf"
2409 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2410 echo "configure:2411: checking whether the C compiler needs -belf" >&5
2411 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2412 echo $ac_n "(cached) $ac_c" 1>&6
2416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2417 ac_cpp='$CPP $CPPFLAGS'
2418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2420 cross_compiling=$ac_cv_prog_cc_cross
2422 cat > conftest.$ac_ext <<EOF
2423 #line 2424 "configure"
2424 #include "confdefs.h"
2430 if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2432 lt_cv_cc_needs_belf=yes
2434 echo "configure: failed program was:" >&5
2435 cat conftest.$ac_ext >&5
2437 lt_cv_cc_needs_belf=no
2441 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2442 ac_cpp='$CPP $CPPFLAGS'
2443 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2444 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2445 cross_compiling=$ac_cv_prog_cc_cross
2449 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2450 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2451 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2452 CFLAGS="$SAVE_CFLAGS"
2459 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2460 echo "configure:2461: checking how to run the C++ preprocessor" >&5
2461 if test -z "$CXXCPP"; then
2462 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2463 echo $ac_n "(cached) $ac_c" 1>&6
2466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2467 ac_cpp='$CXXCPP $CPPFLAGS'
2468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2470 cross_compiling=$ac_cv_prog_cxx_cross
2471 CXXCPP="${CXX-g++} -E"
2472 cat > conftest.$ac_ext <<EOF
2473 #line 2474 "configure"
2474 #include "confdefs.h"
2477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2478 { (eval echo configure:2479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2480 if test -z "$ac_err"; then
2484 echo "configure: failed program was:" >&5
2485 cat conftest.$ac_ext >&5
2490 ac_cv_prog_CXXCPP="$CXXCPP"
2492 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2493 ac_cpp='$CPP $CPPFLAGS'
2494 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2495 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2496 cross_compiling=$ac_cv_prog_cc_cross
2499 CXXCPP="$ac_cv_prog_CXXCPP"
2500 echo "$ac_t""$CXXCPP" 1>&6
2503 # Save cache, so that ltconfig can load it
2504 cat > confcache <<\EOF
2505 # This file is a shell script that caches the results of configure
2506 # tests run on this system so they can be shared between configure
2507 # scripts and configure runs. It is not useful on other systems.
2508 # If it contains results you don't want to keep, you may remove or edit it.
2510 # By default, configure uses ./config.cache as the cache file,
2511 # creating it if it does not exist already. You can give configure
2512 # the --cache-file=FILE option to use a different cache file; that is
2513 # what configure does when it calls configure scripts in
2514 # subdirectories, so they share the cache.
2515 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2516 # config.status only pays attention to the cache file if you give it the
2517 # --recheck option to rerun configure.
2520 # The following way of writing the cache mishandles newlines in values,
2521 # but we know of no workaround that is simple, portable, and efficient.
2522 # So, don't put newlines in cache variables' values.
2523 # Ultrix sh set writes to stderr and can't be redirected directly,
2524 # and sets the high bit in the cache file unless we assign to the vars.
2526 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2528 # `set' does not quote correctly, so add quotes (double-quote substitution
2529 # turns \\\\ into \\, and sed turns \\ into \).
2531 -e "s/'/'\\\\''/g" \
2532 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2535 # `set' quotes correctly as required by POSIX, so do not add quotes.
2536 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2539 if cmp -s $cache_file confcache; then
2542 if test -w $cache_file; then
2543 echo "updating cache $cache_file"
2544 cat confcache > $cache_file
2546 echo "not updating unwritable cache $cache_file"
2552 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2553 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2554 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2555 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2556 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2557 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2558 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2559 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2560 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2561 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2563 # Reload cache, that may have been modified by ltconfig
2564 if test -r "$cache_file"; then
2565 echo "loading cache $cache_file"
2568 echo "creating cache $cache_file"
2573 # This can be used to rebuild libtool when needed
2574 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2576 # Always use our own libtool.
2577 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2579 # Redirect the config.log output again, so that the ltconfig log is not
2580 # clobbered by the next message.
2581 exec 5>>./config.log
2585 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2587 lt_save_CFLAGS="$CFLAGS"
2588 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2589 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2590 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2591 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2592 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2593 deplibs_check_method="$deplibs_check_method" \
2594 file_magic_cmd="$file_magic_cmd" \
2595 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2596 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2597 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2599 CFLAGS="$lt_save_CFLAGS"
2601 # Redirect the config.log output again, so that the ltconfig log is not
2602 # clobbered by the next message.
2603 exec 5>>./config.log
2613 # Check for c++ or library specific bits that don't require linking.
2614 #GLIBCPP_CHECK_COMPILER_VERSION
2615 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2616 echo "configure:2617: checking for GNU make" >&5
2617 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2618 echo $ac_n "(cached) $ac_c" 1>&6
2620 _cv_gnu_make_command='' ;
2621 for a in "${MAKE-make}" make gmake gnumake ; do
2622 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2624 _cv_gnu_make_command=$a ;
2631 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2632 if test "x$_cv_gnu_make_command" != "x" ; then
2640 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2641 # Check whether --enable-debug or --disable-debug was given.
2642 if test "${enable_debug+set}" = set; then
2643 enableval="$enable_debug"
2644 case "${enableval}" in
2645 yes) enable_debug=yes ;;
2646 no) enable_debug=no ;;
2647 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2653 case "${enable_debug}" in
2655 DEBUG_FLAGS='-O0 -ggdb3'
2663 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2664 echo "configure:2665: checking how to run the C preprocessor" >&5
2665 # On Suns, sometimes $CPP names a directory.
2666 if test -n "$CPP" && test -d "$CPP"; then
2669 if test -z "$CPP"; then
2670 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2671 echo $ac_n "(cached) $ac_c" 1>&6
2673 # This must be in double quotes, not single quotes, because CPP may get
2674 # substituted into the Makefile and "${CC-cc}" will confuse make.
2676 # On the NeXT, cc -E runs the code through the compiler's parser,
2677 # not just through cpp.
2678 cat > conftest.$ac_ext <<EOF
2679 #line 2680 "configure"
2680 #include "confdefs.h"
2684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2685 { (eval echo configure:2686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2687 if test -z "$ac_err"; then
2691 echo "configure: failed program was:" >&5
2692 cat conftest.$ac_ext >&5
2694 CPP="${CC-cc} -E -traditional-cpp"
2695 cat > conftest.$ac_ext <<EOF
2696 #line 2697 "configure"
2697 #include "confdefs.h"
2701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2702 { (eval echo configure:2703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2704 if test -z "$ac_err"; then
2708 echo "configure: failed program was:" >&5
2709 cat conftest.$ac_ext >&5
2711 CPP="${CC-cc} -nologo -E"
2712 cat > conftest.$ac_ext <<EOF
2713 #line 2714 "configure"
2714 #include "confdefs.h"
2718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2719 { (eval echo configure:2720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2721 if test -z "$ac_err"; then
2725 echo "configure: failed program was:" >&5
2726 cat conftest.$ac_ext >&5
2735 ac_cv_prog_CPP="$CPP"
2737 CPP="$ac_cv_prog_CPP"
2739 ac_cv_prog_CPP="$CPP"
2741 echo "$ac_t""$CPP" 1>&6
2744 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2745 echo "configure:2746: checking for cstdio to use" >&5
2746 # Check whether --enable-cstdio or --disable-cstdio was given.
2747 if test "${enable_cstdio+set}" = set; then
2748 enableval="$enable_cstdio"
2749 if test x$enable_cstdio = xno; then
2757 enable_cstdio_flag=$enable_cstdio
2759 case x${enable_cstdio_flag} in
2761 CSTDIO_H=config/io/c_io_libio.h
2762 BASIC_FILE_H=config/io/basic_file_libio.h
2763 BASIC_FILE_CC=config/io/basic_file_libio.cc
2764 echo "$ac_t""libio" 1>&6
2766 # see if we are on a system with libio native (ie, linux)
2767 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2768 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2769 echo "configure:2770: checking for libio.h" >&5
2770 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2771 echo $ac_n "(cached) $ac_c" 1>&6
2773 cat > conftest.$ac_ext <<EOF
2774 #line 2775 "configure"
2775 #include "confdefs.h"
2778 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2779 { (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2781 if test -z "$ac_err"; then
2783 eval "ac_cv_header_$ac_safe=yes"
2786 echo "configure: failed program was:" >&5
2787 cat conftest.$ac_ext >&5
2789 eval "ac_cv_header_$ac_safe=no"
2793 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2794 echo "$ac_t""yes" 1>&6
2797 echo "$ac_t""no" 1>&6
2802 # Need to check and see what version of glibc is being used. If
2803 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2804 # compile most of libio for linux systems.
2805 if test x$has_libio = x"yes"; then
2808 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2809 echo "configure:2810: checking for glibc version >= 2.2" >&5
2810 cat > conftest.$ac_ext <<EOF
2811 #line 2812 "configure"
2812 #include "confdefs.h"
2814 #include <features.h>
2815 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2821 egrep "ok" >/dev/null 2>&1; then
2823 glibc_satisfactory=yes
2826 glibc_satisfactory=no
2830 echo "$ac_t""$glibc_satisfactory" 1>&6
2834 # XXX at the moment, admit defeat and force the recompilation
2835 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2836 glibc_satisfactory=no
2838 if test x$glibc_satisfactory = x"yes"; then
2843 # bkoz XXX need to add checks to enable this
2844 # pme XXX here's a first pass at such a check
2845 if test x$enable_c_mbchar != xno; then
2853 # Using libio, but <libio.h> doesn't exist on the target system. . .
2855 # bkoz XXX need to add checks to enable this
2856 # pme XXX here's a first pass at such a check
2857 if test x$enable_c_mbchar != xno; then
2864 xstdio | x | xno | xnone | xyes)
2866 CSTDIO_H=config/io/c_io_stdio.h
2867 BASIC_FILE_H=config/io/basic_file_stdio.h
2868 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2869 echo "$ac_t""stdio" 1>&6
2871 # We're not using stdio.
2876 echo "$enable_cstdio is an unknown io package" 1>&2
2884 # 2000-08-04 bkoz hack
2885 CCODECVT_C=config/io/c_io_libio_codecvt.c
2887 # 2000-08-04 bkoz hack
2891 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2892 GLIBCPP_BUILD_LIBIO_TRUE=
2893 GLIBCPP_BUILD_LIBIO_FALSE='#'
2895 GLIBCPP_BUILD_LIBIO_TRUE='#'
2896 GLIBCPP_BUILD_LIBIO_FALSE=
2900 if test "$need_libio" = yes; then
2901 GLIBCPP_NEED_LIBIO_TRUE=
2902 GLIBCPP_NEED_LIBIO_FALSE='#'
2904 GLIBCPP_NEED_LIBIO_TRUE='#'
2905 GLIBCPP_NEED_LIBIO_FALSE=
2909 if test "$need_wlibio" = yes; then
2910 GLIBCPP_NEED_WLIBIO_TRUE=
2911 GLIBCPP_NEED_WLIBIO_FALSE='#'
2913 GLIBCPP_NEED_WLIBIO_TRUE='#'
2914 GLIBCPP_NEED_WLIBIO_FALSE=
2916 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2917 libio_la=../libio/libio.la
2924 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2925 echo "configure:2926: checking for clocale to use" >&5
2926 # Check whether --enable-clocale or --disable-clocale was given.
2927 if test "${enable_clocale+set}" = set; then
2928 enableval="$enable_clocale"
2929 if test x$enable_clocale = xno; then
2937 enable_clocale_flag=$enable_clocale
2939 if test x$enable_clocale_flag = xno; then
2940 case x${target_os} in
2942 cat > conftest.$ac_ext <<EOF
2943 #line 2944 "configure"
2944 #include "confdefs.h"
2946 #include <features.h>
2947 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2953 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2955 enable_clocale_flag=gnu
2958 enable_clocale_flag=generic
2963 # Test for bugs early in glibc-2.2.x series
2964 if test x$enable_clocale_flag = xgnu; then
2965 if test "$cross_compiling" = yes; then
2966 enable_clocale_flag=generic
2968 cat > conftest.$ac_ext <<EOF
2969 #line 2970 "configure"
2970 #include "confdefs.h"
2972 #define _GNU_SOURCE 1
2975 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
2976 extern __typeof(newlocale) __newlocale;
2977 extern __typeof(duplocale) __duplocale;
2978 extern __typeof(strcoll_l) __strcoll_l;
2982 const char __one[] = "Äuglein Augmen";
2983 const char __two[] = "Äuglein";
2988 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
2989 loc_dup = __duplocale(loc);
2990 i = __strcoll_l(__one, __two, loc);
2991 j = __strcoll_l(__one, __two, loc_dup);
2996 if { (eval echo configure:2991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2998 enable_clocale_flag=gnu
3000 echo "configure: failed program was:" >&5
3001 cat conftest.$ac_ext >&5
3003 enable_clocale_flag=generic
3010 # ... at some point put __strxfrm_l tests in as well.
3013 enable_clocale_flag=generic
3018 # Check whether --enable-nls or --disable-nls was given.
3019 if test "${enable_nls+set}" = set; then
3020 enableval="$enable_nls"
3028 case x${enable_clocale_flag} in
3030 echo "$ac_t""generic" 1>&6
3032 CLOCALE_H=config/locale/generic/c_locale.h
3033 CLOCALE_CC=config/locale/generic/c_locale.cc
3034 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3035 CCOLLATE_CC=config/locale/generic/collate_members.cc
3036 CCTYPE_CC=config/locale/generic/ctype_members.cc
3037 CMESSAGES_H=config/locale/generic/messages_members.h
3038 CMESSAGES_CC=config/locale/generic/messages_members.cc
3039 CMONEY_CC=config/locale/generic/monetary_members.cc
3040 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3041 CTIME_CC=config/locale/generic/time_members.cc
3042 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3045 echo "$ac_t""gnu" 1>&6
3047 # Declare intention to use gettext, and add support for specific
3049 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3052 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3053 # Extract the first word of "msgfmt", so it can be a program name with args.
3054 set dummy msgfmt; ac_word=$2
3055 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3056 echo "configure:3050: checking for $ac_word" >&5
3057 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3058 echo $ac_n "(cached) $ac_c" 1>&6
3060 if test -n "$check_msgfmt"; then
3061 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3063 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3065 for ac_dir in $ac_dummy; do
3066 test -z "$ac_dir" && ac_dir=.
3067 if test -f $ac_dir/$ac_word; then
3068 ac_cv_prog_check_msgfmt="yes"
3073 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3076 check_msgfmt="$ac_cv_prog_check_msgfmt"
3077 if test -n "$check_msgfmt"; then
3078 echo "$ac_t""$check_msgfmt" 1>&6
3080 echo "$ac_t""no" 1>&6
3083 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3086 # Export the build objects.
3087 for ling in $ALL_LINGUAS; do \
3088 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3089 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3094 CLOCALE_H=config/locale/gnu/c_locale.h
3095 CLOCALE_CC=config/locale/gnu/c_locale.cc
3096 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3097 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3098 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3099 CMESSAGES_H=config/locale/gnu/messages_members.h
3100 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3101 CMONEY_CC=config/locale/gnu/monetary_members.cc
3102 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3103 CTIME_CC=config/locale/gnu/time_members.cc
3104 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3107 echo "$ac_t""generic" 1>&6
3109 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3110 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3111 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3112 CCOLLATE_CC=config/locale/generic/collate_members.cc
3113 CCTYPE_CC=config/locale/generic/ctype_members.cc
3114 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3115 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3116 CMONEY_CC=config/locale/generic/monetary_members.cc
3117 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3118 CTIME_CC=config/locale/generic/time_members.cc
3119 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3122 echo "$enable_clocale is an unknown locale package" 1>&2
3127 # This is where the testsuite looks for locale catalogs, using the
3128 # -DLOCALEDIR define during testsuite compilation.
3129 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3144 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3145 if test "${enable_c_mbchar+set}" = set; then
3146 enableval="$enable_c_mbchar"
3147 case "$enableval" in
3148 yes) enable_c_mbchar=yes ;;
3149 no) enable_c_mbchar=no ;;
3150 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3157 # Check whether --enable-c99 or --disable-c99 was given.
3158 if test "${enable_c99+set}" = set; then
3159 enableval="$enable_c99"
3160 case "$enableval" in
3161 yes) enable_c99=yes ;;
3162 no) enable_c99=no ;;
3163 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3172 ac_cpp='$CXXCPP $CPPFLAGS'
3173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3175 cross_compiling=$ac_cv_prog_cxx_cross
3178 # Check for the existence of <math.h> functions used if C99 is enabled.
3180 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3181 echo "configure:3173: checking for ISO C99 support in <math.h>" >&5
3182 cat > conftest.$ac_ext <<EOF
3183 #line 3175 "configure"
3184 #include "confdefs.h"
3190 if { (eval echo configure:3182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3193 echo "configure: failed program was:" >&5
3194 cat conftest.$ac_ext >&5
3199 cat > conftest.$ac_ext <<EOF
3200 #line 3192 "configure"
3201 #include "confdefs.h"
3207 if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3210 echo "configure: failed program was:" >&5
3211 cat conftest.$ac_ext >&5
3216 cat > conftest.$ac_ext <<EOF
3217 #line 3209 "configure"
3218 #include "confdefs.h"
3224 if { (eval echo configure:3216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3227 echo "configure: failed program was:" >&5
3228 cat conftest.$ac_ext >&5
3233 cat > conftest.$ac_ext <<EOF
3234 #line 3226 "configure"
3235 #include "confdefs.h"
3241 if { (eval echo configure:3233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3244 echo "configure: failed program was:" >&5
3245 cat conftest.$ac_ext >&5
3250 cat > conftest.$ac_ext <<EOF
3251 #line 3243 "configure"
3252 #include "confdefs.h"
3258 if { (eval echo configure:3250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3261 echo "configure: failed program was:" >&5
3262 cat conftest.$ac_ext >&5
3267 cat > conftest.$ac_ext <<EOF
3268 #line 3260 "configure"
3269 #include "confdefs.h"
3275 if { (eval echo configure:3267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3278 echo "configure: failed program was:" >&5
3279 cat conftest.$ac_ext >&5
3284 cat > conftest.$ac_ext <<EOF
3285 #line 3277 "configure"
3286 #include "confdefs.h"
3292 if { (eval echo configure:3284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3295 echo "configure: failed program was:" >&5
3296 cat conftest.$ac_ext >&5
3301 cat > conftest.$ac_ext <<EOF
3302 #line 3294 "configure"
3303 #include "confdefs.h"
3306 isgreaterequal(0.0,0.0);
3309 if { (eval echo configure:3301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3312 echo "configure: failed program was:" >&5
3313 cat conftest.$ac_ext >&5
3318 cat > conftest.$ac_ext <<EOF
3319 #line 3311 "configure"
3320 #include "confdefs.h"
3326 if { (eval echo configure:3318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3329 echo "configure: failed program was:" >&5
3330 cat conftest.$ac_ext >&5
3335 cat > conftest.$ac_ext <<EOF
3336 #line 3328 "configure"
3337 #include "confdefs.h"
3340 islessequal(0.0,0.0);
3343 if { (eval echo configure:3335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3346 echo "configure: failed program was:" >&5
3347 cat conftest.$ac_ext >&5
3352 cat > conftest.$ac_ext <<EOF
3353 #line 3345 "configure"
3354 #include "confdefs.h"
3357 islessgreater(0.0,0.0);
3360 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3363 echo "configure: failed program was:" >&5
3364 cat conftest.$ac_ext >&5
3369 cat > conftest.$ac_ext <<EOF
3370 #line 3362 "configure"
3371 #include "confdefs.h"
3374 isunordered(0.0,0.0);
3377 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3380 echo "configure: failed program was:" >&5
3381 cat conftest.$ac_ext >&5
3386 echo "$ac_t""$ac_c99_math" 1>&6
3388 # Check for the existence in <stdio.h> of vscanf, et. al.
3390 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3391 echo "configure:3383: checking for ISO C99 support in <stdio.h>" >&5
3392 cat > conftest.$ac_ext <<EOF
3393 #line 3385 "configure"
3394 #include "confdefs.h"
3397 snprintf("12", 0, "%i");
3400 if { (eval echo configure:3392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3403 echo "configure: failed program was:" >&5
3404 cat conftest.$ac_ext >&5
3409 cat > conftest.$ac_ext <<EOF
3410 #line 3402 "configure"
3411 #include "confdefs.h"
3414 void foo(char* fmt, ...)
3415 {va_list args; va_start(args, fmt);
3416 vfscanf(stderr, "%i", args);}
3421 if { (eval echo configure:3413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3424 echo "configure: failed program was:" >&5
3425 cat conftest.$ac_ext >&5
3430 cat > conftest.$ac_ext <<EOF
3431 #line 3423 "configure"
3432 #include "confdefs.h"
3435 void foo(char* fmt, ...)
3436 {va_list args; va_start(args, fmt);
3437 vscanf("%i", args);}
3442 if { (eval echo configure:3434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3445 echo "configure: failed program was:" >&5
3446 cat conftest.$ac_ext >&5
3451 cat > conftest.$ac_ext <<EOF
3452 #line 3444 "configure"
3453 #include "confdefs.h"
3456 void foo(char* fmt, ...)
3457 {va_list args; va_start(args, fmt);
3458 vsnprintf(fmt, 0, "%i", args);}
3463 if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3466 echo "configure: failed program was:" >&5
3467 cat conftest.$ac_ext >&5
3472 cat > conftest.$ac_ext <<EOF
3473 #line 3465 "configure"
3474 #include "confdefs.h"
3477 void foo(char* fmt, ...)
3478 {va_list args; va_start(args, fmt);
3479 vsscanf(fmt, "%i", args);}
3484 if { (eval echo configure:3476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3487 echo "configure: failed program was:" >&5
3488 cat conftest.$ac_ext >&5
3493 echo "$ac_t""$ac_c99_stdio" 1>&6
3495 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3497 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3498 echo "configure:3490: checking for lldiv_t declaration" >&5
3499 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3500 echo $ac_n "(cached) $ac_c" 1>&6
3503 cat > conftest.$ac_ext <<EOF
3504 #line 3496 "configure"
3505 #include "confdefs.h"
3511 if { (eval echo configure:3503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3515 echo "configure: failed program was:" >&5
3516 cat conftest.$ac_ext >&5
3524 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3526 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3527 echo "configure:3519: checking for ISO C99 support in <stdlib.h>" >&5
3528 cat > conftest.$ac_ext <<EOF
3529 #line 3521 "configure"
3530 #include "confdefs.h"
3533 char* tmp; strtof("gnu", &tmp);
3536 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3539 echo "configure: failed program was:" >&5
3540 cat conftest.$ac_ext >&5
3545 cat > conftest.$ac_ext <<EOF
3546 #line 3538 "configure"
3547 #include "confdefs.h"
3550 char* tmp; strtold("gnu", &tmp);
3553 if { (eval echo configure:3545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3556 echo "configure: failed program was:" >&5
3557 cat conftest.$ac_ext >&5
3562 cat > conftest.$ac_ext <<EOF
3563 #line 3555 "configure"
3564 #include "confdefs.h"
3570 if { (eval echo configure:3562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3573 echo "configure: failed program was:" >&5
3574 cat conftest.$ac_ext >&5
3579 cat > conftest.$ac_ext <<EOF
3580 #line 3572 "configure"
3581 #include "confdefs.h"
3587 if { (eval echo configure:3579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3590 echo "configure: failed program was:" >&5
3591 cat conftest.$ac_ext >&5
3596 cat > conftest.$ac_ext <<EOF
3597 #line 3589 "configure"
3598 #include "confdefs.h"
3604 if { (eval echo configure:3596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3607 echo "configure: failed program was:" >&5
3608 cat conftest.$ac_ext >&5
3613 cat > conftest.$ac_ext <<EOF
3614 #line 3606 "configure"
3615 #include "confdefs.h"
3621 if { (eval echo configure:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3624 echo "configure: failed program was:" >&5
3625 cat conftest.$ac_ext >&5
3630 if test x"$ac_c99_lldiv_t" = x"no"; then
3633 echo "$ac_t""$ac_c99_stdlib" 1>&6
3635 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3636 # XXX the wchar.h checks should be rolled into the general C99 bits.
3638 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3639 echo "configure:3631: checking for additional ISO C99 support in <wchar.h>" >&5
3640 cat > conftest.$ac_ext <<EOF
3641 #line 3633 "configure"
3642 #include "confdefs.h"
3645 wcstold(L"10.0", NULL);
3648 if { (eval echo configure:3640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3651 echo "configure: failed program was:" >&5
3652 cat conftest.$ac_ext >&5
3657 cat > conftest.$ac_ext <<EOF
3658 #line 3650 "configure"
3659 #include "confdefs.h"
3662 wcstoll(L"10", NULL, 10);
3665 if { (eval echo configure:3657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3668 echo "configure: failed program was:" >&5
3669 cat conftest.$ac_ext >&5
3674 cat > conftest.$ac_ext <<EOF
3675 #line 3667 "configure"
3676 #include "confdefs.h"
3679 wcstoull(L"10", NULL, 10);
3682 if { (eval echo configure:3674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3685 echo "configure: failed program was:" >&5
3686 cat conftest.$ac_ext >&5
3691 echo "$ac_t""$ac_c99_wchar" 1>&6
3693 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3694 echo "configure:3686: checking for enabled ISO C99 support" >&5
3695 if test x"$ac_c99_math" = x"no" ||
3696 test x"$ac_c99_stdio" = x"no" ||
3697 test x"$ac_c99_stdlib" = x"no" ||
3698 test x"$ac_c99_wchar" = x"no"; then
3701 echo "$ac_t""$enable_c99" 1>&6
3703 # Option parsed, now set things appropriately
3704 if test x"$enable_c99" = x"yes"; then
3705 cat >> confdefs.h <<\EOF
3706 #define _GLIBCPP_USE_C99 1
3712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3713 ac_cpp='$CPP $CPPFLAGS'
3714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3716 cross_compiling=$ac_cv_prog_cc_cross
3720 # Check whether --enable-long-long or --disable-long-long was given.
3721 if test "${enable_long_long+set}" = set; then
3722 enableval="$enable_long_long"
3723 case "$enableval" in
3724 yes) enable_long_long=yes ;;
3725 no) enable_long_long=no ;;
3726 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3729 enable_long_long=yes
3734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3735 ac_cpp='$CXXCPP $CPPFLAGS'
3736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3738 cross_compiling=$ac_cv_prog_cxx_cross
3741 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3742 echo "configure:3734: checking for enabled long long I/O support" >&5
3743 # iostreams require strtoll, strtoull to compile
3744 cat > conftest.$ac_ext <<EOF
3745 #line 3737 "configure"
3746 #include "confdefs.h"
3749 char* tmp; strtoll("gnu", &tmp, 10);
3752 if { (eval echo configure:3744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3755 echo "configure: failed program was:" >&5
3756 cat conftest.$ac_ext >&5
3761 cat > conftest.$ac_ext <<EOF
3762 #line 3754 "configure"
3763 #include "confdefs.h"
3766 char* tmp; strtoull("gnu", &tmp, 10);
3769 if { (eval echo configure:3761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3772 echo "configure: failed program was:" >&5
3773 cat conftest.$ac_ext >&5
3779 # Option parsed, now set things appropriately
3780 if test x"$enable_long_long" = xyes; then
3781 cat >> confdefs.h <<\EOF
3782 #define _GLIBCPP_USE_LONG_LONG 1
3786 echo "$ac_t""$enable_long_long" 1>&6
3789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3790 ac_cpp='$CPP $CPPFLAGS'
3791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3793 cross_compiling=$ac_cv_prog_cc_cross
3796 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3797 echo "configure:3789: checking for c header strategy to use" >&5
3798 # Check whether --enable-cheaders or --disable-cheaders was given.
3799 if test "${enable_cheaders+set}" = set; then
3800 enableval="$enable_cheaders"
3802 case "$enableval" in
3807 enable_cheaders=c_std
3810 enable_cheaders=c_shadow
3812 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3816 enable_cheaders=c_std
3819 echo "$ac_t""$enable_cheaders" 1>&6
3821 case "$enable_cheaders" in
3823 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3826 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3829 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3836 if test "$enable_cheaders" = c; then
3837 GLIBCPP_C_HEADERS_C_TRUE=
3838 GLIBCPP_C_HEADERS_C_FALSE='#'
3840 GLIBCPP_C_HEADERS_C_TRUE='#'
3841 GLIBCPP_C_HEADERS_C_FALSE=
3845 if test "$enable_cheaders" = c_std; then
3846 GLIBCPP_C_HEADERS_C_STD_TRUE=
3847 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3849 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3850 GLIBCPP_C_HEADERS_C_STD_FALSE=
3854 if test "$c_compatibility" = yes; then
3855 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3856 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3858 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3859 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3863 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3864 echo "configure:3856: checking for thread model used by GCC" >&5
3865 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3866 echo "$ac_t""$target_thread_file" 1>&6
3868 if test $target_thread_file != single; then
3869 cat >> confdefs.h <<\EOF
3870 #define HAVE_GTHR_DEFAULT 1
3873 cat >> confdefs.h <<\EOF
3874 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3879 glibcpp_thread_h=gthr-$target_thread_file.h
3882 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3883 if test "${enable_cxx_flags+set}" = set; then
3884 enableval="$enable_cxx_flags"
3885 case "x$enableval" in
3887 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3889 enable_cxx_flags='' ;;
3891 enable_cxx_flags="$enableval" ;;
3894 enable_cxx_flags='none'
3898 if test "$enable_cxx_flags" = "none"; then
3899 enable_cxx_flags='';
3902 if test -n "$enable_cxx_flags"; then
3903 for f in $enable_cxx_flags; do
3907 *) # and we're trying to pass /what/ exactly?
3908 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3912 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3916 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3917 echo "configure:3909: checking for exception model to use" >&5
3920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3921 ac_cpp='$CXXCPP $CPPFLAGS'
3922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3924 cross_compiling=$ac_cv_prog_cxx_cross
3926 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3927 if test "${enable_sjlj_exceptions+set}" = set; then
3928 enableval="$enable_sjlj_exceptions"
3931 cat > conftest.$ac_ext << EOF
3932 #line 3924 "configure"
3941 old_CXXFLAGS="$CXXFLAGS"
3943 if { (eval echo configure:3935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3944 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3945 enable_sjlj_exceptions=yes
3946 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3947 enable_sjlj_exceptions=no
3950 CXXFLAGS="$old_CXXFLAGS"
3954 if test x$enable_sjlj_exceptions = xyes; then
3955 cat >> confdefs.h <<\EOF
3956 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3959 ac_exception_model_name=sjlj
3960 elif test x$enable_sjlj_exceptions = xno; then
3961 ac_exception_model_name="call frame"
3963 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3967 ac_cpp='$CPP $CPPFLAGS'
3968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3970 cross_compiling=$ac_cv_prog_cc_cross
3972 echo "$ac_t""$ac_exception_model_name" 1>&6
3975 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
3976 echo "configure:3968: checking for use of libunwind" >&5
3977 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3978 if test "${enable_libunwind_exceptions+set}" = set; then
3979 enableval="$enable_libunwind_exceptions"
3980 use_libunwind_exceptions=$enableval
3982 use_libunwind_exceptions=no
3985 echo "$ac_t""$use_libunwind_exceptions" 1>&6
3986 if test x"$use_libunwind_exceptions" = xyes; then
3987 LIBUNWIND_FLAG="-lunwind"
3993 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3994 if test "${enable_concept_checks+set}" = set; then
3995 enableval="$enable_concept_checks"
3996 case "$enableval" in
3997 yes) enable_concept_checks=yes ;;
3998 no) enable_concept_checks=no ;;
3999 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4002 enable_concept_checks=no
4004 if test x"$enable_concept_checks" = xyes; then
4005 cat >> confdefs.h <<\EOF
4006 #define _GLIBCPP_CONCEPT_CHECKS 1
4012 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4013 for ac_hdr in string.h stdlib.h
4015 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4016 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4017 echo "configure:4009: checking for $ac_hdr" >&5
4018 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4019 echo $ac_n "(cached) $ac_c" 1>&6
4021 cat > conftest.$ac_ext <<EOF
4022 #line 4014 "configure"
4023 #include "confdefs.h"
4026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4027 { (eval echo configure:4019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4028 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4029 if test -z "$ac_err"; then
4031 eval "ac_cv_header_$ac_safe=yes"
4034 echo "configure: failed program was:" >&5
4035 cat conftest.$ac_ext >&5
4037 eval "ac_cv_header_$ac_safe=no"
4041 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4042 echo "$ac_t""yes" 1>&6
4043 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4044 cat >> confdefs.h <<EOF
4045 #define $ac_tr_hdr 1
4049 echo "$ac_t""no" 1>&6
4054 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4056 # We are being configured with some form of cross compiler.
4057 GLIBCPP_IS_CROSS_COMPILING=1
4059 # This lets us hard-code the functionality we know we'll have in the cross
4060 # target environment. "Let" is a sugar-coated word placed on an especially
4061 # dull and tedious hack, actually.
4063 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4064 # that involve linking, can't be used:
4065 # "cannot open sim-crt0.o"
4066 # "cannot open crt0.o"
4067 # etc. All this is because there currently exists no unified, consistent
4068 # way for top level CC information to be passed down to target directories:
4069 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4070 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4071 # crosses can be removed.
4073 # If Canadian cross, then don't pick up tools from the build directory.
4074 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4075 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4081 # Construct crosses by hand, eliminating bits that need ld...
4082 # GLIBCPP_CHECK_COMPILER_FEATURES
4083 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4084 # GLIBCPP_CHECK_MATH_SUPPORT
4086 case "$target_alias" in
4088 os_include_dir="os/gnu-linux"
4089 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4090 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4091 fp.h locale.h float.h inttypes.h
4093 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4094 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4095 echo "configure:4087: checking for $ac_hdr" >&5
4096 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4097 echo $ac_n "(cached) $ac_c" 1>&6
4099 cat > conftest.$ac_ext <<EOF
4100 #line 4092 "configure"
4101 #include "confdefs.h"
4104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4105 { (eval echo configure:4097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4107 if test -z "$ac_err"; then
4109 eval "ac_cv_header_$ac_safe=yes"
4112 echo "configure: failed program was:" >&5
4113 cat conftest.$ac_ext >&5
4115 eval "ac_cv_header_$ac_safe=no"
4119 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4120 echo "$ac_t""yes" 1>&6
4121 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4122 cat >> confdefs.h <<EOF
4123 #define $ac_tr_hdr 1
4127 echo "$ac_t""no" 1>&6
4131 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4134 # If we're not using GNU ld, then there's no point in even trying these
4135 # tests. Check for that first. We should have already tested for gld
4136 # by now (in libtool), but require it now just to be safe...
4137 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4138 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4141 # The name set by libtool depends on the version of libtool. Shame on us
4142 # for depending on an impl detail, but c'est la vie. Older versions used
4143 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4144 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4145 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4146 # set (hence we're using an older libtool), then set it.
4147 if test x${with_gnu_ld+set} != xset; then
4148 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4149 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4152 with_gnu_ld=$ac_cv_prog_gnu_ld
4156 # Start by getting the version number. I think the libtool test already
4157 # does some of this, but throws away the result.
4159 ldver=`$LD --version 2>/dev/null | head -1 | \
4160 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4162 glibcpp_gnu_ld_version=`echo $ldver | \
4163 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4165 # Set --gc-sections.
4166 if test "$with_gnu_ld" = "notbroken"; then
4167 # GNU ld it is! Joy and bunny rabbits!
4169 # All these tests are for C++; save the language and the compiler flags.
4170 # Need to do this so that g++ won't try to link in libstdc++
4171 ac_test_CFLAGS="${CFLAGS+set}"
4172 ac_save_CFLAGS="$CFLAGS"
4173 CFLAGS='-x c++ -Wl,--gc-sections'
4175 # Check for -Wl,--gc-sections
4176 # XXX This test is broken at the moment, as symbols required for
4177 # linking are now in libsupc++ (not built yet.....). In addition,
4178 # this test has cored on solaris in the past. In addition,
4179 # --gc-sections doesn't really work at the moment (keeps on discarding
4180 # used sections, first .eh_frame and now some of the glibc sections for
4181 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4182 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4183 echo "configure:4175: checking for ld that supports -Wl,--gc-sections" >&5
4184 if test "$cross_compiling" = yes; then
4185 ac_sectionLDflags=yes
4187 cat > conftest.$ac_ext <<EOF
4188 #line 4180 "configure"
4189 #include "confdefs.h"
4199 if { (eval echo configure:4191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4201 ac_sectionLDflags=yes
4203 echo "configure: failed program was:" >&5
4204 cat conftest.$ac_ext >&5
4206 ac_sectionLDflags=no
4211 if test "$ac_test_CFLAGS" = set; then
4212 CFLAGS="$ac_save_CFLAGS"
4214 # this is the suspicious part
4217 if test "$ac_sectionLDflags" = "yes"; then
4218 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4220 echo "$ac_t""$ac_sectionLDflags" 1>&6
4223 # Set linker optimization flags.
4224 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4225 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4232 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4233 echo "configure:4225: checking for main in -lm" >&5
4234 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4236 echo $ac_n "(cached) $ac_c" 1>&6
4238 ac_save_LIBS="$LIBS"
4240 cat > conftest.$ac_ext <<EOF
4241 #line 4233 "configure"
4242 #include "confdefs.h"
4248 if { (eval echo configure:4240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4250 eval "ac_cv_lib_$ac_lib_var=yes"
4252 echo "configure: failed program was:" >&5
4253 cat conftest.$ac_ext >&5
4255 eval "ac_cv_lib_$ac_lib_var=no"
4258 LIBS="$ac_save_LIBS"
4261 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4262 echo "$ac_t""yes" 1>&6
4263 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4264 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4265 cat >> confdefs.h <<EOF
4266 #define $ac_tr_lib 1
4272 echo "$ac_t""no" 1>&6
4275 for ac_func in nan copysignf
4277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4278 echo "configure:4270: checking for $ac_func" >&5
4279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4280 echo $ac_n "(cached) $ac_c" 1>&6
4282 cat > conftest.$ac_ext <<EOF
4283 #line 4275 "configure"
4284 #include "confdefs.h"
4285 /* System header to define __stub macros and hopefully few prototypes,
4286 which can conflict with char $ac_func(); below. */
4288 /* Override any gcc2 internal prototype to avoid an error. */
4289 /* We use char because int might match the return type of a gcc2
4290 builtin and then its argument prototype would still apply. */
4295 /* The GNU C library defines this for functions which it implements
4296 to always fail with ENOSYS. Some functions are actually named
4297 something starting with __ and the normal name is an alias. */
4298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4306 if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4308 eval "ac_cv_func_$ac_func=yes"
4310 echo "configure: failed program was:" >&5
4311 cat conftest.$ac_ext >&5
4313 eval "ac_cv_func_$ac_func=no"
4318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4319 echo "$ac_t""yes" 1>&6
4320 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4321 cat >> confdefs.h <<EOF
4322 #define $ac_tr_func 1
4326 echo "$ac_t""no" 1>&6
4327 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4332 for ac_func in __signbit
4334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4335 echo "configure:4327: checking for $ac_func" >&5
4336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4337 echo $ac_n "(cached) $ac_c" 1>&6
4339 cat > conftest.$ac_ext <<EOF
4340 #line 4332 "configure"
4341 #include "confdefs.h"
4342 /* System header to define __stub macros and hopefully few prototypes,
4343 which can conflict with char $ac_func(); below. */
4345 /* Override any gcc2 internal prototype to avoid an error. */
4346 /* We use char because int might match the return type of a gcc2
4347 builtin and then its argument prototype would still apply. */
4352 /* The GNU C library defines this for functions which it implements
4353 to always fail with ENOSYS. Some functions are actually named
4354 something starting with __ and the normal name is an alias. */
4355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4363 if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4365 eval "ac_cv_func_$ac_func=yes"
4367 echo "configure: failed program was:" >&5
4368 cat conftest.$ac_ext >&5
4370 eval "ac_cv_func_$ac_func=no"
4375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4376 echo "$ac_t""yes" 1>&6
4377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4378 cat >> confdefs.h <<EOF
4379 #define $ac_tr_func 1
4383 echo "$ac_t""no" 1>&6
4384 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4388 for ac_func in __signbitf
4390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4391 echo "configure:4383: checking for $ac_func" >&5
4392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4393 echo $ac_n "(cached) $ac_c" 1>&6
4395 cat > conftest.$ac_ext <<EOF
4396 #line 4388 "configure"
4397 #include "confdefs.h"
4398 /* System header to define __stub macros and hopefully few prototypes,
4399 which can conflict with char $ac_func(); below. */
4401 /* Override any gcc2 internal prototype to avoid an error. */
4402 /* We use char because int might match the return type of a gcc2
4403 builtin and then its argument prototype would still apply. */
4408 /* The GNU C library defines this for functions which it implements
4409 to always fail with ENOSYS. Some functions are actually named
4410 something starting with __ and the normal name is an alias. */
4411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4419 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4421 eval "ac_cv_func_$ac_func=yes"
4423 echo "configure: failed program was:" >&5
4424 cat conftest.$ac_ext >&5
4426 eval "ac_cv_func_$ac_func=no"
4431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4432 echo "$ac_t""yes" 1>&6
4433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4434 cat >> confdefs.h <<EOF
4435 #define $ac_tr_func 1
4439 echo "$ac_t""no" 1>&6
4440 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4445 if test x$ac_cv_func_copysignl = x"yes"; then
4446 for ac_func in __signbitl
4448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4449 echo "configure:4441: checking for $ac_func" >&5
4450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4451 echo $ac_n "(cached) $ac_c" 1>&6
4453 cat > conftest.$ac_ext <<EOF
4454 #line 4446 "configure"
4455 #include "confdefs.h"
4456 /* System header to define __stub macros and hopefully few prototypes,
4457 which can conflict with char $ac_func(); below. */
4459 /* Override any gcc2 internal prototype to avoid an error. */
4460 /* We use char because int might match the return type of a gcc2
4461 builtin and then its argument prototype would still apply. */
4466 /* The GNU C library defines this for functions which it implements
4467 to always fail with ENOSYS. Some functions are actually named
4468 something starting with __ and the normal name is an alias. */
4469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4477 if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4479 eval "ac_cv_func_$ac_func=yes"
4481 echo "configure: failed program was:" >&5
4482 cat conftest.$ac_ext >&5
4484 eval "ac_cv_func_$ac_func=no"
4489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4490 echo "$ac_t""yes" 1>&6
4491 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4492 cat >> confdefs.h <<EOF
4493 #define $ac_tr_func 1
4497 echo "$ac_t""no" 1>&6
4498 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4508 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4509 echo "configure:4501: checking for mbstate_t" >&5
4510 cat > conftest.$ac_ext <<EOF
4511 #line 4503 "configure"
4512 #include "confdefs.h"
4515 mbstate_t teststate;
4518 if { (eval echo configure:4510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4522 echo "configure: failed program was:" >&5
4523 cat conftest.$ac_ext >&5
4528 echo "$ac_t""$have_mbstate_t" 1>&6
4529 if test x"$have_mbstate_t" = xyes; then
4530 cat >> confdefs.h <<\EOF
4531 #define HAVE_MBSTATE_T 1
4536 for ac_hdr in wchar.h
4538 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4540 echo "configure:4532: checking for $ac_hdr" >&5
4541 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4542 echo $ac_n "(cached) $ac_c" 1>&6
4544 cat > conftest.$ac_ext <<EOF
4545 #line 4537 "configure"
4546 #include "confdefs.h"
4549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4550 { (eval echo configure:4542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4552 if test -z "$ac_err"; then
4554 eval "ac_cv_header_$ac_safe=yes"
4557 echo "configure: failed program was:" >&5
4558 cat conftest.$ac_ext >&5
4560 eval "ac_cv_header_$ac_safe=no"
4564 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4565 echo "$ac_t""yes" 1>&6
4566 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4567 cat >> confdefs.h <<EOF
4568 #define $ac_tr_hdr 1
4572 echo "$ac_t""no" 1>&6
4577 for ac_hdr in wctype.h
4579 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4581 echo "configure:4573: checking for $ac_hdr" >&5
4582 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4583 echo $ac_n "(cached) $ac_c" 1>&6
4585 cat > conftest.$ac_ext <<EOF
4586 #line 4578 "configure"
4587 #include "confdefs.h"
4590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4591 { (eval echo configure:4583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4593 if test -z "$ac_err"; then
4595 eval "ac_cv_header_$ac_safe=yes"
4598 echo "configure: failed program was:" >&5
4599 cat conftest.$ac_ext >&5
4601 eval "ac_cv_header_$ac_safe=no"
4605 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4606 echo "$ac_t""yes" 1>&6
4607 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4608 cat >> confdefs.h <<EOF
4609 #define $ac_tr_hdr 1
4613 echo "$ac_t""no" 1>&6
4619 if test x"$ac_has_wchar_h" = xyes &&
4620 test x"$ac_has_wctype_h" = xyes &&
4621 test x"$enable_c_mbchar" != xno; then
4623 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4624 echo "configure:4616: checking for WCHAR_MIN and WCHAR_MAX" >&5
4625 cat > conftest.$ac_ext <<EOF
4626 #line 4618 "configure"
4627 #include "confdefs.h"
4630 int i = WCHAR_MIN; int j = WCHAR_MAX;
4633 if { (eval echo configure:4625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4635 has_wchar_minmax=yes
4637 echo "configure: failed program was:" >&5
4638 cat conftest.$ac_ext >&5
4643 echo "$ac_t""$has_wchar_minmax" 1>&6
4645 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4646 echo "configure:4638: checking for WEOF" >&5
4647 cat > conftest.$ac_ext <<EOF
4648 #line 4640 "configure"
4649 #include "confdefs.h"
4657 if { (eval echo configure:4649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4661 echo "configure: failed program was:" >&5
4662 cat conftest.$ac_ext >&5
4667 echo "$ac_t""$has_weof" 1>&6
4670 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4673 echo "configure:4665: checking for $ac_func" >&5
4674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4675 echo $ac_n "(cached) $ac_c" 1>&6
4677 cat > conftest.$ac_ext <<EOF
4678 #line 4670 "configure"
4679 #include "confdefs.h"
4680 /* System header to define __stub macros and hopefully few prototypes,
4681 which can conflict with char $ac_func(); below. */
4683 /* Override any gcc2 internal prototype to avoid an error. */
4684 /* We use char because int might match the return type of a gcc2
4685 builtin and then its argument prototype would still apply. */
4690 /* The GNU C library defines this for functions which it implements
4691 to always fail with ENOSYS. Some functions are actually named
4692 something starting with __ and the normal name is an alias. */
4693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4701 if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4703 eval "ac_cv_func_$ac_func=yes"
4705 echo "configure: failed program was:" >&5
4706 cat conftest.$ac_ext >&5
4708 eval "ac_cv_func_$ac_func=no"
4713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4714 echo "$ac_t""yes" 1>&6
4715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4716 cat >> confdefs.h <<EOF
4717 #define $ac_tr_func 1
4721 echo "$ac_t""no" 1>&6
4728 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4729 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4730 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4731 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4732 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4733 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4736 echo "configure:4728: checking for $ac_func" >&5
4737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4738 echo $ac_n "(cached) $ac_c" 1>&6
4740 cat > conftest.$ac_ext <<EOF
4741 #line 4733 "configure"
4742 #include "confdefs.h"
4743 /* System header to define __stub macros and hopefully few prototypes,
4744 which can conflict with char $ac_func(); below. */
4746 /* Override any gcc2 internal prototype to avoid an error. */
4747 /* We use char because int might match the return type of a gcc2
4748 builtin and then its argument prototype would still apply. */
4753 /* The GNU C library defines this for functions which it implements
4754 to always fail with ENOSYS. Some functions are actually named
4755 something starting with __ and the normal name is an alias. */
4756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4764 if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4766 eval "ac_cv_func_$ac_func=yes"
4768 echo "configure: failed program was:" >&5
4769 cat conftest.$ac_ext >&5
4771 eval "ac_cv_func_$ac_func=no"
4776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4777 echo "$ac_t""yes" 1>&6
4778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4779 cat >> confdefs.h <<EOF
4780 #define $ac_tr_func 1
4784 echo "$ac_t""no" 1>&6
4791 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4792 echo "configure:4784: checking for ISO C99 wchar_t support" >&5
4793 if test x"$has_weof" = xyes &&
4794 test x"$has_wchar_minmax" = xyes &&
4795 test x"$ac_wfuncs" = xyes; then
4796 ac_isoC99_wchar_t=yes
4798 ac_isoC99_wchar_t=no
4800 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4802 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4803 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4804 echo "configure:4796: checking for iconv.h" >&5
4805 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4806 echo $ac_n "(cached) $ac_c" 1>&6
4808 cat > conftest.$ac_ext <<EOF
4809 #line 4801 "configure"
4810 #include "confdefs.h"
4813 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4814 { (eval echo configure:4806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4815 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4816 if test -z "$ac_err"; then
4818 eval "ac_cv_header_$ac_safe=yes"
4821 echo "configure: failed program was:" >&5
4822 cat conftest.$ac_ext >&5
4824 eval "ac_cv_header_$ac_safe=no"
4828 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4829 echo "$ac_t""yes" 1>&6
4832 echo "$ac_t""no" 1>&6
4836 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4837 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4838 echo "configure:4830: checking for langinfo.h" >&5
4839 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4840 echo $ac_n "(cached) $ac_c" 1>&6
4842 cat > conftest.$ac_ext <<EOF
4843 #line 4835 "configure"
4844 #include "confdefs.h"
4845 #include <langinfo.h>
4847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4848 { (eval echo configure:4840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4850 if test -z "$ac_err"; then
4852 eval "ac_cv_header_$ac_safe=yes"
4855 echo "configure: failed program was:" >&5
4856 cat conftest.$ac_ext >&5
4858 eval "ac_cv_header_$ac_safe=no"
4862 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4863 echo "$ac_t""yes" 1>&6
4864 ac_has_langinfo_h=yes
4866 echo "$ac_t""no" 1>&6
4867 ac_has_langinfo_h=no
4871 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4872 echo "configure:4864: checking for iconv in -liconv" >&5
4873 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4874 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4875 echo $ac_n "(cached) $ac_c" 1>&6
4877 ac_save_LIBS="$LIBS"
4878 LIBS="-liconv $LIBS"
4879 cat > conftest.$ac_ext <<EOF
4880 #line 4872 "configure"
4881 #include "confdefs.h"
4882 /* Override any gcc2 internal prototype to avoid an error. */
4883 /* We use char because int might match the return type of a gcc2
4884 builtin and then its argument prototype would still apply. */
4891 if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4893 eval "ac_cv_lib_$ac_lib_var=yes"
4895 echo "configure: failed program was:" >&5
4896 cat conftest.$ac_ext >&5
4898 eval "ac_cv_lib_$ac_lib_var=no"
4901 LIBS="$ac_save_LIBS"
4904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4905 echo "$ac_t""yes" 1>&6
4908 echo "$ac_t""no" 1>&6
4911 ac_save_LIBS="$LIBS"
4912 LIBS="$LIBS $libiconv"
4914 for ac_func in iconv_open iconv_close iconv nl_langinfo
4916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4917 echo "configure:4909: checking for $ac_func" >&5
4918 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4919 echo $ac_n "(cached) $ac_c" 1>&6
4921 cat > conftest.$ac_ext <<EOF
4922 #line 4914 "configure"
4923 #include "confdefs.h"
4924 /* System header to define __stub macros and hopefully few prototypes,
4925 which can conflict with char $ac_func(); below. */
4927 /* Override any gcc2 internal prototype to avoid an error. */
4928 /* We use char because int might match the return type of a gcc2
4929 builtin and then its argument prototype would still apply. */
4934 /* The GNU C library defines this for functions which it implements
4935 to always fail with ENOSYS. Some functions are actually named
4936 something starting with __ and the normal name is an alias. */
4937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4945 if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4947 eval "ac_cv_func_$ac_func=yes"
4949 echo "configure: failed program was:" >&5
4950 cat conftest.$ac_ext >&5
4952 eval "ac_cv_func_$ac_func=no"
4957 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4958 echo "$ac_t""yes" 1>&6
4959 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4960 cat >> confdefs.h <<EOF
4961 #define $ac_tr_func 1
4966 echo "$ac_t""no" 1>&6
4972 LIBS="$ac_save_LIBS"
4974 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4975 echo "configure:4967: checking for XPG2 wchar_t support" >&5
4976 if test x"$ac_has_iconv_h" = xyes &&
4977 test x"$ac_has_langinfo_h" = xyes &&
4978 test x"$ac_XPG2funcs" = xyes; then
4983 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4985 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4986 echo "configure:4978: checking for enabled wchar_t specializations" >&5
4987 if test x"$ac_isoC99_wchar_t" = xyes &&
4988 test x"$ac_XPG2_wchar_t" = xyes; then
4989 cat >> confdefs.h <<\EOF
4990 #define _GLIBCPP_USE_WCHAR_T 1
4993 echo "$ac_t"""yes"" 1>&6
4995 echo "$ac_t"""no"" 1>&6
4998 echo "configure: warning: wchar_t support disabled." 1>&2
5001 cat >> confdefs.h <<\EOF
5002 #define HAVE_COPYSIGN 1
5005 cat >> confdefs.h <<\EOF
5006 #define HAVE_COPYSIGNF 1
5009 cat >> confdefs.h <<\EOF
5010 #define HAVE_FINITE 1
5013 cat >> confdefs.h <<\EOF
5014 #define HAVE_FINITEF 1
5017 cat >> confdefs.h <<\EOF
5018 #define HAVE_FREXPF 1
5021 cat >> confdefs.h <<\EOF
5022 #define HAVE_HYPOTF 1
5025 cat >> confdefs.h <<\EOF
5026 #define HAVE_ISINF 1
5029 cat >> confdefs.h <<\EOF
5030 #define HAVE_ISINFF 1
5033 cat >> confdefs.h <<\EOF
5034 #define HAVE_ISNAN 1
5037 cat >> confdefs.h <<\EOF
5038 #define HAVE_ISNANF 1
5041 cat >> confdefs.h <<\EOF
5042 #define HAVE_SINCOS 1
5045 cat >> confdefs.h <<\EOF
5046 #define HAVE_SINCOSF 1
5049 if test x"long_double_math_on_this_cpu" = x"yes"; then
5050 cat >> confdefs.h <<\EOF
5051 #define HAVE_FINITEL 1
5054 cat >> confdefs.h <<\EOF
5055 #define HAVE_HYPOTL 1
5058 cat >> confdefs.h <<\EOF
5059 #define HAVE_ISINFL 1
5062 cat >> confdefs.h <<\EOF
5063 #define HAVE_ISNANL 1
5069 # Check for available headers.
5070 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5071 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5072 fp.h locale.h float.h inttypes.h
5074 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5075 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5076 echo "configure:5068: checking for $ac_hdr" >&5
5077 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5078 echo $ac_n "(cached) $ac_c" 1>&6
5080 cat > conftest.$ac_ext <<EOF
5081 #line 5073 "configure"
5082 #include "confdefs.h"
5085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5086 { (eval echo configure:5078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5088 if test -z "$ac_err"; then
5090 eval "ac_cv_header_$ac_safe=yes"
5093 echo "configure: failed program was:" >&5
5094 cat conftest.$ac_ext >&5
5096 eval "ac_cv_header_$ac_safe=no"
5100 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5101 echo "$ac_t""yes" 1>&6
5102 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5103 cat >> confdefs.h <<EOF
5104 #define $ac_tr_hdr 1
5108 echo "$ac_t""no" 1>&6
5112 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5115 # If we're not using GNU ld, then there's no point in even trying these
5116 # tests. Check for that first. We should have already tested for gld
5117 # by now (in libtool), but require it now just to be safe...
5118 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5119 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5122 # The name set by libtool depends on the version of libtool. Shame on us
5123 # for depending on an impl detail, but c'est la vie. Older versions used
5124 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5125 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5126 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5127 # set (hence we're using an older libtool), then set it.
5128 if test x${with_gnu_ld+set} != xset; then
5129 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5130 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5133 with_gnu_ld=$ac_cv_prog_gnu_ld
5137 # Start by getting the version number. I think the libtool test already
5138 # does some of this, but throws away the result.
5140 ldver=`$LD --version 2>/dev/null | head -1 | \
5141 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5143 glibcpp_gnu_ld_version=`echo $ldver | \
5144 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5146 # Set --gc-sections.
5147 if test "$with_gnu_ld" = "notbroken"; then
5148 # GNU ld it is! Joy and bunny rabbits!
5150 # All these tests are for C++; save the language and the compiler flags.
5151 # Need to do this so that g++ won't try to link in libstdc++
5152 ac_test_CFLAGS="${CFLAGS+set}"
5153 ac_save_CFLAGS="$CFLAGS"
5154 CFLAGS='-x c++ -Wl,--gc-sections'
5156 # Check for -Wl,--gc-sections
5157 # XXX This test is broken at the moment, as symbols required for
5158 # linking are now in libsupc++ (not built yet.....). In addition,
5159 # this test has cored on solaris in the past. In addition,
5160 # --gc-sections doesn't really work at the moment (keeps on discarding
5161 # used sections, first .eh_frame and now some of the glibc sections for
5162 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5163 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5164 echo "configure:5156: checking for ld that supports -Wl,--gc-sections" >&5
5165 if test "$cross_compiling" = yes; then
5166 ac_sectionLDflags=yes
5168 cat > conftest.$ac_ext <<EOF
5169 #line 5161 "configure"
5170 #include "confdefs.h"
5180 if { (eval echo configure:5172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5182 ac_sectionLDflags=yes
5184 echo "configure: failed program was:" >&5
5185 cat conftest.$ac_ext >&5
5187 ac_sectionLDflags=no
5192 if test "$ac_test_CFLAGS" = set; then
5193 CFLAGS="$ac_save_CFLAGS"
5195 # this is the suspicious part
5198 if test "$ac_sectionLDflags" = "yes"; then
5199 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5201 echo "$ac_t""$ac_sectionLDflags" 1>&6
5204 # Set linker optimization flags.
5205 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5206 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5213 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5214 echo "configure:5206: checking for main in -lm" >&5
5215 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5216 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5217 echo $ac_n "(cached) $ac_c" 1>&6
5219 ac_save_LIBS="$LIBS"
5221 cat > conftest.$ac_ext <<EOF
5222 #line 5214 "configure"
5223 #include "confdefs.h"
5229 if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5231 eval "ac_cv_lib_$ac_lib_var=yes"
5233 echo "configure: failed program was:" >&5
5234 cat conftest.$ac_ext >&5
5236 eval "ac_cv_lib_$ac_lib_var=no"
5239 LIBS="$ac_save_LIBS"
5242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5243 echo "$ac_t""yes" 1>&6
5244 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5245 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5246 cat >> confdefs.h <<EOF
5247 #define $ac_tr_lib 1
5253 echo "$ac_t""no" 1>&6
5256 for ac_func in nan copysignf
5258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5259 echo "configure:5251: checking for $ac_func" >&5
5260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5261 echo $ac_n "(cached) $ac_c" 1>&6
5263 cat > conftest.$ac_ext <<EOF
5264 #line 5256 "configure"
5265 #include "confdefs.h"
5266 /* System header to define __stub macros and hopefully few prototypes,
5267 which can conflict with char $ac_func(); below. */
5269 /* Override any gcc2 internal prototype to avoid an error. */
5270 /* We use char because int might match the return type of a gcc2
5271 builtin and then its argument prototype would still apply. */
5276 /* The GNU C library defines this for functions which it implements
5277 to always fail with ENOSYS. Some functions are actually named
5278 something starting with __ and the normal name is an alias. */
5279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5287 if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5289 eval "ac_cv_func_$ac_func=yes"
5291 echo "configure: failed program was:" >&5
5292 cat conftest.$ac_ext >&5
5294 eval "ac_cv_func_$ac_func=no"
5299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5300 echo "$ac_t""yes" 1>&6
5301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5302 cat >> confdefs.h <<EOF
5303 #define $ac_tr_func 1
5307 echo "$ac_t""no" 1>&6
5308 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5313 for ac_func in __signbit
5315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5316 echo "configure:5308: checking for $ac_func" >&5
5317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5318 echo $ac_n "(cached) $ac_c" 1>&6
5320 cat > conftest.$ac_ext <<EOF
5321 #line 5313 "configure"
5322 #include "confdefs.h"
5323 /* System header to define __stub macros and hopefully few prototypes,
5324 which can conflict with char $ac_func(); below. */
5326 /* Override any gcc2 internal prototype to avoid an error. */
5327 /* We use char because int might match the return type of a gcc2
5328 builtin and then its argument prototype would still apply. */
5333 /* The GNU C library defines this for functions which it implements
5334 to always fail with ENOSYS. Some functions are actually named
5335 something starting with __ and the normal name is an alias. */
5336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5344 if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5346 eval "ac_cv_func_$ac_func=yes"
5348 echo "configure: failed program was:" >&5
5349 cat conftest.$ac_ext >&5
5351 eval "ac_cv_func_$ac_func=no"
5356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5357 echo "$ac_t""yes" 1>&6
5358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5359 cat >> confdefs.h <<EOF
5360 #define $ac_tr_func 1
5364 echo "$ac_t""no" 1>&6
5365 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5369 for ac_func in __signbitf
5371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5372 echo "configure:5364: checking for $ac_func" >&5
5373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5374 echo $ac_n "(cached) $ac_c" 1>&6
5376 cat > conftest.$ac_ext <<EOF
5377 #line 5369 "configure"
5378 #include "confdefs.h"
5379 /* System header to define __stub macros and hopefully few prototypes,
5380 which can conflict with char $ac_func(); below. */
5382 /* Override any gcc2 internal prototype to avoid an error. */
5383 /* We use char because int might match the return type of a gcc2
5384 builtin and then its argument prototype would still apply. */
5389 /* The GNU C library defines this for functions which it implements
5390 to always fail with ENOSYS. Some functions are actually named
5391 something starting with __ and the normal name is an alias. */
5392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5400 if { (eval echo configure:5392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5402 eval "ac_cv_func_$ac_func=yes"
5404 echo "configure: failed program was:" >&5
5405 cat conftest.$ac_ext >&5
5407 eval "ac_cv_func_$ac_func=no"
5412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5413 echo "$ac_t""yes" 1>&6
5414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5415 cat >> confdefs.h <<EOF
5416 #define $ac_tr_func 1
5420 echo "$ac_t""no" 1>&6
5421 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5426 if test x$ac_cv_func_copysignl = x"yes"; then
5427 for ac_func in __signbitl
5429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5430 echo "configure:5422: checking for $ac_func" >&5
5431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5432 echo $ac_n "(cached) $ac_c" 1>&6
5434 cat > conftest.$ac_ext <<EOF
5435 #line 5427 "configure"
5436 #include "confdefs.h"
5437 /* System header to define __stub macros and hopefully few prototypes,
5438 which can conflict with char $ac_func(); below. */
5440 /* Override any gcc2 internal prototype to avoid an error. */
5441 /* We use char because int might match the return type of a gcc2
5442 builtin and then its argument prototype would still apply. */
5447 /* The GNU C library defines this for functions which it implements
5448 to always fail with ENOSYS. Some functions are actually named
5449 something starting with __ and the normal name is an alias. */
5450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5458 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5460 eval "ac_cv_func_$ac_func=yes"
5462 echo "configure: failed program was:" >&5
5463 cat conftest.$ac_ext >&5
5465 eval "ac_cv_func_$ac_func=no"
5470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5471 echo "$ac_t""yes" 1>&6
5472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5473 cat >> confdefs.h <<EOF
5474 #define $ac_tr_func 1
5478 echo "$ac_t""no" 1>&6
5479 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5489 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5490 echo "configure:5482: checking for mbstate_t" >&5
5491 cat > conftest.$ac_ext <<EOF
5492 #line 5484 "configure"
5493 #include "confdefs.h"
5496 mbstate_t teststate;
5499 if { (eval echo configure:5491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5503 echo "configure: failed program was:" >&5
5504 cat conftest.$ac_ext >&5
5509 echo "$ac_t""$have_mbstate_t" 1>&6
5510 if test x"$have_mbstate_t" = xyes; then
5511 cat >> confdefs.h <<\EOF
5512 #define HAVE_MBSTATE_T 1
5517 for ac_hdr in wchar.h
5519 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5520 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5521 echo "configure:5513: checking for $ac_hdr" >&5
5522 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5523 echo $ac_n "(cached) $ac_c" 1>&6
5525 cat > conftest.$ac_ext <<EOF
5526 #line 5518 "configure"
5527 #include "confdefs.h"
5530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5531 { (eval echo configure:5523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5533 if test -z "$ac_err"; then
5535 eval "ac_cv_header_$ac_safe=yes"
5538 echo "configure: failed program was:" >&5
5539 cat conftest.$ac_ext >&5
5541 eval "ac_cv_header_$ac_safe=no"
5545 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5546 echo "$ac_t""yes" 1>&6
5547 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5548 cat >> confdefs.h <<EOF
5549 #define $ac_tr_hdr 1
5553 echo "$ac_t""no" 1>&6
5558 for ac_hdr in wctype.h
5560 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5561 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5562 echo "configure:5554: checking for $ac_hdr" >&5
5563 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5564 echo $ac_n "(cached) $ac_c" 1>&6
5566 cat > conftest.$ac_ext <<EOF
5567 #line 5559 "configure"
5568 #include "confdefs.h"
5571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5572 { (eval echo configure:5564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5573 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5574 if test -z "$ac_err"; then
5576 eval "ac_cv_header_$ac_safe=yes"
5579 echo "configure: failed program was:" >&5
5580 cat conftest.$ac_ext >&5
5582 eval "ac_cv_header_$ac_safe=no"
5586 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5587 echo "$ac_t""yes" 1>&6
5588 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5589 cat >> confdefs.h <<EOF
5590 #define $ac_tr_hdr 1
5594 echo "$ac_t""no" 1>&6
5600 if test x"$ac_has_wchar_h" = xyes &&
5601 test x"$ac_has_wctype_h" = xyes &&
5602 test x"$enable_c_mbchar" != xno; then
5604 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5605 echo "configure:5597: checking for WCHAR_MIN and WCHAR_MAX" >&5
5606 cat > conftest.$ac_ext <<EOF
5607 #line 5599 "configure"
5608 #include "confdefs.h"
5611 int i = WCHAR_MIN; int j = WCHAR_MAX;
5614 if { (eval echo configure:5606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5616 has_wchar_minmax=yes
5618 echo "configure: failed program was:" >&5
5619 cat conftest.$ac_ext >&5
5624 echo "$ac_t""$has_wchar_minmax" 1>&6
5626 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5627 echo "configure:5619: checking for WEOF" >&5
5628 cat > conftest.$ac_ext <<EOF
5629 #line 5621 "configure"
5630 #include "confdefs.h"
5638 if { (eval echo configure:5630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5642 echo "configure: failed program was:" >&5
5643 cat conftest.$ac_ext >&5
5648 echo "$ac_t""$has_weof" 1>&6
5651 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5654 echo "configure:5646: checking for $ac_func" >&5
5655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5656 echo $ac_n "(cached) $ac_c" 1>&6
5658 cat > conftest.$ac_ext <<EOF
5659 #line 5651 "configure"
5660 #include "confdefs.h"
5661 /* System header to define __stub macros and hopefully few prototypes,
5662 which can conflict with char $ac_func(); below. */
5664 /* Override any gcc2 internal prototype to avoid an error. */
5665 /* We use char because int might match the return type of a gcc2
5666 builtin and then its argument prototype would still apply. */
5671 /* The GNU C library defines this for functions which it implements
5672 to always fail with ENOSYS. Some functions are actually named
5673 something starting with __ and the normal name is an alias. */
5674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5682 if { (eval echo configure:5674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5684 eval "ac_cv_func_$ac_func=yes"
5686 echo "configure: failed program was:" >&5
5687 cat conftest.$ac_ext >&5
5689 eval "ac_cv_func_$ac_func=no"
5694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5695 echo "$ac_t""yes" 1>&6
5696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5697 cat >> confdefs.h <<EOF
5698 #define $ac_tr_func 1
5702 echo "$ac_t""no" 1>&6
5709 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5710 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5711 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5712 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5713 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5714 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5716 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5717 echo "configure:5709: checking for $ac_func" >&5
5718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5719 echo $ac_n "(cached) $ac_c" 1>&6
5721 cat > conftest.$ac_ext <<EOF
5722 #line 5714 "configure"
5723 #include "confdefs.h"
5724 /* System header to define __stub macros and hopefully few prototypes,
5725 which can conflict with char $ac_func(); below. */
5727 /* Override any gcc2 internal prototype to avoid an error. */
5728 /* We use char because int might match the return type of a gcc2
5729 builtin and then its argument prototype would still apply. */
5734 /* The GNU C library defines this for functions which it implements
5735 to always fail with ENOSYS. Some functions are actually named
5736 something starting with __ and the normal name is an alias. */
5737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5745 if { (eval echo configure:5737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5747 eval "ac_cv_func_$ac_func=yes"
5749 echo "configure: failed program was:" >&5
5750 cat conftest.$ac_ext >&5
5752 eval "ac_cv_func_$ac_func=no"
5757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5758 echo "$ac_t""yes" 1>&6
5759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5760 cat >> confdefs.h <<EOF
5761 #define $ac_tr_func 1
5765 echo "$ac_t""no" 1>&6
5772 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5773 echo "configure:5765: checking for ISO C99 wchar_t support" >&5
5774 if test x"$has_weof" = xyes &&
5775 test x"$has_wchar_minmax" = xyes &&
5776 test x"$ac_wfuncs" = xyes; then
5777 ac_isoC99_wchar_t=yes
5779 ac_isoC99_wchar_t=no
5781 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5783 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5784 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5785 echo "configure:5777: checking for iconv.h" >&5
5786 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5787 echo $ac_n "(cached) $ac_c" 1>&6
5789 cat > conftest.$ac_ext <<EOF
5790 #line 5782 "configure"
5791 #include "confdefs.h"
5794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5795 { (eval echo configure:5787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5797 if test -z "$ac_err"; then
5799 eval "ac_cv_header_$ac_safe=yes"
5802 echo "configure: failed program was:" >&5
5803 cat conftest.$ac_ext >&5
5805 eval "ac_cv_header_$ac_safe=no"
5809 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5810 echo "$ac_t""yes" 1>&6
5813 echo "$ac_t""no" 1>&6
5817 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5818 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5819 echo "configure:5811: checking for langinfo.h" >&5
5820 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5821 echo $ac_n "(cached) $ac_c" 1>&6
5823 cat > conftest.$ac_ext <<EOF
5824 #line 5816 "configure"
5825 #include "confdefs.h"
5826 #include <langinfo.h>
5828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5829 { (eval echo configure:5821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5830 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5831 if test -z "$ac_err"; then
5833 eval "ac_cv_header_$ac_safe=yes"
5836 echo "configure: failed program was:" >&5
5837 cat conftest.$ac_ext >&5
5839 eval "ac_cv_header_$ac_safe=no"
5843 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5844 echo "$ac_t""yes" 1>&6
5845 ac_has_langinfo_h=yes
5847 echo "$ac_t""no" 1>&6
5848 ac_has_langinfo_h=no
5852 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5853 echo "configure:5845: checking for iconv in -liconv" >&5
5854 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5856 echo $ac_n "(cached) $ac_c" 1>&6
5858 ac_save_LIBS="$LIBS"
5859 LIBS="-liconv $LIBS"
5860 cat > conftest.$ac_ext <<EOF
5861 #line 5853 "configure"
5862 #include "confdefs.h"
5863 /* Override any gcc2 internal prototype to avoid an error. */
5864 /* We use char because int might match the return type of a gcc2
5865 builtin and then its argument prototype would still apply. */
5872 if { (eval echo configure:5864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5874 eval "ac_cv_lib_$ac_lib_var=yes"
5876 echo "configure: failed program was:" >&5
5877 cat conftest.$ac_ext >&5
5879 eval "ac_cv_lib_$ac_lib_var=no"
5882 LIBS="$ac_save_LIBS"
5885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5886 echo "$ac_t""yes" 1>&6
5889 echo "$ac_t""no" 1>&6
5892 ac_save_LIBS="$LIBS"
5893 LIBS="$LIBS $libiconv"
5895 for ac_func in iconv_open iconv_close iconv nl_langinfo
5897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5898 echo "configure:5890: checking for $ac_func" >&5
5899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5900 echo $ac_n "(cached) $ac_c" 1>&6
5902 cat > conftest.$ac_ext <<EOF
5903 #line 5895 "configure"
5904 #include "confdefs.h"
5905 /* System header to define __stub macros and hopefully few prototypes,
5906 which can conflict with char $ac_func(); below. */
5908 /* Override any gcc2 internal prototype to avoid an error. */
5909 /* We use char because int might match the return type of a gcc2
5910 builtin and then its argument prototype would still apply. */
5915 /* The GNU C library defines this for functions which it implements
5916 to always fail with ENOSYS. Some functions are actually named
5917 something starting with __ and the normal name is an alias. */
5918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5926 if { (eval echo configure:5918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5928 eval "ac_cv_func_$ac_func=yes"
5930 echo "configure: failed program was:" >&5
5931 cat conftest.$ac_ext >&5
5933 eval "ac_cv_func_$ac_func=no"
5938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5939 echo "$ac_t""yes" 1>&6
5940 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5941 cat >> confdefs.h <<EOF
5942 #define $ac_tr_func 1
5947 echo "$ac_t""no" 1>&6
5953 LIBS="$ac_save_LIBS"
5955 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5956 echo "configure:5948: checking for XPG2 wchar_t support" >&5
5957 if test x"$ac_has_iconv_h" = xyes &&
5958 test x"$ac_has_langinfo_h" = xyes &&
5959 test x"$ac_XPG2funcs" = xyes; then
5964 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5966 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5967 echo "configure:5959: checking for enabled wchar_t specializations" >&5
5968 if test x"$ac_isoC99_wchar_t" = xyes &&
5969 test x"$ac_XPG2_wchar_t" = xyes; then
5970 cat >> confdefs.h <<\EOF
5971 #define _GLIBCPP_USE_WCHAR_T 1
5974 echo "$ac_t"""yes"" 1>&6
5976 echo "$ac_t"""no"" 1>&6
5979 echo "configure: warning: wchar_t support disabled." 1>&2
5982 os_include_dir="os/hpux"
5983 cat >> confdefs.h <<\EOF
5984 #define HAVE_COPYSIGN 1
5987 cat >> confdefs.h <<\EOF
5988 #define HAVE_COPYSIGNF 1
5991 cat >> confdefs.h <<\EOF
5992 #define HAVE_FREXPF 1
5995 cat >> confdefs.h <<\EOF
5996 #define HAVE_HYPOT 1
5999 case "$target_alias" in
6001 cat >> confdefs.h <<\EOF
6002 #define HAVE_FINITE 1
6005 cat >> confdefs.h <<\EOF
6006 #define HAVE_FINITEF 1
6009 cat >> confdefs.h <<\EOF
6010 #define HAVE_ISINF 1
6013 cat >> confdefs.h <<\EOF
6014 #define HAVE_ISINFF 1
6017 cat >> confdefs.h <<\EOF
6018 #define HAVE_ISNAN 1
6021 cat >> confdefs.h <<\EOF
6022 #define HAVE_ISNANF 1
6030 # Check for available headers.
6031 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6032 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6033 fp.h locale.h float.h inttypes.h
6035 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6036 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6037 echo "configure:6029: checking for $ac_hdr" >&5
6038 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6039 echo $ac_n "(cached) $ac_c" 1>&6
6041 cat > conftest.$ac_ext <<EOF
6042 #line 6034 "configure"
6043 #include "confdefs.h"
6046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6047 { (eval echo configure:6039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6049 if test -z "$ac_err"; then
6051 eval "ac_cv_header_$ac_safe=yes"
6054 echo "configure: failed program was:" >&5
6055 cat conftest.$ac_ext >&5
6057 eval "ac_cv_header_$ac_safe=no"
6061 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6062 echo "$ac_t""yes" 1>&6
6063 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6064 cat >> confdefs.h <<EOF
6065 #define $ac_tr_hdr 1
6069 echo "$ac_t""no" 1>&6
6073 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6076 # If we're not using GNU ld, then there's no point in even trying these
6077 # tests. Check for that first. We should have already tested for gld
6078 # by now (in libtool), but require it now just to be safe...
6079 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6080 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6083 # The name set by libtool depends on the version of libtool. Shame on us
6084 # for depending on an impl detail, but c'est la vie. Older versions used
6085 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6086 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6087 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6088 # set (hence we're using an older libtool), then set it.
6089 if test x${with_gnu_ld+set} != xset; then
6090 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6091 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6094 with_gnu_ld=$ac_cv_prog_gnu_ld
6098 # Start by getting the version number. I think the libtool test already
6099 # does some of this, but throws away the result.
6101 ldver=`$LD --version 2>/dev/null | head -1 | \
6102 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6104 glibcpp_gnu_ld_version=`echo $ldver | \
6105 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6107 # Set --gc-sections.
6108 if test "$with_gnu_ld" = "notbroken"; then
6109 # GNU ld it is! Joy and bunny rabbits!
6111 # All these tests are for C++; save the language and the compiler flags.
6112 # Need to do this so that g++ won't try to link in libstdc++
6113 ac_test_CFLAGS="${CFLAGS+set}"
6114 ac_save_CFLAGS="$CFLAGS"
6115 CFLAGS='-x c++ -Wl,--gc-sections'
6117 # Check for -Wl,--gc-sections
6118 # XXX This test is broken at the moment, as symbols required for
6119 # linking are now in libsupc++ (not built yet.....). In addition,
6120 # this test has cored on solaris in the past. In addition,
6121 # --gc-sections doesn't really work at the moment (keeps on discarding
6122 # used sections, first .eh_frame and now some of the glibc sections for
6123 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6124 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6125 echo "configure:6117: checking for ld that supports -Wl,--gc-sections" >&5
6126 if test "$cross_compiling" = yes; then
6127 ac_sectionLDflags=yes
6129 cat > conftest.$ac_ext <<EOF
6130 #line 6122 "configure"
6131 #include "confdefs.h"
6141 if { (eval echo configure:6133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6143 ac_sectionLDflags=yes
6145 echo "configure: failed program was:" >&5
6146 cat conftest.$ac_ext >&5
6148 ac_sectionLDflags=no
6153 if test "$ac_test_CFLAGS" = set; then
6154 CFLAGS="$ac_save_CFLAGS"
6156 # this is the suspicious part
6159 if test "$ac_sectionLDflags" = "yes"; then
6160 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6162 echo "$ac_t""$ac_sectionLDflags" 1>&6
6165 # Set linker optimization flags.
6166 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6167 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6174 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6175 echo "configure:6167: checking for main in -lm" >&5
6176 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6178 echo $ac_n "(cached) $ac_c" 1>&6
6180 ac_save_LIBS="$LIBS"
6182 cat > conftest.$ac_ext <<EOF
6183 #line 6175 "configure"
6184 #include "confdefs.h"
6190 if { (eval echo configure:6182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6192 eval "ac_cv_lib_$ac_lib_var=yes"
6194 echo "configure: failed program was:" >&5
6195 cat conftest.$ac_ext >&5
6197 eval "ac_cv_lib_$ac_lib_var=no"
6200 LIBS="$ac_save_LIBS"
6203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6204 echo "$ac_t""yes" 1>&6
6205 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6206 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6207 cat >> confdefs.h <<EOF
6208 #define $ac_tr_lib 1
6214 echo "$ac_t""no" 1>&6
6217 for ac_func in nan copysignf
6219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6220 echo "configure:6212: checking for $ac_func" >&5
6221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6222 echo $ac_n "(cached) $ac_c" 1>&6
6224 cat > conftest.$ac_ext <<EOF
6225 #line 6217 "configure"
6226 #include "confdefs.h"
6227 /* System header to define __stub macros and hopefully few prototypes,
6228 which can conflict with char $ac_func(); below. */
6230 /* Override any gcc2 internal prototype to avoid an error. */
6231 /* We use char because int might match the return type of a gcc2
6232 builtin and then its argument prototype would still apply. */
6237 /* The GNU C library defines this for functions which it implements
6238 to always fail with ENOSYS. Some functions are actually named
6239 something starting with __ and the normal name is an alias. */
6240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6248 if { (eval echo configure:6240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6250 eval "ac_cv_func_$ac_func=yes"
6252 echo "configure: failed program was:" >&5
6253 cat conftest.$ac_ext >&5
6255 eval "ac_cv_func_$ac_func=no"
6260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6261 echo "$ac_t""yes" 1>&6
6262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6263 cat >> confdefs.h <<EOF
6264 #define $ac_tr_func 1
6268 echo "$ac_t""no" 1>&6
6269 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6274 for ac_func in __signbit
6276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6277 echo "configure:6269: checking for $ac_func" >&5
6278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6279 echo $ac_n "(cached) $ac_c" 1>&6
6281 cat > conftest.$ac_ext <<EOF
6282 #line 6274 "configure"
6283 #include "confdefs.h"
6284 /* System header to define __stub macros and hopefully few prototypes,
6285 which can conflict with char $ac_func(); below. */
6287 /* Override any gcc2 internal prototype to avoid an error. */
6288 /* We use char because int might match the return type of a gcc2
6289 builtin and then its argument prototype would still apply. */
6294 /* The GNU C library defines this for functions which it implements
6295 to always fail with ENOSYS. Some functions are actually named
6296 something starting with __ and the normal name is an alias. */
6297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6305 if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6307 eval "ac_cv_func_$ac_func=yes"
6309 echo "configure: failed program was:" >&5
6310 cat conftest.$ac_ext >&5
6312 eval "ac_cv_func_$ac_func=no"
6317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6318 echo "$ac_t""yes" 1>&6
6319 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6320 cat >> confdefs.h <<EOF
6321 #define $ac_tr_func 1
6325 echo "$ac_t""no" 1>&6
6326 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6330 for ac_func in __signbitf
6332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6333 echo "configure:6325: checking for $ac_func" >&5
6334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6335 echo $ac_n "(cached) $ac_c" 1>&6
6337 cat > conftest.$ac_ext <<EOF
6338 #line 6330 "configure"
6339 #include "confdefs.h"
6340 /* System header to define __stub macros and hopefully few prototypes,
6341 which can conflict with char $ac_func(); below. */
6343 /* Override any gcc2 internal prototype to avoid an error. */
6344 /* We use char because int might match the return type of a gcc2
6345 builtin and then its argument prototype would still apply. */
6350 /* The GNU C library defines this for functions which it implements
6351 to always fail with ENOSYS. Some functions are actually named
6352 something starting with __ and the normal name is an alias. */
6353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6361 if { (eval echo configure:6353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6363 eval "ac_cv_func_$ac_func=yes"
6365 echo "configure: failed program was:" >&5
6366 cat conftest.$ac_ext >&5
6368 eval "ac_cv_func_$ac_func=no"
6373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6374 echo "$ac_t""yes" 1>&6
6375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6376 cat >> confdefs.h <<EOF
6377 #define $ac_tr_func 1
6381 echo "$ac_t""no" 1>&6
6382 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6387 if test x$ac_cv_func_copysignl = x"yes"; then
6388 for ac_func in __signbitl
6390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6391 echo "configure:6383: checking for $ac_func" >&5
6392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6393 echo $ac_n "(cached) $ac_c" 1>&6
6395 cat > conftest.$ac_ext <<EOF
6396 #line 6388 "configure"
6397 #include "confdefs.h"
6398 /* System header to define __stub macros and hopefully few prototypes,
6399 which can conflict with char $ac_func(); below. */
6401 /* Override any gcc2 internal prototype to avoid an error. */
6402 /* We use char because int might match the return type of a gcc2
6403 builtin and then its argument prototype would still apply. */
6408 /* The GNU C library defines this for functions which it implements
6409 to always fail with ENOSYS. Some functions are actually named
6410 something starting with __ and the normal name is an alias. */
6411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6419 if { (eval echo configure:6411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6421 eval "ac_cv_func_$ac_func=yes"
6423 echo "configure: failed program was:" >&5
6424 cat conftest.$ac_ext >&5
6426 eval "ac_cv_func_$ac_func=no"
6431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6432 echo "$ac_t""yes" 1>&6
6433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6434 cat >> confdefs.h <<EOF
6435 #define $ac_tr_func 1
6439 echo "$ac_t""no" 1>&6
6440 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6450 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6451 echo "configure:6443: checking for mbstate_t" >&5
6452 cat > conftest.$ac_ext <<EOF
6453 #line 6445 "configure"
6454 #include "confdefs.h"
6457 mbstate_t teststate;
6460 if { (eval echo configure:6452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6464 echo "configure: failed program was:" >&5
6465 cat conftest.$ac_ext >&5
6470 echo "$ac_t""$have_mbstate_t" 1>&6
6471 if test x"$have_mbstate_t" = xyes; then
6472 cat >> confdefs.h <<\EOF
6473 #define HAVE_MBSTATE_T 1
6478 for ac_hdr in wchar.h
6480 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6481 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6482 echo "configure:6474: checking for $ac_hdr" >&5
6483 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6484 echo $ac_n "(cached) $ac_c" 1>&6
6486 cat > conftest.$ac_ext <<EOF
6487 #line 6479 "configure"
6488 #include "confdefs.h"
6491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6492 { (eval echo configure:6484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6494 if test -z "$ac_err"; then
6496 eval "ac_cv_header_$ac_safe=yes"
6499 echo "configure: failed program was:" >&5
6500 cat conftest.$ac_ext >&5
6502 eval "ac_cv_header_$ac_safe=no"
6506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6507 echo "$ac_t""yes" 1>&6
6508 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6509 cat >> confdefs.h <<EOF
6510 #define $ac_tr_hdr 1
6514 echo "$ac_t""no" 1>&6
6519 for ac_hdr in wctype.h
6521 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6522 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6523 echo "configure:6515: checking for $ac_hdr" >&5
6524 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6525 echo $ac_n "(cached) $ac_c" 1>&6
6527 cat > conftest.$ac_ext <<EOF
6528 #line 6520 "configure"
6529 #include "confdefs.h"
6532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6533 { (eval echo configure:6525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6535 if test -z "$ac_err"; then
6537 eval "ac_cv_header_$ac_safe=yes"
6540 echo "configure: failed program was:" >&5
6541 cat conftest.$ac_ext >&5
6543 eval "ac_cv_header_$ac_safe=no"
6547 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6548 echo "$ac_t""yes" 1>&6
6549 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6550 cat >> confdefs.h <<EOF
6551 #define $ac_tr_hdr 1
6555 echo "$ac_t""no" 1>&6
6561 if test x"$ac_has_wchar_h" = xyes &&
6562 test x"$ac_has_wctype_h" = xyes &&
6563 test x"$enable_c_mbchar" != xno; then
6565 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6566 echo "configure:6558: checking for WCHAR_MIN and WCHAR_MAX" >&5
6567 cat > conftest.$ac_ext <<EOF
6568 #line 6560 "configure"
6569 #include "confdefs.h"
6572 int i = WCHAR_MIN; int j = WCHAR_MAX;
6575 if { (eval echo configure:6567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6577 has_wchar_minmax=yes
6579 echo "configure: failed program was:" >&5
6580 cat conftest.$ac_ext >&5
6585 echo "$ac_t""$has_wchar_minmax" 1>&6
6587 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6588 echo "configure:6580: checking for WEOF" >&5
6589 cat > conftest.$ac_ext <<EOF
6590 #line 6582 "configure"
6591 #include "confdefs.h"
6599 if { (eval echo configure:6591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6603 echo "configure: failed program was:" >&5
6604 cat conftest.$ac_ext >&5
6609 echo "$ac_t""$has_weof" 1>&6
6612 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6615 echo "configure:6607: checking for $ac_func" >&5
6616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6617 echo $ac_n "(cached) $ac_c" 1>&6
6619 cat > conftest.$ac_ext <<EOF
6620 #line 6612 "configure"
6621 #include "confdefs.h"
6622 /* System header to define __stub macros and hopefully few prototypes,
6623 which can conflict with char $ac_func(); below. */
6625 /* Override any gcc2 internal prototype to avoid an error. */
6626 /* We use char because int might match the return type of a gcc2
6627 builtin and then its argument prototype would still apply. */
6632 /* The GNU C library defines this for functions which it implements
6633 to always fail with ENOSYS. Some functions are actually named
6634 something starting with __ and the normal name is an alias. */
6635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6643 if { (eval echo configure:6635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6645 eval "ac_cv_func_$ac_func=yes"
6647 echo "configure: failed program was:" >&5
6648 cat conftest.$ac_ext >&5
6650 eval "ac_cv_func_$ac_func=no"
6655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6656 echo "$ac_t""yes" 1>&6
6657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6658 cat >> confdefs.h <<EOF
6659 #define $ac_tr_func 1
6663 echo "$ac_t""no" 1>&6
6670 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6671 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6672 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6673 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6674 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6675 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6678 echo "configure:6670: checking for $ac_func" >&5
6679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6680 echo $ac_n "(cached) $ac_c" 1>&6
6682 cat > conftest.$ac_ext <<EOF
6683 #line 6675 "configure"
6684 #include "confdefs.h"
6685 /* System header to define __stub macros and hopefully few prototypes,
6686 which can conflict with char $ac_func(); below. */
6688 /* Override any gcc2 internal prototype to avoid an error. */
6689 /* We use char because int might match the return type of a gcc2
6690 builtin and then its argument prototype would still apply. */
6695 /* The GNU C library defines this for functions which it implements
6696 to always fail with ENOSYS. Some functions are actually named
6697 something starting with __ and the normal name is an alias. */
6698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6706 if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6708 eval "ac_cv_func_$ac_func=yes"
6710 echo "configure: failed program was:" >&5
6711 cat conftest.$ac_ext >&5
6713 eval "ac_cv_func_$ac_func=no"
6718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6719 echo "$ac_t""yes" 1>&6
6720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6721 cat >> confdefs.h <<EOF
6722 #define $ac_tr_func 1
6726 echo "$ac_t""no" 1>&6
6733 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6734 echo "configure:6726: checking for ISO C99 wchar_t support" >&5
6735 if test x"$has_weof" = xyes &&
6736 test x"$has_wchar_minmax" = xyes &&
6737 test x"$ac_wfuncs" = xyes; then
6738 ac_isoC99_wchar_t=yes
6740 ac_isoC99_wchar_t=no
6742 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6744 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6745 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6746 echo "configure:6738: checking for iconv.h" >&5
6747 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6748 echo $ac_n "(cached) $ac_c" 1>&6
6750 cat > conftest.$ac_ext <<EOF
6751 #line 6743 "configure"
6752 #include "confdefs.h"
6755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6756 { (eval echo configure:6748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6758 if test -z "$ac_err"; then
6760 eval "ac_cv_header_$ac_safe=yes"
6763 echo "configure: failed program was:" >&5
6764 cat conftest.$ac_ext >&5
6766 eval "ac_cv_header_$ac_safe=no"
6770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6771 echo "$ac_t""yes" 1>&6
6774 echo "$ac_t""no" 1>&6
6778 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6779 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6780 echo "configure:6772: checking for langinfo.h" >&5
6781 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6782 echo $ac_n "(cached) $ac_c" 1>&6
6784 cat > conftest.$ac_ext <<EOF
6785 #line 6777 "configure"
6786 #include "confdefs.h"
6787 #include <langinfo.h>
6789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6790 { (eval echo configure:6782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6792 if test -z "$ac_err"; then
6794 eval "ac_cv_header_$ac_safe=yes"
6797 echo "configure: failed program was:" >&5
6798 cat conftest.$ac_ext >&5
6800 eval "ac_cv_header_$ac_safe=no"
6804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6805 echo "$ac_t""yes" 1>&6
6806 ac_has_langinfo_h=yes
6808 echo "$ac_t""no" 1>&6
6809 ac_has_langinfo_h=no
6813 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6814 echo "configure:6806: checking for iconv in -liconv" >&5
6815 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6816 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6817 echo $ac_n "(cached) $ac_c" 1>&6
6819 ac_save_LIBS="$LIBS"
6820 LIBS="-liconv $LIBS"
6821 cat > conftest.$ac_ext <<EOF
6822 #line 6814 "configure"
6823 #include "confdefs.h"
6824 /* Override any gcc2 internal prototype to avoid an error. */
6825 /* We use char because int might match the return type of a gcc2
6826 builtin and then its argument prototype would still apply. */
6833 if { (eval echo configure:6825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6835 eval "ac_cv_lib_$ac_lib_var=yes"
6837 echo "configure: failed program was:" >&5
6838 cat conftest.$ac_ext >&5
6840 eval "ac_cv_lib_$ac_lib_var=no"
6843 LIBS="$ac_save_LIBS"
6846 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6847 echo "$ac_t""yes" 1>&6
6850 echo "$ac_t""no" 1>&6
6853 ac_save_LIBS="$LIBS"
6854 LIBS="$LIBS $libiconv"
6856 for ac_func in iconv_open iconv_close iconv nl_langinfo
6858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6859 echo "configure:6851: checking for $ac_func" >&5
6860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6861 echo $ac_n "(cached) $ac_c" 1>&6
6863 cat > conftest.$ac_ext <<EOF
6864 #line 6856 "configure"
6865 #include "confdefs.h"
6866 /* System header to define __stub macros and hopefully few prototypes,
6867 which can conflict with char $ac_func(); below. */
6869 /* Override any gcc2 internal prototype to avoid an error. */
6870 /* We use char because int might match the return type of a gcc2
6871 builtin and then its argument prototype would still apply. */
6876 /* The GNU C library defines this for functions which it implements
6877 to always fail with ENOSYS. Some functions are actually named
6878 something starting with __ and the normal name is an alias. */
6879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6887 if { (eval echo configure:6879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6889 eval "ac_cv_func_$ac_func=yes"
6891 echo "configure: failed program was:" >&5
6892 cat conftest.$ac_ext >&5
6894 eval "ac_cv_func_$ac_func=no"
6899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6900 echo "$ac_t""yes" 1>&6
6901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6902 cat >> confdefs.h <<EOF
6903 #define $ac_tr_func 1
6908 echo "$ac_t""no" 1>&6
6914 LIBS="$ac_save_LIBS"
6916 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6917 echo "configure:6909: checking for XPG2 wchar_t support" >&5
6918 if test x"$ac_has_iconv_h" = xyes &&
6919 test x"$ac_has_langinfo_h" = xyes &&
6920 test x"$ac_XPG2funcs" = xyes; then
6925 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6927 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6928 echo "configure:6920: checking for enabled wchar_t specializations" >&5
6929 if test x"$ac_isoC99_wchar_t" = xyes &&
6930 test x"$ac_XPG2_wchar_t" = xyes; then
6931 cat >> confdefs.h <<\EOF
6932 #define _GLIBCPP_USE_WCHAR_T 1
6935 echo "$ac_t"""yes"" 1>&6
6937 echo "$ac_t"""no"" 1>&6
6940 echo "configure: warning: wchar_t support disabled." 1>&2
6943 os_include_dir="os/bsd/netbsd"
6944 cat >> confdefs.h <<\EOF
6945 #define HAVE_COPYSIGN 1
6948 cat >> confdefs.h <<\EOF
6949 #define HAVE_COPYSIGNF 1
6952 cat >> confdefs.h <<\EOF
6953 #define HAVE_FINITEF 1
6956 cat >> confdefs.h <<\EOF
6957 #define HAVE_FINITE 1
6960 cat >> confdefs.h <<\EOF
6961 #define HAVE_FREXPF 1
6964 cat >> confdefs.h <<\EOF
6965 #define HAVE_HYPOTF 1
6968 cat >> confdefs.h <<\EOF
6969 #define HAVE_ISINF 1
6972 cat >> confdefs.h <<\EOF
6973 #define HAVE_ISINFF 1
6976 cat >> confdefs.h <<\EOF
6977 #define HAVE_ISNAN 1
6980 cat >> confdefs.h <<\EOF
6981 #define HAVE_ISNANF 1
6984 if test x"long_double_math_on_this_cpu" = x"yes"; then
6985 cat >> confdefs.h <<\EOF
6986 #define HAVE_FINITEL 1
6989 cat >> confdefs.h <<\EOF
6990 #define HAVE_ISINFL 1
6993 cat >> confdefs.h <<\EOF
6994 #define HAVE_ISNANL 1
7000 for ac_hdr in sys/types.h locale.h float.h
7002 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7003 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7004 echo "configure:6996: checking for $ac_hdr" >&5
7005 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7006 echo $ac_n "(cached) $ac_c" 1>&6
7008 cat > conftest.$ac_ext <<EOF
7009 #line 7001 "configure"
7010 #include "confdefs.h"
7013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7014 { (eval echo configure:7006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7016 if test -z "$ac_err"; then
7018 eval "ac_cv_header_$ac_safe=yes"
7021 echo "configure: failed program was:" >&5
7022 cat conftest.$ac_ext >&5
7024 eval "ac_cv_header_$ac_safe=no"
7028 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7029 echo "$ac_t""yes" 1>&6
7030 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7031 cat >> confdefs.h <<EOF
7032 #define $ac_tr_hdr 1
7036 echo "$ac_t""no" 1>&6
7041 # If we're not using GNU ld, then there's no point in even trying these
7042 # tests. Check for that first. We should have already tested for gld
7043 # by now (in libtool), but require it now just to be safe...
7044 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7045 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7048 # The name set by libtool depends on the version of libtool. Shame on us
7049 # for depending on an impl detail, but c'est la vie. Older versions used
7050 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7051 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7052 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7053 # set (hence we're using an older libtool), then set it.
7054 if test x${with_gnu_ld+set} != xset; then
7055 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7056 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7059 with_gnu_ld=$ac_cv_prog_gnu_ld
7063 # Start by getting the version number. I think the libtool test already
7064 # does some of this, but throws away the result.
7066 ldver=`$LD --version 2>/dev/null | head -1 | \
7067 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7069 glibcpp_gnu_ld_version=`echo $ldver | \
7070 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7072 # Set --gc-sections.
7073 if test "$with_gnu_ld" = "notbroken"; then
7074 # GNU ld it is! Joy and bunny rabbits!
7076 # All these tests are for C++; save the language and the compiler flags.
7077 # Need to do this so that g++ won't try to link in libstdc++
7078 ac_test_CFLAGS="${CFLAGS+set}"
7079 ac_save_CFLAGS="$CFLAGS"
7080 CFLAGS='-x c++ -Wl,--gc-sections'
7082 # Check for -Wl,--gc-sections
7083 # XXX This test is broken at the moment, as symbols required for
7084 # linking are now in libsupc++ (not built yet.....). In addition,
7085 # this test has cored on solaris in the past. In addition,
7086 # --gc-sections doesn't really work at the moment (keeps on discarding
7087 # used sections, first .eh_frame and now some of the glibc sections for
7088 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7089 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7090 echo "configure:7082: checking for ld that supports -Wl,--gc-sections" >&5
7091 if test "$cross_compiling" = yes; then
7092 ac_sectionLDflags=yes
7094 cat > conftest.$ac_ext <<EOF
7095 #line 7087 "configure"
7096 #include "confdefs.h"
7106 if { (eval echo configure:7098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7108 ac_sectionLDflags=yes
7110 echo "configure: failed program was:" >&5
7111 cat conftest.$ac_ext >&5
7113 ac_sectionLDflags=no
7118 if test "$ac_test_CFLAGS" = set; then
7119 CFLAGS="$ac_save_CFLAGS"
7121 # this is the suspicious part
7124 if test "$ac_sectionLDflags" = "yes"; then
7125 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7127 echo "$ac_t""$ac_sectionLDflags" 1>&6
7130 # Set linker optimization flags.
7131 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7132 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7139 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7140 echo "configure:7132: checking for main in -lm" >&5
7141 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7143 echo $ac_n "(cached) $ac_c" 1>&6
7145 ac_save_LIBS="$LIBS"
7147 cat > conftest.$ac_ext <<EOF
7148 #line 7140 "configure"
7149 #include "confdefs.h"
7155 if { (eval echo configure:7147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7157 eval "ac_cv_lib_$ac_lib_var=yes"
7159 echo "configure: failed program was:" >&5
7160 cat conftest.$ac_ext >&5
7162 eval "ac_cv_lib_$ac_lib_var=no"
7165 LIBS="$ac_save_LIBS"
7168 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7169 echo "$ac_t""yes" 1>&6
7170 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7171 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7172 cat >> confdefs.h <<EOF
7173 #define $ac_tr_lib 1
7179 echo "$ac_t""no" 1>&6
7182 for ac_func in nan copysignf
7184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7185 echo "configure:7177: checking for $ac_func" >&5
7186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7187 echo $ac_n "(cached) $ac_c" 1>&6
7189 cat > conftest.$ac_ext <<EOF
7190 #line 7182 "configure"
7191 #include "confdefs.h"
7192 /* System header to define __stub macros and hopefully few prototypes,
7193 which can conflict with char $ac_func(); below. */
7195 /* Override any gcc2 internal prototype to avoid an error. */
7196 /* We use char because int might match the return type of a gcc2
7197 builtin and then its argument prototype would still apply. */
7202 /* The GNU C library defines this for functions which it implements
7203 to always fail with ENOSYS. Some functions are actually named
7204 something starting with __ and the normal name is an alias. */
7205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7213 if { (eval echo configure:7205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7215 eval "ac_cv_func_$ac_func=yes"
7217 echo "configure: failed program was:" >&5
7218 cat conftest.$ac_ext >&5
7220 eval "ac_cv_func_$ac_func=no"
7225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7226 echo "$ac_t""yes" 1>&6
7227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7228 cat >> confdefs.h <<EOF
7229 #define $ac_tr_func 1
7233 echo "$ac_t""no" 1>&6
7234 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7239 for ac_func in __signbit
7241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7242 echo "configure:7234: checking for $ac_func" >&5
7243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7244 echo $ac_n "(cached) $ac_c" 1>&6
7246 cat > conftest.$ac_ext <<EOF
7247 #line 7239 "configure"
7248 #include "confdefs.h"
7249 /* System header to define __stub macros and hopefully few prototypes,
7250 which can conflict with char $ac_func(); below. */
7252 /* Override any gcc2 internal prototype to avoid an error. */
7253 /* We use char because int might match the return type of a gcc2
7254 builtin and then its argument prototype would still apply. */
7259 /* The GNU C library defines this for functions which it implements
7260 to always fail with ENOSYS. Some functions are actually named
7261 something starting with __ and the normal name is an alias. */
7262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7270 if { (eval echo configure:7262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7272 eval "ac_cv_func_$ac_func=yes"
7274 echo "configure: failed program was:" >&5
7275 cat conftest.$ac_ext >&5
7277 eval "ac_cv_func_$ac_func=no"
7282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7283 echo "$ac_t""yes" 1>&6
7284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7285 cat >> confdefs.h <<EOF
7286 #define $ac_tr_func 1
7290 echo "$ac_t""no" 1>&6
7291 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7295 for ac_func in __signbitf
7297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7298 echo "configure:7290: checking for $ac_func" >&5
7299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7300 echo $ac_n "(cached) $ac_c" 1>&6
7302 cat > conftest.$ac_ext <<EOF
7303 #line 7295 "configure"
7304 #include "confdefs.h"
7305 /* System header to define __stub macros and hopefully few prototypes,
7306 which can conflict with char $ac_func(); below. */
7308 /* Override any gcc2 internal prototype to avoid an error. */
7309 /* We use char because int might match the return type of a gcc2
7310 builtin and then its argument prototype would still apply. */
7315 /* The GNU C library defines this for functions which it implements
7316 to always fail with ENOSYS. Some functions are actually named
7317 something starting with __ and the normal name is an alias. */
7318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7326 if { (eval echo configure:7318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7328 eval "ac_cv_func_$ac_func=yes"
7330 echo "configure: failed program was:" >&5
7331 cat conftest.$ac_ext >&5
7333 eval "ac_cv_func_$ac_func=no"
7338 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7339 echo "$ac_t""yes" 1>&6
7340 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7341 cat >> confdefs.h <<EOF
7342 #define $ac_tr_func 1
7346 echo "$ac_t""no" 1>&6
7347 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7352 if test x$ac_cv_func_copysignl = x"yes"; then
7353 for ac_func in __signbitl
7355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7356 echo "configure:7348: checking for $ac_func" >&5
7357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7358 echo $ac_n "(cached) $ac_c" 1>&6
7360 cat > conftest.$ac_ext <<EOF
7361 #line 7353 "configure"
7362 #include "confdefs.h"
7363 /* System header to define __stub macros and hopefully few prototypes,
7364 which can conflict with char $ac_func(); below. */
7366 /* Override any gcc2 internal prototype to avoid an error. */
7367 /* We use char because int might match the return type of a gcc2
7368 builtin and then its argument prototype would still apply. */
7373 /* The GNU C library defines this for functions which it implements
7374 to always fail with ENOSYS. Some functions are actually named
7375 something starting with __ and the normal name is an alias. */
7376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7384 if { (eval echo configure:7376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7386 eval "ac_cv_func_$ac_func=yes"
7388 echo "configure: failed program was:" >&5
7389 cat conftest.$ac_ext >&5
7391 eval "ac_cv_func_$ac_func=no"
7396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7397 echo "$ac_t""yes" 1>&6
7398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7399 cat >> confdefs.h <<EOF
7400 #define $ac_tr_func 1
7404 echo "$ac_t""no" 1>&6
7405 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7415 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7416 echo "configure:7408: checking for mbstate_t" >&5
7417 cat > conftest.$ac_ext <<EOF
7418 #line 7410 "configure"
7419 #include "confdefs.h"
7422 mbstate_t teststate;
7425 if { (eval echo configure:7417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7429 echo "configure: failed program was:" >&5
7430 cat conftest.$ac_ext >&5
7435 echo "$ac_t""$have_mbstate_t" 1>&6
7436 if test x"$have_mbstate_t" = xyes; then
7437 cat >> confdefs.h <<\EOF
7438 #define HAVE_MBSTATE_T 1
7443 for ac_hdr in wchar.h
7445 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7446 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7447 echo "configure:7439: checking for $ac_hdr" >&5
7448 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7449 echo $ac_n "(cached) $ac_c" 1>&6
7451 cat > conftest.$ac_ext <<EOF
7452 #line 7444 "configure"
7453 #include "confdefs.h"
7456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7457 { (eval echo configure:7449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7459 if test -z "$ac_err"; then
7461 eval "ac_cv_header_$ac_safe=yes"
7464 echo "configure: failed program was:" >&5
7465 cat conftest.$ac_ext >&5
7467 eval "ac_cv_header_$ac_safe=no"
7471 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7472 echo "$ac_t""yes" 1>&6
7473 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7474 cat >> confdefs.h <<EOF
7475 #define $ac_tr_hdr 1
7479 echo "$ac_t""no" 1>&6
7484 for ac_hdr in wctype.h
7486 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7487 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7488 echo "configure:7480: checking for $ac_hdr" >&5
7489 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7490 echo $ac_n "(cached) $ac_c" 1>&6
7492 cat > conftest.$ac_ext <<EOF
7493 #line 7485 "configure"
7494 #include "confdefs.h"
7497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7498 { (eval echo configure:7490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7500 if test -z "$ac_err"; then
7502 eval "ac_cv_header_$ac_safe=yes"
7505 echo "configure: failed program was:" >&5
7506 cat conftest.$ac_ext >&5
7508 eval "ac_cv_header_$ac_safe=no"
7512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7513 echo "$ac_t""yes" 1>&6
7514 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7515 cat >> confdefs.h <<EOF
7516 #define $ac_tr_hdr 1
7520 echo "$ac_t""no" 1>&6
7526 if test x"$ac_has_wchar_h" = xyes &&
7527 test x"$ac_has_wctype_h" = xyes &&
7528 test x"$enable_c_mbchar" != xno; then
7530 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7531 echo "configure:7523: checking for WCHAR_MIN and WCHAR_MAX" >&5
7532 cat > conftest.$ac_ext <<EOF
7533 #line 7525 "configure"
7534 #include "confdefs.h"
7537 int i = WCHAR_MIN; int j = WCHAR_MAX;
7540 if { (eval echo configure:7532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7542 has_wchar_minmax=yes
7544 echo "configure: failed program was:" >&5
7545 cat conftest.$ac_ext >&5
7550 echo "$ac_t""$has_wchar_minmax" 1>&6
7552 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7553 echo "configure:7545: checking for WEOF" >&5
7554 cat > conftest.$ac_ext <<EOF
7555 #line 7547 "configure"
7556 #include "confdefs.h"
7564 if { (eval echo configure:7556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7568 echo "configure: failed program was:" >&5
7569 cat conftest.$ac_ext >&5
7574 echo "$ac_t""$has_weof" 1>&6
7577 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7580 echo "configure:7572: checking for $ac_func" >&5
7581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7582 echo $ac_n "(cached) $ac_c" 1>&6
7584 cat > conftest.$ac_ext <<EOF
7585 #line 7577 "configure"
7586 #include "confdefs.h"
7587 /* System header to define __stub macros and hopefully few prototypes,
7588 which can conflict with char $ac_func(); below. */
7590 /* Override any gcc2 internal prototype to avoid an error. */
7591 /* We use char because int might match the return type of a gcc2
7592 builtin and then its argument prototype would still apply. */
7597 /* The GNU C library defines this for functions which it implements
7598 to always fail with ENOSYS. Some functions are actually named
7599 something starting with __ and the normal name is an alias. */
7600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7608 if { (eval echo configure:7600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7610 eval "ac_cv_func_$ac_func=yes"
7612 echo "configure: failed program was:" >&5
7613 cat conftest.$ac_ext >&5
7615 eval "ac_cv_func_$ac_func=no"
7620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7621 echo "$ac_t""yes" 1>&6
7622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7623 cat >> confdefs.h <<EOF
7624 #define $ac_tr_func 1
7628 echo "$ac_t""no" 1>&6
7635 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7636 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7637 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7638 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7639 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7640 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7643 echo "configure:7635: checking for $ac_func" >&5
7644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7645 echo $ac_n "(cached) $ac_c" 1>&6
7647 cat > conftest.$ac_ext <<EOF
7648 #line 7640 "configure"
7649 #include "confdefs.h"
7650 /* System header to define __stub macros and hopefully few prototypes,
7651 which can conflict with char $ac_func(); below. */
7653 /* Override any gcc2 internal prototype to avoid an error. */
7654 /* We use char because int might match the return type of a gcc2
7655 builtin and then its argument prototype would still apply. */
7660 /* The GNU C library defines this for functions which it implements
7661 to always fail with ENOSYS. Some functions are actually named
7662 something starting with __ and the normal name is an alias. */
7663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7671 if { (eval echo configure:7663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7673 eval "ac_cv_func_$ac_func=yes"
7675 echo "configure: failed program was:" >&5
7676 cat conftest.$ac_ext >&5
7678 eval "ac_cv_func_$ac_func=no"
7683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7684 echo "$ac_t""yes" 1>&6
7685 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7686 cat >> confdefs.h <<EOF
7687 #define $ac_tr_func 1
7691 echo "$ac_t""no" 1>&6
7698 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7699 echo "configure:7691: checking for ISO C99 wchar_t support" >&5
7700 if test x"$has_weof" = xyes &&
7701 test x"$has_wchar_minmax" = xyes &&
7702 test x"$ac_wfuncs" = xyes; then
7703 ac_isoC99_wchar_t=yes
7705 ac_isoC99_wchar_t=no
7707 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7709 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7710 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7711 echo "configure:7703: checking for iconv.h" >&5
7712 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7713 echo $ac_n "(cached) $ac_c" 1>&6
7715 cat > conftest.$ac_ext <<EOF
7716 #line 7708 "configure"
7717 #include "confdefs.h"
7720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7721 { (eval echo configure:7713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7722 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7723 if test -z "$ac_err"; then
7725 eval "ac_cv_header_$ac_safe=yes"
7728 echo "configure: failed program was:" >&5
7729 cat conftest.$ac_ext >&5
7731 eval "ac_cv_header_$ac_safe=no"
7735 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7736 echo "$ac_t""yes" 1>&6
7739 echo "$ac_t""no" 1>&6
7743 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7744 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7745 echo "configure:7737: checking for langinfo.h" >&5
7746 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7747 echo $ac_n "(cached) $ac_c" 1>&6
7749 cat > conftest.$ac_ext <<EOF
7750 #line 7742 "configure"
7751 #include "confdefs.h"
7752 #include <langinfo.h>
7754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7755 { (eval echo configure:7747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7757 if test -z "$ac_err"; then
7759 eval "ac_cv_header_$ac_safe=yes"
7762 echo "configure: failed program was:" >&5
7763 cat conftest.$ac_ext >&5
7765 eval "ac_cv_header_$ac_safe=no"
7769 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7770 echo "$ac_t""yes" 1>&6
7771 ac_has_langinfo_h=yes
7773 echo "$ac_t""no" 1>&6
7774 ac_has_langinfo_h=no
7778 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7779 echo "configure:7771: checking for iconv in -liconv" >&5
7780 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7782 echo $ac_n "(cached) $ac_c" 1>&6
7784 ac_save_LIBS="$LIBS"
7785 LIBS="-liconv $LIBS"
7786 cat > conftest.$ac_ext <<EOF
7787 #line 7779 "configure"
7788 #include "confdefs.h"
7789 /* Override any gcc2 internal prototype to avoid an error. */
7790 /* We use char because int might match the return type of a gcc2
7791 builtin and then its argument prototype would still apply. */
7798 if { (eval echo configure:7790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7800 eval "ac_cv_lib_$ac_lib_var=yes"
7802 echo "configure: failed program was:" >&5
7803 cat conftest.$ac_ext >&5
7805 eval "ac_cv_lib_$ac_lib_var=no"
7808 LIBS="$ac_save_LIBS"
7811 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7812 echo "$ac_t""yes" 1>&6
7815 echo "$ac_t""no" 1>&6
7818 ac_save_LIBS="$LIBS"
7819 LIBS="$LIBS $libiconv"
7821 for ac_func in iconv_open iconv_close iconv nl_langinfo
7823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7824 echo "configure:7816: checking for $ac_func" >&5
7825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7826 echo $ac_n "(cached) $ac_c" 1>&6
7828 cat > conftest.$ac_ext <<EOF
7829 #line 7821 "configure"
7830 #include "confdefs.h"
7831 /* System header to define __stub macros and hopefully few prototypes,
7832 which can conflict with char $ac_func(); below. */
7834 /* Override any gcc2 internal prototype to avoid an error. */
7835 /* We use char because int might match the return type of a gcc2
7836 builtin and then its argument prototype would still apply. */
7841 /* The GNU C library defines this for functions which it implements
7842 to always fail with ENOSYS. Some functions are actually named
7843 something starting with __ and the normal name is an alias. */
7844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7852 if { (eval echo configure:7844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7854 eval "ac_cv_func_$ac_func=yes"
7856 echo "configure: failed program was:" >&5
7857 cat conftest.$ac_ext >&5
7859 eval "ac_cv_func_$ac_func=no"
7864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7865 echo "$ac_t""yes" 1>&6
7866 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7867 cat >> confdefs.h <<EOF
7868 #define $ac_tr_func 1
7873 echo "$ac_t""no" 1>&6
7879 LIBS="$ac_save_LIBS"
7881 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7882 echo "configure:7874: checking for XPG2 wchar_t support" >&5
7883 if test x"$ac_has_iconv_h" = xyes &&
7884 test x"$ac_has_langinfo_h" = xyes &&
7885 test x"$ac_XPG2funcs" = xyes; then
7890 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7892 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7893 echo "configure:7885: checking for enabled wchar_t specializations" >&5
7894 if test x"$ac_isoC99_wchar_t" = xyes &&
7895 test x"$ac_XPG2_wchar_t" = xyes; then
7896 cat >> confdefs.h <<\EOF
7897 #define _GLIBCPP_USE_WCHAR_T 1
7900 echo "$ac_t"""yes"" 1>&6
7902 echo "$ac_t"""no"" 1>&6
7905 echo "configure: warning: wchar_t support disabled." 1>&2
7908 os_include_dir="os/mingw32"
7911 os_include_dir="os/windiss"
7914 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7917 # If we're not using GNU ld, then there's no point in even trying these
7918 # tests. Check for that first. We should have already tested for gld
7919 # by now (in libtool), but require it now just to be safe...
7920 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7921 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7924 # The name set by libtool depends on the version of libtool. Shame on us
7925 # for depending on an impl detail, but c'est la vie. Older versions used
7926 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7927 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7928 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7929 # set (hence we're using an older libtool), then set it.
7930 if test x${with_gnu_ld+set} != xset; then
7931 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7932 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7935 with_gnu_ld=$ac_cv_prog_gnu_ld
7939 # Start by getting the version number. I think the libtool test already
7940 # does some of this, but throws away the result.
7942 ldver=`$LD --version 2>/dev/null | head -1 | \
7943 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7945 glibcpp_gnu_ld_version=`echo $ldver | \
7946 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7948 # Set --gc-sections.
7949 if test "$with_gnu_ld" = "notbroken"; then
7950 # GNU ld it is! Joy and bunny rabbits!
7952 # All these tests are for C++; save the language and the compiler flags.
7953 # Need to do this so that g++ won't try to link in libstdc++
7954 ac_test_CFLAGS="${CFLAGS+set}"
7955 ac_save_CFLAGS="$CFLAGS"
7956 CFLAGS='-x c++ -Wl,--gc-sections'
7958 # Check for -Wl,--gc-sections
7959 # XXX This test is broken at the moment, as symbols required for
7960 # linking are now in libsupc++ (not built yet.....). In addition,
7961 # this test has cored on solaris in the past. In addition,
7962 # --gc-sections doesn't really work at the moment (keeps on discarding
7963 # used sections, first .eh_frame and now some of the glibc sections for
7964 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7965 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7966 echo "configure:7958: checking for ld that supports -Wl,--gc-sections" >&5
7967 if test "$cross_compiling" = yes; then
7968 ac_sectionLDflags=yes
7970 cat > conftest.$ac_ext <<EOF
7971 #line 7963 "configure"
7972 #include "confdefs.h"
7982 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7984 ac_sectionLDflags=yes
7986 echo "configure: failed program was:" >&5
7987 cat conftest.$ac_ext >&5
7989 ac_sectionLDflags=no
7994 if test "$ac_test_CFLAGS" = set; then
7995 CFLAGS="$ac_save_CFLAGS"
7997 # this is the suspicious part
8000 if test "$ac_sectionLDflags" = "yes"; then
8001 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8003 echo "$ac_t""$ac_sectionLDflags" 1>&6
8006 # Set linker optimization flags.
8007 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8008 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8015 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8016 echo "configure:8008: checking for main in -lm" >&5
8017 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8018 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8019 echo $ac_n "(cached) $ac_c" 1>&6
8021 ac_save_LIBS="$LIBS"
8023 cat > conftest.$ac_ext <<EOF
8024 #line 8016 "configure"
8025 #include "confdefs.h"
8031 if { (eval echo configure:8023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8033 eval "ac_cv_lib_$ac_lib_var=yes"
8035 echo "configure: failed program was:" >&5
8036 cat conftest.$ac_ext >&5
8038 eval "ac_cv_lib_$ac_lib_var=no"
8041 LIBS="$ac_save_LIBS"
8044 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8045 echo "$ac_t""yes" 1>&6
8046 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8047 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8048 cat >> confdefs.h <<EOF
8049 #define $ac_tr_lib 1
8055 echo "$ac_t""no" 1>&6
8058 for ac_func in nan copysignf
8060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8061 echo "configure:8053: checking for $ac_func" >&5
8062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8063 echo $ac_n "(cached) $ac_c" 1>&6
8065 cat > conftest.$ac_ext <<EOF
8066 #line 8058 "configure"
8067 #include "confdefs.h"
8068 /* System header to define __stub macros and hopefully few prototypes,
8069 which can conflict with char $ac_func(); below. */
8071 /* Override any gcc2 internal prototype to avoid an error. */
8072 /* We use char because int might match the return type of a gcc2
8073 builtin and then its argument prototype would still apply. */
8078 /* The GNU C library defines this for functions which it implements
8079 to always fail with ENOSYS. Some functions are actually named
8080 something starting with __ and the normal name is an alias. */
8081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8089 if { (eval echo configure:8081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8091 eval "ac_cv_func_$ac_func=yes"
8093 echo "configure: failed program was:" >&5
8094 cat conftest.$ac_ext >&5
8096 eval "ac_cv_func_$ac_func=no"
8101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8102 echo "$ac_t""yes" 1>&6
8103 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8104 cat >> confdefs.h <<EOF
8105 #define $ac_tr_func 1
8109 echo "$ac_t""no" 1>&6
8110 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8115 for ac_func in __signbit
8117 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8118 echo "configure:8110: checking for $ac_func" >&5
8119 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8120 echo $ac_n "(cached) $ac_c" 1>&6
8122 cat > conftest.$ac_ext <<EOF
8123 #line 8115 "configure"
8124 #include "confdefs.h"
8125 /* System header to define __stub macros and hopefully few prototypes,
8126 which can conflict with char $ac_func(); below. */
8128 /* Override any gcc2 internal prototype to avoid an error. */
8129 /* We use char because int might match the return type of a gcc2
8130 builtin and then its argument prototype would still apply. */
8135 /* The GNU C library defines this for functions which it implements
8136 to always fail with ENOSYS. Some functions are actually named
8137 something starting with __ and the normal name is an alias. */
8138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8146 if { (eval echo configure:8138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8148 eval "ac_cv_func_$ac_func=yes"
8150 echo "configure: failed program was:" >&5
8151 cat conftest.$ac_ext >&5
8153 eval "ac_cv_func_$ac_func=no"
8158 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8159 echo "$ac_t""yes" 1>&6
8160 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8161 cat >> confdefs.h <<EOF
8162 #define $ac_tr_func 1
8166 echo "$ac_t""no" 1>&6
8167 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8171 for ac_func in __signbitf
8173 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8174 echo "configure:8166: checking for $ac_func" >&5
8175 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8176 echo $ac_n "(cached) $ac_c" 1>&6
8178 cat > conftest.$ac_ext <<EOF
8179 #line 8171 "configure"
8180 #include "confdefs.h"
8181 /* System header to define __stub macros and hopefully few prototypes,
8182 which can conflict with char $ac_func(); below. */
8184 /* Override any gcc2 internal prototype to avoid an error. */
8185 /* We use char because int might match the return type of a gcc2
8186 builtin and then its argument prototype would still apply. */
8191 /* The GNU C library defines this for functions which it implements
8192 to always fail with ENOSYS. Some functions are actually named
8193 something starting with __ and the normal name is an alias. */
8194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8202 if { (eval echo configure:8194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8204 eval "ac_cv_func_$ac_func=yes"
8206 echo "configure: failed program was:" >&5
8207 cat conftest.$ac_ext >&5
8209 eval "ac_cv_func_$ac_func=no"
8214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8215 echo "$ac_t""yes" 1>&6
8216 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8217 cat >> confdefs.h <<EOF
8218 #define $ac_tr_func 1
8222 echo "$ac_t""no" 1>&6
8223 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8228 if test x$ac_cv_func_copysignl = x"yes"; then
8229 for ac_func in __signbitl
8231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8232 echo "configure:8224: checking for $ac_func" >&5
8233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8234 echo $ac_n "(cached) $ac_c" 1>&6
8236 cat > conftest.$ac_ext <<EOF
8237 #line 8229 "configure"
8238 #include "confdefs.h"
8239 /* System header to define __stub macros and hopefully few prototypes,
8240 which can conflict with char $ac_func(); below. */
8242 /* Override any gcc2 internal prototype to avoid an error. */
8243 /* We use char because int might match the return type of a gcc2
8244 builtin and then its argument prototype would still apply. */
8249 /* The GNU C library defines this for functions which it implements
8250 to always fail with ENOSYS. Some functions are actually named
8251 something starting with __ and the normal name is an alias. */
8252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8260 if { (eval echo configure:8252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8262 eval "ac_cv_func_$ac_func=yes"
8264 echo "configure: failed program was:" >&5
8265 cat conftest.$ac_ext >&5
8267 eval "ac_cv_func_$ac_func=no"
8272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8273 echo "$ac_t""yes" 1>&6
8274 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8275 cat >> confdefs.h <<EOF
8276 #define $ac_tr_func 1
8280 echo "$ac_t""no" 1>&6
8281 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8291 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8292 echo "configure:8284: checking for mbstate_t" >&5
8293 cat > conftest.$ac_ext <<EOF
8294 #line 8286 "configure"
8295 #include "confdefs.h"
8298 mbstate_t teststate;
8301 if { (eval echo configure:8293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8305 echo "configure: failed program was:" >&5
8306 cat conftest.$ac_ext >&5
8311 echo "$ac_t""$have_mbstate_t" 1>&6
8312 if test x"$have_mbstate_t" = xyes; then
8313 cat >> confdefs.h <<\EOF
8314 #define HAVE_MBSTATE_T 1
8319 for ac_hdr in wchar.h
8321 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8322 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8323 echo "configure:8315: checking for $ac_hdr" >&5
8324 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8325 echo $ac_n "(cached) $ac_c" 1>&6
8327 cat > conftest.$ac_ext <<EOF
8328 #line 8320 "configure"
8329 #include "confdefs.h"
8332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8333 { (eval echo configure:8325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8335 if test -z "$ac_err"; then
8337 eval "ac_cv_header_$ac_safe=yes"
8340 echo "configure: failed program was:" >&5
8341 cat conftest.$ac_ext >&5
8343 eval "ac_cv_header_$ac_safe=no"
8347 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8348 echo "$ac_t""yes" 1>&6
8349 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8350 cat >> confdefs.h <<EOF
8351 #define $ac_tr_hdr 1
8355 echo "$ac_t""no" 1>&6
8360 for ac_hdr in wctype.h
8362 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8363 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8364 echo "configure:8356: checking for $ac_hdr" >&5
8365 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8366 echo $ac_n "(cached) $ac_c" 1>&6
8368 cat > conftest.$ac_ext <<EOF
8369 #line 8361 "configure"
8370 #include "confdefs.h"
8373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8374 { (eval echo configure:8366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8376 if test -z "$ac_err"; then
8378 eval "ac_cv_header_$ac_safe=yes"
8381 echo "configure: failed program was:" >&5
8382 cat conftest.$ac_ext >&5
8384 eval "ac_cv_header_$ac_safe=no"
8388 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8389 echo "$ac_t""yes" 1>&6
8390 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8391 cat >> confdefs.h <<EOF
8392 #define $ac_tr_hdr 1
8396 echo "$ac_t""no" 1>&6
8402 if test x"$ac_has_wchar_h" = xyes &&
8403 test x"$ac_has_wctype_h" = xyes &&
8404 test x"$enable_c_mbchar" != xno; then
8406 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8407 echo "configure:8399: checking for WCHAR_MIN and WCHAR_MAX" >&5
8408 cat > conftest.$ac_ext <<EOF
8409 #line 8401 "configure"
8410 #include "confdefs.h"
8413 int i = WCHAR_MIN; int j = WCHAR_MAX;
8416 if { (eval echo configure:8408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8418 has_wchar_minmax=yes
8420 echo "configure: failed program was:" >&5
8421 cat conftest.$ac_ext >&5
8426 echo "$ac_t""$has_wchar_minmax" 1>&6
8428 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8429 echo "configure:8421: checking for WEOF" >&5
8430 cat > conftest.$ac_ext <<EOF
8431 #line 8423 "configure"
8432 #include "confdefs.h"
8440 if { (eval echo configure:8432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8444 echo "configure: failed program was:" >&5
8445 cat conftest.$ac_ext >&5
8450 echo "$ac_t""$has_weof" 1>&6
8453 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8456 echo "configure:8448: checking for $ac_func" >&5
8457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8458 echo $ac_n "(cached) $ac_c" 1>&6
8460 cat > conftest.$ac_ext <<EOF
8461 #line 8453 "configure"
8462 #include "confdefs.h"
8463 /* System header to define __stub macros and hopefully few prototypes,
8464 which can conflict with char $ac_func(); below. */
8466 /* Override any gcc2 internal prototype to avoid an error. */
8467 /* We use char because int might match the return type of a gcc2
8468 builtin and then its argument prototype would still apply. */
8473 /* The GNU C library defines this for functions which it implements
8474 to always fail with ENOSYS. Some functions are actually named
8475 something starting with __ and the normal name is an alias. */
8476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8484 if { (eval echo configure:8476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8486 eval "ac_cv_func_$ac_func=yes"
8488 echo "configure: failed program was:" >&5
8489 cat conftest.$ac_ext >&5
8491 eval "ac_cv_func_$ac_func=no"
8496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8497 echo "$ac_t""yes" 1>&6
8498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8499 cat >> confdefs.h <<EOF
8500 #define $ac_tr_func 1
8504 echo "$ac_t""no" 1>&6
8511 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8512 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8513 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8514 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8515 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8516 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8519 echo "configure:8511: checking for $ac_func" >&5
8520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8521 echo $ac_n "(cached) $ac_c" 1>&6
8523 cat > conftest.$ac_ext <<EOF
8524 #line 8516 "configure"
8525 #include "confdefs.h"
8526 /* System header to define __stub macros and hopefully few prototypes,
8527 which can conflict with char $ac_func(); below. */
8529 /* Override any gcc2 internal prototype to avoid an error. */
8530 /* We use char because int might match the return type of a gcc2
8531 builtin and then its argument prototype would still apply. */
8536 /* The GNU C library defines this for functions which it implements
8537 to always fail with ENOSYS. Some functions are actually named
8538 something starting with __ and the normal name is an alias. */
8539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8547 if { (eval echo configure:8539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8549 eval "ac_cv_func_$ac_func=yes"
8551 echo "configure: failed program was:" >&5
8552 cat conftest.$ac_ext >&5
8554 eval "ac_cv_func_$ac_func=no"
8559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8560 echo "$ac_t""yes" 1>&6
8561 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8562 cat >> confdefs.h <<EOF
8563 #define $ac_tr_func 1
8567 echo "$ac_t""no" 1>&6
8574 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8575 echo "configure:8567: checking for ISO C99 wchar_t support" >&5
8576 if test x"$has_weof" = xyes &&
8577 test x"$has_wchar_minmax" = xyes &&
8578 test x"$ac_wfuncs" = xyes; then
8579 ac_isoC99_wchar_t=yes
8581 ac_isoC99_wchar_t=no
8583 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8585 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8586 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8587 echo "configure:8579: checking for iconv.h" >&5
8588 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8589 echo $ac_n "(cached) $ac_c" 1>&6
8591 cat > conftest.$ac_ext <<EOF
8592 #line 8584 "configure"
8593 #include "confdefs.h"
8596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8597 { (eval echo configure:8589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8599 if test -z "$ac_err"; then
8601 eval "ac_cv_header_$ac_safe=yes"
8604 echo "configure: failed program was:" >&5
8605 cat conftest.$ac_ext >&5
8607 eval "ac_cv_header_$ac_safe=no"
8611 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8612 echo "$ac_t""yes" 1>&6
8615 echo "$ac_t""no" 1>&6
8619 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8620 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8621 echo "configure:8613: checking for langinfo.h" >&5
8622 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8623 echo $ac_n "(cached) $ac_c" 1>&6
8625 cat > conftest.$ac_ext <<EOF
8626 #line 8618 "configure"
8627 #include "confdefs.h"
8628 #include <langinfo.h>
8630 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8631 { (eval echo configure:8623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8632 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8633 if test -z "$ac_err"; then
8635 eval "ac_cv_header_$ac_safe=yes"
8638 echo "configure: failed program was:" >&5
8639 cat conftest.$ac_ext >&5
8641 eval "ac_cv_header_$ac_safe=no"
8645 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8646 echo "$ac_t""yes" 1>&6
8647 ac_has_langinfo_h=yes
8649 echo "$ac_t""no" 1>&6
8650 ac_has_langinfo_h=no
8654 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8655 echo "configure:8647: checking for iconv in -liconv" >&5
8656 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8657 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8658 echo $ac_n "(cached) $ac_c" 1>&6
8660 ac_save_LIBS="$LIBS"
8661 LIBS="-liconv $LIBS"
8662 cat > conftest.$ac_ext <<EOF
8663 #line 8655 "configure"
8664 #include "confdefs.h"
8665 /* Override any gcc2 internal prototype to avoid an error. */
8666 /* We use char because int might match the return type of a gcc2
8667 builtin and then its argument prototype would still apply. */
8674 if { (eval echo configure:8666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8676 eval "ac_cv_lib_$ac_lib_var=yes"
8678 echo "configure: failed program was:" >&5
8679 cat conftest.$ac_ext >&5
8681 eval "ac_cv_lib_$ac_lib_var=no"
8684 LIBS="$ac_save_LIBS"
8687 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8688 echo "$ac_t""yes" 1>&6
8691 echo "$ac_t""no" 1>&6
8694 ac_save_LIBS="$LIBS"
8695 LIBS="$LIBS $libiconv"
8697 for ac_func in iconv_open iconv_close iconv nl_langinfo
8699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8700 echo "configure:8692: checking for $ac_func" >&5
8701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8702 echo $ac_n "(cached) $ac_c" 1>&6
8704 cat > conftest.$ac_ext <<EOF
8705 #line 8697 "configure"
8706 #include "confdefs.h"
8707 /* System header to define __stub macros and hopefully few prototypes,
8708 which can conflict with char $ac_func(); below. */
8710 /* Override any gcc2 internal prototype to avoid an error. */
8711 /* We use char because int might match the return type of a gcc2
8712 builtin and then its argument prototype would still apply. */
8717 /* The GNU C library defines this for functions which it implements
8718 to always fail with ENOSYS. Some functions are actually named
8719 something starting with __ and the normal name is an alias. */
8720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8728 if { (eval echo configure:8720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8730 eval "ac_cv_func_$ac_func=yes"
8732 echo "configure: failed program was:" >&5
8733 cat conftest.$ac_ext >&5
8735 eval "ac_cv_func_$ac_func=no"
8740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8741 echo "$ac_t""yes" 1>&6
8742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8743 cat >> confdefs.h <<EOF
8744 #define $ac_tr_func 1
8749 echo "$ac_t""no" 1>&6
8755 LIBS="$ac_save_LIBS"
8757 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8758 echo "configure:8750: checking for XPG2 wchar_t support" >&5
8759 if test x"$ac_has_iconv_h" = xyes &&
8760 test x"$ac_has_langinfo_h" = xyes &&
8761 test x"$ac_XPG2funcs" = xyes; then
8766 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8768 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8769 echo "configure:8761: checking for enabled wchar_t specializations" >&5
8770 if test x"$ac_isoC99_wchar_t" = xyes &&
8771 test x"$ac_XPG2_wchar_t" = xyes; then
8772 cat >> confdefs.h <<\EOF
8773 #define _GLIBCPP_USE_WCHAR_T 1
8776 echo "$ac_t"""yes"" 1>&6
8778 echo "$ac_t"""no"" 1>&6
8781 echo "configure: warning: wchar_t support disabled." 1>&2
8784 os_include_dir="os/qnx/qnx6.1"
8785 cat >> confdefs.h <<\EOF
8789 cat >> confdefs.h <<\EOF
8793 cat >> confdefs.h <<\EOF
8794 #define HAVE_COSHF 1
8797 cat >> confdefs.h <<\EOF
8798 #define HAVE_COSHL 1
8801 cat >> confdefs.h <<\EOF
8805 cat >> confdefs.h <<\EOF
8809 cat >> confdefs.h <<\EOF
8810 #define HAVE_LOG10F 1
8813 cat >> confdefs.h <<\EOF
8814 #define HAVE_LOG10L 1
8817 cat >> confdefs.h <<\EOF
8821 cat >> confdefs.h <<\EOF
8825 cat >> confdefs.h <<\EOF
8826 #define HAVE_SINHF 1
8829 cat >> confdefs.h <<\EOF
8830 #define HAVE_SINHL 1
8835 os_include_dir="os/newlib"
8836 cat >> confdefs.h <<\EOF
8837 #define HAVE_HYPOT 1
8843 case "$target_alias" in
8847 cat >> confdefs.h <<\EOF
8848 #define HAVE_ACOSF 1
8851 cat >> confdefs.h <<\EOF
8852 #define HAVE_ASINF 1
8855 cat >> confdefs.h <<\EOF
8856 #define HAVE_ATAN2F 1
8859 cat >> confdefs.h <<\EOF
8860 #define HAVE_ATANF 1
8863 cat >> confdefs.h <<\EOF
8864 #define HAVE_CEILF 1
8867 cat >> confdefs.h <<\EOF
8868 #define HAVE_COPYSIGN 1
8871 cat >> confdefs.h <<\EOF
8872 #define HAVE_COPYSIGNF 1
8875 cat >> confdefs.h <<\EOF
8879 cat >> confdefs.h <<\EOF
8880 #define HAVE_COSHF 1
8883 cat >> confdefs.h <<\EOF
8887 cat >> confdefs.h <<\EOF
8888 #define HAVE_FABSF 1
8891 cat >> confdefs.h <<\EOF
8892 #define HAVE_FLOORF 1
8895 cat >> confdefs.h <<\EOF
8896 #define HAVE_FMODF 1
8899 cat >> confdefs.h <<\EOF
8900 #define HAVE_FREXPF 1
8903 cat >> confdefs.h <<\EOF
8904 #define HAVE_LDEXPF 1
8907 cat >> confdefs.h <<\EOF
8908 #define HAVE_LOG10F 1
8911 cat >> confdefs.h <<\EOF
8915 cat >> confdefs.h <<\EOF
8916 #define HAVE_MODFF 1
8919 cat >> confdefs.h <<\EOF
8923 cat >> confdefs.h <<\EOF
8927 cat >> confdefs.h <<\EOF
8928 #define HAVE_SINHF 1
8931 cat >> confdefs.h <<\EOF
8932 #define HAVE_SQRTF 1
8935 cat >> confdefs.h <<\EOF
8939 cat >> confdefs.h <<\EOF
8940 #define HAVE_TANHF 1
8945 # GLIBCPP_CHECK_STDLIB_SUPPORT
8946 cat >> confdefs.h <<\EOF
8947 #define HAVE_STRTOF 1
8950 cat >> confdefs.h <<\EOF
8951 #define HAVE_STRTOLD 1
8955 cat >> confdefs.h <<\EOF
8960 cat >> confdefs.h <<\EOF
8961 #define HAVE_ACOSF 1
8964 cat >> confdefs.h <<\EOF
8965 #define HAVE_ASINF 1
8968 cat >> confdefs.h <<\EOF
8969 #define HAVE_ATAN2F 1
8972 cat >> confdefs.h <<\EOF
8973 #define HAVE_ATANF 1
8976 cat >> confdefs.h <<\EOF
8977 #define HAVE_CEILF 1
8980 cat >> confdefs.h <<\EOF
8981 #define HAVE_COPYSIGN 1
8984 cat >> confdefs.h <<\EOF
8985 #define HAVE_COPYSIGNF 1
8988 cat >> confdefs.h <<\EOF
8992 cat >> confdefs.h <<\EOF
8993 #define HAVE_COSHF 1
8996 cat >> confdefs.h <<\EOF
9000 cat >> confdefs.h <<\EOF
9001 #define HAVE_FABSF 1
9004 cat >> confdefs.h <<\EOF
9005 #define HAVE_FLOORF 1
9008 cat >> confdefs.h <<\EOF
9009 #define HAVE_FMODF 1
9012 cat >> confdefs.h <<\EOF
9013 #define HAVE_FREXPF 1
9016 cat >> confdefs.h <<\EOF
9017 #define HAVE_LDEXPF 1
9020 cat >> confdefs.h <<\EOF
9021 #define HAVE_LOG10F 1
9024 cat >> confdefs.h <<\EOF
9028 cat >> confdefs.h <<\EOF
9029 #define HAVE_MODFF 1
9032 cat >> confdefs.h <<\EOF
9036 cat >> confdefs.h <<\EOF
9040 cat >> confdefs.h <<\EOF
9041 #define HAVE_SINHF 1
9044 cat >> confdefs.h <<\EOF
9045 #define HAVE_SQRTF 1
9048 cat >> confdefs.h <<\EOF
9052 cat >> confdefs.h <<\EOF
9053 #define HAVE_TANHF 1
9059 # At some point, we should differentiate between architectures
9060 # like x86, which have long double versions, and alpha/powerpc/etc.,
9061 # which don't. For the time being, punt.
9062 if test x"long_double_math_on_this_cpu" = x"yes"; then
9063 cat >> confdefs.h <<\EOF
9064 #define HAVE_ACOSL 1
9067 cat >> confdefs.h <<\EOF
9068 #define HAVE_ASINL 1
9071 cat >> confdefs.h <<\EOF
9072 #define HAVE_ATAN2L 1
9075 cat >> confdefs.h <<\EOF
9076 #define HAVE_ATANL 1
9079 cat >> confdefs.h <<\EOF
9080 #define HAVE_CEILL 1
9083 cat >> confdefs.h <<\EOF
9084 #define HAVE_COPYSIGNL 1
9087 cat >> confdefs.h <<\EOF
9091 cat >> confdefs.h <<\EOF
9092 #define HAVE_COSHL 1
9095 cat >> confdefs.h <<\EOF
9099 cat >> confdefs.h <<\EOF
9100 #define HAVE_FABSL 1
9103 cat >> confdefs.h <<\EOF
9104 #define HAVE_FLOORL 1
9107 cat >> confdefs.h <<\EOF
9108 #define HAVE_FMODL 1
9111 cat >> confdefs.h <<\EOF
9112 #define HAVE_FREXPL 1
9115 cat >> confdefs.h <<\EOF
9116 #define HAVE_LDEXPL 1
9119 cat >> confdefs.h <<\EOF
9120 #define HAVE_LOG10L 1
9123 cat >> confdefs.h <<\EOF
9127 cat >> confdefs.h <<\EOF
9128 #define HAVE_MODFL 1
9131 cat >> confdefs.h <<\EOF
9135 cat >> confdefs.h <<\EOF
9136 #define HAVE_SINCOSL 1
9139 cat >> confdefs.h <<\EOF
9143 cat >> confdefs.h <<\EOF
9144 #define HAVE_SINHL 1
9147 cat >> confdefs.h <<\EOF
9148 #define HAVE_SQRTL 1
9151 cat >> confdefs.h <<\EOF
9155 cat >> confdefs.h <<\EOF
9156 #define HAVE_TANHL 1
9163 # We are being configured natively. We can do more elaborate tests
9164 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9166 GLIBCPP_IS_CROSS_COMPILING=0
9169 # Check for available headers.
9170 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9171 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9173 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9174 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9175 echo "configure:9167: checking for $ac_hdr" >&5
9176 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9177 echo $ac_n "(cached) $ac_c" 1>&6
9179 cat > conftest.$ac_ext <<EOF
9180 #line 9172 "configure"
9181 #include "confdefs.h"
9184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9185 { (eval echo configure:9177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9187 if test -z "$ac_err"; then
9189 eval "ac_cv_header_$ac_safe=yes"
9192 echo "configure: failed program was:" >&5
9193 cat conftest.$ac_ext >&5
9195 eval "ac_cv_header_$ac_safe=no"
9199 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9200 echo "$ac_t""yes" 1>&6
9201 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9202 cat >> confdefs.h <<EOF
9203 #define $ac_tr_hdr 1
9207 echo "$ac_t""no" 1>&6
9213 # All these tests are for C++; save the language and the compiler flags.
9214 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9215 # found in GLIBCPP_CONFIGURE.
9218 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9219 ac_cpp='$CXXCPP $CPPFLAGS'
9220 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9221 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9222 cross_compiling=$ac_cv_prog_cxx_cross
9224 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9225 ac_save_CXXFLAGS="$CXXFLAGS"
9227 # Check for maintainer-mode bits.
9228 if test x"$USE_MAINTAINER_MODE" = xno; then
9234 # Check for -ffunction-sections -fdata-sections
9235 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9236 echo "configure:9228: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9237 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9238 cat > conftest.$ac_ext <<EOF
9239 #line 9231 "configure"
9240 #include "confdefs.h"
9247 if { (eval echo configure:9239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9251 echo "configure: failed program was:" >&5
9252 cat conftest.$ac_ext >&5
9257 if test "$ac_test_CXXFLAGS" = set; then
9258 CXXFLAGS="$ac_save_CXXFLAGS"
9260 # this is the suspicious part
9263 if test x"$ac_fdsections" = x"yes" &&
9264 test x"$enable_debug" = x"no"; then
9265 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9267 echo "$ac_t""$ac_fdsections" 1>&6
9270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9271 ac_cpp='$CPP $CPPFLAGS'
9272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9274 cross_compiling=$ac_cv_prog_cc_cross
9280 # If we're not using GNU ld, then there's no point in even trying these
9281 # tests. Check for that first. We should have already tested for gld
9282 # by now (in libtool), but require it now just to be safe...
9283 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9284 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9287 # The name set by libtool depends on the version of libtool. Shame on us
9288 # for depending on an impl detail, but c'est la vie. Older versions used
9289 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9290 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9291 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9292 # set (hence we're using an older libtool), then set it.
9293 if test x${with_gnu_ld+set} != xset; then
9294 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9295 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9298 with_gnu_ld=$ac_cv_prog_gnu_ld
9302 # Start by getting the version number. I think the libtool test already
9303 # does some of this, but throws away the result.
9305 ldver=`$LD --version 2>/dev/null | head -1 | \
9306 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9308 glibcpp_gnu_ld_version=`echo $ldver | \
9309 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9311 # Set --gc-sections.
9312 if test "$with_gnu_ld" = "notbroken"; then
9313 # GNU ld it is! Joy and bunny rabbits!
9315 # All these tests are for C++; save the language and the compiler flags.
9316 # Need to do this so that g++ won't try to link in libstdc++
9317 ac_test_CFLAGS="${CFLAGS+set}"
9318 ac_save_CFLAGS="$CFLAGS"
9319 CFLAGS='-x c++ -Wl,--gc-sections'
9321 # Check for -Wl,--gc-sections
9322 # XXX This test is broken at the moment, as symbols required for
9323 # linking are now in libsupc++ (not built yet.....). In addition,
9324 # this test has cored on solaris in the past. In addition,
9325 # --gc-sections doesn't really work at the moment (keeps on discarding
9326 # used sections, first .eh_frame and now some of the glibc sections for
9327 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9328 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9329 echo "configure:9321: checking for ld that supports -Wl,--gc-sections" >&5
9330 if test "$cross_compiling" = yes; then
9331 ac_sectionLDflags=yes
9333 cat > conftest.$ac_ext <<EOF
9334 #line 9326 "configure"
9335 #include "confdefs.h"
9345 if { (eval echo configure:9337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9347 ac_sectionLDflags=yes
9349 echo "configure: failed program was:" >&5
9350 cat conftest.$ac_ext >&5
9352 ac_sectionLDflags=no
9357 if test "$ac_test_CFLAGS" = set; then
9358 CFLAGS="$ac_save_CFLAGS"
9360 # this is the suspicious part
9363 if test "$ac_sectionLDflags" = "yes"; then
9364 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9366 echo "$ac_t""$ac_sectionLDflags" 1>&6
9369 # Set linker optimization flags.
9370 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9371 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9379 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9380 echo "configure:9372: checking for __builtin_abs declaration" >&5
9381 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9382 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9383 echo $ac_n "(cached) $ac_c" 1>&6
9388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9389 ac_cpp='$CXXCPP $CPPFLAGS'
9390 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9391 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9392 cross_compiling=$ac_cv_prog_cxx_cross
9394 cat > conftest.$ac_ext <<EOF
9395 #line 9387 "configure"
9396 #include "confdefs.h"
9402 if { (eval echo configure:9394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9404 glibcpp_cv_func___builtin_abs_use=yes
9406 echo "configure: failed program was:" >&5
9407 cat conftest.$ac_ext >&5
9409 glibcpp_cv_func___builtin_abs_use=no
9413 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9414 ac_cpp='$CPP $CPPFLAGS'
9415 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9416 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9417 cross_compiling=$ac_cv_prog_cc_cross
9423 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9424 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9425 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9426 echo "configure:9418: checking for __builtin_abs linkage" >&5
9427 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9428 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9429 echo $ac_n "(cached) $ac_c" 1>&6
9432 cat > conftest.$ac_ext <<EOF
9433 #line 9425 "configure"
9434 #include "confdefs.h"
9440 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9442 glibcpp_cv_func___builtin_abs_link=yes
9444 echo "configure: failed program was:" >&5
9445 cat conftest.$ac_ext >&5
9447 glibcpp_cv_func___builtin_abs_link=no
9454 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9455 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9456 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9457 cat >> confdefs.h <<EOF
9458 #define ${ac_tr_func} 1
9465 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9466 echo "configure:9458: checking for __builtin_fabsf declaration" >&5
9467 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9468 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9469 echo $ac_n "(cached) $ac_c" 1>&6
9474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9475 ac_cpp='$CXXCPP $CPPFLAGS'
9476 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9477 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9478 cross_compiling=$ac_cv_prog_cxx_cross
9480 cat > conftest.$ac_ext <<EOF
9481 #line 9473 "configure"
9482 #include "confdefs.h"
9488 if { (eval echo configure:9480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9490 glibcpp_cv_func___builtin_fabsf_use=yes
9492 echo "configure: failed program was:" >&5
9493 cat conftest.$ac_ext >&5
9495 glibcpp_cv_func___builtin_fabsf_use=no
9499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9500 ac_cpp='$CPP $CPPFLAGS'
9501 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9502 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9503 cross_compiling=$ac_cv_prog_cc_cross
9509 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9510 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9511 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9512 echo "configure:9504: checking for __builtin_fabsf linkage" >&5
9513 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9514 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9515 echo $ac_n "(cached) $ac_c" 1>&6
9518 cat > conftest.$ac_ext <<EOF
9519 #line 9511 "configure"
9520 #include "confdefs.h"
9526 if { (eval echo configure:9518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9528 glibcpp_cv_func___builtin_fabsf_link=yes
9530 echo "configure: failed program was:" >&5
9531 cat conftest.$ac_ext >&5
9533 glibcpp_cv_func___builtin_fabsf_link=no
9540 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9541 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9542 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9543 cat >> confdefs.h <<EOF
9544 #define ${ac_tr_func} 1
9551 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9552 echo "configure:9544: checking for __builtin_fabs declaration" >&5
9553 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9554 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9555 echo $ac_n "(cached) $ac_c" 1>&6
9560 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9561 ac_cpp='$CXXCPP $CPPFLAGS'
9562 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9563 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9564 cross_compiling=$ac_cv_prog_cxx_cross
9566 cat > conftest.$ac_ext <<EOF
9567 #line 9559 "configure"
9568 #include "confdefs.h"
9574 if { (eval echo configure:9566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9576 glibcpp_cv_func___builtin_fabs_use=yes
9578 echo "configure: failed program was:" >&5
9579 cat conftest.$ac_ext >&5
9581 glibcpp_cv_func___builtin_fabs_use=no
9585 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9586 ac_cpp='$CPP $CPPFLAGS'
9587 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9588 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9589 cross_compiling=$ac_cv_prog_cc_cross
9595 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9596 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9597 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9598 echo "configure:9590: checking for __builtin_fabs linkage" >&5
9599 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9600 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9601 echo $ac_n "(cached) $ac_c" 1>&6
9604 cat > conftest.$ac_ext <<EOF
9605 #line 9597 "configure"
9606 #include "confdefs.h"
9612 if { (eval echo configure:9604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9614 glibcpp_cv_func___builtin_fabs_link=yes
9616 echo "configure: failed program was:" >&5
9617 cat conftest.$ac_ext >&5
9619 glibcpp_cv_func___builtin_fabs_link=no
9626 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9627 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9628 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9629 cat >> confdefs.h <<EOF
9630 #define ${ac_tr_func} 1
9637 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9638 echo "configure:9630: checking for __builtin_fabsl declaration" >&5
9639 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9640 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9641 echo $ac_n "(cached) $ac_c" 1>&6
9646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9647 ac_cpp='$CXXCPP $CPPFLAGS'
9648 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9649 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9650 cross_compiling=$ac_cv_prog_cxx_cross
9652 cat > conftest.$ac_ext <<EOF
9653 #line 9645 "configure"
9654 #include "confdefs.h"
9660 if { (eval echo configure:9652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9662 glibcpp_cv_func___builtin_fabsl_use=yes
9664 echo "configure: failed program was:" >&5
9665 cat conftest.$ac_ext >&5
9667 glibcpp_cv_func___builtin_fabsl_use=no
9671 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9672 ac_cpp='$CPP $CPPFLAGS'
9673 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9674 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9675 cross_compiling=$ac_cv_prog_cc_cross
9681 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9682 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9683 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9684 echo "configure:9676: checking for __builtin_fabsl linkage" >&5
9685 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9686 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9687 echo $ac_n "(cached) $ac_c" 1>&6
9690 cat > conftest.$ac_ext <<EOF
9691 #line 9683 "configure"
9692 #include "confdefs.h"
9698 if { (eval echo configure:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9700 glibcpp_cv_func___builtin_fabsl_link=yes
9702 echo "configure: failed program was:" >&5
9703 cat conftest.$ac_ext >&5
9705 glibcpp_cv_func___builtin_fabsl_link=no
9712 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9713 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9714 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9715 cat >> confdefs.h <<EOF
9716 #define ${ac_tr_func} 1
9723 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9724 echo "configure:9716: checking for __builtin_labs declaration" >&5
9725 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9726 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9727 echo $ac_n "(cached) $ac_c" 1>&6
9732 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9733 ac_cpp='$CXXCPP $CPPFLAGS'
9734 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9735 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9736 cross_compiling=$ac_cv_prog_cxx_cross
9738 cat > conftest.$ac_ext <<EOF
9739 #line 9731 "configure"
9740 #include "confdefs.h"
9746 if { (eval echo configure:9738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9748 glibcpp_cv_func___builtin_labs_use=yes
9750 echo "configure: failed program was:" >&5
9751 cat conftest.$ac_ext >&5
9753 glibcpp_cv_func___builtin_labs_use=no
9757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9758 ac_cpp='$CPP $CPPFLAGS'
9759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9761 cross_compiling=$ac_cv_prog_cc_cross
9767 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9768 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9769 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9770 echo "configure:9762: checking for __builtin_labs linkage" >&5
9771 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9772 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9773 echo $ac_n "(cached) $ac_c" 1>&6
9776 cat > conftest.$ac_ext <<EOF
9777 #line 9769 "configure"
9778 #include "confdefs.h"
9784 if { (eval echo configure:9776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9786 glibcpp_cv_func___builtin_labs_link=yes
9788 echo "configure: failed program was:" >&5
9789 cat conftest.$ac_ext >&5
9791 glibcpp_cv_func___builtin_labs_link=no
9798 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9799 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9800 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9801 cat >> confdefs.h <<EOF
9802 #define ${ac_tr_func} 1
9810 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9811 echo "configure:9803: checking for __builtin_sqrtf declaration" >&5
9812 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9813 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9814 echo $ac_n "(cached) $ac_c" 1>&6
9819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9820 ac_cpp='$CXXCPP $CPPFLAGS'
9821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9823 cross_compiling=$ac_cv_prog_cxx_cross
9825 cat > conftest.$ac_ext <<EOF
9826 #line 9818 "configure"
9827 #include "confdefs.h"
9833 if { (eval echo configure:9825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9835 glibcpp_cv_func___builtin_sqrtf_use=yes
9837 echo "configure: failed program was:" >&5
9838 cat conftest.$ac_ext >&5
9840 glibcpp_cv_func___builtin_sqrtf_use=no
9844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9845 ac_cpp='$CPP $CPPFLAGS'
9846 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9847 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9848 cross_compiling=$ac_cv_prog_cc_cross
9854 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9855 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9856 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9857 echo "configure:9849: checking for __builtin_sqrtf linkage" >&5
9858 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9859 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9860 echo $ac_n "(cached) $ac_c" 1>&6
9863 cat > conftest.$ac_ext <<EOF
9864 #line 9856 "configure"
9865 #include "confdefs.h"
9871 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9873 glibcpp_cv_func___builtin_sqrtf_link=yes
9875 echo "configure: failed program was:" >&5
9876 cat conftest.$ac_ext >&5
9878 glibcpp_cv_func___builtin_sqrtf_link=no
9885 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9886 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9887 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9888 cat >> confdefs.h <<EOF
9889 #define ${ac_tr_func} 1
9896 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9897 echo "configure:9889: checking for __builtin_sqrt declaration" >&5
9898 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9899 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9900 echo $ac_n "(cached) $ac_c" 1>&6
9905 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9906 ac_cpp='$CXXCPP $CPPFLAGS'
9907 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9908 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9909 cross_compiling=$ac_cv_prog_cxx_cross
9911 cat > conftest.$ac_ext <<EOF
9912 #line 9904 "configure"
9913 #include "confdefs.h"
9919 if { (eval echo configure:9911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9921 glibcpp_cv_func___builtin_sqrt_use=yes
9923 echo "configure: failed program was:" >&5
9924 cat conftest.$ac_ext >&5
9926 glibcpp_cv_func___builtin_sqrt_use=no
9930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9931 ac_cpp='$CPP $CPPFLAGS'
9932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9934 cross_compiling=$ac_cv_prog_cc_cross
9940 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9941 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9942 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9943 echo "configure:9935: checking for __builtin_sqrt linkage" >&5
9944 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9945 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9946 echo $ac_n "(cached) $ac_c" 1>&6
9949 cat > conftest.$ac_ext <<EOF
9950 #line 9942 "configure"
9951 #include "confdefs.h"
9957 if { (eval echo configure:9949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9959 glibcpp_cv_func___builtin_sqrt_link=yes
9961 echo "configure: failed program was:" >&5
9962 cat conftest.$ac_ext >&5
9964 glibcpp_cv_func___builtin_sqrt_link=no
9971 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9972 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9973 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9974 cat >> confdefs.h <<EOF
9975 #define ${ac_tr_func} 1
9982 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
9983 echo "configure:9975: checking for __builtin_sqrtl declaration" >&5
9984 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9985 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9986 echo $ac_n "(cached) $ac_c" 1>&6
9991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9992 ac_cpp='$CXXCPP $CPPFLAGS'
9993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9995 cross_compiling=$ac_cv_prog_cxx_cross
9997 cat > conftest.$ac_ext <<EOF
9998 #line 9990 "configure"
9999 #include "confdefs.h"
10002 __builtin_sqrtl(0);
10005 if { (eval echo configure:9997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10007 glibcpp_cv_func___builtin_sqrtl_use=yes
10009 echo "configure: failed program was:" >&5
10010 cat conftest.$ac_ext >&5
10012 glibcpp_cv_func___builtin_sqrtl_use=no
10016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10017 ac_cpp='$CPP $CPPFLAGS'
10018 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10019 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10020 cross_compiling=$ac_cv_prog_cc_cross
10026 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10027 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10028 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10029 echo "configure:10021: checking for __builtin_sqrtl linkage" >&5
10030 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10031 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10032 echo $ac_n "(cached) $ac_c" 1>&6
10035 cat > conftest.$ac_ext <<EOF
10036 #line 10028 "configure"
10037 #include "confdefs.h"
10040 __builtin_sqrtl(0);
10043 if { (eval echo configure:10035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10045 glibcpp_cv_func___builtin_sqrtl_link=yes
10047 echo "configure: failed program was:" >&5
10048 cat conftest.$ac_ext >&5
10050 glibcpp_cv_func___builtin_sqrtl_link=no
10057 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10058 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10059 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10060 cat >> confdefs.h <<EOF
10061 #define ${ac_tr_func} 1
10069 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10070 echo "configure:10062: checking for __builtin_sinf declaration" >&5
10071 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10072 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10073 echo $ac_n "(cached) $ac_c" 1>&6
10078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10079 ac_cpp='$CXXCPP $CPPFLAGS'
10080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10082 cross_compiling=$ac_cv_prog_cxx_cross
10084 cat > conftest.$ac_ext <<EOF
10085 #line 10077 "configure"
10086 #include "confdefs.h"
10092 if { (eval echo configure:10084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10094 glibcpp_cv_func___builtin_sinf_use=yes
10096 echo "configure: failed program was:" >&5
10097 cat conftest.$ac_ext >&5
10099 glibcpp_cv_func___builtin_sinf_use=no
10103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10104 ac_cpp='$CPP $CPPFLAGS'
10105 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10106 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10107 cross_compiling=$ac_cv_prog_cc_cross
10113 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10114 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10115 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10116 echo "configure:10108: checking for __builtin_sinf linkage" >&5
10117 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10118 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10119 echo $ac_n "(cached) $ac_c" 1>&6
10122 cat > conftest.$ac_ext <<EOF
10123 #line 10115 "configure"
10124 #include "confdefs.h"
10130 if { (eval echo configure:10122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10132 glibcpp_cv_func___builtin_sinf_link=yes
10134 echo "configure: failed program was:" >&5
10135 cat conftest.$ac_ext >&5
10137 glibcpp_cv_func___builtin_sinf_link=no
10144 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10145 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10146 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10147 cat >> confdefs.h <<EOF
10148 #define ${ac_tr_func} 1
10155 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10156 echo "configure:10148: checking for __builtin_sin declaration" >&5
10157 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10158 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10159 echo $ac_n "(cached) $ac_c" 1>&6
10164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10165 ac_cpp='$CXXCPP $CPPFLAGS'
10166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10168 cross_compiling=$ac_cv_prog_cxx_cross
10170 cat > conftest.$ac_ext <<EOF
10171 #line 10163 "configure"
10172 #include "confdefs.h"
10178 if { (eval echo configure:10170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10180 glibcpp_cv_func___builtin_sin_use=yes
10182 echo "configure: failed program was:" >&5
10183 cat conftest.$ac_ext >&5
10185 glibcpp_cv_func___builtin_sin_use=no
10189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10190 ac_cpp='$CPP $CPPFLAGS'
10191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10193 cross_compiling=$ac_cv_prog_cc_cross
10199 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10200 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10201 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10202 echo "configure:10194: checking for __builtin_sin linkage" >&5
10203 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10204 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10205 echo $ac_n "(cached) $ac_c" 1>&6
10208 cat > conftest.$ac_ext <<EOF
10209 #line 10201 "configure"
10210 #include "confdefs.h"
10216 if { (eval echo configure:10208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10218 glibcpp_cv_func___builtin_sin_link=yes
10220 echo "configure: failed program was:" >&5
10221 cat conftest.$ac_ext >&5
10223 glibcpp_cv_func___builtin_sin_link=no
10230 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10231 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10232 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10233 cat >> confdefs.h <<EOF
10234 #define ${ac_tr_func} 1
10241 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10242 echo "configure:10234: checking for __builtin_sinl declaration" >&5
10243 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10244 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10245 echo $ac_n "(cached) $ac_c" 1>&6
10250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10251 ac_cpp='$CXXCPP $CPPFLAGS'
10252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10254 cross_compiling=$ac_cv_prog_cxx_cross
10256 cat > conftest.$ac_ext <<EOF
10257 #line 10249 "configure"
10258 #include "confdefs.h"
10264 if { (eval echo configure:10256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10266 glibcpp_cv_func___builtin_sinl_use=yes
10268 echo "configure: failed program was:" >&5
10269 cat conftest.$ac_ext >&5
10271 glibcpp_cv_func___builtin_sinl_use=no
10275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10276 ac_cpp='$CPP $CPPFLAGS'
10277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10279 cross_compiling=$ac_cv_prog_cc_cross
10285 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10286 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10287 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10288 echo "configure:10280: checking for __builtin_sinl linkage" >&5
10289 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10290 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10291 echo $ac_n "(cached) $ac_c" 1>&6
10294 cat > conftest.$ac_ext <<EOF
10295 #line 10287 "configure"
10296 #include "confdefs.h"
10302 if { (eval echo configure:10294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10304 glibcpp_cv_func___builtin_sinl_link=yes
10306 echo "configure: failed program was:" >&5
10307 cat conftest.$ac_ext >&5
10309 glibcpp_cv_func___builtin_sinl_link=no
10316 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10317 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10318 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10319 cat >> confdefs.h <<EOF
10320 #define ${ac_tr_func} 1
10328 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10329 echo "configure:10321: checking for __builtin_cosf declaration" >&5
10330 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10331 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10332 echo $ac_n "(cached) $ac_c" 1>&6
10337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10338 ac_cpp='$CXXCPP $CPPFLAGS'
10339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10341 cross_compiling=$ac_cv_prog_cxx_cross
10343 cat > conftest.$ac_ext <<EOF
10344 #line 10336 "configure"
10345 #include "confdefs.h"
10351 if { (eval echo configure:10343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10353 glibcpp_cv_func___builtin_cosf_use=yes
10355 echo "configure: failed program was:" >&5
10356 cat conftest.$ac_ext >&5
10358 glibcpp_cv_func___builtin_cosf_use=no
10362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10363 ac_cpp='$CPP $CPPFLAGS'
10364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10366 cross_compiling=$ac_cv_prog_cc_cross
10372 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10373 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10374 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10375 echo "configure:10367: checking for __builtin_cosf linkage" >&5
10376 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10377 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10378 echo $ac_n "(cached) $ac_c" 1>&6
10381 cat > conftest.$ac_ext <<EOF
10382 #line 10374 "configure"
10383 #include "confdefs.h"
10389 if { (eval echo configure:10381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10391 glibcpp_cv_func___builtin_cosf_link=yes
10393 echo "configure: failed program was:" >&5
10394 cat conftest.$ac_ext >&5
10396 glibcpp_cv_func___builtin_cosf_link=no
10403 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10404 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10405 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10406 cat >> confdefs.h <<EOF
10407 #define ${ac_tr_func} 1
10414 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10415 echo "configure:10407: checking for __builtin_cos declaration" >&5
10416 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10417 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10418 echo $ac_n "(cached) $ac_c" 1>&6
10423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10424 ac_cpp='$CXXCPP $CPPFLAGS'
10425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10427 cross_compiling=$ac_cv_prog_cxx_cross
10429 cat > conftest.$ac_ext <<EOF
10430 #line 10422 "configure"
10431 #include "confdefs.h"
10437 if { (eval echo configure:10429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10439 glibcpp_cv_func___builtin_cos_use=yes
10441 echo "configure: failed program was:" >&5
10442 cat conftest.$ac_ext >&5
10444 glibcpp_cv_func___builtin_cos_use=no
10448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10449 ac_cpp='$CPP $CPPFLAGS'
10450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10452 cross_compiling=$ac_cv_prog_cc_cross
10458 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10459 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10460 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10461 echo "configure:10453: checking for __builtin_cos linkage" >&5
10462 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10463 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10464 echo $ac_n "(cached) $ac_c" 1>&6
10467 cat > conftest.$ac_ext <<EOF
10468 #line 10460 "configure"
10469 #include "confdefs.h"
10475 if { (eval echo configure:10467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10477 glibcpp_cv_func___builtin_cos_link=yes
10479 echo "configure: failed program was:" >&5
10480 cat conftest.$ac_ext >&5
10482 glibcpp_cv_func___builtin_cos_link=no
10489 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10490 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10491 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10492 cat >> confdefs.h <<EOF
10493 #define ${ac_tr_func} 1
10500 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10501 echo "configure:10493: checking for __builtin_cosl declaration" >&5
10502 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10503 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10504 echo $ac_n "(cached) $ac_c" 1>&6
10509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10510 ac_cpp='$CXXCPP $CPPFLAGS'
10511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10513 cross_compiling=$ac_cv_prog_cxx_cross
10515 cat > conftest.$ac_ext <<EOF
10516 #line 10508 "configure"
10517 #include "confdefs.h"
10523 if { (eval echo configure:10515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10525 glibcpp_cv_func___builtin_cosl_use=yes
10527 echo "configure: failed program was:" >&5
10528 cat conftest.$ac_ext >&5
10530 glibcpp_cv_func___builtin_cosl_use=no
10534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10535 ac_cpp='$CPP $CPPFLAGS'
10536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10538 cross_compiling=$ac_cv_prog_cc_cross
10544 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10545 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10546 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10547 echo "configure:10539: checking for __builtin_cosl linkage" >&5
10548 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10549 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10550 echo $ac_n "(cached) $ac_c" 1>&6
10553 cat > conftest.$ac_ext <<EOF
10554 #line 10546 "configure"
10555 #include "confdefs.h"
10561 if { (eval echo configure:10553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10563 glibcpp_cv_func___builtin_cosl_link=yes
10565 echo "configure: failed program was:" >&5
10566 cat conftest.$ac_ext >&5
10568 glibcpp_cv_func___builtin_cosl_link=no
10575 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10576 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10577 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10578 cat >> confdefs.h <<EOF
10579 #define ${ac_tr_func} 1
10587 if test x$dummyvar = x"yes"; then
10588 cat >> confdefs.h <<\EOF
10589 #define HAVE___BUILTIN_ABS 1
10592 cat >> confdefs.h <<\EOF
10593 #define HAVE___BUILTIN_LABS 1
10596 cat >> confdefs.h <<\EOF
10597 #define HAVE___BUILTIN_COS 1
10600 cat >> confdefs.h <<\EOF
10601 #define HAVE___BUILTIN_COSF 1
10604 cat >> confdefs.h <<\EOF
10605 #define HAVE___BUILTIN_COSL 1
10608 cat >> confdefs.h <<\EOF
10609 #define HAVE___BUILTIN_FABS 1
10612 cat >> confdefs.h <<\EOF
10613 #define HAVE___BUILTIN_FABSF 1
10616 cat >> confdefs.h <<\EOF
10617 #define HAVE___BUILTIN_FABSL 1
10620 cat >> confdefs.h <<\EOF
10621 #define HAVE___BUILTIN_SIN 1
10624 cat >> confdefs.h <<\EOF
10625 #define HAVE___BUILTIN_SINF 1
10628 cat >> confdefs.h <<\EOF
10629 #define HAVE___BUILTIN_SINL 1
10632 cat >> confdefs.h <<\EOF
10633 #define HAVE___BUILTIN_SQRT 1
10636 cat >> confdefs.h <<\EOF
10637 #define HAVE___BUILTIN_SQRTF 1
10640 cat >> confdefs.h <<\EOF
10641 #define HAVE___BUILTIN_SQRTL 1
10647 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10648 ac_save_CXXFLAGS="$CXXFLAGS"
10649 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10651 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10652 echo "configure:10644: checking for sin in -lm" >&5
10653 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10654 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10655 echo $ac_n "(cached) $ac_c" 1>&6
10657 ac_save_LIBS="$LIBS"
10659 cat > conftest.$ac_ext <<EOF
10660 #line 10652 "configure"
10661 #include "confdefs.h"
10662 /* Override any gcc2 internal prototype to avoid an error. */
10663 /* We use char because int might match the return type of a gcc2
10664 builtin and then its argument prototype would still apply. */
10671 if { (eval echo configure:10663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10673 eval "ac_cv_lib_$ac_lib_var=yes"
10675 echo "configure: failed program was:" >&5
10676 cat conftest.$ac_ext >&5
10678 eval "ac_cv_lib_$ac_lib_var=no"
10681 LIBS="$ac_save_LIBS"
10684 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10685 echo "$ac_t""yes" 1>&6
10688 echo "$ac_t""no" 1>&6
10691 ac_save_LIBS="$LIBS"
10696 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10697 echo "configure:10689: checking for isinf declaration" >&5
10698 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10699 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10700 echo $ac_n "(cached) $ac_c" 1>&6
10705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10706 ac_cpp='$CXXCPP $CPPFLAGS'
10707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10709 cross_compiling=$ac_cv_prog_cxx_cross
10711 cat > conftest.$ac_ext <<EOF
10712 #line 10704 "configure"
10713 #include "confdefs.h"
10715 #ifdef HAVE_IEEEFP_H
10716 #include <ieeefp.h>
10723 if { (eval echo configure:10715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10725 glibcpp_cv_func_isinf_use=yes
10727 echo "configure: failed program was:" >&5
10728 cat conftest.$ac_ext >&5
10730 glibcpp_cv_func_isinf_use=no
10734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10735 ac_cpp='$CPP $CPPFLAGS'
10736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10738 cross_compiling=$ac_cv_prog_cc_cross
10744 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10746 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10747 for ac_func in isinf
10749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10750 echo "configure:10742: checking for $ac_func" >&5
10751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10752 echo $ac_n "(cached) $ac_c" 1>&6
10754 cat > conftest.$ac_ext <<EOF
10755 #line 10747 "configure"
10756 #include "confdefs.h"
10757 /* System header to define __stub macros and hopefully few prototypes,
10758 which can conflict with char $ac_func(); below. */
10759 #include <assert.h>
10760 /* Override any gcc2 internal prototype to avoid an error. */
10761 /* We use char because int might match the return type of a gcc2
10762 builtin and then its argument prototype would still apply. */
10767 /* The GNU C library defines this for functions which it implements
10768 to always fail with ENOSYS. Some functions are actually named
10769 something starting with __ and the normal name is an alias. */
10770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10778 if { (eval echo configure:10770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10780 eval "ac_cv_func_$ac_func=yes"
10782 echo "configure: failed program was:" >&5
10783 cat conftest.$ac_ext >&5
10785 eval "ac_cv_func_$ac_func=no"
10790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10791 echo "$ac_t""yes" 1>&6
10792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10793 cat >> confdefs.h <<EOF
10794 #define $ac_tr_func 1
10798 echo "$ac_t""no" 1>&6
10804 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10805 echo "configure:10797: checking for _isinf declaration" >&5
10806 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10807 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10808 echo $ac_n "(cached) $ac_c" 1>&6
10813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10814 ac_cpp='$CXXCPP $CPPFLAGS'
10815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10817 cross_compiling=$ac_cv_prog_cxx_cross
10819 cat > conftest.$ac_ext <<EOF
10820 #line 10812 "configure"
10821 #include "confdefs.h"
10823 #ifdef HAVE_IEEEFP_H
10824 #include <ieeefp.h>
10831 if { (eval echo configure:10823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10833 glibcpp_cv_func__isinf_use=yes
10835 echo "configure: failed program was:" >&5
10836 cat conftest.$ac_ext >&5
10838 glibcpp_cv_func__isinf_use=no
10842 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10843 ac_cpp='$CPP $CPPFLAGS'
10844 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10845 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10846 cross_compiling=$ac_cv_prog_cc_cross
10852 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10854 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10855 for ac_func in _isinf
10857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10858 echo "configure:10850: checking for $ac_func" >&5
10859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10860 echo $ac_n "(cached) $ac_c" 1>&6
10862 cat > conftest.$ac_ext <<EOF
10863 #line 10855 "configure"
10864 #include "confdefs.h"
10865 /* System header to define __stub macros and hopefully few prototypes,
10866 which can conflict with char $ac_func(); below. */
10867 #include <assert.h>
10868 /* Override any gcc2 internal prototype to avoid an error. */
10869 /* We use char because int might match the return type of a gcc2
10870 builtin and then its argument prototype would still apply. */
10875 /* The GNU C library defines this for functions which it implements
10876 to always fail with ENOSYS. Some functions are actually named
10877 something starting with __ and the normal name is an alias. */
10878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10886 if { (eval echo configure:10878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10888 eval "ac_cv_func_$ac_func=yes"
10890 echo "configure: failed program was:" >&5
10891 cat conftest.$ac_ext >&5
10893 eval "ac_cv_func_$ac_func=no"
10898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10899 echo "$ac_t""yes" 1>&6
10900 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10901 cat >> confdefs.h <<EOF
10902 #define $ac_tr_func 1
10906 echo "$ac_t""no" 1>&6
10915 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10916 echo "configure:10908: checking for isnan declaration" >&5
10917 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10918 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10919 echo $ac_n "(cached) $ac_c" 1>&6
10924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10925 ac_cpp='$CXXCPP $CPPFLAGS'
10926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10927 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10928 cross_compiling=$ac_cv_prog_cxx_cross
10930 cat > conftest.$ac_ext <<EOF
10931 #line 10923 "configure"
10932 #include "confdefs.h"
10934 #ifdef HAVE_IEEEFP_H
10935 #include <ieeefp.h>
10942 if { (eval echo configure:10934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10944 glibcpp_cv_func_isnan_use=yes
10946 echo "configure: failed program was:" >&5
10947 cat conftest.$ac_ext >&5
10949 glibcpp_cv_func_isnan_use=no
10953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10954 ac_cpp='$CPP $CPPFLAGS'
10955 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10956 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10957 cross_compiling=$ac_cv_prog_cc_cross
10963 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10965 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10966 for ac_func in isnan
10968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10969 echo "configure:10961: checking for $ac_func" >&5
10970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10971 echo $ac_n "(cached) $ac_c" 1>&6
10973 cat > conftest.$ac_ext <<EOF
10974 #line 10966 "configure"
10975 #include "confdefs.h"
10976 /* System header to define __stub macros and hopefully few prototypes,
10977 which can conflict with char $ac_func(); below. */
10978 #include <assert.h>
10979 /* Override any gcc2 internal prototype to avoid an error. */
10980 /* We use char because int might match the return type of a gcc2
10981 builtin and then its argument prototype would still apply. */
10986 /* The GNU C library defines this for functions which it implements
10987 to always fail with ENOSYS. Some functions are actually named
10988 something starting with __ and the normal name is an alias. */
10989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10997 if { (eval echo configure:10989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10999 eval "ac_cv_func_$ac_func=yes"
11001 echo "configure: failed program was:" >&5
11002 cat conftest.$ac_ext >&5
11004 eval "ac_cv_func_$ac_func=no"
11009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11010 echo "$ac_t""yes" 1>&6
11011 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11012 cat >> confdefs.h <<EOF
11013 #define $ac_tr_func 1
11017 echo "$ac_t""no" 1>&6
11023 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11024 echo "configure:11016: checking for _isnan declaration" >&5
11025 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11026 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11027 echo $ac_n "(cached) $ac_c" 1>&6
11032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11033 ac_cpp='$CXXCPP $CPPFLAGS'
11034 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11035 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11036 cross_compiling=$ac_cv_prog_cxx_cross
11038 cat > conftest.$ac_ext <<EOF
11039 #line 11031 "configure"
11040 #include "confdefs.h"
11042 #ifdef HAVE_IEEEFP_H
11043 #include <ieeefp.h>
11050 if { (eval echo configure:11042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11052 glibcpp_cv_func__isnan_use=yes
11054 echo "configure: failed program was:" >&5
11055 cat conftest.$ac_ext >&5
11057 glibcpp_cv_func__isnan_use=no
11061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11062 ac_cpp='$CPP $CPPFLAGS'
11063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11065 cross_compiling=$ac_cv_prog_cc_cross
11071 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11073 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11074 for ac_func in _isnan
11076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11077 echo "configure:11069: checking for $ac_func" >&5
11078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11079 echo $ac_n "(cached) $ac_c" 1>&6
11081 cat > conftest.$ac_ext <<EOF
11082 #line 11074 "configure"
11083 #include "confdefs.h"
11084 /* System header to define __stub macros and hopefully few prototypes,
11085 which can conflict with char $ac_func(); below. */
11086 #include <assert.h>
11087 /* Override any gcc2 internal prototype to avoid an error. */
11088 /* We use char because int might match the return type of a gcc2
11089 builtin and then its argument prototype would still apply. */
11094 /* The GNU C library defines this for functions which it implements
11095 to always fail with ENOSYS. Some functions are actually named
11096 something starting with __ and the normal name is an alias. */
11097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11105 if { (eval echo configure:11097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11107 eval "ac_cv_func_$ac_func=yes"
11109 echo "configure: failed program was:" >&5
11110 cat conftest.$ac_ext >&5
11112 eval "ac_cv_func_$ac_func=no"
11117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11118 echo "$ac_t""yes" 1>&6
11119 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11120 cat >> confdefs.h <<EOF
11121 #define $ac_tr_func 1
11125 echo "$ac_t""no" 1>&6
11134 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11135 echo "configure:11127: checking for finite declaration" >&5
11136 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11137 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11138 echo $ac_n "(cached) $ac_c" 1>&6
11143 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11144 ac_cpp='$CXXCPP $CPPFLAGS'
11145 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11146 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11147 cross_compiling=$ac_cv_prog_cxx_cross
11149 cat > conftest.$ac_ext <<EOF
11150 #line 11142 "configure"
11151 #include "confdefs.h"
11153 #ifdef HAVE_IEEEFP_H
11154 #include <ieeefp.h>
11161 if { (eval echo configure:11153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11163 glibcpp_cv_func_finite_use=yes
11165 echo "configure: failed program was:" >&5
11166 cat conftest.$ac_ext >&5
11168 glibcpp_cv_func_finite_use=no
11172 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11173 ac_cpp='$CPP $CPPFLAGS'
11174 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11175 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11176 cross_compiling=$ac_cv_prog_cc_cross
11182 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11184 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11185 for ac_func in finite
11187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11188 echo "configure:11180: checking for $ac_func" >&5
11189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11190 echo $ac_n "(cached) $ac_c" 1>&6
11192 cat > conftest.$ac_ext <<EOF
11193 #line 11185 "configure"
11194 #include "confdefs.h"
11195 /* System header to define __stub macros and hopefully few prototypes,
11196 which can conflict with char $ac_func(); below. */
11197 #include <assert.h>
11198 /* Override any gcc2 internal prototype to avoid an error. */
11199 /* We use char because int might match the return type of a gcc2
11200 builtin and then its argument prototype would still apply. */
11205 /* The GNU C library defines this for functions which it implements
11206 to always fail with ENOSYS. Some functions are actually named
11207 something starting with __ and the normal name is an alias. */
11208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11216 if { (eval echo configure:11208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11218 eval "ac_cv_func_$ac_func=yes"
11220 echo "configure: failed program was:" >&5
11221 cat conftest.$ac_ext >&5
11223 eval "ac_cv_func_$ac_func=no"
11228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11229 echo "$ac_t""yes" 1>&6
11230 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11231 cat >> confdefs.h <<EOF
11232 #define $ac_tr_func 1
11236 echo "$ac_t""no" 1>&6
11242 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11243 echo "configure:11235: checking for _finite declaration" >&5
11244 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11245 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11246 echo $ac_n "(cached) $ac_c" 1>&6
11251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11252 ac_cpp='$CXXCPP $CPPFLAGS'
11253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11255 cross_compiling=$ac_cv_prog_cxx_cross
11257 cat > conftest.$ac_ext <<EOF
11258 #line 11250 "configure"
11259 #include "confdefs.h"
11261 #ifdef HAVE_IEEEFP_H
11262 #include <ieeefp.h>
11269 if { (eval echo configure:11261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11271 glibcpp_cv_func__finite_use=yes
11273 echo "configure: failed program was:" >&5
11274 cat conftest.$ac_ext >&5
11276 glibcpp_cv_func__finite_use=no
11280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11281 ac_cpp='$CPP $CPPFLAGS'
11282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11284 cross_compiling=$ac_cv_prog_cc_cross
11290 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11292 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11293 for ac_func in _finite
11295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11296 echo "configure:11288: checking for $ac_func" >&5
11297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11298 echo $ac_n "(cached) $ac_c" 1>&6
11300 cat > conftest.$ac_ext <<EOF
11301 #line 11293 "configure"
11302 #include "confdefs.h"
11303 /* System header to define __stub macros and hopefully few prototypes,
11304 which can conflict with char $ac_func(); below. */
11305 #include <assert.h>
11306 /* Override any gcc2 internal prototype to avoid an error. */
11307 /* We use char because int might match the return type of a gcc2
11308 builtin and then its argument prototype would still apply. */
11313 /* The GNU C library defines this for functions which it implements
11314 to always fail with ENOSYS. Some functions are actually named
11315 something starting with __ and the normal name is an alias. */
11316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11324 if { (eval echo configure:11316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11326 eval "ac_cv_func_$ac_func=yes"
11328 echo "configure: failed program was:" >&5
11329 cat conftest.$ac_ext >&5
11331 eval "ac_cv_func_$ac_func=no"
11336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11337 echo "$ac_t""yes" 1>&6
11338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11339 cat >> confdefs.h <<EOF
11340 #define $ac_tr_func 1
11344 echo "$ac_t""no" 1>&6
11353 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11354 echo "configure:11346: checking for copysign declaration" >&5
11355 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11356 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11357 echo $ac_n "(cached) $ac_c" 1>&6
11362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11363 ac_cpp='$CXXCPP $CPPFLAGS'
11364 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11365 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11366 cross_compiling=$ac_cv_prog_cxx_cross
11368 cat > conftest.$ac_ext <<EOF
11369 #line 11361 "configure"
11370 #include "confdefs.h"
11376 if { (eval echo configure:11368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11378 glibcpp_cv_func_copysign_use=yes
11380 echo "configure: failed program was:" >&5
11381 cat conftest.$ac_ext >&5
11383 glibcpp_cv_func_copysign_use=no
11387 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11388 ac_cpp='$CPP $CPPFLAGS'
11389 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11390 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11391 cross_compiling=$ac_cv_prog_cc_cross
11397 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11399 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11400 for ac_func in copysign
11402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11403 echo "configure:11395: checking for $ac_func" >&5
11404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11405 echo $ac_n "(cached) $ac_c" 1>&6
11407 cat > conftest.$ac_ext <<EOF
11408 #line 11400 "configure"
11409 #include "confdefs.h"
11410 /* System header to define __stub macros and hopefully few prototypes,
11411 which can conflict with char $ac_func(); below. */
11412 #include <assert.h>
11413 /* Override any gcc2 internal prototype to avoid an error. */
11414 /* We use char because int might match the return type of a gcc2
11415 builtin and then its argument prototype would still apply. */
11420 /* The GNU C library defines this for functions which it implements
11421 to always fail with ENOSYS. Some functions are actually named
11422 something starting with __ and the normal name is an alias. */
11423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11431 if { (eval echo configure:11423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11433 eval "ac_cv_func_$ac_func=yes"
11435 echo "configure: failed program was:" >&5
11436 cat conftest.$ac_ext >&5
11438 eval "ac_cv_func_$ac_func=no"
11443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11444 echo "$ac_t""yes" 1>&6
11445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11446 cat >> confdefs.h <<EOF
11447 #define $ac_tr_func 1
11451 echo "$ac_t""no" 1>&6
11457 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11458 echo "configure:11450: checking for _copysign declaration" >&5
11459 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11460 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11461 echo $ac_n "(cached) $ac_c" 1>&6
11466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11467 ac_cpp='$CXXCPP $CPPFLAGS'
11468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11470 cross_compiling=$ac_cv_prog_cxx_cross
11472 cat > conftest.$ac_ext <<EOF
11473 #line 11465 "configure"
11474 #include "confdefs.h"
11480 if { (eval echo configure:11472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11482 glibcpp_cv_func__copysign_use=yes
11484 echo "configure: failed program was:" >&5
11485 cat conftest.$ac_ext >&5
11487 glibcpp_cv_func__copysign_use=no
11491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11492 ac_cpp='$CPP $CPPFLAGS'
11493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11495 cross_compiling=$ac_cv_prog_cc_cross
11501 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11503 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11504 for ac_func in _copysign
11506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11507 echo "configure:11499: checking for $ac_func" >&5
11508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11509 echo $ac_n "(cached) $ac_c" 1>&6
11511 cat > conftest.$ac_ext <<EOF
11512 #line 11504 "configure"
11513 #include "confdefs.h"
11514 /* System header to define __stub macros and hopefully few prototypes,
11515 which can conflict with char $ac_func(); below. */
11516 #include <assert.h>
11517 /* Override any gcc2 internal prototype to avoid an error. */
11518 /* We use char because int might match the return type of a gcc2
11519 builtin and then its argument prototype would still apply. */
11524 /* The GNU C library defines this for functions which it implements
11525 to always fail with ENOSYS. Some functions are actually named
11526 something starting with __ and the normal name is an alias. */
11527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11535 if { (eval echo configure:11527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11537 eval "ac_cv_func_$ac_func=yes"
11539 echo "configure: failed program was:" >&5
11540 cat conftest.$ac_ext >&5
11542 eval "ac_cv_func_$ac_func=no"
11547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11548 echo "$ac_t""yes" 1>&6
11549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11550 cat >> confdefs.h <<EOF
11551 #define $ac_tr_func 1
11555 echo "$ac_t""no" 1>&6
11564 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11565 echo "configure:11557: checking for sincos declaration" >&5
11566 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11567 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11568 echo $ac_n "(cached) $ac_c" 1>&6
11573 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11574 ac_cpp='$CXXCPP $CPPFLAGS'
11575 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11576 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11577 cross_compiling=$ac_cv_prog_cxx_cross
11579 cat > conftest.$ac_ext <<EOF
11580 #line 11572 "configure"
11581 #include "confdefs.h"
11587 if { (eval echo configure:11579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11589 glibcpp_cv_func_sincos_use=yes
11591 echo "configure: failed program was:" >&5
11592 cat conftest.$ac_ext >&5
11594 glibcpp_cv_func_sincos_use=no
11598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11599 ac_cpp='$CPP $CPPFLAGS'
11600 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11601 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11602 cross_compiling=$ac_cv_prog_cc_cross
11608 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11610 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11611 for ac_func in sincos
11613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11614 echo "configure:11606: checking for $ac_func" >&5
11615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11616 echo $ac_n "(cached) $ac_c" 1>&6
11618 cat > conftest.$ac_ext <<EOF
11619 #line 11611 "configure"
11620 #include "confdefs.h"
11621 /* System header to define __stub macros and hopefully few prototypes,
11622 which can conflict with char $ac_func(); below. */
11623 #include <assert.h>
11624 /* Override any gcc2 internal prototype to avoid an error. */
11625 /* We use char because int might match the return type of a gcc2
11626 builtin and then its argument prototype would still apply. */
11631 /* The GNU C library defines this for functions which it implements
11632 to always fail with ENOSYS. Some functions are actually named
11633 something starting with __ and the normal name is an alias. */
11634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11642 if { (eval echo configure:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11644 eval "ac_cv_func_$ac_func=yes"
11646 echo "configure: failed program was:" >&5
11647 cat conftest.$ac_ext >&5
11649 eval "ac_cv_func_$ac_func=no"
11654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11655 echo "$ac_t""yes" 1>&6
11656 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11657 cat >> confdefs.h <<EOF
11658 #define $ac_tr_func 1
11662 echo "$ac_t""no" 1>&6
11668 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11669 echo "configure:11661: checking for _sincos declaration" >&5
11670 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11671 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11672 echo $ac_n "(cached) $ac_c" 1>&6
11677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11678 ac_cpp='$CXXCPP $CPPFLAGS'
11679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11681 cross_compiling=$ac_cv_prog_cxx_cross
11683 cat > conftest.$ac_ext <<EOF
11684 #line 11676 "configure"
11685 #include "confdefs.h"
11691 if { (eval echo configure:11683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11693 glibcpp_cv_func__sincos_use=yes
11695 echo "configure: failed program was:" >&5
11696 cat conftest.$ac_ext >&5
11698 glibcpp_cv_func__sincos_use=no
11702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11703 ac_cpp='$CPP $CPPFLAGS'
11704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11706 cross_compiling=$ac_cv_prog_cc_cross
11712 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11714 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11715 for ac_func in _sincos
11717 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11718 echo "configure:11710: checking for $ac_func" >&5
11719 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11720 echo $ac_n "(cached) $ac_c" 1>&6
11722 cat > conftest.$ac_ext <<EOF
11723 #line 11715 "configure"
11724 #include "confdefs.h"
11725 /* System header to define __stub macros and hopefully few prototypes,
11726 which can conflict with char $ac_func(); below. */
11727 #include <assert.h>
11728 /* Override any gcc2 internal prototype to avoid an error. */
11729 /* We use char because int might match the return type of a gcc2
11730 builtin and then its argument prototype would still apply. */
11735 /* The GNU C library defines this for functions which it implements
11736 to always fail with ENOSYS. Some functions are actually named
11737 something starting with __ and the normal name is an alias. */
11738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11746 if { (eval echo configure:11738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11748 eval "ac_cv_func_$ac_func=yes"
11750 echo "configure: failed program was:" >&5
11751 cat conftest.$ac_ext >&5
11753 eval "ac_cv_func_$ac_func=no"
11758 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11759 echo "$ac_t""yes" 1>&6
11760 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11761 cat >> confdefs.h <<EOF
11762 #define $ac_tr_func 1
11766 echo "$ac_t""no" 1>&6
11775 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11776 echo "configure:11768: checking for fpclass declaration" >&5
11777 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11778 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11779 echo $ac_n "(cached) $ac_c" 1>&6
11784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11785 ac_cpp='$CXXCPP $CPPFLAGS'
11786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11788 cross_compiling=$ac_cv_prog_cxx_cross
11790 cat > conftest.$ac_ext <<EOF
11791 #line 11783 "configure"
11792 #include "confdefs.h"
11794 #ifdef HAVE_IEEEFP_H
11795 #include <ieeefp.h>
11802 if { (eval echo configure:11794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11804 glibcpp_cv_func_fpclass_use=yes
11806 echo "configure: failed program was:" >&5
11807 cat conftest.$ac_ext >&5
11809 glibcpp_cv_func_fpclass_use=no
11813 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11814 ac_cpp='$CPP $CPPFLAGS'
11815 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11816 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11817 cross_compiling=$ac_cv_prog_cc_cross
11823 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11825 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11826 for ac_func in fpclass
11828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11829 echo "configure:11821: checking for $ac_func" >&5
11830 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11831 echo $ac_n "(cached) $ac_c" 1>&6
11833 cat > conftest.$ac_ext <<EOF
11834 #line 11826 "configure"
11835 #include "confdefs.h"
11836 /* System header to define __stub macros and hopefully few prototypes,
11837 which can conflict with char $ac_func(); below. */
11838 #include <assert.h>
11839 /* Override any gcc2 internal prototype to avoid an error. */
11840 /* We use char because int might match the return type of a gcc2
11841 builtin and then its argument prototype would still apply. */
11846 /* The GNU C library defines this for functions which it implements
11847 to always fail with ENOSYS. Some functions are actually named
11848 something starting with __ and the normal name is an alias. */
11849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11857 if { (eval echo configure:11849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11859 eval "ac_cv_func_$ac_func=yes"
11861 echo "configure: failed program was:" >&5
11862 cat conftest.$ac_ext >&5
11864 eval "ac_cv_func_$ac_func=no"
11869 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11870 echo "$ac_t""yes" 1>&6
11871 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11872 cat >> confdefs.h <<EOF
11873 #define $ac_tr_func 1
11877 echo "$ac_t""no" 1>&6
11883 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11884 echo "configure:11876: checking for _fpclass declaration" >&5
11885 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11886 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11887 echo $ac_n "(cached) $ac_c" 1>&6
11892 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11893 ac_cpp='$CXXCPP $CPPFLAGS'
11894 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11895 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11896 cross_compiling=$ac_cv_prog_cxx_cross
11898 cat > conftest.$ac_ext <<EOF
11899 #line 11891 "configure"
11900 #include "confdefs.h"
11902 #ifdef HAVE_IEEEFP_H
11903 #include <ieeefp.h>
11910 if { (eval echo configure:11902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11912 glibcpp_cv_func__fpclass_use=yes
11914 echo "configure: failed program was:" >&5
11915 cat conftest.$ac_ext >&5
11917 glibcpp_cv_func__fpclass_use=no
11921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11922 ac_cpp='$CPP $CPPFLAGS'
11923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11925 cross_compiling=$ac_cv_prog_cc_cross
11931 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11933 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11934 for ac_func in _fpclass
11936 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11937 echo "configure:11929: checking for $ac_func" >&5
11938 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11939 echo $ac_n "(cached) $ac_c" 1>&6
11941 cat > conftest.$ac_ext <<EOF
11942 #line 11934 "configure"
11943 #include "confdefs.h"
11944 /* System header to define __stub macros and hopefully few prototypes,
11945 which can conflict with char $ac_func(); below. */
11946 #include <assert.h>
11947 /* Override any gcc2 internal prototype to avoid an error. */
11948 /* We use char because int might match the return type of a gcc2
11949 builtin and then its argument prototype would still apply. */
11954 /* The GNU C library defines this for functions which it implements
11955 to always fail with ENOSYS. Some functions are actually named
11956 something starting with __ and the normal name is an alias. */
11957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11965 if { (eval echo configure:11957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11967 eval "ac_cv_func_$ac_func=yes"
11969 echo "configure: failed program was:" >&5
11970 cat conftest.$ac_ext >&5
11972 eval "ac_cv_func_$ac_func=no"
11977 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11978 echo "$ac_t""yes" 1>&6
11979 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11980 cat >> confdefs.h <<EOF
11981 #define $ac_tr_func 1
11985 echo "$ac_t""no" 1>&6
11994 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
11995 echo "configure:11987: checking for qfpclass declaration" >&5
11996 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
11997 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
11998 echo $ac_n "(cached) $ac_c" 1>&6
12003 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12004 ac_cpp='$CXXCPP $CPPFLAGS'
12005 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12006 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12007 cross_compiling=$ac_cv_prog_cxx_cross
12009 cat > conftest.$ac_ext <<EOF
12010 #line 12002 "configure"
12011 #include "confdefs.h"
12013 #ifdef HAVE_IEEEFP_H
12014 #include <ieeefp.h>
12021 if { (eval echo configure:12013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12023 glibcpp_cv_func_qfpclass_use=yes
12025 echo "configure: failed program was:" >&5
12026 cat conftest.$ac_ext >&5
12028 glibcpp_cv_func_qfpclass_use=no
12032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12033 ac_cpp='$CPP $CPPFLAGS'
12034 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12035 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12036 cross_compiling=$ac_cv_prog_cc_cross
12042 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12044 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12045 for ac_func in qfpclass
12047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12048 echo "configure:12040: checking for $ac_func" >&5
12049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12050 echo $ac_n "(cached) $ac_c" 1>&6
12052 cat > conftest.$ac_ext <<EOF
12053 #line 12045 "configure"
12054 #include "confdefs.h"
12055 /* System header to define __stub macros and hopefully few prototypes,
12056 which can conflict with char $ac_func(); below. */
12057 #include <assert.h>
12058 /* Override any gcc2 internal prototype to avoid an error. */
12059 /* We use char because int might match the return type of a gcc2
12060 builtin and then its argument prototype would still apply. */
12065 /* The GNU C library defines this for functions which it implements
12066 to always fail with ENOSYS. Some functions are actually named
12067 something starting with __ and the normal name is an alias. */
12068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12076 if { (eval echo configure:12068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12078 eval "ac_cv_func_$ac_func=yes"
12080 echo "configure: failed program was:" >&5
12081 cat conftest.$ac_ext >&5
12083 eval "ac_cv_func_$ac_func=no"
12088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12089 echo "$ac_t""yes" 1>&6
12090 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12091 cat >> confdefs.h <<EOF
12092 #define $ac_tr_func 1
12096 echo "$ac_t""no" 1>&6
12102 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12103 echo "configure:12095: checking for _qfpclass declaration" >&5
12104 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12105 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12106 echo $ac_n "(cached) $ac_c" 1>&6
12111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12112 ac_cpp='$CXXCPP $CPPFLAGS'
12113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12115 cross_compiling=$ac_cv_prog_cxx_cross
12117 cat > conftest.$ac_ext <<EOF
12118 #line 12110 "configure"
12119 #include "confdefs.h"
12121 #ifdef HAVE_IEEEFP_H
12122 #include <ieeefp.h>
12129 if { (eval echo configure:12121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12131 glibcpp_cv_func__qfpclass_use=yes
12133 echo "configure: failed program was:" >&5
12134 cat conftest.$ac_ext >&5
12136 glibcpp_cv_func__qfpclass_use=no
12140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12141 ac_cpp='$CPP $CPPFLAGS'
12142 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12143 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12144 cross_compiling=$ac_cv_prog_cc_cross
12150 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12152 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12153 for ac_func in _qfpclass
12155 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12156 echo "configure:12148: checking for $ac_func" >&5
12157 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12158 echo $ac_n "(cached) $ac_c" 1>&6
12160 cat > conftest.$ac_ext <<EOF
12161 #line 12153 "configure"
12162 #include "confdefs.h"
12163 /* System header to define __stub macros and hopefully few prototypes,
12164 which can conflict with char $ac_func(); below. */
12165 #include <assert.h>
12166 /* Override any gcc2 internal prototype to avoid an error. */
12167 /* We use char because int might match the return type of a gcc2
12168 builtin and then its argument prototype would still apply. */
12173 /* The GNU C library defines this for functions which it implements
12174 to always fail with ENOSYS. Some functions are actually named
12175 something starting with __ and the normal name is an alias. */
12176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12184 if { (eval echo configure:12176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12186 eval "ac_cv_func_$ac_func=yes"
12188 echo "configure: failed program was:" >&5
12189 cat conftest.$ac_ext >&5
12191 eval "ac_cv_func_$ac_func=no"
12196 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12197 echo "$ac_t""yes" 1>&6
12198 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12199 cat >> confdefs.h <<EOF
12200 #define $ac_tr_func 1
12204 echo "$ac_t""no" 1>&6
12213 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12214 echo "configure:12206: checking for hypot declaration" >&5
12215 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12216 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12217 echo $ac_n "(cached) $ac_c" 1>&6
12222 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12223 ac_cpp='$CXXCPP $CPPFLAGS'
12224 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12225 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12226 cross_compiling=$ac_cv_prog_cxx_cross
12228 cat > conftest.$ac_ext <<EOF
12229 #line 12221 "configure"
12230 #include "confdefs.h"
12236 if { (eval echo configure:12228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12238 glibcpp_cv_func_hypot_use=yes
12240 echo "configure: failed program was:" >&5
12241 cat conftest.$ac_ext >&5
12243 glibcpp_cv_func_hypot_use=no
12247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12248 ac_cpp='$CPP $CPPFLAGS'
12249 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12250 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12251 cross_compiling=$ac_cv_prog_cc_cross
12257 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12259 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12260 for ac_func in hypot
12262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12263 echo "configure:12255: checking for $ac_func" >&5
12264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12265 echo $ac_n "(cached) $ac_c" 1>&6
12267 cat > conftest.$ac_ext <<EOF
12268 #line 12260 "configure"
12269 #include "confdefs.h"
12270 /* System header to define __stub macros and hopefully few prototypes,
12271 which can conflict with char $ac_func(); below. */
12272 #include <assert.h>
12273 /* Override any gcc2 internal prototype to avoid an error. */
12274 /* We use char because int might match the return type of a gcc2
12275 builtin and then its argument prototype would still apply. */
12280 /* The GNU C library defines this for functions which it implements
12281 to always fail with ENOSYS. Some functions are actually named
12282 something starting with __ and the normal name is an alias. */
12283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12291 if { (eval echo configure:12283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12293 eval "ac_cv_func_$ac_func=yes"
12295 echo "configure: failed program was:" >&5
12296 cat conftest.$ac_ext >&5
12298 eval "ac_cv_func_$ac_func=no"
12303 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12304 echo "$ac_t""yes" 1>&6
12305 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12306 cat >> confdefs.h <<EOF
12307 #define $ac_tr_func 1
12311 echo "$ac_t""no" 1>&6
12317 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12318 echo "configure:12310: checking for _hypot declaration" >&5
12319 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12320 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12321 echo $ac_n "(cached) $ac_c" 1>&6
12326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12327 ac_cpp='$CXXCPP $CPPFLAGS'
12328 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12329 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12330 cross_compiling=$ac_cv_prog_cxx_cross
12332 cat > conftest.$ac_ext <<EOF
12333 #line 12325 "configure"
12334 #include "confdefs.h"
12340 if { (eval echo configure:12332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12342 glibcpp_cv_func__hypot_use=yes
12344 echo "configure: failed program was:" >&5
12345 cat conftest.$ac_ext >&5
12347 glibcpp_cv_func__hypot_use=no
12351 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12352 ac_cpp='$CPP $CPPFLAGS'
12353 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12354 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12355 cross_compiling=$ac_cv_prog_cc_cross
12361 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12363 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12364 for ac_func in _hypot
12366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12367 echo "configure:12359: checking for $ac_func" >&5
12368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12369 echo $ac_n "(cached) $ac_c" 1>&6
12371 cat > conftest.$ac_ext <<EOF
12372 #line 12364 "configure"
12373 #include "confdefs.h"
12374 /* System header to define __stub macros and hopefully few prototypes,
12375 which can conflict with char $ac_func(); below. */
12376 #include <assert.h>
12377 /* Override any gcc2 internal prototype to avoid an error. */
12378 /* We use char because int might match the return type of a gcc2
12379 builtin and then its argument prototype would still apply. */
12384 /* The GNU C library defines this for functions which it implements
12385 to always fail with ENOSYS. Some functions are actually named
12386 something starting with __ and the normal name is an alias. */
12387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12395 if { (eval echo configure:12387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12397 eval "ac_cv_func_$ac_func=yes"
12399 echo "configure: failed program was:" >&5
12400 cat conftest.$ac_ext >&5
12402 eval "ac_cv_func_$ac_func=no"
12407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12408 echo "$ac_t""yes" 1>&6
12409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12410 cat >> confdefs.h <<EOF
12411 #define $ac_tr_func 1
12415 echo "$ac_t""no" 1>&6
12424 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12425 echo "configure:12417: checking for float trig functions" >&5
12426 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12427 echo $ac_n "(cached) $ac_c" 1>&6
12432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12433 ac_cpp='$CXXCPP $CPPFLAGS'
12434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12436 cross_compiling=$ac_cv_prog_cxx_cross
12438 cat > conftest.$ac_ext <<EOF
12439 #line 12431 "configure"
12440 #include "confdefs.h"
12443 `for x in acosf asinf atanf \
12445 coshf sinhf tanhf; do echo "$x (0);"; done`
12448 if { (eval echo configure:12440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12450 glibcpp_cv_func_float_trig_use=yes
12452 echo "configure: failed program was:" >&5
12453 cat conftest.$ac_ext >&5
12455 glibcpp_cv_func_float_trig_use=no
12459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12460 ac_cpp='$CPP $CPPFLAGS'
12461 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12462 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12463 cross_compiling=$ac_cv_prog_cc_cross
12467 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12468 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12469 for ac_func in acosf asinf atanf \
12473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12474 echo "configure:12466: checking for $ac_func" >&5
12475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12476 echo $ac_n "(cached) $ac_c" 1>&6
12478 cat > conftest.$ac_ext <<EOF
12479 #line 12471 "configure"
12480 #include "confdefs.h"
12481 /* System header to define __stub macros and hopefully few prototypes,
12482 which can conflict with char $ac_func(); below. */
12483 #include <assert.h>
12484 /* Override any gcc2 internal prototype to avoid an error. */
12485 /* We use char because int might match the return type of a gcc2
12486 builtin and then its argument prototype would still apply. */
12491 /* The GNU C library defines this for functions which it implements
12492 to always fail with ENOSYS. Some functions are actually named
12493 something starting with __ and the normal name is an alias. */
12494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12502 if { (eval echo configure:12494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12504 eval "ac_cv_func_$ac_func=yes"
12506 echo "configure: failed program was:" >&5
12507 cat conftest.$ac_ext >&5
12509 eval "ac_cv_func_$ac_func=no"
12514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12515 echo "$ac_t""yes" 1>&6
12516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12517 cat >> confdefs.h <<EOF
12518 #define $ac_tr_func 1
12522 echo "$ac_t""no" 1>&6
12529 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12530 echo "configure:12522: checking for float round functions" >&5
12531 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12532 echo $ac_n "(cached) $ac_c" 1>&6
12537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12538 ac_cpp='$CXXCPP $CPPFLAGS'
12539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12541 cross_compiling=$ac_cv_prog_cxx_cross
12543 cat > conftest.$ac_ext <<EOF
12544 #line 12536 "configure"
12545 #include "confdefs.h"
12548 `for x in ceilf floorf; do echo "$x (0);"; done`
12551 if { (eval echo configure:12543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12553 glibcpp_cv_func_float_round_use=yes
12555 echo "configure: failed program was:" >&5
12556 cat conftest.$ac_ext >&5
12558 glibcpp_cv_func_float_round_use=no
12562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12563 ac_cpp='$CPP $CPPFLAGS'
12564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12566 cross_compiling=$ac_cv_prog_cc_cross
12570 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12571 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12572 for ac_func in ceilf floorf
12574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12575 echo "configure:12567: checking for $ac_func" >&5
12576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12577 echo $ac_n "(cached) $ac_c" 1>&6
12579 cat > conftest.$ac_ext <<EOF
12580 #line 12572 "configure"
12581 #include "confdefs.h"
12582 /* System header to define __stub macros and hopefully few prototypes,
12583 which can conflict with char $ac_func(); below. */
12584 #include <assert.h>
12585 /* Override any gcc2 internal prototype to avoid an error. */
12586 /* We use char because int might match the return type of a gcc2
12587 builtin and then its argument prototype would still apply. */
12592 /* The GNU C library defines this for functions which it implements
12593 to always fail with ENOSYS. Some functions are actually named
12594 something starting with __ and the normal name is an alias. */
12595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12603 if { (eval echo configure:12595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12605 eval "ac_cv_func_$ac_func=yes"
12607 echo "configure: failed program was:" >&5
12608 cat conftest.$ac_ext >&5
12610 eval "ac_cv_func_$ac_func=no"
12615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12616 echo "$ac_t""yes" 1>&6
12617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12618 cat >> confdefs.h <<EOF
12619 #define $ac_tr_func 1
12623 echo "$ac_t""no" 1>&6
12631 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12632 echo "configure:12624: checking for expf declaration" >&5
12633 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12634 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12635 echo $ac_n "(cached) $ac_c" 1>&6
12640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12641 ac_cpp='$CXXCPP $CPPFLAGS'
12642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12644 cross_compiling=$ac_cv_prog_cxx_cross
12646 cat > conftest.$ac_ext <<EOF
12647 #line 12639 "configure"
12648 #include "confdefs.h"
12650 #ifdef HAVE_IEEEFP_H
12651 #include <ieeefp.h>
12658 if { (eval echo configure:12650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12660 glibcpp_cv_func_expf_use=yes
12662 echo "configure: failed program was:" >&5
12663 cat conftest.$ac_ext >&5
12665 glibcpp_cv_func_expf_use=no
12669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12670 ac_cpp='$CPP $CPPFLAGS'
12671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12673 cross_compiling=$ac_cv_prog_cc_cross
12679 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12681 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12682 for ac_func in expf
12684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12685 echo "configure:12677: checking for $ac_func" >&5
12686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12687 echo $ac_n "(cached) $ac_c" 1>&6
12689 cat > conftest.$ac_ext <<EOF
12690 #line 12682 "configure"
12691 #include "confdefs.h"
12692 /* System header to define __stub macros and hopefully few prototypes,
12693 which can conflict with char $ac_func(); below. */
12694 #include <assert.h>
12695 /* Override any gcc2 internal prototype to avoid an error. */
12696 /* We use char because int might match the return type of a gcc2
12697 builtin and then its argument prototype would still apply. */
12702 /* The GNU C library defines this for functions which it implements
12703 to always fail with ENOSYS. Some functions are actually named
12704 something starting with __ and the normal name is an alias. */
12705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12713 if { (eval echo configure:12705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12715 eval "ac_cv_func_$ac_func=yes"
12717 echo "configure: failed program was:" >&5
12718 cat conftest.$ac_ext >&5
12720 eval "ac_cv_func_$ac_func=no"
12725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12726 echo "$ac_t""yes" 1>&6
12727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12728 cat >> confdefs.h <<EOF
12729 #define $ac_tr_func 1
12733 echo "$ac_t""no" 1>&6
12739 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12740 echo "configure:12732: checking for _expf declaration" >&5
12741 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12742 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12743 echo $ac_n "(cached) $ac_c" 1>&6
12748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12749 ac_cpp='$CXXCPP $CPPFLAGS'
12750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12752 cross_compiling=$ac_cv_prog_cxx_cross
12754 cat > conftest.$ac_ext <<EOF
12755 #line 12747 "configure"
12756 #include "confdefs.h"
12758 #ifdef HAVE_IEEEFP_H
12759 #include <ieeefp.h>
12766 if { (eval echo configure:12758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12768 glibcpp_cv_func__expf_use=yes
12770 echo "configure: failed program was:" >&5
12771 cat conftest.$ac_ext >&5
12773 glibcpp_cv_func__expf_use=no
12777 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12778 ac_cpp='$CPP $CPPFLAGS'
12779 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12780 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12781 cross_compiling=$ac_cv_prog_cc_cross
12787 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12789 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12790 for ac_func in _expf
12792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12793 echo "configure:12785: checking for $ac_func" >&5
12794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12795 echo $ac_n "(cached) $ac_c" 1>&6
12797 cat > conftest.$ac_ext <<EOF
12798 #line 12790 "configure"
12799 #include "confdefs.h"
12800 /* System header to define __stub macros and hopefully few prototypes,
12801 which can conflict with char $ac_func(); below. */
12802 #include <assert.h>
12803 /* Override any gcc2 internal prototype to avoid an error. */
12804 /* We use char because int might match the return type of a gcc2
12805 builtin and then its argument prototype would still apply. */
12810 /* The GNU C library defines this for functions which it implements
12811 to always fail with ENOSYS. Some functions are actually named
12812 something starting with __ and the normal name is an alias. */
12813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12821 if { (eval echo configure:12813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12823 eval "ac_cv_func_$ac_func=yes"
12825 echo "configure: failed program was:" >&5
12826 cat conftest.$ac_ext >&5
12828 eval "ac_cv_func_$ac_func=no"
12833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12834 echo "$ac_t""yes" 1>&6
12835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12836 cat >> confdefs.h <<EOF
12837 #define $ac_tr_func 1
12841 echo "$ac_t""no" 1>&6
12850 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12851 echo "configure:12843: checking for isnanf declaration" >&5
12852 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12853 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12854 echo $ac_n "(cached) $ac_c" 1>&6
12859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12860 ac_cpp='$CXXCPP $CPPFLAGS'
12861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12863 cross_compiling=$ac_cv_prog_cxx_cross
12865 cat > conftest.$ac_ext <<EOF
12866 #line 12858 "configure"
12867 #include "confdefs.h"
12869 #ifdef HAVE_IEEEFP_H
12870 #include <ieeefp.h>
12877 if { (eval echo configure:12869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12879 glibcpp_cv_func_isnanf_use=yes
12881 echo "configure: failed program was:" >&5
12882 cat conftest.$ac_ext >&5
12884 glibcpp_cv_func_isnanf_use=no
12888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12889 ac_cpp='$CPP $CPPFLAGS'
12890 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12891 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12892 cross_compiling=$ac_cv_prog_cc_cross
12898 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12900 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12901 for ac_func in isnanf
12903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12904 echo "configure:12896: checking for $ac_func" >&5
12905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12906 echo $ac_n "(cached) $ac_c" 1>&6
12908 cat > conftest.$ac_ext <<EOF
12909 #line 12901 "configure"
12910 #include "confdefs.h"
12911 /* System header to define __stub macros and hopefully few prototypes,
12912 which can conflict with char $ac_func(); below. */
12913 #include <assert.h>
12914 /* Override any gcc2 internal prototype to avoid an error. */
12915 /* We use char because int might match the return type of a gcc2
12916 builtin and then its argument prototype would still apply. */
12921 /* The GNU C library defines this for functions which it implements
12922 to always fail with ENOSYS. Some functions are actually named
12923 something starting with __ and the normal name is an alias. */
12924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12932 if { (eval echo configure:12924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12934 eval "ac_cv_func_$ac_func=yes"
12936 echo "configure: failed program was:" >&5
12937 cat conftest.$ac_ext >&5
12939 eval "ac_cv_func_$ac_func=no"
12944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12945 echo "$ac_t""yes" 1>&6
12946 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12947 cat >> confdefs.h <<EOF
12948 #define $ac_tr_func 1
12952 echo "$ac_t""no" 1>&6
12958 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12959 echo "configure:12951: checking for _isnanf declaration" >&5
12960 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12961 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12962 echo $ac_n "(cached) $ac_c" 1>&6
12967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12968 ac_cpp='$CXXCPP $CPPFLAGS'
12969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12971 cross_compiling=$ac_cv_prog_cxx_cross
12973 cat > conftest.$ac_ext <<EOF
12974 #line 12966 "configure"
12975 #include "confdefs.h"
12977 #ifdef HAVE_IEEEFP_H
12978 #include <ieeefp.h>
12985 if { (eval echo configure:12977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12987 glibcpp_cv_func__isnanf_use=yes
12989 echo "configure: failed program was:" >&5
12990 cat conftest.$ac_ext >&5
12992 glibcpp_cv_func__isnanf_use=no
12996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12997 ac_cpp='$CPP $CPPFLAGS'
12998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13000 cross_compiling=$ac_cv_prog_cc_cross
13006 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13008 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13009 for ac_func in _isnanf
13011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13012 echo "configure:13004: checking for $ac_func" >&5
13013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13014 echo $ac_n "(cached) $ac_c" 1>&6
13016 cat > conftest.$ac_ext <<EOF
13017 #line 13009 "configure"
13018 #include "confdefs.h"
13019 /* System header to define __stub macros and hopefully few prototypes,
13020 which can conflict with char $ac_func(); below. */
13021 #include <assert.h>
13022 /* Override any gcc2 internal prototype to avoid an error. */
13023 /* We use char because int might match the return type of a gcc2
13024 builtin and then its argument prototype would still apply. */
13029 /* The GNU C library defines this for functions which it implements
13030 to always fail with ENOSYS. Some functions are actually named
13031 something starting with __ and the normal name is an alias. */
13032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13040 if { (eval echo configure:13032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13042 eval "ac_cv_func_$ac_func=yes"
13044 echo "configure: failed program was:" >&5
13045 cat conftest.$ac_ext >&5
13047 eval "ac_cv_func_$ac_func=no"
13052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13053 echo "$ac_t""yes" 1>&6
13054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13055 cat >> confdefs.h <<EOF
13056 #define $ac_tr_func 1
13060 echo "$ac_t""no" 1>&6
13069 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13070 echo "configure:13062: checking for isinff declaration" >&5
13071 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13072 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13073 echo $ac_n "(cached) $ac_c" 1>&6
13078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13079 ac_cpp='$CXXCPP $CPPFLAGS'
13080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13082 cross_compiling=$ac_cv_prog_cxx_cross
13084 cat > conftest.$ac_ext <<EOF
13085 #line 13077 "configure"
13086 #include "confdefs.h"
13088 #ifdef HAVE_IEEEFP_H
13089 #include <ieeefp.h>
13096 if { (eval echo configure:13088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13098 glibcpp_cv_func_isinff_use=yes
13100 echo "configure: failed program was:" >&5
13101 cat conftest.$ac_ext >&5
13103 glibcpp_cv_func_isinff_use=no
13107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13108 ac_cpp='$CPP $CPPFLAGS'
13109 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13110 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13111 cross_compiling=$ac_cv_prog_cc_cross
13117 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13119 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13120 for ac_func in isinff
13122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13123 echo "configure:13115: checking for $ac_func" >&5
13124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13125 echo $ac_n "(cached) $ac_c" 1>&6
13127 cat > conftest.$ac_ext <<EOF
13128 #line 13120 "configure"
13129 #include "confdefs.h"
13130 /* System header to define __stub macros and hopefully few prototypes,
13131 which can conflict with char $ac_func(); below. */
13132 #include <assert.h>
13133 /* Override any gcc2 internal prototype to avoid an error. */
13134 /* We use char because int might match the return type of a gcc2
13135 builtin and then its argument prototype would still apply. */
13140 /* The GNU C library defines this for functions which it implements
13141 to always fail with ENOSYS. Some functions are actually named
13142 something starting with __ and the normal name is an alias. */
13143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13151 if { (eval echo configure:13143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13153 eval "ac_cv_func_$ac_func=yes"
13155 echo "configure: failed program was:" >&5
13156 cat conftest.$ac_ext >&5
13158 eval "ac_cv_func_$ac_func=no"
13163 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13164 echo "$ac_t""yes" 1>&6
13165 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13166 cat >> confdefs.h <<EOF
13167 #define $ac_tr_func 1
13171 echo "$ac_t""no" 1>&6
13177 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13178 echo "configure:13170: checking for _isinff declaration" >&5
13179 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13180 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13181 echo $ac_n "(cached) $ac_c" 1>&6
13186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13187 ac_cpp='$CXXCPP $CPPFLAGS'
13188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13190 cross_compiling=$ac_cv_prog_cxx_cross
13192 cat > conftest.$ac_ext <<EOF
13193 #line 13185 "configure"
13194 #include "confdefs.h"
13196 #ifdef HAVE_IEEEFP_H
13197 #include <ieeefp.h>
13204 if { (eval echo configure:13196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13206 glibcpp_cv_func__isinff_use=yes
13208 echo "configure: failed program was:" >&5
13209 cat conftest.$ac_ext >&5
13211 glibcpp_cv_func__isinff_use=no
13215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13216 ac_cpp='$CPP $CPPFLAGS'
13217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13219 cross_compiling=$ac_cv_prog_cc_cross
13225 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13227 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13228 for ac_func in _isinff
13230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13231 echo "configure:13223: checking for $ac_func" >&5
13232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13233 echo $ac_n "(cached) $ac_c" 1>&6
13235 cat > conftest.$ac_ext <<EOF
13236 #line 13228 "configure"
13237 #include "confdefs.h"
13238 /* System header to define __stub macros and hopefully few prototypes,
13239 which can conflict with char $ac_func(); below. */
13240 #include <assert.h>
13241 /* Override any gcc2 internal prototype to avoid an error. */
13242 /* We use char because int might match the return type of a gcc2
13243 builtin and then its argument prototype would still apply. */
13248 /* The GNU C library defines this for functions which it implements
13249 to always fail with ENOSYS. Some functions are actually named
13250 something starting with __ and the normal name is an alias. */
13251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13259 if { (eval echo configure:13251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13261 eval "ac_cv_func_$ac_func=yes"
13263 echo "configure: failed program was:" >&5
13264 cat conftest.$ac_ext >&5
13266 eval "ac_cv_func_$ac_func=no"
13271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13272 echo "$ac_t""yes" 1>&6
13273 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13274 cat >> confdefs.h <<EOF
13275 #define $ac_tr_func 1
13279 echo "$ac_t""no" 1>&6
13288 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13289 echo "configure:13281: checking for atan2f declaration" >&5
13290 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13291 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13292 echo $ac_n "(cached) $ac_c" 1>&6
13297 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13298 ac_cpp='$CXXCPP $CPPFLAGS'
13299 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13300 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13301 cross_compiling=$ac_cv_prog_cxx_cross
13303 cat > conftest.$ac_ext <<EOF
13304 #line 13296 "configure"
13305 #include "confdefs.h"
13311 if { (eval echo configure:13303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13313 glibcpp_cv_func_atan2f_use=yes
13315 echo "configure: failed program was:" >&5
13316 cat conftest.$ac_ext >&5
13318 glibcpp_cv_func_atan2f_use=no
13322 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13323 ac_cpp='$CPP $CPPFLAGS'
13324 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13325 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13326 cross_compiling=$ac_cv_prog_cc_cross
13332 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13334 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13335 for ac_func in atan2f
13337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13338 echo "configure:13330: checking for $ac_func" >&5
13339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13340 echo $ac_n "(cached) $ac_c" 1>&6
13342 cat > conftest.$ac_ext <<EOF
13343 #line 13335 "configure"
13344 #include "confdefs.h"
13345 /* System header to define __stub macros and hopefully few prototypes,
13346 which can conflict with char $ac_func(); below. */
13347 #include <assert.h>
13348 /* Override any gcc2 internal prototype to avoid an error. */
13349 /* We use char because int might match the return type of a gcc2
13350 builtin and then its argument prototype would still apply. */
13355 /* The GNU C library defines this for functions which it implements
13356 to always fail with ENOSYS. Some functions are actually named
13357 something starting with __ and the normal name is an alias. */
13358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13366 if { (eval echo configure:13358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13368 eval "ac_cv_func_$ac_func=yes"
13370 echo "configure: failed program was:" >&5
13371 cat conftest.$ac_ext >&5
13373 eval "ac_cv_func_$ac_func=no"
13378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13379 echo "$ac_t""yes" 1>&6
13380 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13381 cat >> confdefs.h <<EOF
13382 #define $ac_tr_func 1
13386 echo "$ac_t""no" 1>&6
13392 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13393 echo "configure:13385: checking for _atan2f declaration" >&5
13394 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13395 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13396 echo $ac_n "(cached) $ac_c" 1>&6
13401 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13402 ac_cpp='$CXXCPP $CPPFLAGS'
13403 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13404 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13405 cross_compiling=$ac_cv_prog_cxx_cross
13407 cat > conftest.$ac_ext <<EOF
13408 #line 13400 "configure"
13409 #include "confdefs.h"
13415 if { (eval echo configure:13407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13417 glibcpp_cv_func__atan2f_use=yes
13419 echo "configure: failed program was:" >&5
13420 cat conftest.$ac_ext >&5
13422 glibcpp_cv_func__atan2f_use=no
13426 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13427 ac_cpp='$CPP $CPPFLAGS'
13428 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13429 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13430 cross_compiling=$ac_cv_prog_cc_cross
13436 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13438 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13439 for ac_func in _atan2f
13441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13442 echo "configure:13434: checking for $ac_func" >&5
13443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13444 echo $ac_n "(cached) $ac_c" 1>&6
13446 cat > conftest.$ac_ext <<EOF
13447 #line 13439 "configure"
13448 #include "confdefs.h"
13449 /* System header to define __stub macros and hopefully few prototypes,
13450 which can conflict with char $ac_func(); below. */
13451 #include <assert.h>
13452 /* Override any gcc2 internal prototype to avoid an error. */
13453 /* We use char because int might match the return type of a gcc2
13454 builtin and then its argument prototype would still apply. */
13459 /* The GNU C library defines this for functions which it implements
13460 to always fail with ENOSYS. Some functions are actually named
13461 something starting with __ and the normal name is an alias. */
13462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13470 if { (eval echo configure:13462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13472 eval "ac_cv_func_$ac_func=yes"
13474 echo "configure: failed program was:" >&5
13475 cat conftest.$ac_ext >&5
13477 eval "ac_cv_func_$ac_func=no"
13482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13483 echo "$ac_t""yes" 1>&6
13484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13485 cat >> confdefs.h <<EOF
13486 #define $ac_tr_func 1
13490 echo "$ac_t""no" 1>&6
13499 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13500 echo "configure:13492: checking for fabsf declaration" >&5
13501 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13502 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13503 echo $ac_n "(cached) $ac_c" 1>&6
13508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13509 ac_cpp='$CXXCPP $CPPFLAGS'
13510 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13511 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13512 cross_compiling=$ac_cv_prog_cxx_cross
13514 cat > conftest.$ac_ext <<EOF
13515 #line 13507 "configure"
13516 #include "confdefs.h"
13518 #ifdef HAVE_IEEEFP_H
13519 #include <ieeefp.h>
13526 if { (eval echo configure:13518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13528 glibcpp_cv_func_fabsf_use=yes
13530 echo "configure: failed program was:" >&5
13531 cat conftest.$ac_ext >&5
13533 glibcpp_cv_func_fabsf_use=no
13537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13538 ac_cpp='$CPP $CPPFLAGS'
13539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13541 cross_compiling=$ac_cv_prog_cc_cross
13547 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13549 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13550 for ac_func in fabsf
13552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13553 echo "configure:13545: checking for $ac_func" >&5
13554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13555 echo $ac_n "(cached) $ac_c" 1>&6
13557 cat > conftest.$ac_ext <<EOF
13558 #line 13550 "configure"
13559 #include "confdefs.h"
13560 /* System header to define __stub macros and hopefully few prototypes,
13561 which can conflict with char $ac_func(); below. */
13562 #include <assert.h>
13563 /* Override any gcc2 internal prototype to avoid an error. */
13564 /* We use char because int might match the return type of a gcc2
13565 builtin and then its argument prototype would still apply. */
13570 /* The GNU C library defines this for functions which it implements
13571 to always fail with ENOSYS. Some functions are actually named
13572 something starting with __ and the normal name is an alias. */
13573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13581 if { (eval echo configure:13573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13583 eval "ac_cv_func_$ac_func=yes"
13585 echo "configure: failed program was:" >&5
13586 cat conftest.$ac_ext >&5
13588 eval "ac_cv_func_$ac_func=no"
13593 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13594 echo "$ac_t""yes" 1>&6
13595 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13596 cat >> confdefs.h <<EOF
13597 #define $ac_tr_func 1
13601 echo "$ac_t""no" 1>&6
13607 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13608 echo "configure:13600: checking for _fabsf declaration" >&5
13609 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13610 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13611 echo $ac_n "(cached) $ac_c" 1>&6
13616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13617 ac_cpp='$CXXCPP $CPPFLAGS'
13618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13620 cross_compiling=$ac_cv_prog_cxx_cross
13622 cat > conftest.$ac_ext <<EOF
13623 #line 13615 "configure"
13624 #include "confdefs.h"
13626 #ifdef HAVE_IEEEFP_H
13627 #include <ieeefp.h>
13634 if { (eval echo configure:13626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13636 glibcpp_cv_func__fabsf_use=yes
13638 echo "configure: failed program was:" >&5
13639 cat conftest.$ac_ext >&5
13641 glibcpp_cv_func__fabsf_use=no
13645 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13646 ac_cpp='$CPP $CPPFLAGS'
13647 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13648 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13649 cross_compiling=$ac_cv_prog_cc_cross
13655 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13657 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13658 for ac_func in _fabsf
13660 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13661 echo "configure:13653: checking for $ac_func" >&5
13662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13663 echo $ac_n "(cached) $ac_c" 1>&6
13665 cat > conftest.$ac_ext <<EOF
13666 #line 13658 "configure"
13667 #include "confdefs.h"
13668 /* System header to define __stub macros and hopefully few prototypes,
13669 which can conflict with char $ac_func(); below. */
13670 #include <assert.h>
13671 /* Override any gcc2 internal prototype to avoid an error. */
13672 /* We use char because int might match the return type of a gcc2
13673 builtin and then its argument prototype would still apply. */
13678 /* The GNU C library defines this for functions which it implements
13679 to always fail with ENOSYS. Some functions are actually named
13680 something starting with __ and the normal name is an alias. */
13681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13689 if { (eval echo configure:13681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13691 eval "ac_cv_func_$ac_func=yes"
13693 echo "configure: failed program was:" >&5
13694 cat conftest.$ac_ext >&5
13696 eval "ac_cv_func_$ac_func=no"
13701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13702 echo "$ac_t""yes" 1>&6
13703 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13704 cat >> confdefs.h <<EOF
13705 #define $ac_tr_func 1
13709 echo "$ac_t""no" 1>&6
13718 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13719 echo "configure:13711: checking for fmodf declaration" >&5
13720 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13721 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13722 echo $ac_n "(cached) $ac_c" 1>&6
13727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13728 ac_cpp='$CXXCPP $CPPFLAGS'
13729 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13730 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13731 cross_compiling=$ac_cv_prog_cxx_cross
13733 cat > conftest.$ac_ext <<EOF
13734 #line 13726 "configure"
13735 #include "confdefs.h"
13741 if { (eval echo configure:13733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13743 glibcpp_cv_func_fmodf_use=yes
13745 echo "configure: failed program was:" >&5
13746 cat conftest.$ac_ext >&5
13748 glibcpp_cv_func_fmodf_use=no
13752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13753 ac_cpp='$CPP $CPPFLAGS'
13754 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13755 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13756 cross_compiling=$ac_cv_prog_cc_cross
13762 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13764 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13765 for ac_func in fmodf
13767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13768 echo "configure:13760: checking for $ac_func" >&5
13769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13770 echo $ac_n "(cached) $ac_c" 1>&6
13772 cat > conftest.$ac_ext <<EOF
13773 #line 13765 "configure"
13774 #include "confdefs.h"
13775 /* System header to define __stub macros and hopefully few prototypes,
13776 which can conflict with char $ac_func(); below. */
13777 #include <assert.h>
13778 /* Override any gcc2 internal prototype to avoid an error. */
13779 /* We use char because int might match the return type of a gcc2
13780 builtin and then its argument prototype would still apply. */
13785 /* The GNU C library defines this for functions which it implements
13786 to always fail with ENOSYS. Some functions are actually named
13787 something starting with __ and the normal name is an alias. */
13788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13796 if { (eval echo configure:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13798 eval "ac_cv_func_$ac_func=yes"
13800 echo "configure: failed program was:" >&5
13801 cat conftest.$ac_ext >&5
13803 eval "ac_cv_func_$ac_func=no"
13808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13809 echo "$ac_t""yes" 1>&6
13810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13811 cat >> confdefs.h <<EOF
13812 #define $ac_tr_func 1
13816 echo "$ac_t""no" 1>&6
13822 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13823 echo "configure:13815: checking for _fmodf declaration" >&5
13824 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13825 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13826 echo $ac_n "(cached) $ac_c" 1>&6
13831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13832 ac_cpp='$CXXCPP $CPPFLAGS'
13833 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13834 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13835 cross_compiling=$ac_cv_prog_cxx_cross
13837 cat > conftest.$ac_ext <<EOF
13838 #line 13830 "configure"
13839 #include "confdefs.h"
13845 if { (eval echo configure:13837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13847 glibcpp_cv_func__fmodf_use=yes
13849 echo "configure: failed program was:" >&5
13850 cat conftest.$ac_ext >&5
13852 glibcpp_cv_func__fmodf_use=no
13856 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13857 ac_cpp='$CPP $CPPFLAGS'
13858 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13859 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13860 cross_compiling=$ac_cv_prog_cc_cross
13866 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13868 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13869 for ac_func in _fmodf
13871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13872 echo "configure:13864: checking for $ac_func" >&5
13873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13874 echo $ac_n "(cached) $ac_c" 1>&6
13876 cat > conftest.$ac_ext <<EOF
13877 #line 13869 "configure"
13878 #include "confdefs.h"
13879 /* System header to define __stub macros and hopefully few prototypes,
13880 which can conflict with char $ac_func(); below. */
13881 #include <assert.h>
13882 /* Override any gcc2 internal prototype to avoid an error. */
13883 /* We use char because int might match the return type of a gcc2
13884 builtin and then its argument prototype would still apply. */
13889 /* The GNU C library defines this for functions which it implements
13890 to always fail with ENOSYS. Some functions are actually named
13891 something starting with __ and the normal name is an alias. */
13892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13900 if { (eval echo configure:13892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13902 eval "ac_cv_func_$ac_func=yes"
13904 echo "configure: failed program was:" >&5
13905 cat conftest.$ac_ext >&5
13907 eval "ac_cv_func_$ac_func=no"
13912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13913 echo "$ac_t""yes" 1>&6
13914 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13915 cat >> confdefs.h <<EOF
13916 #define $ac_tr_func 1
13920 echo "$ac_t""no" 1>&6
13929 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13930 echo "configure:13922: checking for frexpf declaration" >&5
13931 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13932 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13933 echo $ac_n "(cached) $ac_c" 1>&6
13938 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13939 ac_cpp='$CXXCPP $CPPFLAGS'
13940 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13941 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13942 cross_compiling=$ac_cv_prog_cxx_cross
13944 cat > conftest.$ac_ext <<EOF
13945 #line 13937 "configure"
13946 #include "confdefs.h"
13952 if { (eval echo configure:13944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13954 glibcpp_cv_func_frexpf_use=yes
13956 echo "configure: failed program was:" >&5
13957 cat conftest.$ac_ext >&5
13959 glibcpp_cv_func_frexpf_use=no
13963 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13964 ac_cpp='$CPP $CPPFLAGS'
13965 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13966 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13967 cross_compiling=$ac_cv_prog_cc_cross
13973 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13975 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13976 for ac_func in frexpf
13978 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13979 echo "configure:13971: checking for $ac_func" >&5
13980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13981 echo $ac_n "(cached) $ac_c" 1>&6
13983 cat > conftest.$ac_ext <<EOF
13984 #line 13976 "configure"
13985 #include "confdefs.h"
13986 /* System header to define __stub macros and hopefully few prototypes,
13987 which can conflict with char $ac_func(); below. */
13988 #include <assert.h>
13989 /* Override any gcc2 internal prototype to avoid an error. */
13990 /* We use char because int might match the return type of a gcc2
13991 builtin and then its argument prototype would still apply. */
13996 /* The GNU C library defines this for functions which it implements
13997 to always fail with ENOSYS. Some functions are actually named
13998 something starting with __ and the normal name is an alias. */
13999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14007 if { (eval echo configure:13999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14009 eval "ac_cv_func_$ac_func=yes"
14011 echo "configure: failed program was:" >&5
14012 cat conftest.$ac_ext >&5
14014 eval "ac_cv_func_$ac_func=no"
14019 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14020 echo "$ac_t""yes" 1>&6
14021 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14022 cat >> confdefs.h <<EOF
14023 #define $ac_tr_func 1
14027 echo "$ac_t""no" 1>&6
14033 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14034 echo "configure:14026: checking for _frexpf declaration" >&5
14035 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14036 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14037 echo $ac_n "(cached) $ac_c" 1>&6
14042 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14043 ac_cpp='$CXXCPP $CPPFLAGS'
14044 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14045 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14046 cross_compiling=$ac_cv_prog_cxx_cross
14048 cat > conftest.$ac_ext <<EOF
14049 #line 14041 "configure"
14050 #include "confdefs.h"
14056 if { (eval echo configure:14048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14058 glibcpp_cv_func__frexpf_use=yes
14060 echo "configure: failed program was:" >&5
14061 cat conftest.$ac_ext >&5
14063 glibcpp_cv_func__frexpf_use=no
14067 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14068 ac_cpp='$CPP $CPPFLAGS'
14069 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14070 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14071 cross_compiling=$ac_cv_prog_cc_cross
14077 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14079 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14080 for ac_func in _frexpf
14082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14083 echo "configure:14075: checking for $ac_func" >&5
14084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14085 echo $ac_n "(cached) $ac_c" 1>&6
14087 cat > conftest.$ac_ext <<EOF
14088 #line 14080 "configure"
14089 #include "confdefs.h"
14090 /* System header to define __stub macros and hopefully few prototypes,
14091 which can conflict with char $ac_func(); below. */
14092 #include <assert.h>
14093 /* Override any gcc2 internal prototype to avoid an error. */
14094 /* We use char because int might match the return type of a gcc2
14095 builtin and then its argument prototype would still apply. */
14100 /* The GNU C library defines this for functions which it implements
14101 to always fail with ENOSYS. Some functions are actually named
14102 something starting with __ and the normal name is an alias. */
14103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14111 if { (eval echo configure:14103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14113 eval "ac_cv_func_$ac_func=yes"
14115 echo "configure: failed program was:" >&5
14116 cat conftest.$ac_ext >&5
14118 eval "ac_cv_func_$ac_func=no"
14123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14124 echo "$ac_t""yes" 1>&6
14125 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14126 cat >> confdefs.h <<EOF
14127 #define $ac_tr_func 1
14131 echo "$ac_t""no" 1>&6
14140 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14141 echo "configure:14133: checking for hypotf declaration" >&5
14142 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14143 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14144 echo $ac_n "(cached) $ac_c" 1>&6
14149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14150 ac_cpp='$CXXCPP $CPPFLAGS'
14151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14153 cross_compiling=$ac_cv_prog_cxx_cross
14155 cat > conftest.$ac_ext <<EOF
14156 #line 14148 "configure"
14157 #include "confdefs.h"
14163 if { (eval echo configure:14155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14165 glibcpp_cv_func_hypotf_use=yes
14167 echo "configure: failed program was:" >&5
14168 cat conftest.$ac_ext >&5
14170 glibcpp_cv_func_hypotf_use=no
14174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14175 ac_cpp='$CPP $CPPFLAGS'
14176 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14177 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14178 cross_compiling=$ac_cv_prog_cc_cross
14184 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14186 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14187 for ac_func in hypotf
14189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14190 echo "configure:14182: checking for $ac_func" >&5
14191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14192 echo $ac_n "(cached) $ac_c" 1>&6
14194 cat > conftest.$ac_ext <<EOF
14195 #line 14187 "configure"
14196 #include "confdefs.h"
14197 /* System header to define __stub macros and hopefully few prototypes,
14198 which can conflict with char $ac_func(); below. */
14199 #include <assert.h>
14200 /* Override any gcc2 internal prototype to avoid an error. */
14201 /* We use char because int might match the return type of a gcc2
14202 builtin and then its argument prototype would still apply. */
14207 /* The GNU C library defines this for functions which it implements
14208 to always fail with ENOSYS. Some functions are actually named
14209 something starting with __ and the normal name is an alias. */
14210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14218 if { (eval echo configure:14210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14220 eval "ac_cv_func_$ac_func=yes"
14222 echo "configure: failed program was:" >&5
14223 cat conftest.$ac_ext >&5
14225 eval "ac_cv_func_$ac_func=no"
14230 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14231 echo "$ac_t""yes" 1>&6
14232 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14233 cat >> confdefs.h <<EOF
14234 #define $ac_tr_func 1
14238 echo "$ac_t""no" 1>&6
14244 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14245 echo "configure:14237: checking for _hypotf declaration" >&5
14246 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14247 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14248 echo $ac_n "(cached) $ac_c" 1>&6
14253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14254 ac_cpp='$CXXCPP $CPPFLAGS'
14255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14257 cross_compiling=$ac_cv_prog_cxx_cross
14259 cat > conftest.$ac_ext <<EOF
14260 #line 14252 "configure"
14261 #include "confdefs.h"
14267 if { (eval echo configure:14259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14269 glibcpp_cv_func__hypotf_use=yes
14271 echo "configure: failed program was:" >&5
14272 cat conftest.$ac_ext >&5
14274 glibcpp_cv_func__hypotf_use=no
14278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14279 ac_cpp='$CPP $CPPFLAGS'
14280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14282 cross_compiling=$ac_cv_prog_cc_cross
14288 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14290 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14291 for ac_func in _hypotf
14293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14294 echo "configure:14286: checking for $ac_func" >&5
14295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14296 echo $ac_n "(cached) $ac_c" 1>&6
14298 cat > conftest.$ac_ext <<EOF
14299 #line 14291 "configure"
14300 #include "confdefs.h"
14301 /* System header to define __stub macros and hopefully few prototypes,
14302 which can conflict with char $ac_func(); below. */
14303 #include <assert.h>
14304 /* Override any gcc2 internal prototype to avoid an error. */
14305 /* We use char because int might match the return type of a gcc2
14306 builtin and then its argument prototype would still apply. */
14311 /* The GNU C library defines this for functions which it implements
14312 to always fail with ENOSYS. Some functions are actually named
14313 something starting with __ and the normal name is an alias. */
14314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14322 if { (eval echo configure:14314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14324 eval "ac_cv_func_$ac_func=yes"
14326 echo "configure: failed program was:" >&5
14327 cat conftest.$ac_ext >&5
14329 eval "ac_cv_func_$ac_func=no"
14334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14335 echo "$ac_t""yes" 1>&6
14336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14337 cat >> confdefs.h <<EOF
14338 #define $ac_tr_func 1
14342 echo "$ac_t""no" 1>&6
14351 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14352 echo "configure:14344: checking for ldexpf declaration" >&5
14353 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14354 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14355 echo $ac_n "(cached) $ac_c" 1>&6
14360 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14361 ac_cpp='$CXXCPP $CPPFLAGS'
14362 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14363 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14364 cross_compiling=$ac_cv_prog_cxx_cross
14366 cat > conftest.$ac_ext <<EOF
14367 #line 14359 "configure"
14368 #include "confdefs.h"
14374 if { (eval echo configure:14366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14376 glibcpp_cv_func_ldexpf_use=yes
14378 echo "configure: failed program was:" >&5
14379 cat conftest.$ac_ext >&5
14381 glibcpp_cv_func_ldexpf_use=no
14385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14386 ac_cpp='$CPP $CPPFLAGS'
14387 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14388 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14389 cross_compiling=$ac_cv_prog_cc_cross
14395 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14397 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14398 for ac_func in ldexpf
14400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14401 echo "configure:14393: checking for $ac_func" >&5
14402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14403 echo $ac_n "(cached) $ac_c" 1>&6
14405 cat > conftest.$ac_ext <<EOF
14406 #line 14398 "configure"
14407 #include "confdefs.h"
14408 /* System header to define __stub macros and hopefully few prototypes,
14409 which can conflict with char $ac_func(); below. */
14410 #include <assert.h>
14411 /* Override any gcc2 internal prototype to avoid an error. */
14412 /* We use char because int might match the return type of a gcc2
14413 builtin and then its argument prototype would still apply. */
14418 /* The GNU C library defines this for functions which it implements
14419 to always fail with ENOSYS. Some functions are actually named
14420 something starting with __ and the normal name is an alias. */
14421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14429 if { (eval echo configure:14421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14431 eval "ac_cv_func_$ac_func=yes"
14433 echo "configure: failed program was:" >&5
14434 cat conftest.$ac_ext >&5
14436 eval "ac_cv_func_$ac_func=no"
14441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14442 echo "$ac_t""yes" 1>&6
14443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14444 cat >> confdefs.h <<EOF
14445 #define $ac_tr_func 1
14449 echo "$ac_t""no" 1>&6
14455 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14456 echo "configure:14448: checking for _ldexpf declaration" >&5
14457 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14458 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14459 echo $ac_n "(cached) $ac_c" 1>&6
14464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14465 ac_cpp='$CXXCPP $CPPFLAGS'
14466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14468 cross_compiling=$ac_cv_prog_cxx_cross
14470 cat > conftest.$ac_ext <<EOF
14471 #line 14463 "configure"
14472 #include "confdefs.h"
14478 if { (eval echo configure:14470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14480 glibcpp_cv_func__ldexpf_use=yes
14482 echo "configure: failed program was:" >&5
14483 cat conftest.$ac_ext >&5
14485 glibcpp_cv_func__ldexpf_use=no
14489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14490 ac_cpp='$CPP $CPPFLAGS'
14491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14493 cross_compiling=$ac_cv_prog_cc_cross
14499 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14501 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14502 for ac_func in _ldexpf
14504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14505 echo "configure:14497: checking for $ac_func" >&5
14506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14507 echo $ac_n "(cached) $ac_c" 1>&6
14509 cat > conftest.$ac_ext <<EOF
14510 #line 14502 "configure"
14511 #include "confdefs.h"
14512 /* System header to define __stub macros and hopefully few prototypes,
14513 which can conflict with char $ac_func(); below. */
14514 #include <assert.h>
14515 /* Override any gcc2 internal prototype to avoid an error. */
14516 /* We use char because int might match the return type of a gcc2
14517 builtin and then its argument prototype would still apply. */
14522 /* The GNU C library defines this for functions which it implements
14523 to always fail with ENOSYS. Some functions are actually named
14524 something starting with __ and the normal name is an alias. */
14525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14533 if { (eval echo configure:14525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14535 eval "ac_cv_func_$ac_func=yes"
14537 echo "configure: failed program was:" >&5
14538 cat conftest.$ac_ext >&5
14540 eval "ac_cv_func_$ac_func=no"
14545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14546 echo "$ac_t""yes" 1>&6
14547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14548 cat >> confdefs.h <<EOF
14549 #define $ac_tr_func 1
14553 echo "$ac_t""no" 1>&6
14562 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14563 echo "configure:14555: checking for logf declaration" >&5
14564 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14565 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14566 echo $ac_n "(cached) $ac_c" 1>&6
14571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14572 ac_cpp='$CXXCPP $CPPFLAGS'
14573 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14574 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14575 cross_compiling=$ac_cv_prog_cxx_cross
14577 cat > conftest.$ac_ext <<EOF
14578 #line 14570 "configure"
14579 #include "confdefs.h"
14581 #ifdef HAVE_IEEEFP_H
14582 #include <ieeefp.h>
14589 if { (eval echo configure:14581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14591 glibcpp_cv_func_logf_use=yes
14593 echo "configure: failed program was:" >&5
14594 cat conftest.$ac_ext >&5
14596 glibcpp_cv_func_logf_use=no
14600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14601 ac_cpp='$CPP $CPPFLAGS'
14602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14604 cross_compiling=$ac_cv_prog_cc_cross
14610 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14612 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14613 for ac_func in logf
14615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14616 echo "configure:14608: checking for $ac_func" >&5
14617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14618 echo $ac_n "(cached) $ac_c" 1>&6
14620 cat > conftest.$ac_ext <<EOF
14621 #line 14613 "configure"
14622 #include "confdefs.h"
14623 /* System header to define __stub macros and hopefully few prototypes,
14624 which can conflict with char $ac_func(); below. */
14625 #include <assert.h>
14626 /* Override any gcc2 internal prototype to avoid an error. */
14627 /* We use char because int might match the return type of a gcc2
14628 builtin and then its argument prototype would still apply. */
14633 /* The GNU C library defines this for functions which it implements
14634 to always fail with ENOSYS. Some functions are actually named
14635 something starting with __ and the normal name is an alias. */
14636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14644 if { (eval echo configure:14636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14646 eval "ac_cv_func_$ac_func=yes"
14648 echo "configure: failed program was:" >&5
14649 cat conftest.$ac_ext >&5
14651 eval "ac_cv_func_$ac_func=no"
14656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14657 echo "$ac_t""yes" 1>&6
14658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14659 cat >> confdefs.h <<EOF
14660 #define $ac_tr_func 1
14664 echo "$ac_t""no" 1>&6
14670 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14671 echo "configure:14663: checking for _logf declaration" >&5
14672 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14673 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14674 echo $ac_n "(cached) $ac_c" 1>&6
14679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14680 ac_cpp='$CXXCPP $CPPFLAGS'
14681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14683 cross_compiling=$ac_cv_prog_cxx_cross
14685 cat > conftest.$ac_ext <<EOF
14686 #line 14678 "configure"
14687 #include "confdefs.h"
14689 #ifdef HAVE_IEEEFP_H
14690 #include <ieeefp.h>
14697 if { (eval echo configure:14689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14699 glibcpp_cv_func__logf_use=yes
14701 echo "configure: failed program was:" >&5
14702 cat conftest.$ac_ext >&5
14704 glibcpp_cv_func__logf_use=no
14708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14709 ac_cpp='$CPP $CPPFLAGS'
14710 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14711 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14712 cross_compiling=$ac_cv_prog_cc_cross
14718 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14720 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14721 for ac_func in _logf
14723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14724 echo "configure:14716: checking for $ac_func" >&5
14725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14726 echo $ac_n "(cached) $ac_c" 1>&6
14728 cat > conftest.$ac_ext <<EOF
14729 #line 14721 "configure"
14730 #include "confdefs.h"
14731 /* System header to define __stub macros and hopefully few prototypes,
14732 which can conflict with char $ac_func(); below. */
14733 #include <assert.h>
14734 /* Override any gcc2 internal prototype to avoid an error. */
14735 /* We use char because int might match the return type of a gcc2
14736 builtin and then its argument prototype would still apply. */
14741 /* The GNU C library defines this for functions which it implements
14742 to always fail with ENOSYS. Some functions are actually named
14743 something starting with __ and the normal name is an alias. */
14744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14752 if { (eval echo configure:14744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14754 eval "ac_cv_func_$ac_func=yes"
14756 echo "configure: failed program was:" >&5
14757 cat conftest.$ac_ext >&5
14759 eval "ac_cv_func_$ac_func=no"
14764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14765 echo "$ac_t""yes" 1>&6
14766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14767 cat >> confdefs.h <<EOF
14768 #define $ac_tr_func 1
14772 echo "$ac_t""no" 1>&6
14781 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14782 echo "configure:14774: checking for log10f declaration" >&5
14783 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14784 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14785 echo $ac_n "(cached) $ac_c" 1>&6
14790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14791 ac_cpp='$CXXCPP $CPPFLAGS'
14792 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14793 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14794 cross_compiling=$ac_cv_prog_cxx_cross
14796 cat > conftest.$ac_ext <<EOF
14797 #line 14789 "configure"
14798 #include "confdefs.h"
14800 #ifdef HAVE_IEEEFP_H
14801 #include <ieeefp.h>
14808 if { (eval echo configure:14800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14810 glibcpp_cv_func_log10f_use=yes
14812 echo "configure: failed program was:" >&5
14813 cat conftest.$ac_ext >&5
14815 glibcpp_cv_func_log10f_use=no
14819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14820 ac_cpp='$CPP $CPPFLAGS'
14821 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14822 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14823 cross_compiling=$ac_cv_prog_cc_cross
14829 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14831 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14832 for ac_func in log10f
14834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14835 echo "configure:14827: checking for $ac_func" >&5
14836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14837 echo $ac_n "(cached) $ac_c" 1>&6
14839 cat > conftest.$ac_ext <<EOF
14840 #line 14832 "configure"
14841 #include "confdefs.h"
14842 /* System header to define __stub macros and hopefully few prototypes,
14843 which can conflict with char $ac_func(); below. */
14844 #include <assert.h>
14845 /* Override any gcc2 internal prototype to avoid an error. */
14846 /* We use char because int might match the return type of a gcc2
14847 builtin and then its argument prototype would still apply. */
14852 /* The GNU C library defines this for functions which it implements
14853 to always fail with ENOSYS. Some functions are actually named
14854 something starting with __ and the normal name is an alias. */
14855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14863 if { (eval echo configure:14855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14865 eval "ac_cv_func_$ac_func=yes"
14867 echo "configure: failed program was:" >&5
14868 cat conftest.$ac_ext >&5
14870 eval "ac_cv_func_$ac_func=no"
14875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14876 echo "$ac_t""yes" 1>&6
14877 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14878 cat >> confdefs.h <<EOF
14879 #define $ac_tr_func 1
14883 echo "$ac_t""no" 1>&6
14889 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14890 echo "configure:14882: checking for _log10f declaration" >&5
14891 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14892 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14893 echo $ac_n "(cached) $ac_c" 1>&6
14898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14899 ac_cpp='$CXXCPP $CPPFLAGS'
14900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14902 cross_compiling=$ac_cv_prog_cxx_cross
14904 cat > conftest.$ac_ext <<EOF
14905 #line 14897 "configure"
14906 #include "confdefs.h"
14908 #ifdef HAVE_IEEEFP_H
14909 #include <ieeefp.h>
14916 if { (eval echo configure:14908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14918 glibcpp_cv_func__log10f_use=yes
14920 echo "configure: failed program was:" >&5
14921 cat conftest.$ac_ext >&5
14923 glibcpp_cv_func__log10f_use=no
14927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14928 ac_cpp='$CPP $CPPFLAGS'
14929 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14930 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14931 cross_compiling=$ac_cv_prog_cc_cross
14937 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14939 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14940 for ac_func in _log10f
14942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14943 echo "configure:14935: checking for $ac_func" >&5
14944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14945 echo $ac_n "(cached) $ac_c" 1>&6
14947 cat > conftest.$ac_ext <<EOF
14948 #line 14940 "configure"
14949 #include "confdefs.h"
14950 /* System header to define __stub macros and hopefully few prototypes,
14951 which can conflict with char $ac_func(); below. */
14952 #include <assert.h>
14953 /* Override any gcc2 internal prototype to avoid an error. */
14954 /* We use char because int might match the return type of a gcc2
14955 builtin and then its argument prototype would still apply. */
14960 /* The GNU C library defines this for functions which it implements
14961 to always fail with ENOSYS. Some functions are actually named
14962 something starting with __ and the normal name is an alias. */
14963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14971 if { (eval echo configure:14963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14973 eval "ac_cv_func_$ac_func=yes"
14975 echo "configure: failed program was:" >&5
14976 cat conftest.$ac_ext >&5
14978 eval "ac_cv_func_$ac_func=no"
14983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14984 echo "$ac_t""yes" 1>&6
14985 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14986 cat >> confdefs.h <<EOF
14987 #define $ac_tr_func 1
14991 echo "$ac_t""no" 1>&6
15000 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15001 echo "configure:14993: checking for modff declaration" >&5
15002 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15003 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15004 echo $ac_n "(cached) $ac_c" 1>&6
15009 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15012 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15013 cross_compiling=$ac_cv_prog_cxx_cross
15015 cat > conftest.$ac_ext <<EOF
15016 #line 15008 "configure"
15017 #include "confdefs.h"
15023 if { (eval echo configure:15015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15025 glibcpp_cv_func_modff_use=yes
15027 echo "configure: failed program was:" >&5
15028 cat conftest.$ac_ext >&5
15030 glibcpp_cv_func_modff_use=no
15034 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15035 ac_cpp='$CPP $CPPFLAGS'
15036 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15037 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15038 cross_compiling=$ac_cv_prog_cc_cross
15044 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15046 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15047 for ac_func in modff
15049 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15050 echo "configure:15042: checking for $ac_func" >&5
15051 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15052 echo $ac_n "(cached) $ac_c" 1>&6
15054 cat > conftest.$ac_ext <<EOF
15055 #line 15047 "configure"
15056 #include "confdefs.h"
15057 /* System header to define __stub macros and hopefully few prototypes,
15058 which can conflict with char $ac_func(); below. */
15059 #include <assert.h>
15060 /* Override any gcc2 internal prototype to avoid an error. */
15061 /* We use char because int might match the return type of a gcc2
15062 builtin and then its argument prototype would still apply. */
15067 /* The GNU C library defines this for functions which it implements
15068 to always fail with ENOSYS. Some functions are actually named
15069 something starting with __ and the normal name is an alias. */
15070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15078 if { (eval echo configure:15070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15080 eval "ac_cv_func_$ac_func=yes"
15082 echo "configure: failed program was:" >&5
15083 cat conftest.$ac_ext >&5
15085 eval "ac_cv_func_$ac_func=no"
15090 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15091 echo "$ac_t""yes" 1>&6
15092 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15093 cat >> confdefs.h <<EOF
15094 #define $ac_tr_func 1
15098 echo "$ac_t""no" 1>&6
15104 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15105 echo "configure:15097: checking for _modff declaration" >&5
15106 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15107 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15108 echo $ac_n "(cached) $ac_c" 1>&6
15113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15114 ac_cpp='$CXXCPP $CPPFLAGS'
15115 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15116 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15117 cross_compiling=$ac_cv_prog_cxx_cross
15119 cat > conftest.$ac_ext <<EOF
15120 #line 15112 "configure"
15121 #include "confdefs.h"
15127 if { (eval echo configure:15119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15129 glibcpp_cv_func__modff_use=yes
15131 echo "configure: failed program was:" >&5
15132 cat conftest.$ac_ext >&5
15134 glibcpp_cv_func__modff_use=no
15138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15139 ac_cpp='$CPP $CPPFLAGS'
15140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15142 cross_compiling=$ac_cv_prog_cc_cross
15148 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15150 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15151 for ac_func in _modff
15153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15154 echo "configure:15146: checking for $ac_func" >&5
15155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15156 echo $ac_n "(cached) $ac_c" 1>&6
15158 cat > conftest.$ac_ext <<EOF
15159 #line 15151 "configure"
15160 #include "confdefs.h"
15161 /* System header to define __stub macros and hopefully few prototypes,
15162 which can conflict with char $ac_func(); below. */
15163 #include <assert.h>
15164 /* Override any gcc2 internal prototype to avoid an error. */
15165 /* We use char because int might match the return type of a gcc2
15166 builtin and then its argument prototype would still apply. */
15171 /* The GNU C library defines this for functions which it implements
15172 to always fail with ENOSYS. Some functions are actually named
15173 something starting with __ and the normal name is an alias. */
15174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15182 if { (eval echo configure:15174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15184 eval "ac_cv_func_$ac_func=yes"
15186 echo "configure: failed program was:" >&5
15187 cat conftest.$ac_ext >&5
15189 eval "ac_cv_func_$ac_func=no"
15194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15195 echo "$ac_t""yes" 1>&6
15196 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15197 cat >> confdefs.h <<EOF
15198 #define $ac_tr_func 1
15202 echo "$ac_t""no" 1>&6
15211 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15212 echo "configure:15204: checking for powf declaration" >&5
15213 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15214 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15215 echo $ac_n "(cached) $ac_c" 1>&6
15220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15221 ac_cpp='$CXXCPP $CPPFLAGS'
15222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15224 cross_compiling=$ac_cv_prog_cxx_cross
15226 cat > conftest.$ac_ext <<EOF
15227 #line 15219 "configure"
15228 #include "confdefs.h"
15234 if { (eval echo configure:15226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15236 glibcpp_cv_func_powf_use=yes
15238 echo "configure: failed program was:" >&5
15239 cat conftest.$ac_ext >&5
15241 glibcpp_cv_func_powf_use=no
15245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15246 ac_cpp='$CPP $CPPFLAGS'
15247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15249 cross_compiling=$ac_cv_prog_cc_cross
15255 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15257 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15258 for ac_func in powf
15260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15261 echo "configure:15253: checking for $ac_func" >&5
15262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15263 echo $ac_n "(cached) $ac_c" 1>&6
15265 cat > conftest.$ac_ext <<EOF
15266 #line 15258 "configure"
15267 #include "confdefs.h"
15268 /* System header to define __stub macros and hopefully few prototypes,
15269 which can conflict with char $ac_func(); below. */
15270 #include <assert.h>
15271 /* Override any gcc2 internal prototype to avoid an error. */
15272 /* We use char because int might match the return type of a gcc2
15273 builtin and then its argument prototype would still apply. */
15278 /* The GNU C library defines this for functions which it implements
15279 to always fail with ENOSYS. Some functions are actually named
15280 something starting with __ and the normal name is an alias. */
15281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15289 if { (eval echo configure:15281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15291 eval "ac_cv_func_$ac_func=yes"
15293 echo "configure: failed program was:" >&5
15294 cat conftest.$ac_ext >&5
15296 eval "ac_cv_func_$ac_func=no"
15301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15302 echo "$ac_t""yes" 1>&6
15303 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15304 cat >> confdefs.h <<EOF
15305 #define $ac_tr_func 1
15309 echo "$ac_t""no" 1>&6
15315 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15316 echo "configure:15308: checking for _powf declaration" >&5
15317 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15318 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15319 echo $ac_n "(cached) $ac_c" 1>&6
15324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15325 ac_cpp='$CXXCPP $CPPFLAGS'
15326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15328 cross_compiling=$ac_cv_prog_cxx_cross
15330 cat > conftest.$ac_ext <<EOF
15331 #line 15323 "configure"
15332 #include "confdefs.h"
15338 if { (eval echo configure:15330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15340 glibcpp_cv_func__powf_use=yes
15342 echo "configure: failed program was:" >&5
15343 cat conftest.$ac_ext >&5
15345 glibcpp_cv_func__powf_use=no
15349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15350 ac_cpp='$CPP $CPPFLAGS'
15351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15353 cross_compiling=$ac_cv_prog_cc_cross
15359 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15361 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15362 for ac_func in _powf
15364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15365 echo "configure:15357: checking for $ac_func" >&5
15366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15367 echo $ac_n "(cached) $ac_c" 1>&6
15369 cat > conftest.$ac_ext <<EOF
15370 #line 15362 "configure"
15371 #include "confdefs.h"
15372 /* System header to define __stub macros and hopefully few prototypes,
15373 which can conflict with char $ac_func(); below. */
15374 #include <assert.h>
15375 /* Override any gcc2 internal prototype to avoid an error. */
15376 /* We use char because int might match the return type of a gcc2
15377 builtin and then its argument prototype would still apply. */
15382 /* The GNU C library defines this for functions which it implements
15383 to always fail with ENOSYS. Some functions are actually named
15384 something starting with __ and the normal name is an alias. */
15385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15393 if { (eval echo configure:15385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15395 eval "ac_cv_func_$ac_func=yes"
15397 echo "configure: failed program was:" >&5
15398 cat conftest.$ac_ext >&5
15400 eval "ac_cv_func_$ac_func=no"
15405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15406 echo "$ac_t""yes" 1>&6
15407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15408 cat >> confdefs.h <<EOF
15409 #define $ac_tr_func 1
15413 echo "$ac_t""no" 1>&6
15422 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15423 echo "configure:15415: checking for sqrtf declaration" >&5
15424 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15425 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15426 echo $ac_n "(cached) $ac_c" 1>&6
15431 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15432 ac_cpp='$CXXCPP $CPPFLAGS'
15433 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15434 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15435 cross_compiling=$ac_cv_prog_cxx_cross
15437 cat > conftest.$ac_ext <<EOF
15438 #line 15430 "configure"
15439 #include "confdefs.h"
15441 #ifdef HAVE_IEEEFP_H
15442 #include <ieeefp.h>
15449 if { (eval echo configure:15441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15451 glibcpp_cv_func_sqrtf_use=yes
15453 echo "configure: failed program was:" >&5
15454 cat conftest.$ac_ext >&5
15456 glibcpp_cv_func_sqrtf_use=no
15460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15461 ac_cpp='$CPP $CPPFLAGS'
15462 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15463 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15464 cross_compiling=$ac_cv_prog_cc_cross
15470 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15472 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15473 for ac_func in sqrtf
15475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15476 echo "configure:15468: checking for $ac_func" >&5
15477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15478 echo $ac_n "(cached) $ac_c" 1>&6
15480 cat > conftest.$ac_ext <<EOF
15481 #line 15473 "configure"
15482 #include "confdefs.h"
15483 /* System header to define __stub macros and hopefully few prototypes,
15484 which can conflict with char $ac_func(); below. */
15485 #include <assert.h>
15486 /* Override any gcc2 internal prototype to avoid an error. */
15487 /* We use char because int might match the return type of a gcc2
15488 builtin and then its argument prototype would still apply. */
15493 /* The GNU C library defines this for functions which it implements
15494 to always fail with ENOSYS. Some functions are actually named
15495 something starting with __ and the normal name is an alias. */
15496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15504 if { (eval echo configure:15496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15506 eval "ac_cv_func_$ac_func=yes"
15508 echo "configure: failed program was:" >&5
15509 cat conftest.$ac_ext >&5
15511 eval "ac_cv_func_$ac_func=no"
15516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15517 echo "$ac_t""yes" 1>&6
15518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15519 cat >> confdefs.h <<EOF
15520 #define $ac_tr_func 1
15524 echo "$ac_t""no" 1>&6
15530 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15531 echo "configure:15523: checking for _sqrtf declaration" >&5
15532 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15533 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15534 echo $ac_n "(cached) $ac_c" 1>&6
15539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15540 ac_cpp='$CXXCPP $CPPFLAGS'
15541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15543 cross_compiling=$ac_cv_prog_cxx_cross
15545 cat > conftest.$ac_ext <<EOF
15546 #line 15538 "configure"
15547 #include "confdefs.h"
15549 #ifdef HAVE_IEEEFP_H
15550 #include <ieeefp.h>
15557 if { (eval echo configure:15549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15559 glibcpp_cv_func__sqrtf_use=yes
15561 echo "configure: failed program was:" >&5
15562 cat conftest.$ac_ext >&5
15564 glibcpp_cv_func__sqrtf_use=no
15568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15569 ac_cpp='$CPP $CPPFLAGS'
15570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15572 cross_compiling=$ac_cv_prog_cc_cross
15578 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15580 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15581 for ac_func in _sqrtf
15583 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15584 echo "configure:15576: checking for $ac_func" >&5
15585 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15586 echo $ac_n "(cached) $ac_c" 1>&6
15588 cat > conftest.$ac_ext <<EOF
15589 #line 15581 "configure"
15590 #include "confdefs.h"
15591 /* System header to define __stub macros and hopefully few prototypes,
15592 which can conflict with char $ac_func(); below. */
15593 #include <assert.h>
15594 /* Override any gcc2 internal prototype to avoid an error. */
15595 /* We use char because int might match the return type of a gcc2
15596 builtin and then its argument prototype would still apply. */
15601 /* The GNU C library defines this for functions which it implements
15602 to always fail with ENOSYS. Some functions are actually named
15603 something starting with __ and the normal name is an alias. */
15604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15612 if { (eval echo configure:15604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15614 eval "ac_cv_func_$ac_func=yes"
15616 echo "configure: failed program was:" >&5
15617 cat conftest.$ac_ext >&5
15619 eval "ac_cv_func_$ac_func=no"
15624 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15625 echo "$ac_t""yes" 1>&6
15626 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15627 cat >> confdefs.h <<EOF
15628 #define $ac_tr_func 1
15632 echo "$ac_t""no" 1>&6
15641 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15642 echo "configure:15634: checking for sincosf declaration" >&5
15643 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15644 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15645 echo $ac_n "(cached) $ac_c" 1>&6
15650 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15651 ac_cpp='$CXXCPP $CPPFLAGS'
15652 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15653 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15654 cross_compiling=$ac_cv_prog_cxx_cross
15656 cat > conftest.$ac_ext <<EOF
15657 #line 15649 "configure"
15658 #include "confdefs.h"
15664 if { (eval echo configure:15656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15666 glibcpp_cv_func_sincosf_use=yes
15668 echo "configure: failed program was:" >&5
15669 cat conftest.$ac_ext >&5
15671 glibcpp_cv_func_sincosf_use=no
15675 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15676 ac_cpp='$CPP $CPPFLAGS'
15677 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15678 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15679 cross_compiling=$ac_cv_prog_cc_cross
15685 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15687 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15688 for ac_func in sincosf
15690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15691 echo "configure:15683: checking for $ac_func" >&5
15692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15693 echo $ac_n "(cached) $ac_c" 1>&6
15695 cat > conftest.$ac_ext <<EOF
15696 #line 15688 "configure"
15697 #include "confdefs.h"
15698 /* System header to define __stub macros and hopefully few prototypes,
15699 which can conflict with char $ac_func(); below. */
15700 #include <assert.h>
15701 /* Override any gcc2 internal prototype to avoid an error. */
15702 /* We use char because int might match the return type of a gcc2
15703 builtin and then its argument prototype would still apply. */
15708 /* The GNU C library defines this for functions which it implements
15709 to always fail with ENOSYS. Some functions are actually named
15710 something starting with __ and the normal name is an alias. */
15711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15719 if { (eval echo configure:15711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15721 eval "ac_cv_func_$ac_func=yes"
15723 echo "configure: failed program was:" >&5
15724 cat conftest.$ac_ext >&5
15726 eval "ac_cv_func_$ac_func=no"
15731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15732 echo "$ac_t""yes" 1>&6
15733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15734 cat >> confdefs.h <<EOF
15735 #define $ac_tr_func 1
15739 echo "$ac_t""no" 1>&6
15745 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15746 echo "configure:15738: checking for _sincosf declaration" >&5
15747 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15748 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15749 echo $ac_n "(cached) $ac_c" 1>&6
15754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15755 ac_cpp='$CXXCPP $CPPFLAGS'
15756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15758 cross_compiling=$ac_cv_prog_cxx_cross
15760 cat > conftest.$ac_ext <<EOF
15761 #line 15753 "configure"
15762 #include "confdefs.h"
15768 if { (eval echo configure:15760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15770 glibcpp_cv_func__sincosf_use=yes
15772 echo "configure: failed program was:" >&5
15773 cat conftest.$ac_ext >&5
15775 glibcpp_cv_func__sincosf_use=no
15779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15780 ac_cpp='$CPP $CPPFLAGS'
15781 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15782 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15783 cross_compiling=$ac_cv_prog_cc_cross
15789 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15791 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15792 for ac_func in _sincosf
15794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15795 echo "configure:15787: checking for $ac_func" >&5
15796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15797 echo $ac_n "(cached) $ac_c" 1>&6
15799 cat > conftest.$ac_ext <<EOF
15800 #line 15792 "configure"
15801 #include "confdefs.h"
15802 /* System header to define __stub macros and hopefully few prototypes,
15803 which can conflict with char $ac_func(); below. */
15804 #include <assert.h>
15805 /* Override any gcc2 internal prototype to avoid an error. */
15806 /* We use char because int might match the return type of a gcc2
15807 builtin and then its argument prototype would still apply. */
15812 /* The GNU C library defines this for functions which it implements
15813 to always fail with ENOSYS. Some functions are actually named
15814 something starting with __ and the normal name is an alias. */
15815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15823 if { (eval echo configure:15815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15825 eval "ac_cv_func_$ac_func=yes"
15827 echo "configure: failed program was:" >&5
15828 cat conftest.$ac_ext >&5
15830 eval "ac_cv_func_$ac_func=no"
15835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15836 echo "$ac_t""yes" 1>&6
15837 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15838 cat >> confdefs.h <<EOF
15839 #define $ac_tr_func 1
15843 echo "$ac_t""no" 1>&6
15852 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15853 echo "configure:15845: checking for finitef declaration" >&5
15854 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15855 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15856 echo $ac_n "(cached) $ac_c" 1>&6
15861 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15862 ac_cpp='$CXXCPP $CPPFLAGS'
15863 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15864 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15865 cross_compiling=$ac_cv_prog_cxx_cross
15867 cat > conftest.$ac_ext <<EOF
15868 #line 15860 "configure"
15869 #include "confdefs.h"
15871 #ifdef HAVE_IEEEFP_H
15872 #include <ieeefp.h>
15879 if { (eval echo configure:15871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15881 glibcpp_cv_func_finitef_use=yes
15883 echo "configure: failed program was:" >&5
15884 cat conftest.$ac_ext >&5
15886 glibcpp_cv_func_finitef_use=no
15890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15891 ac_cpp='$CPP $CPPFLAGS'
15892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15894 cross_compiling=$ac_cv_prog_cc_cross
15900 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15902 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15903 for ac_func in finitef
15905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15906 echo "configure:15898: checking for $ac_func" >&5
15907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15908 echo $ac_n "(cached) $ac_c" 1>&6
15910 cat > conftest.$ac_ext <<EOF
15911 #line 15903 "configure"
15912 #include "confdefs.h"
15913 /* System header to define __stub macros and hopefully few prototypes,
15914 which can conflict with char $ac_func(); below. */
15915 #include <assert.h>
15916 /* Override any gcc2 internal prototype to avoid an error. */
15917 /* We use char because int might match the return type of a gcc2
15918 builtin and then its argument prototype would still apply. */
15923 /* The GNU C library defines this for functions which it implements
15924 to always fail with ENOSYS. Some functions are actually named
15925 something starting with __ and the normal name is an alias. */
15926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15934 if { (eval echo configure:15926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15936 eval "ac_cv_func_$ac_func=yes"
15938 echo "configure: failed program was:" >&5
15939 cat conftest.$ac_ext >&5
15941 eval "ac_cv_func_$ac_func=no"
15946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15947 echo "$ac_t""yes" 1>&6
15948 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15949 cat >> confdefs.h <<EOF
15950 #define $ac_tr_func 1
15954 echo "$ac_t""no" 1>&6
15960 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15961 echo "configure:15953: checking for _finitef declaration" >&5
15962 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15963 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15964 echo $ac_n "(cached) $ac_c" 1>&6
15969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15970 ac_cpp='$CXXCPP $CPPFLAGS'
15971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15973 cross_compiling=$ac_cv_prog_cxx_cross
15975 cat > conftest.$ac_ext <<EOF
15976 #line 15968 "configure"
15977 #include "confdefs.h"
15979 #ifdef HAVE_IEEEFP_H
15980 #include <ieeefp.h>
15987 if { (eval echo configure:15979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15989 glibcpp_cv_func__finitef_use=yes
15991 echo "configure: failed program was:" >&5
15992 cat conftest.$ac_ext >&5
15994 glibcpp_cv_func__finitef_use=no
15998 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15999 ac_cpp='$CPP $CPPFLAGS'
16000 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16001 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16002 cross_compiling=$ac_cv_prog_cc_cross
16008 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16010 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16011 for ac_func in _finitef
16013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16014 echo "configure:16006: checking for $ac_func" >&5
16015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16016 echo $ac_n "(cached) $ac_c" 1>&6
16018 cat > conftest.$ac_ext <<EOF
16019 #line 16011 "configure"
16020 #include "confdefs.h"
16021 /* System header to define __stub macros and hopefully few prototypes,
16022 which can conflict with char $ac_func(); below. */
16023 #include <assert.h>
16024 /* Override any gcc2 internal prototype to avoid an error. */
16025 /* We use char because int might match the return type of a gcc2
16026 builtin and then its argument prototype would still apply. */
16031 /* The GNU C library defines this for functions which it implements
16032 to always fail with ENOSYS. Some functions are actually named
16033 something starting with __ and the normal name is an alias. */
16034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16042 if { (eval echo configure:16034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16044 eval "ac_cv_func_$ac_func=yes"
16046 echo "configure: failed program was:" >&5
16047 cat conftest.$ac_ext >&5
16049 eval "ac_cv_func_$ac_func=no"
16054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16055 echo "$ac_t""yes" 1>&6
16056 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16057 cat >> confdefs.h <<EOF
16058 #define $ac_tr_func 1
16062 echo "$ac_t""no" 1>&6
16071 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16072 echo "configure:16064: checking for long double trig functions" >&5
16073 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16074 echo $ac_n "(cached) $ac_c" 1>&6
16079 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16080 ac_cpp='$CXXCPP $CPPFLAGS'
16081 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16082 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16083 cross_compiling=$ac_cv_prog_cxx_cross
16085 cat > conftest.$ac_ext <<EOF
16086 #line 16078 "configure"
16087 #include "confdefs.h"
16090 `for x in acosl asinl atanl \
16092 coshl sinhl tanhl; do echo "$x (0);"; done`
16095 if { (eval echo configure:16087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16097 glibcpp_cv_func_long_double_trig_use=yes
16099 echo "configure: failed program was:" >&5
16100 cat conftest.$ac_ext >&5
16102 glibcpp_cv_func_long_double_trig_use=no
16106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16107 ac_cpp='$CPP $CPPFLAGS'
16108 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16109 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16110 cross_compiling=$ac_cv_prog_cc_cross
16114 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16115 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16116 for ac_func in acosl asinl atanl \
16120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16121 echo "configure:16113: checking for $ac_func" >&5
16122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16123 echo $ac_n "(cached) $ac_c" 1>&6
16125 cat > conftest.$ac_ext <<EOF
16126 #line 16118 "configure"
16127 #include "confdefs.h"
16128 /* System header to define __stub macros and hopefully few prototypes,
16129 which can conflict with char $ac_func(); below. */
16130 #include <assert.h>
16131 /* Override any gcc2 internal prototype to avoid an error. */
16132 /* We use char because int might match the return type of a gcc2
16133 builtin and then its argument prototype would still apply. */
16138 /* The GNU C library defines this for functions which it implements
16139 to always fail with ENOSYS. Some functions are actually named
16140 something starting with __ and the normal name is an alias. */
16141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16149 if { (eval echo configure:16141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16151 eval "ac_cv_func_$ac_func=yes"
16153 echo "configure: failed program was:" >&5
16154 cat conftest.$ac_ext >&5
16156 eval "ac_cv_func_$ac_func=no"
16161 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16162 echo "$ac_t""yes" 1>&6
16163 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16164 cat >> confdefs.h <<EOF
16165 #define $ac_tr_func 1
16169 echo "$ac_t""no" 1>&6
16176 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16177 echo "configure:16169: checking for long double round functions" >&5
16178 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16179 echo $ac_n "(cached) $ac_c" 1>&6
16184 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16185 ac_cpp='$CXXCPP $CPPFLAGS'
16186 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16187 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16188 cross_compiling=$ac_cv_prog_cxx_cross
16190 cat > conftest.$ac_ext <<EOF
16191 #line 16183 "configure"
16192 #include "confdefs.h"
16195 `for x in ceill floorl; do echo "$x (0);"; done`
16198 if { (eval echo configure:16190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16200 glibcpp_cv_func_long_double_round_use=yes
16202 echo "configure: failed program was:" >&5
16203 cat conftest.$ac_ext >&5
16205 glibcpp_cv_func_long_double_round_use=no
16209 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16210 ac_cpp='$CPP $CPPFLAGS'
16211 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16212 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16213 cross_compiling=$ac_cv_prog_cc_cross
16217 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16218 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16219 for ac_func in ceill floorl
16221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16222 echo "configure:16214: checking for $ac_func" >&5
16223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16224 echo $ac_n "(cached) $ac_c" 1>&6
16226 cat > conftest.$ac_ext <<EOF
16227 #line 16219 "configure"
16228 #include "confdefs.h"
16229 /* System header to define __stub macros and hopefully few prototypes,
16230 which can conflict with char $ac_func(); below. */
16231 #include <assert.h>
16232 /* Override any gcc2 internal prototype to avoid an error. */
16233 /* We use char because int might match the return type of a gcc2
16234 builtin and then its argument prototype would still apply. */
16239 /* The GNU C library defines this for functions which it implements
16240 to always fail with ENOSYS. Some functions are actually named
16241 something starting with __ and the normal name is an alias. */
16242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16250 if { (eval echo configure:16242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16252 eval "ac_cv_func_$ac_func=yes"
16254 echo "configure: failed program was:" >&5
16255 cat conftest.$ac_ext >&5
16257 eval "ac_cv_func_$ac_func=no"
16262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16263 echo "$ac_t""yes" 1>&6
16264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16265 cat >> confdefs.h <<EOF
16266 #define $ac_tr_func 1
16270 echo "$ac_t""no" 1>&6
16278 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16279 echo "configure:16271: checking for isnanl declaration" >&5
16280 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16281 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16282 echo $ac_n "(cached) $ac_c" 1>&6
16287 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16288 ac_cpp='$CXXCPP $CPPFLAGS'
16289 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16290 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16291 cross_compiling=$ac_cv_prog_cxx_cross
16293 cat > conftest.$ac_ext <<EOF
16294 #line 16286 "configure"
16295 #include "confdefs.h"
16297 #ifdef HAVE_IEEEFP_H
16298 #include <ieeefp.h>
16305 if { (eval echo configure:16297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16307 glibcpp_cv_func_isnanl_use=yes
16309 echo "configure: failed program was:" >&5
16310 cat conftest.$ac_ext >&5
16312 glibcpp_cv_func_isnanl_use=no
16316 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16319 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16320 cross_compiling=$ac_cv_prog_cc_cross
16326 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16328 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16329 for ac_func in isnanl
16331 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16332 echo "configure:16324: checking for $ac_func" >&5
16333 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16334 echo $ac_n "(cached) $ac_c" 1>&6
16336 cat > conftest.$ac_ext <<EOF
16337 #line 16329 "configure"
16338 #include "confdefs.h"
16339 /* System header to define __stub macros and hopefully few prototypes,
16340 which can conflict with char $ac_func(); below. */
16341 #include <assert.h>
16342 /* Override any gcc2 internal prototype to avoid an error. */
16343 /* We use char because int might match the return type of a gcc2
16344 builtin and then its argument prototype would still apply. */
16349 /* The GNU C library defines this for functions which it implements
16350 to always fail with ENOSYS. Some functions are actually named
16351 something starting with __ and the normal name is an alias. */
16352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16360 if { (eval echo configure:16352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16362 eval "ac_cv_func_$ac_func=yes"
16364 echo "configure: failed program was:" >&5
16365 cat conftest.$ac_ext >&5
16367 eval "ac_cv_func_$ac_func=no"
16372 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16373 echo "$ac_t""yes" 1>&6
16374 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16375 cat >> confdefs.h <<EOF
16376 #define $ac_tr_func 1
16380 echo "$ac_t""no" 1>&6
16386 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16387 echo "configure:16379: checking for _isnanl declaration" >&5
16388 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16389 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16390 echo $ac_n "(cached) $ac_c" 1>&6
16395 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16396 ac_cpp='$CXXCPP $CPPFLAGS'
16397 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16398 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16399 cross_compiling=$ac_cv_prog_cxx_cross
16401 cat > conftest.$ac_ext <<EOF
16402 #line 16394 "configure"
16403 #include "confdefs.h"
16405 #ifdef HAVE_IEEEFP_H
16406 #include <ieeefp.h>
16413 if { (eval echo configure:16405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16415 glibcpp_cv_func__isnanl_use=yes
16417 echo "configure: failed program was:" >&5
16418 cat conftest.$ac_ext >&5
16420 glibcpp_cv_func__isnanl_use=no
16424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16425 ac_cpp='$CPP $CPPFLAGS'
16426 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16427 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16428 cross_compiling=$ac_cv_prog_cc_cross
16434 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16436 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16437 for ac_func in _isnanl
16439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16440 echo "configure:16432: checking for $ac_func" >&5
16441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16442 echo $ac_n "(cached) $ac_c" 1>&6
16444 cat > conftest.$ac_ext <<EOF
16445 #line 16437 "configure"
16446 #include "confdefs.h"
16447 /* System header to define __stub macros and hopefully few prototypes,
16448 which can conflict with char $ac_func(); below. */
16449 #include <assert.h>
16450 /* Override any gcc2 internal prototype to avoid an error. */
16451 /* We use char because int might match the return type of a gcc2
16452 builtin and then its argument prototype would still apply. */
16457 /* The GNU C library defines this for functions which it implements
16458 to always fail with ENOSYS. Some functions are actually named
16459 something starting with __ and the normal name is an alias. */
16460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16468 if { (eval echo configure:16460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16470 eval "ac_cv_func_$ac_func=yes"
16472 echo "configure: failed program was:" >&5
16473 cat conftest.$ac_ext >&5
16475 eval "ac_cv_func_$ac_func=no"
16480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16481 echo "$ac_t""yes" 1>&6
16482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16483 cat >> confdefs.h <<EOF
16484 #define $ac_tr_func 1
16488 echo "$ac_t""no" 1>&6
16497 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16498 echo "configure:16490: checking for isinfl declaration" >&5
16499 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16500 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16501 echo $ac_n "(cached) $ac_c" 1>&6
16506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16507 ac_cpp='$CXXCPP $CPPFLAGS'
16508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16510 cross_compiling=$ac_cv_prog_cxx_cross
16512 cat > conftest.$ac_ext <<EOF
16513 #line 16505 "configure"
16514 #include "confdefs.h"
16516 #ifdef HAVE_IEEEFP_H
16517 #include <ieeefp.h>
16524 if { (eval echo configure:16516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16526 glibcpp_cv_func_isinfl_use=yes
16528 echo "configure: failed program was:" >&5
16529 cat conftest.$ac_ext >&5
16531 glibcpp_cv_func_isinfl_use=no
16535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16536 ac_cpp='$CPP $CPPFLAGS'
16537 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16538 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16539 cross_compiling=$ac_cv_prog_cc_cross
16545 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16547 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16548 for ac_func in isinfl
16550 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16551 echo "configure:16543: checking for $ac_func" >&5
16552 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16553 echo $ac_n "(cached) $ac_c" 1>&6
16555 cat > conftest.$ac_ext <<EOF
16556 #line 16548 "configure"
16557 #include "confdefs.h"
16558 /* System header to define __stub macros and hopefully few prototypes,
16559 which can conflict with char $ac_func(); below. */
16560 #include <assert.h>
16561 /* Override any gcc2 internal prototype to avoid an error. */
16562 /* We use char because int might match the return type of a gcc2
16563 builtin and then its argument prototype would still apply. */
16568 /* The GNU C library defines this for functions which it implements
16569 to always fail with ENOSYS. Some functions are actually named
16570 something starting with __ and the normal name is an alias. */
16571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16579 if { (eval echo configure:16571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16581 eval "ac_cv_func_$ac_func=yes"
16583 echo "configure: failed program was:" >&5
16584 cat conftest.$ac_ext >&5
16586 eval "ac_cv_func_$ac_func=no"
16591 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16592 echo "$ac_t""yes" 1>&6
16593 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16594 cat >> confdefs.h <<EOF
16595 #define $ac_tr_func 1
16599 echo "$ac_t""no" 1>&6
16605 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16606 echo "configure:16598: checking for _isinfl declaration" >&5
16607 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16608 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16609 echo $ac_n "(cached) $ac_c" 1>&6
16614 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16615 ac_cpp='$CXXCPP $CPPFLAGS'
16616 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16617 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16618 cross_compiling=$ac_cv_prog_cxx_cross
16620 cat > conftest.$ac_ext <<EOF
16621 #line 16613 "configure"
16622 #include "confdefs.h"
16624 #ifdef HAVE_IEEEFP_H
16625 #include <ieeefp.h>
16632 if { (eval echo configure:16624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16634 glibcpp_cv_func__isinfl_use=yes
16636 echo "configure: failed program was:" >&5
16637 cat conftest.$ac_ext >&5
16639 glibcpp_cv_func__isinfl_use=no
16643 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16644 ac_cpp='$CPP $CPPFLAGS'
16645 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16646 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16647 cross_compiling=$ac_cv_prog_cc_cross
16653 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16655 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16656 for ac_func in _isinfl
16658 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16659 echo "configure:16651: checking for $ac_func" >&5
16660 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16661 echo $ac_n "(cached) $ac_c" 1>&6
16663 cat > conftest.$ac_ext <<EOF
16664 #line 16656 "configure"
16665 #include "confdefs.h"
16666 /* System header to define __stub macros and hopefully few prototypes,
16667 which can conflict with char $ac_func(); below. */
16668 #include <assert.h>
16669 /* Override any gcc2 internal prototype to avoid an error. */
16670 /* We use char because int might match the return type of a gcc2
16671 builtin and then its argument prototype would still apply. */
16676 /* The GNU C library defines this for functions which it implements
16677 to always fail with ENOSYS. Some functions are actually named
16678 something starting with __ and the normal name is an alias. */
16679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16687 if { (eval echo configure:16679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16689 eval "ac_cv_func_$ac_func=yes"
16691 echo "configure: failed program was:" >&5
16692 cat conftest.$ac_ext >&5
16694 eval "ac_cv_func_$ac_func=no"
16699 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16700 echo "$ac_t""yes" 1>&6
16701 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16702 cat >> confdefs.h <<EOF
16703 #define $ac_tr_func 1
16707 echo "$ac_t""no" 1>&6
16716 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16717 echo "configure:16709: checking for copysignl declaration" >&5
16718 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16719 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16720 echo $ac_n "(cached) $ac_c" 1>&6
16725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16726 ac_cpp='$CXXCPP $CPPFLAGS'
16727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16729 cross_compiling=$ac_cv_prog_cxx_cross
16731 cat > conftest.$ac_ext <<EOF
16732 #line 16724 "configure"
16733 #include "confdefs.h"
16739 if { (eval echo configure:16731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16741 glibcpp_cv_func_copysignl_use=yes
16743 echo "configure: failed program was:" >&5
16744 cat conftest.$ac_ext >&5
16746 glibcpp_cv_func_copysignl_use=no
16750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16751 ac_cpp='$CPP $CPPFLAGS'
16752 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16753 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16754 cross_compiling=$ac_cv_prog_cc_cross
16760 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16762 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16763 for ac_func in copysignl
16765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16766 echo "configure:16758: checking for $ac_func" >&5
16767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16768 echo $ac_n "(cached) $ac_c" 1>&6
16770 cat > conftest.$ac_ext <<EOF
16771 #line 16763 "configure"
16772 #include "confdefs.h"
16773 /* System header to define __stub macros and hopefully few prototypes,
16774 which can conflict with char $ac_func(); below. */
16775 #include <assert.h>
16776 /* Override any gcc2 internal prototype to avoid an error. */
16777 /* We use char because int might match the return type of a gcc2
16778 builtin and then its argument prototype would still apply. */
16783 /* The GNU C library defines this for functions which it implements
16784 to always fail with ENOSYS. Some functions are actually named
16785 something starting with __ and the normal name is an alias. */
16786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16794 if { (eval echo configure:16786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16796 eval "ac_cv_func_$ac_func=yes"
16798 echo "configure: failed program was:" >&5
16799 cat conftest.$ac_ext >&5
16801 eval "ac_cv_func_$ac_func=no"
16806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16807 echo "$ac_t""yes" 1>&6
16808 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16809 cat >> confdefs.h <<EOF
16810 #define $ac_tr_func 1
16814 echo "$ac_t""no" 1>&6
16820 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16821 echo "configure:16813: checking for _copysignl declaration" >&5
16822 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16823 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16824 echo $ac_n "(cached) $ac_c" 1>&6
16829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16830 ac_cpp='$CXXCPP $CPPFLAGS'
16831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16833 cross_compiling=$ac_cv_prog_cxx_cross
16835 cat > conftest.$ac_ext <<EOF
16836 #line 16828 "configure"
16837 #include "confdefs.h"
16843 if { (eval echo configure:16835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16845 glibcpp_cv_func__copysignl_use=yes
16847 echo "configure: failed program was:" >&5
16848 cat conftest.$ac_ext >&5
16850 glibcpp_cv_func__copysignl_use=no
16854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16855 ac_cpp='$CPP $CPPFLAGS'
16856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16858 cross_compiling=$ac_cv_prog_cc_cross
16864 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16866 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16867 for ac_func in _copysignl
16869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16870 echo "configure:16862: checking for $ac_func" >&5
16871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16872 echo $ac_n "(cached) $ac_c" 1>&6
16874 cat > conftest.$ac_ext <<EOF
16875 #line 16867 "configure"
16876 #include "confdefs.h"
16877 /* System header to define __stub macros and hopefully few prototypes,
16878 which can conflict with char $ac_func(); below. */
16879 #include <assert.h>
16880 /* Override any gcc2 internal prototype to avoid an error. */
16881 /* We use char because int might match the return type of a gcc2
16882 builtin and then its argument prototype would still apply. */
16887 /* The GNU C library defines this for functions which it implements
16888 to always fail with ENOSYS. Some functions are actually named
16889 something starting with __ and the normal name is an alias. */
16890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16898 if { (eval echo configure:16890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16900 eval "ac_cv_func_$ac_func=yes"
16902 echo "configure: failed program was:" >&5
16903 cat conftest.$ac_ext >&5
16905 eval "ac_cv_func_$ac_func=no"
16910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16911 echo "$ac_t""yes" 1>&6
16912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16913 cat >> confdefs.h <<EOF
16914 #define $ac_tr_func 1
16918 echo "$ac_t""no" 1>&6
16927 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16928 echo "configure:16920: checking for atan2l declaration" >&5
16929 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16930 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16931 echo $ac_n "(cached) $ac_c" 1>&6
16936 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16937 ac_cpp='$CXXCPP $CPPFLAGS'
16938 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16939 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16940 cross_compiling=$ac_cv_prog_cxx_cross
16942 cat > conftest.$ac_ext <<EOF
16943 #line 16935 "configure"
16944 #include "confdefs.h"
16950 if { (eval echo configure:16942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16952 glibcpp_cv_func_atan2l_use=yes
16954 echo "configure: failed program was:" >&5
16955 cat conftest.$ac_ext >&5
16957 glibcpp_cv_func_atan2l_use=no
16961 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16962 ac_cpp='$CPP $CPPFLAGS'
16963 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16964 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16965 cross_compiling=$ac_cv_prog_cc_cross
16971 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16973 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16974 for ac_func in atan2l
16976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16977 echo "configure:16969: checking for $ac_func" >&5
16978 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16979 echo $ac_n "(cached) $ac_c" 1>&6
16981 cat > conftest.$ac_ext <<EOF
16982 #line 16974 "configure"
16983 #include "confdefs.h"
16984 /* System header to define __stub macros and hopefully few prototypes,
16985 which can conflict with char $ac_func(); below. */
16986 #include <assert.h>
16987 /* Override any gcc2 internal prototype to avoid an error. */
16988 /* We use char because int might match the return type of a gcc2
16989 builtin and then its argument prototype would still apply. */
16994 /* The GNU C library defines this for functions which it implements
16995 to always fail with ENOSYS. Some functions are actually named
16996 something starting with __ and the normal name is an alias. */
16997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17005 if { (eval echo configure:16997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17007 eval "ac_cv_func_$ac_func=yes"
17009 echo "configure: failed program was:" >&5
17010 cat conftest.$ac_ext >&5
17012 eval "ac_cv_func_$ac_func=no"
17017 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17018 echo "$ac_t""yes" 1>&6
17019 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17020 cat >> confdefs.h <<EOF
17021 #define $ac_tr_func 1
17025 echo "$ac_t""no" 1>&6
17031 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17032 echo "configure:17024: checking for _atan2l declaration" >&5
17033 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17034 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17035 echo $ac_n "(cached) $ac_c" 1>&6
17040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17041 ac_cpp='$CXXCPP $CPPFLAGS'
17042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17044 cross_compiling=$ac_cv_prog_cxx_cross
17046 cat > conftest.$ac_ext <<EOF
17047 #line 17039 "configure"
17048 #include "confdefs.h"
17054 if { (eval echo configure:17046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17056 glibcpp_cv_func__atan2l_use=yes
17058 echo "configure: failed program was:" >&5
17059 cat conftest.$ac_ext >&5
17061 glibcpp_cv_func__atan2l_use=no
17065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17066 ac_cpp='$CPP $CPPFLAGS'
17067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17069 cross_compiling=$ac_cv_prog_cc_cross
17075 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17077 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17078 for ac_func in _atan2l
17080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17081 echo "configure:17073: checking for $ac_func" >&5
17082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17083 echo $ac_n "(cached) $ac_c" 1>&6
17085 cat > conftest.$ac_ext <<EOF
17086 #line 17078 "configure"
17087 #include "confdefs.h"
17088 /* System header to define __stub macros and hopefully few prototypes,
17089 which can conflict with char $ac_func(); below. */
17090 #include <assert.h>
17091 /* Override any gcc2 internal prototype to avoid an error. */
17092 /* We use char because int might match the return type of a gcc2
17093 builtin and then its argument prototype would still apply. */
17098 /* The GNU C library defines this for functions which it implements
17099 to always fail with ENOSYS. Some functions are actually named
17100 something starting with __ and the normal name is an alias. */
17101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17109 if { (eval echo configure:17101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17111 eval "ac_cv_func_$ac_func=yes"
17113 echo "configure: failed program was:" >&5
17114 cat conftest.$ac_ext >&5
17116 eval "ac_cv_func_$ac_func=no"
17121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17122 echo "$ac_t""yes" 1>&6
17123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17124 cat >> confdefs.h <<EOF
17125 #define $ac_tr_func 1
17129 echo "$ac_t""no" 1>&6
17138 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17139 echo "configure:17131: checking for expl declaration" >&5
17140 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17141 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17142 echo $ac_n "(cached) $ac_c" 1>&6
17147 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17148 ac_cpp='$CXXCPP $CPPFLAGS'
17149 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17150 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17151 cross_compiling=$ac_cv_prog_cxx_cross
17153 cat > conftest.$ac_ext <<EOF
17154 #line 17146 "configure"
17155 #include "confdefs.h"
17157 #ifdef HAVE_IEEEFP_H
17158 #include <ieeefp.h>
17165 if { (eval echo configure:17157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17167 glibcpp_cv_func_expl_use=yes
17169 echo "configure: failed program was:" >&5
17170 cat conftest.$ac_ext >&5
17172 glibcpp_cv_func_expl_use=no
17176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17177 ac_cpp='$CPP $CPPFLAGS'
17178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17180 cross_compiling=$ac_cv_prog_cc_cross
17186 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17188 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17189 for ac_func in expl
17191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17192 echo "configure:17184: checking for $ac_func" >&5
17193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17194 echo $ac_n "(cached) $ac_c" 1>&6
17196 cat > conftest.$ac_ext <<EOF
17197 #line 17189 "configure"
17198 #include "confdefs.h"
17199 /* System header to define __stub macros and hopefully few prototypes,
17200 which can conflict with char $ac_func(); below. */
17201 #include <assert.h>
17202 /* Override any gcc2 internal prototype to avoid an error. */
17203 /* We use char because int might match the return type of a gcc2
17204 builtin and then its argument prototype would still apply. */
17209 /* The GNU C library defines this for functions which it implements
17210 to always fail with ENOSYS. Some functions are actually named
17211 something starting with __ and the normal name is an alias. */
17212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17220 if { (eval echo configure:17212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17222 eval "ac_cv_func_$ac_func=yes"
17224 echo "configure: failed program was:" >&5
17225 cat conftest.$ac_ext >&5
17227 eval "ac_cv_func_$ac_func=no"
17232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17233 echo "$ac_t""yes" 1>&6
17234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17235 cat >> confdefs.h <<EOF
17236 #define $ac_tr_func 1
17240 echo "$ac_t""no" 1>&6
17246 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17247 echo "configure:17239: checking for _expl declaration" >&5
17248 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17249 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17250 echo $ac_n "(cached) $ac_c" 1>&6
17255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17256 ac_cpp='$CXXCPP $CPPFLAGS'
17257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17259 cross_compiling=$ac_cv_prog_cxx_cross
17261 cat > conftest.$ac_ext <<EOF
17262 #line 17254 "configure"
17263 #include "confdefs.h"
17265 #ifdef HAVE_IEEEFP_H
17266 #include <ieeefp.h>
17273 if { (eval echo configure:17265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17275 glibcpp_cv_func__expl_use=yes
17277 echo "configure: failed program was:" >&5
17278 cat conftest.$ac_ext >&5
17280 glibcpp_cv_func__expl_use=no
17284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17285 ac_cpp='$CPP $CPPFLAGS'
17286 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17287 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17288 cross_compiling=$ac_cv_prog_cc_cross
17294 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17296 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17297 for ac_func in _expl
17299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17300 echo "configure:17292: checking for $ac_func" >&5
17301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17302 echo $ac_n "(cached) $ac_c" 1>&6
17304 cat > conftest.$ac_ext <<EOF
17305 #line 17297 "configure"
17306 #include "confdefs.h"
17307 /* System header to define __stub macros and hopefully few prototypes,
17308 which can conflict with char $ac_func(); below. */
17309 #include <assert.h>
17310 /* Override any gcc2 internal prototype to avoid an error. */
17311 /* We use char because int might match the return type of a gcc2
17312 builtin and then its argument prototype would still apply. */
17317 /* The GNU C library defines this for functions which it implements
17318 to always fail with ENOSYS. Some functions are actually named
17319 something starting with __ and the normal name is an alias. */
17320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17328 if { (eval echo configure:17320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17330 eval "ac_cv_func_$ac_func=yes"
17332 echo "configure: failed program was:" >&5
17333 cat conftest.$ac_ext >&5
17335 eval "ac_cv_func_$ac_func=no"
17340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17341 echo "$ac_t""yes" 1>&6
17342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17343 cat >> confdefs.h <<EOF
17344 #define $ac_tr_func 1
17348 echo "$ac_t""no" 1>&6
17357 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17358 echo "configure:17350: checking for fabsl declaration" >&5
17359 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17360 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17361 echo $ac_n "(cached) $ac_c" 1>&6
17366 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17367 ac_cpp='$CXXCPP $CPPFLAGS'
17368 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17369 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17370 cross_compiling=$ac_cv_prog_cxx_cross
17372 cat > conftest.$ac_ext <<EOF
17373 #line 17365 "configure"
17374 #include "confdefs.h"
17376 #ifdef HAVE_IEEEFP_H
17377 #include <ieeefp.h>
17384 if { (eval echo configure:17376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17386 glibcpp_cv_func_fabsl_use=yes
17388 echo "configure: failed program was:" >&5
17389 cat conftest.$ac_ext >&5
17391 glibcpp_cv_func_fabsl_use=no
17395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17396 ac_cpp='$CPP $CPPFLAGS'
17397 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17398 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17399 cross_compiling=$ac_cv_prog_cc_cross
17405 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17407 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17408 for ac_func in fabsl
17410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17411 echo "configure:17403: checking for $ac_func" >&5
17412 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17413 echo $ac_n "(cached) $ac_c" 1>&6
17415 cat > conftest.$ac_ext <<EOF
17416 #line 17408 "configure"
17417 #include "confdefs.h"
17418 /* System header to define __stub macros and hopefully few prototypes,
17419 which can conflict with char $ac_func(); below. */
17420 #include <assert.h>
17421 /* Override any gcc2 internal prototype to avoid an error. */
17422 /* We use char because int might match the return type of a gcc2
17423 builtin and then its argument prototype would still apply. */
17428 /* The GNU C library defines this for functions which it implements
17429 to always fail with ENOSYS. Some functions are actually named
17430 something starting with __ and the normal name is an alias. */
17431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17439 if { (eval echo configure:17431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17441 eval "ac_cv_func_$ac_func=yes"
17443 echo "configure: failed program was:" >&5
17444 cat conftest.$ac_ext >&5
17446 eval "ac_cv_func_$ac_func=no"
17451 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17452 echo "$ac_t""yes" 1>&6
17453 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17454 cat >> confdefs.h <<EOF
17455 #define $ac_tr_func 1
17459 echo "$ac_t""no" 1>&6
17465 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17466 echo "configure:17458: checking for _fabsl declaration" >&5
17467 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17468 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17469 echo $ac_n "(cached) $ac_c" 1>&6
17474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17475 ac_cpp='$CXXCPP $CPPFLAGS'
17476 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17477 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17478 cross_compiling=$ac_cv_prog_cxx_cross
17480 cat > conftest.$ac_ext <<EOF
17481 #line 17473 "configure"
17482 #include "confdefs.h"
17484 #ifdef HAVE_IEEEFP_H
17485 #include <ieeefp.h>
17492 if { (eval echo configure:17484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17494 glibcpp_cv_func__fabsl_use=yes
17496 echo "configure: failed program was:" >&5
17497 cat conftest.$ac_ext >&5
17499 glibcpp_cv_func__fabsl_use=no
17503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17504 ac_cpp='$CPP $CPPFLAGS'
17505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17507 cross_compiling=$ac_cv_prog_cc_cross
17513 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17515 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17516 for ac_func in _fabsl
17518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17519 echo "configure:17511: checking for $ac_func" >&5
17520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17521 echo $ac_n "(cached) $ac_c" 1>&6
17523 cat > conftest.$ac_ext <<EOF
17524 #line 17516 "configure"
17525 #include "confdefs.h"
17526 /* System header to define __stub macros and hopefully few prototypes,
17527 which can conflict with char $ac_func(); below. */
17528 #include <assert.h>
17529 /* Override any gcc2 internal prototype to avoid an error. */
17530 /* We use char because int might match the return type of a gcc2
17531 builtin and then its argument prototype would still apply. */
17536 /* The GNU C library defines this for functions which it implements
17537 to always fail with ENOSYS. Some functions are actually named
17538 something starting with __ and the normal name is an alias. */
17539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17547 if { (eval echo configure:17539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17549 eval "ac_cv_func_$ac_func=yes"
17551 echo "configure: failed program was:" >&5
17552 cat conftest.$ac_ext >&5
17554 eval "ac_cv_func_$ac_func=no"
17559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17560 echo "$ac_t""yes" 1>&6
17561 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17562 cat >> confdefs.h <<EOF
17563 #define $ac_tr_func 1
17567 echo "$ac_t""no" 1>&6
17576 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17577 echo "configure:17569: checking for fmodl declaration" >&5
17578 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17579 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17580 echo $ac_n "(cached) $ac_c" 1>&6
17585 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17586 ac_cpp='$CXXCPP $CPPFLAGS'
17587 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17588 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17589 cross_compiling=$ac_cv_prog_cxx_cross
17591 cat > conftest.$ac_ext <<EOF
17592 #line 17584 "configure"
17593 #include "confdefs.h"
17599 if { (eval echo configure:17591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17601 glibcpp_cv_func_fmodl_use=yes
17603 echo "configure: failed program was:" >&5
17604 cat conftest.$ac_ext >&5
17606 glibcpp_cv_func_fmodl_use=no
17610 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17611 ac_cpp='$CPP $CPPFLAGS'
17612 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17613 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17614 cross_compiling=$ac_cv_prog_cc_cross
17620 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17622 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17623 for ac_func in fmodl
17625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17626 echo "configure:17618: checking for $ac_func" >&5
17627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17628 echo $ac_n "(cached) $ac_c" 1>&6
17630 cat > conftest.$ac_ext <<EOF
17631 #line 17623 "configure"
17632 #include "confdefs.h"
17633 /* System header to define __stub macros and hopefully few prototypes,
17634 which can conflict with char $ac_func(); below. */
17635 #include <assert.h>
17636 /* Override any gcc2 internal prototype to avoid an error. */
17637 /* We use char because int might match the return type of a gcc2
17638 builtin and then its argument prototype would still apply. */
17643 /* The GNU C library defines this for functions which it implements
17644 to always fail with ENOSYS. Some functions are actually named
17645 something starting with __ and the normal name is an alias. */
17646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17654 if { (eval echo configure:17646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17656 eval "ac_cv_func_$ac_func=yes"
17658 echo "configure: failed program was:" >&5
17659 cat conftest.$ac_ext >&5
17661 eval "ac_cv_func_$ac_func=no"
17666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17667 echo "$ac_t""yes" 1>&6
17668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17669 cat >> confdefs.h <<EOF
17670 #define $ac_tr_func 1
17674 echo "$ac_t""no" 1>&6
17680 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17681 echo "configure:17673: checking for _fmodl declaration" >&5
17682 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17683 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17684 echo $ac_n "(cached) $ac_c" 1>&6
17689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17690 ac_cpp='$CXXCPP $CPPFLAGS'
17691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17693 cross_compiling=$ac_cv_prog_cxx_cross
17695 cat > conftest.$ac_ext <<EOF
17696 #line 17688 "configure"
17697 #include "confdefs.h"
17703 if { (eval echo configure:17695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17705 glibcpp_cv_func__fmodl_use=yes
17707 echo "configure: failed program was:" >&5
17708 cat conftest.$ac_ext >&5
17710 glibcpp_cv_func__fmodl_use=no
17714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17715 ac_cpp='$CPP $CPPFLAGS'
17716 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17717 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17718 cross_compiling=$ac_cv_prog_cc_cross
17724 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17726 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17727 for ac_func in _fmodl
17729 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17730 echo "configure:17722: checking for $ac_func" >&5
17731 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17732 echo $ac_n "(cached) $ac_c" 1>&6
17734 cat > conftest.$ac_ext <<EOF
17735 #line 17727 "configure"
17736 #include "confdefs.h"
17737 /* System header to define __stub macros and hopefully few prototypes,
17738 which can conflict with char $ac_func(); below. */
17739 #include <assert.h>
17740 /* Override any gcc2 internal prototype to avoid an error. */
17741 /* We use char because int might match the return type of a gcc2
17742 builtin and then its argument prototype would still apply. */
17747 /* The GNU C library defines this for functions which it implements
17748 to always fail with ENOSYS. Some functions are actually named
17749 something starting with __ and the normal name is an alias. */
17750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17758 if { (eval echo configure:17750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17760 eval "ac_cv_func_$ac_func=yes"
17762 echo "configure: failed program was:" >&5
17763 cat conftest.$ac_ext >&5
17765 eval "ac_cv_func_$ac_func=no"
17770 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17771 echo "$ac_t""yes" 1>&6
17772 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17773 cat >> confdefs.h <<EOF
17774 #define $ac_tr_func 1
17778 echo "$ac_t""no" 1>&6
17787 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17788 echo "configure:17780: checking for frexpl declaration" >&5
17789 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17790 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17791 echo $ac_n "(cached) $ac_c" 1>&6
17796 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17797 ac_cpp='$CXXCPP $CPPFLAGS'
17798 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17799 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17800 cross_compiling=$ac_cv_prog_cxx_cross
17802 cat > conftest.$ac_ext <<EOF
17803 #line 17795 "configure"
17804 #include "confdefs.h"
17810 if { (eval echo configure:17802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17812 glibcpp_cv_func_frexpl_use=yes
17814 echo "configure: failed program was:" >&5
17815 cat conftest.$ac_ext >&5
17817 glibcpp_cv_func_frexpl_use=no
17821 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17822 ac_cpp='$CPP $CPPFLAGS'
17823 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17824 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17825 cross_compiling=$ac_cv_prog_cc_cross
17831 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17833 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17834 for ac_func in frexpl
17836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17837 echo "configure:17829: checking for $ac_func" >&5
17838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17839 echo $ac_n "(cached) $ac_c" 1>&6
17841 cat > conftest.$ac_ext <<EOF
17842 #line 17834 "configure"
17843 #include "confdefs.h"
17844 /* System header to define __stub macros and hopefully few prototypes,
17845 which can conflict with char $ac_func(); below. */
17846 #include <assert.h>
17847 /* Override any gcc2 internal prototype to avoid an error. */
17848 /* We use char because int might match the return type of a gcc2
17849 builtin and then its argument prototype would still apply. */
17854 /* The GNU C library defines this for functions which it implements
17855 to always fail with ENOSYS. Some functions are actually named
17856 something starting with __ and the normal name is an alias. */
17857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17865 if { (eval echo configure:17857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17867 eval "ac_cv_func_$ac_func=yes"
17869 echo "configure: failed program was:" >&5
17870 cat conftest.$ac_ext >&5
17872 eval "ac_cv_func_$ac_func=no"
17877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17878 echo "$ac_t""yes" 1>&6
17879 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17880 cat >> confdefs.h <<EOF
17881 #define $ac_tr_func 1
17885 echo "$ac_t""no" 1>&6
17891 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17892 echo "configure:17884: checking for _frexpl declaration" >&5
17893 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17894 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17895 echo $ac_n "(cached) $ac_c" 1>&6
17900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17901 ac_cpp='$CXXCPP $CPPFLAGS'
17902 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17903 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17904 cross_compiling=$ac_cv_prog_cxx_cross
17906 cat > conftest.$ac_ext <<EOF
17907 #line 17899 "configure"
17908 #include "confdefs.h"
17914 if { (eval echo configure:17906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17916 glibcpp_cv_func__frexpl_use=yes
17918 echo "configure: failed program was:" >&5
17919 cat conftest.$ac_ext >&5
17921 glibcpp_cv_func__frexpl_use=no
17925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17926 ac_cpp='$CPP $CPPFLAGS'
17927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17929 cross_compiling=$ac_cv_prog_cc_cross
17935 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17937 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17938 for ac_func in _frexpl
17940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17941 echo "configure:17933: checking for $ac_func" >&5
17942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17943 echo $ac_n "(cached) $ac_c" 1>&6
17945 cat > conftest.$ac_ext <<EOF
17946 #line 17938 "configure"
17947 #include "confdefs.h"
17948 /* System header to define __stub macros and hopefully few prototypes,
17949 which can conflict with char $ac_func(); below. */
17950 #include <assert.h>
17951 /* Override any gcc2 internal prototype to avoid an error. */
17952 /* We use char because int might match the return type of a gcc2
17953 builtin and then its argument prototype would still apply. */
17958 /* The GNU C library defines this for functions which it implements
17959 to always fail with ENOSYS. Some functions are actually named
17960 something starting with __ and the normal name is an alias. */
17961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17969 if { (eval echo configure:17961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17971 eval "ac_cv_func_$ac_func=yes"
17973 echo "configure: failed program was:" >&5
17974 cat conftest.$ac_ext >&5
17976 eval "ac_cv_func_$ac_func=no"
17981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17982 echo "$ac_t""yes" 1>&6
17983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17984 cat >> confdefs.h <<EOF
17985 #define $ac_tr_func 1
17989 echo "$ac_t""no" 1>&6
17998 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
17999 echo "configure:17991: checking for hypotl declaration" >&5
18000 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18001 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18002 echo $ac_n "(cached) $ac_c" 1>&6
18007 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18008 ac_cpp='$CXXCPP $CPPFLAGS'
18009 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18010 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18011 cross_compiling=$ac_cv_prog_cxx_cross
18013 cat > conftest.$ac_ext <<EOF
18014 #line 18006 "configure"
18015 #include "confdefs.h"
18021 if { (eval echo configure:18013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18023 glibcpp_cv_func_hypotl_use=yes
18025 echo "configure: failed program was:" >&5
18026 cat conftest.$ac_ext >&5
18028 glibcpp_cv_func_hypotl_use=no
18032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18033 ac_cpp='$CPP $CPPFLAGS'
18034 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18035 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18036 cross_compiling=$ac_cv_prog_cc_cross
18042 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18044 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18045 for ac_func in hypotl
18047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18048 echo "configure:18040: checking for $ac_func" >&5
18049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18050 echo $ac_n "(cached) $ac_c" 1>&6
18052 cat > conftest.$ac_ext <<EOF
18053 #line 18045 "configure"
18054 #include "confdefs.h"
18055 /* System header to define __stub macros and hopefully few prototypes,
18056 which can conflict with char $ac_func(); below. */
18057 #include <assert.h>
18058 /* Override any gcc2 internal prototype to avoid an error. */
18059 /* We use char because int might match the return type of a gcc2
18060 builtin and then its argument prototype would still apply. */
18065 /* The GNU C library defines this for functions which it implements
18066 to always fail with ENOSYS. Some functions are actually named
18067 something starting with __ and the normal name is an alias. */
18068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18076 if { (eval echo configure:18068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18078 eval "ac_cv_func_$ac_func=yes"
18080 echo "configure: failed program was:" >&5
18081 cat conftest.$ac_ext >&5
18083 eval "ac_cv_func_$ac_func=no"
18088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18089 echo "$ac_t""yes" 1>&6
18090 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18091 cat >> confdefs.h <<EOF
18092 #define $ac_tr_func 1
18096 echo "$ac_t""no" 1>&6
18102 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18103 echo "configure:18095: checking for _hypotl declaration" >&5
18104 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18105 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18106 echo $ac_n "(cached) $ac_c" 1>&6
18111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18112 ac_cpp='$CXXCPP $CPPFLAGS'
18113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18115 cross_compiling=$ac_cv_prog_cxx_cross
18117 cat > conftest.$ac_ext <<EOF
18118 #line 18110 "configure"
18119 #include "confdefs.h"
18125 if { (eval echo configure:18117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18127 glibcpp_cv_func__hypotl_use=yes
18129 echo "configure: failed program was:" >&5
18130 cat conftest.$ac_ext >&5
18132 glibcpp_cv_func__hypotl_use=no
18136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18137 ac_cpp='$CPP $CPPFLAGS'
18138 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18139 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18140 cross_compiling=$ac_cv_prog_cc_cross
18146 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18148 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18149 for ac_func in _hypotl
18151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18152 echo "configure:18144: checking for $ac_func" >&5
18153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18154 echo $ac_n "(cached) $ac_c" 1>&6
18156 cat > conftest.$ac_ext <<EOF
18157 #line 18149 "configure"
18158 #include "confdefs.h"
18159 /* System header to define __stub macros and hopefully few prototypes,
18160 which can conflict with char $ac_func(); below. */
18161 #include <assert.h>
18162 /* Override any gcc2 internal prototype to avoid an error. */
18163 /* We use char because int might match the return type of a gcc2
18164 builtin and then its argument prototype would still apply. */
18169 /* The GNU C library defines this for functions which it implements
18170 to always fail with ENOSYS. Some functions are actually named
18171 something starting with __ and the normal name is an alias. */
18172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18180 if { (eval echo configure:18172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18182 eval "ac_cv_func_$ac_func=yes"
18184 echo "configure: failed program was:" >&5
18185 cat conftest.$ac_ext >&5
18187 eval "ac_cv_func_$ac_func=no"
18192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18193 echo "$ac_t""yes" 1>&6
18194 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18195 cat >> confdefs.h <<EOF
18196 #define $ac_tr_func 1
18200 echo "$ac_t""no" 1>&6
18209 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18210 echo "configure:18202: checking for ldexpl declaration" >&5
18211 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18212 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18213 echo $ac_n "(cached) $ac_c" 1>&6
18218 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18219 ac_cpp='$CXXCPP $CPPFLAGS'
18220 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18221 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18222 cross_compiling=$ac_cv_prog_cxx_cross
18224 cat > conftest.$ac_ext <<EOF
18225 #line 18217 "configure"
18226 #include "confdefs.h"
18232 if { (eval echo configure:18224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18234 glibcpp_cv_func_ldexpl_use=yes
18236 echo "configure: failed program was:" >&5
18237 cat conftest.$ac_ext >&5
18239 glibcpp_cv_func_ldexpl_use=no
18243 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18246 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18247 cross_compiling=$ac_cv_prog_cc_cross
18253 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18255 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18256 for ac_func in ldexpl
18258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18259 echo "configure:18251: checking for $ac_func" >&5
18260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18261 echo $ac_n "(cached) $ac_c" 1>&6
18263 cat > conftest.$ac_ext <<EOF
18264 #line 18256 "configure"
18265 #include "confdefs.h"
18266 /* System header to define __stub macros and hopefully few prototypes,
18267 which can conflict with char $ac_func(); below. */
18268 #include <assert.h>
18269 /* Override any gcc2 internal prototype to avoid an error. */
18270 /* We use char because int might match the return type of a gcc2
18271 builtin and then its argument prototype would still apply. */
18276 /* The GNU C library defines this for functions which it implements
18277 to always fail with ENOSYS. Some functions are actually named
18278 something starting with __ and the normal name is an alias. */
18279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18287 if { (eval echo configure:18279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18289 eval "ac_cv_func_$ac_func=yes"
18291 echo "configure: failed program was:" >&5
18292 cat conftest.$ac_ext >&5
18294 eval "ac_cv_func_$ac_func=no"
18299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18300 echo "$ac_t""yes" 1>&6
18301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18302 cat >> confdefs.h <<EOF
18303 #define $ac_tr_func 1
18307 echo "$ac_t""no" 1>&6
18313 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18314 echo "configure:18306: checking for _ldexpl declaration" >&5
18315 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18316 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18317 echo $ac_n "(cached) $ac_c" 1>&6
18322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18323 ac_cpp='$CXXCPP $CPPFLAGS'
18324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18326 cross_compiling=$ac_cv_prog_cxx_cross
18328 cat > conftest.$ac_ext <<EOF
18329 #line 18321 "configure"
18330 #include "confdefs.h"
18336 if { (eval echo configure:18328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18338 glibcpp_cv_func__ldexpl_use=yes
18340 echo "configure: failed program was:" >&5
18341 cat conftest.$ac_ext >&5
18343 glibcpp_cv_func__ldexpl_use=no
18347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18348 ac_cpp='$CPP $CPPFLAGS'
18349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18351 cross_compiling=$ac_cv_prog_cc_cross
18357 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18359 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18360 for ac_func in _ldexpl
18362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18363 echo "configure:18355: checking for $ac_func" >&5
18364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18365 echo $ac_n "(cached) $ac_c" 1>&6
18367 cat > conftest.$ac_ext <<EOF
18368 #line 18360 "configure"
18369 #include "confdefs.h"
18370 /* System header to define __stub macros and hopefully few prototypes,
18371 which can conflict with char $ac_func(); below. */
18372 #include <assert.h>
18373 /* Override any gcc2 internal prototype to avoid an error. */
18374 /* We use char because int might match the return type of a gcc2
18375 builtin and then its argument prototype would still apply. */
18380 /* The GNU C library defines this for functions which it implements
18381 to always fail with ENOSYS. Some functions are actually named
18382 something starting with __ and the normal name is an alias. */
18383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18391 if { (eval echo configure:18383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18393 eval "ac_cv_func_$ac_func=yes"
18395 echo "configure: failed program was:" >&5
18396 cat conftest.$ac_ext >&5
18398 eval "ac_cv_func_$ac_func=no"
18403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18404 echo "$ac_t""yes" 1>&6
18405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18406 cat >> confdefs.h <<EOF
18407 #define $ac_tr_func 1
18411 echo "$ac_t""no" 1>&6
18420 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18421 echo "configure:18413: checking for logl declaration" >&5
18422 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18423 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18424 echo $ac_n "(cached) $ac_c" 1>&6
18429 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18430 ac_cpp='$CXXCPP $CPPFLAGS'
18431 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18432 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18433 cross_compiling=$ac_cv_prog_cxx_cross
18435 cat > conftest.$ac_ext <<EOF
18436 #line 18428 "configure"
18437 #include "confdefs.h"
18439 #ifdef HAVE_IEEEFP_H
18440 #include <ieeefp.h>
18447 if { (eval echo configure:18439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18449 glibcpp_cv_func_logl_use=yes
18451 echo "configure: failed program was:" >&5
18452 cat conftest.$ac_ext >&5
18454 glibcpp_cv_func_logl_use=no
18458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18459 ac_cpp='$CPP $CPPFLAGS'
18460 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18461 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18462 cross_compiling=$ac_cv_prog_cc_cross
18468 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18470 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18471 for ac_func in logl
18473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18474 echo "configure:18466: checking for $ac_func" >&5
18475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18476 echo $ac_n "(cached) $ac_c" 1>&6
18478 cat > conftest.$ac_ext <<EOF
18479 #line 18471 "configure"
18480 #include "confdefs.h"
18481 /* System header to define __stub macros and hopefully few prototypes,
18482 which can conflict with char $ac_func(); below. */
18483 #include <assert.h>
18484 /* Override any gcc2 internal prototype to avoid an error. */
18485 /* We use char because int might match the return type of a gcc2
18486 builtin and then its argument prototype would still apply. */
18491 /* The GNU C library defines this for functions which it implements
18492 to always fail with ENOSYS. Some functions are actually named
18493 something starting with __ and the normal name is an alias. */
18494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18502 if { (eval echo configure:18494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18504 eval "ac_cv_func_$ac_func=yes"
18506 echo "configure: failed program was:" >&5
18507 cat conftest.$ac_ext >&5
18509 eval "ac_cv_func_$ac_func=no"
18514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18515 echo "$ac_t""yes" 1>&6
18516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18517 cat >> confdefs.h <<EOF
18518 #define $ac_tr_func 1
18522 echo "$ac_t""no" 1>&6
18528 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18529 echo "configure:18521: checking for _logl declaration" >&5
18530 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18531 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18532 echo $ac_n "(cached) $ac_c" 1>&6
18537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18538 ac_cpp='$CXXCPP $CPPFLAGS'
18539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18541 cross_compiling=$ac_cv_prog_cxx_cross
18543 cat > conftest.$ac_ext <<EOF
18544 #line 18536 "configure"
18545 #include "confdefs.h"
18547 #ifdef HAVE_IEEEFP_H
18548 #include <ieeefp.h>
18555 if { (eval echo configure:18547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18557 glibcpp_cv_func__logl_use=yes
18559 echo "configure: failed program was:" >&5
18560 cat conftest.$ac_ext >&5
18562 glibcpp_cv_func__logl_use=no
18566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18567 ac_cpp='$CPP $CPPFLAGS'
18568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18570 cross_compiling=$ac_cv_prog_cc_cross
18576 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18578 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18579 for ac_func in _logl
18581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18582 echo "configure:18574: checking for $ac_func" >&5
18583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18584 echo $ac_n "(cached) $ac_c" 1>&6
18586 cat > conftest.$ac_ext <<EOF
18587 #line 18579 "configure"
18588 #include "confdefs.h"
18589 /* System header to define __stub macros and hopefully few prototypes,
18590 which can conflict with char $ac_func(); below. */
18591 #include <assert.h>
18592 /* Override any gcc2 internal prototype to avoid an error. */
18593 /* We use char because int might match the return type of a gcc2
18594 builtin and then its argument prototype would still apply. */
18599 /* The GNU C library defines this for functions which it implements
18600 to always fail with ENOSYS. Some functions are actually named
18601 something starting with __ and the normal name is an alias. */
18602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18610 if { (eval echo configure:18602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18612 eval "ac_cv_func_$ac_func=yes"
18614 echo "configure: failed program was:" >&5
18615 cat conftest.$ac_ext >&5
18617 eval "ac_cv_func_$ac_func=no"
18622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18623 echo "$ac_t""yes" 1>&6
18624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18625 cat >> confdefs.h <<EOF
18626 #define $ac_tr_func 1
18630 echo "$ac_t""no" 1>&6
18639 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18640 echo "configure:18632: checking for log10l declaration" >&5
18641 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18642 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18643 echo $ac_n "(cached) $ac_c" 1>&6
18648 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18649 ac_cpp='$CXXCPP $CPPFLAGS'
18650 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18651 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18652 cross_compiling=$ac_cv_prog_cxx_cross
18654 cat > conftest.$ac_ext <<EOF
18655 #line 18647 "configure"
18656 #include "confdefs.h"
18658 #ifdef HAVE_IEEEFP_H
18659 #include <ieeefp.h>
18666 if { (eval echo configure:18658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18668 glibcpp_cv_func_log10l_use=yes
18670 echo "configure: failed program was:" >&5
18671 cat conftest.$ac_ext >&5
18673 glibcpp_cv_func_log10l_use=no
18677 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18678 ac_cpp='$CPP $CPPFLAGS'
18679 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18680 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18681 cross_compiling=$ac_cv_prog_cc_cross
18687 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18689 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18690 for ac_func in log10l
18692 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18693 echo "configure:18685: checking for $ac_func" >&5
18694 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18695 echo $ac_n "(cached) $ac_c" 1>&6
18697 cat > conftest.$ac_ext <<EOF
18698 #line 18690 "configure"
18699 #include "confdefs.h"
18700 /* System header to define __stub macros and hopefully few prototypes,
18701 which can conflict with char $ac_func(); below. */
18702 #include <assert.h>
18703 /* Override any gcc2 internal prototype to avoid an error. */
18704 /* We use char because int might match the return type of a gcc2
18705 builtin and then its argument prototype would still apply. */
18710 /* The GNU C library defines this for functions which it implements
18711 to always fail with ENOSYS. Some functions are actually named
18712 something starting with __ and the normal name is an alias. */
18713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18721 if { (eval echo configure:18713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18723 eval "ac_cv_func_$ac_func=yes"
18725 echo "configure: failed program was:" >&5
18726 cat conftest.$ac_ext >&5
18728 eval "ac_cv_func_$ac_func=no"
18733 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18734 echo "$ac_t""yes" 1>&6
18735 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18736 cat >> confdefs.h <<EOF
18737 #define $ac_tr_func 1
18741 echo "$ac_t""no" 1>&6
18747 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18748 echo "configure:18740: checking for _log10l declaration" >&5
18749 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18750 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18751 echo $ac_n "(cached) $ac_c" 1>&6
18756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18757 ac_cpp='$CXXCPP $CPPFLAGS'
18758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18760 cross_compiling=$ac_cv_prog_cxx_cross
18762 cat > conftest.$ac_ext <<EOF
18763 #line 18755 "configure"
18764 #include "confdefs.h"
18766 #ifdef HAVE_IEEEFP_H
18767 #include <ieeefp.h>
18774 if { (eval echo configure:18766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18776 glibcpp_cv_func__log10l_use=yes
18778 echo "configure: failed program was:" >&5
18779 cat conftest.$ac_ext >&5
18781 glibcpp_cv_func__log10l_use=no
18785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18786 ac_cpp='$CPP $CPPFLAGS'
18787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18789 cross_compiling=$ac_cv_prog_cc_cross
18795 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18797 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18798 for ac_func in _log10l
18800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18801 echo "configure:18793: checking for $ac_func" >&5
18802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18803 echo $ac_n "(cached) $ac_c" 1>&6
18805 cat > conftest.$ac_ext <<EOF
18806 #line 18798 "configure"
18807 #include "confdefs.h"
18808 /* System header to define __stub macros and hopefully few prototypes,
18809 which can conflict with char $ac_func(); below. */
18810 #include <assert.h>
18811 /* Override any gcc2 internal prototype to avoid an error. */
18812 /* We use char because int might match the return type of a gcc2
18813 builtin and then its argument prototype would still apply. */
18818 /* The GNU C library defines this for functions which it implements
18819 to always fail with ENOSYS. Some functions are actually named
18820 something starting with __ and the normal name is an alias. */
18821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18829 if { (eval echo configure:18821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18831 eval "ac_cv_func_$ac_func=yes"
18833 echo "configure: failed program was:" >&5
18834 cat conftest.$ac_ext >&5
18836 eval "ac_cv_func_$ac_func=no"
18841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18842 echo "$ac_t""yes" 1>&6
18843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18844 cat >> confdefs.h <<EOF
18845 #define $ac_tr_func 1
18849 echo "$ac_t""no" 1>&6
18858 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18859 echo "configure:18851: checking for modfl declaration" >&5
18860 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18861 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18862 echo $ac_n "(cached) $ac_c" 1>&6
18867 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18868 ac_cpp='$CXXCPP $CPPFLAGS'
18869 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18870 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18871 cross_compiling=$ac_cv_prog_cxx_cross
18873 cat > conftest.$ac_ext <<EOF
18874 #line 18866 "configure"
18875 #include "confdefs.h"
18881 if { (eval echo configure:18873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18883 glibcpp_cv_func_modfl_use=yes
18885 echo "configure: failed program was:" >&5
18886 cat conftest.$ac_ext >&5
18888 glibcpp_cv_func_modfl_use=no
18892 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18893 ac_cpp='$CPP $CPPFLAGS'
18894 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18895 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18896 cross_compiling=$ac_cv_prog_cc_cross
18902 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18904 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18905 for ac_func in modfl
18907 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18908 echo "configure:18900: checking for $ac_func" >&5
18909 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18910 echo $ac_n "(cached) $ac_c" 1>&6
18912 cat > conftest.$ac_ext <<EOF
18913 #line 18905 "configure"
18914 #include "confdefs.h"
18915 /* System header to define __stub macros and hopefully few prototypes,
18916 which can conflict with char $ac_func(); below. */
18917 #include <assert.h>
18918 /* Override any gcc2 internal prototype to avoid an error. */
18919 /* We use char because int might match the return type of a gcc2
18920 builtin and then its argument prototype would still apply. */
18925 /* The GNU C library defines this for functions which it implements
18926 to always fail with ENOSYS. Some functions are actually named
18927 something starting with __ and the normal name is an alias. */
18928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18936 if { (eval echo configure:18928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18938 eval "ac_cv_func_$ac_func=yes"
18940 echo "configure: failed program was:" >&5
18941 cat conftest.$ac_ext >&5
18943 eval "ac_cv_func_$ac_func=no"
18948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18949 echo "$ac_t""yes" 1>&6
18950 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18951 cat >> confdefs.h <<EOF
18952 #define $ac_tr_func 1
18956 echo "$ac_t""no" 1>&6
18962 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18963 echo "configure:18955: checking for _modfl declaration" >&5
18964 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18965 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18966 echo $ac_n "(cached) $ac_c" 1>&6
18971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18972 ac_cpp='$CXXCPP $CPPFLAGS'
18973 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18974 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18975 cross_compiling=$ac_cv_prog_cxx_cross
18977 cat > conftest.$ac_ext <<EOF
18978 #line 18970 "configure"
18979 #include "confdefs.h"
18985 if { (eval echo configure:18977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18987 glibcpp_cv_func__modfl_use=yes
18989 echo "configure: failed program was:" >&5
18990 cat conftest.$ac_ext >&5
18992 glibcpp_cv_func__modfl_use=no
18996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18997 ac_cpp='$CPP $CPPFLAGS'
18998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19000 cross_compiling=$ac_cv_prog_cc_cross
19006 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19008 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19009 for ac_func in _modfl
19011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19012 echo "configure:19004: checking for $ac_func" >&5
19013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19014 echo $ac_n "(cached) $ac_c" 1>&6
19016 cat > conftest.$ac_ext <<EOF
19017 #line 19009 "configure"
19018 #include "confdefs.h"
19019 /* System header to define __stub macros and hopefully few prototypes,
19020 which can conflict with char $ac_func(); below. */
19021 #include <assert.h>
19022 /* Override any gcc2 internal prototype to avoid an error. */
19023 /* We use char because int might match the return type of a gcc2
19024 builtin and then its argument prototype would still apply. */
19029 /* The GNU C library defines this for functions which it implements
19030 to always fail with ENOSYS. Some functions are actually named
19031 something starting with __ and the normal name is an alias. */
19032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19040 if { (eval echo configure:19032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19042 eval "ac_cv_func_$ac_func=yes"
19044 echo "configure: failed program was:" >&5
19045 cat conftest.$ac_ext >&5
19047 eval "ac_cv_func_$ac_func=no"
19052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19053 echo "$ac_t""yes" 1>&6
19054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19055 cat >> confdefs.h <<EOF
19056 #define $ac_tr_func 1
19060 echo "$ac_t""no" 1>&6
19069 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19070 echo "configure:19062: checking for powl declaration" >&5
19071 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19072 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19073 echo $ac_n "(cached) $ac_c" 1>&6
19078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19079 ac_cpp='$CXXCPP $CPPFLAGS'
19080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19082 cross_compiling=$ac_cv_prog_cxx_cross
19084 cat > conftest.$ac_ext <<EOF
19085 #line 19077 "configure"
19086 #include "confdefs.h"
19092 if { (eval echo configure:19084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19094 glibcpp_cv_func_powl_use=yes
19096 echo "configure: failed program was:" >&5
19097 cat conftest.$ac_ext >&5
19099 glibcpp_cv_func_powl_use=no
19103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19104 ac_cpp='$CPP $CPPFLAGS'
19105 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19106 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19107 cross_compiling=$ac_cv_prog_cc_cross
19113 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19115 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19116 for ac_func in powl
19118 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19119 echo "configure:19111: checking for $ac_func" >&5
19120 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19121 echo $ac_n "(cached) $ac_c" 1>&6
19123 cat > conftest.$ac_ext <<EOF
19124 #line 19116 "configure"
19125 #include "confdefs.h"
19126 /* System header to define __stub macros and hopefully few prototypes,
19127 which can conflict with char $ac_func(); below. */
19128 #include <assert.h>
19129 /* Override any gcc2 internal prototype to avoid an error. */
19130 /* We use char because int might match the return type of a gcc2
19131 builtin and then its argument prototype would still apply. */
19136 /* The GNU C library defines this for functions which it implements
19137 to always fail with ENOSYS. Some functions are actually named
19138 something starting with __ and the normal name is an alias. */
19139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19147 if { (eval echo configure:19139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19149 eval "ac_cv_func_$ac_func=yes"
19151 echo "configure: failed program was:" >&5
19152 cat conftest.$ac_ext >&5
19154 eval "ac_cv_func_$ac_func=no"
19159 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19160 echo "$ac_t""yes" 1>&6
19161 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19162 cat >> confdefs.h <<EOF
19163 #define $ac_tr_func 1
19167 echo "$ac_t""no" 1>&6
19173 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19174 echo "configure:19166: checking for _powl declaration" >&5
19175 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19176 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19177 echo $ac_n "(cached) $ac_c" 1>&6
19182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19183 ac_cpp='$CXXCPP $CPPFLAGS'
19184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19186 cross_compiling=$ac_cv_prog_cxx_cross
19188 cat > conftest.$ac_ext <<EOF
19189 #line 19181 "configure"
19190 #include "confdefs.h"
19196 if { (eval echo configure:19188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19198 glibcpp_cv_func__powl_use=yes
19200 echo "configure: failed program was:" >&5
19201 cat conftest.$ac_ext >&5
19203 glibcpp_cv_func__powl_use=no
19207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19208 ac_cpp='$CPP $CPPFLAGS'
19209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19211 cross_compiling=$ac_cv_prog_cc_cross
19217 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19219 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19220 for ac_func in _powl
19222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19223 echo "configure:19215: checking for $ac_func" >&5
19224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19225 echo $ac_n "(cached) $ac_c" 1>&6
19227 cat > conftest.$ac_ext <<EOF
19228 #line 19220 "configure"
19229 #include "confdefs.h"
19230 /* System header to define __stub macros and hopefully few prototypes,
19231 which can conflict with char $ac_func(); below. */
19232 #include <assert.h>
19233 /* Override any gcc2 internal prototype to avoid an error. */
19234 /* We use char because int might match the return type of a gcc2
19235 builtin and then its argument prototype would still apply. */
19240 /* The GNU C library defines this for functions which it implements
19241 to always fail with ENOSYS. Some functions are actually named
19242 something starting with __ and the normal name is an alias. */
19243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19251 if { (eval echo configure:19243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19253 eval "ac_cv_func_$ac_func=yes"
19255 echo "configure: failed program was:" >&5
19256 cat conftest.$ac_ext >&5
19258 eval "ac_cv_func_$ac_func=no"
19263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19264 echo "$ac_t""yes" 1>&6
19265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19266 cat >> confdefs.h <<EOF
19267 #define $ac_tr_func 1
19271 echo "$ac_t""no" 1>&6
19280 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19281 echo "configure:19273: checking for sqrtl declaration" >&5
19282 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19283 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19284 echo $ac_n "(cached) $ac_c" 1>&6
19289 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19290 ac_cpp='$CXXCPP $CPPFLAGS'
19291 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19292 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19293 cross_compiling=$ac_cv_prog_cxx_cross
19295 cat > conftest.$ac_ext <<EOF
19296 #line 19288 "configure"
19297 #include "confdefs.h"
19299 #ifdef HAVE_IEEEFP_H
19300 #include <ieeefp.h>
19307 if { (eval echo configure:19299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19309 glibcpp_cv_func_sqrtl_use=yes
19311 echo "configure: failed program was:" >&5
19312 cat conftest.$ac_ext >&5
19314 glibcpp_cv_func_sqrtl_use=no
19318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19319 ac_cpp='$CPP $CPPFLAGS'
19320 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19321 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19322 cross_compiling=$ac_cv_prog_cc_cross
19328 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19330 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19331 for ac_func in sqrtl
19333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19334 echo "configure:19326: checking for $ac_func" >&5
19335 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19336 echo $ac_n "(cached) $ac_c" 1>&6
19338 cat > conftest.$ac_ext <<EOF
19339 #line 19331 "configure"
19340 #include "confdefs.h"
19341 /* System header to define __stub macros and hopefully few prototypes,
19342 which can conflict with char $ac_func(); below. */
19343 #include <assert.h>
19344 /* Override any gcc2 internal prototype to avoid an error. */
19345 /* We use char because int might match the return type of a gcc2
19346 builtin and then its argument prototype would still apply. */
19351 /* The GNU C library defines this for functions which it implements
19352 to always fail with ENOSYS. Some functions are actually named
19353 something starting with __ and the normal name is an alias. */
19354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19362 if { (eval echo configure:19354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19364 eval "ac_cv_func_$ac_func=yes"
19366 echo "configure: failed program was:" >&5
19367 cat conftest.$ac_ext >&5
19369 eval "ac_cv_func_$ac_func=no"
19374 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19375 echo "$ac_t""yes" 1>&6
19376 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19377 cat >> confdefs.h <<EOF
19378 #define $ac_tr_func 1
19382 echo "$ac_t""no" 1>&6
19388 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19389 echo "configure:19381: checking for _sqrtl declaration" >&5
19390 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19391 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19392 echo $ac_n "(cached) $ac_c" 1>&6
19397 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19398 ac_cpp='$CXXCPP $CPPFLAGS'
19399 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19400 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19401 cross_compiling=$ac_cv_prog_cxx_cross
19403 cat > conftest.$ac_ext <<EOF
19404 #line 19396 "configure"
19405 #include "confdefs.h"
19407 #ifdef HAVE_IEEEFP_H
19408 #include <ieeefp.h>
19415 if { (eval echo configure:19407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19417 glibcpp_cv_func__sqrtl_use=yes
19419 echo "configure: failed program was:" >&5
19420 cat conftest.$ac_ext >&5
19422 glibcpp_cv_func__sqrtl_use=no
19426 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19427 ac_cpp='$CPP $CPPFLAGS'
19428 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19429 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19430 cross_compiling=$ac_cv_prog_cc_cross
19436 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19438 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19439 for ac_func in _sqrtl
19441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19442 echo "configure:19434: checking for $ac_func" >&5
19443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19444 echo $ac_n "(cached) $ac_c" 1>&6
19446 cat > conftest.$ac_ext <<EOF
19447 #line 19439 "configure"
19448 #include "confdefs.h"
19449 /* System header to define __stub macros and hopefully few prototypes,
19450 which can conflict with char $ac_func(); below. */
19451 #include <assert.h>
19452 /* Override any gcc2 internal prototype to avoid an error. */
19453 /* We use char because int might match the return type of a gcc2
19454 builtin and then its argument prototype would still apply. */
19459 /* The GNU C library defines this for functions which it implements
19460 to always fail with ENOSYS. Some functions are actually named
19461 something starting with __ and the normal name is an alias. */
19462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19470 if { (eval echo configure:19462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19472 eval "ac_cv_func_$ac_func=yes"
19474 echo "configure: failed program was:" >&5
19475 cat conftest.$ac_ext >&5
19477 eval "ac_cv_func_$ac_func=no"
19482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19483 echo "$ac_t""yes" 1>&6
19484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19485 cat >> confdefs.h <<EOF
19486 #define $ac_tr_func 1
19490 echo "$ac_t""no" 1>&6
19499 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19500 echo "configure:19492: checking for sincosl declaration" >&5
19501 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19502 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19503 echo $ac_n "(cached) $ac_c" 1>&6
19508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19509 ac_cpp='$CXXCPP $CPPFLAGS'
19510 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19511 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19512 cross_compiling=$ac_cv_prog_cxx_cross
19514 cat > conftest.$ac_ext <<EOF
19515 #line 19507 "configure"
19516 #include "confdefs.h"
19522 if { (eval echo configure:19514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19524 glibcpp_cv_func_sincosl_use=yes
19526 echo "configure: failed program was:" >&5
19527 cat conftest.$ac_ext >&5
19529 glibcpp_cv_func_sincosl_use=no
19533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19534 ac_cpp='$CPP $CPPFLAGS'
19535 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19536 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19537 cross_compiling=$ac_cv_prog_cc_cross
19543 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19545 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19546 for ac_func in sincosl
19548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19549 echo "configure:19541: checking for $ac_func" >&5
19550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19551 echo $ac_n "(cached) $ac_c" 1>&6
19553 cat > conftest.$ac_ext <<EOF
19554 #line 19546 "configure"
19555 #include "confdefs.h"
19556 /* System header to define __stub macros and hopefully few prototypes,
19557 which can conflict with char $ac_func(); below. */
19558 #include <assert.h>
19559 /* Override any gcc2 internal prototype to avoid an error. */
19560 /* We use char because int might match the return type of a gcc2
19561 builtin and then its argument prototype would still apply. */
19566 /* The GNU C library defines this for functions which it implements
19567 to always fail with ENOSYS. Some functions are actually named
19568 something starting with __ and the normal name is an alias. */
19569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19577 if { (eval echo configure:19569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19579 eval "ac_cv_func_$ac_func=yes"
19581 echo "configure: failed program was:" >&5
19582 cat conftest.$ac_ext >&5
19584 eval "ac_cv_func_$ac_func=no"
19589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19590 echo "$ac_t""yes" 1>&6
19591 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19592 cat >> confdefs.h <<EOF
19593 #define $ac_tr_func 1
19597 echo "$ac_t""no" 1>&6
19603 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19604 echo "configure:19596: checking for _sincosl declaration" >&5
19605 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19606 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19607 echo $ac_n "(cached) $ac_c" 1>&6
19612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19613 ac_cpp='$CXXCPP $CPPFLAGS'
19614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19616 cross_compiling=$ac_cv_prog_cxx_cross
19618 cat > conftest.$ac_ext <<EOF
19619 #line 19611 "configure"
19620 #include "confdefs.h"
19626 if { (eval echo configure:19618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19628 glibcpp_cv_func__sincosl_use=yes
19630 echo "configure: failed program was:" >&5
19631 cat conftest.$ac_ext >&5
19633 glibcpp_cv_func__sincosl_use=no
19637 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19638 ac_cpp='$CPP $CPPFLAGS'
19639 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19640 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19641 cross_compiling=$ac_cv_prog_cc_cross
19647 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19649 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19650 for ac_func in _sincosl
19652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19653 echo "configure:19645: checking for $ac_func" >&5
19654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19655 echo $ac_n "(cached) $ac_c" 1>&6
19657 cat > conftest.$ac_ext <<EOF
19658 #line 19650 "configure"
19659 #include "confdefs.h"
19660 /* System header to define __stub macros and hopefully few prototypes,
19661 which can conflict with char $ac_func(); below. */
19662 #include <assert.h>
19663 /* Override any gcc2 internal prototype to avoid an error. */
19664 /* We use char because int might match the return type of a gcc2
19665 builtin and then its argument prototype would still apply. */
19670 /* The GNU C library defines this for functions which it implements
19671 to always fail with ENOSYS. Some functions are actually named
19672 something starting with __ and the normal name is an alias. */
19673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19681 if { (eval echo configure:19673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19683 eval "ac_cv_func_$ac_func=yes"
19685 echo "configure: failed program was:" >&5
19686 cat conftest.$ac_ext >&5
19688 eval "ac_cv_func_$ac_func=no"
19693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19694 echo "$ac_t""yes" 1>&6
19695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19696 cat >> confdefs.h <<EOF
19697 #define $ac_tr_func 1
19701 echo "$ac_t""no" 1>&6
19710 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19711 echo "configure:19703: checking for finitel declaration" >&5
19712 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19713 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19714 echo $ac_n "(cached) $ac_c" 1>&6
19719 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19720 ac_cpp='$CXXCPP $CPPFLAGS'
19721 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19722 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19723 cross_compiling=$ac_cv_prog_cxx_cross
19725 cat > conftest.$ac_ext <<EOF
19726 #line 19718 "configure"
19727 #include "confdefs.h"
19729 #ifdef HAVE_IEEEFP_H
19730 #include <ieeefp.h>
19737 if { (eval echo configure:19729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19739 glibcpp_cv_func_finitel_use=yes
19741 echo "configure: failed program was:" >&5
19742 cat conftest.$ac_ext >&5
19744 glibcpp_cv_func_finitel_use=no
19748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19749 ac_cpp='$CPP $CPPFLAGS'
19750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19752 cross_compiling=$ac_cv_prog_cc_cross
19758 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19760 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19761 for ac_func in finitel
19763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19764 echo "configure:19756: checking for $ac_func" >&5
19765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19766 echo $ac_n "(cached) $ac_c" 1>&6
19768 cat > conftest.$ac_ext <<EOF
19769 #line 19761 "configure"
19770 #include "confdefs.h"
19771 /* System header to define __stub macros and hopefully few prototypes,
19772 which can conflict with char $ac_func(); below. */
19773 #include <assert.h>
19774 /* Override any gcc2 internal prototype to avoid an error. */
19775 /* We use char because int might match the return type of a gcc2
19776 builtin and then its argument prototype would still apply. */
19781 /* The GNU C library defines this for functions which it implements
19782 to always fail with ENOSYS. Some functions are actually named
19783 something starting with __ and the normal name is an alias. */
19784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19792 if { (eval echo configure:19784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19794 eval "ac_cv_func_$ac_func=yes"
19796 echo "configure: failed program was:" >&5
19797 cat conftest.$ac_ext >&5
19799 eval "ac_cv_func_$ac_func=no"
19804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19805 echo "$ac_t""yes" 1>&6
19806 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19807 cat >> confdefs.h <<EOF
19808 #define $ac_tr_func 1
19812 echo "$ac_t""no" 1>&6
19818 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19819 echo "configure:19811: checking for _finitel declaration" >&5
19820 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19821 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19822 echo $ac_n "(cached) $ac_c" 1>&6
19827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19828 ac_cpp='$CXXCPP $CPPFLAGS'
19829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19831 cross_compiling=$ac_cv_prog_cxx_cross
19833 cat > conftest.$ac_ext <<EOF
19834 #line 19826 "configure"
19835 #include "confdefs.h"
19837 #ifdef HAVE_IEEEFP_H
19838 #include <ieeefp.h>
19845 if { (eval echo configure:19837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19847 glibcpp_cv_func__finitel_use=yes
19849 echo "configure: failed program was:" >&5
19850 cat conftest.$ac_ext >&5
19852 glibcpp_cv_func__finitel_use=no
19856 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19857 ac_cpp='$CPP $CPPFLAGS'
19858 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19859 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19860 cross_compiling=$ac_cv_prog_cc_cross
19866 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19868 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19869 for ac_func in _finitel
19871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19872 echo "configure:19864: checking for $ac_func" >&5
19873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19874 echo $ac_n "(cached) $ac_c" 1>&6
19876 cat > conftest.$ac_ext <<EOF
19877 #line 19869 "configure"
19878 #include "confdefs.h"
19879 /* System header to define __stub macros and hopefully few prototypes,
19880 which can conflict with char $ac_func(); below. */
19881 #include <assert.h>
19882 /* Override any gcc2 internal prototype to avoid an error. */
19883 /* We use char because int might match the return type of a gcc2
19884 builtin and then its argument prototype would still apply. */
19889 /* The GNU C library defines this for functions which it implements
19890 to always fail with ENOSYS. Some functions are actually named
19891 something starting with __ and the normal name is an alias. */
19892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19900 if { (eval echo configure:19892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19902 eval "ac_cv_func_$ac_func=yes"
19904 echo "configure: failed program was:" >&5
19905 cat conftest.$ac_ext >&5
19907 eval "ac_cv_func_$ac_func=no"
19912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19913 echo "$ac_t""yes" 1>&6
19914 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19915 cat >> confdefs.h <<EOF
19916 #define $ac_tr_func 1
19920 echo "$ac_t""no" 1>&6
19930 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19931 echo "configure:19923: checking for _float trig functions" >&5
19932 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19933 echo $ac_n "(cached) $ac_c" 1>&6
19938 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19939 ac_cpp='$CXXCPP $CPPFLAGS'
19940 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19941 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19942 cross_compiling=$ac_cv_prog_cxx_cross
19944 cat > conftest.$ac_ext <<EOF
19945 #line 19937 "configure"
19946 #include "confdefs.h"
19949 `for x in _acosf _asinf _atanf \
19950 _cosf _sinf _tanf \
19951 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19954 if { (eval echo configure:19946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19956 glibcpp_cv_func__float_trig_use=yes
19958 echo "configure: failed program was:" >&5
19959 cat conftest.$ac_ext >&5
19961 glibcpp_cv_func__float_trig_use=no
19965 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19966 ac_cpp='$CPP $CPPFLAGS'
19967 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19968 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19969 cross_compiling=$ac_cv_prog_cc_cross
19973 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19974 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19975 for ac_func in _acosf _asinf _atanf \
19976 _cosf _sinf _tanf \
19977 _coshf _sinhf _tanhf
19979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19980 echo "configure:19972: checking for $ac_func" >&5
19981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19982 echo $ac_n "(cached) $ac_c" 1>&6
19984 cat > conftest.$ac_ext <<EOF
19985 #line 19977 "configure"
19986 #include "confdefs.h"
19987 /* System header to define __stub macros and hopefully few prototypes,
19988 which can conflict with char $ac_func(); below. */
19989 #include <assert.h>
19990 /* Override any gcc2 internal prototype to avoid an error. */
19991 /* We use char because int might match the return type of a gcc2
19992 builtin and then its argument prototype would still apply. */
19997 /* The GNU C library defines this for functions which it implements
19998 to always fail with ENOSYS. Some functions are actually named
19999 something starting with __ and the normal name is an alias. */
20000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20008 if { (eval echo configure:20000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20010 eval "ac_cv_func_$ac_func=yes"
20012 echo "configure: failed program was:" >&5
20013 cat conftest.$ac_ext >&5
20015 eval "ac_cv_func_$ac_func=no"
20020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20021 echo "$ac_t""yes" 1>&6
20022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20023 cat >> confdefs.h <<EOF
20024 #define $ac_tr_func 1
20028 echo "$ac_t""no" 1>&6
20035 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20036 echo "configure:20028: checking for _float round functions" >&5
20037 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20038 echo $ac_n "(cached) $ac_c" 1>&6
20043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20044 ac_cpp='$CXXCPP $CPPFLAGS'
20045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20047 cross_compiling=$ac_cv_prog_cxx_cross
20049 cat > conftest.$ac_ext <<EOF
20050 #line 20042 "configure"
20051 #include "confdefs.h"
20054 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20057 if { (eval echo configure:20049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20059 glibcpp_cv_func__float_round_use=yes
20061 echo "configure: failed program was:" >&5
20062 cat conftest.$ac_ext >&5
20064 glibcpp_cv_func__float_round_use=no
20068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20069 ac_cpp='$CPP $CPPFLAGS'
20070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20072 cross_compiling=$ac_cv_prog_cc_cross
20076 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20077 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20078 for ac_func in _ceilf _floorf
20080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20081 echo "configure:20073: checking for $ac_func" >&5
20082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20083 echo $ac_n "(cached) $ac_c" 1>&6
20085 cat > conftest.$ac_ext <<EOF
20086 #line 20078 "configure"
20087 #include "confdefs.h"
20088 /* System header to define __stub macros and hopefully few prototypes,
20089 which can conflict with char $ac_func(); below. */
20090 #include <assert.h>
20091 /* Override any gcc2 internal prototype to avoid an error. */
20092 /* We use char because int might match the return type of a gcc2
20093 builtin and then its argument prototype would still apply. */
20098 /* The GNU C library defines this for functions which it implements
20099 to always fail with ENOSYS. Some functions are actually named
20100 something starting with __ and the normal name is an alias. */
20101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20109 if { (eval echo configure:20101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20111 eval "ac_cv_func_$ac_func=yes"
20113 echo "configure: failed program was:" >&5
20114 cat conftest.$ac_ext >&5
20116 eval "ac_cv_func_$ac_func=no"
20121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20122 echo "$ac_t""yes" 1>&6
20123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20124 cat >> confdefs.h <<EOF
20125 #define $ac_tr_func 1
20129 echo "$ac_t""no" 1>&6
20137 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20138 echo "configure:20130: checking for _long double trig functions" >&5
20139 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20140 echo $ac_n "(cached) $ac_c" 1>&6
20145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20146 ac_cpp='$CXXCPP $CPPFLAGS'
20147 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20148 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20149 cross_compiling=$ac_cv_prog_cxx_cross
20151 cat > conftest.$ac_ext <<EOF
20152 #line 20144 "configure"
20153 #include "confdefs.h"
20156 `for x in _acosl _asinl _atanl \
20157 _cosl _sinl _tanl \
20158 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20161 if { (eval echo configure:20153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20163 glibcpp_cv_func__long_double_trig_use=yes
20165 echo "configure: failed program was:" >&5
20166 cat conftest.$ac_ext >&5
20168 glibcpp_cv_func__long_double_trig_use=no
20172 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20173 ac_cpp='$CPP $CPPFLAGS'
20174 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20175 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20176 cross_compiling=$ac_cv_prog_cc_cross
20180 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20181 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20182 for ac_func in _acosl _asinl _atanl \
20183 _cosl _sinl _tanl \
20184 _coshl _sinhl _tanhl
20186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20187 echo "configure:20179: checking for $ac_func" >&5
20188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20189 echo $ac_n "(cached) $ac_c" 1>&6
20191 cat > conftest.$ac_ext <<EOF
20192 #line 20184 "configure"
20193 #include "confdefs.h"
20194 /* System header to define __stub macros and hopefully few prototypes,
20195 which can conflict with char $ac_func(); below. */
20196 #include <assert.h>
20197 /* Override any gcc2 internal prototype to avoid an error. */
20198 /* We use char because int might match the return type of a gcc2
20199 builtin and then its argument prototype would still apply. */
20204 /* The GNU C library defines this for functions which it implements
20205 to always fail with ENOSYS. Some functions are actually named
20206 something starting with __ and the normal name is an alias. */
20207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20215 if { (eval echo configure:20207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20217 eval "ac_cv_func_$ac_func=yes"
20219 echo "configure: failed program was:" >&5
20220 cat conftest.$ac_ext >&5
20222 eval "ac_cv_func_$ac_func=no"
20227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20228 echo "$ac_t""yes" 1>&6
20229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20230 cat >> confdefs.h <<EOF
20231 #define $ac_tr_func 1
20235 echo "$ac_t""no" 1>&6
20242 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20243 echo "configure:20235: checking for _long double round functions" >&5
20244 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20245 echo $ac_n "(cached) $ac_c" 1>&6
20250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20251 ac_cpp='$CXXCPP $CPPFLAGS'
20252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20254 cross_compiling=$ac_cv_prog_cxx_cross
20256 cat > conftest.$ac_ext <<EOF
20257 #line 20249 "configure"
20258 #include "confdefs.h"
20261 `for x in _ceill _floorl; do echo "$x (0);"; done`
20264 if { (eval echo configure:20256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20266 glibcpp_cv_func__long_double_round_use=yes
20268 echo "configure: failed program was:" >&5
20269 cat conftest.$ac_ext >&5
20271 glibcpp_cv_func__long_double_round_use=no
20275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20276 ac_cpp='$CPP $CPPFLAGS'
20277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20279 cross_compiling=$ac_cv_prog_cc_cross
20283 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20284 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20285 for ac_func in _ceill _floorl
20287 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20288 echo "configure:20280: checking for $ac_func" >&5
20289 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20290 echo $ac_n "(cached) $ac_c" 1>&6
20292 cat > conftest.$ac_ext <<EOF
20293 #line 20285 "configure"
20294 #include "confdefs.h"
20295 /* System header to define __stub macros and hopefully few prototypes,
20296 which can conflict with char $ac_func(); below. */
20297 #include <assert.h>
20298 /* Override any gcc2 internal prototype to avoid an error. */
20299 /* We use char because int might match the return type of a gcc2
20300 builtin and then its argument prototype would still apply. */
20305 /* The GNU C library defines this for functions which it implements
20306 to always fail with ENOSYS. Some functions are actually named
20307 something starting with __ and the normal name is an alias. */
20308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20316 if { (eval echo configure:20308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20318 eval "ac_cv_func_$ac_func=yes"
20320 echo "configure: failed program was:" >&5
20321 cat conftest.$ac_ext >&5
20323 eval "ac_cv_func_$ac_func=no"
20328 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20329 echo "$ac_t""yes" 1>&6
20330 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20331 cat >> confdefs.h <<EOF
20332 #define $ac_tr_func 1
20336 echo "$ac_t""no" 1>&6
20343 LIBS="$ac_save_LIBS"
20344 CXXFLAGS="$ac_save_CXXFLAGS"
20347 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20348 echo "configure:20340: checking for main in -lm" >&5
20349 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20350 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20351 echo $ac_n "(cached) $ac_c" 1>&6
20353 ac_save_LIBS="$LIBS"
20355 cat > conftest.$ac_ext <<EOF
20356 #line 20348 "configure"
20357 #include "confdefs.h"
20363 if { (eval echo configure:20355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20365 eval "ac_cv_lib_$ac_lib_var=yes"
20367 echo "configure: failed program was:" >&5
20368 cat conftest.$ac_ext >&5
20370 eval "ac_cv_lib_$ac_lib_var=no"
20373 LIBS="$ac_save_LIBS"
20376 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20377 echo "$ac_t""yes" 1>&6
20378 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20379 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20380 cat >> confdefs.h <<EOF
20381 #define $ac_tr_lib 1
20387 echo "$ac_t""no" 1>&6
20390 for ac_func in nan copysignf
20392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20393 echo "configure:20385: checking for $ac_func" >&5
20394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20395 echo $ac_n "(cached) $ac_c" 1>&6
20397 cat > conftest.$ac_ext <<EOF
20398 #line 20390 "configure"
20399 #include "confdefs.h"
20400 /* System header to define __stub macros and hopefully few prototypes,
20401 which can conflict with char $ac_func(); below. */
20402 #include <assert.h>
20403 /* Override any gcc2 internal prototype to avoid an error. */
20404 /* We use char because int might match the return type of a gcc2
20405 builtin and then its argument prototype would still apply. */
20410 /* The GNU C library defines this for functions which it implements
20411 to always fail with ENOSYS. Some functions are actually named
20412 something starting with __ and the normal name is an alias. */
20413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20421 if { (eval echo configure:20413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20423 eval "ac_cv_func_$ac_func=yes"
20425 echo "configure: failed program was:" >&5
20426 cat conftest.$ac_ext >&5
20428 eval "ac_cv_func_$ac_func=no"
20433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20434 echo "$ac_t""yes" 1>&6
20435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20436 cat >> confdefs.h <<EOF
20437 #define $ac_tr_func 1
20441 echo "$ac_t""no" 1>&6
20442 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20447 for ac_func in __signbit
20449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20450 echo "configure:20442: checking for $ac_func" >&5
20451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20452 echo $ac_n "(cached) $ac_c" 1>&6
20454 cat > conftest.$ac_ext <<EOF
20455 #line 20447 "configure"
20456 #include "confdefs.h"
20457 /* System header to define __stub macros and hopefully few prototypes,
20458 which can conflict with char $ac_func(); below. */
20459 #include <assert.h>
20460 /* Override any gcc2 internal prototype to avoid an error. */
20461 /* We use char because int might match the return type of a gcc2
20462 builtin and then its argument prototype would still apply. */
20467 /* The GNU C library defines this for functions which it implements
20468 to always fail with ENOSYS. Some functions are actually named
20469 something starting with __ and the normal name is an alias. */
20470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20478 if { (eval echo configure:20470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20480 eval "ac_cv_func_$ac_func=yes"
20482 echo "configure: failed program was:" >&5
20483 cat conftest.$ac_ext >&5
20485 eval "ac_cv_func_$ac_func=no"
20490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20491 echo "$ac_t""yes" 1>&6
20492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20493 cat >> confdefs.h <<EOF
20494 #define $ac_tr_func 1
20498 echo "$ac_t""no" 1>&6
20499 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20503 for ac_func in __signbitf
20505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20506 echo "configure:20498: checking for $ac_func" >&5
20507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20508 echo $ac_n "(cached) $ac_c" 1>&6
20510 cat > conftest.$ac_ext <<EOF
20511 #line 20503 "configure"
20512 #include "confdefs.h"
20513 /* System header to define __stub macros and hopefully few prototypes,
20514 which can conflict with char $ac_func(); below. */
20515 #include <assert.h>
20516 /* Override any gcc2 internal prototype to avoid an error. */
20517 /* We use char because int might match the return type of a gcc2
20518 builtin and then its argument prototype would still apply. */
20523 /* The GNU C library defines this for functions which it implements
20524 to always fail with ENOSYS. Some functions are actually named
20525 something starting with __ and the normal name is an alias. */
20526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20534 if { (eval echo configure:20526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20536 eval "ac_cv_func_$ac_func=yes"
20538 echo "configure: failed program was:" >&5
20539 cat conftest.$ac_ext >&5
20541 eval "ac_cv_func_$ac_func=no"
20546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20547 echo "$ac_t""yes" 1>&6
20548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20549 cat >> confdefs.h <<EOF
20550 #define $ac_tr_func 1
20554 echo "$ac_t""no" 1>&6
20555 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20560 if test x$ac_cv_func_copysignl = x"yes"; then
20561 for ac_func in __signbitl
20563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20564 echo "configure:20556: checking for $ac_func" >&5
20565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20566 echo $ac_n "(cached) $ac_c" 1>&6
20568 cat > conftest.$ac_ext <<EOF
20569 #line 20561 "configure"
20570 #include "confdefs.h"
20571 /* System header to define __stub macros and hopefully few prototypes,
20572 which can conflict with char $ac_func(); below. */
20573 #include <assert.h>
20574 /* Override any gcc2 internal prototype to avoid an error. */
20575 /* We use char because int might match the return type of a gcc2
20576 builtin and then its argument prototype would still apply. */
20581 /* The GNU C library defines this for functions which it implements
20582 to always fail with ENOSYS. Some functions are actually named
20583 something starting with __ and the normal name is an alias. */
20584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20592 if { (eval echo configure:20584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20594 eval "ac_cv_func_$ac_func=yes"
20596 echo "configure: failed program was:" >&5
20597 cat conftest.$ac_ext >&5
20599 eval "ac_cv_func_$ac_func=no"
20604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20605 echo "$ac_t""yes" 1>&6
20606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20607 cat >> confdefs.h <<EOF
20608 #define $ac_tr_func 1
20612 echo "$ac_t""no" 1>&6
20613 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20623 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20624 echo "configure:20616: checking for mbstate_t" >&5
20625 cat > conftest.$ac_ext <<EOF
20626 #line 20618 "configure"
20627 #include "confdefs.h"
20630 mbstate_t teststate;
20633 if { (eval echo configure:20625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20637 echo "configure: failed program was:" >&5
20638 cat conftest.$ac_ext >&5
20643 echo "$ac_t""$have_mbstate_t" 1>&6
20644 if test x"$have_mbstate_t" = xyes; then
20645 cat >> confdefs.h <<\EOF
20646 #define HAVE_MBSTATE_T 1
20651 for ac_hdr in wchar.h
20653 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20654 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20655 echo "configure:20647: checking for $ac_hdr" >&5
20656 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20657 echo $ac_n "(cached) $ac_c" 1>&6
20659 cat > conftest.$ac_ext <<EOF
20660 #line 20652 "configure"
20661 #include "confdefs.h"
20664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20665 { (eval echo configure:20657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20667 if test -z "$ac_err"; then
20669 eval "ac_cv_header_$ac_safe=yes"
20672 echo "configure: failed program was:" >&5
20673 cat conftest.$ac_ext >&5
20675 eval "ac_cv_header_$ac_safe=no"
20679 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20680 echo "$ac_t""yes" 1>&6
20681 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20682 cat >> confdefs.h <<EOF
20683 #define $ac_tr_hdr 1
20687 echo "$ac_t""no" 1>&6
20692 for ac_hdr in wctype.h
20694 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20695 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20696 echo "configure:20688: checking for $ac_hdr" >&5
20697 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20698 echo $ac_n "(cached) $ac_c" 1>&6
20700 cat > conftest.$ac_ext <<EOF
20701 #line 20693 "configure"
20702 #include "confdefs.h"
20705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20706 { (eval echo configure:20698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20708 if test -z "$ac_err"; then
20710 eval "ac_cv_header_$ac_safe=yes"
20713 echo "configure: failed program was:" >&5
20714 cat conftest.$ac_ext >&5
20716 eval "ac_cv_header_$ac_safe=no"
20720 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20721 echo "$ac_t""yes" 1>&6
20722 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20723 cat >> confdefs.h <<EOF
20724 #define $ac_tr_hdr 1
20726 ac_has_wctype_h=yes
20728 echo "$ac_t""no" 1>&6
20734 if test x"$ac_has_wchar_h" = xyes &&
20735 test x"$ac_has_wctype_h" = xyes &&
20736 test x"$enable_c_mbchar" != xno; then
20738 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20739 echo "configure:20731: checking for WCHAR_MIN and WCHAR_MAX" >&5
20740 cat > conftest.$ac_ext <<EOF
20741 #line 20733 "configure"
20742 #include "confdefs.h"
20745 int i = WCHAR_MIN; int j = WCHAR_MAX;
20748 if { (eval echo configure:20740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20750 has_wchar_minmax=yes
20752 echo "configure: failed program was:" >&5
20753 cat conftest.$ac_ext >&5
20755 has_wchar_minmax=no
20758 echo "$ac_t""$has_wchar_minmax" 1>&6
20760 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20761 echo "configure:20753: checking for WEOF" >&5
20762 cat > conftest.$ac_ext <<EOF
20763 #line 20755 "configure"
20764 #include "confdefs.h"
20767 #include <stddef.h>
20772 if { (eval echo configure:20764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20776 echo "configure: failed program was:" >&5
20777 cat conftest.$ac_ext >&5
20782 echo "$ac_t""$has_weof" 1>&6
20785 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20788 echo "configure:20780: checking for $ac_func" >&5
20789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20790 echo $ac_n "(cached) $ac_c" 1>&6
20792 cat > conftest.$ac_ext <<EOF
20793 #line 20785 "configure"
20794 #include "confdefs.h"
20795 /* System header to define __stub macros and hopefully few prototypes,
20796 which can conflict with char $ac_func(); below. */
20797 #include <assert.h>
20798 /* Override any gcc2 internal prototype to avoid an error. */
20799 /* We use char because int might match the return type of a gcc2
20800 builtin and then its argument prototype would still apply. */
20805 /* The GNU C library defines this for functions which it implements
20806 to always fail with ENOSYS. Some functions are actually named
20807 something starting with __ and the normal name is an alias. */
20808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20816 if { (eval echo configure:20808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20818 eval "ac_cv_func_$ac_func=yes"
20820 echo "configure: failed program was:" >&5
20821 cat conftest.$ac_ext >&5
20823 eval "ac_cv_func_$ac_func=no"
20828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20829 echo "$ac_t""yes" 1>&6
20830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20831 cat >> confdefs.h <<EOF
20832 #define $ac_tr_func 1
20836 echo "$ac_t""no" 1>&6
20843 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20844 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20845 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20846 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20847 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20848 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20851 echo "configure:20843: checking for $ac_func" >&5
20852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20853 echo $ac_n "(cached) $ac_c" 1>&6
20855 cat > conftest.$ac_ext <<EOF
20856 #line 20848 "configure"
20857 #include "confdefs.h"
20858 /* System header to define __stub macros and hopefully few prototypes,
20859 which can conflict with char $ac_func(); below. */
20860 #include <assert.h>
20861 /* Override any gcc2 internal prototype to avoid an error. */
20862 /* We use char because int might match the return type of a gcc2
20863 builtin and then its argument prototype would still apply. */
20868 /* The GNU C library defines this for functions which it implements
20869 to always fail with ENOSYS. Some functions are actually named
20870 something starting with __ and the normal name is an alias. */
20871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20879 if { (eval echo configure:20871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20881 eval "ac_cv_func_$ac_func=yes"
20883 echo "configure: failed program was:" >&5
20884 cat conftest.$ac_ext >&5
20886 eval "ac_cv_func_$ac_func=no"
20891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20892 echo "$ac_t""yes" 1>&6
20893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20894 cat >> confdefs.h <<EOF
20895 #define $ac_tr_func 1
20899 echo "$ac_t""no" 1>&6
20906 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20907 echo "configure:20899: checking for ISO C99 wchar_t support" >&5
20908 if test x"$has_weof" = xyes &&
20909 test x"$has_wchar_minmax" = xyes &&
20910 test x"$ac_wfuncs" = xyes; then
20911 ac_isoC99_wchar_t=yes
20913 ac_isoC99_wchar_t=no
20915 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20917 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20918 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20919 echo "configure:20911: checking for iconv.h" >&5
20920 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20921 echo $ac_n "(cached) $ac_c" 1>&6
20923 cat > conftest.$ac_ext <<EOF
20924 #line 20916 "configure"
20925 #include "confdefs.h"
20928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20929 { (eval echo configure:20921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20931 if test -z "$ac_err"; then
20933 eval "ac_cv_header_$ac_safe=yes"
20936 echo "configure: failed program was:" >&5
20937 cat conftest.$ac_ext >&5
20939 eval "ac_cv_header_$ac_safe=no"
20943 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20944 echo "$ac_t""yes" 1>&6
20947 echo "$ac_t""no" 1>&6
20951 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20952 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20953 echo "configure:20945: checking for langinfo.h" >&5
20954 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20955 echo $ac_n "(cached) $ac_c" 1>&6
20957 cat > conftest.$ac_ext <<EOF
20958 #line 20950 "configure"
20959 #include "confdefs.h"
20960 #include <langinfo.h>
20962 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20963 { (eval echo configure:20955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20964 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20965 if test -z "$ac_err"; then
20967 eval "ac_cv_header_$ac_safe=yes"
20970 echo "configure: failed program was:" >&5
20971 cat conftest.$ac_ext >&5
20973 eval "ac_cv_header_$ac_safe=no"
20977 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20978 echo "$ac_t""yes" 1>&6
20979 ac_has_langinfo_h=yes
20981 echo "$ac_t""no" 1>&6
20982 ac_has_langinfo_h=no
20986 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
20987 echo "configure:20979: checking for iconv in -liconv" >&5
20988 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20989 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20990 echo $ac_n "(cached) $ac_c" 1>&6
20992 ac_save_LIBS="$LIBS"
20993 LIBS="-liconv $LIBS"
20994 cat > conftest.$ac_ext <<EOF
20995 #line 20987 "configure"
20996 #include "confdefs.h"
20997 /* Override any gcc2 internal prototype to avoid an error. */
20998 /* We use char because int might match the return type of a gcc2
20999 builtin and then its argument prototype would still apply. */
21006 if { (eval echo configure:20998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21008 eval "ac_cv_lib_$ac_lib_var=yes"
21010 echo "configure: failed program was:" >&5
21011 cat conftest.$ac_ext >&5
21013 eval "ac_cv_lib_$ac_lib_var=no"
21016 LIBS="$ac_save_LIBS"
21019 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21020 echo "$ac_t""yes" 1>&6
21023 echo "$ac_t""no" 1>&6
21026 ac_save_LIBS="$LIBS"
21027 LIBS="$LIBS $libiconv"
21029 for ac_func in iconv_open iconv_close iconv nl_langinfo
21031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21032 echo "configure:21024: checking for $ac_func" >&5
21033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21034 echo $ac_n "(cached) $ac_c" 1>&6
21036 cat > conftest.$ac_ext <<EOF
21037 #line 21029 "configure"
21038 #include "confdefs.h"
21039 /* System header to define __stub macros and hopefully few prototypes,
21040 which can conflict with char $ac_func(); below. */
21041 #include <assert.h>
21042 /* Override any gcc2 internal prototype to avoid an error. */
21043 /* We use char because int might match the return type of a gcc2
21044 builtin and then its argument prototype would still apply. */
21049 /* The GNU C library defines this for functions which it implements
21050 to always fail with ENOSYS. Some functions are actually named
21051 something starting with __ and the normal name is an alias. */
21052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21060 if { (eval echo configure:21052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21062 eval "ac_cv_func_$ac_func=yes"
21064 echo "configure: failed program was:" >&5
21065 cat conftest.$ac_ext >&5
21067 eval "ac_cv_func_$ac_func=no"
21072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21073 echo "$ac_t""yes" 1>&6
21074 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21075 cat >> confdefs.h <<EOF
21076 #define $ac_tr_func 1
21081 echo "$ac_t""no" 1>&6
21087 LIBS="$ac_save_LIBS"
21089 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21090 echo "configure:21082: checking for XPG2 wchar_t support" >&5
21091 if test x"$ac_has_iconv_h" = xyes &&
21092 test x"$ac_has_langinfo_h" = xyes &&
21093 test x"$ac_XPG2funcs" = xyes; then
21094 ac_XPG2_wchar_t=yes
21098 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21100 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21101 echo "configure:21093: checking for enabled wchar_t specializations" >&5
21102 if test x"$ac_isoC99_wchar_t" = xyes &&
21103 test x"$ac_XPG2_wchar_t" = xyes; then
21104 cat >> confdefs.h <<\EOF
21105 #define _GLIBCPP_USE_WCHAR_T 1
21108 echo "$ac_t"""yes"" 1>&6
21110 echo "$ac_t"""no"" 1>&6
21113 echo "configure: warning: wchar_t support disabled." 1>&2
21117 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21118 ac_save_CXXFLAGS="$CXXFLAGS"
21119 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21122 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21123 echo "configure:21115: checking for strtold declaration" >&5
21124 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21125 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21126 echo $ac_n "(cached) $ac_c" 1>&6
21131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21132 ac_cpp='$CXXCPP $CPPFLAGS'
21133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21135 cross_compiling=$ac_cv_prog_cxx_cross
21137 cat > conftest.$ac_ext <<EOF
21138 #line 21130 "configure"
21139 #include "confdefs.h"
21140 #include <stdlib.h>
21145 if { (eval echo configure:21137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21147 glibcpp_cv_func_strtold_use=yes
21149 echo "configure: failed program was:" >&5
21150 cat conftest.$ac_ext >&5
21152 glibcpp_cv_func_strtold_use=no
21156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21157 ac_cpp='$CPP $CPPFLAGS'
21158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21160 cross_compiling=$ac_cv_prog_cc_cross
21166 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21167 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21168 for ac_func in strtold
21170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21171 echo "configure:21163: checking for $ac_func" >&5
21172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21173 echo $ac_n "(cached) $ac_c" 1>&6
21175 cat > conftest.$ac_ext <<EOF
21176 #line 21168 "configure"
21177 #include "confdefs.h"
21178 /* System header to define __stub macros and hopefully few prototypes,
21179 which can conflict with char $ac_func(); below. */
21180 #include <assert.h>
21181 /* Override any gcc2 internal prototype to avoid an error. */
21182 /* We use char because int might match the return type of a gcc2
21183 builtin and then its argument prototype would still apply. */
21188 /* The GNU C library defines this for functions which it implements
21189 to always fail with ENOSYS. Some functions are actually named
21190 something starting with __ and the normal name is an alias. */
21191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21199 if { (eval echo configure:21191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21201 eval "ac_cv_func_$ac_func=yes"
21203 echo "configure: failed program was:" >&5
21204 cat conftest.$ac_ext >&5
21206 eval "ac_cv_func_$ac_func=no"
21211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21212 echo "$ac_t""yes" 1>&6
21213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21214 cat >> confdefs.h <<EOF
21215 #define $ac_tr_func 1
21219 echo "$ac_t""no" 1>&6
21226 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21227 echo "configure:21219: checking for strtof declaration" >&5
21228 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21229 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21230 echo $ac_n "(cached) $ac_c" 1>&6
21235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21236 ac_cpp='$CXXCPP $CPPFLAGS'
21237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21239 cross_compiling=$ac_cv_prog_cxx_cross
21241 cat > conftest.$ac_ext <<EOF
21242 #line 21234 "configure"
21243 #include "confdefs.h"
21244 #include <stdlib.h>
21249 if { (eval echo configure:21241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21251 glibcpp_cv_func_strtof_use=yes
21253 echo "configure: failed program was:" >&5
21254 cat conftest.$ac_ext >&5
21256 glibcpp_cv_func_strtof_use=no
21260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21261 ac_cpp='$CPP $CPPFLAGS'
21262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21264 cross_compiling=$ac_cv_prog_cc_cross
21270 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21271 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21272 for ac_func in strtof
21274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21275 echo "configure:21267: checking for $ac_func" >&5
21276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21277 echo $ac_n "(cached) $ac_c" 1>&6
21279 cat > conftest.$ac_ext <<EOF
21280 #line 21272 "configure"
21281 #include "confdefs.h"
21282 /* System header to define __stub macros and hopefully few prototypes,
21283 which can conflict with char $ac_func(); below. */
21284 #include <assert.h>
21285 /* Override any gcc2 internal prototype to avoid an error. */
21286 /* We use char because int might match the return type of a gcc2
21287 builtin and then its argument prototype would still apply. */
21292 /* The GNU C library defines this for functions which it implements
21293 to always fail with ENOSYS. Some functions are actually named
21294 something starting with __ and the normal name is an alias. */
21295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21303 if { (eval echo configure:21295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21305 eval "ac_cv_func_$ac_func=yes"
21307 echo "configure: failed program was:" >&5
21308 cat conftest.$ac_ext >&5
21310 eval "ac_cv_func_$ac_func=no"
21315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21316 echo "$ac_t""yes" 1>&6
21317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21318 cat >> confdefs.h <<EOF
21319 #define $ac_tr_func 1
21323 echo "$ac_t""no" 1>&6
21329 for ac_func in drand48
21331 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21332 echo "configure:21324: checking for $ac_func" >&5
21333 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21334 echo $ac_n "(cached) $ac_c" 1>&6
21336 cat > conftest.$ac_ext <<EOF
21337 #line 21329 "configure"
21338 #include "confdefs.h"
21339 /* System header to define __stub macros and hopefully few prototypes,
21340 which can conflict with char $ac_func(); below. */
21341 #include <assert.h>
21342 /* Override any gcc2 internal prototype to avoid an error. */
21343 /* We use char because int might match the return type of a gcc2
21344 builtin and then its argument prototype would still apply. */
21349 /* The GNU C library defines this for functions which it implements
21350 to always fail with ENOSYS. Some functions are actually named
21351 something starting with __ and the normal name is an alias. */
21352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21360 if { (eval echo configure:21352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21362 eval "ac_cv_func_$ac_func=yes"
21364 echo "configure: failed program was:" >&5
21365 cat conftest.$ac_ext >&5
21367 eval "ac_cv_func_$ac_func=no"
21372 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21373 echo "$ac_t""yes" 1>&6
21374 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21375 cat >> confdefs.h <<EOF
21376 #define $ac_tr_func 1
21380 echo "$ac_t""no" 1>&6
21385 CXXFLAGS="$ac_save_CXXFLAGS"
21388 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21389 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21390 echo "configure:21382: checking for locale.h" >&5
21391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21392 echo $ac_n "(cached) $ac_c" 1>&6
21394 cat > conftest.$ac_ext <<EOF
21395 #line 21387 "configure"
21396 #include "confdefs.h"
21397 #include <locale.h>
21399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21400 { (eval echo configure:21392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21402 if test -z "$ac_err"; then
21404 eval "ac_cv_header_$ac_safe=yes"
21407 echo "configure: failed program was:" >&5
21408 cat conftest.$ac_ext >&5
21410 eval "ac_cv_header_$ac_safe=no"
21414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21415 echo "$ac_t""yes" 1>&6
21417 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21418 echo "configure:21410: checking for LC_MESSAGES" >&5
21419 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21420 echo $ac_n "(cached) $ac_c" 1>&6
21422 cat > conftest.$ac_ext <<EOF
21423 #line 21415 "configure"
21424 #include "confdefs.h"
21425 #include <locale.h>
21430 if { (eval echo configure:21422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21432 ac_cv_val_LC_MESSAGES=yes
21434 echo "configure: failed program was:" >&5
21435 cat conftest.$ac_ext >&5
21437 ac_cv_val_LC_MESSAGES=no
21442 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21443 if test $ac_cv_val_LC_MESSAGES = yes; then
21444 cat >> confdefs.h <<\EOF
21445 #define HAVE_LC_MESSAGES 1
21451 echo "$ac_t""no" 1>&6
21456 cat > conftest.$ac_ext <<EOF
21457 #line 21449 "configure"
21458 #include "confdefs.h"
21460 #include <setjmp.h>
21463 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21466 if { (eval echo configure:21458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21468 cat >> confdefs.h <<\EOF
21469 #define HAVE_SIGSETJMP 1
21474 echo "configure: failed program was:" >&5
21475 cat conftest.$ac_ext >&5
21479 for ac_hdr in unistd.h
21481 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21482 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21483 echo "configure:21475: checking for $ac_hdr" >&5
21484 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21485 echo $ac_n "(cached) $ac_c" 1>&6
21487 cat > conftest.$ac_ext <<EOF
21488 #line 21480 "configure"
21489 #include "confdefs.h"
21492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21493 { (eval echo configure:21485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21495 if test -z "$ac_err"; then
21497 eval "ac_cv_header_$ac_safe=yes"
21500 echo "configure: failed program was:" >&5
21501 cat conftest.$ac_ext >&5
21503 eval "ac_cv_header_$ac_safe=no"
21507 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21508 echo "$ac_t""yes" 1>&6
21509 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21510 cat >> confdefs.h <<EOF
21511 #define $ac_tr_hdr 1
21515 echo "$ac_t""no" 1>&6
21519 for ac_func in getpagesize
21521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21522 echo "configure:21514: checking for $ac_func" >&5
21523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21524 echo $ac_n "(cached) $ac_c" 1>&6
21526 cat > conftest.$ac_ext <<EOF
21527 #line 21519 "configure"
21528 #include "confdefs.h"
21529 /* System header to define __stub macros and hopefully few prototypes,
21530 which can conflict with char $ac_func(); below. */
21531 #include <assert.h>
21532 /* Override any gcc2 internal prototype to avoid an error. */
21533 /* We use char because int might match the return type of a gcc2
21534 builtin and then its argument prototype would still apply. */
21539 /* The GNU C library defines this for functions which it implements
21540 to always fail with ENOSYS. Some functions are actually named
21541 something starting with __ and the normal name is an alias. */
21542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21550 if { (eval echo configure:21542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21552 eval "ac_cv_func_$ac_func=yes"
21554 echo "configure: failed program was:" >&5
21555 cat conftest.$ac_ext >&5
21557 eval "ac_cv_func_$ac_func=no"
21562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21563 echo "$ac_t""yes" 1>&6
21564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21565 cat >> confdefs.h <<EOF
21566 #define $ac_tr_func 1
21570 echo "$ac_t""no" 1>&6
21574 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21575 echo "configure:21567: checking for working mmap" >&5
21576 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21577 echo $ac_n "(cached) $ac_c" 1>&6
21579 if test "$cross_compiling" = yes; then
21580 ac_cv_func_mmap_fixed_mapped=no
21582 cat > conftest.$ac_ext <<EOF
21583 #line 21575 "configure"
21584 #include "confdefs.h"
21586 /* Thanks to Mike Haertel and Jim Avera for this test.
21587 Here is a matrix of mmap possibilities:
21588 mmap private not fixed
21589 mmap private fixed at somewhere currently unmapped
21590 mmap private fixed at somewhere already mapped
21591 mmap shared not fixed
21592 mmap shared fixed at somewhere currently unmapped
21593 mmap shared fixed at somewhere already mapped
21594 For private mappings, we should verify that changes cannot be read()
21595 back from the file, nor mmap's back from the file at a different
21596 address. (There have been systems where private was not correctly
21597 implemented like the infamous i386 svr4.0, and systems where the
21598 VM page cache was not coherent with the filesystem buffer cache
21599 like early versions of FreeBSD and possibly contemporary NetBSD.)
21600 For shared mappings, we should conversely verify that changes get
21601 propogated back to all the places they're supposed to be.
21603 Grep wants private fixed already mapped.
21604 The main things grep needs to know about mmap are:
21605 * does it exist and is it safe to write into the mmap'd area
21606 * how to use it (BSD variants) */
21607 #include <sys/types.h>
21609 #include <sys/mman.h>
21611 /* This mess was copied from the GNU getpagesize.h. */
21612 #ifndef HAVE_GETPAGESIZE
21613 # ifdef HAVE_UNISTD_H
21614 # include <unistd.h>
21617 /* Assume that all systems that can run configure have sys/param.h. */
21618 # ifndef HAVE_SYS_PARAM_H
21619 # define HAVE_SYS_PARAM_H 1
21622 # ifdef _SC_PAGESIZE
21623 # define getpagesize() sysconf(_SC_PAGESIZE)
21624 # else /* no _SC_PAGESIZE */
21625 # ifdef HAVE_SYS_PARAM_H
21626 # include <sys/param.h>
21627 # ifdef EXEC_PAGESIZE
21628 # define getpagesize() EXEC_PAGESIZE
21629 # else /* no EXEC_PAGESIZE */
21631 # define getpagesize() NBPG * CLSIZE
21634 # endif /* no CLSIZE */
21635 # else /* no NBPG */
21637 # define getpagesize() NBPC
21638 # else /* no NBPC */
21640 # define getpagesize() PAGESIZE
21641 # endif /* PAGESIZE */
21642 # endif /* no NBPC */
21643 # endif /* no NBPG */
21644 # endif /* no EXEC_PAGESIZE */
21645 # else /* no HAVE_SYS_PARAM_H */
21646 # define getpagesize() 8192 /* punt totally */
21647 # endif /* no HAVE_SYS_PARAM_H */
21648 # endif /* no _SC_PAGESIZE */
21650 #endif /* no HAVE_GETPAGESIZE */
21653 extern "C" { void *malloc(unsigned); }
21661 char *data, *data2, *data3;
21665 pagesize = getpagesize();
21668 * First, make a file with some known garbage in it.
21670 data = malloc(pagesize);
21673 for (i = 0; i < pagesize; ++i)
21674 *(data + i) = rand();
21676 fd = creat("conftestmmap", 0600);
21679 if (write(fd, data, pagesize) != pagesize)
21684 * Next, try to mmap the file at a fixed address which
21685 * already has something else allocated at it. If we can,
21686 * also make sure that we see the same garbage.
21688 fd = open("conftestmmap", O_RDWR);
21691 data2 = malloc(2 * pagesize);
21694 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21695 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21696 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21698 for (i = 0; i < pagesize; ++i)
21699 if (*(data + i) != *(data2 + i))
21703 * Finally, make sure that changes to the mapped area
21704 * do not percolate back to the file as seen by read().
21705 * (This is a bug on some variants of i386 svr4.0.)
21707 for (i = 0; i < pagesize; ++i)
21708 *(data2 + i) = *(data2 + i) + 1;
21709 data3 = malloc(pagesize);
21712 if (read(fd, data3, pagesize) != pagesize)
21714 for (i = 0; i < pagesize; ++i)
21715 if (*(data + i) != *(data3 + i))
21718 unlink("conftestmmap");
21723 if { (eval echo configure:21715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21725 ac_cv_func_mmap_fixed_mapped=yes
21727 echo "configure: failed program was:" >&5
21728 cat conftest.$ac_ext >&5
21730 ac_cv_func_mmap_fixed_mapped=no
21737 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21738 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21739 cat >> confdefs.h <<\EOF
21740 #define HAVE_MMAP 1
21746 # Establish limits on memory usage during 'make check'
21749 setrlimit_have_headers=yes
21750 for ac_hdr in unistd.h sys/time.h sys/resource.h
21752 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21753 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21754 echo "configure:21746: checking for $ac_hdr" >&5
21755 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21756 echo $ac_n "(cached) $ac_c" 1>&6
21758 cat > conftest.$ac_ext <<EOF
21759 #line 21751 "configure"
21760 #include "confdefs.h"
21763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21764 { (eval echo configure:21756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21766 if test -z "$ac_err"; then
21768 eval "ac_cv_header_$ac_safe=yes"
21771 echo "configure: failed program was:" >&5
21772 cat conftest.$ac_ext >&5
21774 eval "ac_cv_header_$ac_safe=no"
21778 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21779 echo "$ac_t""yes" 1>&6
21780 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21781 cat >> confdefs.h <<EOF
21782 #define $ac_tr_hdr 1
21786 echo "$ac_t""no" 1>&6
21787 setrlimit_have_headers=no
21791 # If don't have the headers, then we can't run the tests now, and we
21792 # won't be seeing any of these during testsuite compilation.
21793 if test $setrlimit_have_headers = yes; then
21794 # Can't do these in a loop, else the resulting syntax is wrong.
21796 cat > conftest.$ac_ext <<EOF
21797 #line 21789 "configure"
21798 #include "confdefs.h"
21799 #include <unistd.h>
21800 #include <sys/time.h>
21801 #include <sys/resource.h>
21804 int f = RLIMIT_DATA ;
21807 if { (eval echo configure:21799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21811 echo "configure: failed program was:" >&5
21812 cat conftest.$ac_ext >&5
21817 cat >> confdefs.h <<EOF
21818 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21823 cat > conftest.$ac_ext <<EOF
21824 #line 21816 "configure"
21825 #include "confdefs.h"
21826 #include <unistd.h>
21827 #include <sys/time.h>
21828 #include <sys/resource.h>
21831 int f = RLIMIT_RSS ;
21834 if { (eval echo configure:21826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21838 echo "configure: failed program was:" >&5
21839 cat conftest.$ac_ext >&5
21844 cat >> confdefs.h <<EOF
21845 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21850 cat > conftest.$ac_ext <<EOF
21851 #line 21843 "configure"
21852 #include "confdefs.h"
21853 #include <unistd.h>
21854 #include <sys/time.h>
21855 #include <sys/resource.h>
21858 int f = RLIMIT_VMEM ;
21861 if { (eval echo configure:21853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21865 echo "configure: failed program was:" >&5
21866 cat conftest.$ac_ext >&5
21871 cat >> confdefs.h <<EOF
21872 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21877 cat > conftest.$ac_ext <<EOF
21878 #line 21870 "configure"
21879 #include "confdefs.h"
21880 #include <unistd.h>
21881 #include <sys/time.h>
21882 #include <sys/resource.h>
21885 int f = RLIMIT_AS ;
21888 if { (eval echo configure:21880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21892 echo "configure: failed program was:" >&5
21893 cat conftest.$ac_ext >&5
21898 cat >> confdefs.h <<EOF
21899 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21904 # Check for rlimit, setrlimit.
21905 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21906 echo $ac_n "(cached) $ac_c" 1>&6
21909 cat > conftest.$ac_ext <<EOF
21910 #line 21902 "configure"
21911 #include "confdefs.h"
21912 #include <unistd.h>
21913 #include <sys/time.h>
21914 #include <sys/resource.h>
21917 struct rlimit r; setrlimit(0, &r);
21920 if { (eval echo configure:21912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21924 echo "configure: failed program was:" >&5
21925 cat conftest.$ac_ext >&5
21935 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21936 echo "configure:21928: checking for testsuite memory limit support" >&5
21937 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21939 cat >> confdefs.h <<\EOF
21940 #define _GLIBCPP_MEM_LIMITS 1
21946 echo "$ac_t""$ac_mem_limits" 1>&6
21949 # Look for setenv, so that extended locale tests can be performed.
21951 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21952 echo "configure:21944: checking for setenv declaration" >&5
21953 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21954 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21955 echo $ac_n "(cached) $ac_c" 1>&6
21960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21961 ac_cpp='$CXXCPP $CPPFLAGS'
21962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21964 cross_compiling=$ac_cv_prog_cxx_cross
21966 cat > conftest.$ac_ext <<EOF
21967 #line 21959 "configure"
21968 #include "confdefs.h"
21969 #include <stdlib.h>
21974 if { (eval echo configure:21966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21976 glibcpp_cv_func_setenv_use=yes
21978 echo "configure: failed program was:" >&5
21979 cat conftest.$ac_ext >&5
21981 glibcpp_cv_func_setenv_use=no
21985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21986 ac_cpp='$CPP $CPPFLAGS'
21987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21989 cross_compiling=$ac_cv_prog_cc_cross
21995 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
21996 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
21997 for ac_func in setenv
21999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22000 echo "configure:21992: checking for $ac_func" >&5
22001 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22002 echo $ac_n "(cached) $ac_c" 1>&6
22004 cat > conftest.$ac_ext <<EOF
22005 #line 21997 "configure"
22006 #include "confdefs.h"
22007 /* System header to define __stub macros and hopefully few prototypes,
22008 which can conflict with char $ac_func(); below. */
22009 #include <assert.h>
22010 /* Override any gcc2 internal prototype to avoid an error. */
22011 /* We use char because int might match the return type of a gcc2
22012 builtin and then its argument prototype would still apply. */
22017 /* The GNU C library defines this for functions which it implements
22018 to always fail with ENOSYS. Some functions are actually named
22019 something starting with __ and the normal name is an alias. */
22020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22028 if { (eval echo configure:22020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22030 eval "ac_cv_func_$ac_func=yes"
22032 echo "configure: failed program was:" >&5
22033 cat conftest.$ac_ext >&5
22035 eval "ac_cv_func_$ac_func=no"
22040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22041 echo "$ac_t""yes" 1>&6
22042 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22043 cat >> confdefs.h <<EOF
22044 #define $ac_tr_func 1
22048 echo "$ac_t""no" 1>&6
22055 # Export file names for ABI checking.
22056 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
22059 # Don't do ABI checking unless native.
22062 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
22063 GLIBCPP_BUILD_ABI_CHECK_TRUE=
22064 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
22066 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
22067 GLIBCPP_BUILD_ABI_CHECK_FALSE=
22072 # This depends on the possibly-skipped linker test above.
22073 # Check whether --enable-symvers or --disable-symvers was given.
22074 if test "${enable_symvers+set}" = set; then
22075 enableval="$enable_symvers"
22076 case "$enableval" in
22077 yes) enable_symvers=yes ;;
22078 no) enable_symvers=no ;;
22079 # other names here, just as sanity checks
22080 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22081 gnu) enable_symvers=$enableval ;;
22082 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22088 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22089 # don't know enough about $LD to do tricks...
22090 if test x$enable_shared = xno ||
22092 test x$glibcpp_gnu_ld_version = x; then
22096 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22097 if test $enable_symvers != no; then
22098 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22099 echo "configure:22091: checking for shared libgcc" >&5
22100 ac_save_CFLAGS="$CFLAGS"
22102 cat > conftest.$ac_ext <<EOF
22103 #line 22095 "configure"
22104 #include "confdefs.h"
22110 if { (eval echo configure:22102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22112 glibcpp_shared_libgcc=yes
22114 echo "configure: failed program was:" >&5
22115 cat conftest.$ac_ext >&5
22117 glibcpp_shared_libgcc=no
22120 CFLAGS="$ac_save_CFLAGS"
22121 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22124 # For GNU ld, we need at least this version. It's 2.12 in the same format
22125 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22126 glibcpp_min_gnu_ld_version=21200
22128 # Check to see if unspecified "yes" value can win, given results
22130 if test $enable_symvers = yes ; then
22131 if test $with_gnu_ld = yes &&
22132 test $glibcpp_shared_libgcc = yes ;
22134 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22137 ac_test_CFLAGS="${CFLAGS+set}"
22138 ac_save_CFLAGS="$CFLAGS"
22139 CFLAGS='-shared -Wl,--version-script,conftest.map'
22142 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22144 cat > conftest.$ac_ext <<EOF
22145 #line 22137 "configure"
22146 #include "confdefs.h"
22152 if { (eval echo configure:22144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22156 echo "configure: failed program was:" >&5
22157 cat conftest.$ac_ext >&5
22160 if test "$ac_test_CFLAGS" = set; then
22161 CFLAGS="$ac_save_CFLAGS"
22163 # this is the suspicious part
22169 # just fail for now
22174 case $enable_symvers in
22176 LINKER_MAP=config/linker-map.dummy
22179 LINKER_MAP=config/linker-map.gnu
22186 if test $enable_symvers != no; then
22187 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22188 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22190 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22191 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22193 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22194 echo "configure:22186: checking versioning on shared library symbols" >&5
22195 echo "$ac_t""$enable_symvers" 1>&6
22198 # Propagate the target-specific source directories through the build chain.
22199 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22200 # CPULIMITSH [might] use it, and they only get used here.)
22201 OS_INC_SRCDIR=config/${os_include_dir}
22202 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22203 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}
22208 # Set up cross-compile flags
22211 if test "$CANADIAN" = yes; then
22219 cat > confcache <<\EOF
22220 # This file is a shell script that caches the results of configure
22221 # tests run on this system so they can be shared between configure
22222 # scripts and configure runs. It is not useful on other systems.
22223 # If it contains results you don't want to keep, you may remove or edit it.
22225 # By default, configure uses ./config.cache as the cache file,
22226 # creating it if it does not exist already. You can give configure
22227 # the --cache-file=FILE option to use a different cache file; that is
22228 # what configure does when it calls configure scripts in
22229 # subdirectories, so they share the cache.
22230 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22231 # config.status only pays attention to the cache file if you give it the
22232 # --recheck option to rerun configure.
22235 # The following way of writing the cache mishandles newlines in values,
22236 # but we know of no workaround that is simple, portable, and efficient.
22237 # So, don't put newlines in cache variables' values.
22238 # Ultrix sh set writes to stderr and can't be redirected directly,
22239 # and sets the high bit in the cache file unless we assign to the vars.
22241 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22243 # `set' does not quote correctly, so add quotes (double-quote substitution
22244 # turns \\\\ into \\, and sed turns \\ into \).
22246 -e "s/'/'\\\\''/g" \
22247 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22250 # `set' quotes correctly as required by POSIX, so do not add quotes.
22251 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22254 if cmp -s $cache_file confcache; then
22257 if test -w $cache_file; then
22258 echo "updating cache $cache_file"
22259 cat confcache > $cache_file
22261 echo "not updating unwritable cache $cache_file"
22267 if test "${multilib}" = "yes"; then
22268 multilib_arg="--enable-multilib"
22273 # Export all the install information
22275 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22276 # exported correctly in GLIBCPP_CONFIGURE.
22277 glibcpp_toolexecdir=no
22278 glibcpp_toolexeclibdir=no
22279 glibcpp_prefixdir=${prefix}
22281 # Process the option --with-gxx-include-dir=<path to include-files directory>
22282 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22283 echo "configure:22275: checking for --with-gxx-include-dir" >&5
22284 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22285 if test "${with_gxx_include_dir+set}" = set; then
22286 withval="$with_gxx_include_dir"
22287 case "${withval}" in
22289 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22296 gxx_include_dir=${withval}
22303 echo "$ac_t""$gxx_include_dir" 1>&6
22305 # Process the option "--enable-version-specific-runtime-libs"
22306 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22307 echo "configure:22299: checking for --enable-version-specific-runtime-libs" >&5
22308 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22309 if test "${enable_version_specific_runtime_libs+set}" = set; then
22310 enableval="$enable_version_specific_runtime_libs"
22311 case "$enableval" in
22312 yes) version_specific_libs=yes ;;
22313 no) version_specific_libs=no ;;
22314 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22317 version_specific_libs=no
22319 # Option set, now we can test it.
22320 echo "$ac_t""$version_specific_libs" 1>&6
22322 # Default case for install directory for include files.
22323 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22324 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22327 # Version-specific runtime libs processing.
22328 if test $version_specific_libs = yes; then
22329 # Need the gcc compiler version to know where to install libraries
22330 # and header files if --enable-version-specific-runtime-libs option
22332 if test x"$gxx_include_dir" = x"no"; then
22333 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22335 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22336 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22339 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22340 # Install a library built with a cross compiler in tooldir, not libdir.
22341 if test x"$glibcpp_toolexecdir" = x"no"; then
22342 if test -n "$with_cross_host" &&
22343 test x"$with_cross_host" != x"no"; then
22344 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22345 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22347 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22348 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22352 echo $ac_n "checking for install location""... $ac_c" 1>&6
22353 echo "configure:22345: checking for install location" >&5
22354 echo "$ac_t""$gxx_include_dir" 1>&6
22362 # Export all the include and flag information to makefiles.
22364 # Root level of the build directory include sources.
22365 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22367 # Passed down for canadian crosses.
22368 if test x"$CANADIAN" = xyes; then
22369 TOPLEVEL_INCLUDES='-I$(includedir)'
22372 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22374 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22376 if test x"$need_libio" = xyes; then
22377 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22381 # Now, export this to all the little Makefiles....
22388 # Optimization flags that are probably a good idea for thrill-seekers. Just
22389 # uncomment the lines below and make, everything else is ready to go...
22390 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22394 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22398 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22399 grep "enable shared" > /dev/null; then
22400 LIBSUPCXX_PICFLAGS=-prefer-pic
22402 LIBSUPCXX_PICFLAGS=
22406 # Generate the various Makefiles, include files, and scripts.
22407 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22408 # and libsupc++/Makefile.am so that multilib installs will end up
22409 # installed in the correct place. To work around this not being passed
22410 # down from config-ml.in -> top_srcdir/Makefile.am ->
22411 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22413 cat > confcache <<\EOF
22414 # This file is a shell script that caches the results of configure
22415 # tests run on this system so they can be shared between configure
22416 # scripts and configure runs. It is not useful on other systems.
22417 # If it contains results you don't want to keep, you may remove or edit it.
22419 # By default, configure uses ./config.cache as the cache file,
22420 # creating it if it does not exist already. You can give configure
22421 # the --cache-file=FILE option to use a different cache file; that is
22422 # what configure does when it calls configure scripts in
22423 # subdirectories, so they share the cache.
22424 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22425 # config.status only pays attention to the cache file if you give it the
22426 # --recheck option to rerun configure.
22429 # The following way of writing the cache mishandles newlines in values,
22430 # but we know of no workaround that is simple, portable, and efficient.
22431 # So, don't put newlines in cache variables' values.
22432 # Ultrix sh set writes to stderr and can't be redirected directly,
22433 # and sets the high bit in the cache file unless we assign to the vars.
22435 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22437 # `set' does not quote correctly, so add quotes (double-quote substitution
22438 # turns \\\\ into \\, and sed turns \\ into \).
22440 -e "s/'/'\\\\''/g" \
22441 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22444 # `set' quotes correctly as required by POSIX, so do not add quotes.
22445 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22448 if cmp -s $cache_file confcache; then
22451 if test -w $cache_file; then
22452 echo "updating cache $cache_file"
22453 cat confcache > $cache_file
22455 echo "not updating unwritable cache $cache_file"
22460 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22462 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22463 # Let make expand exec_prefix.
22464 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22466 # Any assignment to VPATH causes Sun make to only execute
22467 # the first set of double-colon rules, so remove it if not needed.
22468 # If there is a colon in the path, we need to keep it.
22469 if test "x$srcdir" = x.; then
22470 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22473 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22475 DEFS=-DHAVE_CONFIG_H
22477 # Without the "./", some shells look in PATH for config.status.
22478 : ${CONFIG_STATUS=./config.status}
22480 echo creating $CONFIG_STATUS
22481 rm -f $CONFIG_STATUS
22482 cat > $CONFIG_STATUS <<EOF
22484 # Generated automatically by configure.
22485 # Run this file to recreate the current configuration.
22486 # This directory was configured as follows,
22487 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22489 # $0 $ac_configure_args
22491 # Compiler output produced by configure, useful for debugging
22492 # configure, is in ./config.log if it exists.
22494 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22497 case "\$ac_option" in
22498 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22499 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22500 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22501 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22502 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22504 -help | --help | --hel | --he | --h)
22505 echo "\$ac_cs_usage"; exit 0 ;;
22506 *) echo "\$ac_cs_usage"; exit 1 ;;
22510 ac_given_srcdir=$srcdir
22511 ac_given_INSTALL="$INSTALL"
22513 trap 'rm -fr `echo "Makefile \
22514 include/Makefile src/Makefile \
22515 libmath/Makefile libio/Makefile libsupc++/Makefile \
22516 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22518 cat >> $CONFIG_STATUS <<EOF
22520 # Protect against being on the right side of a sed subst in config.status.
22521 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22522 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22526 s%@CFLAGS@%$CFLAGS%g
22527 s%@CPPFLAGS@%$CPPFLAGS%g
22528 s%@CXXFLAGS@%$CXXFLAGS%g
22529 s%@FFLAGS@%$FFLAGS%g
22531 s%@LDFLAGS@%$LDFLAGS%g
22533 s%@exec_prefix@%$exec_prefix%g
22534 s%@prefix@%$prefix%g
22535 s%@program_transform_name@%$program_transform_name%g
22536 s%@bindir@%$bindir%g
22537 s%@sbindir@%$sbindir%g
22538 s%@libexecdir@%$libexecdir%g
22539 s%@datadir@%$datadir%g
22540 s%@sysconfdir@%$sysconfdir%g
22541 s%@sharedstatedir@%$sharedstatedir%g
22542 s%@localstatedir@%$localstatedir%g
22543 s%@libdir@%$libdir%g
22544 s%@includedir@%$includedir%g
22545 s%@oldincludedir@%$oldincludedir%g
22546 s%@infodir@%$infodir%g
22547 s%@mandir@%$mandir%g
22548 s%@PACKAGE@%$PACKAGE%g
22549 s%@libtool_VERSION@%$libtool_VERSION%g
22550 s%@toplevel_srcdir@%$toplevel_srcdir%g
22552 s%@host_alias@%$host_alias%g
22553 s%@host_cpu@%$host_cpu%g
22554 s%@host_vendor@%$host_vendor%g
22555 s%@host_os@%$host_os%g
22556 s%@target@%$target%g
22557 s%@target_alias@%$target_alias%g
22558 s%@target_cpu@%$target_cpu%g
22559 s%@target_vendor@%$target_vendor%g
22560 s%@target_os@%$target_os%g
22562 s%@build_alias@%$build_alias%g
22563 s%@build_cpu@%$build_cpu%g
22564 s%@build_vendor@%$build_vendor%g
22565 s%@build_os@%$build_os%g
22566 s%@glibcpp_builddir@%$glibcpp_builddir%g
22567 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22570 s%@glibcpp_basedir@%$glibcpp_basedir%g
22572 s%@glibcpp_CXX@%$glibcpp_CXX%g
22575 s%@RANLIB@%$RANLIB%g
22576 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22577 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22578 s%@INSTALL_DATA@%$INSTALL_DATA%g
22579 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22580 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22582 s%@EXEEXT@%$EXEEXT%g
22583 s%@VERSION@%$VERSION%g
22584 s%@ACLOCAL@%$ACLOCAL%g
22585 s%@AUTOCONF@%$AUTOCONF%g
22586 s%@AUTOMAKE@%$AUTOMAKE%g
22587 s%@AUTOHEADER@%$AUTOHEADER%g
22588 s%@MAKEINFO@%$MAKEINFO%g
22589 s%@SET_MAKE@%$SET_MAKE%g
22590 s%@OBJEXT@%$OBJEXT%g
22592 s%@LIBTOOL@%$LIBTOOL%g
22593 s%@CXXCPP@%$CXXCPP%g
22594 s%@enable_shared@%$enable_shared%g
22595 s%@enable_static@%$enable_static%g
22596 s%@ifGNUmake@%$ifGNUmake%g
22597 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22599 s%@CSTDIO_H@%$CSTDIO_H%g
22600 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22601 s%@CCODECVT_C@%$CCODECVT_C%g
22602 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22603 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22604 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22605 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22606 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22607 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22608 s%@libio_la@%$libio_la%g
22609 s%@check_msgfmt@%$check_msgfmt%g
22610 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22611 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22612 s%@glibcpp_localedir@%$glibcpp_localedir%g
22613 s%@USE_NLS@%$USE_NLS%g
22614 s%@CLOCALE_H@%$CLOCALE_H%g
22615 s%@CCODECVT_H@%$CCODECVT_H%g
22616 s%@CMESSAGES_H@%$CMESSAGES_H%g
22617 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22618 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22619 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22620 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22621 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22622 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22623 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22624 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22625 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22626 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22627 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22628 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22629 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22630 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22631 s%@WERROR@%$WERROR%g
22632 s%@baseline_file@%$baseline_file%g
22633 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
22634 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
22635 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22636 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22637 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22638 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22639 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22640 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22641 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22642 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22643 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22644 s%@gxx_include_dir@%$gxx_include_dir%g
22645 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22646 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22647 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22648 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22649 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22650 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22651 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22652 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22653 s%@WARN_FLAGS@%$WARN_FLAGS%g
22654 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22659 cat >> $CONFIG_STATUS <<\EOF
22661 # Split the substitutions into bite-sized pieces for seds with
22662 # small command number limits, like on Digital OSF/1 and HP-UX.
22663 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22664 ac_file=1 # Number of current file.
22665 ac_beg=1 # First line for current file.
22666 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22669 while $ac_more_lines; do
22670 if test $ac_beg -gt 1; then
22671 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22673 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22675 if test ! -s conftest.s$ac_file; then
22676 ac_more_lines=false
22677 rm -f conftest.s$ac_file
22679 if test -z "$ac_sed_cmds"; then
22680 ac_sed_cmds="sed -f conftest.s$ac_file"
22682 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22684 ac_file=`expr $ac_file + 1`
22686 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22689 if test -z "$ac_sed_cmds"; then
22694 cat >> $CONFIG_STATUS <<EOF
22696 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22697 include/Makefile src/Makefile \
22698 libmath/Makefile libio/Makefile libsupc++/Makefile \
22699 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22701 cat >> $CONFIG_STATUS <<\EOF
22702 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22703 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22705 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22706 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22707 *) ac_file_in="${ac_file}.in" ;;
22710 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22712 # Remove last slash and all that follows it. Not all systems have dirname.
22713 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22714 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22715 # The file is in a subdirectory.
22716 test ! -d "$ac_dir" && mkdir "$ac_dir"
22717 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22718 # A "../" for each directory in $ac_dir_suffix.
22719 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22721 ac_dir_suffix= ac_dots=
22724 case "$ac_given_srcdir" in
22726 if test -z "$ac_dots"; then top_srcdir=.
22727 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22728 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22729 *) # Relative path.
22730 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22731 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22734 case "$ac_given_INSTALL" in
22735 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22736 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22739 echo creating "$ac_file"
22741 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22743 *Makefile*) ac_comsub="1i\\
22744 # $configure_input" ;;
22748 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22750 s%@configure_input@%$configure_input%g
22751 s%@srcdir@%$srcdir%g
22752 s%@top_srcdir@%$top_srcdir%g
22753 s%@INSTALL@%$INSTALL%g
22754 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22758 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22759 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22761 # ac_d sets the value in "#define NAME VALUE" lines.
22762 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22763 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22766 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22767 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22768 ac_uB='\([ ]\)%\1#\2define\3'
22771 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22772 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22773 ac_eB='$%\1#\2define\3'
22777 if test "${CONFIG_HEADERS+set}" != set; then
22779 cat >> $CONFIG_STATUS <<EOF
22780 CONFIG_HEADERS="config.h"
22782 cat >> $CONFIG_STATUS <<\EOF
22784 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22785 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22787 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22788 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22789 *) ac_file_in="${ac_file}.in" ;;
22792 echo creating $ac_file
22794 rm -f conftest.frag conftest.in conftest.out
22795 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22796 cat $ac_file_inputs > conftest.in
22800 # Transform confdefs.h into a sed script conftest.vals that substitutes
22801 # the proper values into config.h.in to produce config.h. And first:
22802 # Protect against being on the right side of a sed subst in config.status.
22803 # Protect against being in an unquoted here document in config.status.
22804 rm -f conftest.vals
22805 cat > conftest.hdr <<\EOF
22808 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22812 sed -n -f conftest.hdr confdefs.h > conftest.vals
22815 # This sed command replaces #undef with comments. This is necessary, for
22816 # example, in the case of _POSIX_SOURCE, which is predefined and required
22817 # on some systems where configure will not decide to define it.
22818 cat >> conftest.vals <<\EOF
22819 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22822 # Break up conftest.vals because some shells have a limit on
22823 # the size of here documents, and old seds have small limits too.
22825 rm -f conftest.tail
22828 ac_lines=`grep -c . conftest.vals`
22829 # grep -c gives empty output for an empty file on some AIX systems.
22830 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22831 # Write a limited-size here document to conftest.frag.
22832 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22833 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22835 sed -f conftest.frag conftest.in > conftest.out
22837 mv conftest.out conftest.in
22838 ' >> $CONFIG_STATUS
22839 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22840 rm -f conftest.vals
22841 mv conftest.tail conftest.vals
22843 rm -f conftest.vals
22845 cat >> $CONFIG_STATUS <<\EOF
22846 rm -f conftest.frag conftest.h
22847 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22848 cat conftest.in >> conftest.h
22850 if cmp -s $ac_file conftest.h 2>/dev/null; then
22851 echo "$ac_file is unchanged"
22854 # Remove last slash and all that follows it. Not all systems have dirname.
22855 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22856 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22857 # The file is in a subdirectory.
22858 test ! -d "$ac_dir" && mkdir "$ac_dir"
22861 mv conftest.h $ac_file
22867 cat >> $CONFIG_STATUS <<EOF
22868 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $CLOCALE_INTERNAL_H $LINKER_MAP"
22869 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/monetary.cc src/numeric.cc src/time.cc src/c++locale_internal.h src/linker.map"
22872 cat >> $CONFIG_STATUS <<\EOF
22873 srcdir=$ac_given_srcdir
22874 while test -n "$ac_sources"; do
22875 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22876 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22878 echo "linking $srcdir/$ac_source to $ac_dest"
22880 if test ! -r $srcdir/$ac_source; then
22881 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22885 # Make relative symlinks.
22886 # Remove last slash and all that follows it. Not all systems have dirname.
22887 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22888 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22889 # The dest file is in a subdirectory.
22890 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22891 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22892 # A "../" for each directory in $ac_dest_dir_suffix.
22893 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22895 ac_dest_dir_suffix= ac_dots=
22899 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22900 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22903 # Make a symlink if possible; otherwise try a hard link.
22904 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22905 ln $srcdir/$ac_source $ac_dest; then :
22907 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22911 cat >> $CONFIG_STATUS <<EOF
22916 with_multisubdir=${with_multisubdir}
22917 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22918 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22919 glibcpp_basedir=${glibcpp_basedir}
22924 cat >> $CONFIG_STATUS <<\EOF
22925 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22926 if test -n "$CONFIG_FILES"; then
22927 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22928 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22929 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22930 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22933 chmod +x testsuite_flags
22937 chmod +x $CONFIG_STATUS
22938 rm -fr confdefs* $ac_clean_files
22939 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22943 # Sanity checking & User-visible messages.
22944 # Checks down here, otherwise they get scrolled off before
22945 # the user will notice.
22947 # Trying to get more people to read documentation. Possibly remove
22948 # check and warn all the time. There is no "informational" AC_MSG_
22949 # macro, so these are going to be printed even when --quiet/--silent
22951 if test ! -f stamp-sanity-warned; then
22952 touch stamp-sanity-warned
22954 echo "Please make certain that you read the installation information here:"
22955 echo " faster => ${srcdir}/docs/html/install.html"
22956 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22958 echo "and the configuration information here:"
22959 echo " faster => ${srcdir}/docs/html/configopts.html"
22960 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22962 echo "before proceeding with ${_cv_gnu_make_command}."